[En-Nut-Discussion] atmega2560 support
Nathan Moore
nategoose at gmail.com
Thu Jul 10 17:01:49 CEST 2008
>
> And are you able to debug the Nut/Os code or just your usercode? Because
> if you are able to debug the Nut/Os you could set a breakpoint at
> NutInit() or NutInitHeap() to see where you get stuck.
>
You should be able to set break points on non-static function entry points
even without -g since
their addresses are in the elf symbol table to be used in linking. Not sure
if AVRStudio could
do it, but gdb should.
Granted, if you did break there you might not be able to tell what was going
on.
I've never had any luck getting debuggers to work through the jtag, though.
Nathan
More information about the En-Nut-Discussion
mailing list