diff options
author | Zale Yu <cyyu@nuvoton.com> | 2020-04-29 16:53:52 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2020-08-02 10:47:02 +0100 |
commit | b12fca236d191b0f280aaea0b63a5789480b5e05 (patch) | |
tree | 39a6adae8e054950c7a42752dd212372b2c3748b /tcl/interface | |
parent | 583a65644b5b69f5c197322b09a577b3c90ca781 (diff) | |
download | riscv-openocd-b12fca236d191b0f280aaea0b63a5789480b5e05.zip riscv-openocd-b12fca236d191b0f280aaea0b63a5789480b5e05.tar.gz riscv-openocd-b12fca236d191b0f280aaea0b63a5789480b5e05.tar.bz2 |
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>
Diffstat (limited to 'tcl/interface')
-rw-r--r-- | tcl/interface/nulink.cfg | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tcl/interface/nulink.cfg b/tcl/interface/nulink.cfg new file mode 100644 index 0000000..08c8216 --- /dev/null +++ b/tcl/interface/nulink.cfg @@ -0,0 +1,11 @@ +# +# Nuvoton Nu-Link in-circuit debugger/programmer +# + +adapter driver hla +hla_layout nulink +hla_device_desc "Nu-Link" +hla_vid_pid 0x0416 0x511b 0x0416 0x511c 0x0416 0x511d + +# Only swd is supported +transport select hla_swd |