US7269748B2 - System for preventing errors upon ejection of a memory card from a slot - Google Patents

System for preventing errors upon ejection of a memory card from a slot Download PDF

Info

Publication number
US7269748B2
US7269748B2 US10/712,996 US71299603A US7269748B2 US 7269748 B2 US7269748 B2 US 7269748B2 US 71299603 A US71299603 A US 71299603A US 7269748 B2 US7269748 B2 US 7269748B2
Authority
US
United States
Prior art keywords
external
terminal
voltage
card
external terminal
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.)
Expired - Fee Related, expires
Application number
US10/712,996
Other languages
English (en)
Other versions
US20040193928A1 (en
Inventor
Shinichi Shuto
Takayuki Tamura
Chiaki Kumahara
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.)
NEC Electronics Corp
Renesas Electronics Corp
Original Assignee
Renesas Technology 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 Renesas Technology Corp filed Critical Renesas Technology Corp
Assigned to RENESAS TECHNOLOGY CORP. reassignment RENESAS TECHNOLOGY CORP. ASSIGNMENT OF ASSIGNORS INTEREST (SEE DOCUMENT FOR DETAILS). Assignors: KUMAHARA, CHIAKI, SHUTO, SHINICHI, TAMURA, TAKAYUKI
Publication of US20040193928A1 publication Critical patent/US20040193928A1/en
Application granted granted Critical
Publication of US7269748B2 publication Critical patent/US7269748B2/en
Assigned to RENESAS ELECTRONICS CORPORATION reassignment RENESAS ELECTRONICS CORPORATION CHANGE OF NAME (SEE DOCUMENT FOR DETAILS). Assignors: NEC ELECTRONICS CORPORATION
Assigned to NEC ELECTRONICS CORPORATION reassignment NEC ELECTRONICS CORPORATION MERGER (SEE DOCUMENT FOR DETAILS). Assignors: RENESAS TECHNOLOGY CORP.
Assigned to RENESAS ELECTRONICS CORPORATION reassignment RENESAS ELECTRONICS CORPORATION CHANGE OF ADDRESS Assignors: RENESAS ELECTRONICS CORPORATION
Adjusted expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • G06F1/305Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations in the event of power-supply fluctuations

