STM32F407 4GB NAND Flash ECC computation while read and write are different, but the data is the same.
This is the code I'm using to read the page of 16 data chunks of 256 bytes each:#define K9xxG08_ECC_Enable() FSMC_NAND_DEVICE->PCR2 |= FSMC_PCR2_ECCEN #define K9xxG08_ECC_Disable() FSMC_NAND_DEVICE->PCR2 &= ~FSMC_PCR2_ECCEN #define K9xxG08...