Friday, November 15, 2013

raspberry pi jtag

This example is for using an raspberry pi as a run control, not for using jtag ON the raspberry pi.  An example below is for debugging arm devices.

http://blog.oxplot.com/debrick-wrt54gl-raspberrypi/

TJTAG part copied here for reference.

UPDATE: TJTAG with RPi support is now available and it’s preferred to this version.
The updated README should have all the information you need to build this on Pi and let it help save your day. But if you’re lazy like me, here’s a quick guide:
  1. Connect the boards as per the wiring diagram above.
  2. Power up your router.
  3. On your Pi:
    $ cd ~
    $ git clone https://github.com/oxplot/hairydairymaid-wrt54g-pi
    $ cd hairydairymaid-wrt54g-pi
    $ CFLAGS='-D RASPPI' make
    $ ./wrt54g -probeonly
    
    If it gets stuck, try adding /noemw option.
There are many guides elsewhere describing how to use this tool to restore your router to an operational state. For more just google for it. There is a document that comes with this program as well (not written by me)—be sure to read it before doing anything.

Lauterbach spec for arm jtag interface.

http://www2.lauterbach.com/pdf/arm_app_jtag.pdf

Here is a link to an example ARM debug port spec.

http://www.pjrc.com/arm/pdf/doc/ARM_debug.pdf

http://www.pjrc.com/arm/pdf/doc/ARM_debug.sup.pdf 

More examples (not for this rpi example, but for standalone jtag)
from:  http://www.edaboard.com/thread10814.html

For JTAG dongle look simple Wiggler:
http://www.elektroda.pl/eboard/viewt...hlight=wiggler
http://www.elektroda.pl/eboard/viewt...hlight=wiggler
http://jtag-arm9.sourceforge.net/hardware.html




and free OCD Commander (Windows and Linux)
http://www.elektroda.pl/eboard/viewt...hlight=wiggler
http://www.ocdemon.net/ocd_dbgr.exe
Free GNU Toolkits for OCDemonTM BDM/JTAG Devices
http://www.ocdemon.com/

Look:
http://www.ocdemon.net/Merchant2/mer..._Code=Software
http://www.ocdemon.net/flsh_pgm.exe


http://www.embedinfo.com/English/Pro...programmer.asp

Embest Online Flash Programmer 2190K
http://www.embedinfo.com/chinese/dow.../FlashProg.zip

Embest Online Flash Programmer user guide 430K
http://www.embedinfo.com/english/dow...rogrammerE.chm



No comments:

Post a Comment