This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi
I have Locked device with fix Password,
then i want to reProgram the device using SCI Bootloader, with same password i have but
not working
i have change in csmUnlock()
{
volatile Uint16 temp;
// Load the key registers with the current password. The 0xFFFF's are dummy
// passwords. User should replace them with the correct password for the DSP.
EALLOW;
CsmRegs.KEY0 = 0x1234;
CsmRegs.KEY1 = 0xFFFF;
CsmRegs.KEY2 = 0x5678;
CsmRegs.KEY3 = 0xFFFF;
CsmRegs.KEY4 = 0x4321;
CsmRegs.KEY5 = 0xFFFF;
CsmRegs.KEY6 = 0x8765;
CsmRegs.KEY7 = 0xFFFF;
EDIS;
// Perform a dummy read of the password locations
// if they match the key values, the CSM will unlock
temp = CsmPwl.PSWD0;
temp = CsmPwl.PSWD1;
temp = CsmPwl.PSWD2;
temp = CsmPwl.PSWD3;
temp = CsmPwl.PSWD4;
temp = CsmPwl.PSWD5;
temp = CsmPwl.PSWD6;
temp = CsmPwl.PSWD7;
// If the CSM unlocked, return succes, otherwise return
// failure.
if (CsmRegs.CSMSCR.bit.SECURE == 0) return STATUS_SUCCESS;
else return STATUS_FAIL;
}
and if i do programming with same password using C2Prog application than its working fine..
Can you please take a look at this post and see if it helps: