cmsis-dap: add initial cmsis-dap support 42/1542/19
authorSpencer Oliver <spen@spen-soft.co.uk>
Thu, 19 Dec 2013 21:33:19 +0000 (21:33 +0000)
committerSpencer Oliver <spen@spen-soft.co.uk>
Thu, 9 Jan 2014 15:20:51 +0000 (15:20 +0000)
commit4dc8cd201c667bac72bc083ef1fa1b285eb093fc
treedeefe8349199480a80a8defcbf42d7b4f9c5f18a
parent4bff54ccf455fbdfd2bdf9aa371c79f267d486d9
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
23 files changed:
configure.ac
contrib/cross-build.sh
contrib/openocd.udev
doc/openocd.texi
src/Makefile.am
src/jtag/core.c
src/jtag/drivers/Makefile.am
src/jtag/drivers/cmsis_dap_usb.c [new file with mode: 0644]
src/jtag/interface.h
src/jtag/interfaces.c
src/jtag/swd.h
src/jtag/tcl.c
src/target/Makefile.am
src/target/adi_v5_cmsis_dap.c [new file with mode: 0644]
src/target/adi_v5_swd.c
tcl/board/frdm-kl25z.cfg [new file with mode: 0644]
tcl/board/mbed-lpc11u24.cfg [new file with mode: 0644]
tcl/board/mbed-lpc1768.cfg [new file with mode: 0644]
tcl/interface/cmsis-dap.cfg [new file with mode: 0644]
tcl/target/kl25.cfg [new file with mode: 0644]
tcl/target/lpc11uxx.cfg [new file with mode: 0644]
tcl/target/lpc17xx.cfg
tcl/target/swj-dp.tcl

Linking to existing account procedure

If you already have an account and want to add another login method you MUST first sign in with your existing account and then change URL to read https://review.openocd.org/login/?link to get to this page again but this time it'll work for linking. Thank you.

SSH host keys fingerprints

1024 SHA256:YKx8b7u5ZWdcbp7/4AeXNaqElP49m6QrwfXaqQGJAOk gerrit-code-review@openocd.zylin.com (DSA)
384 SHA256:jHIbSQa4REvwCFG4cq5LBlBLxmxSqelQPem/EXIrxjk gerrit-code-review@openocd.org (ECDSA)
521 SHA256:UAOPYkU9Fjtcao0Ul/Rrlnj/OsQvt+pgdYSZ4jOYdgs gerrit-code-review@openocd.org (ECDSA)
256 SHA256:A13M5QlnozFOvTllybRZH6vm7iSt0XLxbA48yfc2yfY gerrit-code-review@openocd.org (ECDSA)
256 SHA256:spYMBqEYoAOtK7yZBrcwE8ZpYt6b68Cfh9yEVetvbXg gerrit-code-review@openocd.org (ED25519)
+--[ED25519 256]--+
|=..              |
|+o..   .         |
|*.o   . .        |
|+B . . .         |
|Bo. = o S        |
|Oo.+ + =         |
|oB=.* = . o      |
| =+=.+   + E     |
|. .=o   . o      |
+----[SHA256]-----+
2048 SHA256:0Onrb7/PHjpo6iVZ7xQX2riKN83FJ3KGU0TvI0TaFG4 gerrit-code-review@openocd.zylin.com (RSA)