US20030002366A1 - Life warning generation system and method of semiconductor storage device equipped with flash memory - Google Patents

Life warning generation system and method of semiconductor storage device equipped with flash memory Download PDF

Info

Publication number
US20030002366A1
US20030002366A1 US10/096,486 US9648602A US2003002366A1 US 20030002366 A1 US20030002366 A1 US 20030002366A1 US 9648602 A US9648602 A US 9648602A US 2003002366 A1 US2003002366 A1 US 2003002366A1
Authority
US
United States
Prior art keywords
spare
storage area
data
spare storage
area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
US10/096,486
Other versions
US6646931B2 (en
Inventor
Shinichi Mizoguchi
Masatoshi Kimura
Takayuki Shinohara
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Assigned to MITSUBISHI DENKI KABUSHIKI KAISHA reassignment MITSUBISHI DENKI KABUSHIKI KAISHA ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: KIMURA, MASATOSHI, MIZOGUCHI, SHINICHI, SHINOHARA, TAKAYUKI
Publication of US20030002366A1 publication Critical patent/US20030002366A1/en
Application granted granted Critical
Publication of US6646931B2 publication Critical patent/US6646931B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/70Masking faults in memories by using spares or by reconfiguring
    • G11C29/76Masking faults in memories by using spares or by reconfiguring using address translation or modifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • G06F3/0619Improving the reliability of storage systems in relation to data integrity, e.g. data losses, bit errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0659Command handling arrangements, e.g. command buffers, queues, command scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/70Masking faults in memories by using spares or by reconfiguring
    • G11C29/76Masking faults in memories by using spares or by reconfiguring using address translation or modifications
    • G11C29/765Masking faults in memories by using spares or by reconfiguring using address translation or modifications in solid state disks

Definitions

  • the present invention relates to a semiconductor storage device such as a semiconductor card, equipped with flash memories of which the number of rewriting actions is limited, and particularly to a semiconductor storage device having spare sectors for replacing error sectors in rewriting data and arranged to give a warning when the number of rewriting actions is close to its limit.
  • FA factory automation system
  • a flash ATAPC card, compact flash (registered trademark) card and flash drive are used as the semiconductor storage device for a substitute for a hard disk drive in various applications.
  • These examples include nonvolatile or flash memories built therein, each memory having a floating gate structure of memory cells and capable of writing and reading data with protocols compatible with a hard disk drive.
  • a flash memory has a floating gate structure where the number of rewriting actions is limited. It is hence schemed for increasing the operating life of the flash memory to prepare and use spare sectors (blocks) for replacing error sectors (blocks) of which the number of rewriting actions is exhausted. Accordingly, as each flash memory is increased in the number of rewriting actions more than that of rewritable actions per sector (block), it can favorably be used in a semiconductor storage device.
  • Such a conventional semiconductor storage device having a flash memory includes no means for notifying a host apparatus of the exhaustion condition of the spare sectors (blocks). This results in that the operating life of the conventional semiconductor storage device is identified only at the time when a rewriting error suddenly occurs during a continuous operation.
  • FIG. 8 is a block diagram showing a conventional semiconductor card as a semiconductor storage device equipped with flash memories.
  • the semiconductor card 82 comprises a card controller 83 , flash memories 84 , and a power supply circuit 86 .
  • the card controller 83 includes a CPU 85 , a buffer portion 88 , and an error correction coding circuit 89 (referred to as “ECC circuit”, hereinafter).
  • ECC circuit error correction coding circuit
  • the card controller 83 is linked with an oscillator 87 .
  • the card controller 83 executes data transmission to and from an external system 81 of various data signals including I/O signals, address signals, and control signals.
  • the card controller 83 When acknowledging a message of a command received from the external system 81 , the card controller 83 starts control actions for implementation of the command.
  • the control actions of the card controller 83 are basically programmed and executed by the CPU 85 provided in the card controller 83 .
  • the read and write actions on the flash memories 84 are based on data transfer via the buffer portion 88 built in the card controller 83 .
  • the semiconductor card prepares spare storage areas for prolonging the life of rewriting actions.
  • the spare storage areas of the semiconductor card have specific rewritable size at each replacement action and entire replacement storage size, which are individually determined and managed depending on the type of equipped flash memories and the controlling method.
  • the conventional semiconductor card is designed to notify the external system 81 of the occurrence of error only when the spare storage areas have been used up and a counteraction is needed, but not give an early warning to the system 81 before the spare storage areas are exhausted. In other words, exhaustion of the spare storage areas is not known before the occurrence of error is notified. Therefore, the degree of the used spare storage areas is hardly examined, which results in that the rewriting action may exceed the rewritable limit without precaution. This disables the function of the flash memories and causes the semiconductor card to have an erratic action.
  • the present invention has been developed for eliminating the foregoing drawbacks and its object is to provide a system and a method of generating a warning signal in a semiconductor card equipped with a set of flash memories which is arranged for examining a remaining size of a spare storage area in rewriting actions to judge that w the life of each flash memory c o m e s close to its end before the flash memory is completely used up, thus preventing any malfunction derived from careless use after the end of the life.
  • a first aspect of the present invention provides a semiconductor storage device equipped with flash memories each having a limited size of a spare storage area, which comprises: an error decision unit for judging whether or not an error occurs during writing of data; a replacing unit for rewriting data to the spare storage area when the error decision unit judges that an error occurs; a spare area size calculating unit for calculating a remaining size of the spare storage area after the data has been re-written to the spare storage area; a spare area checking unit for comparing the remaining size of the spare storage area with a predetermined value; and a warning generator for generating a warning when the remaining size of the spare storage area is smaller than the predetermined value.
  • the replacing unit may acquire a start address of the spare storage area from a spare storage area management table which is saved in a management area of each flash memory to thereby rewrite the data to the spare storage area of the acquired address, and after the completion of the data rewriting, the replacing unit updates the spare storage area management table and a logic-to-physic conversion table saved in the management area.
  • a second aspect of the present invention provides a warning generating system of a semiconductor storage device exchanging commands and data with an external system, the semiconductor storage device being equipped with flash memories each having a limited size of a spare storage area, where the system comprises: an error decision unit for judging whether or not an error occurs during writing of data; a replacing unit for rewriting data to the spare storage area when the error decision unit judges that an error occurs; a spare area size calculating unit for calculating a remaining size of the spare storage area after the data has been re-written to the spare storage area; a spare area checking unit for comparing the remaining size of the spare storage area with a predetermined value; and a warning generator for generating a warning when the remaining size of the spare storage area is smaller than the predetermined value.
  • a third aspect of the present invention provides a warning generating method of a semiconductor storage device equipped with flash memories each having a limited size of a spare storage area, where the method comprising the steps of: judging whether or not an error occurs during writing of data; rewriting data to the spare storage area when it is judged that an error occurs; calculating a remaining size of the spare storage area after the data has been rewritten to the spare storage area; comparing the remaining size of the spare storage area with a predetermined value; and generating a warning when the remaining size of the spare storage area is smaller than the predetermined value.
  • the spare area size calculating unit may calculate the remaining size of the spare storage area in response to a check command for checking the remaining size of the spare storage area which is issued by an external system. Thus, it is decided whether or not a warning be raised only when the external system requests for the examination of the remaining size, and accordingly, the warning can effectively given to a user.
  • the semiconductor storage device may further comprise a register for flagging a specific bit indicative of the warning when it is judged that the remaining size of the spare storage area is smaller than the predetermined value.
  • warning indication signal is provided for transmission to an external system and when the spare area checking unit judges that the remaining size of the spare storage area is smaller than the predetermined value, the warning indication signal is changed in level to notify the external system of the warning.
  • the semiconductor storage device may further comprise an external switch wherein the spare area size calculating unit executes the calculation of the remaining size of the spare storage area when the external switch is turned on.
  • the semiconductor storage device such as a semiconductor card can check the end of its life independently of the external system without giving any load to the external system.
  • a fourth aspect of the present invention provides a semiconductor storage device equipped with flash memories each having a limited number of rewriting operations to be subjected and each flash memory being provided with a spare storage area for replacing a defective portion caused in a data writing operation, where the semiconductor storage device comprises: an error decision unit for judging whether or not an error occurs in a defective portion during a data writing operation; a replacing unit for replacing the defective portion by the spare storage area to write the data when the error decision unit judges that an error occurs; a command receiving unit for receiving a remaining number examination command from an external equipment requesting an examination of a remaining size of the spare storage area; a remaining spare size calculating unit for calculating a remaining size in number of the spare storage area in response to the remaining number examination command after the data has been written to the spare storage area; and a spare area checking unit for comparing the calculated remaining size of the spare storage area with a predetermined value.
  • entry and response procedure of the remaining number examination command may be based on a non-data transfer command protocol.
  • the remaining spare size calculating unit obtains the minimum of count numbers of good sectors existing in the spare storage areas of the entire flash memories and determines the minimum as the remaining number of the spare sectors of the semiconductor storage device and when the remaining number of the spare sectors is smaller than the predetermined value, the remaining number of the spare sectors is notified to the external equipment.
  • the external host equipment can readily be notified of the remaining number of the spare sectors of the semiconductor storage device.
  • FIG. 1 is a block diagram showing an arrangement of a warning generating system of a semiconductor card according to the present invention
  • FIG. 2 is a flowchart showing an operation of the semiconductor card according to the present invention.
  • FIG. 3 is a schematic model view showing a structure of a management area in the semiconductor card according to the present invention.
  • FIG. 4 is a block diagram showing another arrangement of a warning generating system of the semiconductor card according to the present invention.
  • FIG. 5 is a block diagram showing a further arrangement of a warning generating system of the semiconductor card according to the present invention.
  • FIG. 6 is a block diagram showing a still further arrangement of a warning generating system of the semiconductor card according to the present invention.
  • FIG. 7 is a block diagram showing a still further arrangement of a warning generating system of the semiconductor card according to the present invention.
  • FIG. 8 is a block diagram showing a construction of a conventional semiconductor card
  • FIG. 9 is a block diagram showing an arrangement of a semiconductor storage device according to the present invention.
  • FIG. 10 is a schematic model view showing a sector arrangement of an AND type flash memory used in the semiconductor storage device according to the present invention.
  • FIG. 11 is a schematic model view showing sector conditions in an AND type flash memory used in the semiconductor storage device according to the present invention.
  • FIG. 12 is a diagram showing parameters of each register before and after execution of a count replace sector command and description thereof.
  • FIG. 13 is a diagram showing parameters of each register before and after execution of a check replace condition command.
  • FIG. 1 is a block diagram of a basic arrangement of a data writing and reading system using a semiconductor card as a semiconductor storage device according to the present invention.
  • the semiconductor card 12 comprises a card controller 13 , flash memories 14 , and a power supply circuit 16 .
  • the card controller 13 includes a microprocessor (referred to as “CPU”) 15 , a buffer portion 18 , and an error correction coding circuit (ECC) 19 .
  • the card controller 13 is connected with an oscillator 17 .
  • the card controller 13 exchanges with an external system 11 various data signals including I/O signals, address signals, and control signals.
  • the semiconductor card 12 also includes a warning generator (LED) 21 which is controlled by an LED controller 20 for generating a warning or alarm signal.
  • LED warning generator
  • the operation of the card controller 13 is fundamentally controlled by commands from the CPU 15 built in the card controller 13 .
  • the operation of writing and reading of data with respect to the flash memories 14 is carried out through data transfer using the buffer portion 18 built in the card controller 13 .
  • the buffer portion 18 includes a plurality of buffers having different sizes corresponding to types of data read out of the flash memories such as management data internally needed by the memory card and external data from the system.
  • FIG. 2 is a flowchart showing a procedure of generating a warning in a data writing operation of the semiconductor card according to the present invention.
  • a command for data writing is issued from the external system 11 and is received by the buffer 18 for writing data into a flash memory in the semiconductor card in Step S 1
  • the address of the subject data in the flash memory is obtained in Step S 2 and the writing operation of the data is commenced in Step S 3 .
  • Step S 4 It is then examined in Step S 4 whether or not an error (or a fault) occurs during the writing operation. When no error (or fault) is detected, the writing operation is successfully carried out in Step S 5 .
  • Step S 6 If any error (fault) is detected, a re-writing operation of the data into a spare storage area is executed in Step S 6 . After re-writing the data, the remaining size in capacity of the spare storage area is calculated in Step S 7 . The remaining size is then compared with a predetermined threshold value in Step S 8 . When the remaining size is smaller than the predetermined value (YES in Step S 8 ), a warning is generated by the warning generator ( 21 ) provided in the semiconductor card in Step S 9 .
  • the spare storage area is used in sector or block units for transferring the data, and then the remaining size of the spare storage area is examined.
  • the warning generator in the semiconductor card generates a warning signal. This allows the user of the semiconductor card to be timely informed that the life of the flash memory is close to its limit.
  • This embodiment describes an operation of writing data into a flash memory in the semiconductor card in response to a data write command sent from the external system 11 and carrying out a counter-action when a write error on the flash memory occurs or when the card controller detects a generation of a write error, which will be described below referring to FIGS. 1 and 2.
  • the card controller 13 When the power supply circuit 16 is turned on, the card controller 13 acknowledges a message of the command supplied from the external system 11 and starts various controlling actions for execution of the command.
  • the writing of data into the flash memories 14 is implemented through data transfer using the buffer portion 18 which serves as an intermediate provided in the card controller 13 .
  • the card controller 13 accepts the command for writing the data when the subject data is determined to be writable by judging the address of the data. While the data to be written sent from the system 11 is received and saved in the buffer portion 18 , a logic-to-physic conversion table 31 a is retrieved from a management area 31 in the flash memory 14 as shown in FIG. 3. Then, a logic address in the flash memory 14 to which the data is written is confirmed based on the logic address data contained in the command issued by the system 11 .
  • the management area 31 is a specific storage area where the external system 11 is not allowed to read/write data from/to the management storage area.
  • the management area holds various control data such as firm wares and conversion tables required for controlling the internal actions of the semiconductor card 12 .
  • the conversion tables include not only a logic-to-physic conversion table 31 a but also a spare storage area management table 31 b for managing the start address and end address of the spare storage area, as shown in FIG. 3.
  • the power supply circuit 16 is turned on, the data in the management area of the flash memory 14 is downloaded to a RAM region in the card controller 13 . The contents of the downloaded data may be rewritten or overwritten to the flash memories 14 and may be updated when necessary.
  • the action of data writing into the flash memory 14 is executed (see S 3 in FIG. 2).
  • the writing of the data into the flash memory 14 is performed by execution of the data write command, and the data writing operation per se is left to the flash memory 14 .
  • the card controller 13 judges that an error occurs in the flash memory 14 such as time over of the writing action during the writing of the data into the flash memory 14 , the start address of the spare storage area is obtained from the spare storage area management table 31 b of the management area 31 . Then the data saved in the buffer portion 18 is re-written to the obtained address of the spare storage area (see S 6 in FIG. 2).
  • both the logic-to-physic conversion table and the spare storage area management table in the management area 31 are updated.
  • the remaining size of the spare storage area is calculated to be examined (see S 7 in FIG. 2 ).
  • the card controller 13 instructs the LED controller 20 to emit the light warning generator LED 21 for notifying the user of a warning.
  • the data to be written in the flash memory 14 is received from the external system 11
  • the data may be derived from the management area without transferring data from the system 11 .
  • a warning can be raised when the remaining size of the spare storage area is judged smaller than the predetermined value after the management data is written into the spare storage area.
  • the remaining size of the spare storage area is examined after the data is written into the spare storage area, and when the remaining size is smaller than the predetermined value, the LED controller 20 and the LED 21 in the semiconductor card 12 are actuated to generate a warning signal of illumination, thus allowing the user of the semiconductor card 12 to be timely notified of the warning.
  • the warning signal is implemented by illumination of the LED 21 driven by the LED controller 20 in this embodiment, the LED illumination of the warning signal may be replaced by a sound generation through combination of a loudspeaker 42 and a sound controller 41 as shown in FIG. 4.
  • the process shown by the step S 7 in FIG. 2 of examining the remaining size of the spare storage area is implemented by a relevant command in the warning generating procedure where the relevant command, if needed, is sent from the external system 11 .
  • Step S 9 in FIG. 2 of generating a warning signal is implemented by reading a specific bit flagged in a register 43 which is provided in the card controller 13 and accessible from the external system 11 . Then, the warning signal is given to the external system 11 and the user.
  • FIG. 5 is a block diagram showing an arrangement of this embodiment. The operation of this embodiment will be described referring to FIG. 5.
  • the remaining size is calculated by reading the spare storage area management table 31 b of the management area 31 which manages the start and end addresses of the spare storage area (see S 7 in FIG. 2).
  • a specific bit is flagged in the register 43 which is accessible from the external system 11 .
  • the flagged specific bit is then read by the external system 11 so that the system 11 in turn is notified of the warning.
  • FIG. 6 A modification of this embodiment is shown in FIG. 6 where a warning indication signal is transmitted from the card controller 13 to the external system 11 instead of providing the register 43 .
  • the warning indication signal is turned to a high (H) level
  • the external system 11 acknowledges that the warning is sent from the semiconductor card 12 .
  • the warning it is determined whether or not the warning is raised only when a relevant check command is issued by the external system 11 .
  • the warning can be effectively given to the external system 11 .
  • the step of examining the remaining size of the spare storage area is implemented by means of a switch 71 provided outside the semiconductor card 12 so that a warning signal can be raised when needed.
  • FIG. 7 is a block diagram showing an arrangement of this embodiment.
  • the semiconductor card 12 includes a switch controller 72 for controlling the external switch 71 and a built-in battery 73 for independent power supply.
  • the life of the semiconductor card can be examined independently of the action of the external system 11 , and thus no load is given to the system 11 during the check of the life of the semiconductor card. Also, even in the case where the external system 11 feeds no power voltage to the semiconductor card 12 in a non-access mode, the semiconductor card 12 can be energized by the built-in battery 73 for conducting process for generating the warning.
  • a semiconductor storage device (or flash storage device) is equipped with a flash memory portion for replacing error sectors in rewriting by spare sectors.
  • the semiconductor storage device employs a specific command for examining the remaining number of spare sectors in order to notify a host computer or a like external equipment of the fact that the spare sectors provided for replacing the error sectors are reduced in remaining of the storage area.
  • FIG. 9 is a block diagram showing a fundamental construction for implementing internal functions of the semiconductor storage device according to Embodiment 5 of the present invention.
  • the semiconductor storage device of this embodiment includes 256 Mb AND type flash memories as a storage flash memories and an ATA interface (I/F).
  • the semiconductor storage device 91 comprises a flash ATA controller 92 , AND type flash memories 93 , and an oscillator 94 and can be operated while being linked with a host equipment 95 .
  • the flash ATA controller 92 comprises a CPU 921 , a ROM 922 where command codes for the CPU 921 are stored, a RAM 923 used as an operating area, a host I/F circuit 924 for providing an interface (I/F) with the host equipment 95 , a sequencer 925 for controlling internal data transfer and timing of actions responsive to the commands from the CPU 921 , a sector buffer 927 , a flash I/F circuit 928 , and an oscillator circuit 929 .
  • the sequencer 925 includes an error correction coding/decoding (ECC) circuit 926 .
  • the oscillator circuit 929 is connected to the oscillator 94 to generate clock signals for timing of the operations of the CPU 921 and the sequencer 925 .
  • the semiconductor storage device 91 operates based on an ATA specified protocol which is widely used as an I/F protocol for an external storage device of personal computers.
  • FIG. 10 illustrates a sector construction of the 256 Mb AND type flash memory (M5M29F25611VP) employed in this embodiment.
  • the AND type flash memory is comprised of 16384 physical sectors, each having a size of (2048+64) bytes. Through specifying a sector address and column address, the read/write/delete operation for each sector can be conducted.
  • a mostly good memory (MGM) is used as an example of the AND type flash memory where primary defects in sectors are tolerable at most 2% of the entire sectors.
  • MGM mostly good memory
  • Each sector can be judged for availability by reading good-quality codes saved in a column address range extending from 820H to 825H.
  • FIG. 11 illustrates an example of the judgement conditions indicating whether each sector is in a good or error (not-good) state in the 256 Mb AND type flash memories which are denoted by “Chips 1 to n” provided in the semiconductor storage device.
  • Each of the flash memories (Chips 1 to n) has segmented sector groups of a management area, user area and spare storage area.
  • the management area comprises the starting several sectors where the logic-to-physic conversion table is stored indicative of a distribution of good sectors in each flash memory.
  • the user area stores user data to be written and read.
  • the spare storage area is used as the spare sectors which are provide for replacement of error sectors produced during the re-writing of user sectors.
  • each flash memory the start addresses of the user area and spare storage area are stored in the management area.
  • each sector stores a flag data indicating the attribute of the sector at a position defined by the control bytes of the sector as shown in FIG. 10. The flag data is read out and examined by the CPU 921 to determine whether the sector belongs to the management area, user data area or spare storage area.
  • an ATA specified non-data transfer command protocol is employed to implement the function of counting the remaining number of good sectors available as the spare sectors in the spare storage area. More specifically, when receiving a command for counting the remaining number of spare sectors (or command for counting sectors for replacement), the CPU 921 starts counting the number of available spare sectors in each flash memory.
  • FIG. 12 illustrates parameters of each register before and after execution of the command for counting replace sectors and their description.
  • the execution of the command for counting the remaining number of spare sectors involves the steps of setting the drive number (DRV) of a relevant drive (device) to a Drive bit in a Drive/Head Register and thereafter writing a command code (F0h) into the Command Register.
  • DDV drive number
  • F0h command code
  • the drive (device) sets a busy bit (BST) in the Status Register.
  • the CPU 921 counts the number of good sectors in the spare storage area in each flash memory, obtaining the minimum value of the count numbers in the flash memories as the remaining number of spare sectors (RepSecCount) set to the Sector Count Register, and clearing the busy bit (BSY) to zero and generating an interruption.
  • the same number thereof may be set in a hexadecimal notation to the Sector Count Register and the host equipment can thus acknowledge the number of the remaining spare sectors of the drive.
  • the host equipment can monitor the number of spare sectors in each drive by periodically implementing the above commend. Accordingly, the host equipment can acknowledge the time for replacing the drive with a new one, so that generation of a write error derived from the exhaustion of the spare sectors can be effectively avoided in the drive.
  • FIG. 13 illustrates measurements in each register before and after implementing Check Replace Condition command for examining the conditions of spare sectors.
  • the drive in response to a request from the host equipment after implementing Check Replace Condition command, expresses the spare sector consumption condition, for example, in three levels; 00h, 0Fh, and FFh according to the remaining number of the spare sectors, instead of setting the remaining number of spare sectors (RepCode) directly to the Sector Count Register.
  • the remaining numbers of spare sectors in the flash memories are calculated and the minimum value thereof is obtained.
  • the minimum value is then examined whether or not it is smaller than the predetermined value.
  • a result of the examination is transferred back to the host equipment as a reply indicative of the spare sector consumption condition of the semiconductor storage device. For example, when the spare sectors remain 50% or more of their original number, 00h is set as the RepCode to the Sector Count Register. When smaller than 50% but not smaller than 10%, 0Fh is set, and when smaller than 10%, FFh is set.
  • the semiconductor card equipped with the flash memories of the present invention can check the remaining size of spare storage area to acknowledge that the life of each flash memory comes close to its limit before the flash memory is completely used up, thus preventing any malfunction derived from the end of the life and improving the operational reliability.
  • the semiconductor storage device of the present invention employs the command for examining the consumption of spare sectors (blocks) and when receiving the command from the host equipment, notifies the host equipment of the consumption of the spare sectors so that the host equipment can acknowledge the fact that the remaining number of spare sectors comes close to its end. Accordingly, the host equipment can readily be advised the time of replacement of the device with a new one before the device generates a misconduct such as an error action in the system.

Abstract

A semiconductor storage device is equipped with flash memories each flash memory has a limited size of spare storage area for rewriting data when a write error occurs, and the storage device calculates the remaining size of the spare storage area after the completion of the re-writing, and examines whether or not the remaining size is smaller than a predetermined value, and generates a warning when the remaining size is smaller than the predetermined value, to thereby acknowledge that the life of each flash memory comes close to the end before completely used up.

Description

    BACKGROUND OF THE INVENTION
  • 1. Field of the Invention [0001]
  • The present invention relates to a semiconductor storage device such as a semiconductor card, equipped with flash memories of which the number of rewriting actions is limited, and particularly to a semiconductor storage device having spare sectors for replacing error sectors in rewriting data and arranged to give a warning when the number of rewriting actions is close to its limit. [0002]
  • 2. Description of the Prior Art [0003]
  • Recently, as semiconductor storage devices such as semiconductor cards using flash memories have been increased in storage capacity scale, they are now used as data storage devices in mobile terminals such as portable information apparatuses (PDAs) or factory automation system (referred to as “FA”, hereinafter). In particular, FA system requires a higher level of environmental durability and commonly employs a hard disk drive. Recently, many FA systems utilize semiconductor cards which have much higher environmental durability. [0004]
  • For example, a flash ATAPC card, compact flash (registered trademark) card and flash drive are used as the semiconductor storage device for a substitute for a hard disk drive in various applications. These examples include nonvolatile or flash memories built therein, each memory having a floating gate structure of memory cells and capable of writing and reading data with protocols compatible with a hard disk drive. [0005]
  • A flash memory has a floating gate structure where the number of rewriting actions is limited. It is hence schemed for increasing the operating life of the flash memory to prepare and use spare sectors (blocks) for replacing error sectors (blocks) of which the number of rewriting actions is exhausted. Accordingly, as each flash memory is increased in the number of rewriting actions more than that of rewritable actions per sector (block), it can favorably be used in a semiconductor storage device. [0006]
  • However, when all the spare sectors (blocks) are used up and another error sector (block) is generated in the rewriting, the semiconductor storage device fails to replace the error sector (block) with a spare one and will thus be defective due to causing a rewriting error. [0007]
  • Such a conventional semiconductor storage device having a flash memory includes no means for notifying a host apparatus of the exhaustion condition of the spare sectors (blocks). This results in that the operating life of the conventional semiconductor storage device is identified only at the time when a rewriting error suddenly occurs during a continuous operation. [0008]
  • FIG. 8 is a block diagram showing a conventional semiconductor card as a semiconductor storage device equipped with flash memories. As shown in the figure, the [0009] semiconductor card 82 comprises a card controller 83, flash memories 84, and a power supply circuit 86. The card controller 83 includes a CPU 85, a buffer portion 88, and an error correction coding circuit 89 (referred to as “ECC circuit”, hereinafter). The card controller 83 is linked with an oscillator 87. The card controller 83 executes data transmission to and from an external system 81 of various data signals including I/O signals, address signals, and control signals.
  • The operation of the conventional semiconductor card will now be explained in brief. When acknowledging a message of a command received from the [0010] external system 81, the card controller 83 starts control actions for implementation of the command. The control actions of the card controller 83 are basically programmed and executed by the CPU 85 provided in the card controller 83. The read and write actions on the flash memories 84 are based on data transfer via the buffer portion 88 built in the card controller 83.
  • Generally, as each flash memory has a limited life in rewriting defective sectors, the semiconductor card prepares spare storage areas for prolonging the life of rewriting actions. The spare storage areas of the semiconductor card have specific rewritable size at each replacement action and entire replacement storage size, which are individually determined and managed depending on the type of equipped flash memories and the controlling method. [0011]
  • The conventional semiconductor card is designed to notify the [0012] external system 81 of the occurrence of error only when the spare storage areas have been used up and a counteraction is needed, but not give an early warning to the system 81 before the spare storage areas are exhausted. In other words, exhaustion of the spare storage areas is not known before the occurrence of error is notified. Therefore, the degree of the used spare storage areas is hardly examined, which results in that the rewriting action may exceed the rewritable limit without precaution. This disables the function of the flash memories and causes the semiconductor card to have an erratic action.
  • When the conventional flash memory provided in the semiconductor card is used in an FA system, the end of the rewriting life of the flash memories may suddenly cause an error, which hence results in functional faults of the system such as a sudden stop of the system line. It is thus urgently necessary to provide a method of warning that the life of the semiconductor card in storage capacity thereof comes close to its end or limit. [0013]
  • SUMMARY OF THE INVENTION
  • The present invention has been developed for eliminating the foregoing drawbacks and its object is to provide a system and a method of generating a warning signal in a semiconductor card equipped with a set of flash memories which is arranged for examining a remaining size of a spare storage area in rewriting actions to judge that w the life of each flash memory c o m e s close to its end before the flash memory is completely used up, thus preventing any malfunction derived from careless use after the end of the life. [0014]
  • It is another object of the present invention to provide a semiconductor storage device having flash memories capable of rewriting data in sector (block) units, employing a command for examining consumption of spare sectors (blocks) and the storage device is arranged for, when receiving the command from an external system such as a host apparatus, notifying the host apparatus of the consumption of spare sectors (blocks) that the number of spare sectors (blocks) comes close to its end. Namely, the time for replacement of the semiconductor device with a new device is notified before any fault resulting in malfunction occurs in the system. [0015]
  • For achievement of the above objects, a first aspect of the present invention provides a semiconductor storage device equipped with flash memories each having a limited size of a spare storage area, which comprises: an error decision unit for judging whether or not an error occurs during writing of data; a replacing unit for rewriting data to the spare storage area when the error decision unit judges that an error occurs; a spare area size calculating unit for calculating a remaining size of the spare storage area after the data has been re-written to the spare storage area; a spare area checking unit for comparing the remaining size of the spare storage area with a predetermined value; and a warning generator for generating a warning when the remaining size of the spare storage area is smaller than the predetermined value. [0016]
  • In this arrangement, the replacing unit may acquire a start address of the spare storage area from a spare storage area management table which is saved in a management area of each flash memory to thereby rewrite the data to the spare storage area of the acquired address, and after the completion of the data rewriting, the replacing unit updates the spare storage area management table and a logic-to-physic conversion table saved in the management area. [0017]
  • A second aspect of the present invention provides a warning generating system of a semiconductor storage device exchanging commands and data with an external system, the semiconductor storage device being equipped with flash memories each having a limited size of a spare storage area, where the system comprises: an error decision unit for judging whether or not an error occurs during writing of data; a replacing unit for rewriting data to the spare storage area when the error decision unit judges that an error occurs; a spare area size calculating unit for calculating a remaining size of the spare storage area after the data has been re-written to the spare storage area; a spare area checking unit for comparing the remaining size of the spare storage area with a predetermined value; and a warning generator for generating a warning when the remaining size of the spare storage area is smaller than the predetermined value. [0018]
  • A third aspect of the present invention provides a warning generating method of a semiconductor storage device equipped with flash memories each having a limited size of a spare storage area, where the method comprising the steps of: judging whether or not an error occurs during writing of data; rewriting data to the spare storage area when it is judged that an error occurs; calculating a remaining size of the spare storage area after the data has been rewritten to the spare storage area; comparing the remaining size of the spare storage area with a predetermined value; and generating a warning when the remaining size of the spare storage area is smaller than the predetermined value. [0019]
  • By the arrangements set forth in the first to third aspects of the present invention, when an error occurs during the writing of the data on the flash memory in the semiconductor storage device, after the data is rewritten to the spare storage area, the remaining size of the spare storage area is examined, and when the remaining size is smaller than the predetermined value, a warning is generated from a warning generating unit. As a result, the user of the semiconductor storage device such as a semiconductor card can timely be notified of the fact that the life of the device comes close to its end. [0020]
  • The spare area size calculating unit may calculate the remaining size of the spare storage area in response to a check command for checking the remaining size of the spare storage area which is issued by an external system. Thus, it is decided whether or not a warning be raised only when the external system requests for the examination of the remaining size, and accordingly, the warning can effectively given to a user. [0021]
  • The semiconductor storage device may further comprise a register for flagging a specific bit indicative of the warning when it is judged that the remaining size of the spare storage area is smaller than the predetermined value. [0022]
  • Moreover, it may be further modified such that a warning indication signal is provided for transmission to an external system and when the spare area checking unit judges that the remaining size of the spare storage area is smaller than the predetermined value, the warning indication signal is changed in level to notify the external system of the warning. [0023]
  • By this arrangement, it is decided whether or not a warning be raised only when the external system requests for the examination of the remaining size, and accordingly, the warning can effectively be notified to the system. [0024]
  • The semiconductor storage device may further comprise an external switch wherein the spare area size calculating unit executes the calculation of the remaining size of the spare storage area when the external switch is turned on. As a result, the semiconductor storage device such as a semiconductor card can check the end of its life independently of the external system without giving any load to the external system. [0025]
  • A fourth aspect of the present invention provides a semiconductor storage device equipped with flash memories each having a limited number of rewriting operations to be subjected and each flash memory being provided with a spare storage area for replacing a defective portion caused in a data writing operation, where the semiconductor storage device comprises: an error decision unit for judging whether or not an error occurs in a defective portion during a data writing operation; a replacing unit for replacing the defective portion by the spare storage area to write the data when the error decision unit judges that an error occurs; a command receiving unit for receiving a remaining number examination command from an external equipment requesting an examination of a remaining size of the spare storage area; a remaining spare size calculating unit for calculating a remaining size in number of the spare storage area in response to the remaining number examination command after the data has been written to the spare storage area; and a spare area checking unit for comparing the calculated remaining size of the spare storage area with a predetermined value. [0026]
  • This allows the remaining number of the spare sectors to be monitored. The time for replacement with a new device can thus be acknowledged before any write error occurs due to the exhaustion of the spare sectors. [0027]
  • In this fourth aspect, entry and response procedure of the remaining number examination command may be based on a non-data transfer command protocol. [0028]
  • Moreover, it mabe modified such that, in response to the remaining number examination command, the remaining spare size calculating unit obtains the minimum of count numbers of good sectors existing in the spare storage areas of the entire flash memories and determines the minimum as the remaining number of the spare sectors of the semiconductor storage device and when the remaining number of the spare sectors is smaller than the predetermined value, the remaining number of the spare sectors is notified to the external equipment. Thus, the external host equipment can readily be notified of the remaining number of the spare sectors of the semiconductor storage device. [0029]
  • Moreover, it may further be modified in which in response to the remaining number examination command, a particular code indicative of a consumption condition of the spare sectors is delivered. This allows the external host to readily judge whether or not the semiconductor storage device needs to be replaced with a new one through merely checking the returned value of each sector count register after the execution of the command.[0030]
  • BRIEF DESCRIPTION OF THE DRAWINGS
  • These and other objects and features of the present invention will be readily understood from the following detailed description taken in conjunction with preferred embodiments thereof with reference to the accompanying drawings, in which: [0031]
  • FIG. 1 is a block diagram showing an arrangement of a warning generating system of a semiconductor card according to the present invention; [0032]
  • FIG. 2 is a flowchart showing an operation of the semiconductor card according to the present invention; [0033]
  • FIG. 3 is a schematic model view showing a structure of a management area in the semiconductor card according to the present invention; [0034]
  • FIG. 4 is a block diagram showing another arrangement of a warning generating system of the semiconductor card according to the present invention; [0035]
  • FIG. 5 is a block diagram showing a further arrangement of a warning generating system of the semiconductor card according to the present invention; [0036]
  • FIG. 6 is a block diagram showing a still further arrangement of a warning generating system of the semiconductor card according to the present invention; [0037]
  • FIG. 7 is a block diagram showing a still further arrangement of a warning generating system of the semiconductor card according to the present invention; [0038]
  • FIG. 8 is a block diagram showing a construction of a conventional semiconductor card; [0039]
  • FIG. 9 is a block diagram showing an arrangement of a semiconductor storage device according to the present invention; [0040]
  • FIG. 10 is a schematic model view showing a sector arrangement of an AND type flash memory used in the semiconductor storage device according to the present invention; [0041]
  • FIG. 11 is a schematic model view showing sector conditions in an AND type flash memory used in the semiconductor storage device according to the present invention; [0042]
  • FIG. 12 is a diagram showing parameters of each register before and after execution of a count replace sector command and description thereof; and [0043]
  • FIG. 13 is a diagram showing parameters of each register before and after execution of a check replace condition command.[0044]
  • DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
  • Preferred embodiments of the present invention will be described referring to the accompanying drawings. It is noted that, throughout the drawings, like components are denoted by like numerals and their explanation will not be repeated. [0045]
  • FIG. 1 is a block diagram of a basic arrangement of a data writing and reading system using a semiconductor card as a semiconductor storage device according to the present invention. As shown in the figure, the [0046] semiconductor card 12 comprises a card controller 13, flash memories 14, and a power supply circuit 16. The card controller 13 includes a microprocessor (referred to as “CPU”) 15, a buffer portion 18, and an error correction coding circuit (ECC) 19. The card controller 13 is connected with an oscillator 17. The card controller 13 exchanges with an external system 11 various data signals including I/O signals, address signals, and control signals. The semiconductor card 12 also includes a warning generator (LED) 21 which is controlled by an LED controller 20 for generating a warning or alarm signal.
  • The operation of the [0047] card controller 13 is fundamentally controlled by commands from the CPU 15 built in the card controller 13. The operation of writing and reading of data with respect to the flash memories 14 is carried out through data transfer using the buffer portion 18 built in the card controller 13. The buffer portion 18 includes a plurality of buffers having different sizes corresponding to types of data read out of the flash memories such as management data internally needed by the memory card and external data from the system.
  • FIG. 2 is a flowchart showing a procedure of generating a warning in a data writing operation of the semiconductor card according to the present invention. As shown in the figure, when a command for data writing is issued from the [0048] external system 11 and is received by the buffer 18 for writing data into a flash memory in the semiconductor card in Step S1, the address of the subject data in the flash memory is obtained in Step S2 and the writing operation of the data is commenced in Step S3. It is then examined in Step S4 whether or not an error (or a fault) occurs during the writing operation. When no error (or fault) is detected, the writing operation is successfully carried out in Step S5.
  • If any error (fault) is detected, a re-writing operation of the data into a spare storage area is executed in Step S[0049] 6. After re-writing the data, the remaining size in capacity of the spare storage area is calculated in Step S7. The remaining size is then compared with a predetermined threshold value in Step S8. When the remaining size is smaller than the predetermined value (YES in Step S8), a warning is generated by the warning generator (21) provided in the semiconductor card in Step S9.
  • Accordingly, when an error occurs during the writing of data with respect to the flash memory in the semiconductor card, the spare storage area is used in sector or block units for transferring the data, and then the remaining size of the spare storage area is examined. When the remaining size is smaller than the predetermined value, the warning generator in the semiconductor card generates a warning signal. This allows the user of the semiconductor card to be timely informed that the life of the flash memory is close to its limit. [0050]
  • [0051] Embodiment 1
  • This embodiment describes an operation of writing data into a flash memory in the semiconductor card in response to a data write command sent from the [0052] external system 11 and carrying out a counter-action when a write error on the flash memory occurs or when the card controller detects a generation of a write error, which will be described below referring to FIGS. 1 and 2.
  • When the [0053] power supply circuit 16 is turned on, the card controller 13 acknowledges a message of the command supplied from the external system 11 and starts various controlling actions for execution of the command. The writing of data into the flash memories 14 is implemented through data transfer using the buffer portion 18 which serves as an intermediate provided in the card controller 13.
  • An example of a procedure including processes of generating an error and giving a warning will now be explained in the case where the warning is generated when the [0054] external system 11 requests an action of data writing. In response to a command for data writing sent from the external system 11, the card controller 13 accepts the command for writing the data when the subject data is determined to be writable by judging the address of the data. While the data to be written sent from the system 11 is received and saved in the buffer portion 18, a logic-to-physic conversion table 31 a is retrieved from a management area 31 in the flash memory 14 as shown in FIG. 3. Then, a logic address in the flash memory 14 to which the data is written is confirmed based on the logic address data contained in the command issued by the system 11.
  • The [0055] management area 31 is a specific storage area where the external system 11 is not allowed to read/write data from/to the management storage area. The management area holds various control data such as firm wares and conversion tables required for controlling the internal actions of the semiconductor card 12. The conversion tables include not only a logic-to-physic conversion table 31 a but also a spare storage area management table 31 b for managing the start address and end address of the spare storage area, as shown in FIG. 3. When the power supply circuit 16 is turned on, the data in the management area of the flash memory 14 is downloaded to a RAM region in the card controller 13. The contents of the downloaded data may be rewritten or overwritten to the flash memories 14 and may be updated when necessary.
  • When the [0056] buffer portion 18 has completely received the data sent from the external system 11, the action of data writing into the flash memory 14 is executed (see S3 in FIG. 2). The writing of the data into the flash memory 14 is performed by execution of the data write command, and the data writing operation per se is left to the flash memory 14.
  • When the [0057] card controller 13 judges that an error occurs in the flash memory 14 such as time over of the writing action during the writing of the data into the flash memory 14, the start address of the spare storage area is obtained from the spare storage area management table 31 b of the management area 31. Then the data saved in the buffer portion 18 is re-written to the obtained address of the spare storage area (see S6 in FIG. 2).
  • When the re-writing of the data into the spare storage area has been correctly finished, both the logic-to-physic conversion table and the spare storage area management table in the [0058] management area 31 are updated. After updating the tables, the remaining size of the spare storage area is calculated to be examined (see S7 in FIG. 2). When the remaining size is smaller than the predetermined value (YES in Step S8), the card controller 13 instructs the LED controller 20 to emit the light warning generator LED 21 for notifying the user of a warning.
  • Although the explanation is made in the case where the data to be written in the [0059] flash memory 14 is received from the external system 11, the data may be derived from the management area without transferring data from the system 11. In such a case, a warning can be raised when the remaining size of the spare storage area is judged smaller than the predetermined value after the management data is written into the spare storage area.
  • In this embodiment, when an error occurs during the writing of the data into the [0060] flash memories 14 in the semiconductor card, the remaining size of the spare storage area is examined after the data is written into the spare storage area, and when the remaining size is smaller than the predetermined value, the LED controller 20 and the LED 21 in the semiconductor card 12 are actuated to generate a warning signal of illumination, thus allowing the user of the semiconductor card 12 to be timely notified of the warning.
  • Although the warning signal is implemented by illumination of the [0061] LED 21 driven by the LED controller 20 in this embodiment, the LED illumination of the warning signal may be replaced by a sound generation through combination of a loudspeaker 42 and a sound controller 41 as shown in FIG. 4.
  • [0062] Embodiment 2
  • In this embodiment, the process shown by the step S[0063] 7 in FIG. 2 of examining the remaining size of the spare storage area is implemented by a relevant command in the warning generating procedure where the relevant command, if needed, is sent from the external system 11.
  • The procedure of generating a warning signal is explained by steps as below. When a check command is issued by the [0064] external system 11 for examining the remaining size of the spare storage area, the card controller 13 calculates the remaining size by examining the spare storage area management table 31 b of the management area 31 which manages the start and end addresses of the spare storage area (see S7 in FIG. 2). When it is judged that the remaining size is small enough to generate a warning or alarm signal (see S8 in FIG. 2), the LED 21 or the loudspeaker 42 is actuated to give the warning or alarm signal to the user.
  • In this embodiment, it is determined whether or not a warning signal is raised only when a check command for examining the remaining size of the spare storage area is received from the [0065] external system 11. Thus, the user is allowed to be effectively notified of the warning. Details of the check command for examining the remaining size of the spare storage area will be explained later in Embodiments 5 and 6, referring to FIGS. 12 and 13.
  • [0066] Embodiment 3
  • In this embodiment, the process shown in Step S[0067] 9 in FIG. 2 of generating a warning signal is implemented by reading a specific bit flagged in a register 43 which is provided in the card controller 13 and accessible from the external system 11. Then, the warning signal is given to the external system 11 and the user.
  • FIG. 5 is a block diagram showing an arrangement of this embodiment. The operation of this embodiment will be described referring to FIG. 5. When a check command is sent from the [0068] external system 11 for examining the remaining size of the spare storage area, the remaining size is calculated by reading the spare storage area management table 31 b of the management area 31 which manages the start and end addresses of the spare storage area (see S7 in FIG. 2). When the remaining size is small enough to raise a warning signal (see S8 in FIG. 2), a specific bit is flagged in the register 43 which is accessible from the external system 11. The flagged specific bit is then read by the external system 11 so that the system 11 in turn is notified of the warning.
  • A modification of this embodiment is shown in FIG. 6 where a warning indication signal is transmitted from the [0069] card controller 13 to the external system 11 instead of providing the register 43. For example, when the warning indication signal is turned to a high (H) level, the external system 11 acknowledges that the warning is sent from the semiconductor card 12.
  • In this embodiment, it is determined whether or not the warning is raised only when a relevant check command is issued by the [0070] external system 11. Thus, the warning can be effectively given to the external system 11.
  • [0071] Embodiment 4
  • In this embodiment, the step of examining the remaining size of the spare storage area is implemented by means of a [0072] switch 71 provided outside the semiconductor card 12 so that a warning signal can be raised when needed.
  • FIG. 7 is a block diagram showing an arrangement of this embodiment. As shown in the figure, the [0073] semiconductor card 12 includes a switch controller 72 for controlling the external switch 71 and a built-in battery 73 for independent power supply.
  • The operation of this embodiment will be described by steps, concentrating to the procedure of raising a warning or alarm. When the [0074] switch 71 is turned on, the remaining size of the spare storage area is calculated by reading the spare storage area management table 31 b of the management area 31 which manages the start and end addresses of the spare storage area (see S7 in FIG. 2). When the remaining size is small enough to generate a warning signal (see S8 in FIG. 2), the LED 21 or the loudspeaker 42 is actuated to raise a warning or alarm.
  • In this embodiment, the life of the semiconductor card can be examined independently of the action of the [0075] external system 11, and thus no load is given to the system 11 during the check of the life of the semiconductor card. Also, even in the case where the external system 11 feeds no power voltage to the semiconductor card 12 in a non-access mode, the semiconductor card 12 can be energized by the built-in battery 73 for conducting process for generating the warning.
  • [0076] Embodiment 5
  • This embodiment will be described below with reference to FIGS. [0077] 9 to 12. In this embodiment, a semiconductor storage device (or flash storage device) is equipped with a flash memory portion for replacing error sectors in rewriting by spare sectors. The semiconductor storage device employs a specific command for examining the remaining number of spare sectors in order to notify a host computer or a like external equipment of the fact that the spare sectors provided for replacing the error sectors are reduced in remaining of the storage area.
  • FIG. 9 is a block diagram showing a fundamental construction for implementing internal functions of the semiconductor storage device according to [0078] Embodiment 5 of the present invention. The semiconductor storage device of this embodiment includes 256 Mb AND type flash memories as a storage flash memories and an ATA interface (I/F).
  • As shown in FIG. 9, the [0079] semiconductor storage device 91 comprises a flash ATA controller 92, AND type flash memories 93, and an oscillator 94 and can be operated while being linked with a host equipment 95. The flash ATA controller 92 comprises a CPU 921, a ROM 922 where command codes for the CPU 921 are stored, a RAM 923 used as an operating area, a host I/F circuit 924 for providing an interface (I/F) with the host equipment 95, a sequencer 925 for controlling internal data transfer and timing of actions responsive to the commands from the CPU 921, a sector buffer 927, a flash I/F circuit 928, and an oscillator circuit 929. The sequencer 925 includes an error correction coding/decoding (ECC) circuit 926. The oscillator circuit 929 is connected to the oscillator 94 to generate clock signals for timing of the operations of the CPU 921 and the sequencer 925.
  • In this embodiment, the [0080] semiconductor storage device 91 operates based on an ATA specified protocol which is widely used as an I/F protocol for an external storage device of personal computers.
  • FIG. 10 illustrates a sector construction of the 256 Mb AND type flash memory (M5M29F25611VP) employed in this embodiment. The AND type flash memory is comprised of 16384 physical sectors, each having a size of (2048+64) bytes. Through specifying a sector address and column address, the read/write/delete operation for each sector can be conducted. In this embodiment, a mostly good memory (MGM) is used as an example of the AND type flash memory where primary defects in sectors are tolerable at most 2% of the entire sectors. Each sector can be judged for availability by reading good-quality codes saved in a column address range extending from 820H to 825H. [0081]
  • FIG. 11 illustrates an example of the judgement conditions indicating whether each sector is in a good or error (not-good) state in the 256 Mb AND type flash memories which are denoted by “[0082] Chips 1 to n” provided in the semiconductor storage device. Each of the flash memories (Chips 1 to n) has segmented sector groups of a management area, user area and spare storage area. The management area comprises the starting several sectors where the logic-to-physic conversion table is stored indicative of a distribution of good sectors in each flash memory. The user area stores user data to be written and read. The spare storage area is used as the spare sectors which are provide for replacement of error sectors produced during the re-writing of user sectors.
  • In each flash memory, the start addresses of the user area and spare storage area are stored in the management area. In this arrangement, each sector stores a flag data indicating the attribute of the sector at a position defined by the control bytes of the sector as shown in FIG. 10. The flag data is read out and examined by the [0083] CPU 921 to determine whether the sector belongs to the management area, user data area or spare storage area.
  • In the semiconductor storage device of this embodiment, an ATA specified non-data transfer command protocol is employed to implement the function of counting the remaining number of good sectors available as the spare sectors in the spare storage area. More specifically, when receiving a command for counting the remaining number of spare sectors (or command for counting sectors for replacement), the [0084] CPU 921 starts counting the number of available spare sectors in each flash memory.
  • FIG. 12 illustrates parameters of each register before and after execution of the command for counting replace sectors and their description. The execution of the command for counting the remaining number of spare sectors involves the steps of setting the drive number (DRV) of a relevant drive (device) to a Drive bit in a Drive/Head Register and thereafter writing a command code (F0h) into the Command Register. [0085]
  • When the command is written to the Command Register, the drive (device) sets a busy bit (BST) in the Status Register. [0086]
  • Then, the [0087] CPU 921 counts the number of good sectors in the spare storage area in each flash memory, obtaining the minimum value of the count numbers in the flash memories as the remaining number of spare sectors (RepSecCount) set to the Sector Count Register, and clearing the busy bit (BSY) to zero and generating an interruption. When 255 or more of the spare sectors remain, the Sector Count Register is set with FFh (RepSecCount=FFh). Thus, the host equipment is allowed to judge that the drive holds a sufficient number of spare sectors.
  • If the number of the remaining spare sectors is smaller than 255, the same number thereof may be set in a hexadecimal notation to the Sector Count Register and the host equipment can thus acknowledge the number of the remaining spare sectors of the drive. [0088]
  • The host equipment can monitor the number of spare sectors in each drive by periodically implementing the above commend. Accordingly, the host equipment can acknowledge the time for replacing the drive with a new one, so that generation of a write error derived from the exhaustion of the spare sectors can be effectively avoided in the drive. [0089]
  • [0090] Embodiment 6
  • [0091] Embodiment 6 of the present invention will be described below with reference to FIG. 13. FIG. 13 illustrates measurements in each register before and after implementing Check Replace Condition command for examining the conditions of spare sectors. In this embodiment, as shown in FIG. 13, in response to a request from the host equipment after implementing Check Replace Condition command, the drive expresses the spare sector consumption condition, for example, in three levels; 00h, 0Fh, and FFh according to the remaining number of the spare sectors, instead of setting the remaining number of spare sectors (RepCode) directly to the Sector Count Register.
  • More particularly, when the count replace sector command is received, the remaining numbers of spare sectors in the flash memories are calculated and the minimum value thereof is obtained. The minimum value is then examined whether or not it is smaller than the predetermined value. A result of the examination is transferred back to the host equipment as a reply indicative of the spare sector consumption condition of the semiconductor storage device. For example, when the spare sectors remain 50% or more of their original number, 00h is set as the RepCode to the Sector Count Register. When smaller than 50% but not smaller than 10%, 0Fh is set, and when smaller than 10%, FFh is set. [0092]
  • This allows the host equipment to judge whether or not the drive is needed to be replaced with a new one through checking whether or not the set value in the Sector Count Register is FFh after implementing the count replace sector commend. [0093]
  • As set forth above, the semiconductor card equipped with the flash memories of the present invention can check the remaining size of spare storage area to acknowledge that the life of each flash memory comes close to its limit before the flash memory is completely used up, thus preventing any malfunction derived from the end of the life and improving the operational reliability. [0094]
  • The semiconductor storage device of the present invention employs the command for examining the consumption of spare sectors (blocks) and when receiving the command from the host equipment, notifies the host equipment of the consumption of the spare sectors so that the host equipment can acknowledge the fact that the remaining number of spare sectors comes close to its end. Accordingly, the host equipment can readily be advised the time of replacement of the device with a new one before the device generates a misconduct such as an error action in the system. [0095]
  • Although the present invention has been described in connection with the preferred embodiments thereof with reference to the accompanying drawings, it is to be noted that various changes and modifications will be apparent to those skilled in the art. Such changes and modifications are to be understood as included within the scope of the present invention as defined by the appended claims, unless they depart therefrom. [0096]

Claims (13)

What is claimed is:
1. A semiconductor storage device equipped with flash memories each having a limited size of a spare storage area, said semiconductor storage device comprising:
an error decision unit for judging whether or not an error occurs during writing of data;
a replacing unit for rewriting data to the spare storage area when said error decision unit judges that an error occurs;
a spare area size calculating unit for calculating a remaining size of the spare storage area after the data has been re-written to the spare storage area;
a spare area checking unit for comparing the remaining size of the spare storage area with a predetermined value; and
a warning generator for generating a warning when the remaining size of the spare storage area is smaller than the predetermined value.
2. The semiconductor storage device according to claim 1, wherein the replacing unit acquires a start address of the spare storage area from a spare storage area management table which is saved in a management area of each flash memory to thereby rewrite the data to the spare storage area of the acquired address, and after the completion of the data rewriting, the replacing unit updates the spare storage area management table and a logic-to-physic conversion table saved in the management area.
3. The semiconductor storage device according to claim 1, wherein the spare area size calculating unit calculates the remaining size of the spare storage area in response to a check command for checking the remaining size of the spare storage area which is issued by an external system.
4. The semiconductor storage device according to claim 1, further comprising a register for flagging a specific bit indicative of the warning when it is judged that the remaining size of the spare storage area is smaller than the predetermined value.
5. The semiconductor storage device according to claim 1, wherein a warning indication signal is provided for transmission to an external system and when the spare area checking unit judges that the remaining size of the spare storage area is smaller than the predetermined value, the warning indication signal is changed in level to notify the external system of the warning.
6. The semiconductor storage device according to claim 1 further comprising an external switch wherein the spare area size calculating unit executes the calculation of the remaining size of the spare storage area when the external switch is turned on.
7. A warning generating system of a semiconductor storage device exchanging commands and data with an external system, the semiconductor storage device being equipped with flash memories each having a limited size of a spare storage area, said system comprising:
an error decision unit for judging whether or not an error occurs during writing of data;
a replacing unit for rewriting data to the spare storage area when said error decision unit judges that an error occurs;
a spare area size calculating unit for calculating a remaining size of the spare storage area after the data has been re-written to the spare storage area;
a spare area checking unit for comparing the remaining size of the spare storage area with a predetermined value; and
a warning generator for generating a warning when the remaining size of the spare storage area is smaller than the predetermined value.
8. A warning generating method of a semiconductor storage device equipped with flash memories each having a limited size of a spare storage area, the method comprising:
judging whether or not an error occurs during writing of data;
rewriting data to the spare storage area when it is judged that an error occurs;
calculating a remaining size of the spare storage area after the data has been re-written to the spare storage area;
comparing the remaining size of the spare storage area with a predetermined value; and
generating a warning when the remaining size of the spare storage area is smaller than the predetermined value.
9. A semiconductor storage device equipped with flash memories each having a limited number of rewriting operations to be subjected and each flash memory being provided with a spare storage area for replacing a defective portion caused in writing data, said semiconductor storage device comprising:
an error decision unit for judging whether or not an error occurs in a defective portion during a data writing operation;
a replacing unit for replacing the defective portion by the spare storage area to write the data when the error decision unit judges that an error occurs;
a command receiving unit for receiving a remaining number examination command from an external equipment requesting an examination of a remaining size of the spare storage area;
a remaining spare size calculating unit for calculating a remaining size in number of the spare storage area in response to the remaining number examination command after the data has been written to the spare storage area; and
a spare area checking unit for comparing the calculated remaining size of the spare storage area with a predetermined value.
10. The semiconductor storage device according to claim 9, wherein each of the flash memories a sector arrangement in which data is rewritable in sector units and each flash memory includes a management area (31) for saving a logic-to-physic conversion table which indicates a distribution of good sectors of each flash memory, a user area for saving user data, and a spare storage area having spare sectors which replace defective sectors, and wherein the start addresses of the user area and the spare storage area are written in the management area, and wherein a flag data indicative of an attribute of each sector is saved in a specified byte position in each sector.
11. The semiconductor storage device according to claim 9, wherein entry and response procedure of the remaining number examination command is based on a non-data transfer command protocol.
12. The semiconductor storage device according to claim 9, wherein, in response to the remaining number examination command, the remaining spare size calculating unit obtains the minimum of count numbers of good sectors existing in the spare storage areas of the entire flash memories and determines the minimum as the remaining number of the spare sectors of the semiconductor storage device and when the remaining number of the spare sectors is smaller than the predetermined value, the remaining number of the spare sectors is notified to the external equipment.
13. The semiconductor storage device according to claim 9, wherein, in response to the remaining number examination command, a particular code indicative of a consumption condition of the spare sectors is delivered.
US10/096,486 2001-06-27 2002-03-13 Life warning generation system and method of semiconductor storage device equipped with flash memory Expired - Fee Related US6646931B2 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2001194927 2001-06-27
JP2001-194927 2001-06-27
JP2001310120A JP2003085054A (en) 2001-06-27 2001-10-05 Device life warning generation system for semiconductor storage device mounted with flash memory, and method for the same
JP2001-310120 2001-10-05

Publications (2)

Publication Number Publication Date
US20030002366A1 true US20030002366A1 (en) 2003-01-02
US6646931B2 US6646931B2 (en) 2003-11-11

Family

ID=26617664

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/096,486 Expired - Fee Related US6646931B2 (en) 2001-06-27 2002-03-13 Life warning generation system and method of semiconductor storage device equipped with flash memory

Country Status (2)

Country Link
US (1) US6646931B2 (en)
JP (1) JP2003085054A (en)

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1883931A2 (en) * 2005-04-29 2008-02-06 Freescale Semiconductor, Inc. Predictive methods and apparatus for non-volatile memory
US20080046649A1 (en) * 2006-08-17 2008-02-21 Takafumi Ito Method of controlling semiconductor memory card system
WO2007134133A3 (en) * 2006-05-15 2008-04-10 Sandisk Corp Non-volatile memory system with end of life calculation
EP2015311A1 (en) * 2006-11-06 2009-01-14 Hitachi Ltd. Semiconductor memory system for flash memory
US7523013B2 (en) 2006-05-15 2009-04-21 Sandisk Corporation Methods of end of life calculation for non-volatile memories
US20090287957A1 (en) * 2008-05-16 2009-11-19 Christoph Bilger Method for controlling a memory module and memory control unit
US7778077B2 (en) 2006-05-15 2010-08-17 Sandisk Corporation Non-volatile memory system with end of life calculation
US20100223510A1 (en) * 2006-01-20 2010-09-02 Panasonic Corporation Nonvolatile memory device, nonvolatile memory system, and defect management method for nonvolatile memory device
US20100241793A1 (en) * 2008-04-25 2010-09-23 Hitachi, Ltd. Storage system and method for controlling storage system
US20120221773A1 (en) * 2011-02-25 2012-08-30 Renesas Electronics Corporation Nonvolatile semiconductor memory device
US20130080688A1 (en) * 2011-09-22 2013-03-28 Samsung Electronics Co., Ltd. Data storage device and method of writing data in the same
EP1967946A3 (en) * 2007-03-08 2013-04-03 Samsung Electronics Co., Ltd. Method of converting a hybrid hard disk drive to a normal HDD
JP2014038593A (en) * 2012-06-22 2014-02-27 Huabang Electronic Co Ltd On-chip nand type flash memory and defective block management method therefor
US20140136757A1 (en) * 2012-11-09 2014-05-15 Sandisk Technologies Inc. NAND Flash Based Content Addressable Memory
US9075424B2 (en) 2013-03-06 2015-07-07 Sandisk Technologies Inc. Compensation scheme to improve the stability of the operational amplifiers
US20150380110A1 (en) * 2014-06-30 2015-12-31 Fujitsu Limited Storage control device and storage control method
US9324450B2 (en) 2013-03-13 2016-04-26 Winbond Electronics Corporation NAND flash memory
US9367392B2 (en) 2014-08-01 2016-06-14 Winbond Electronics Corporation NAND flash memory having internal ECC processing and method of operation thereof
US20160246524A1 (en) * 2015-02-24 2016-08-25 Canon Kabushiki Kaisha Data processing apparatus and data processing method for processing data in memory
US9442798B2 (en) 2014-07-31 2016-09-13 Winbond Electronics Corporation NAND flash memory having an enhanced buffer read capability and method of operation thereof
US20160350191A1 (en) * 2015-05-26 2016-12-01 Phison Electronics Corp. Memory management method, memory storage device and memory control circuit unit
CN110072031A (en) * 2018-01-24 2019-07-30 京瓷办公信息系统株式会社 Electronic equipment and recording medium
US11487276B2 (en) * 2020-03-03 2022-11-01 International Business Machines Corporation Salvaging outputs of tools
US11531320B2 (en) * 2019-05-15 2022-12-20 Fanuc Corporation Numerical controller including reduced memory service life calculation unit, numerical control system, and non-transitory computer readable recording medium

Families Citing this family (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1122281C (en) * 2001-06-30 2003-09-24 深圳市朗科科技有限公司 Multifunctional semiconductor storage device
US6865122B2 (en) * 2003-04-11 2005-03-08 Intel Corporation Reclaiming blocks in a block-alterable memory
DE10341616A1 (en) * 2003-09-10 2005-05-04 Hyperstone Ag Management of defective blocks in flash memory
KR100744122B1 (en) * 2006-01-12 2007-08-01 삼성전자주식회사 Control method of hybrid hard disk drive, recording medium and apparatus therefor
JP2007317078A (en) * 2006-05-29 2007-12-06 Matsushita Electric Ind Co Ltd Nonvolatile memory, memory controller, nonvolatile storage device, and nonvolatile storage system
JP4487978B2 (en) 2006-06-28 2010-06-23 セイコーエプソン株式会社 Semiconductor memory device management system, program, and semiconductor memory device management method
JP4956068B2 (en) * 2006-06-30 2012-06-20 株式会社東芝 Semiconductor memory device and control method thereof
US8205034B2 (en) 2006-08-09 2012-06-19 Hitachi Ulsi Systems Co., Ltd. Flash memory drive having data interface
JP5102299B2 (en) * 2006-09-28 2012-12-19 サンディスク テクノロジィース インコーポレイテッド Memory card end-of-life recovery and resizing
JP4697146B2 (en) * 2007-01-19 2011-06-08 Tdk株式会社 MEMORY CONTROLLER, FLASH MEMORY SYSTEM HAVING MEMORY CONTROLLER, AND FLASH MEMORY CONTROL METHOD
JP2008257773A (en) * 2007-04-02 2008-10-23 Toshiba Corp Nonvolatile semiconductor memory device, method for controlling the same, nonvolatile semiconductor memory system, and memory card
JP4743905B2 (en) * 2008-03-25 2011-08-10 Necインフロンティア株式会社 Flash memory storage life monitoring device
JP5306745B2 (en) * 2008-09-05 2013-10-02 ハギワラソリューションズ株式会社 Flash memory management method and flash memory device
US8266481B2 (en) * 2009-07-29 2012-09-11 Stec, Inc. System and method of wear-leveling in flash storage
US8453021B2 (en) 2009-07-29 2013-05-28 Stec, Inc. Wear leveling in solid-state device
JP5473623B2 (en) * 2010-01-15 2014-04-16 キヤノン株式会社 Data recording apparatus and control method thereof
JP5455689B2 (en) * 2010-02-03 2014-03-26 キヤノン株式会社 Recording apparatus and method
JP5406750B2 (en) * 2010-02-03 2014-02-05 キヤノン株式会社 Recording apparatus and control method thereof
JP5523128B2 (en) * 2010-02-03 2014-06-18 キヤノン株式会社 Recording apparatus and control method thereof
JP2011198409A (en) * 2010-03-19 2011-10-06 Toshiba Information Systems (Japan) Corp Nonvolatile memory
JP5508089B2 (en) * 2010-03-30 2014-05-28 キヤノン株式会社 Recording device
JP5661313B2 (en) * 2010-03-30 2015-01-28 キヤノン株式会社 Storage device
JP6007329B2 (en) * 2013-07-17 2016-10-12 株式会社日立製作所 Storage controller, storage device, storage system
JP6167067B2 (en) * 2014-05-19 2017-07-19 京セラドキュメントソリューションズ株式会社 Data storage device and image processing device
KR102291507B1 (en) 2014-05-20 2021-08-20 삼성전자주식회사 Operating method of memory controller
JP6213438B2 (en) * 2014-09-26 2017-10-18 京セラドキュメントソリューションズ株式会社 Image forming apparatus
CN110058794B (en) * 2018-01-19 2022-11-01 上海宝存信息科技有限公司 Data storage device for dynamically executing garbage recovery and operation method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0266797A (en) 1988-08-31 1990-03-06 Mita Ind Co Ltd Nonvolatile memory write processing method
JP2716906B2 (en) 1992-03-27 1998-02-18 株式会社東芝 Nonvolatile semiconductor memory device
JPH06332623A (en) * 1993-05-24 1994-12-02 Mitsubishi Electric Corp Array type recorder and recorder
US5864653A (en) * 1996-12-31 1999-01-26 Compaq Computer Corporation PCI hot spare capability for failed components
US6073209A (en) * 1997-03-31 2000-06-06 Ark Research Corporation Data storage controller providing multiple hosts with access to multiple storage subsystems
JPH11260071A (en) 1998-03-11 1999-09-24 Omron Corp Control apparatus

Cited By (39)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1883931A4 (en) * 2005-04-29 2009-09-30 Freescale Semiconductor Inc Predictive methods and apparatus for non-volatile memory
EP1883931A2 (en) * 2005-04-29 2008-02-06 Freescale Semiconductor, Inc. Predictive methods and apparatus for non-volatile memory
US7921340B2 (en) 2006-01-20 2011-04-05 Panasonic Corporation Nonvolatile memory device, nonvolatile memory system, and defect management method for nonvolatile memory device
US20100223510A1 (en) * 2006-01-20 2010-09-02 Panasonic Corporation Nonvolatile memory device, nonvolatile memory system, and defect management method for nonvolatile memory device
US7778077B2 (en) 2006-05-15 2010-08-17 Sandisk Corporation Non-volatile memory system with end of life calculation
US7523013B2 (en) 2006-05-15 2009-04-21 Sandisk Corporation Methods of end of life calculation for non-volatile memories
WO2007134133A3 (en) * 2006-05-15 2008-04-10 Sandisk Corp Non-volatile memory system with end of life calculation
US7979636B2 (en) * 2006-08-17 2011-07-12 Kabushiki Kaisha Toshiba Method of controlling semiconductor memory card system
US20110231609A1 (en) * 2006-08-17 2011-09-22 Takafumi Ito Method of controlling semiconductor memory card system
US8195872B2 (en) 2006-08-17 2012-06-05 Kabushiki Kaisha Toshiba Method of controlling semiconductor memory card system
US20080046649A1 (en) * 2006-08-17 2008-02-21 Takafumi Ito Method of controlling semiconductor memory card system
EP2015311A1 (en) * 2006-11-06 2009-01-14 Hitachi Ltd. Semiconductor memory system for flash memory
EP1967946A3 (en) * 2007-03-08 2013-04-03 Samsung Electronics Co., Ltd. Method of converting a hybrid hard disk drive to a normal HDD
US20100241793A1 (en) * 2008-04-25 2010-09-23 Hitachi, Ltd. Storage system and method for controlling storage system
US20090287957A1 (en) * 2008-05-16 2009-11-19 Christoph Bilger Method for controlling a memory module and memory control unit
US20120221773A1 (en) * 2011-02-25 2012-08-30 Renesas Electronics Corporation Nonvolatile semiconductor memory device
US20130080688A1 (en) * 2011-09-22 2013-03-28 Samsung Electronics Co., Ltd. Data storage device and method of writing data in the same
US8984219B2 (en) * 2011-09-22 2015-03-17 Samsung Electronics Co., Ltd. Data storage device and method of writing data in the same
US9128822B2 (en) 2012-06-22 2015-09-08 Winbond Electronics Corporation On-chip bad block management for NAND flash memory
JP2014038593A (en) * 2012-06-22 2014-02-27 Huabang Electronic Co Ltd On-chip nand type flash memory and defective block management method therefor
US20140136757A1 (en) * 2012-11-09 2014-05-15 Sandisk Technologies Inc. NAND Flash Based Content Addressable Memory
US9104551B2 (en) 2012-11-09 2015-08-11 Sandisk Technologies Inc. NAND flash based content addressable memory
US9116796B2 (en) 2012-11-09 2015-08-25 Sandisk Technologies Inc. Key-value addressed storage drive using NAND flash based content addressable memory
US9098403B2 (en) * 2012-11-09 2015-08-04 Sandisk Technologies Inc. NAND flash based content addressable memory
US10127150B2 (en) 2012-11-09 2018-11-13 Sandisk Technologies Llc Key value addressed storage drive using NAND flash based content addressable memory
US9075424B2 (en) 2013-03-06 2015-07-07 Sandisk Technologies Inc. Compensation scheme to improve the stability of the operational amplifiers
US9324450B2 (en) 2013-03-13 2016-04-26 Winbond Electronics Corporation NAND flash memory
US9563552B2 (en) * 2014-06-30 2017-02-07 Fujitsu Limited Storage control device and storage control method
US20150380110A1 (en) * 2014-06-30 2015-12-31 Fujitsu Limited Storage control device and storage control method
JP2016012287A (en) * 2014-06-30 2016-01-21 富士通株式会社 Storage control unit and storage control program
US9442798B2 (en) 2014-07-31 2016-09-13 Winbond Electronics Corporation NAND flash memory having an enhanced buffer read capability and method of operation thereof
US9367392B2 (en) 2014-08-01 2016-06-14 Winbond Electronics Corporation NAND flash memory having internal ECC processing and method of operation thereof
US20160246524A1 (en) * 2015-02-24 2016-08-25 Canon Kabushiki Kaisha Data processing apparatus and data processing method for processing data in memory
US9880763B2 (en) * 2015-02-24 2018-01-30 Canon Kabushiki Kaisha Data processing apparatus and data processing method for processing data in memory
US9760456B2 (en) * 2015-05-26 2017-09-12 Phison Electronics Corp. Memory management method, memory storage device and memory control circuit unit
US20160350191A1 (en) * 2015-05-26 2016-12-01 Phison Electronics Corp. Memory management method, memory storage device and memory control circuit unit
CN110072031A (en) * 2018-01-24 2019-07-30 京瓷办公信息系统株式会社 Electronic equipment and recording medium
US11531320B2 (en) * 2019-05-15 2022-12-20 Fanuc Corporation Numerical controller including reduced memory service life calculation unit, numerical control system, and non-transitory computer readable recording medium
US11487276B2 (en) * 2020-03-03 2022-11-01 International Business Machines Corporation Salvaging outputs of tools

Also Published As

Publication number Publication date
JP2003085054A (en) 2003-03-20
US6646931B2 (en) 2003-11-11

Similar Documents

Publication Publication Date Title
US6646931B2 (en) Life warning generation system and method of semiconductor storage device equipped with flash memory
US10552311B2 (en) Recovery for non-volatile memory after power loss
US7613871B2 (en) Storage system using a flash memory partitioned with write-once and rewritable blocks
JP3226042B2 (en) Flash EEprom system
US6078520A (en) Flash memory control method and information processing system therewith
EP0619541B1 (en) Information processing system with cached flash memory
US7246268B2 (en) Method and apparatus for dynamic degradation detection
US5963474A (en) Secondary storage device using nonvolatile semiconductor memory
US5406529A (en) Flash non-volatile memory
JP3178909B2 (en) Semiconductor memory device
US8065492B2 (en) System and method for early detection of failure of a solid-state data storage system
JP5016027B2 (en) Nonvolatile memory system to calculate the final period
JP5102299B2 (en) Memory card end-of-life recovery and resizing
US20110145483A1 (en) Semiconductor memory device and method of processing data for erase operation of semiconductor memory device
TWI454916B (en) Storage unit management method, memory controller and memory storage device using the same
US8667348B2 (en) Data writing method for non-volatile memory module and memory controller and memory storage apparatus using the same
US10204693B2 (en) Retiring computer memory blocks
TW202040370A (en) Data writing method, memory controlling circuit unit and memory storage device
CN107817943A (en) Data transmission method, memory storage apparatus and memorizer control circuit unit
JPH10161938A (en) Disk controller
JP2002109895A (en) Semiconductor storage device
JP2001312891A (en) Semiconductor storage device
JP3944326B2 (en) Flash EEprom system
JP2003308242A (en) Semiconductor storage device and control method therefor
JP4090071B2 (en) Flash EEprom system

Legal Events

Date Code Title Description
AS Assignment

Owner name: MITSUBISHI DENKI KABUSHIKI KAISHA, JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:MIZOGUCHI, SHINICHI;KIMURA, MASATOSHI;SHINOHARA, TAKAYUKI;REEL/FRAME:012711/0396

Effective date: 20011128

FEPP Fee payment procedure

Free format text: PAYOR NUMBER ASSIGNED (ORIGINAL EVENT CODE: ASPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

REMI Maintenance fee reminder mailed
LAPS Lapse for failure to pay maintenance fees
STCH Information on status: patent discontinuation

Free format text: PATENT EXPIRED DUE TO NONPAYMENT OF MAINTENANCE FEES UNDER 37 CFR 1.362

FP Lapsed due to failure to pay maintenance fee

Effective date: 20071111