[En-Nut-Discussion] Program starts executing immediately after loading with AVRStudeo 4.12
Michael Fischer
fischermi at t-online.de
Sat Feb 4 21:38:48 CET 2006
Hello Chuck,
I think the trick is, that you MUST compile the Nut/OS libs with debug
information!
My CPFLAGS from Makedefs.avr-gcc looks like:
CPFLAGS =
$(MCFLAGS) -g3 -gdwarf-2 -Os -fno-delete-null-pointer-checks -Wall -Werror -
Wstrict-prototypes -Wa,-ahlms=$(<F:.c=.lst) $(DEFS)
And I use here:
AVRStudio 4.12 Service Pack 1
Build 461
with the latest patch from the beta side you wrote in your mail.
By the way, I use Nut/OS 4.0.2, WinXP Pro SP2.
And I could debug httpd without any problems.
The debugger will load the application and stops in nutinit.c at
function NutINitXRAM. I think this is your problem, that you have
not compile the Nut/OS libs with debug information :-)
Regards,
Michael
More information about the En-Nut-Discussion
mailing list