Kelly Murray wrote:

Chris,
The program does not break at main(), the latest particular is that
it breaks before running an interrupt routine, but I've seen it break
like this at random spots, but consistenly the same spot when it is occuring. I've suspected and convinced myself it was
happening from memory overuns, but the latest case that is not possible.
Somtimes it goes away if I just unplug everything and reload the firmware, but not often. It takes editing the code some and reloaded
to cause it to stop..

sounds strange... did you try an other chip?

chris

-Kelly


Chris Liechti wrote:

Kelly Murray wrote:

When debugging I get a
"Program recieved SIGTRAP, Trace/Breakpoint trap",
which occurs without having any breakpoints set.
What can cause this to occur?



usualy, the debuger sets a breakpoint in main(). that's after the C level initialization (variables), but before executing any other code.

you can turn that off, e.g. uncheck "stop at main() on startup" in the debuger config in eclipse.

It seems if I just
continue the program is running normally, but because of the
real-time nature, this is not useful.



well, any breakpoint use useful in real-time ;-) but this first break in main() should not change realtime behaviour as it runs normal after continuing.

chris


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users






-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Mspgcc-users mailing list
Mspgcc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mspgcc-users




Reply via email to