Hello,
We are testing the OTP memory programming and we have the following issue.
We wanted to program OTP_EMAC_Address0 one bit a the time to verify that it can be done as described here : http://processors.wiki.ti.com/index.php/C2000_Flash_Common_Issues/FAQs#OTP_.28one_time_programmable.29_Memory.
The command used was
DSLite flash -a OTPProgram -c user_files/configs/f28m35h52c1.ccxml -l user_files/settings/generated.ufsettings
where generated.ufsettings contrains:
{"Texas Instruments XDS100v2 USB Debug Probe/Cortex_M3_0":{"FlashM3EMACID1":"FFFFFFFE","FlashVerboseMode":true},"Texas Instruments XDS100v2 USB Debug Probe/C28xx_0":{}}
This went well and we could read back the memory with correct value (bit0 = 0)
We then modified generated.ufsettings to:
{"Texas Instruments XDS100v2 USB Debug Probe/Cortex_M3_0":{"FlashM3EMACID1":"FFFFFFFC","FlashVerboseMode":true},"Texas Instruments XDS100v2 USB Debug Probe/C28xx_0":{}}
to program the next bit, but following error appeared :
error: Cortex_M3_0: Error during Flash programming (Flash algorithm returned error code). Operation cancelled.
error: Cortex_M3_0: Please make sure the memory location you are programming have not already been programmed.
error: Cortex_M3_0: Please make sure the memory location you are programming have not already been programmed.
Failed: Unknown error
Same error when trying to write to FlashM3EMACID2 (OTP_EMAC_Address1).
Why is this happening ? Is there something wrong in our DSlite command ?
Thanks for your help.
Ril