| 数据搜索系统,热门电子元器件搜索 |
|
UM1653 数据表(PDF) 13 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
UM1653 数据表(HTML) 13 Page - STMicroelectronics |
|
13 / 45 page ![]() 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 |
|
链接网址 |
| ALLDATASHEET是否为您带来帮助? [ DONATE ] |
关于 Alldatasheet | 广告服务 | 联系我们 | 隐私政策 | 数据表链接 | 链接交换 | 制造商名单 All Rights Reserved©Alldatasheet.com |
| 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 |