aboutsummaryrefslogtreecommitdiff
path: root/tcl/board
diff options
context:
space:
mode:
authorSpencer Oliver <spen@spen-soft.co.uk>2013-12-19 21:33:19 +0000
committerSpencer Oliver <spen@spen-soft.co.uk>2014-01-09 15:20:51 +0000
commit4dc8cd201c667bac72bc083ef1fa1b285eb093fc (patch)
treedeefe8349199480a80a8defcbf42d7b4f9c5f18a /tcl/board
parent4bff54ccf455fbdfd2bdf9aa371c79f267d486d9 (diff)
cmsis-dap: add initial cmsis-dap support
This is based on work from: https://github.com/TheShed/OpenOCD-CMSIS-DAP/tree/cmsis-dap Main changes include moving over to using HIDAPI rather than libusb-1.0 and cleaning up to merge into master. Support for reset using srst has also been added. It has been tested on all the mbed boards as well as the Freedom board from Freescale. These boards only implement SWD mode, however JTAG mode has been tested with a Keil ULINK2 and a stm32 target - but requires a lot more work. Change-Id: I96d5ee1993bc9c0526219ab754c5aad3b55d812d Signed-off-by: Spencer Oliver <spen@spen-soft.co.uk> Signed-off-by: Andrey Yurovsky <yurovsky@gmail.com> Reviewed-on: http://openocd.zylin.com/1542 Tested-by: jenkins
Diffstat (limited to 'tcl/board')
-rw-r--r--tcl/board/frdm-kl25z.cfg13
-rw-r--r--tcl/board/mbed-lpc11u24.cfg13
-rw-r--r--tcl/board/mbed-lpc1768.cfg7
3 files changed, 33 insertions, 0 deletions
diff --git a/tcl/board/frdm-kl25z.cfg b/tcl/board/frdm-kl25z.cfg
new file mode 100644
index 00000000..40896e52
--- /dev/null
+++ b/tcl/board/frdm-kl25z.cfg
@@ -0,0 +1,13 @@
+# This is an Freescale Freedom eval board with a single MKL25Z128VLK4 chip.
+# http://www.freescale.com/webapp/sps/site/prod_summary.jsp?code=FRDM-KL25Z
+#
+
+source [find interface/cmsis-dap.cfg]
+
+# increase working area to 16KB
+set WORKAREASIZE 0x4000
+
+# chip name
+set CHIPNAME MKL25Z128VLK4
+
+source [find target/kl25.cfg]
diff --git a/tcl/board/mbed-lpc11u24.cfg b/tcl/board/mbed-lpc11u24.cfg
new file mode 100644
index 00000000..6a582645
--- /dev/null
+++ b/tcl/board/mbed-lpc11u24.cfg
@@ -0,0 +1,13 @@
+# This is an mbed eval board with a single NXP LPC11U24 chip.
+# http://mbed.org/handbook/mbed-NXP-LPC11U24
+#
+
+source [find interface/cmsis-dap.cfg]
+
+# increase working area to 8KB
+set WORKAREASIZE 0x2000
+
+# chip name
+set CHIPNAME lpc11u24
+
+source [find target/lpc11uxx.cfg]
diff --git a/tcl/board/mbed-lpc1768.cfg b/tcl/board/mbed-lpc1768.cfg
new file mode 100644
index 00000000..9cca30cf
--- /dev/null
+++ b/tcl/board/mbed-lpc1768.cfg
@@ -0,0 +1,7 @@
+# This is an mbed eval board with a single NXP LPC1768 chip.
+# http://mbed.org/handbook/mbed-NXP-LPC1768
+#
+
+source [find interface/cmsis-dap.cfg]
+
+source [find target/lpc1768.cfg]