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.

TMS570LC4357: QS on ECC function

Part Number: TMS570LC4357

Hi all:

    I use F021 API to erase bank1 and bank7 then it cause ESM error which is ECC broken. I have some questions about ECC.

    1. In the trm page 121, Memory map. I find 0xF000000  to  0xF047FFFF is a place to store flash ecc , opt and eeprom. So Are there all flash ecc stored in this place but not in bank0 or bank7?

    2. If I earse bank1 and bank7 by using " Fapi_issueAsyncCommandWithAddress(Fapi_EraseBank, (uint32_t*) 0xF0200000u);" function, will it case ECC error?  After earsing any flash banks in my project, Do I need fill ECC by myself?

    3. How ecc error occur? For example, if I just read flash, will cpu do ecc caculating?