Part Number: TMS320C6678
I have a situation where occasionally in the field one core becomes non-responsive to the point that not even the NMI is recognized. I have reason to believe that this is the result of a bad memory address likely 0), but don't know where.
What I would like to do is have the core trigger an exception instead of hanging.
This is what I have to enable it, but is not working:
CSL_MpuHandle hMpu;
Uint32 startAddress = 0;
Uint32 endAddress = 0x00010000;
Uint32 permissions = 0;
// Open the MPU MPU Module 0
hMpu = CSL_MPU_Open (0);
// Set the permissions for the Region 1.
CSL_MPU_SetProgrammableAddressInfo (hMpu, 1, startAddress, endAddress, permissions);
// Pointer to the exception combiner mask register 3.
U32* expMask3 = reinterpret_cast<U32*>(0x018000CC);
*expMask3 = 0xC07FFFFF;
Any suggestions?