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.
Hi expert:
I want write a key value(such as unique id)in user OTP,but in Table 5-3. Default Value of ZxOTP (Programmed by TI) of Technical Reference Manual,
my quetion is which address can i used ?
Hi Youjun,
Most of the USER OTP locations are reserved for purposes like DCSM and passwords so it would be tricky to use the USER OTP space. If you need to use a unique ID, there are options available like UID_UNIQUE0 and UID_UNIQUE1. Refer to the datasheet for details under table 7-4 for the locations:
Regards,
Joseph
Thanks.
I want write some data in user OTP or other space(programmed only once),which address or space can i used ?
Hi Youjun,
For the F2800137 device which has only one flash bank/user OTP, the entire user OTP region is allocated for security (DCSM) and system configuration. No location is available for use. Maybe you can allocate a sector in the main flash bank for containing such variable.
Regards,
Joseph
But the main flash bank can be erased, my idea is to write only once and cannot be erased.like TI OTP.
Is there a way to achieve it?
Hi Youjun,
There is no other alternative at the moment as all the USER OTP locations are already allocated for other purposes in F280013x device. Probably your best case scenario is to use the UNIQUE IDs in the device as these are programmed at the time of production testing and this number will be different for every C2000 device that is produced.
Regards,
Joseph
Hi Joseph:
I have an idea, but i don't know if it's feasible?
I program key informaiton into flash sector 0, used DCSM module writing password to protecte flash sector 0.
Decrypted flash sector 0 after MCU power on, reads key informaiton, then encrypted flash sector 0 again used DCSM module.
Hi Youjun,
I am consulting with our DCSM expert to see if your proposal is feasible. Give me a day or two to get back with a definite answer.
Best regards,
Joseph
Hi Youjun,
DCSM expert said that this is technically feasible but is not recommended. Unlocking device in application can open up device for potential threat but if you are OK with this risk, then it should be fine.
Best regards,
Joseph