I want to create a nand image with ecc data. It will be used in factory, programmed into nand flash chip before manufacture. As the ecc is checked by the zynq hardware, how to make the ecc data right?
Check here in this document about Zynq and NAND flash compatibility. This technical note from Micron describes the 1 bit ECC code and how to create it.
thanks. Finally I found that the nand support onDie Ecc, so no need to obtain ecc data in nand image.