数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

UM1653 数据表(PDF) 13 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
标志 STMICROELECTRONICS - STMicroelectronics

UM1653 数据表(HTML) 13 Page - STMicroelectronics

Back Button UM1653 Datasheet HTML 9Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 45 page
background image
DocID025024 Rev 1
13/45
UM1653
NAND driver firmware modules
44
Figure 5. Flow of wear leveling mechanism for STEVAL-CCM007V1/ 008V1
The above figure gives an overview of the firmware flow with respect to the way the Wear
Leveling Mechanism is implemented.
Let us consider a scenario in which the host is trying to send the data to the controller via
USB and write it to the NAND Flash. The corresponding CBW has to be decoded. The
function given below is called in such a case, to write to the memory which uses the
information provided from the CBW
void SCSI_Write10_Cmd(uint8_t lun, uint32_t LBA, uint32_t BlockNbr)
This function has the following arguments, the logical unit number, Logical block address
(LBA) and the block number. The LBA passed from the host is sequential and maps to the
address of the block in NAND Flash memory which comes out to be sequential.
A structure is used to store the address:
typedef struct
{
uint16_t Zone;
uint16_t Block;
uint16_t Page;
} NAND_ADDRESS;
main
NAND_Init
NAND_CleanLUT
NAND_WearLeveling
SBLK_NAND_WearLeveling
LBLK_NAND_WearLeveling
Small Block
NAND?
OTG_FS_IRQHandler
USBD_OTG_ISR_Handler
DCD_HandleOutEP_ISR
USBD_DataOutStage
USBD_MSC_DataOut
Is another Zone
requested?
Write in current Zone
of NAND Flash
Yes
Yes
No
SCSI_ProcessCmd
SCSI_Write10
SCSI_ProcessWrite
STORAGE_Write
NAND_Write
MSC_BOT_Data_Out
No
MS33219V1



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


链接网址



ALLDATASHEET是否为您带来帮助?  [ DONATE ] 

关于 Alldatasheet   |   广告服务   |   联系我们   |   隐私政策   |   数据表链接    |   链接交换   |   制造商名单
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