jtag/drivers: add support for Nu-Link (Nuvoton ICE) over usb
authorZale Yu <cyyu@nuvoton.com>
Wed, 29 Apr 2020 14:53:52 +0000 (16:53 +0200)
committerAntonio Borneo <borneo.antonio@gmail.com>
Sun, 2 Aug 2020 09:47:02 +0000 (10:47 +0100)
commitb12fca236d191b0f280aaea0b63a5789480b5e05
tree39a6adae8e054950c7a42752dd212372b2c3748b
parent583a65644b5b69f5c197322b09a577b3c90ca781
jtag/drivers: add support for Nu-Link (Nuvoton ICE) over usb

Add support for Nu-Link1 over usb hidapi and config file.

The original work is fetched from Nuvoton github.
Code cleanup, fix merge conflicts, compile and runtime issues.
Switch the code from libusb to hidapi, being the device HID based.
Add documentation.
Merge fixes for multi-word memory read.

Reset is not fully compatible with openocd framework; currently
the target is reset and then halt at openocd start.

Change-Id: I9738de4e26783ba462ea3e39ec32069fd5bb7d94
Signed-off-by: Zale Yu <cyyu@nuvoton.com>
Signed-off-by: Saravanan Sekar <saravanan@linumiz.com>
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5635
Tested-by: jenkins
Reviewed-by: Marc Schink <dev@zapb.de>
configure.ac
contrib/60-openocd.rules
doc/openocd.texi
src/jtag/drivers/Makefile.am
src/jtag/drivers/nulink_usb.c [new file with mode: 0644]
src/jtag/hla/hla_layout.c
src/jtag/hla/hla_layout.h
tcl/interface/nulink.cfg [new file with mode: 0644]