Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method for accessing flash memory and relevant memory device

A technology of memory device and flash memory, which is applied in the field of flash memory and can solve problems such as user troubles and data reading errors

Active Publication Date: 2011-04-27
SILICON MOTION INC (CN)
View PDF0 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, if the memory controller judges that the data in the data page P4 is correct because the data in the data page P4 does not have a read error when the power supply returns to normal after a power failure, it is very likely that the data in the subsequent use will be lost. Data in page P4 will be read incorrectly and cause confusion for users

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for accessing flash memory and relevant memory device
  • Method for accessing flash memory and relevant memory device
  • Method for accessing flash memory and relevant memory device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] Please refer to figure 2 , figure 2 It is a schematic diagram of a memory device 200 according to an embodiment of the present invention, wherein the memory device 200 of this embodiment is preferably a portable memory device (for example: a memory card conforming to SD / MMC, CF, MS, XD standards). The memory device 200 includes a flash memory (Flash Memory) 220 and a controller. The controller can be a memory controller 210 and is used to access the flash memory 220 . According to this embodiment, the memory controller 210 includes a microprocessor 212 , a read only memory (ROM) 212M, a control logic 214 , a buffer memory 216 , and an interface logic 218 . The read-only memory 212M is used to store a program code 212C, and the microprocessor 212 is used to execute the program code 212C to control the access to the flash memory 220 (Access).

[0043] In a typical situation, the flash memory 220 includes a plurality of blocks (Block), and the controller (for example: ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to a method for accessing a flash memory method. The method comprises the following steps: writing a data stream into at least one data page of at least one block of the flash memory, wherein each of the at least one data page is provided with an identification code; reading at least one identification code corresponding to the at least one data page; and determining a specific data page according to the at least one identification code, wherein the specific data page is a data page into which the data stream is finally written before the flash memory is powered off. Theinvention also relates to a memory device which comprises a flash memory and a controller. The method and device provided by the invention have the advantages that in the process of writing update data into the data pages, in case a power failure occurs, after the power supply returns to normal, the situation that the data in certain data pages is in a writing blur state does not occur in the memory device can be ensured, therefore, in the subsequent use of the data, the problem of read error of the data in the data pages can be avoided.

Description

technical field [0001] The present invention relates to the relevant technical field of flash memory (Flash Memory), and more specifically, relates to a method for accessing a flash memory, a related memory device and a controller thereof. Background technique [0002] Due to the continuous development of flash memory technology in recent years, various portable memory devices (eg memory cards conforming to SD / MMC, CF, MS, XD standards) have been widely implemented in many applications. Therefore, the access control of the flash memory in these portable memory devices has become a very hot issue. [0003] Please refer to figure 1 , figure 1 is a schematic diagram of a traditional memory controller writing update data into a block 100 in the flash memory. Such as figure 1 As shown, the memory controller sequentially writes the update data from a master device (such as a personal computer) to the data pages P1, P2, P3, P4, . . . of the block 100. However, if the memory con...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): G06F12/06
Inventor 陈柏轩洪麒翔
Owner SILICON MOTION INC (CN)
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products