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.
Hello, TI experts
I've faced with some problem during downloading a cpu1 image on the MCU(TMS320F28388D) like below.
C28xx_CPU1_0: Flash Programmer: Error erasing Sector 0. FMSTAT value = 1040. Operation Cancelled (0).
C28xx_CPU1_0: File Loader: Memory write failed: Unknown error
I've known that the message can be reported in the case of on-chip flash being locked. Is it right?
Actually I'm developing some application for updating firmware with Fapi So I tried to erase sectors and write some data to on-chip flash several times.
Why did this situation happen? Can it be occured when Fapi was not used in the right way?
Please let me know about unlocking the sectors of on-chip flash and explain why it happend.
Thanks.
Hello Seunghan,
The message indicates that the device is has been previously locked. You will need to enter the unlock password in the Flash plugin GUI or UniFlash application before the device can be erased.
Ibukun
Thanks you for your reply.
Does TI provide any manual about releasing locked on-chip flash?
I want to know where I get the password of the MCU I have to unlock the flash.
Should I ask a domestic TI vendor about this problem?
Best regards,
Seunghan Bae
Hello Seunghan,
The device Flash can be unlocked from Code Composer Flash plugin. In the debug view, Go to Tools > On-Chip Flash, and scroll down to the CSMPSWD section. There you can enter the password and press the Unlock button to unlock the Flash. You can also do this using the UniFlash GUI.
If you are using a 3rd-party programmer tool, you will need to consult the manufacturer's documentation or support for info on how to unlock using their tool.
Best regards,
Ibukun