Tool/software: Code Composer Studio
Dear TI expert,
My program worked well before until I added a little application related code (no register operation) today. The CCS Console gave the following message:
External exception happened. MEXPFLAG[2]=0x80000000.
External exception happened. MEXPFLAG[3]=0x22000000.
MPU 0 protection violation error
The MSTID 12 (PRIVID 4) triggered MPU error at 0x1f65dce with secure access
Supervisor write fault!
Event 121: PMC_DMPA DMA memory protection fault for L1P
memory protection exception caused by master with ID 4 at 0xe87ef4
Supervisor Write violation
Event 125: UMC_DMPA DMA memory protection fault for L2
memory protection exception caused by master with ID 4 at 0xc606ba
Supervisor Write violation
NRP=0x83d858, NTSR=0x1000d, IRP=0x20b01120, ITSR=0x1, TSCH= 0x0, TSCL= 0xe919c3
B3=0x836d48, A4=0x85ecb9, B4= 0xa, B14= 0x86a508, B15= 0x869b20
Invalid CIO command (65) in the CIO buffer at address (0x86A750) was not recognized. Please check the device and program memory maps.
External exception happened. MEXPFLAG[3]=0x28000000.
Event 123: DMC_DMPA DMA memory protection fault for L1D
memory protection exception caused by master with ID 4 at 0xf1b842
Supervisor Write violation
Event 125: UMC_DMPA DMA memory protection fault for L2
memory protection exception caused by master with ID 4 at 0xd87956
Supervisor Write violation
NRP=0x83d858, NTSR=0x1000d, IRP=0x20b01120, ITSR=0x1, TSCH= 0x0, TSCL= 0xeb2f44
B3=0x836d48, A4=0x85ecb9, B4= 0xa, B14= 0x86a508, B15= 0x869b20
After that, the cpu would lose connection. And I have to power off. Could you please give me some hint on why?
The .map infomation is like below:
MEMORY CONFIGURATION
name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
VECTORS 00800000 00000200 00000200 00000000 RWIX
LL2_RW_DATA_INT 00800200 00000080 00000080 00000000 RWIX
LL2_RW_DATA 00800280 0007fd80 0006a5bb 000157c5 RWIX
SL2 0c000000 00300000 00000000 00300000 RWIX
Thank you very much.
Peijun