Definitions

  • the present invention relates to a semiconductor processing system such as a card type electronic device represented by a flash memory card conforming to the standard of the ATA (AT Attachment) card or CF (Compact Flash) card, more particularly to a technique usable effectively for preventing data damages to be caused by ejection of the semiconductor processing system undesirably or for enabling data recovery during an operation.
  • a semiconductor processing system such as a card type electronic device represented by a flash memory card conforming to the standard of the ATA (AT Attachment) card or CF (Compact Flash) card, more particularly to a technique usable effectively for preventing data damages to be caused by ejection of the semiconductor processing system undesirably or for enabling data recovery during an operation.
  • a pulled-down terminal in an ATA card and a pulled-up terminal in a card slot that correspond to each other are usually used to detect whether or not the ATA card is inserted/ejected in/from its card slot. If an ATA card is inserted in the card slot and the corresponding terminals are connected to each other, the terminal in the card slot is grounded, then an interface circuit in the card slot, which monitors the terminal, detects the inserted card, thereby beginning supply of an operation power to the card. When the card is ejected, the corresponding terminals are disconnected, then the interface circuit in the card slot detects the supply voltage at the terminal in the card slot, thereby detecting the ejection of the card. The interface circuit in the card slot, when detecting such card ejection, stops the operation power supply to the card (refer to the patent document 1).
  • the above conventional technique does not consider the problem that might occur in the card due to the stop of the power supply when the card is ejected.
  • the operation power supply to the card stops and the supply voltage drops.
  • the memory might be affected adversely by the write operation. For example, if the operation power supply stops just after an erasure operation is performed just before a write operation in non-volatile memories, some of the non-volatile memory cells might be left over as over-erased ones.
  • An over-erased memory cell means a memory cell in which the threshold voltage is changed over a predetermined threshold voltage range, although the threshold voltage of the erased memory cell should be included in the range. For example, if the erasure state threshold voltage range is set at the low voltage side, the threshold voltage of the memory cell becomes lower than the threshold voltage range and comes to have a negative voltage. In a memory cell of which threshold voltage is negative, the memory cell is turned on even when a non-selection voltage (ex., 0V) is applied to its word line, thereby a current flows in the channel. If such an over-erased memory cell is turned on normally, another memory cell that shares a bit line with the over-erased memory cell comes to malfunction.
  • a non-selection voltage ex., 0V
  • the following measures are also effective; (1) preparing a spare battery, (2) using a large capacity capacitor, (3) dualizing the data area, and (4) cautioning the user fully about the trouble occurrence.
  • (1) however, a small card cannot have space for such a spare battery. If the card has such space, the card cost increases.
  • the large capacity capacitor in (2) also has the same problem as that of (1).
  • (3) the data management method becomes complicated.
  • (4) it is impossible to caution every user fully about the problem occurrence.
  • the semiconductor processing system for example, a card type electronic device ( 1 ), is provided with an interface control circuit ( 4 ) and a processing circuit ( 5 ) and inserted in, for example, a card slot ( 11 ) to receive an operation power supply therefrom.
  • the interface control circuit when the card is ejected from the card slot, detects a potential change to occur at a first external terminal (H 1 , Fvs 2 ) to be disconnected from a predetermined terminal (P 1 , Pvs 2 ) of the card slot before the power supply from the card slot stops.
  • the control circuit then instructs the processing circuit that is active to begin an ending processing. Consequently, the card type electronic device can perform the ending processing by itself before the power supply is shut off completely.
  • the interface control circuit when the card is ejected from the card slot, detects a potential change to occur at the first external terminal to be disconnected from a predetermined terminal of the card slot before the power supply to the card from the card slot is shut off. The control circuit then retains a flag that denotes the power shutoff in the non-volatile latch circuit ( 25 ). Consequently, the interface control circuit can check the flag after the memory card is powered to check whether or not any power shutoff occurs. If power shutoff is detected, the control circuit decides the processing circuit to be abnormal and perform a recovery processing for the processing circuit as needed.
  • the interface control circuit when the card is ejected from the card slot, detects a potential change that occurs at the first external terminal to be disconnected from a predetermined terminal of the card slot before the power supply from the card slot stops.
  • the control circuit then starts up a power supply circuit, for example, a charge pump circuit ( 30 ) to supplement the operation power of the processing circuit. Consequently, the time required until the power supply is shut off completely can be extended and the control circuit can complete necessary processings easily in the meantime.
  • the power supply circuit such as a charge pump circuit may be any of a built-in one in the processing circuit and a dedicated one added newly.
  • the card type electronic device may be provided with a monitoring terminal (H 2 ) connected to the first external terminal so as to report the host system as soon as possible about whether or not the processing circuit that is active is instructed to begin an ending processing.
  • the monitoring terminal (H 2 ) is a terminal that enables the host system to monitor potential changes to occur at the first external terminal.
  • the first external terminal (H 1 ) functions as a reset terminal that receives a first voltage after a reset instruction is canceled.
  • the reset terminal is connected to a second external terminal (Hvd) through a resistance element ( 7 ) and the second external terminal (Hvd) receives a second voltage from the card slot.
  • the polarity of the second voltage is opposite to that of the first voltage.
  • the first external terminal receives the first voltage when the processing circuit is active and the first external circuit is connected to the second external terminal through a resistance element and the second external terminal receives the second voltage from the card slot.
  • the polarity of the second external terminal is opposite of that of the first external terminal.
  • the second external terminal can denote indirectly, for example, that the processing circuit is active.
  • the first voltage is a circuit ground voltage (GND) and the second voltage is a supply voltage (Vdd).
  • the second external terminal is an external power supply terminal (Hvd). They may be reversed in function respectively.
  • the first voltage is a supply voltage (Vdd)
  • the second voltage is a circuit ground voltage (GND)
  • the second external terminal is a ground source terminal (Hvs).
  • the first external terminal is one (Fvs 2 ) of a plurality of ground terminals (Fvs 1 and Fvs 2 ) and the ground terminal (Fvs 2 ) is connected to the power supply terminal (Fvd) through a resistance element ( 7 ).
  • the power supply terminal is disconnected after the first external terminal is disconnected from the terminal for correspondence in the card slot.
  • the processing circuit comes to be a non-volatile memory ( 5 ) enabling information to be erased/written therefrom/therein electrically and the interface control circuit functions as a control circuit ( 4 ) for controlling both of the external interface and the non-volatile memory.
  • the ending processing is made to adjust the threshold voltages of non-volatile memory cells to be set in a predetermined threshold voltage range during an erasure/write operation, for example. Consequently, no over-erased memory cell is left over even when power shutoff occurs undesirably during a data write operation.
  • Another example of the ending processing is to set an identification flag that can identify a non-volatile memory cell block (a unit for erasing/writing) in which an erasure/write operation is performed, then storing the flag in the flash memory. Consequently, the interface control circuit checks the identification flag set in the non-volatile memory after the flash memory is powered so as to check whether or not there is any memory block in which power shutoff occurs during the erasure/write operation. If power shutoff occurs in any memory block, the memory block may be replaced with another according to the data management method employed for the memory so as to avoid trouble to be caused by excessive erasure.
  • the erasure/write completing processing may be performed for the subject non-volatile memory cells.
  • the semiconductor processing system such as a card type electronic device is provided with a plurality of external terminals that can be attached/detached to/from an external device such as a corresponding terminal in the card slot, a first processing circuit ( 4 ) connected to the plurality of external terminals, a second processing circuit ( 5 ) controlled by the first processing circuit, and a resistance element ( 7 ) used for the connection between the first and second external terminals included in the plurality of external terminals.
  • the first external terminal receives the first voltage when the second processing circuit is active.
  • the second external terminal receives the second voltage.
  • the first processing circuit when the card is ejected from the card slot, detects a voltage change from the first voltage to the second voltage at the first external terminal before the power supply from the card slot stops, then performs a processing such as an ending processing in response to the detected voltage change.
  • the first external terminal is, for example, a reset terminal that receives the first voltage after a reset instruction is canceled.
  • the second processing circuit is, for example, a non-volatile memory enabling information to be erased/written therefrom/therein electrically and the first processing circuit controls both of the external interface and the non-volatile memory.
  • the semiconductor processing system such as a card type electronic device is provided with a plurality of external terminals that can be attached/detached to/from their corresponding terminals of an external device such as a card slot, a first processing circuit connected to the plurality of external terminals, a second processing circuit controlled by the first processing circuit, and a resistance element used for the connection between the first and second external terminals included in the plurality of external terminals.
  • the first external terminal is one of a plurality of ground terminals.
  • the second external terminal is a power supply terminal.
  • the first processing circuit detects a voltage change from the ground voltage from the supply voltage of the circuit at the first external terminal when the card is ejected from the card slot before the power supply from the card slot stops, then performs a processing in response to the detected voltage change.
  • the first external terminal is disposed so as to be disconnected earlier from its corresponding terminal in the card slot than other ground terminals when the card is ejected from the card slot.
  • FIG. 1 is a schematic block diagram that includes a flash memory card, which is an example of a semiconductor processing system of the present invention, as well as a card slot;
  • FIG. 2 is a schematic block diagram of a memory card connected to a card host system
  • FIG. 3 is a schematic block diagram for denoting a transition state in which a power supply terminal is kept connected while a reset terminal is disconnected when the memory card is disconnected from the card host system;
  • FIG. 4 is a schematic block diagram of a memory card, in which another route of an instruction for an ending processing is denoted;
  • FIG. 5 is a schematic block diagram of a memory card provided with a monitoring terminal for monitoring an ending processing
  • FIG. 6 is a schematic block diagram of a memory card having a signal terminal H 1 of which polarity differs from that shown in FIG. 1 ;
  • FIG. 7 is a schematic block diagram for denoting a transition state in which the power supply terminal is kept connected while the reset terminal is disconnected when the memory card shown in FIG. 6 is ejected from the card host device;
  • FIG. 8 is another schematic block diagram of the memory card provided with means for detecting its ejection from the card slot;
  • FIG. 9 is still another schematic block diagram of the memory card provided with means for detecting its ejection from the card slot.
  • FIG. 10 is a schematic block diagram of a flash memory card conforming to a card standard that is different from the standard of the card shown in FIG. 1 , the flash memory card being another example of the semiconductor processing system of the present invention.
  • FIG. 1 shows a flash memory card, which is an example of the semiconductor processing system of the present invention.
  • the flash memory card shown in FIG. 1 is a kind of PC card conforming to the PCMCIA (Personal Computer Memory Card International Association) standard.
  • PCMCIA Personal Computer Memory Card International Association
  • the flash memory card 1 is configured by an interface terminal block 3 provided on a card substrate 2 , a controller 4 , and a flash memory 5 , which is a kind of non-volatile memory enabling information to be erased/written therefrom/therein electrically.
  • the interface terminal block 3 is inserted/ejected in/from a card slot 11 of a card host system 10 such as a personal computer.
  • the type and physical configuration of the interface terminal are decided in accordance with the standard to which the memory card confirms.
  • the interface terminal block 3 is provided with a power supply terminal Hvd, a ground terminal Hvs, a card detection terminal Hcd, and a plurality of signal terminals H 1 to Hn.
  • a clock signal terminal is included in the signal terminals H 1 to Hn.
  • the card slot 11 is provided with a power supply terminal Pvd, a ground terminal Pvs, a card detection terminal Pcd, and a plurality of signal terminals P 1 to Pn corresponding to the above terminals.
  • the interface terminals Pvd, Pvs, Pcd, and P 1 to Pn of the card slot 11 are pin terminals while the interface terminals Hvd, Hvs, Hcd, and H 1 to Hn are hole terminals into which the pin terminals are inserted. The tips of the hole interface terminals Hvd, Hvs, Hcd, and H 1 to Hn are aligned.
  • the pin interface terminals Pvd, Pvs, Pcd, and P 1 to Pn have tips and the tips of the power supply terminals Pvd and Pvs are protruded and longer than those of the others.
  • the signal terminals P 1 to Pn and the card detect terminal Pcd are formed shorter sequentially.
  • the interface terminals Pvd, Pvs, Pcd, and P 1 to Pn of the card slot 11 are connected to a card controller (not shown) and used to detect insertion/ejection of a card, control supply/stop of a power in accordance with the detection result of an inserted/ejected card, and control the signal interfaces.
  • a card controller not shown
  • the card detect terminal Hcd in each memory card is pulled down and the card detect terminal Pcd in the card slot is pulled up.
  • the terminal Pcd of the card slot 11 is set at a ground voltage GND of the circuit, then the interface circuit provided in the card slot 11 for monitoring the corresponding terminal detects an inserted card, then begins supply of an operation power to the memory card 1 .
  • the card detect terminals Pcd and Hcd are disconnected from each other, thereby the interface circuit of the card slot 11 detects the supply voltage set at the terminal and the memory card ejection.
  • the interface circuit of the card slot 11 that has detected the card ejection stops supply of the operation power to the card.
  • the controller 4 and the flash memory 5 are connected to the power supply terminal Hvd and the ground terminal Hvs respectively so as to receive an operation power from the card slot 11 .
  • the controller 4 controls the interface with the host system and the interface with the flash memory 5 .
  • the flash memory 5 is provided with a memory mat in which many non-volatile memory cells, each of which enables information to be erased/written therefrom/therein electrically, are disposed like a matrix.
  • each of the non-volatile memory cells has a stacked gate structure provided with a source (connected to a source line), a drain (connected to a bit line), a channel, as well as a pair of a floating gate and a control gate (connected to a word line respectively) stacked on the channel so as to be insulated from each other.
  • information is erased from a memory cell by moving electrons from the floating gate into the well region with a negative high voltage applied to, for example, the connected word line while a positive high voltage is applied to the word line to charge hot carriers into the floating gate from the well region to write data in the memory cell.
  • the threshold voltage of the memory cell differs between erasing and writing processings at a view from the control gate. And, according to this difference, information is recorded in the memory cell.
  • the controller 4 controls accesses to the flash memory 5 , which is regarded as a file memory compatible with hard disks at that connection. For example, the controller 4 manages addresses so as to access the data area in the flash memory 5 in sectors and controls allocation of alternative sectors that will take the places of defective sectors. The controller 4 uses physical addresses to control the access to the flash memory 5 for erasing, writing, and reading information from/in/from the flash memory.
  • the voltage of the signal terminal H 1 is pulled up to that of the power supply terminal Hvd in the resistance element 7 .
  • the signal terminal H 1 when it is connected to the corresponding terminal P 1 of the card host system 10 , functions as a reset terminal to be set at the ground voltage GND after a reset instruction from the card host system 10 is canceled.
  • the reset terminal P 1 is an output terminal and the card host system 10 , when detecting a inserted memory card 1 , drives the voltage of the reset terminal P 1 into high level pulses to initialize the controller 4 . After that, the reset terminal P 1 keeps the low level. In that connection, the reset terminal P 1 is assumed as one of the signals driven into the low level in response to an instruction from the controller 4 while the flash memory 5 is in the busy state in which it erases/writes information therefrom/therein.
  • FIG. 2 shows how the memory card 1 is inserted in the card host system 10 .
  • a switch is disposed between the reset terminal P 1 and the ground terminal Pvs. This switch is a circuit element to be turned on after a reset instruction is canceled so as to drive the level of the reset terminal P 1 into Low.
  • the reset terminal H 1 keeps the ground voltage GND. If an attempt is made to eject the memory card from the card host system 10 , the card detect terminal Hcd is disconnected from the corresponding terminal Pcd of the card slot 11 , thereby the card controller of the card host system 10 stops supply of the operation power to the terminal Pvd. Even when the card controller stops supply of the operation power to the terminal Pvd such way, it takes some time until the supply voltages of the terminals Pvd and Hvd actually drop due to the parasitic capacitor component of the power supply system of the card host system 10 . In the meantime, the reset terminal H 1 is disconnected from the signal terminal P 1 of the card host system 10 .
  • the reset terminal H 1 comes to receive the supply voltage Vdd through the resistance element 7 so that the level of the terminal H 1 is driven into High.
  • the high level of the reset terminal H 1 is retained in the latch circuit 22 and the latch circuit 22 outputs a signal 23 that instructs the flash memory 5 to execute an ending processing. After that, it takes some time until the memory card 1 is ejected from the card slot 11 , thereby the terminals Hvd and Hvs of the memory card 11 are disconnected from the terminals Pvd and Pvs of the card slot 11 .
  • the flash memory 5 completes the ending processing in response to the above instruction.
  • the ending processing is, for example, adjusting the threshold voltages of non-volatile memory cells so as to be set in a predetermined threshold voltage range (also referred to as a light write processing) during an erasure/write processing.
  • the instruction signal 23 for the ending processing is a reset signal (reset) issued from the flash memory 5 .
  • the flash memory 5 if a reset signal is asserted during an erasure/write processing, executes such a light write processing. For example, if an erasure/write processing is executed for each word line connected to memory cells in a flash memory, such a light write processing is done for memory cells that are over-erased or almost over-erased.
  • the light write processing means a write processing executed at a shorter application time of a high write voltage so as to raise the negative threshold voltage of the target memory cells up to a positive voltage. If a write voltage is applied to a word line while an erasure/write processing is made for each word line, each memory cell having a negative threshold voltage comes to have a potential difference larger than that of the memory cell having a positive threshold voltage. The potential difference is applied to the charge accumulation layer of each memory cell regardless of the negative/positive threshold voltage. Consequently, information is written earlier in the memory cell having the negative threshold voltage than the memory cell having the positive threshold voltage.
  • the object of the light write processing is to change the threshold voltage of each over-erased memory cell, more particularly to change the negative threshold voltage of each memory cell to a positive threshold voltage
  • the write voltage application time for the memory cell can be further shortened than that for normal write processings. Consequently, the flash memory card 1 can cope with an undesirable power shutoff that occurs during a data write processing by itself so as not to leave over-erased memory cells before the power supply thereto is shut off completely.
  • the card controller also executes another ending processing that sets an identification flag that can identify a block of non-volatile memory cells in/from which information is being written/erased and stores the flag.
  • the identification flag may be stored in any of its dedicated area provided in the flash memory and the sector management area. If the flag is stored in the sector management area, it must be assured that the flag can be read when the flash memory 5 is powered. Preferably, the flag should be stored in the dedicated area so as to improve the reliability.
  • the instruction for this ending processing may be a reset signal (reset) issued to the flash memory 5 . If an erasure/write processing is being executed when this reset signal is asserted, it is just required to perform an ending processing so as to store the identification flag.
  • the controller 4 checks the identification flag in the flash memory 5 when the flash memory 5 is powered so as to check whether or not there is any memory block in which power shutoff occurs during an erasure/write processing. If such a memory block is detected, the memory block may be replaced with another in accordance with the employed data management method so as not to make the over-erasure cause another problem.
  • the identification flag may also be set when a completion processing is performed for non-volatile memory cells during an erasure/write processing. This makes it possible to reduce the memory cell replacement frequency, thereby suppressing the consumption of alternative sectors.
  • FIG. 4 shows another example of the instruction route for the ending processing.
  • the controller 4 is provided with a microcomputer 20 for controlling both interface and memory.
  • the control register (not shown) of the microcomputer 20 has one bit for setting whether to validate the ejected card detecting function. This setting bit, when a logical value “1” is set therein, validates the ejected card detecting function.
  • This valid bit signal is inputted to a 2-input logical product (AND) gate 21 together with the signal from the terminal H 1 and the clock terminal of the D-type latch circuit 22 receives the signal output.
  • the data terminal D of the D-type latch circuit 22 is connected to the ground terminal Vss and the latch circuit 22 outputs the reset signal 23 (reset) to the flash memory 5 through the output terminal Q.
  • the flash memory card 1 is also used to assure perfect compatibility with a hard disk so that the card cannot be inserted/ejected from the card slot 11 freely. In that connection, no instruction is needed for the ending processing. It is just required at that time to set the logical value “0” fixedly for the setting bit.
  • FIG. 5 shows a case in which the flash memory 5 is provided with a monitoring terminal for the ending processing.
  • the flash memory 5 is provided with a monitoring terminal H 2 to be connected to the external terminal H 1 .
  • the monitoring terminal H 2 enables the card host system 10 to monitor potential changes to occur at the external terminal H 1 . Consequently, the card host system 10 can save write data so as to write the data again when power shutoff occurs. In addition, it is possible to call the user's attention to the inhibition of card ejection during an erasure/write processing.
  • FIG. 6 shows the voltage of the signal terminal H 1 inserted in the card host system 10 . In that state, the signal terminal H 1 keeps the supply voltage Vdd. If an attempt is made to eject the memory card 1 from the card host system 10 at that time as shown in FIG.
  • the card detect terminal Hcd is disconnected from the corresponding terminal Pcd of the card slot 11 , then the card controller 4 of the card host system 10 stops supply of the operation power to the terminal Pvd.
  • the operation power supply stops in such a way, it takes some time until the voltages of the terminals Pvd and Hvd drop due to the parasitic capacity of the power supply system of the card host system 10 .
  • the signal terminal H 1 is disconnected from the signal terminal P 1 of the card host system 10 . Consequently, the ground voltage GND is applied to the signal terminal H 1 through the resistance element 7 , thereby the level of the signal terminal H 1 is changed to Low.
  • the low level of the terminal H 1 is retained in the latch circuit 22 and the latch circuit 22 outputs a signal 23 to instruct the flash memory 5 to execute an ending processing. After that, it takes some time until the memory card 1 is ejected from the card slot 11 and the terminals Pvd and Pvs of the card slot 11 are disconnected from the card terminals Hvd and Hvs. In the meantime, the flash memory 5 completes the ending processing in response to the above instruction.
  • a potential change occurs at the signal terminal H 1 when the card is ejected from the card slot just like in the above example.
  • the controller 4 stores the flag that denotes power shutoff in response to the potential change.
  • the controller 4 can store the flag in the non-volatile latch circuit 25 provided in itself in that case, not in the flash memory 5 .
  • the non-volatile latch circuit 25 is composed of non-volatile memory cells used as bits just like the flash memory 5 .
  • the controller 4 stores the flag that denotes power shutoff occurrence together with a sector address in the non-volatile latch circuit 25 .
  • the controller 4 checks the flag to check whether or not any power shutoff has occurred. And, if power shutoff occurs, the controller 5 can decide the power-off sector to be abnormal and replace the sector with another as needed.
  • the potential change at the signal terminal H 1 is detected just like in the above example when the memory card 1 is ejected from the card slot 11 .
  • the controller 4 then starts up the charge pump circuit 30 in response to the detected potential change to supply the operation power of the flash memory 5 .
  • the time required until the power supply stops completely can be extended, allowing the controller to complete the necessary processings.
  • the charge pump circuit 30 may be any of a built-in one in the flash memory 5 or a dedicated one added newly to the flash memory 5 .
  • FIG. 10 shows a flash memory card, which is another example of the card type electronic device of the present invention.
  • the flash memory card shown in FIG. 10 conforms to, for example, the MMC (Multi Medium Card) standard.
  • the flash memory card 1 is composed of an interface terminal block 3 formed on a card substrate 2 , a controller 4 , and a flash memory 5 , which is a kind of non-volatile memory enabling information to be erased/written therefrom/therein electrically.
  • the interface terminal block 3 is inserted/ejected in/from the card slot 11 of the card host system 10 such as a personal computer.
  • the type and physical configuration of the interface terminal are decided in accordance with the standard to which the memory card conforms.
  • the interface terminal block 3 is provided with a power supply terminal Fvd, a ground terminals Fvs 1 and Fvs 2 , a card detection terminal Fcd, and a plurality of signal terminals F 1 to F 4 .
  • the card slot 11 is provided with a power supply terminal Pvd, ground terminals Pvs 1 and Pvs 2 , and a plurality of signal terminals P 1 to Pn corresponding to the above terminals.
  • the interface terminals Pvd, Pvs 1 , Pvs 2 , and P 1 to Pn of the card slot 11 are pin terminals while the interface terminals Fvd, Fvs 1 , Fvs 2 , and F 1 to Fn are flat terminals on which the pin terminals come in contact.
  • connection/disconnection of the flat power supply terminals Fvd, Fvs 1 , and Fvs 2 to/from the power supply interface terminals Pvd, Pvs 1 , and Pvs 2 are made earlier than the connection/disconnection of Fvd, Fvs 1 , Pvd, and Pvs 1 .
  • connection of Pvs 1 and Pvd to Fvs 1 and Fvd is made earlier than connection of Pvs 2 to Fvs 2 .
  • the connections are done in the reverse order; Pvs 1 is disconnected from Fvs 1 and Fvd after Pvs 2 is disconnected from Fvs 2 .
  • the terminal Pvs 2 is shorter than the terminals Pvd and Pvs 1 by 1 mm.
  • the interface terminals Pvd, Pvs 1 , PVs 2 , and P 1 to P 4 of the card slot 11 are connected to a card controller (not shown).
  • the card controller detects insertion/ejection of the card 1 and controls supply and stop of the power according to the detection result of insertion/ejection of the card 1 , as well as the signal interfaces.
  • the controller 4 and the flash memory 5 are connected to the power supply terminal Fvd and the ground terminal Fvs to receive the operation power from the card slot 11 respectively.
  • the controller 4 controls interfacing with both of the card host system 10 and the flash memory 5 .
  • the flash memory 5 is provided with a memory mat in which many non-volatile memory cells, each of which enables information to be written/erased therein/therefrom electrically, are disposed like a matrix similarly to the above example. A high voltage is applied to each memory cell so that information is written/erased therein.
  • the controller 4 controls accesses to the flash memory 5 that is assumed as a file memory compatible with a hard disk. For example, the controller 4 manages addresses so as to enable accesses to the data area provided in the flash memory 5 in sectors and controls allocation of sectors that will take the places of defective sectors. Physical addresses are used to access the flash memory 5 to erase, write, and read information therefrom/therein.
  • the terminal Fvs 1 While the memory card 1 is inserted in the card host 11 , the terminal Fvs 1 keeps the ground voltage GND. If an attempt is made to eject the memory card 1 from the card host system 10 , the terminal Fvs 1 is disconnected from the signal terminal P 1 of the card host system 10 . Consequently, a supply voltage Vdd is applied to the signal terminal Fvs 1 through the resistance element 7 , thereby the level of the signal terminal Fvs 1 is changed to High. The High level of the terminal Fvs 1 is retained in the latch circuit 22 and the latch circuit 22 outputs a signal 23 to instruct the flash memory 5 to execute an ending processing.
  • the flash memory 5 completes the ending processing in response to the above instruction.
  • the non-volatile memory cell may have a split-gate structure provided with a source (connected to a source line), a drain (connected to a bit line), a channel, and a pair of a select gate (connected to a word line) and a memory gate (connected to a memory gate control line) formed on the channel so as to be insulated from each other.
  • the non-volatile memory can employ a carrier trapping position difference with respect to such a charge trapping film as a silicon nitride film to store information therein.
  • the non-volatile memory cell of the present invention can store information consisting of only one bit, it may store information consisting of two or more bits.
  • the card standard may not be limited only to those described above; it may also use other various types of card standards.
  • the card type electronic device may not be a flash memory card; it may be any of an SRAM (Static Random Access Memory) card, a LAN (Local Area Network) card, a modem card, and a graphic card.
  • SRAM Static Random Access Memory
  • LAN Local Area Network
  • modem modem
  • graphic card if the card includes a non-volatile memory device for storing control information, the memory device may be instructed to execute the ending processing as described above.
  • the present invention may also apply to any card type electronic device that does not include a non-volatile memory. For example, if a communication card is ejected undesirably during a transmission/receiving processing, a power-off/receiving error code may be transmitted to the transmission source smooth the re-transmission processing.
  • the present invention may apply widely to various semiconductor processing systems such as card type electronic devices including removable media.
  • the subject semiconductor processing system represented by a card type electronic device can detect by itself that it is ejected before the power supply thereto stops completely so as to cope with power shutoff. Consequently, any memory card can take a proper measure to cope with such power shutoff in accordance with the employed memory/data management method.
  • the present invention can provide a semiconductor processing system that does not require any of a spare battery and a large capacity capacitor, thereby the processing system is reduced in cost, size, and weight.
  • the semiconductor processing system can also reduce errors to be caused by power shutoffs and improve the reliability.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Power Sources (AREA)
  • Read Only Memory (AREA)
