• TI Thinks Resolved

TMS320F28054F: Question about Flash Depletion

Intellectual 2205 points

Replies: 10

Views: 131

Part Number: TMS320F28054F

Hi Champ,

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 ?

Thanks!

  • Chen,

    Please see this FAQ: https://e2e.ti.com/support/microcontrollers/c2000/f/171/t/757586

    Thanks and regards,

    Vamsi

  • In reply to Vamsi Gudivada:

    Hi Champ,

    I don't think the FAQ can answer all my question,  

    Could you help to answer my following question:

    1.How to determine the Flash become depleted?

    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 ?

  • In reply to Huihuang Chen:

    Hi Chen,

    I believe the Flash_API guide within c2000ware has some extra information about depletion:

    C:\ti\c2000\C2000Ware_2_00_00_03\libraries\flash_api\f2805x\docs

    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.

    Best,

    Kevin

  • In reply to Kevin Allen18:

    Hi Kevin,

    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?

  • In reply to Huihuang Chen:

    Hi Champ,

    Could you help on my question?

    thanks!

  • In reply to Huihuang Chen:

    Hi Chen,

    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?

    Best,

    Kevin

  • In reply to Kevin Allen18:

    Hi Kevin,

    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?

  • In reply to Huihuang Chen:

    Hi Chen,

    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.

    Thanks and regards,

    Vamsi

  • In reply to Vamsi Gudivada:

    Hi Champ,

    Based on the feedback status code  of erase error , could we say the Flash is in a depleted state?

    Or device has some damage?

    Thanks?

  • In reply to Huihuang Chen:

    Hi Chen,

    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.

    Best,

    Kevin