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.

ECC with FEE Bank 7 on 570LS0432

Other Parts Discussed in Thread: NOWECC

I understand that I use nowECC to generate ECC codes for program Flash.

I understand that I initialize RAM before use and then further ECC codes are generated automatically when I write to RAM.

However, I don't understand how to use the Bank 7 flash, which we use via the FEE interface functions. How does ECC codes get generated for that if we are changing thos values on the fly?

Thanks.

  • If using the TI FEE driver, the ECC is taken care of by the driver. Otherwise you typically program the ECC with the data using the F021 Flash API function Fapi_issueProgrammingCommand(), in the mode Fapi_DataAndEcc. You have the limitation that you must program 64-bits at a time. Also you must avoid reading blank locations unless you enable "EE_ALL1_OK" in the EE_CTRL1 register.