The KE18F has a mechanism in the FTFE module to generate an interrupt for double bit errors using the FTFE_FERSTAT[DFDIF].
Is there something similar for reporting single bit errors?
Would doing a margin read fill the role of determining single bit errors?
Hi sean,
No, there isn't flag which can report single bit error.
You can use margin read to check flash array. But I doubt if it can pick out single error bit. Since it is on the margin level, the error bit may jump out randomly. Margin check has a certain pattern, for example, write all zero -> all one -> 0x5555aaaa -> 0xaaaa5555. And then change the margin level and do again.
Regards,
Jing