How to detect below mentioned ROM Failures,
Hi,
take a look at this application note:
https://www.nxp.com/docs/en/application-note/AN12522.pdf
Section "3.2 ECC for non-correctable errors" is the most interesting for you.
Regards,
Lukas