Nand writing balance processing method
A processing method and write balancing technology, which is applied in the direction of memory address/allocation/relocation, etc., can solve the problems of reduced read and write performance, and achieve high read performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach 1
[0029] Specific implementation mode 1: Simulator implementation mode
[0030] The simulation environment is: the total number of blocks of Nand Flash is 8, each block has 4 pages, and each page is 2K bytes; the write buffer block has 2 physical blocks; the block starts with number 0, and the number of the first page in the block is also 0.
[0031] The initialization operation process is as follows:
[0032] 1) Allocate the memory used by 1 block mapping array and 2 page mapping arrays.
[0033] 2) Scan all physical blocks of the Nand chip, update the block mapping array, and reproduce the block mapping relationship. The possible mapping relationship is as follows figure 2 .
[0034] 3) For the buffer block, scan each page, update the page mapping array, and reproduce the page mapping relationship. The possible mapping relationship is as follows image 3 .
[0035] For read operations, use the figure 2 The mapping transformation shown. Suppose you want to read 17 secto...
specific Embodiment approach 2
[0038] Specific implementation mode two: real hardware implementation mode
[0039] This method is realized in the WinCE operating system. As an example of product quality level, this method sets the number of buffer blocks to 16 or higher, adds power-off processing and dynamic bad block management, and makes a lot of optimizations. The various operations of this example are as follows:
[0040] 1) Initialization operation:
[0041] a) Allocate the memory used by the block mapping array and the N page mapping arrays.
[0042] b) Scan all physical blocks of the Nand chip, update the block mapping array, and reproduce the block mapping relationship.
[0043] c) For the buffer block, scan each page, update the page mapping array, and reproduce the page mapping relationship.
[0044] 2) Read sector operation:
[0045] a) Calculate the logic block.
[0046]b) Find the corresponding physical block according to the block mapping array.
[0047] c) If the logic block is in the ...
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, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com