Method of writing, erasing, and controlling memory for memory device
First Claim
1. A management method of writing data in a memory device with a memory area unable to be overwritten on a bit-specific basis, the memory area having a plurality of sectors and said memory device erasing and writing data by a unit of one sector, said method comprising:
- writing data of N logical addresses to N+1 sectors by leaving one of the N+1 sectors as a free sector;
finding, from the N+1 sectors, a sector that stores data having a specified logical address;
erasing the sector that stores the data having the specified logical address; and
writing new data having the specified logical address to the free sector, and designating the erased sector as a free sector for subsequent data writing.
0 Assignments
0 Petitions
Accused Products
Abstract
Data transferred from a host computer to a memory device is written into sectors whose addresses in a memory area are decoded by a decode tab. Old data to be updated by the above data is erased or marked with erase flags. At a predetermined point of time, in order to create free areas, necessary data is evacuated to a primary memory media and unnecessary data indicated by erase flags is erased by a unit of predetermined memory size. Part of the memory media which has become defective is marked with a defect flag, and is replaced by an alternate area. In doing so, the decode table is rewritten to rearrange the memory area.
-
Citations
18 Claims
-
1. A management method of writing data in a memory device with a memory area unable to be overwritten on a bit-specific basis, the memory area having a plurality of sectors and said memory device erasing and writing data by a unit of one sector, said method comprising:
-
writing data of N logical addresses to N+1 sectors by leaving one of the N+1 sectors as a free sector;
finding, from the N+1 sectors, a sector that stores data having a specified logical address;
erasing the sector that stores the data having the specified logical address; and
writing new data having the specified logical address to the free sector, and designating the erased sector as a free sector for subsequent data writing. - View Dependent Claims (2, 3, 4, 5, 6, 7)
-
-
8. A management method of writing data in a memory device with a memory area unable to be overwritten on a bit-specific basis, the memory area having a plurality of sectors and said memory device erasing and writing data by a unit of one sector, said method comprising:
-
writing data into a free sector among N+1 sectors which are provided for and shared by N sector numbers;
managing said N+1 sectors using a decode table having information for each of said N+1 sectors about a sector arrangement; and
rewriting said decode table when one of the sectors becomes defective, said one of the sectors being replaced by a sector of a backup area, and the remaining N sectors of said N+1 sectors being shared by N−
1 sector numbers.- View Dependent Claims (9, 18)
-
-
10. A management method of writing data in a memory device with a memory area unable to be overwritten on a bit-specific basis, the memory area having a plurality of sectors and said memory device erasing and writing data by a unit of one sector, said method comprising:
-
writing data into a free sector among N+1 sectors which are provided for and shared by N sector numbers;
managing said N+1 sectors as one block using a decode table, wherein said decode table has information for each of said N+1 sectors about a sector arrangement; and
rewriting said decode table when one of the sectors becomes defective, said one of the sectors being replaced by a sector of a backup area, and the remaining N sectors of said N+1 sectors being shared by N−
1 sector numbers.- View Dependent Claims (11)
-
-
12. A management method of writing data in a memory device with a memory area unable to be overwritten on a bit-specific basis, the memory area having a plurality of sectors and said memory device erasing and writing data by a unit of one sector, said method comprising:
-
writing data into a free sector among N+1 sectors which are provided for and shared by N sector numbers;
managing said N+1 sectors as one block using a decode table; and
rewriting said decode table when one of the sectors becomes defective, a block containing said one of the sectors being replaced by a block of a backup area, wherein said decode table is reconstructed so as to decrease a free area.
-
-
13. A management method of writing data in a memory device with a memory area unable to be overwritten on a bit-specific basis, the memory area having a plurality of sectors and said memory device erasing and writing data by a unit of one sector, said method comprising:
-
writing data into a free sector among N+1 sectors which are provided for and shared by N sector numbers;
managing said N+1 sectors using a decode table having information for each of said N+1 sectors about a sector arrangement; and
rewriting said decode table when one of the sectors becomes defective, said one of the sectors being replaced by a sector of a backup area, wherein said decode table is reconstructed so as to decrease a free area.
-
-
14. A management method of writing data in a memory device with a memory area unable to be overwritten on a bit-specific basis, the memory area having a plurality of sectors and said memory device erasing and writing data by a unit of one sector, said method comprising:
-
writing data into a free sector among N+1 sectors which are provided for and shared by N sector numbers;
managing said N+1 sectors as one block using a decode table, wherein said decode table has information for each of said N+1 sectors about a sector arrangement; and
rewriting said decode table when one of the sectors becomes defective, said one of the sectors being replaced by a sector of a backup area, wherein said decode table is reconstructed so as to decrease a free area.
-
-
15. A management method of writing data in a memory device with a memory area unable to be overwritten on a bit-specific basis, the memory area having a plurality of sectors and said memory device erasing and writing data by a unit of one sector, said method comprising:
-
writing data into a free sector among N+1 sectors which are provided for and shared by N sector numbers;
managing said N+1 sectors using a decode table having information for each of said N+1 sectors about a sector arrangement; and
rewriting said decode table when one of the sectors becomes defective, said one of the sectors being replaced by a sector of a backup area, wherein said memory area is newly divided into a free area and a new backup area by reconstructing said decode table when said backup area is used up.
-
-
16. A management method of writing data in a memory device with a memory area unable to be overwritten on a bit-specific basis, the memory area having a plurality of sectors and said memory device erasing and writing data by a unit of one sector, said method comprising:
-
writing data into a free sector among N+1 sectors which are provided for and shared by N sector numbers;
managing said N+1 sectors as one block using a decode table, wherein said decode table has information for each of said N+1 sectors about a sector arrangement; and
rewriting said decode table when one of the sectors becomes defective, said one of the sectors being replaced by a sector of a backup area, wherein said memory area is newly divided into a free area and a new backup area by reconstructing said decode table when said backup area is used up.
-
-
17. A method of managing a memory device having a memory area with portions that become destroyed after a specific number of erasures, and having a rewritable decoder that indicates locations where data are stored in said memory area, the method comprising:
-
arranging a first decoder and a second decoder in series to form the decoder; and
rewriting at least one of the first decoder and the second decoder when part of the memory area or part of the first decoder or the second decoder is destroyed, said rewriting making the destroyed part inaccessible.
-
Specification