[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: 65C02 emulation



Charlie Springer wrote:
> On Wed, 6 Dec 2006 15:47:18 -0800, Eric wrote
> (in article <1165448838.450239.203720@f1g2000cwa.googlegroups.com>):
>
> > The latest rage in ARM debugging is the Olimex USB JTAG device, along
> > with OpenOCD as the driver for gdb. All open source, fast, and cheap!
> > Also works on linux and Windows.
>
> I read that there was no debugger for OSX with/without Eclipse for the USB
> from Olimex. Do you know of a compete toolchain and loader/debugger that will
> work with either XCode or Eclipse? Oh, it has to be free!

I'm not up on Macs, so I can't help you there. But I understand OSX is
largely compatible with linux, so it should be doable.

The key to making gdb work with these devices is to use OpenOCD, which
is an intermediate program that connects to the USB, and it
communicates via TCP to gdb. I'd guess that both gdb and Eclipse likely
work with OSX already, so the key to making all this work is to ensure
that OpenOCD can talk to your USB. You can check the OpenOCD forum at
Sparkfun to see if anyone has already done this port.

You'd also need to ensure that you the C addin for Eclipse, and that it
works on OSX. If you want to use graphical debugging instead of gdb in
text mode, you could either use Insight or Eclipse's built-in visual
debugger. However, this visual debug support in Eclipse has been a sore
spot and it doesn't always work as well as we'd like.

My own visual debugger will probably be ported to the Arm platform in
2007. The problem for me is finding the time to do it. Unlike the
others, mine is not a wrapper around gdb, and I can avoid many problems
this way. But mine requires mono, so it may not work on OSX unless
there's a mono port for it (there may very well be).

You can also consider programming the Arm chips via their bootstrap
loader (many Arm7's have one, but not all). You wouldn't have
interactive debugging this way, but this is a cheap and easy way to
make it work while you research the better options.

Eric