Welcome to the C2000™ Microcontrollers Section of the TI E2E Support Community. Ask questions, share knowledge, explore ideas, and help solve problems with fellow engineers. To post a question, click on the forum tab then "New Post".
My application has a requirement for the flash contents to be irrevocably locked.
The documentation states that setting the CSM password to all zeroes permanently
locks the device. Does this mean that the CSM is permanently locked,
but that the device can still boot and execute from flash?
If that is true, it would still be possible for code running from
secure RAM to erase the flash and the password. Is there any way that
code could erase the password without erasing the flash?
A password of all 0's will lock the device permanently but does not effect its operation otherwise - it is just a locked device.
Secure code can still access secure areas and thus erase/program the flash.
Erase is a by sector process. So the minimum amount that you must erase in order to erase the password is all of sector A. The other sectors do not need to be erased.
Please also refer to this wiki page:
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with respect to these materials. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.