aboutsummaryrefslogtreecommitdiff
path: root/tcl/target
diff options
context:
space:
mode:
authorTomas Vanek <vanekt@fbl.cz>2016-11-30 21:48:59 +0100
committerFreddie Chopin <freddie.chopin@gmail.com>2017-06-17 11:59:36 +0100
commita0a504569b5ae4d6e485414c43be0fd4bb216bab (patch)
tree0874f51b5dbd1761e790731d4854643c70247888 /tcl/target
parent278f63174d6f09bd45edd4fcf8f2bf85b3ff9096 (diff)
downloadriscv-openocd-a0a504569b5ae4d6e485414c43be0fd4bb216bab.zip
riscv-openocd-a0a504569b5ae4d6e485414c43be0fd4bb216bab.tar.gz
riscv-openocd-a0a504569b5ae4d6e485414c43be0fd4bb216bab.tar.bz2
flash Kinetis: add KE1xZ and KE1xF families
The new Kinetis KE1x families use FTFE flash controller unlike KE0x. Also SDID coding corresponds to new K, KL and KV families. That's why KE1x is handled by kinetis driver instead of kinetis_ke Change-Id: Ibb73e28e41dfbb086e761e1f006b089825dab854 Signed-off-by: Tomas Vanek <vanekt@fbl.cz> Reviewed-on: http://openocd.zylin.com/3896 Tested-by: jenkins Reviewed-by: Joakim NohlgÄrd <joakim.nohlgard@eistec.se> Reviewed-by: Freddie Chopin <freddie.chopin@gmail.com>
Diffstat (limited to 'tcl/target')
-rw-r--r--tcl/target/ke1xf.cfg9
-rw-r--r--tcl/target/ke1xz.cfg9
2 files changed, 18 insertions, 0 deletions
diff --git a/tcl/target/ke1xf.cfg b/tcl/target/ke1xf.cfg
new file mode 100644
index 0000000..94b175f
--- /dev/null
+++ b/tcl/target/ke1xf.cfg
@@ -0,0 +1,9 @@
+#
+# NXP (Freescale) Kinetis KE1xF devices
+#
+
+set CHIPNAME ke
+
+source [find target/kx.cfg]
+
+flash bank flexnvm kinetis 0 0 0 0 $_TARGETNAME
diff --git a/tcl/target/ke1xz.cfg b/tcl/target/ke1xz.cfg
new file mode 100644
index 0000000..db2d1a4
--- /dev/null
+++ b/tcl/target/ke1xz.cfg
@@ -0,0 +1,9 @@
+#
+# NXP (Freescale) Kinetis KE1xZ devices
+#
+
+set CHIPNAME ke
+
+source [find target/klx.cfg]
+
+flash bank flexnvm kinetis 0 0 0 0 $_TARGETNAME