Other Parts Discussed in Thread: UNIFLASH
Hi expert,
Customer met this Flash programming issue and could not erase code in Flash, could you help check what's the reason and next step for customer to erase the memory and program again? Thanks!

Joyce
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,
Customer met this Flash programming issue and could not erase code in Flash, could you help check what's the reason and next step for customer to erase the memory and program again? Thanks!

Joyce
Hi Joyce,
Please search for below questions in this FAQ: https://e2e.ti.com/support/microcontrollers/c2000-microcontrollers-group/c2000/f/c2000-microcontrollers-forum/1096194/faq-c2000-ccs-flash-plugin-and-uniflash
As mentioned in the FAQ (see below snapshot), you need to check the protection values that you provided in the GUI:

Thanks and regards,
Vamsi
Hi Vamsi,
Thanks for reply and we met another issue when using plugin GUI, by clicking configure clock to try to erase flash by sectors, these errors show up:


Does this mean the IC is locked/failed and could not be used? What else could we do?
Joyce
Hi Vamsi,
We've checked the protection part as you mentioned, show as below. But executing such erase, it showed erased successfully but still could not program.


What could be the possible reason? Seems didn't erase successfully actually?
Joyce
Hi Joyce,
1) What is the FMSTAT value in the above failure screenshot? Can you provide the entire console output?
2) Did you configure the protections for the program operation as well in the flash plugin GUI?
Thanks and regards,
Vamsi
Hi Joyce,
Do you have further questions on this?
Can I close this post?
Thanks and regards,
Vamsi
Hi Vamsi,
Issue still here when using CCS to program into Flash:

What's next step to trouble shoot?
Joyce
Hi Joyce,
As per the console window messages, the error is related to Write/Erase protection. Did you configure the protections in the flash plugin GUI as I suggested in my previous replies in this post?
Thanks and regards,
Vamsi
Vamsi,
I actually connected the debugger to the LP and the LEDs of power indicators are on. But didn't find the on-chip flash GUI through CCS debug view-->Tools-->onchip flash GUI, could you help provide a screenshot where the on-chip flash GUI is? Thanks
Joyce
Hi Joyce,
The snapshot you shared above shows that the debugger connection is disconnected.
Once you connect, the same menu that you showed in your snapshot will reflect On-chip flash tool as well.
Thanks and regards,
Vamsi
Hi Vamsi,
We tried as you said using on-chip flash, still could not erase successfully (but console showed 'successfully'):
Compared with a normal LaunchPad, all goes to FF after erase:
What could be the reason?
Joyce
Hi Joyce,
Can you share the CPU Bank mapping settings and protection settings from the flash plugin GUI?
Also, can you enable the verbose output mode at the bottom of the On-chip flash plugin GUI and provide us the console window output for the erase operations?
Thanks and regards,
Vamsi
Hi Joyce,
Since I did not hear back from you, I am closing this post assuming the issue is resolved.
If you have further questions, please open a new post.
Thanks and regards,
Vamsi