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

Method and device for writing data in memory chip

A data writing and storage chip technology, applied in the embedded field, can solve the problems of loss of storage/reading function, data inaccessibility, storage unit damage, etc., to reduce the probability of data loss and reduce the cost of writing and erasing The number of times, the effect of prolonging the working life

Active Publication Date: 2014-06-04
GUANGZHOU HUAXIN ELECTRONICS TECH
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, during the rewriting process of today's Flash memory chips, the number of erase operations and write operations is limited, such as figure 1 As shown, when a certain system or in a certain use environment needs to frequently modify a certain parameter in the Flash memory chip, due to the particularity of the Flash memory chip, the page erase action is performed when erasing, so when it is necessary to modify the figure 1 When rewriting C3 data, when C3 is written 100K times, P1 page is correspondingly erased 100K times. However, other parameters always maintain the original erase value. When C3 is always written, As a result, when erasing reaches a maximum number of times, the erasing and writing life of the Flash memory chip on the P1 page is terminated, and the storage / reading function of the P1 page is also lost, which means that except for C3, C1, C2 and C4 data cannot be obtained. Therefore, in an embedded system, a fast-running system may erase and write the same area of ​​the Flash chip multiple times. If the number of erasing and writing in this area exceeds the limit, the storage unit in this area damage

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 and device for writing data in memory chip
  • Method and device for writing data in memory chip
  • Method and device for writing data in memory chip

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] The embodiment of the present invention provides a method and device for writing data in a memory chip, by first judging whether there is enough space for writing new data, if there is, then directly writing new data, if not, performing an erase operation , thereby further reducing the number of times of writing and erasing in the Flash memory chip, and at the same time, greatly prolonging the working life of the Flash memory chip.

[0058]In order to make the purpose, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the following The described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skil...

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 embodiment of the invention discloses a method and device for writing data in a memory chip. According to the method and device, whether enough space for writing of new data exists or not is judged, if yes, the new data are directly written in, and if not, an erasing operation is carried out. Therefore, the frequency of writing operations and the frequency of erasing operations in the Flash memory chip are further reduced, and the service life of the Flash memory chip is greatly prolonged. The method comprises the steps of (1) judging whether enough space for writing of first data exists or not , if yes, executing the step (2), if not, executing the step (3), (2) writing the first data in a first idle memory area, and (3) erasing all the memory areas, and writing the first data in the corresponding memory area.

Description

technical field [0001] The invention relates to the field of embedded technology, in particular to a method and device for writing data into a memory chip. Background technique [0002] Flash storage chip is the specific application of the concept of embedded system chips in the storage industry. The most important storage chips in embedded system chips are Flash storage chips and RAM chips. However, because the data of Flash storage chips will not The lost special function makes the application of Flash memory chip more extensive. [0003] However, during the rewriting process of today's Flash memory chips, the number of erase operations and write operations is limited, such as figure 1 As shown, when a certain system or in a certain use environment needs to frequently modify a certain parameter in the Flash memory chip, due to the particularity of the Flash memory chip, the page erase action is performed when erasing, so when it is necessary to modify the figure 1 When r...

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
IPC IPC(8): G06F3/06
Inventor 邓孜俊王龙辉左春生刘伟高
Owner GUANGZHOU HUAXIN ELECTRONICS TECH
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