dev:nab:v2:jtag_access
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
dev:nab:v2:jtag_access [2015/11/12 13:29] – [ Patch and compile OpenOCD] redox | dev:nab:v2:jtag_access [2015/11/12 13:37] – [ Usage] redox | ||
---|---|---|---|
Line 70: | Line 70: | ||
cd openocd-0.8.0/ | cd openocd-0.8.0/ | ||
patch -p1 < ../ | patch -p1 < ../ | ||
- | | + | |
#### Compile | #### Compile | ||
Line 76: | Line 76: | ||
./configure | ./configure | ||
make | make | ||
- | | + | |
+ | When it's done, you should have a binary named **openocd** in the `src/` folder | ||
### Usage | ### Usage | ||
+ | |||
+ | Now that you have a patched version of OpenOCD capable of debugging the OKI chip, you need some configuration files. Here are mine: {{: | ||
+ | |||
+ | _Note_: You might need to tweak them a little bit, especially the `interface/ | ||
+ | |||
+ | Once you have the config files, just copy the openocd binary in the same folder and then it's as easy as: | ||
+ | |||
+ | ./openocd -f nabaztagv2.cfg | ||
## Pictures | ## Pictures |