nanoDLA icon indicating copy to clipboard operation
nanoDLA copied to clipboard

How to use nanoDLA as JTAG Adapter

Open elfmimi opened this issue 4 years ago • 6 comments

nanoDLA can be also used as a JTAG Adapter. (only JTAG , no SWD for now)

operation confirmed with both v1.2 and v1.3

https://github.com/elfmimi/ixo-usb-jtag/releases/tag/v0.0.1%2B

elfmimi avatar Jul 08 '21 04:07 elfmimi

very interesting! never thought it could be used like this

wuxx avatar Jul 08 '21 04:07 wuxx

hello elfmimi, wondering how to use it, is it use with the openocd? do you have the script, wanna to have a try.

wuxx avatar Jul 08 '21 07:07 wuxx

I'm glad to know your interest in this. yes openocd . I'm not aware of any other software that could be used with.

I used LonganNano (GD32VF103) and RaspberryPi Zero (BCM2835) for testing nanoDLA-JTAG . But both of these are very tricky to start with.

edit: I can confirm it also works with STM32F103. ~~I've not yet tried, so I will test it later, but if it were to perform good~~ with STM32F103, the command line will be like this.

just resetting: openocd -f interface/usb-jtag.cfg -f target/stm32f1x.cfg -c "init; reset; exit" downloading and programming firmware: openocd -f interface/usb-jtag.cfg -f target/stm32f1x.cfg -c "program firmware.elf exit" openocd -f interface/usb-jtag.cfg -f target/stm32f1x.cfg -c "program firmware.bin 0x08000000 exit" starting gdb server for debugging: openocd -f interface/usb-jtag.cfg -f target/stm32f1x.cfg

note: on Windows WinUSB driver must be assigned to USB ID 16c0:06ad using Zadig (or equivalent).

elfmimi avatar Jul 08 '21 09:07 elfmimi

New version with MS OS 2.0 Descriptors.

With this new version of usbjtag-nanodla.hex firmware, WinUSB driver will be installed automatically.

operation confirmed with both v1.2 and v1.3

https://github.com/elfmimi/ixo-usb-jtag/releases/tag/v0.0.1%2B%2B

elfmimi avatar Jul 23 '21 03:07 elfmimi

You know, this product description aroused my curiosity. nanoDLA-Product-Description

elfmimi avatar Jul 23 '21 05:07 elfmimi

haha, it is originally meant to test digital signals

wuxx avatar Jul 23 '21 09:07 wuxx