Claims
- 1. A method of writing and erasing data in a memory device with a memory area having a plurality of blocks, each of said blocks having a plurality of sectors, said memory device erasing data by a unit of one block and writing data by a unit of one sector, said method comprising the steps of:
- assigning a block of said memory area as an evacuation area and assigning blocks of said memory area other than said evacuation area as writing area;
- evacuating necessary data in a desired block of said writing area to said evacuation area;
- reassigning said evacuation area as a writing area;
- erasing data in said desired block; and
- reassigning said desired block as a new evacuation area.
- 2. The method as claimed in claim 1, wherein said step of erasing data erases said data by the unit of one block.
- 3. The method as claimed in claim 2, wherein said blocks contain more pieces of unnecessary data than a predetermined number prior to said step of erasing data.
- 4. The method as claimed in claim 2, wherein said blocks are erased one block at a time by erasing the one block which is located immediately before said evacuation area in a data writing direction.
- 5. The method as claimed in claim 3, wherein said blocks are erased one block at a time by erasing the one block which is located immediately before said evacuation area in a data writing direction.
- 6. The method as claimed in claim 1, wherein said blocks contain more pieces of unnecessary data than a predetermined number prior to said step of erasing data.
- 7. The method as claimed in claim 6, wherein said blocks are erased one block at a time by erasing the one block which is located immediately before said evacuation area in a data writing direction.
- 8. The method as claimed in claim 1, wherein said blocks are erased one block at a time by erasing the one block which is located immediately before said evacuation area in a data writing direction.
- 9. A memory controller for controlling a memory device with a memory area having a plurality of blocks, each of said blocks having a plurality of sectors, said controller comprising:
- assigning means for assigning a block of said memory area as an evacuation area and assigning blocks of said memory area other than said evacuation area as writing area;
- writing means for writing data to said writing area by a unit of one sector;
- evacuating means for evacuating necessary data in a desired block of said writing area to said evacuation area;
- erasing means for erasing data in said desired block by a unit of one block; and
- reassigning means for reassigning said evacuation area to which said necessary data is evacuated as a writing area and for reassigning said desired block as a new evacuation area.
- 10. The memory controller as claimed in claim 9, wherein said memory device is a flash memory device.
- 11. A memory device comprising:
- a memory area having a plurality of blocks, each of said blocks having a plurality of sectors;
- assigning means for assigning a block of said memory area as an evacuation area and assigning blocks of said memory area other than said evacuation area as writing area;
- writing means for writing data to said writing area by a unit of one sector;
- evacuating means for evacuating necessary data in a desired block of said writing area to said evacuation area;
- erasing means for erasing data in said desired block by a unit of one block; and
- reassigning means for reassigning said evacuation area to which said necessary data is evacuated as a writing area and for reassigning said desired block as a new evacuation area.
- 12. The memory device as claimed in claim 11, wherein said memory device is a flash memory device.
Priority Claims (1)
Number |
Date |
Country |
Kind |
5-246547 |
Oct 1993 |
JPX |
|
CROSS-REFERENCE TO RELATED APPLICATIONS
The entire disclosure of U.S. Ser. No. 08/912,692, filed Aug. 18, 1997 and a continuation application filed herewith, both of which claim priority to the present application, is considered as being part of disclosure of the present application and is hereby incorporated by reference.
US Referenced Citations (6)
Foreign Referenced Citations (2)
Number |
Date |
Country |
62-283496 |
Dec 1987 |
JPX |
62-283497 |
Dec 1987 |
JPX |