Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| dt_openocd [2014/02/16 22:18] – yusa | dt_openocd [2014/06/27 09:35] (current) – added flyswatter usb configuration beckmanf | ||
|---|---|---|---|
| Line 20: | Line 20: | ||
| < | < | ||
| git clone git:// | git clone git:// | ||
| + | </ | ||
| + | |||
| + | Install the libusb-1.0 package | ||
| + | |||
| + | < | ||
| + | sudo apt-get install libusb-1.0-0-dev | ||
| + | ./bootstrap | ||
| + | ./configure --prefix=$HOME/ | ||
| + | make | ||
| + | make install | ||
| + | </ | ||
| + | |||
| + | Add the file / | ||
| + | |||
| + | < | ||
| + | # Flyswatter JTAG Debugger | ||
| + | SUBSYSTEMS==" | ||
| </ | </ | ||
| Line 153: | Line 170: | ||
| reg [NAME] [VALUE] | reg [NAME] [VALUE] | ||
| </ | </ | ||
| + | |||
| Line 158: | Line 176: | ||
| If you want to debug your hardware more comfortable you are able to use gdb. | If you want to debug your hardware more comfortable you are able to use gdb. | ||
| - | You should use the gdb provided by your Toolchain. For example mipsel-none-elf-gdb. | + | You should use the gdb provided by your Toolchain. For example mipsel-none-elf-gdb |
| < | < | ||
| Line 197: | Line 215: | ||
| </ | </ | ||
| - | or walk step by step through your source code: | + | Walk step by step through your source code |
| < | < | ||
| - | (gdb) next) | + | (gdb) next |
| </ | </ | ||
| + | or print variable content | ||
| + | < | ||
| + | (gdb) print [var] | ||
| + | </ | ||