EmbeddedRelated.com
Forums

Combining forces on open-source gdb stub

Started by Bertrik Sikken December 15, 2005
Bertrik Sikken wrote:

> It appears to be incomplete. None of the differences I've seen
>
>so far is even mentioned in appendix B.
>
>

The differences are not as big as you describe.
I used an ARM7 TDMI debugger pod on the TDMI-S, it works but sometimes
it just hangs.
The biggest difference is the removal of the scan chain around the core
(which is not used by the debugger) and the addition of the Return Clock.
Adding the return clock is an easy task - but you'll have to add a bit
to the I/O configuration.

I think the OpenOCD is a good start for a debugger. It's well
documented, very recent and Dominic is still working on it (most other
projects are old zombies wadering around the internet ...)

Regards,

Rob

An Engineer's Guide to the LPC2100 Series

--- In lpc2000@lpc2..., Doug Sutherland <doug@p...> wrote:
> I am wondering if you have seen this:
> http://openwince.sourceforge.net/jtag/

This one is also interesting:

http://jtager.sourceforge.net/
>This one is also interesting:
>
>http://jtager.sourceforge.net/

Yes it is interesting, but for Arm9 only.

Cheers
Michael
--- In lpc2000@lpc2..., "Michael Rubitschka" <rubitschka@h...>
wrote:
>
> Yes it is interesting, but for Arm9 only.

I haven't looked into this myself, but the manual says it supports
both Arm7 and ARM9, and the history says that ARM7TDMI was supported
first, before Arm9.

http://jtager.sourceforge.net/

I am not implying that this is the best starting point, but only that
there may be some value in looking at it.

Dominic Rath's work seems like the best starting point, and I agree
with the reasons posted by someone here recently (can't remember who):
best documented, and the only work of relevance that is still
undergoing development. Either one of these reasons alone would make
it a no-brainer.

Eric
Hi all,

Dominic Rath wrote:
> The differences are actually very subtle, and not much of a problem,
> if the code is written with -S cores in mind.
>
> If you want a snapshot of my current development tree mail me, I can
> give you access to my private CVS or a tarball. I didn't release this
> new code yet as it's not really usable at the moment.

Dominic released a preview version of the openocd package
(check out the svn archive for the very latest version)!

I created a wiki page with some basic instructions on how to get
started with it for anyone interested:
http://wiki.sikken.nl/index.php?title=ArmDebug

All the best,
Bertrik