Data writing and data reading methods of Flash
A data writing and data technology, applied in the field of memory, can solve the problems of less updated content, reduced reading efficiency and space utilization, and low efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0122] see figure 1 , Embodiment 1 of the present invention provides a data writing method for Flash, comprising:
[0123] Step 101: Calculate the logical page number of the data written this time and the offset address within the page of the data written this time according to the write address;
[0124] For example, in this embodiment, to write data in the logical address 0x2005 of Flash, the size of the physical page and logical page of Flash is 4KB, then the logical page number=|0x2005 / 0x1000|=2 of writing data this time , the page offset address of the data written this time=0x2005-2*0x1000=0x0005.
[0125] Step 102: Find the physical page corresponding to the logical page number of the data written this time according to the correspondence between the logical page number and the physical page number;
[0126] Preferably, in this embodiment, the correspondence between the logical page number and the physical page number is reflected by the logical page number-physical p...
Embodiment 2
[0196] see Figure 9 , present embodiment two provides a kind of data reading method of Flash, the Flash in present embodiment two adopts the method that provides in embodiment one to carry out data writing; Described data reading method comprises:
[0197] Step 201: Calculate the logical page number of the data to be read this time and the in-page offset address of the data to be read this time according to the read address;
[0198] For example, in this embodiment, the size of the physical page and logical page of Flash is 4KB, and the read address is 0x2005, and the logical page number of the data to be read this time=|0x2005 / 0x1000|=2, and this time the data to be read The page offset address of the fetched data=0x2005-2*0x1000=0x0005.
[0199] Step 202: Find the physical page corresponding to the logical page number of the data to be read this time according to the correspondence between the logical page number and the physical page number;
[0200] Preferably, in this ...
Embodiment 3
[0223] see Figure 10 , the present embodiment three provides a kind of data reading method of Flash, the Flash in the present embodiment three adopts the method that provides in the embodiment one to carry out data writing; Described data reading method comprises:
[0224] Step 301: Calculate the logical page number of the data to be read this time and the in-page offset address of the data to be read this time according to the read address;
[0225] For example, in this embodiment, the size of the physical page and logical page of Flash is 4KB, and the read address is 0x2005, and the logical page number of the data to be read this time=|0x2005 / 0x1000|=2, and this time the data to be read The page offset address of the fetched data=0x2005-2*0x1000=0x0005.
[0226] Step 302: Find the physical page corresponding to the logical page number of the data to be read this time according to the correspondence between the logical page number and the physical page number;
[0227] Pre...
PUM

Abstract
Description
Claims
Application Information

- R&D
- Intellectual Property
- Life Sciences
- Materials
- Tech Scout
- Unparalleled Data Quality
- Higher Quality Content
- 60% Fewer Hallucinations
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2025 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com