US10/712,996 2003-03-28 2003-11-17 System for preventing errors upon ejection of a memory card from a slot Expired - Fee Related US7269748B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2003089691A JP2004295724A (ja) 2003-03-28 2003-03-28 半導体処理装置
JP2003-089691 2003-03-28

Publications (2)

Publication Number Publication Date
US20040193928A1 US20040193928A1 (en) 2004-09-30
US7269748B2 true US7269748B2 (en) 2007-09-11

Family

ID=32985251

Family Applications (1)

Application Number Title Priority Date Filing Date
US10/712,996 Expired - Fee Related US7269748B2 (en) 2003-03-28 2003-11-17 System for preventing errors upon ejection of a memory card from a slot

Country Status (5)

Country Link
US (1) US7269748B2 (ko)
JP (1) JP2004295724A (ko)
KR (1) KR101074231B1 (ko)
CN (1) CN1534426A (ko)
TW (1) TW200419335A (ko)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110107132A1 (en) * 2008-04-30 2011-05-05 Tsulomu Baba Method for detecting the improper removal of electronic equipment
US20140082406A1 (en) * 2012-09-18 2014-03-20 Sandisk Technologies Inc. Data protection through power loss prediction
US9390805B2 (en) 2013-02-04 2016-07-12 Samsung Electronics Co., Ltd. Memory systems and operating methods of memory controllers

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7360713B2 (en) 2004-09-24 2008-04-22 Renesas Technology Corp. Semiconductor device
GB0516450D0 (en) * 2005-08-10 2005-09-14 Symbian Software Ltd Data storage on writeable removable media in a computing device
US8335913B2 (en) * 2008-09-08 2012-12-18 Dell Products, LLP Method and system for restoring system configuration after disorderly shutdown
JP5329249B2 (ja) * 2009-02-04 2013-10-30 京セラドキュメントソリューションズ株式会社 画像形成システム
KR102284655B1 (ko) * 2014-07-02 2021-08-03 삼성전자 주식회사 메모리 카드
CN105589542A (zh) * 2014-11-13 2016-05-18 鸿富锦精密工业(武汉)有限公司 接口供电电路
CN110176269B (zh) * 2019-04-16 2020-11-17 华中科技大学 一种精确调控非易失性存储单元状态的方法及系统

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5745912A (en) * 1992-04-02 1998-04-28 Kabushiki Kaisha Toshiba Memory card apparatus including a link table for managing the correspondency between the recorded contents in the memory card and that in the link table
US5805473A (en) * 1995-08-30 1998-09-08 International Business Machines Corporation PCMCIA voltage loss detection
US5862393A (en) * 1996-10-07 1999-01-19 Lxe, Inc. System for managing power of a computer with removable devices
US6041375A (en) * 1997-04-07 2000-03-21 International Business Machines Corporation Method and system for enabling nondisruptive live insertion and removal of feature cards in a computer system
JP2000099215A (ja) 1998-09-25 2000-04-07 Ricoh Co Ltd Pcカードのインタフェース
US6062480A (en) * 1998-07-20 2000-05-16 Vlsi Technologies, Inc. Hot docking system and methods for detecting and managing hot docking of bus cards
US6724678B2 (en) * 2002-04-24 2004-04-20 Renesas Technology Corp. Nonvolatile semiconductor memory unit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5745912A (en) * 1992-04-02 1998-04-28 Kabushiki Kaisha Toshiba Memory card apparatus including a link table for managing the correspondency between the recorded contents in the memory card and that in the link table
US5805473A (en) * 1995-08-30 1998-09-08 International Business Machines Corporation PCMCIA voltage loss detection
US5862393A (en) * 1996-10-07 1999-01-19 Lxe, Inc. System for managing power of a computer with removable devices
US6041375A (en) * 1997-04-07 2000-03-21 International Business Machines Corporation Method and system for enabling nondisruptive live insertion and removal of feature cards in a computer system
US6062480A (en) * 1998-07-20 2000-05-16 Vlsi Technologies, Inc. Hot docking system and methods for detecting and managing hot docking of bus cards
JP2000099215A (ja) 1998-09-25 2000-04-07 Ricoh Co Ltd Pcカードのインタフェース
US6724678B2 (en) * 2002-04-24 2004-04-20 Renesas Technology Corp. Nonvolatile semiconductor memory unit

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110107132A1 (en) * 2008-04-30 2011-05-05 Tsulomu Baba Method for detecting the improper removal of electronic equipment
US8397103B2 (en) * 2008-04-30 2013-03-12 Nidec Sankyo Corporation Method for detecting the improper removal of electronic equipment
US20140082406A1 (en) * 2012-09-18 2014-03-20 Sandisk Technologies Inc. Data protection through power loss prediction
US9390805B2 (en) 2013-02-04 2016-07-12 Samsung Electronics Co., Ltd. Memory systems and operating methods of memory controllers

