поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

AN2784 датащи(PDF) 27 Page - STMicroelectronics

номер детали AN2784
подробное описание детали  Using the high-density STM32F10xxx FSMC peripheral to drive external memories
PDF  31 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2784 датащи(HTML) 27 Page - STMicroelectronics

Back Button AN2784 Datasheet HTML 23Page - STMicroelectronics AN2784 Datasheet HTML 24Page - STMicroelectronics AN2784 Datasheet HTML 25Page - STMicroelectronics AN2784 Datasheet HTML 26Page - STMicroelectronics AN2784 Datasheet HTML 27Page - STMicroelectronics AN2784 Datasheet HTML 28Page - STMicroelectronics AN2784 Datasheet HTML 29Page - STMicroelectronics AN2784 Datasheet HTML 30Page - STMicroelectronics AN2784 Datasheet HTML 31Page - STMicroelectronics  
Zoom Inzoom in Zoom Outzoom out
 27 / 31 page
background image
AN2784
Interfacing with an 8-bit NAND Flash memory
Doc ID 14779 Rev 4
27/31
The error correction code algorithm implemented in the FSMC can perform 1-bit and 2-bit
error detection per page read from or written to the NAND Flash memory. It is based on the
Hamming algorithm and consists in calculating the row and column parity.
4.4.2
Error detection
Figure 12.
Error detection flowchart
When an error occurs during the write operation, this error is either correctable or
uncorrectable depending on the ECC XOR operation:
Case of a correctable error
The ECC XOR operation contains 11-bit data at 1. And each pair parity is 0x10 or
0x01.
Case of an ECC error
The ECC XOR operation contains only one bit at 1.
Case of an uncorrectable error
The ECC XOR operation is random data. In this case the page data cannot be
corrected.
Based on the flowchart shown in Figure 12, the correction software is easy to implement.
The first step consists in detecting whether an error occurred during the write operation. If
that was the case, the second step consists in determining if the error is correctable or not. If
it is correctable, then the third step consists in correcting the error.
The error correction is based on the second ECC generated after the read operation. The
error location can be identified from this code. Usually, the following data are extracted from
the ECC:
P1024, P512, P256, P128, P64, P32, P16, P8, P4, P2, P1, where Px are the line and
column parity.
In case of an 8-bit memory, P4, P2, P1 define the error bit position. And P1024, P512, P256,
P128, P64, P32, P16, P8 define the error byte position.
Program NAND page operation successful
Read ECC value during Program operation
Read written NAND page
Read new ECC value during Read operation
XOR operation between the two ECC values
All ECC bits
are zero
Yes
No
No error
Error detected
ai15185



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com