17.5.7.2 NAND Flash Boot: PMECC Error Detection and Correction

NAND Flash boot procedure uses PMECC to detect and correct errors during NAND Flash read operations in two cases:
  • When the usePmecc flag is set in a specific NAND header.
  • If the flag is not set, no ECC correction is performed during the NAND Flash page read. When the NAND Flash has been detected using ONFI parameters.
The ROM memory embeds the Galois field tables. The user does not need to embed them in his own software.

The Galois field tables are mapped in the ROM just after the ROM code, as illustrated in the figure below.

For a full description and an example of how to use the PMECC detection and correction feature, see the software package dedicated to this device on our website.

Figure 17-8. Galois Field Table Mapping