Hello everybody!
I have regarding the possibility to program a Flash sector without having erased it first!
I have found rather contradictory information from the following sources:
1. This thread:
. The same thread mentions that only programming Flash will not damage it.
2. This thread:
. It is mentioned that if the application only uses the program function, then the erase function will not be included in the final .out file.
3. SPNA117A:
. On page 4/11, the document mentions that there are several steps required to program Flash using Flash API functions, one of which is erasing the target flash.
So, is erasing Flash a necessary step before programming it?
To give some context to my question: if I want to program a sector in Flash Bank 0 of the TMS570LS1224, do I need to necessarily first erase said sector before programming it?
Thank you in advance!
Mihail