AN 763: Intel® Arria® 10 SoC Device Design Guidelines

ID 683192
Date 5/17/2022
Public
Document Table of Contents

5.1.12.4. ECC for Flash Memory

All peripheral RAMs in the HPS are ECC protected. Each peripheral has its own instance of the Error Checking and Correction Controller detailed in Chapter 11 of the Arria 10 Hard Processor System Technical Reference Manual

GUIDELINE: Software must update the ECC during NAND read-modify-write operations.

The NAND flash controller ECC hardware is not used when a read-modify-write operation is performed from the flash device’s page buffer. Software must update the ECC during such read-modify-write operations. For a read-modify-write operation to work with hardware ECC, the entire page must be read into system memory, modified, then written back to flash without relying on the flash device’s read-modify-write feature.

GUIDELINE: Consider that the NAND flash controller cannot do ECC validation during a copy-back command.

The NAND flash controller cannot do ECC validation during a copy-back command. The flash controller copies the ECC data but does not validate it during the copy operation.