Also Published As

Publication number Publication date
JP2004295724A (ja) 2004-10-21
CN1534426A (zh) 2004-10-06
KR20040086517A (ko) 2004-10-11
US20040193928A1 (en) 2004-09-30
TWI328158B (ko) 2010-08-01
KR101074231B1 (ko) 2011-10-14
TW200419335A (en) 2004-10-01

Similar Documents

Publication Publication Date Title
US7227803B2 (en) Apparatus for reducing data corruption in a non-volatile memory
US5329491A (en) Nonvolatile memory card with automatic power supply configuration
US8351288B2 (en) Flash storage device and data protection method thereof
US8032783B2 (en) Memory apparatus which provides notification of memory capacity
CN101373449B (zh) Ecc控制电路、多通道存储器系统以及相关操作方法
US7594157B2 (en) Memory system with backup circuit and programming method
US8504762B2 (en) Flash memory storage device with data interface
US6982919B2 (en) Memory card and data processing system
US5369616A (en) Method for assuring that an erase process for a memory array has been properly completed
US20060164886A1 (en) Nonvolatile semiconductor memory device having protection function for each memory block
KR100487031B1 (ko) 누설 셀의 검출 및 복구를 외부에서 트리거하는 플래시메모리
US7269748B2 (en) System for preventing errors upon ejection of a memory card from a slot
US9536619B2 (en) Hybrid-HDD with improved data retention
CN102915770B (zh) 降低闪存芯片内部数据互相串扰的方法、闪存存储系统及其控制器
US20230060971A1 (en) Leakage detection circuit, nonvolatile memory device including leakage detection circuit, and memory system including nonvolatile memory device
CN101576859A (zh) 非易失性存储器数据写入方法、存储系统及其控制器
US8335885B2 (en) Storage device and method of accessing a status thereof
JP4803757B2 (ja) 半導体処理装置
US11593285B2 (en) Memory system
US11056211B1 (en) Apparatus and method for handling temperature dependent failures in a memory device
US8725930B2 (en) Semiconductor memory device
US20240143499A1 (en) Dynamic nand read/write access time for ssd reliability and performance enhancement
KR100690831B1 (ko) 이동단말기의 메모리카드 제어 장치 및 방법
JP2001306409A (ja) 携帯可能な記憶装置及びそれを用いた情報処理システム

