Method of writing, erasing, and controlling memory for...

Error detection/correction and fault detection/recovery – Data processing system error or fault handling – Reliability and availability

Reexamination Certificate

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

C714S710000

Reexamination Certificate

active

06584579

ABSTRACT:

BACKGROUND OF THE INVENTION
1. Field of the Invention
The present invention relates to a method of controlling the writing and erasing of information in flash memories and the like used as an external storage device for personal computers. This type of memory is incapable of having information written over existing information.
2. Description of the Prior Art
In recent years, there has been wide attention on external storage devices which use flash memory. The flash memory does not require a backup power supply because of its non-volatile characteristic, can be rewritten electrically, and, also, is inexpensive. However, the flash memory has shortcomings as follows.
First, it is impossible to write information over existing information. Also, it is impossible to erase information by the unit of byte, but possible by the unit of sector, block, or chip. Thus, a rewrite can not be done byte by byte as in the conventional memory so that the rewriting speed as well as the erasing speed is relatively slow compared to the reading speed.
Second, there is a limit in the number of erasures that the flash memory can tolerate, and a typical flash memory can not be used after a hundred thousand to one million erasures. Thus, areas which experience a larger number of erasures become defective faster than other areas so that the total area available for storing information decreases unless the number of erasures are roughly averaged across all the sectors or all the blocks, whichever is used as the unit of erasing.
Since the flash memory has shortcomings as listed above, various counter measures should be taken in using the flash memory, which range from preparing an evacuation area and evacuating data at the time of rewriting, providing a control table for controlling the writing and erasing of information, to preparing a way to save the situation when defective sectors or defective blocks are generated.
As described above, the flash memory has such advantages as a non-volatile characteristic and electrical rewrite capability, but also has many inadequacies as well, so that those inadequacies must be surmounted before using it for a practical purpose.
Accordingly, there is a need in the flash memory field for a method of writing, erasing, and controlling a memory so that those shortcomings are obviated to facilitate use of flash memory for practical purposes.
SUMMARY OF THE INVENTION
Accordingly, it is a general object of the present invention to provide a method of writing, erasing, and controlling a flash memory, which method satisfies the need described above.
It is another and more specific object of the present invention to provide an efficient method of writing, erasing, and controlling a memory for a memory device whose memory can not write information over existing information and can not erase information by the unit of byte.
It is yet another object of the present invention to provide a method of writing, erasing, and controlling the memory, which method can average the numbers of erasures all over the memory area.
In order to achieve those objects, a method of writing and erasing data in a memory device with a memory area having a plurality of blocks each with a plurality of sectors, with the memory device erasing data by the unit of one block, comprises the steps of selecting a first predetermined number of blocks from a top of a first list in which the blocks are ranked in a descending order of a number of necessary sectors in each of the blocks, selecting a second predetermined number of blocks from a top of a second list in which the blocks are ranked in a ascending order of a number of necessary sectors in each of the blocks, and evacuating the necessary sectors from the first predetermined number of blocks and a second predetermined number of blocks to other blocks which have free sectors.
It is still another object of the present invention to provide a method of writing, erasing, and controlling the memory, which method can increase its writing speed.
In order to achieve this object, a management method of writing data in a memory device with a memory area having a plurality of sectors unable to be overwritten, with a memory device erasing data by the unit of one sector, comprises the steps of providing at least two sectors for each sector number, writing data into one of the two sectors, the noted one being a free, and erasing data in the other sector of the two sectors simultaneously with the step of writing data, if there is data in the other sector.
It is a further object of the present invention to provide a method of writing, erasing, and controlling the memory, by a method which can increase the reliability of the memory management.
It is a yet further object of the present invention to provide a method of writing, erasing, and controlling the memory, by a method which can provide a counter measure when defective areas are generated.
In order to achieve those objects, a method of managing a memory device with a memory area having a possibility that part of the memory area is destroyed, and having a decoder able to be rewritten for indicating locations where data is stored in the memory area, comprises the steps of arranging two decoders in a series to form the decoder, and rewriting at least one of the two decoders when part of the memory area or part of the two decoders is destroyed, so that this part of the memory area or this part of the two decoders is not accessed.


REFERENCES:
patent: 5124948 (1992-06-01), Takizawa et al.
patent: 5267148 (1993-11-01), Kosaka et al.
patent: 5297148 (1994-03-01), Harari et al.
patent: 5341339 (1994-08-01), Wells
patent: 5357475 (1994-10-01), Hasbun et al.
patent: 5375222 (1994-12-01), Robinson et al.
patent: 5432748 (1995-07-01), Hsu et al.
patent: 5437020 (1995-07-01), Wells et al.
patent: 5459850 (1995-10-01), Clay et al.
patent: 5471478 (1995-11-01), Mangan et al.
patent: 5473753 (1995-12-01), Wells et al.
patent: 5479633 (1995-12-01), Wells et al.
patent: 62-283496 (1987-12-01), None
patent: 62-283497 (1987-12-01), None

LandOfFree

Say what you really think

Search LandOfFree.com for the USA inventors and patents. Rate them and share your experience with other people.

Rating

Method of writing, erasing, and controlling memory for... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method of writing, erasing, and controlling memory for..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method of writing, erasing, and controlling memory for... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFUS-PAI-O-3156464

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.