dev:nab:v2:jtag
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
dev:nab:v2:jtag [2015/11/12 13:45] – [Usage] redox | dev:nab:v2:jtag [2015/11/13 12:38] – [JTAG probe: BusBlaster] redox | ||
---|---|---|---|
Line 12: | Line 12: | ||
{{: | {{: | ||
- | On of the best features of the BusBlaster is you can reconfigure the CPLD to emulate any FT2232 JTAG probe. I think it comes pre-programmed with a JTAGkey buffer logic, which should work fine for this application. | + | One of the best features of the BusBlaster is you can reconfigure the CPLD to emulate any FT2232 JTAG probe. I think it comes pre-programmed with a JTAGkey buffer logic, which should work fine for this application. |
_Note_: My BusBlaster (a v4 !) uses a KT-link buffer logic, because I needed the SWD capabilities for another application. If the following steps don't work, try to reprogram the CPLD with a KT-link buffer and try again ! | _Note_: My BusBlaster (a v4 !) uses a KT-link buffer logic, because I needed the SWD capabilities for another application. If the following steps don't work, try to reprogram the CPLD with a KT-link buffer and try again ! | ||
Line 93: | Line 93: | ||
I think you can use telnet to interact with OpenOCD, but I use GDB... Here are a few notes: | I think you can use telnet to interact with OpenOCD, but I use GDB... Here are a few notes: | ||
- | ### Launch | + | ### Launch and connect |
arm-none-eabi-gdb | arm-none-eabi-gdb | ||
+ | |||
+ | or, if you have an .elf file to debug/flash | ||
+ | |||
+ | arm-none-eabi-gdb ./ | ||
Once in GDB | Once in GDB | ||
Line 104: | Line 108: | ||
mon reset run | mon reset run | ||
- | | + | |
### Dump the flash | ### Dump the flash | ||
Line 124: | Line 128: | ||
{{.: | {{.: | ||
+ | ### Flash an elf file | ||
+ | |||
+ | If you started GDB with an elf file (or if you loaded one), you can flash it on the Nabaztag by simply running: | ||
+ | |||
+ | load | ||
## Links | ## Links | ||
+ | |||
+ | * [BusBlaster wiki](http:// | ||
+ | * [OpenOCD user guide](http:// |
/home/share/www/redox.ws/wiki/data/pages/dev/nab/v2/jtag.txt · Last modified: 2023/11/24 22:18 by redox