open source JTAG adapter for OpenOCD and IAR, JTAG signals

Hi,

Is there an open source schematic for a JTAG USB Adapter, which works fast and comprises the FT2232? It should work with yagarto (eclipse,OpenOCD) and IAR. I use a SAM7X Developmentboard, where only the signals TDI TMS TCK TDO are connected to the µC (AT97SAM7XC256), on PIN 15 of the JTAG-Interface there is the NRST from the µC, on Pin 1 of the JTAG-Interface is the voltage of the Targetboard.

Someone know the different requirements for working between JTAG Adapter and ‘IDE’? What means TRST, TSRST, RTCK in the document of the OLIMEX ARM-USB-OCD-Adapter (http://www.olimex.com/dev/pdf/ARM-USB-OCD.pdf)? And what says Pin 2 of the JTAG-Adapter?

I will try this, but have to modify some pcb things.

http://www.joernonline.de/dw/doku.php?i … _oocdlinks

Thank you very much for references and your experiences.

John

Hello John,

take a look here:

http://www.ethernut.de/en/hardware/turt … index.html

It will works with OpenOCD (from YAGARTO), but I do not

know if it will works with IAR.

I could debug the Ethernut3 with it :smiley:

Best regards,

Michael

v5.x of IAR supports gdbserver so will support any interface that openocd does.

Cheers

Spen

Hi Michael and Spen,

the turtelizer looks nice and especially the explanation of the JTAG signals on this site was really helpful for me. But on the schematic 2 the power supply of pins VCCIOA and VCCIOB of the FT2232 are supplied by 5V. I’m not sure, this can be because the pins of the ethernet 3 are not 5V tolerant?

I read this on http://www.ethernut.de/en/hardware/enut3/ports.html

" Important note: While all pins on Ethernut 1 are 5V CMOS compatible, and all pins on Ethernut 2 are at least 5V tolerant, the pins on Ethernut 3 are 3.3V. And they are 5V tolerant only, if they are not connected to the CPU. Applying voltages above 3.3V to any CPU pin may destroy the AT91R40008 chip on Ethernut 3."

At the moment I use OLIMEX ARM-OCD-USB, also I downloaded the new version of IAR (thanks for advice, my project slepped for some months) and now I try to get it work together. Spen, could you give me some details where and what I have to change? I tried some things in Project → Options → Debugger, first I used the pull up menu to select GDB Server, then selected GDB Server on the left site, and put on the TCP/IP address 3333. But this don’t work.

Thanks a lot

John

Hi John,

the turtle use NC7SZxxx as level shifter. And this level shifters

will be powerd from VTREF. Take a look at page 2.

:smiley:

Michael

Hi

Has someone some advices for working with IAR and OLIMEX ARM-USB-OCD and OpenOCD? It would be really helpful for me.

@Michael,

now it’s clear to me, thanks a lot. :lol: My layout is ready, now i start to understand the magic of the MPSSE mode.

John