| 전자부품 데이터시트 검색엔진 |
|
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 |
|
링크 URL |
| 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 |