DIY JTAG Device - How To ?

Hi Everyone.

I have several JTAG devices from Sparkfun. “KrisTech” USB/Serial JTAG, AVR-JTAG_USB device and others. I am not a windoze user - as windoze puzzles me - I am rather the Unix CLI / GUI type of person - simple & concise.

What frustrates me most is I don’t have the JTAG for ARM9 usage. AT91RM9200 specifically. I have a couple of ARM9 SoC boards that I could use a an intelligent Ethernet capable JTAG device - At least that is what I am hoping to do.

I want to write a Linux program(s) that do all the JTAG stuff I require (Flash burner, Flash/Ram testing, DHCP uploading, Remote Debug etc) but surely this has all been done before? Can’t be that much of a engineering challenge. I have looked for source to understand what is required - not much help really, so…

Can anyone point me in the right direction please. With URL’s, Understanding what is required?, HOWTO to build such a device, even better maybe some source code to get started with.

Much thanks.

Grahame :?

The usual ARM JTAG interfaces work on the ARM9, under Windows and Linux, with the CrossWorks tools.

Leon

It IS quite an engineering challenge, have a look at OpenOCD. As far as I know it can at least burn flash, both internal and external (CFI) and be used with gdb for (remote) debugging. It also supports a lot of JTAG cables and adding support for a new one should not be very hard.

It’s a purely command line program that can be run both under linux and Windows.