SPRUIU1C July 2020 – February 2024 DRA821U , DRA821U-Q1
The CPU or DMA can read any location in the memory map and ECC will occur based on the region selection and size configuration.
In the event of an ECC single error detect, the 32-byte block address and associated error bits are stored and an interrupt is generated (if enabled). The CPU can then service the interrupt and determine the error type. If a single error occurs, the CPU can scrub the flash block to determine if the error is permanent and requires reprogramming.
In the event of an ECC double error detect, the 32-byte block address and associated error bits are stored and an interrupt is generated (if enabled). The CPU can then service the interrupt and determine the error type. If the double error detect is within the flash, the region is corrupt and have to be treated as unused.
For ECC double error detect the bus status will also be set. This prevents the CPU from executing the erroneous data.