TMS320F28P550SJ: Warning: failed unlocking device after reset. is there still hope to rescue it?

Part Number: TMS320F28P550SJ
Other Parts Discussed in Thread: UNIFLASH

Hi,

Now I can't program the chip by UNIFLASH and CCS, the error information is "failed unlocking device(zone 1&2) after reset". Previously, the programming is always good and the source code don't write any data into CSM OTP. The boot pin configuration is boot to flash. I try to read the CSM OTP at the address 0x78010, the result is all zeros. I had seen some discusstion in the e2e forums, but don't find convicing solution. Is there any method to rescue it,  for example skip the CSM erase the flash or clear the PSWDLOCK to read the password in OTP. The project is very urgent now. Looking forward to a conclusion. Thanks!

 

Xiaoqing

  • Hi Xiaoquing,

    So you get the failed unlocking device after reset error, but you're able to connect to CCS and view the memory browser contents at 0x78010? If this is still all 0s, could you send a screenshot of the entire memory browser starting at 0x78000 to confirm whether any CSM passwords have been programmed?

    Thank you,

    Luke

  • Hi Luke:

    Yes, i can connect to CCS/UNIFLASH and view the memory contents, but the contents including CSM password are all 0s in the range of 0x78000-0x781FF. Sorry i hasn't the screenshot in hand. 

    Xiaoqing

  • Hi, experts:

    Have any analysis or advice? This should be a frequently asked troubling problem on C2000 MCU.

  • Hi Xiaoqing,

    Is the memory browser ALL zeros? Or are some locations still not 0s?

    Do you know the CSM passwords you have programmed? If so you should be able to enter these in the CCS On-Chip flash tool GUI and unlock.

    If not, did you enable PSWDLOCK? If not, the values that aren't 0s in the memory browser are your CSM passwords.

    If you've enabled PSWDLOCK and you don't remember the passwords you programmed then the device is permanently locked unfortunately.

    Thank you,

    Luke

  • Hi Luke:

    I encountered this issue again today. I check the memory in OTP and FLASH are all 0s. The lock is not something i do intentionally, so i don't know the password and also don't enable PSWDLOCK. What i want to know is why the chip is accidentally locked and what is the rescue method?