JTAG debuging

Started by lynchzilla July 20, 2004
Thanks, Gus, for the nice complement.

I plan to develop tutorials on ARM debugging with Eclipse, but it's
going to take several weeks. For example, the ECOS site has explicit
instructions on how to download and build the ECOS kernel, but they
fail on a Windows XP machine with some kind of "firewall" error
message.

I'm planning to order a Wiggler ($150 US) or a clone thereof in the
next couple of days.

Seems that there should be two debugging techniques available. First
is the Redboot monitor from ECOS that would allow absolutely free
debugging over the serial interface. Redboot has the GDB stubs needed
by Eclipse.

The second method is the JTAG interface which requires hardware and
some soldering to the TiniARM board. The Macraigor OCD Commander is
listed on their site as freeware and I think it supports the GDB
stubs via JTAG also.

If there's anyone out there that has solved this, please let me know.
I'd be happy to use your information and produce a clear and
interesting tutorial on it.

Cheers,
Jim Lynch




An Engineer's Guide to the LPC2100 Series

Hi Jim,

It is great to hear your work :)

I am currently using OCDLibremote + GDB(from GNUARM) with a wiggler
compatible adapter to debug lpc2104 application. The general procedures:

1) run OCDLibRemote

OCDLibRemote -c ARM7 -d Wiggler -a 1
(using the first parallel port)

2) run GDB in another console

arm-elf-gdb image
target remote :8888
load image
set $pc=0x40000000
continue

lynchzilla wrote:
> Thanks, Gus, for the nice complement.
>
> I plan to develop tutorials on ARM debugging with Eclipse, but it's
> going to take several weeks. For example, the ECOS site has explicit
> instructions on how to download and build the ECOS kernel, but they
> fail on a Windows XP machine with some kind of "firewall" error
> message.
>
> I'm planning to order a Wiggler ($150 US) or a clone thereof in the
> next couple of days.
>
> Seems that there should be two debugging techniques available. First
> is the Redboot monitor from ECOS that would allow absolutely free
> debugging over the serial interface. Redboot has the GDB stubs needed
> by Eclipse.
>
> The second method is the JTAG interface which requires hardware and
> some soldering to the TiniARM board. The Macraigor OCD Commander is
> listed on their site as freeware and I think it supports the GDB
> stubs via JTAG also.
>
> If there's anyone out there that has solved this, please let me know.
> I'd be happy to use your information and produce a clear and
> interesting tutorial on it.
>
> Cheers,
> Jim Lynch >
>
> Yahoo! Groups Links