Hello Champs,
6657 EMIF's ce0 connect to nandflash (MT29F8G08ABBCAH4), details as shown below, total (4K + 224) byte per page.
Reference evmc665x nand example, select the EMIF 4bit ECC as ce0, read and write every 512 bytes, read and write a page from 4 times to 8 times.
It was found that when the first data read nandflash error occurred after the power failure was restarted, the software error correction read the NANDFSR register to make a judgment, it goes to the over 4 bit error branch, which is case 1 in the figure below.
Thanks
Regards
Shine