This application is based upon and claims the benefit of priority from the prior Japanese Patent Application No. 2004-235885, filed on Aug. 13, 2004, the entire content of which is incorporated herein by reference.
1. Field of the Invention
The present invention relates to a non-volatile semiconductor memory device, and more particularly to a non-volatile semiconductor memory device of the type that reads initialization data stored in a specific region in a memory cell array for initializing (ROM reading) prior to a normal operation (user sequence).
2. Description of the Related Art
A semiconductor memory device such as a NAND-type flash memory requires that voltages in all circuits contained in the semiconductor memory device are retained higher than a minimum operable voltage (hereinafter referred to as a “recovery voltage”), Vccmin, for correct reading, writing (programming) and erasing without errors. For example, a 3V-driven NAND-type flash memory has a recovery voltage Vccmin of about 2.1 V (see
The semiconductor memory device reads out initialization data for various initializations after power is turned on, including redundancy data for replacing failed cells with redundancy cells and trimming data for adjusting timers and voltages, from a storage unit such as a fuse circuit (hereinafter this operation is referred to as “ROM reading”). The semiconductor memory device such as the NAND-type flash memory particularly assigns a specific region in a memory cell array to store the initialization data (see JP-A 2003-178589, for example).
ROM reading is required to start and finish after power is turned on and before the supply voltage reaches a spec-defined lower limit thereof, Vspmin, (for example, Vspmin=2.7 V in the case of the 3V-driven NAND-type flash memory (see
During execution of ROM reading, it is required to ensure such a recovery voltage Vccmin that makes the whole circuits in the memory operable. Even If ROM reading starts after the supply voltage once reaches the ROM reading start voltage Vrmrd, an occurrence of peak current may lower the supply voltage below the recovery voltage Vccmin. In this case, the recovery operation is required to halt ROM reading and initialize the voltages applied to each part in the memory cell because the reading error in ROM reading causes an ill effect on operation in the following user sequence.
In the case of the 3V-driven memory (
This margin is inevitably reduced, however, in a memory that is driven under a lower voltage. Accordingly, it is difficult to ensure ROM reading while keeping the spec range of the supply voltage. For example, as shown in
In this case, the ROM reading start voltage Vrmrd and the spec lower limit Vspmin just have a margin of 0.15 V therebetween. Therefore, there is a high possibility that the supply voltage reaches the spec lower limit Vspmin before the completion of ROM reading. An operation by the user such as input before the completion of ROM reading may cause an ill effect, for example, a malfunction possibly. In contrast, if the spec lower limit Vspmin is determined higher to prevent the ill effect, the spec range of the supply voltage is narrowed. If the ROM reading start voltage Vrmrd is determined close to the recovery voltage Vccmin, ROM reading cannot be performed with stability.
In one aspect of the present invention, a non-volatile semiconductor memory device comprises a memory cell array containing electrically erasable programmable non-volatile semiconductor memory cells. A controller is configured to control operations of reading, programming and erasing of data in the memory cell array. A decoder is configured to select a memory cell in the memory cell array based on an address signal. A sense amp is configured to sense and amplify data from the memory cell array. A voltage level detector is configured to detect if a supply voltage reaches a recovery voltage level that requires a recovery operation. A signal generator is configured to generate a recovery operation instructing signal for instructing a recovery operation that halts operations of reading, programming and erasing and initiates voltages on parts when the voltage level detector detects that the supply voltage reaches the recovery voltage level. Finally, a switching circuit is configured to invalidate the recovery operation instructing signal if a certain operation mode is executed and to validate the recovery operation instructing signal in other cases.
Embodiments of the present invention will now be described with reference to the drawings.
The initialization data region 3 can be employed for programming, erasing and reading of data with selective driving of the bit line BL and the word line WL while it is not accessible from external during a normal operation (user sequence) in EEPROM as described later. Accordingly, on erasing data in a batch or on a block basis, the initialization data region 3 is not set in an erasing condition.
The minimum unit of the initialization data region 3 in the NAND-type EEPROM is the NAND cell block, which is the minimum erasing unit. This NAND cell block has the same configuration as those in main cells. Accordingly, it has the same layout and circuit operation as those in the normal NAND cell block and can be designed easily.
The bit line BL in the memory cell array 1 is connected via a sense amp 5 to a data register 6. A column decoder 7 and a row decoder 4 are provided to select the bit line BL and the word line WL in the memory cell array 1. An address AD, data DA and a command CMD are supplied to an I/O buffer 9, and the address is taken in an address register 12, the command in a command register 10, and the write data in a data register 6.
The address register 12 creates a row address and a column address, which are respectively decoded at the row decoder 4 and the column decoder 7 to select a memory cell. A high voltage generator 8 including a booster generates various high voltages, which are employed in data writing and erasing. The command taken in the command register 10 is decoded at a controller 11, for example, which sequentially controls data writing and erasing.
Control during data writing includes verifying to check the writing operation and the written state in the selected memory cell, and rewriting to an insufficiently written memory cell. Similarly, control during data erasing includes verifying to check the erasing operation and the erased state in the selected block, and re-erasing in the case of insufficient erasing. With setting of a write mode or an erase mode, a series of writing or erasing described above is controlled in the controller 1.
The initialization data written in the initialization data region 3 in the memory cell array 1 specifically includes (1) failed address data; (2) various control data on data reading, programming and erasing (containing data of voltage values, the number of control loops for writing and erasing, the presence/absence of execution of the recovery operation in each operation mode, and a recovery voltage level in the case of execution); and (3) chip information (ID code) such as codes associated with a memory capacity and spec and a maker code. The initialization data is written in the initialization data region 3 after chip packaging and before product shipping, for example, with input of a particular command.
The row decoder 4 and the column decoder 7 are allowed to access the entire memory cell array 1 including the initialization data region 3 while no address is assigned to the initialization data region 3 in normal data writing and reading. Accordingly, the initialization data region 3 can not be designated with an external address. Only when a particular command enters, the controller 11 controls the address register to create an internal address required to access the initialization data region 3, which allows the initialization data to be written in the initialization data region 3.
In the EPROM after the initialization data is thus stored in the initialization data region 3, the initialization data written in the initialization data region 3 is read out at power-on to initialize the operating condition (this operation is referred to as “ROM reading” in this specification).
When power is turned on, a power-on reset circuit 17 begins operating. The controller 11 detects the power-on and controls the address register 12 to create an internal address, which is set in a ROM reading mode after a certain waiting time for power stabilization and is subsequently incremented sequentially to scan the initialization data region 3. The internal address for use in accessing the initialization data region 3 is not assigned in normal operations as described above. The data in the initialization data region 3 selected by the row decoder 4 and the column decoder 7 is read at the sense amp 5, transferred to the data register 6 and held therein. It is then transferred via a data bus BUS to the initialization data latches 13 and 15, the chip information data latch 18 and the recovery operation setting data latch 19 and held therein. During the above initialization, the controller 11 provides a Ready/Busy signal (R/B)=L (Busy) to inform external of access inhibition.
Such the ROM reading is important to allow the normal operation (user sequence) to be executed without any malfunction and, for prevention of failed reading, it should be executed with keeping the recovery voltage. On the other hand, during execution of the user sequence, the use of the recovery voltage set for ROM reading as it is may possibly prevent smooth execution of the user sequence on the contrary. In this embodiment, for stable execution of the ROM reading and smooth execution of the user sequence, a voltage level detector 20, a signal generator 21 and a switching circuit 22 are provided.
A configuration of the voltage level detector 20 and the signal generator 21 is described with reference to
The signal generator 21 comprises an inverter 211, a flip-flop 212 and an inverter 213. The flip-flop 212 receives the output signal N1 and the inverted signal of the output signal N0 as input signals. The output signal from the flip-flop is further inverted through the inverter 213 and provided as an output signal LOWVDDRSTn. This output signal LOWVDDRSTn serves as a ROM reading start instructing signal for instructing the ROM reading to start and also serves as a recovery operation instructing signal for instructing the recovery operation to start.
In this configuration, the output signal LOWVDDRSTn has such a hysteresis as shown in
The inverter 221 inverts a signal NON_RCV (that indicates non-execution of the recovery operation in a certain operation mode) output from the recovery operation setting data latch 19 to provide the inverted signal /NON_RCV. The NOR circuit 222 receives the inverted signal /NON_RCV and a signal ROMREAD (that becomes “H” during execution of ROM reading and “L” in other cases) indicative of the ROM reading mode as input signals to provide a NOR output signal IVL.
When either of the signal ROMREAD and the inverted signal /NON_RCV is equal to “H”, the output signal IVL becomes “L”, which makes the output signal LOWVDDRSTn_new from the OR circuit 223 equal to the output signal LOWVDDRSTn. Therefore, the recovery operation is started when the supply voltage Vcc reaches the recovery voltage Vccmin.
When both the signal ROMREAD and the inverted signal /NON_RCV are equal to “L”, the output signal IVL becomes “H”, which makes the output signal LOWVDDRSTn_new from the OR circuit 223 equal to the same “H” waveform of the output signal IVL. Therefore, the recovery operation is not executed even when the supply voltage Vcc lowers below the recovery voltage Vccmin. In a word, the output signal IVL functions as a recovery operation inhibiting signal that inhibits the recovery operation when a certain operation mode is executed.
During execution of ROM reading, when the voltage level detector 20 detects reduction of the supply voltage Vcc below the recovery voltage Vccmin (S8), ROM reading is halted (S9). While the supply voltage Vcc exceeds the recovery voltage Vccmin, ROM reading is continued (S10). The voltage level detector 20 continuously detects the level of the supply voltage Vcc until the reading is completed (S11, S12). When ROM reading is completed, R/B is set in Ready (Standby).
After completion of ROM reading, the signal ROMREAD falls from “H” to “L”, with R/B=H (Ready), which allows for execution of the user sequence mode (normal reading, writing and erasing). When an address enters during the user sequence mode, the address taken in the address register 12 is detected in a matching detector 14 if it matches with the failed address held in the initialization data latch 13. On detection of matching,it provides replacement control signals a and b. These control signals a and b control the row decoder 4 and the column decoder 7 to replace a failed cell with redundancy cell arrays. Depending on a writing, erasing or reading mode, the control data held in the initialization data latch 15 is employed to control the high voltage generator 8 to generate a required voltage. As the signal ROMREAD is kept at “L”, the recovery operation can not be started even if the supply voltage Vcc lowers below the recovery voltage Vccmin. Thus, as the supply voltage during execution of the user sequence has a widely set margin in this embodiment, the user sequence can be executed smoothly.
A second embodiment of the present invention will now be described with reference to
This embodiment assumes that the recovery voltage Vccmin has a plurality of possible settings depending on a plurality of different operation modes (two operation modes A and B in this example). Therefore, the voltage level detector 20, the signal generator 21 and the switching circuit 22 are provided with additional alterations. This point differs from the first embodiment. Other parts are in common with the first embodiment and their detailed descriptions are omitted accordingly.
An exemplary configuration of the voltage level detector 20 and the signal generator 21 in the second embodiment is shown in
This embodiment provides, in addition to the output signal LOWVDDRSTn, two output signals LOWVDDRSTnA and LOWVDDRSTnB. As shown in
The following description is given to one embodiment of an electronic card with the NAND-type EEPROM according to the above embodiments mounted thereon, and an electronic device with the electronic card.
The embodiments of the invention have been described above while the present invention is not limited to these embodiments. Rather, various modifications, additions and replacements can be devised without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2004-235885 | Aug 2004 | JP | national |
Number | Name | Date | Kind |
---|---|---|---|
5828596 | Takata et al. | Oct 1998 | A |
6351179 | Ikehashi et al. | Feb 2002 | B1 |
6642757 | Ikehashi et al. | Nov 2003 | B2 |
6868026 | Fujioka | Mar 2005 | B2 |
6901012 | Ikehashi et al. | May 2005 | B2 |
Number | Date | Country | |
---|---|---|---|
20060034120 A1 | Feb 2006 | US |