S3C2440A RISC MICROPROCESSOR NAND FLASH CONTROLLER
6-7
ECC(Error Correction Code)
NAND Flash controller consists of four ECC (Error Correction Code) modules. The two ECC modules (one f or
data[7:0] and the other for data[15:8]) can be used for (up to) 2048 bytes ECC Parity code generation, and the
others(one for data[7:0] and the other for data[15:8]) can be used for (up to) 16 bytes ECC Parity code generation.
28bit ECC Parity Code = 22bit Line parity + 6bit Column Parity
14bit ECC Parity Code = 8bit Line parity + 6bit Column Parity
2048 BYTE ECC PARITY CODE ASSIGNMENT TABLE
DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 DATA1 DATA0
MECCn_0 P64 P64’ P32 P32’ P16 P16’ P8 P8’
MECCn_1 P1024 P1024’ P512 P512’ P256 P256’ P128 P128’
MECCn_2 P4 P4’ P2 P2’ P1 P1’ P2048 P2048’
MECCn_3 P8192 P8192’ P4096 P4096’ - - - -
16 BYTE ECC PARITY CODE ASSIGNMENT TABLE
DATA7 DATA6 DATA5 DATA4 DATA3 DATA2 DATA1 DATA0
SECCn_0 P16 P16’ P8 P8’ P4 P4’ P2 P2’
SECCn_1 P1 P1’ P64 P64’ P32 P32’ - -