User Tools

Site Tools


dev:nab:v2:jtag

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
dev:nab:v2:jtag [2015/11/12 13:45] – [Usage] redoxdev:nab:v2:jtag [2015/11/12 13:48] – [Links] redox
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 GDB and connect+### 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 ./path/to/file.elf
  
 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:
  
 {{.:jtag:nabjtag.jpg?250| BusBlaster connected to the Nabaztag, side view}} {{.:jtag:nabjtag_bottom.jpg?250| BusBlaster connected to the Nabaztag, bottom view}} {{.:jtag:nabjtag.jpg?250| BusBlaster connected to the Nabaztag, side view}} {{.:jtag:nabjtag_bottom.jpg?250| BusBlaster connected to the Nabaztag, bottom view}}
 +### 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://dangerousprototypes.com/docs/Bus_Blaster)
 +* [OpenOCD user guide](http://openocd.org/doc/html/)
/home/share/www/redox.ws/wiki/data/pages/dev/nab/v2/jtag.txt · Last modified: 2023/11/24 22:18 by redox