English
Language : 

SAM9G25_14 Datasheet, PDF (351/1167 Pages) ATMEL Corporation – Atmel | SMART ARM-based Embedded Microprocessor
Figure 27-2. Software/Hardware Multibit Error Correction Dataflow
NAND Flash
PROGRAM PAGE
Operation
NAND Flash
READ PAGE
Operation
Software
Configure PMECC :
error correction capability
sector size/page size
NAND write field set to true
spare area desired layout
Hardware
Accelerator
Move the NAND Page
to external Memory
whether using DMA or
Processor
PMECC computes
redundancy as the
data is written into
external memory
Copy redundancy from
PMECC user interface
to user defined spare area.
using DMA or Processor.
Software
Configure PMECC :
error correction capability
sector size/page size
NAND write field set to false
spare area desired layout
Hardware
Accelerator
Move the NAND Page
from external Memory
whether using DMA or
Processor
PMECC computes
polynomial remainders
as the data is read
from external memory
PMECC modules
indicate if at least one
error is detected.
If a sector is corrupted
use the substitute()
function to determine
the syndromes.
When the table of
syndromes is completed,
use the get_sigma()
function to get the
error location polynomial.
Find the error positions
finding the roots of the
error location polynomial.
And correct the bits.
This step can
be hardware assisted
using the PMERRLOC
module.
SAM9G25 [DATASHEET]
Atmel-11032E-ATARM-SAMG25-Datasheet_13-Oct-14
1351