AW: [En-Nut-Discussion] Debug into NUTOS Source with AVRSTUDIO

Joachim Skale joachim.skale at tele2.at
Mon Dec 12 08:42:10 CET 2005


hi mathias,

i want to debug into the source of NUTOS with AVRSTUDIO and JTAGICE to see at what point i got my TCP Error.

I've tried it with the DEBUG flag @ the Configurator but i couldn't set a breakpoint in e.g. tcpsm.c


Joachim

-----Ursprüngliche Nachricht-----
Von: en-nut-discussion-bounces at egnite.de
[mailto:en-nut-discussion-bounces at egnite.de]Im Auftrag von Matthias Dyer
Gesendet: Donnerstag, 08. Dezember 2005 13:33
An: Ethernut User Chat (English)
Betreff: Re: [En-Nut-Discussion] Debug into NUTOS Source with AVRSTUDIO


Joachim Skale wrote:
> is it possible to debug into the NUTOS Sources with AVRSTUDIO ?
> i've tried the rebuild the NUTOS with GCC DEBUG INFO, but i cant set a Breakpoint i a NUTOS Source File.

You mean with the AVRstudio Simulator? Then you have to compile with the
-gdwarf-2 flag and load the elf file.

I managed to step through the os-code for a while, but sometimes it gets
trapped in one of the interrupt routines...

Not reliable....

Or do you want to run the code on your device? Or on a emulator? You
would need a JTAG box or one of the ICE emulators...

Matthias

--
-------------------------------------------------------------
Matthias Dyer                    phone: +41-1-6327061
Gloriastr. 35, ETZ G-75,         fax:   +41-1-6321035
CH-8092 Zurich, Switzerland      email: dyer at tik.ee.ethz.ch

Computer Engineering and Networks Lab (TIK)
Swiss Federal Institute of Technology (ETH) Zuerich
-------------------------------------------------------------
_______________________________________________
En-Nut-Discussion mailing list
En-Nut-Discussion at egnite.de
http://www.egnite.de/mailman/listinfo.cgi/en-nut-discussion




More information about the En-Nut-Discussion mailing list