...
The software ECC generic controller extension (FS_NAND_CtrlrGen_SoftECC
) uses µC/CRC’s ECC modules for the ECC codewords calculation and data correction. The extension is configurable through a FS_NAND_CTRLR_GEN_SOFT_ECC_CFG
type structure. It should be initialized to the value FS_NAND_CtrlrGen_SoftEcc_DfltCfg
before its fields are overridden to the appropriate values for your application.Table 15-2 Generic controller layer extensions provided
The Micron ECC generic controller extension (FS_NAND_CtrlrGen_MicronECC
) allows the use of internal on-chip hardware ECC engines for some Micron NAND flash parts. The extension has been designed as an example for the Micron MT29F1G08ABADA, but should function properly with other similar Micron devices with internal ECC hardware modules. This module doesn’t have any configuration options, you should use DEF_NULL
as the generic controller extension configuration pointer (.CtrlrExtCfg
field of the FS_NAND_CTRLR_GEN_CFG
structure).