Part Number: TMS320F28054F
I have question about depletion as following, help can get your support.
1.How to determine the Flash become depleted?
2.If the Flash become depleted, all flash sector will be not able to erase or just one sector？
3.If the device is unsecure, the power supply is normal , the flash content can be read, but cannot erase the Flash sector , can I think the Flash become depleted?
4.Any method can guarantee be able to bring a sector out of depletion ?
Please see this FAQ: https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/757586
Thanks and regards,
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Vamsi Gudivada:
I don't think the FAQ can answer all my question,
Could you help to answer my following question:
In reply to Huihuang Chen:
I believe the Flash_API guide within c2000ware has some extra information about depletion:
Have you already run the depletion recovery algorithm? This can be executed using the On-chip flash tool within CCS. Try running the depletion recovery algorithm several times if it fails.
If it fails after several times the flash may be in a depleted state. How the flash gets to a depleted state is documented in the Flash_API guide.
In reply to Kevin Allen18:
We have try the depletion recovery algorithm several times but failed . all flash sector cannot be erased.
We have try to programming one bit to zero and one flash sector to all zero , both operation are finished.
that means the flash cannot be erased but can be programming from 1 to zero.
Does this means the flash be depleted?
Could you help on my question?
Sorry for the delay in my response. Can you provide screenshots of what you're seeing in CCS when attempting to run the depletion algorithm and when you trying to erase the flash.
If the depletion algorithm failed after several attempts and you are unable to successfully erase the flash sectors then the device's Flash is likely in a depleted state. Did you get the chance to read how depletion can occur from the Flash API guide referenced previously?
We have ask the third party programmer vendor help to check , the returned status of erase failed is STATUS_FAIL_PRECOMPACT.
I understood the chance that can occur flash depletion, but if the depletion cannot be recover will be the big issue, customer will think this is Flash quality issue.
May i know the depletion will also can occur in F021 Flash or not?
There is no depletion in F021 Flash.
Please note: Many of us are out of office due to Thanks Giving. Please expect delays in our replies. We will be back in office on December 3rd.
Based on the feedback status code of erase error , could we say the Flash is in a depleted state?
Or device has some damage?
If the depletion algorithm fails after several tries (run from CCS on-chip flash programmer) and you're seeing a STATUS_FAIL_PRECOMPACT error status when attempting to erase, then the flash is most likely depleted.
Please read through the API guide for how depletion can be avoided. It is typically caused by power loss when erasing the flash or if the process is interrupted in some way.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.