This is simple example of the usage of Flash Array Integrity Check (FAIC) function that is available on all MPC56xx devices.
The FAIC reads data from selected and unlocked flash blocks and calculates the MISR signature. User can compare the MISR signature calculated by flash controller (in runtime) with MISR calculated by offline tool (this is done during development, not in runtime) from s-record file. If the MISR is identical, we know that the content of selected flash blocks corresponds to content in s-record file and that there are no ECC errors (single bit or double bit ECC errors).
Original Attachment has been moved to: Example-MPC5604B-Flash-Array-Integrity-Check-CW210.zip