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.

TMS320F28075: How to set and password protect microcontroller

Part Number: TMS320F28075
Other Parts Discussed in Thread: UNIFLASH, , SYSCONFIG

Tool/software:

How do you set up the ability to set a password when flashing the TMS320F28075 microcontroller? Utilizing Uniflash and the XDS110 debug probe we are flashing the controller with the .out configuration file. Is there a way to add a password to protect from reading/writing to the controller?

Thanks,

Tom Chaney

  • Hi Tom,

    You can program OTP/security settings via your .out file. I would suggest using the SysConfig DCSM tool to add security settings to your project. You can also program individual settings in OTP by using the Uniflash GUI.

    Thank you,

    Luke

  • Hello Luke,

    Thanks for your response. When loading the .out file using Uniflash is there a way to password protect the flash once it is loaded with the output file?  I have spent some time reviewing the Uniflash and TMS320F28075 documentation and there is not good straightforward detail as to password protection of the loaded program once it is flashed.

    Thanks,

    Tom

  • Hi Thomas,

    The DCSM chapter should have the information you need. To protect the flash you need to do two things:

    • Program custom values in the CSM password fields.
    • Program the GRABSECT registers with the appropriate values to designate flash sectors as secure.

    For final production, you should also enable PSWDLOCK

    All of this can be done in the Uniflash GUI or SysConfig DCSM tool. Let me know if anything is unclear after you've reviewed the GUI options in both tools and the DCSM chapter.

    Thank you,

    Luke