Method of overwriting data in nonvolatile memory and a control apparatus used for the method

a nonvolatile memory and data overwriting technology, applied in the direction of instruments, coding, code conversion, etc., can solve the problems of volatile memory, inability to pin-point data in a sector, and requiring a relatively long process time (e.g. seconds),

Inactive Publication Date: 2005-02-01
DIGITAL CACHE LLC
View PDF13 Cites 49 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

It is impossible to pin-pointedly erase data in a sector.
However, erasing flash memory often requires erasure of entire data in a sector at first, requiring relatively long process time (e.g. seconds) compared to other processes.
For this reason, an interruption of power supply, if it occurs unexpectedly between the erasure of data in flash memory and the completion of writing the post-overwrite data, interrupts control of flash memory, causing loss of data saved on RAM, volatile memory; one may be seriously concerned with irrevocable loss of very important data.

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 of overwriting data in nonvolatile memory and a control apparatus used for the method
  • Method of overwriting data in nonvolatile memory and a control apparatus used for the method
  • Method of overwriting data in nonvolatile memory and a control apparatus used for the method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

The present invention is described in detail with reference to embodiments shown in the drawings referenced herein.

FIGS. 1-3 show Embodiment 1 of a method of overwriting data in nonvolatile memory and a control apparatus for using the method. The method of the present invention overwrites data in nonvolatile memory 1 in which required data are stored sector by sector, and provides a backup region 6 having the same memory capacity as sector 5 to which data to be overwritten belongs. When overwriting the data of interest in nonvolatile memory 1, pre-overwrite data in sector 5, to which the data to be overwritten belongs, is written in backup region 6, then, the data to be overwritten is erased from sector 5; post-overwrite data is then written in sector 5 together with an error detection code for detecting error in post-overwrite data.

In this embodiment, when writing the pre-overwrite data in backup region 6, an error detection code for pre-overwrite data is also written in backup reg...

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

In a nonvolatile memory such as flash memory where data is stored sector by sector, a method of overwriting a data sector is provided. The old data to be overwritten in a data sector along with its error detection code are initially saved to a backup region which is also in a non-volatile area. The old data in the data sector is then erased and new data along with its own error detection code are written into the same data sector where the old data was previously stored. When a power outage occurs during the overwrite process, error checking is performed to determine whether the data in the data sector is valid using the associated error detection code. Because the old data is saved in a non-volatile area, even if such unexpected power outage occurs during the overwrite process and the data in the data sector is determined to be invalid, at least the old data can be recovered from the non-volatile backup region which is not affected by the power outage.

Description

BACKGROUND OF THE INVENTIONa) Field of the InventionThe present invention relates to a method of overwriting nonvolatile memory data and a control apparatus used for the method. More specifically, the present invention relates to a method of overwriting data in such a way that data saved in nonvolatile memory is protected and a control apparatus is used for the method.b) Description of the Related ArtLately, flash memory capacity has increased dramatically along with an exponential improvement in useable lifetime in terms of the number of times data in flash memory can be overwritten. By these advances, flash memory serves not only as the conventional coding program storage (medium), being overwritten less frequently, but also as nonvolatile memory, being overwritten very frequently.Flash memory has a unique property that affects the overwriting method: when one wants to write the bit data “1” over “0”, one must first erase all data in a sector to which the data to be overwritten (i...

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 Patents(United States)
IPC IPC(8): G06F11/00G06F11/10G06F12/16G06F12/00G11C16/02G11C16/10
CPCG11C16/105G11C16/102
Inventor AKAHANE, FUMIHIKOBABA, TSUTOMU
Owner DIGITAL CACHE LLC
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products