Location of the ECC status byte is ECC_SRAM_ADDR + 0x07.
See attached file. It is simple program example for the MPC5125 NAND Flash controller.
Find the fsl_nfc_check_ecc_status finction in the fsl_nfc.c file.
Have a great day,
Pavel Chubakov
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------