1. Field of the Invention
The disclosure relates generally to refreshing non-volatile memory devices, more particularly, relates to a method of partially refreshing non-volatile memory devices to decrease the time needed for erasing thereof.
2. Description of the Related Art
A flash memory device is a specific type of non-volatile memory by which bits of logical data are stored in memory cells. A grouping of memory cells is a word, a grouping of words is a page, and a grouping of pages is a sector. Data is accessed for reading and programming by words or pages, and an entire sector must be accessed for erasing. In general, the flash memory is arranged into columns and rows of memory cells, wherein each column represents a bit line of a data.
Voltages can be applied to the transistor for setting the VT (programmable threshold voltage), to represent a logical value “1” or “0,” for reading the data stored in the memory cell, for verifying that the cell has been programmed, for verifying that the cell has been erased, and for verifying that the cell has not been over-erased. When a voltage sufficiently exceeding the VT is applied to the control gate, the transistor turns on and can conduct a substantial current. Conversely, when a voltage applied to the gate does not sufficiently exceed the VT, the transistor will remain in an off state and will not conduct a substantial current. In typical flash memory designs, the on state represents a logical “1” while the off state represents a logical “0.” For example, during a read cycle of a programmed memory cell, the voltage applied to the gate is not greater than VT, and the memory cell will not conduct current. In comparison, an erased memory cell will conduct current during a read cycle because the gate voltage is greater than VT. Thus, a programmed memory cell represents logical “0,” while and erased memory cell represents logical “1.”
It is well known that flash memory devices have a limited number of erase-program cycles before they can no longer be used to store data reliably. More specifically, flash memory cells are subject to program/erase cycle wearing, which is a progressive degradation of a flash memory cell due to cumulative program and erase operations. Those skilled in the art will understand that a memory block is always erased first prior to being programmed with data, hence the cycles can be referred to as both program and erase cycles. Those skilled in the art will also understand that partial erase within a physical block is practicable as long as unselected portion of the physical block is properly counter-biased. However, the unselected portion may still need to be refreshed to guarantee the cell integrity. When memory cells are degraded, higher program and erase voltages are needed to program or erase the memory cells to the desired threshold voltages. Eventually, the memory cells will fail to retain data properly, which is represented as a programmed threshold voltage.
This problem is compounded by the fact that the block size of flash memory devices continues to increase while the data file sizes stored therein remain relatively static. For example, block sizes for present day high density flash devices are in the range of 256 KB, but future high density flash devices will have block sizes approaching 512 KB. If the data file stored in the block is small, then more memory cells will be unnecessarily subjected to erase/program cycles relative to a block have the size of the data file when the data file is modified.
Accordingly, an effective erase method is desired, which reduces unnecessary erase time and reduces the erase time of each cycle for extending the life span of the flash memory.
For solving the above problems, the invention provides a method to lower the total erase time by partial refresh for further saving the time of the partial block erase process.
An embodiment of a method of erasing a target erase area of a non-volatile memory is provided, wherein the non-volatile memory is divided into a target erase area and an unselected area, and comprises the steps in an erase cycle of: conditioning the target erase area of the non-volatile memory, wherein the unselected area is an area, which is excluding the target erase area, in the non-volatile memory; erasing target cells of the target erase area, wherein the target cells are set to have a threshold voltage which is not greater than an erase verify voltage; soft-programming the target cells, wherein the target cells are set to have the threshold voltage which is not less than a soft program verify voltage, wherein the soft program verify voltage is less than the erase verify voltage; and refreshing a predefined portion of the unselected area, wherein the predefined portion to be refreshed is less than the unselected area.
An embodiment of a method of erasing a target erase area of a non-volatile memory is provided, wherein an area of the predefined portion of the unselected area is a half of the unselected area in an X direction.
An embodiment of a method of erasing a target erase area of a non-volatile memory is provided, wherein an area of the predefined portion of the unselected area is a half of the unselected area in a Y direction.
An embodiment of a method of erasing a target erase area of a non-volatile memory is provided, wherein the unselected area is divided into a plurality of unselected sub-areas and also numbered, respectively, with odd numbers and even numbers, which respectively correspond to an odd area and an even area, and the predefined portion corresponds to one of the odd area and the even area.
An embodiment of a method of erasing a target erase area of a non-volatile memory is provided, wherein a non-volatile counter in the non-volatile memory alternatively outputs one of a first state and a second state, wherein one of the odd area and the even area is refreshed when the non-volatile counter outputs one of the first state and the second state which is stored in the non-volatile counter to record that one of the odd area and the even area has been refreshed until next refreshing.
An embodiment of a method of erasing a target erase area of a non-volatile memory is provided, wherein the non-volatile counter changes to output the other one of the first state and the second state during a next refreshing, and the other of the odd area and the even area is refreshed accordingly.
An embodiment of a method of erasing a target erase area of a non-volatile memory is provided, wherein the unselected area is divided into 4 or 8 unselected sub-areas if the non-volatile counter outputs 4 states or 8 states, respectively.
An embodiment of a method of erasing a target erase area of a non-volatile memory, wherein a volatile counter in the non-volatile memory, with an arbitrary initial state, alternatively outputs one of a first state and a second state, and the first state corresponds to the refreshing of the odd area, and the second state corresponds to the refreshing of the even area.
An embodiment of a method of erasing a target erase area of a non-volatile memory is provided, wherein one of the odd area and the even area is refreshed during power up, and the other one the odd area and even area is refreshed during power down.
An embodiment of a method of erasing a target erase area of a non-volatile memory is provided, wherein one of the odd area and the even area is refreshed when the volatile counter outputs the corresponding first state or second state and then the other one of the first state and second state is stored in the volatile counter until next refreshing.
An embodiment of a method of erasing a target erase area of a non-volatile memory is provided, wherein refreshing one of the odd area and the even area is according to a random signal randomly outputting one of the first state and the second state.
An embodiment of a method of erasing a target erase area of a non-volatile memory is provided, wherein the random signal is generated according to an erase verify retry count which is odd or even, wherein when the threshold of the target cells of the predefined portion are not less than the erase verify voltage after erasing, the erase verify retry count is incremented by 1 and erasing again until the threshold of all the target cells is less than the erase verify voltage.
An embodiment of a method of erasing a target erase area of a non-volatile memory is provided, wherein the random signal is generated according to a soft program verify retry count which is odd or even, wherein when the threshold of some of the target cells are erased to be lower than the soft program verify voltage after erasing, the soft program verify retry count is incremented by 1 and soft-programming again until the threshold of all the target cells is greater than the soft program verify voltage.
An embodiment of a method of erasing a target erase area of a non-volatile memory is provided, wherein the random signal is generated according to times of ON/OFF switches of a pump regulator in the non-volatile memory which is odd or even, wherein the pump regulator pumps from a supply voltage to a predetermined level, in which the ON/OFF switch turns on and off randomly to maintain the predetermined level.
An embodiment of a method of erasing a target erase area of a non-volatile memory is provided, wherein the random signal is generated by a first clock signal with a first frequency sampling a second clock signal with a second frequency, wherein the first frequency is lower than the second frequency.
An embodiment of a method of erasing a target erase area of a non-volatile memory is provided, wherein the random signal fed into 2 in-series toggle flip-flops generates a ¼ randomization, and the unselected area is divided into 4 unselected sub-areas.
An embodiment of a method of erasing a target erase area of a non-volatile memory is provided, wherein the random signal fed into 3 in-series toggle flip-flops generates a ⅛ randomization, and the unselected area is divided into 8 unselected sub-areas.
An embodiment of a method of erasing a target erase area of a non-volatile memory is provided, wherein if an erase verify retry count exceeds a predetermined number, the unselected area is entirely refreshed.
The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
The following description is of the best-contemplated mode of carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
After pre-programming, erase (step 120), soft-program (step 130), and refresh (step 140) are sequentially performed on the target erase area. The respective procedures and purposes of the erase and soft-program were introduced above, so they will not be repeated hereafter. Note that refresh is an important step in a partial erase procedure.
During erase, the target erase area has a negative voltage on the gate and high voltage on the P-well. However, on the unselected area (not to be erased), a counter bias voltage (e.g. 2V) is on the gate and a high voltage is on the P-well, wherein the target erase area and the unselected area are both on the same P-well. On the unselected area, even though a counter bias voltage is on the gate, well disturbance (disturbance through P-well) still exists which may cause slight erasing for the memory cells with high VT on the unselected area. This kind of disturbance will not cause a programmed cell to become an erased cell right away, but it will slowly move the programmed cell toward the erase level if refresh is not done.
As shown in
According to an embodiment of the invention, refresh can take up as much as 80% of total erase time. That is, refreshing the entire unselected area takes most of the time during the whole erasing procedure.
According to yet another embodiment of the invention, the unselected area is divided into 4 or 8 portions. During each refresh, only a quarter or an eighth of the unselected area is refreshed, and the others are sequentially refreshed during a next refresh. Partial refresh is acceptable due to disturbance tolerance, which will be described in detail later.
According to an embodiment of the invention, a non-volatile counter can be employed to determine where to be refreshed and to record where has been refreshed. The non-volatile counter evenly toggles between the odd and even results, wherein the odd result corresponds to refresh odd sectors, and vice versa. According to an embodiment of the invention, even sectors were refreshed during last refresh, so that the even result is stored in the non-volatile counter. Due to the characteristics of the non-volatile counter, the non-volatile counter will record which sectors of the unselected area was refreshed even after being power down and power up.
According to another embodiment of the invention, a volatile counter can be employed to determine where to refresh and to record where was refreshed. However, the content of the volatile counter will be vanished after power up and power down. Therefore, it is not sure that the content of the volatile counter outputs even or odd after each power up. For example, if the memory array is always powered down after each erase cycle, and then powered up in next erase cycle, and the volatile counter is fixed to one of even and odd during each power up, it may end up with only even or odd sectors of unselected area got refresh in each erase cycle, but the other half remains not to be refreshed. As a result, during power up, a random refresh will be generated as the seed for the volatile counter. After each refresh, an opposite content will be written into the volatile counter. For example, the volatile counter outputs odd content and odd sectors get refreshed. After refresh, even content is written into the volatile counter, which represents even sectors are refreshed in next erase cycle. Therefore, even sectors and odd sectors are refreshed alternatively.
According to an embodiment of the invention, determination of refreshing even or odd sectors can be based on the erase verify retry count. During erase (step 520 in
According to another embodiment of the invention, determination of refreshing even or odd sectors can be based on the soft program verify retry count. After erase, some cells may be erased too much (i.e. VT is lower than the soft program verify voltage), soft program (step 530 in
According to yet another embodiment of the invention, refreshing even or odd sectors can be determined by the times of ON/OFF switches of a pump regulator. According to an embodiment of the invention, a pump regulator is in the memory array for pumping up the supply voltage to a predetermined voltage.
As shown in
According to yet another embodiment of the invention, randomization can be generated by 2 clock signals with different frequencies.
According to an embodiment of the invention, well disturbance may be easier and less tolerable after cycling, because memory cell reliability is lower. The bottom line for partial refresh is to lower the entire erase time. After cycling, memory cells may be worn out. The disturbance tolerance will be smaller than that with refresh. If random partial refresh is applied and the randomization is not almost even between odd and even sectors for an extended period of time, the worn-out cell at the high VT unselected area may drop below the refresh level which means it will never be refreshed again. Therefore, based on the erase verify retry count, if it is higher than a predetermined value, the memory array will return back to full refresh. Because the erase verify retry count or the soft program retry count tend to be higher for the physical block with worn out cell, it can be used as worn out indicator.
While the invention has been described by way of example and in terms of preferred embodiment, it is to be understood that the invention is not limited thereto. Those who are skilled in this technology can still make various alterations and modifications without departing from the scope and spirit of this invention. Therefore, the scope of the present invention shall be defined and protected by the following claims and their equivalents.
Number | Name | Date | Kind |
---|---|---|---|
8498163 | Yang | Jul 2013 | B2 |