Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: [lpc2000] Re: JTAG consulting

2005-10-28 by Rob Jansen

Eric Engler wrote:

> > The code has to be written in C++ for the parallel port JTAG from 
> olimex.
> > Even better, if you have code to run JTAG on the new FTDI USB chip.
>
> You didn't say if the code is needed for Windows or linux?

I checked out their website and found all kind of Windows based programs 
(nice stuff for those in automotive) so I think Windows will be the choice.

> I found an interesting program called "jtager" at SourceForge. This
> comes with C source code and its supposed to work with both ARM7TDMI
> and ARM9TDMI. This was written for Wigglers (parallel port interface).
> But it hasn't been updated in a while, and I don't know if it works
> with modern chips.

I ran into a problem last week (cannot return to debug mode correctly 
after executing an instruction at system speed) so I had a look at the 
jtager code.
It looks to be a bit of trial-on-error code. Some things are done twice, 
according to the comments in the code first time access fails, and there 
are too many returns to idle/run state or RESTART commands in the code.
It may work - I am not able to test it. I'd like to give it a try so I 
may check the attick this weekend to get a linux machine to test it.

> If you want to work with USB JTAG code under Windows you can buy the
> j-link SDK. It's under $500. It has a wide range of functionality - a
> lot more than you asked for. I think they should give away the SDK for
> free as an incentive for people to buy their j-link USB device, but
> this cost is lower than what anyone else would charge you to write
> custom code.

Sounds good. Is the OCDRemote library providing an open interface i.e. 
would Gus be able to use this?
I think the jtag widget from MPE 
(http://www.mpeforth.com/jtagwidget.htm) is also a good solution to 
intergrate into your own debugger.

I am defenitely going for an ethernet solution. This give me full 
electrical isolation for free :-)
Also, I do not want to create my own debugger but use a standard 
debugger. I had the ARM SDT 2.57 tools, now I have access to the ARM 
RealView tools (and Gnu GDB) but cannot take the RealView ICE from the 
office home with me.
So I need a jtag pod that works with both the RealView debugger and gdb 
- an RDI level debugger is - I think - a nice solution for this.

> If anyone knows of any modern open source JTAG tools please let me know.

I googled some time before deciding to write my own jtag code.
It seems there are not too many jtag software packages available but 
there are defenitely some guys out their all writing their own ...

Rob

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.