Atmel Evaluation Kit AT91SAM9X25-EK AT91SAM9X25-EK Data Sheet

Product codes
AT91SAM9X25-EK
Page of 1151
349
SAM9X25 [DATASHEET]
11054E–ATARM–10-Mar-2014
Figure 27-6. Read Operation
27.4.2.3  MLC/SLC User Read ECC Area
This mode allows a manual retrieve of the ECC.
This mode is entered writing one in the USER field of the PMECC_CTRL register.
Figure 27-7. User Read Mode
27.5 Software Implementation
27.5.1 Remainder Substitution Procedure
The substitute function evaluates the polynomial remainder, with different values of the field primitive elements. The finite 
field arithmetic addition operation is performed with the Exclusive or. The finite field arithmetic multiplication operation is 
performed through the gf_log, gf_antilog lookup tables.
The REM2NP1 and REMN2NP3 fields of the PMECC_REMx registers contain only odd remainders. Each bit indicates 
whether the coefficient of the polynomial remainder is set to zero or not.
Sector 0
512 or 1024 bytes
Sector 1
Sector 2
Sector 3
Spare
pagesize = n * sectorsize
sparesize
ecc_area
start_addr
end_addr
Remainder computation enable signal
Read NAND operation with SPAREEN set to Zero and AUTO set to One
EC
C_SEC0
EC
C_SEC1
EC
C_SEC2
EC
C_SEC3
ECC
ecc_area_size
ecc_area
end_addr
addr = 0
Partial Syndrome computation enable signal