-->
Page 1 of 2

JTAG Debugger

PostPosted: Thu Aug 28, 2014 4:32 pm
by hackrid
Hello,

does anyone know how hardware is needed to debug this chip?

best regards

Re: JTAG Debugger

PostPosted: Sun Aug 31, 2014 4:48 am
by hackrid
from the "Tensilica On-Chip
Debugging Guide" within the VM-Image, there is support for various jtag debuggers stated.

can onyone of them be emulated with a respberry pi or other generic hardware?

Re: JTAG Debugger

PostPosted: Sun Aug 31, 2014 7:09 am
by jonsmirl
JTAG debuggers are all the same. You can use ARM JTAGs. I have this one from Olimex.
https://www.olimex.com/Products/ARM/JTAG/ARM-USB-OCD-H/
There are models as cheap as $30. For software check out OpenOCD, some has already taught it about Xtensa processors.

You can emulate JTAG in software but it is slow. You don't want to spend ten minutes waiting on the JTAG when a $50 hardware one would respond in seconds.

Re: JTAG Debugger

PostPosted: Fri Sep 05, 2014 4:12 pm
by jpsm
@jonsmirl:
I doubt the OpenOCD Xtensa support is as complete as the one of xt-ocd.
And don't underestimate the speed of toggling GPIOs via /dev/mem.

@hackrid:
If you still got a PC with parallel port, you can easily build a Wiggler compatible JTAG adapter.

In theory it should be possible to emulate a Catapult EJ-1 with the Raspberry Pi model B.
The Raspberry Pi model A (not B) might be able to emulate the USB JTAG adapters.
Of course one would have to reverse engineer the device's Ethernet/USB protocol first.