[En-Nut-Discussion] Using avr-gdb with simulavr

Harald Kipp harald.kipp at egnite.de
Wed Jun 16 10:52:03 CEST 2004


>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.

>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.

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?


More information about the En-Nut-Discussion mailing list