Part Number: LAUNCHXL2-570LC43
I have a bug/failure I need to figure out, running bare-metal software on a XL2-570LC43. Basically, I have code that continuously transmits on CAN using interrupts and after some 2 hours of running, the code encounters a failure resulting in one of the low (reset, undef, prefetch) interrupt vectors triggering. CCS does not show the call stack in this case. In the 2+ hours, millions of messages have been sent, so it's not clear this is a bug of the CAN portion of the software. Could be something like some un-handled interrupt. The failure I'm seeing doesn't only occur with one vector, with reset, undef, and prefetch occuring at different times.
resetEntry:
b _bl_c_int00
undefEntry:
b undefEntry
svcEntry:
b svcEntry
prefetchEntry:
b prefetchEntry
Does anyone already have a good way of doing this, or should I go figure out the ARM (big-endian) stack frame and write my own debug code?
Basically, what I need to do is what was done towards the end of this thread...
It'd be so nice if CCS had facilities to do this, in the same way the normal stack frame is displayed for analysis. Maybe with aid of target-side code.
Thank you very much for any help.