Hello,
I am implementing Inline ECC on an i.MX 8M Plus with external DDR. ECC appears to be working correctly: U-Boot has been configured, the Linux EDAC driver is active, and /sys/devices/system/edac/mc/mc0/ is present.
I would now like to validate the ECC protection by deliberately generating correctable and uncorrectable errors.
AN13566, section 3.2.9, states that Inline ECC errors can be injected by unlocking the ECC region using ECC_REGION_PARITY_LOCK and overriding the ECC parity bits. It also mentions that further information on this feature is available on request.