SPRUIZ1B July 2023 – August 2024 TMS320F28P650DH , TMS320F28P650DK , TMS320F28P650SH , TMS320F28P650SK , TMS320F28P659DH-Q1 , TMS320F28P659DK-Q1 , TMS320F28P659SH-Q1
When ECC is programmed and enabled, Flash single-bit errors are corrected automatically by ECC logic before giving data to the CPU, but the Flash single-bit 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 decides the threshold value 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.