NAND FLASH CONTROLLER
SC32442B RISC MICROPROCESSOR
6-8
ECC MODULE FEATURES
ECC generation is controlled by the ECC Lock (MainECCLock, SpareECCLock) bit of the Control register.
ECC Register Configuration (Little / Big Endian)
1) 16-bit NAND Flash Memory Interface
Register
Bit [31:24]
Bit [23:16]
Bit [15:8]
Bit [7:0]
NFMECCD0 2
nd
ECC for I/O[15:8]
2
nd
ECC for I/O[7:0]
1
st
ECC for I/O[15:8]
1
st
ECC for I/O[7:0]
NFMECCD1
4th ECC for I/O[15:8]
4
th
ECC for I/O[7:0]
3
rd
ECC for I/O[15:8]
3
rd
ECC for I/O[7:0]
Register
Bit [31:24]
Bit [23:16]
Bit [15:8]
Bit [7:0]
NFSECCD 2
nd
ECC for I/O[15:8]
2
nd
ECC for I/O[7:0]
1
st
ECC for I/O[15:8]
1
st
ECC for I/O[7:0]
2) 8-bit NAND Flash Memory Interface
Register
Bit [31:24]
Bit [23:16]
Bit [15:8]
Bit [7:0]
NFMECCD0 - 2
nd
ECC for I/O[7:0]
-
1
st
ECC for I/O[7:0]
NFMECCD1 - 4
th
ECC for I/O[7:0]
-
3
rd
ECC for I/O[7:0]
Register
Bit [31:24]
Bit [23:16]
Bit [15:8]
Bit [7:0]
NFSECCD - 2
nd
ECC for I/O[7:0]
-
1
st
ECC for I/O[7:0]
ECC PROGRAMMING GUIDE
1) In software mode, ECC module generates ECC parity code for all read / write data. So you have to reset
ECC value by writing the InitECC(NFCONT[4]) bit as ‘1’ and have to clear theMainECCLock(NFCONT[5])
bit to ‘0’(Unlock) before read or write data.
MainECCLock(NFCONT[5]) and SpareECCLock(NFCONT[6]) control whether ECC Parity code is
generated or not.
2) Whenever data is read or written, the ECC module generates ECC parity code on register NFMECC0/1.
3) After you completely read or write one page (not include spare area data), Set the MainECCLock bit to
‘1’(Lock). ECC Parity code is locked and the value of the ECC status register will not be changed.
4) To generate spare area ECC parity code, Clear as ‘0’(Unlock) SpareECCLock(NFCONT[6]) bit.
5) Whenever data is read or written, the spare area ECC module generates ECC parity code on register
NFSECC.
6) After you completely read or write spare area, Set the SpareECCLock bit to ‘1’(Lock). ECC Parity code is
locked and the value of the ECC status register will not be changed.
7) Once completed you can use these values to record to the spare area or check the bit error.
(Note)
NFSECCD is for ECC in the spare area (Usually, the user will write the ECC value of main data area
Summary of Contents for SC32442B54
Page 1: ...SC32442B54 USER S MANUAL Revision 1 0 ...
Page 43: ...PRODUCT OVERVIEW SC32442B RISC MICROPROCESSOR 1 42 NOTES ...
Page 59: ...PROGRAMMER S MODEL SC32442B RISC MICROPROCESSOR 2 16 NOTES ...
Page 123: ...ARM INSTRUCTION SET SC32442B RISC MICROPROCESSOR 3 64 NOTES ...
Page 167: ...THUMB INSTRUCTION SET SC32442B RISC MICROPROCESSOR 4 44 NOTES ...
Page 187: ...MEMORY CONTROLLER SC32442B RISC MICROPROCESSOR 5 20 NOTES ...
Page 250: ...DMA SC32442B RISC MICROPROCESSOR 8 14 NOTES ...
Page 308: ...PWM TIMER SC32442B RISC MICROPROCESSOR 10 20 NOTES ...
Page 330: ...UART SC32442B RISC MICROPROCESSOR 11 22 NOTES ...
Page 417: ...SC32442B RISC MICROPROCESSOR LCD CONTROLLER 15 45 NOTES ...
Page 427: ...ADC AND TOUCH SCREEN INTERFACE SC32442B RISC MICROPROCESSOR 16 10 NOTES ...
Page 511: ...BUS PRIORITIES SC32442B RISC MICROPROCESSOR 24 2 NOTES ...
Page 562: ...K5D2G13ACM D075 Revision 1 0 December 2006 7 MCP MEMORY 2Gb 256Mb x8 NAND Flash Memory A Die ...
Page 599: ...K5D2G13ACM D075 Revision 1 0 December 2006 44 MCP MEMORY 512Mb 16Mb x32 Mobile SDRAM C Die ...