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.
Tool/software:
Hi, Experts
In my project demand, some flash sector need use for store some data. But when I call the flash API to erase some particular sector, for example, Sector 56- 111. the flash only have been erased parts of these particular sector(may be 56 - 70). And I find the cause of this problem is one of this sector will verified fail after erased.
the location of flash API code that I called is: "C:\ti\c2000\C2000Ware_5_02_00_00\driverlib\f28p65x\examples\c28x_dual\flash\flashapi_128bit_programming\flashapi_cpu1_128bitprogramming.c"
Hi Steven,
Please see below from the Flash API guide https://www.ti.com/lit/pdf/sprujb8 and check whether you configured the protections correctly or not.
Thanks and regards,
Vamsi
Hi, Vamsi
Thanks for your reply,
I have noticed the key point that you point out, and I have set the mask value of sector 20 to 56 to 0. showed in below screenshot
by the way, If these specified sectors(sector 20 to 56) have already been programmed, there will be a validation failure(only erase sector 20) when calling the erase function. if I block the verification code "Fapi_doBlankCheck", all sector will be erased successful. the code shows in below screenshot.
And If these specified sectors(sector 20 to 56) are empty and have not been programmed, these sector can also be erased successful although the code "Fapi_doBlankCheck" has not been blocked.
Hi Steven,
Blank check reads the provided address ranges and reports back if the range is not in erased state.
Do you have any further specific question? Or can I close this post?
Thanks and regards,
Vamsi