Other Parts Discussed in Thread: CCSTUDIO
Hi. I am running a c6657 dsp and am running into an External Exception.
I have looked at this wiki describing memory protection errors, which I think I am hitting:
http://processors.wiki.ti.com/index.php/MemoryProtectionOnKeystoneDevices?keyMatch=SMPFSR&tisearch=Search-EN-Everything
The L1DMPFAR register (0x0184ac00) shows the address (00C37BCB).
Looking at the event registers (EVTFLAG0-3) this is what I see:
I think EVTFLAG3 shows an event 122 which is how I came to the conclusion that this is a memory protection fault on the DSP.
Looking at the wiki page from above, it seems event 122 is a "core to L1D invalid access".
I then used the information in the RTOS Object View to put the PC, SP, and B3 into registers in CCStudio so that I could see more helpful information. The disassembly shows these instructions as the location of an External Exception:
Does anything look suspicious to you? What can I do to find this L1D invalid access problem?
The External Exception seems to occur in Release and not Debug.
Thanks,
Kim


