![Samsung S3C2416 Скачать руководство пользователя страница 167](http://html.mh-extra.com/html/samsung/s3c2416/s3c2416_user-manual_340824167.webp)
S3C2416 RISC MICROPROCESSOR
NAND FLASH CONTROLLER
7-9
4. To generate spare area ECC parity code, set the MsgLength to 1(24-byte message length), and set the
ECCType to “01”(enable 8bit ECC). 8bit ECC module generates the ECC parity code for 24-byte data. In
order to initiating the module, you have to write ‘1’ on the InitMECC (NFCONT[5]) bit after clearing the
MainECCLock (NFCONT[7]) bit to ‘0’(Unlock).
MainECCLock (NFCONT[7]) bit controls whether ECC Parity code is generated or not.
NOTE:
In 8bit ECC, MainECCLock should be cleared before initiating InitMECC.
5. Whenever data is written, the 8bit ECC module generates ECC parity code internally.
6. When you finish writing 24-byte meta or extra data, the parity codes are automatically updated to
NF8MECC0, NFMECC1, NF8MECC2, NF8MECC3 register. You can program these parity codes to spare
area. The parity codes have self-correctable information include parity code itself.
10.6 8-BIT ECC PROGRAMMING GUIDE (DECODING)
1. To use 8bit ECC in software mode, set the MsgLength to 0(512-byte message length) and set the ECCType
to “01”(enable 8bit ECC). 8bit ECC module generates ECC parity code for 512-byte read data. In order to
initiating 8bit ECC module, you have to write ‘1’ on the InitMECC (NFCONT[5]) bit after clearing the
MainECCLock (NFCONT[7]) bit to ‘0’(Unlock).
MainECCLock (NFCONT[7]) bit controls whether ECC Parity code is generated or not.
NOTE:
In 8bit ECC, MainECCLock should be cleared before InitMECC
2. Whenever data is read, the MLC ECC module generates ECC parity code internally.
3. After you complete the reading of 512-byte data (not including spare area data), you must set the
MainECCLock (NFCONT[7]) bit to ‘1’(Lock) and have to read parity codes. 8bit ECC module needs parity
codes to detect whether error bits exists or not. So you have to read the ECC parity code of 512-byte main
data right after reading the 512-byte data. Once the ECC parity code is read, 8bit ECC engine starts
searching any error internally. 8bit ECC error searching engine needs minimum 372 cycles to find any error.
During this time, you can continue reading data from external NAND flash memory.
ECCDecDone(NFSTAT[6]) can be used to check whether ECC decoding is completed or not.
4. When ECCDecDone (NFSTAT[6]) is set (‘1’), NF8ECCERR0 indicates whether error bit exists or not. If any
error exists, you can fix it by referencing NF8ECCERR0/1/2 and NFMLC8BITPT0/1 register.
5. If you have more main data to read, continue doing from step 1.
6. For meta data error check, set the MsgLength to 1(24-byte message length) and set the ECCType to
“01”(enable 8bit ECC). ECC module generates the ECC parity code for 24-byte data. In order to initiating the
8bit ECC module, you have to write ‘1’ on the InitMECC (NFCONT[5]) bit after clearing the MainECCLock
(NFCONT[7]) bit to ‘0’(Unlock).
MainECCLock (NFCONT[7]) bit controls whether ECC Parity code is generated or not.
7. Whenever data is read, the 8bit ECC module generates ECC parity code internally.
8. After you complete reading 24-byte, you must set the MainECCLock (NFCONT[7]) bit to ‘1’(Lock) and read
the parity code for 24-byte data. MLC ECC module needs parity codes to detect whether error bits exists or
not. So you have to read ECC parity codes right after reading 24-byte data. Once ECC parity code is read,
8bit ECC engine starts searching any error internally. 8bit ECC error searching engine needs minimum 372
cycles to find any error. During this time, you can continue reading main data from external NAND flash
memory. ECCDecDone(NFSTAT[6]) can be used to check whether ECC decoding is completed or not.
9. When ECCDecDone (NFSTAT[6]) is set (‘1’), NF8ECCERR0 indicates whether error bit exist or not. If any
error exists, you can fix it by referencing NF8ECCERR0/1/2 and NF8MLCBITPT register.
Содержание S3C2416
Страница 33: ...S3C2416X RISC MICROPROCESSOR PRODUCT OVERVIEW 1 5 3 BLOCK DIAGRAM Figure 1 1 S3C2416X Block Diagram ...
Страница 38: ...PRODUCT OVERVIEW S3C2416X RISC MICROPROCESSOR 1 10 153 AIN 1 U14 195 EINT 10 GPG2 K15 237 SDATA 14 C18 ...
Страница 122: ...BUS MATRIX EBI S3C2416X RISC MICROPROCESSOR 3 4 NOTES ...
Страница 204: ...DMA CONTROLLER S3C2416X RISC MICROPROCESSOR 8 18 NOTES ...
Страница 284: ...WATCHDOG TIMER S3C2416X RISC MICROPROCESSOR 11 6 NOTES ...
Страница 320: ...REAL TIME CLOCK S3C2416X RISC MICROPROCESSOR 13 16 NOTES ...
Страница 344: ...UART S3C2416X RISC MICROPROCESSOR 14 24 NOTES ...
Страница 380: ...USB2 0 DEVICE S3C2416X RISC MICROPROCESSOR 16 34 NOTES ...
Страница 432: ...2D S3C2416X RISC MICROPROCESSOR 18 38 NOTES ...
Страница 446: ...HS_SPI CONTROLLER S3C2416X RISC MICROPROCESSOR 19 14 NOTES ...
Страница 455: ...S3C2416X RISC MICROPROCESSOR HSMMC CONTROLLER 20 9 4 9 SD COMMAND ISSUE SEQUENCE Figure 20 9 Timeout Setting Sequence ...
Страница 604: ...S3C2416X RISC MICROPROCESSOR S3C2416X RISC MICROPROCESSOR 23 22 NOTES ...
Страница 638: ...PCM AUDIO INTERFACE S3C2416X RISC MICROPROCESSOR 25 18 NOTES ...
Страница 653: ...S3C2416X RISC MICROPROCESSOR ELECTRICAL DATA 26 15 Figure 26 14 SDRAM READ WRITE Timing Trp 2 Trcd 2 Tcl 2 DW 16 bit ...
Страница 670: ...ELECTRICAL DATA S3C2416X RISC MICROPROCESSOR 26 32 NOTES ...
Страница 672: ...MECHANICAL DATA S3C2416X RISC MICROPROCESSOR 30 2 Figure 27 2 330 FBGA 1414 Package Dimension 2 Bottom View ...