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.

TMS320F280041: Cant unlock secure zone

Part Number: TMS320F280041

Hello, 

I am looking to implement a secure zone in my development code. I have already programmed passwords and locked the processor. The issue is when i try to debug the On-Chip Flash GUI window does not appear anymore. I am not sure how to unlock processor and I am trying to unlock to debug some more.

  • Update: I attempted editing the GEL file that is run on startup. Below is my output. I did not secure the PSWD locations so I am able to read them and I have written value to them and I am writing this exact value to CSMKEY locations. Not sure what the issue is. Please advise.

  • The issue is when i try to debug the On-Chip Flash GUI window does not appear anymore. I am not sure how to unlock processor and I am trying to unlock to debug some more.

    Reason you are not seeing it because CCS is not connected to device target. Ist connect the device by launching the target configuration file and then clicking on connect. Once you are connected to target and provide the password value in On-Chip Flash GUI, it should be able to program the flash sectors.

    Regards,

    Vivek Singh

  • Vivek, I think I see what the issue is, I have to checkbox to continue debug launch if target connection or program fails. This will allow debugger to continue even after failure.

    Then and only then will the flash menu show up. Then after this I can see the menu On-Chip Flash.

    Then once I click unlock and the console output says device unlocked and only after that i can load program!