Hard Processor System Technical Reference Manual: Agilex™ 5 SoCs

ID 814346
Date 7/19/2024
Public

A newer version of this document is available. Customers should click here to go to the newest version.

Document Table of Contents

5.3.6.9.5. ECC Errors

Only the uncorrectable errors are re-considered real errors by the NAND Flash controller (reported when the number of ECC errors in a sector overpass the correction capability). For correctable errors, the NAND Flash controller does not report any error. In the case of multi-plane operations, the NAND Flash controller reports independently status error for each one of the planes. The plane status can be observed on the pl_ecc_error field of the last operation status register/descriptor.

The NAND Flash controller sets ecc_err and Fail flags in the last operation status register/descriptor. In CDMA mode, if cont_on_err field in the device_ctrl (0x0430) register is cleared, then following descriptors are discarded from execution. In the opposite case, the controller continues with the processing of the next descriptor.

In case correctable errors are detected, the controller updates the Max Error field in the last operation status register/descriptor. This field holds the maximum number of errors corrected per single sector.

When uncorrectable errors are reported, the number of errors reported in Max Error field and Erased Page flag should be ignored.