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

X  

UM1653 датащи(PDF) 14 Page - STMicroelectronics

номер детали UM1653
подробное описание детали  STM32 Advanced NAND Flash Driver for SLC NAND
PDF  45 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

UM1653 датащи(HTML) 14 Page - STMicroelectronics

Back Button UM1653 Datasheet HTML 10Page - STMicroelectronics UM1653 Datasheet HTML 11Page - STMicroelectronics UM1653 Datasheet HTML 12Page - STMicroelectronics UM1653 Datasheet HTML 13Page - STMicroelectronics UM1653 Datasheet HTML 14Page - STMicroelectronics UM1653 Datasheet HTML 15Page - STMicroelectronics UM1653 Datasheet HTML 16Page - STMicroelectronics UM1653 Datasheet HTML 17Page - STMicroelectronics UM1653 Datasheet HTML 18Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 45 page
background image
NAND driver firmware modules
UM1653
14/45
DocID025024 Rev 1
NAND_ADDRESS NAND_GetAddress (uint32_t Address)
The above function translates a logical address into a physical one and stores it in a
structure element of type NAND_ADDRESS.
While writing to the NAND, the wear level algorithm should return the block to be written of
which the erase count is least. To maintain the list of USED, FREE and BAD blocks an array
is maintained: LUT[ ].
The previously fetched address for writing, and the free block obtained with least erase
counts are swapped in LUT and updated, this ensures that the write takes place at the block
with least erase count.
uint16_t NAND_GetFreeBlock (void)
The above function is called to get the free block for swap. The function returns the first free
block it finds in the LUT[ ]. This implies that the LUT[ ] should have the free blocks arranged
in the increasing order of erase count. The LUT[ ] is updated by the following function.
uint16_t NAND_BuildLUT (uint8_t ZoneNbr)
The above function arranges the bad block at the bottom of the array and the used and free
blocks are located in the upper part of the array.
uint16_t NAND_WearLeveling (void)
The above function sorts the free blocks in the ascending order based on the wear level
count. Now, the free block used for writing in the NAND would be the one with the least
erase count.
2.3
ECC
Unlike NOR Flash memory that does not require error correction code, NAND memory
needs to ensure data integrity.
The disadvantage of the NAND configuration is that when a cell is read, the sense amplifier
detects a signal much lower than for the NOR configuration because many transistors are in
series. Therefore access to a cell is not straightforward and must necessarily go through all
the cells in series which reduces precision and makes code error correction required.
There are three error correction codes:
The Hamming code can correct only one bit error.
The Reed Solomon code can correct more errors.
The BCH code can correct many errors and is more efficient than Reed Solomon.
2.3.1
Hamming code for NAND Flash
The Hamming code algorithm used by NAND Flash-based applications calculates two
values of ECC for a data packet. Each bit in the values of ECC parity represents half of the
bits of the data packet.



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 32 33 34 35 36 37 38 39 40 41 42 43 44 45


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

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