SPRUII0F May 2019 – June 2024 TMS320F28384D , TMS320F28384D-Q1 , TMS320F28384S , TMS320F28384S-Q1 , TMS320F28386D , TMS320F28386D-Q1 , TMS320F28386S , TMS320F28386S-Q1 , TMS320F28388D , TMS320F28388S
When ECC is programmed and enabled, Flash single-bit errors are corrected automatically by ECC logic before giving data to the CPU, but the errors are not corrected in Flash memory. Flash memory still contains wrong data until another erase/program operation happens to correct the Flash contents. Irrespective of whether the error interrupt is enabled or disabled, single-bit errors are always corrected before giving data to the CPU. When the interrupt is disabled, users can check the single-bit error counter register for any single-bit error occurrences. The error counter stops incrementing once the value is equal to the threshold + 1. Set the threshold register to a non-zero value so that the error counter can increment. The user must decide the threshold value at which to reprogram the Flash with the correct data.
When ECC is programmed and enabled, Flash uncorrectable errors end up triggering an NMI to the respective CPU. Refer to Section 3.12 for more details on Flash error correction and error catching mechanisms.