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