NandFlash bad block management method
A bad block and block number technology, applied in the field of NandFlash bad block management, can solve the problems of increased memory capacity and large memory, and achieve the effects of strong adaptability, high production efficiency and strong versatility
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Example Embodiment
[0048] Example one
[0049] See figure 1 The embodiment of the present invention provides a NandFlash bad block management method, and the method specifically includes:
[0050] Step S1: Check whether the initial bad block scan flag is set, if yes, go to step S3 directly, otherwise go to step S2;
[0051] Step S2: Perform an initial bad block scan, find replacement blocks for the scanned bad blocks, and generate a corresponding record to write into the bad block replacement area, and set the initial bad block scan flag after the initial bad block scan is completed;
[0052] Step S3: Create a bitmap, set the values of all data bits in the bitmap to the first preset value, read the records in the bad block replacement area, and compare the bitmap with the The value of the data bit corresponding to each bad block is set to the second preset value for bitmap marking, and the block operation request is waited for after the bitmap marking is completed;
[0053] Wherein, the creation of the...
Example Embodiment
[0063] Example two
[0064] The embodiment of the present invention provides a NandFlash bad block management method. The method specifically includes four parts: initial bad block scanning, bitmap creation and marking, block operation, and bitmap update. This embodiment separately performs initial bad block scanning and Bitmap creation and marking are described as a process, and block operations and bitmap update are described as a process.
[0065] See figure 2 , The initialization process of bad block scanning and bitmap creation and marking includes the following steps:
[0066] Step 101: Check whether the initial bad block scan flag is set, if yes, go to step 114, otherwise go to step 102;
[0067] Wherein, the initial bad block scan flag is used to identify whether the initial bad block scan is completed, the initial scan flag is in a reset state when the NandFlash leaves the factory, and is set when the initial bad block scan is completed.
[0068] Step 102: Locate the first bl...
Example Embodiment
[0116] Example three
[0117] The embodiment of the present invention provides a NandFlash bad block management method. The method specifically includes four parts: initial bad block scanning, bitmap creation and marking, block operation, and bitmap update. This embodiment separately performs initial bad block scanning and Bitmap creation and marking are described as a process, and block operations and bitmap update are described as a process.
[0118] The initial bad block scanning and the bitmap creation and marking process are the same as the method in the second embodiment, and will not be repeated here;
[0119] See Figure 4 , The block operation and bitmap update process includes the following steps:
[0120] Step 301: When the block operation request is received, check whether the NandFlash unavailable flag is set, if yes, it will prompt that NandFlash is unavailable and the operation has failed, otherwise, go to step 302;
[0121] Step 302: Determine whether the block number ...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap