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.

TMS320F280039C: Password to protect code update

Part Number: TMS320F280039C

Hi 

I am migrating the code from F2808 to F280039C. When working on F2808, we were using the code security password to protect the MCU from unauthorized firmware upload. On F280039C, I saw there is a dual code security module might serve the same function. I tried to follow the dcsm_security_tool exmaple in C2000. Following is the screenshot of .syscfg. 

Based on what I understand, after uploading this firmware onto the MCU, the flash sector 0 would be protected from updating unless a valid password is used. However, I am still able to upload other firmware onto the MCU without providing the password. 

It would be great if any advice on implement can be provided.

Thanks in advance. 

  • Hi,

    As per the screenshot you provided, you are allocating Flash sector 0 to Zone1 and configuring it as EXEONLY. However, the password you have provided is still the default. The Flash programmer while attempting to program will first try by giving the Default password (via GEL file). Since the default password has not been updated, that maybe a possible reason why the Zone would get unlocked and the firmware update would still be possible. Try changing the default password in the screenshot above and then attempt the same. 

    Hope this response resolved your query. Feel free to get back if this still does not resolve the issue you are facing. 

    Thanks & Regards

    Pramod 

  • Pramod,  

    Thank you for the reply. I just tried to change the password from default value and it works as expected. 

    Thanks.