[En-Nut-Discussion] Using avr-gdb with simulavr
Theodore A. Roth
troth at openavr.org
Wed Jun 16 17:25:38 CEST 2004
On Wed, 16 Jun 2004, Harald Kipp wrote:
> >Having a jtagice box is worth the money.
> It is. In case someone wants to buy genuine Atmel,
> note that there is a new version: AVR JTAGICE MK-II.
I've heard reports that the MK-II doesn't work with avarice/gdb at the
moment. I haven't gotten my hands on one of these yet, but we're going
to order one for work in the next few days.
> >Has there been any thoughts of adding a rom monitor thread to NutOS? The
> >old avrmon (http://www.amelek.gda.pl/avr/avrmon/) could be a starting
> >place. I think it needed one uart and one timer (plus timer interrupt)
> >to work. It would probably be too much overhead to connect to gdb via
> >tcp/ip, but a serial port connection wouldn't be too bad. The gdb remote
> >serial protocol stub implementation could possibly be taken directly
> >from simulavr (although it GPL code, I would be willing to supply it to
> >NutOS under a BSD license if there's interest). There's two ways to
> >approach the stub: embed it completely into the rom monitor (might take
> >up to many resources though), or use a middle man (similar to avarice)
> >that handles the gdb RSP and talks to the Ethernut via a simpler
> There had been plans more than once, but the whole
> GCC/GDB debugging is still all Greek to me. I'll
> have a look into avrmon. At least I have something
> to start with now.
I'll be glad to help out how ever I can.
> IMHO, GPL is no problem in this case. Recently I
> checked in the new nutconf code, which is released
> under GPL as well. As long as the code will not
> be part of the final product, GPL is acceptable I
> think. Any other views?
PGP Key ID: 0x18F846E9
Jabber ID: troth at jabber.org
More information about the En-Nut-Discussion