User Tools

Site Tools


dev:nab:v2:jtag_access

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
Last revisionBoth sides next revision
dev:nab:v2:jtag_access [2015/11/12 13:29] – [ Patch and compile OpenOCD] redoxdev: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 < ../openocd_0.8.0_oki.patch     patch -p1 < ../openocd_0.8.0_oki.patch
-    +
 #### 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: {{:dev:nab:v2:jtag:openocd_nab.tar.gz|openocd_nab}}
 +
 +_Note_: You might need to tweak them a little bit, especially the `interface/ftdi/dp_busblaster.cfg` to get you BusBlaster recognized by OpenOCD. I think I renamed my BusBlaster, and OpenOCD checks the name... Shoot me an email if ou need some help.
 +
 +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