TMS570LC4357 TRM (SPNU563A) section 2.2.3.2 says that both single- and double-bit ECC errors are indicated to the EPC via the CPU event bus:
This is also indicated by Table 2-4 and section 4.3.2.
However, in an experiment where I intentionally scan over erased flash memory (which I know looks full of both correctable and uncorrectable ECC errors) with 64-bit CPU reads, I see correctable error EPC CAM entries appear for erased flash addresses I am reading, even though the CPU event bus is disabled in the Cortex-R5 PMU. Once the scan gets far enough that the CAM fills, I can also see FIFOFULLSTAT.FULL0 and OVRFLWSTAT.OVFL0 become set, which confirms the errors are coming from the CPU and not some other bus master.
PMCR.X is cleared at this point (CPU event bus is off):
I do not see any ESM 2.3 events when I scan over erased flash words that read as uncorrectable ECC errors, so at least that response is still disabled when the CPU event bus is disabled.
My question is: How is it possible the EPC is receiving these correctable error events from the CPU, if the event bus is disabled at the time?
Is it possible that correctable errors from the CPU are actually not indicated to the EPC with the CPU event bus, but with a separate mechanism?
Thank you!