Claims
- 1. A storage system having a semiconductor memory section comprising a storage section using a flash memory as a storage medium and a host system which transfers information to and from said semiconductor memory section,
- said semiconductor memory section including:
- an interface circuit transferring information to and from said host system;
- a control circuit controlling a read/write of information from/into said storage section and detecting an error incurring area of said storage section; and
- memory management means retaining a used or unused state for each area of said storage section, upon detection of an error by said control circuit, for allocating an unused area as an alternate area in place of the error incurring area of said storage section and retaining a correspondence between the allocated alternate area and the error incurring area,
- said control circuit referencing said memory management means for controlling a read/write of information from/into said storage section.
- 2. A storage system as claimed in claim 1 wherein said control circuit comprises information means, upon detection of an error incurring area of said storage section, for sending error information indicating detection of the error incurring area of said storage section to said host system and said host system comprises means for detecting receipt of the error information from said information means and means for outputting error information upon detection of receipt of the error information by said information detection means.
- 3. A storage system as claimed in claim 1 wherein said semiconductor memory section further includes means for retaining predetermined error information;
- said control circuit, upon detection of an error incurring area of said storage section, sets error information indicating detection of the error occurring area of said storage section in said error information retention means; and
- said host system comprises detection means for referencing said error information retention means for detecting the error information and means for outputting error information upon detection of the error information by said detection means.
- 4. A storage system as claimed in claim 3 wherein said control circuit further detects that no alternate area becomes available in said storage section and further sets error information indicating that no alternate area becomes available in said storage section in said error information retention means.
- 5. A storage system as claimed in claim 1 wherein said host system comprises input means for accepting an instruction for previously setting a data area for storing data and the alternate area of said storage section as initialization information and setting means responsive to the instruction accepted through said input means for setting the initialization information in said memory management means and said memory management means is responsive to the setting of said setting means for dividing said storage section into the data area and the alternate area for management.
- 6. A storage system as claimed in claim 5 wherein said memory management means comprises reallocation means for detecting an unused block of an empty area of the data area when no further alternate areas are available, and reallocating the detected unused block to the alternate area and reallocation information means for informing said host system that the unused block is set as the alternate area when the block is reallocated by said reallocation means, and the host system inhibits use of the unused block upon receipt of reallocation information from said reallocation information means.
- 7. A method for controlling storage in a semiconductor memory using a flash memory as a storage medium comprising the steps of:
- previously retaining a write address corresponding to address information indicated for a write from an external system;
- retaining a used or unused state of an area indicated by the storage medium write address and upon receipt of a write instruction together with address information from the external system, referencing the previously retained write address corresponding to the address information;
- writing into the area indicated by the write address;
- setting the used state for the area at the writing and retaining the state;
- determining whether or not a write error occurs during writing;
- if a write error occurs, allocating an unused area as an alternate area in place of the error incurring area and writing into the alternate area;
- changing the previously retained write address to a write address of the alternate area for updating the write address; and
- informing the external system that the alternate area is used.
- 8. A method for controlling storage in a semiconductor memory using a flash memory as a storage medium comprising the steps of:
- accepting an instruction for dividing a semiconductor memory area into a data area for storing data and an alternate area, when a write error occurs, for allocating an area other than the error incurring area and previously retaining a write address of the data area corresponding to address information and an address of the alternate area in response to the instruction;
- retaining a used or unused state of the data area and the alternate area for each address;
- upon receipt of a write instruction together with address information, referencing the previously retained write address corresponding to the address information; writing into the area indicated by the time of write address;
- setting the used state for the area at the writing and retaining the state;
- determining whether or not a write error occurs during writing;
- if a write error occurs, allocating an unused area as an alternate area in place of the error incurring area and writing into the alternate area;
- changing the previously retained write address to a write address of the alternate area for updating the write address; and
- setting the used state for the alternate area and retaining the state.
Priority Claims (5)
Number |
Date |
Country |
Kind |
5-81642 |
Apr 1993 |
JPX |
|
5-122401 |
May 1993 |
JPX |
|
5-174372 |
Jul 1993 |
JPX |
|
5-175619 |
Jul 1993 |
JPX |
|
5-246520 |
Oct 1993 |
JPX |
|
CROSS-REFERENCE TO RELATED APPLICATIONS
This application is a continuation of application Ser. No. 09/182,630, filed Oct. 30, 1998, now U.S. Pat. No. 5,973,964, which is a divisional of application Ser. No. 08/640,998, filed Apr. 30, 1996, now U.S. Pat. No.5,862,083, which, in turn, was a divisional of application Ser. No. 08/225,313, filed Apr. 8, 1994, now U.S. Pat. No. 5,530,673, the entire disclosures of which are incorporated herein by reference.
US Referenced Citations (36)
Foreign Referenced Citations (24)
Number |
Date |
Country |
0392895 |
Oct 1990 |
EPX |
0492106 |
Jul 1992 |
EPX |
0522780 |
Jan 1993 |
EPX |
0569040 |
Nov 1993 |
EPX |
0615193 |
Sep 1994 |
EPX |
2840305 |
Mar 1980 |
DEX |
3200872 |
Jul 1983 |
DEX |
62-036799 |
Feb 1987 |
JPX |
1-235075 |
Sep 1989 |
JPX |
2-189790 |
Jul 1990 |
JPX |
2-292798 |
Dec 1990 |
JPX |
3-25798 |
Feb 1991 |
JPX |
3-30034 |
Feb 1991 |
JPX |
3-283094 |
Dec 1991 |
JPX |
4-123243 |
Apr 1992 |
JPX |
4-243096 |
Aug 1992 |
JPX |
5-028039 |
Feb 1993 |
JPX |
5-027924 |
Feb 1993 |
JPX |
5-204561 |
Aug 1993 |
JPX |
5-241741 |
Sep 1993 |
JPX |
2251323 |
Jul 1992 |
GBX |
2251324 |
Jul 1992 |
GBX |
WO9218928 |
Oct 1992 |
WOX |
WO9311491 |
Jun 1993 |
WOX |
Non-Patent Literature Citations (4)
Entry |
Patent Abstracts of Japan, vol. 16, No. 382, Aug. 14, 1992. |
Patent Abstract of Japan, vol. 10, No. 30, Feb. 5, 1986. |
Computer Technology Review, "Flash Memory for Top Speeds in Mobile Computing", vol. 12, No. 7, Jun. 1992, pp. 36-37. |
Communications of the Association for Computing Machinery, "Asymmetric Memory Hierarchies", vol. 16, No. 4, Apr., 1973, pp. 213-222. |
Divisions (2)
|
Number |
Date |
Country |
Parent |
640998 |
Apr 1996 |
|
Parent |
225313 |
Apr 1994 |
|
Continuations (1)
|
Number |
Date |
Country |
Parent |
182630 |
Oct 1995 |
|