This application is based on and claims the benefit of priority from the prior Japanese Patent Application No. 2003-311393, filed on Sep. 3, 2003, the entire contents of which are incorporated herein by reference.
1. Field of the Invention
This invention relates to a non-volatile semiconductor memory device (EEPROM) and an electric device with the same.
2. Description of Related Art
Currently known EEPROMs are mostly formed of memory cells with floating gates for storing data charge. A cell array of a NAND-type flash memory, which is known as one of such the EEPROMs, is formed of NAND cell units arranged therein, each of which has a plurality of memory cells connected in series. Source and drain diffusion layers of the memory cells in the NAND cell unit are shared with adjacent cells. To increase the capacity of the NAND-type flash memory, it is effective to increase the number of cells in the NAND cell unit, thereby increasing the capacity of a block defined as a group of a plurality of NAND cell units sharing a word line with them.
If only a small amount of data is written in a block of the NAND-type flash memory, the remaining area of the block becomes wasteful. In consideration of this point, in practice, one block is often divided into some file areas, and data control is performed by each file area. However, data erase is usually performed as one block being rendered a data erase unit in the conventional NAND-type flash memory. Therefore, if above described data control is performed, while the above described erasing scheme is used, it takes an extra time for data rewriting.
In detail, assume, for example, that a data A area and data B area are defined in a block. In order to replace the data A by data A′, it is required to do copy-write the data B into another block. After this copy-write, block erasure is performed, and then data A′ is written into the erased block. Such the need of copy-write for dada B, which is not required to be rewritten, brings an overhead time in data processing.
To decrease such the overhead time in the data rewriting operation, it is effective to do a data erase operation by every page or every sub-block (i.e., group of plural pages which are continued). Such the erase method has already been provided in, for example, Japanese Patent Application Laid Open (kokai) No. 3-295097, Japanese Patent Application Laid Open (kokai) No. 8-143398, and Japanese Patent Application Laid Open (kokai) No. 11-176177.
Page erase may be done by applying OV to word lines in a selected area, and simultaneously applying an erase voltage to a p-type well on which the cell array is formed, while setting word lines in a non-selected area at a floating state. Under such the condition, stored charge of the respective floating gates is discharged to the channels by FN tunneling in the memory cells in the selected area, whereby an erase state with a low threshold voltage (i.e., data “1” state) is obtained in every selected cell. In the non-selected area, the word lines (i.e., control gates), which are held in a floating state, are boosted by capacitive coupling in accordance with increasing of the erase voltage applied to the p-well to be in an “erase-inhibition” state. Therefore, by use of such the erase method, it becomes possible to do data write for only a selected area in a block, which is required to be rewritten.
In the above described page erase (or sub-block erase), however, there is a problem that an erase stress is applied to cells in a non-selected page. Especially, within the non-selected cells, a large erase stress is applied to cells along a non-selected word line adjacent to a selected word line. This is because that the non-selected word line (in a floating state of, e.g., Vdd) adjacent a selected word line (e.g., 0V) is not boosted to a sufficient erase inhibit voltage under the influence of capacitive coupling therebetween. As cells and interconnections are more miniaturized, and the capacitance between the word lines becomes more larger, the above described influence becomes more greater. In addition, at data write time for a selected page, write stress is applied to non-selected cells because an intermediate voltage is applied to word lines of non-selected pages.
Therefore, repeatedly performing data rewrite by a page (or a sub-block), data disturbance becomes large, and there is generated a risk of data destruction. To prevent cell data from being destroyed, it is required to limit the number of data rewrite operations.
According to an aspect of the present invention, there is provided a non-volatile semiconductor memory device including:
Illustrative embodiments of this invention will be explained with reference to the accompanying drawings below.
One page read data in the sense amplifier circuit 3 may be selected by a column decoder (column gates) 4 to be output to the external I/O terminal through an I/O buffer 5. Write data supplied from the I/O terminal is selected by the column decoder 4 to be loaded in the sense amplifier circuit 3. One page write data is loaded in the sense amplifier circuit 3 and held until a data write cycle is finished. Address signal is input to an address hold circuit 6 through the I/O buffer 5 and transferred to the row decoder 2 and column decoder 4.
A controller 7 outputs various internal timing signals used for controlling write and ease sequence in response to external signals such as write enable signal /WE, read enable signal /RE, address latch signal ALE, command latch signal CLE and the like. Based on these internal signals, the controller 7 executes sequence controls of data write and erase, and a data read operation. A high voltage generation circuit 8 generates various high voltages, Vpp, for data writing and erasing under the control of the controller 7.
Each page of cell array 1 is divided into a normal data area 1a for storing normal data and a redundant area 1b. The normal data area 1a has a capacity of, for example, 512 Byte per page. The redundant area 1b serves for storing ECC data for correcting an error bit of data stored in the normal data area 1a, logical address, flag for indicating whether a block is defective or not, and “the number of data erase”. Note here, it will be described hereinafter for a case that the redundant area 1b serves as only an “erase control area”, the capacity of which is necessary for controlling the number of data erase. The number of page erase is sometimes referred to as a “hot count (HC) value”. In detail, supposing that maximum value (i.e., permissible value) of the HC value is thirty two (32), the redundant area 1b necessary for storing the HC value is designed to have a capacity of 4 byte(=32 bit).
Next, write, read and erase operations of the NAND flash memory will be described bellow. Supposing that a two-value data (i.e., binary data) storing scheme is used, each memory cell MC stores, as shown in
In practice, data write is performed by repeating write cycles each including a write voltage (Vpgm) application and a verify-read for verifying the write state until all write data are completely written. By use of such the write sequence control, the data threshold distribution as shown in
Data read is done by applying 0V as a read voltage to a selected word line, while applying a pass voltage Vread to non-selected word lines, which enables to turn on cells without regard to cell data, and detecting cell current under the above described bias condition. In detail, the sense amplifier circuit 3 precharges the bit line at Vdd, and then detects whether the bit line is discharged or not by the selected cell, thereby sensing data “0” or “1”.
Data erase is done by a page in this embodiment. In detail, this “page erase” is done by precharging word lines in non-selected pages (i.e., non-selected word lines) in a selected block to, for example, Vdd, thereby setting them at a floating state, while applying 0V to a word line of a selected page (i.e., selected word line); and simultaneously applying an erase voltage Vera to a p-type well on which the cell array 1 is formed. Under such the erase bias condition, cells of the selected page changes to have a data “1” state (erase state) as a result of electron releasing from the floating gates to the channels. In the non-selected pages, floating gates and control gates are boosted by capacitive coupling from channels, whereby cell data may be retained as it is.
In the embodying NAND type flash memory as described above, a system for controlling the number of page erase (i.e., HC value) is equipped in the chip. In detail, the redundant area 1b serves as an “erase control area” for storing the HC value. The HC value stored in the redundant area 1b is automatically incremented by one every page erase, and renewed HC value is written into a page selected in each page erase. A scheme of HC value control will be explained bellow for a case that maximum HC value, MAX, is set at thirty two.
As shown in
As similar to the above described examples, a renewed HC value is written into a selected page of the redundant area 1b every page erase. Supposing that final page erase (i.e., 32nd page erase) has been done for page P0 in the same block, the selected page P0 of the redundant area 1b becomes, as shown in
In every data erase cycle, HC value stored in the redundant area 1b is read out to the redundant sense amplifier circuit 3b for checking it before data erase, and renewed HC value is written into the redundant sense amplifier circuit 3b after data erase. To achieve such the operation, a register circuit 12 is disposed for temporarily storing the HC value read in the redundant sense amplifier circuit 3b. A data transfer circuit 11 is disposed between the redundant sense amplifier circuit 3b and the register circuit 12. This circuit 11 functions for, not only transferring HC value, but also renewing the read out HC value by adding one to it. A judgment circuit 13 is disposed for judging whether the read out HC value reached to the permissible maximum value or not.
The transfer circuit 11 further has write-transfer buffers 22j for incrementing the HC value read out to the register circuit 12 to write back into the redundant sense amplifiers RSAj. These write-transfer buffers 22j are formed of clocked CMOS buffers which are activated by timing signals W(=“H”) and Wn(=“L”). These write-buffers 22j are arranged to transfer data of registers REGj in a way as the data being shifted toward upper bit side one by one.
In detail, the write-buffer 220 corresponding to the lowermost bit has input and output nodes, the former being fixed at Vss, while the latter being connected to node N0 of the redundant sense amplifier RSA0. Input nodes of the remaining write buffers 22j(j=1, 2, . . . , 31) are connected to registers REGj-1, and output thereof to nodes Nj of the redundant sense amplifiers RSAj.
Employing such the configuration of write-buffers 22j, Vss (i.e., write data “0”) is transferred every time to the node N0 of the redundant sense amplifier RSA0 corresponding to the lowermost bit of HC value. In addition, “0” data in the HC value read out to the register circuit 12 are shifted to the upper bit side one by one and written back into the redundant sense amplifiers RSAj. As a result, the HC data of the redundant area 1b read out to the redundant sense amplifier circuit 3b is renewed as “0” data bits therein being incremented by one after page erase.
The judgment circuit 13 is a comparator for judging whether the uppermost bit of the HC data in the redundant area 1b is “0” or “1”. This judging circuit 13 has a transfer buffer 23, which is activated by judgment timing signals F=“H” and Fn=“L” to output the uppermost bit read out to the register REG31 to an output node FOUT, and another transfer buffer 24 which is activated as complementary to the buffer 23 for precharging the output node FOUT.
The transfer buffer 24 has an input node fixed in potential at Vdd(=“H”). Letting the judging timing signals be F=“H” and Fn=“L”, respectively, every page erase, as far as the uppermost bit of the HC value is “1”(=“H”), the output node FOUT is not discharged and held at “H”(Pass). When the uppermost bit of HC value becomes “0”, the output node FOUT will be discharged to be “L”(Fail). This judgment output is output to the external of the memory chip directly or via a status register in the controller 7 as a status flag for indicating “Pass” or “Fail”.
The redundant area 1b is storing, as explained in
If the judgment result is “NO” (i.e., FOUT=“H”), execute data erase for a selected page (at Step S4). Thereafter, increment the HC value and transfer it to the redundant area 1b (at step S5). In detail, applying timing signals W=“H” and Wn=“L” to the transfer buffer 22j, as explained in
If the judgment result at step S3 is “YES” (i.e., FOUT=“L”), the controller 7 outputs a “Fail” flag to the external of the chip without performing data erase (at step S7). User may change the write address to select another block in response to the flag. Alternatively, user may select to perform data refresh of the selected block.
The data refresh is done in a way as to erase the selected block at a time after reading out all data in the normal data area 1a to, for example, an external controller for temporarily sheltering it, or after copy-writing it to another block, and then write the sheltered data into the selected block again. At this time, the redundant area 1b is held at an erase state with all bits are “1” (i.e., the initial state of HC value). As a result, HC value is initialized, and data may be rewritten in a state that accumulated stress due to repeated data erase will be removed.
As above described, according to this embodiment, it is possible to watch and care the number of data erase of each block in the chip, and limit the data erase operation for each block such that the number of data erase is not over a predetermined value. The automatic renewal of the data erase number may be easily controlled. That is, the accumulated value of page erase number is expressed by the number of “0” data bits. When data erase is performed for a selected page, the data erase number is automatically renewed and written into the selected page. The page erase number may be read by only one check-read operation under the condition that all pages in the block are set at a selected state. Read out data of the page erase number is renewed by a bit-shift operation in the transfer buffers and written back. Whether the page erase number reached to the maximum value MAX or not is easily judged based on whether the uppermost bit in the redundant area 1b is “0” or “1”.
Although the embodiment described above is for a case that data erase is done by a page, this invention may be applied to another case that data erase is performed by a sub-block defined by continuous and plural pages. The number of sub-block erase (i.e., HC value) may be written into a certain page in the redundant area 1b in a selected sub-block. Check-read operation of HC value, judgment of the HC value and write operation of renewed and accumulated HC vale may be performed as similar to the embodiment described above.
In the above described embodiment, the cell array is formed of a plurality of blocks. In this case, the number erase operations being controlled in a manner that the permissible value (maximum value) thereof is set for each block, it is possible to prevent data rewrite operations from being concentrated on a certain block. However, it should be appreciated that this invention may also be applied to a case in which the cell array is formed of one block.
Furthermore, although the check-read of HC value is, in the above described embodiment, performed under the condition of the whole page selection (i.e., the whole word line selection), it is not necessary to use such the condition, for example, in a case that sub-block unit is fixed. For example, suppose that four word lines constitute a sub-block, and eight sub-blocks constitute a block. In this case, letting HC value be written into the head page of each sub-block, the check-read of the HC value may be done by setting eight word lines corresponding to the head pages of eight sub-blocks at a selected state, and setting the remaining word line at a non-selected state as the pass voltage Vread being applied to them.
This invention may be, in addition, adapted to a case that the number of pages in an erase unit (i.e., sub-block unit) is not fixed, but changed in a block. Suppose that rewrite control is, for example, done in a block as follows: erase four pages, followed by data write for the four pages; next, erase six pages, followed by data write for the six pages; and then, erase two pages, followed by data write for the two pages, and this invention is effective in such the rewrite control. In such the case, HC value may be written at each data erase time as similar to the above described embodiment.
As another embodiment, an electric card using the non-volatile semiconductor memory devices according to the above-described embodiment of the present invention and an electric device using the card will be described bellow.
The case of the digital still camera 101 accommodates a card slot 102 and a circuit board (not shown) connected to this card slot 102. The memory card 61 is detachably inserted in the card slot 102 of the digital still camera 101. When inserted in the slot 102, the memory card 61 is electrically connected to electric circuits of the circuit board.
If this electric card is a non-contact type IC card, it is electrically connected to the electric circuits on the circuit board by radio signals when inserted in or approached to the card slot 102.
To monitor the image, the output signal from the camera processing circuit 105 is input to a video signal processing circuit 106 and converted into a video signal. The system of the video signal is, e.g., NTSC (National Television System Committee). The video signal is input to a display 108 attached to the digital still camera 101 via a display signal processing circuit 107. The display 108 is, e.g., a liquid crystal monitor.
The video signal is supplied to a video output terminal 110 via a video driver 109. An image picked up by the digital still camera 101 can be output to an image apparatus such as a television set via the video output terminal 110. This allows the pickup image to be displayed on an image apparatus other than the display 108. A microcomputer 111 controls the image pickup device 104, analog amplifier (AMP), A/D converter (A/D), and camera signal processing circuit 105.
To capture an image, an operator presses an operation button such as a shutter button 112. In response to this, the microcomputer 111 controls a memory controller 113 to write the output signal from the camera signal processing circuit 105 into a video memory 114 as a flame image. The flame image written in the video memory 114 is compressed on the basis of a predetermined compression format by a compressing/stretching circuit 115. The compressed image is recorded, via a card interface 116, on the memory card 61 inserted in the card slot.
To reproduce a recorded image, an image recorded on the memory card 61 is read out via the card interface 116, stretched by the compressing/stretching circuit 115, and written into the video memory 114. The written image is input to the video signal processing circuit 106 and displayed on the display 108 or another image apparatus in the same manner as when image is monitored.
In this arrangement, mounted on the circuit board 100 are the card slot 102, image pickup device 104, analog amplifier (AMP), A/D converter (A/D), camera signal processing circuit 105, video signal processing circuit 106, display signal processing circuit 107, video driver 109, microcomputer 111, memory controller 113, video memory 114, compressing/stretching circuit 115, and card interface 116.
The card slot 102 need not be mounted on the circuit board 100, and can also be connected to the circuit board 100 by a connector cable or the like.
A power circuit 117 is also mounted on the circuit board 100. The power circuit 117 receives power from an external power source or battery and generates an internal power source voltage used inside the digital still camera 101. For example, a DC-DC converter can be used as the power circuit 117. The internal power source voltage is supplied to the respective circuits described above, and to a strobe 118 and the display 108.
As described above, the electric card according to this embodiment can be used in portable electric devices such as the digital still camera explained above. However, the electric card can also be used in various apparatus such as shown in
This invention is not limited to the above-described embodiment. It will be understood by those skilled in the art that various changes in form and detail may be made without departing from the spirit, scope, and teaching of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2003-311393 | Sep 2003 | JP | national |