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.

TMS320F28335: Device is locked or not connected

Part Number: TMS320F28335

Hello,

I have to rework an old design.
I got a prototype from a colleague of mine.
I try to re-flash the DSC but I get the following message:

C28xx: Flash Programmer: Device is locked or not connected. Operation cancelled.
C28xx: File Loader: Memory write failed: Unknown error
C28xx: GEL: File: C:\Users\USER\Local_repositories\project\Release\project.out: Load failed.

However, I can read and modify the contents of the RAM with the JTAG probe.
Is there a way to overcome this problem?

Thanks in advance

Steve

  • Hi Steve,

    Which version of CCS are you using?  

    Did you program passwords in the CSM area?  If yes, you need to unlock the device by providing the passwords in the GUI.

    Please check.

    Thanks and regards,
    Vamsi

  • Hi Vamsi,

    CCS version is 6.2.0.00050.

    I guess not, as the default values are set in Code Security Password (8 times the value 0xFFFF).
    I read out the values at location 0x33FFF8-0x33FFFF and all are 0x0000.
    It seems that the device is locked when the lock was not requested.
    Is there a full erasure solution to remove this lock?

    Thanks in advance

    Regards,

    Steve

  • Steve,

    If the password locations are programmed as 0s, then the device is permanently locked unless you have flash API embedded in to the secured flash.  If you have flash API in secured flash, and if that can be called to erase the flash, you can unlock the device.

    Let me know if you want me to assign this post to our security expert.

    Thanks and regards,

    Vamsi