How to perform memory testing for flash memory? Is there any algorithm to perform flash memory test?
HI
Could you please let us know your chip part number and CodeWarrior version thus we can assign right engineer for your question?
Thanks,
Jun Zhang
Thanks Jun Zhang,
For MPC5566
Hi,
In case of MPC5566, there are no features like Flash Array Integrity Check or CRC module which can be found on newer devices. There’s only ECC which helps to check data integrity.
So, there are two points:
- handle possible ECC errors as required. We have this application note:
https://www.nxp.com/docs/en/application-note/AN5200.pdf
https://www.nxp.com/docs/en/application-note-software/AN5200SW.zip
- you can implement own SW check of data/code in flash. Read the flash areas you need and calculate own checksum/crc by software and then check the result.
Regards,
Lukas