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.

Flash depletion questions

Hello,

I try to do a fail-safe boot loader on the 28027. The backup firmware should always work, even if the erase fails and a sector is in depletion.

Here I found something about balanced sectors.
e2e.ti.com/.../111828

If have choose my memory map as follow:
Sector A: Boot loader and backup FW (Update not allowed)
Sector B: User FW 1 (Update allowed)
Sector C: User FW 2 (Update allowed)
Sector D: unused (Update not allowed)

Is my understanding about depletion correct?
    * If a sector B or C are in depletion, I can boot from flash sector A (entire program in sector A)
    * If a sector B or C are in depletion, I can read read from sector A and D.
    * If one sector is in depletion, erase and write does not work anymore.
    * With Fash API I can detect depletion only, if the flash erase fails.

- Thomas