Legal Events

Date Code Title Description
AS Assignment

Owner name: RENESAS TECHNOLOGY CORP., JAPAN

Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:SHUTO, SHINICHI;TAMURA, TAKAYUKI;KUMAHARA, CHIAKI;REEL/FRAME:014706/0727

Effective date: 20031023

STCF Information on status: patent grant

Free format text: PATENTED CASE

FEPP Fee payment procedure

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

Free format text: PAYER NUMBER DE-ASSIGNED (ORIGINAL EVENT CODE: RMPN); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

AS Assignment

Owner name: RENESAS ELECTRONICS CORPORATION, JAPAN

Free format text: CHANGE OF NAME;ASSIGNOR:NEC ELECTRONICS CORPORATION;REEL/FRAME:024864/0635

Effective date: 20100401

Owner name: NEC ELECTRONICS CORPORATION, JAPAN

Free format text: MERGER;ASSIGNOR:RENESAS TECHNOLOGY CORP.;REEL/FRAME:024879/0190

Effective date: 20100401

FPAY Fee payment

Year of fee payment: 4

FPAY Fee payment

Year of fee payment: 8

AS Assignment

Owner name: RENESAS ELECTRONICS CORPORATION, JAPAN

Free format text: CHANGE OF ADDRESS;ASSIGNOR:RENESAS ELECTRONICS CORPORATION;REEL/FRAME:044928/0001

Effective date: 20150806

FEPP Fee payment procedure

Free format text: MAINTENANCE FEE REMINDER MAILED (ORIGINAL EVENT CODE: REM.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

LAPS Lapse for failure to pay maintenance fees

Free format text: PATENT EXPIRED FOR FAILURE TO PAY MAINTENANCE FEES (ORIGINAL EVENT CODE: EXP.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY

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: 20190911