In sysbios6, how should I go about debugging the occurance of a random stack overflow? I'm seeing the stack getting wiped-out randomly. For example, in execuiting the code, the stack pointer starts out at 0x98109760 and changes to 0x98106DD0 during normal execution. When the random error occurs, I stop the DSP, and notice that the SP is back to 0x98109760 and DSP is in the idle loop. Sometimes I get an expilict stack overflow error, sometimes I do not. This is doubly difficult to figure-out as the stack corruption is not deterministic, processing the same sequence of images multiple times, the error happens randomly at any image in the sequence. Is there a way to instrument my code using the System Analyzer to leave a trace of the events that led up the stack corruption?
Lee