I am developing apps for the F2812 using Code Composer V4
and every once in a while I wind up in the ILLEGAL_ISR(),
which I think is provided by the default PIE vector table,
which stops the processor.
I have in the past been able to trace these events
indirectly to some gross memory violation, but it takes a
lot of time. Other IDEs I have used allow the user to dump
the contents of the stack as well as the stack pointer to
the console (or a file) allowing me to track down the exact
point in my application where this jump took place. I can
find nothing in the CCS documentation to suggest it can do
this.
I know I can dump the .stack section in the 'Memory' window
and figure out what entries are addresses. Then I have to
pore over my .map file to figure out what sections those
addresses are inside of and calculate the offset. This is a
tedious, manual, and error-prone task that would be better
automated. Has anybody done such a thing?