TWI581270B - Data erasing methods - Google Patents

Data erasing methods Download PDF

Info

Publication number
TWI581270B
TWI581270B TW105102318A TW105102318A TWI581270B TW I581270 B TWI581270 B TW I581270B TW 105102318 A TW105102318 A TW 105102318A TW 105102318 A TW105102318 A TW 105102318A TW I581270 B TWI581270 B TW I581270B
Authority
TW
Taiwan
Prior art keywords
target
erase
word line
determining
memory
Prior art date
Application number
TW105102318A
Other languages
Chinese (zh)
Other versions
TW201727650A (en
Inventor
陳宗仁
Original Assignee
華邦電子股份有限公司
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 華邦電子股份有限公司 filed Critical 華邦電子股份有限公司
Priority to TW105102318A priority Critical patent/TWI581270B/en
Application granted granted Critical
Publication of TWI581270B publication Critical patent/TWI581270B/en
Publication of TW201727650A publication Critical patent/TW201727650A/en

Links

Landscapes

  • Read Only Memory (AREA)

Description

資料抹除方法 Data erasure method

本發明係有關於一種資料抹除方法,特別是有關於一種用於快閃記憶體的資料抹除方法。 The present invention relates to a data erasing method, and more particularly to a data erasing method for flash memory.

一般而言,快閃記憶體(例如NOR快閃記憶體)在執行抹除操作時,會伴隨著執行後編程(post-program)操作以消除抹除操作的過度抹除所導致在位元線上的漏電現象。但是,當系統的電源在執行抹除或是後編程操作的期間關閉時,漏電現象將可能無法完全消除。因此,發展出藉由減少每一記憶體區域(sector)的抹除尺寸(即一次資料抹除所對應的字元線數量)來降低漏電現象發生的機率。舉例來說,一記憶體區域包括16條字元線,而每一次的資料抹除是透過4條字元線來完成。如此一來,對於此記憶體區域的抹除操作,則需要透過4次資料抹除來實現。然而,減少抹除尺寸將會延長了每一次抹除操作的時間。因此,如何能以適當的抹除尺寸來進行抹除操作並能減少漏電現象,在記憶體裝置的技術領域中是個重要的議題。 In general, flash memory (such as NOR flash memory) is accompanied by a post-program operation to eliminate the over-erase of the erase operation on the bit line when performing the erase operation. Leakage phenomenon. However, when the system's power supply is turned off during the erase or post-program operation, the leakage may not be completely eliminated. Therefore, it has been developed to reduce the probability of occurrence of leakage by reducing the erase size of each memory sector (i.e., the number of word lines corresponding to one data erase). For example, a memory area includes 16 word lines, and each data erase is done through 4 word lines. In this way, the erasing operation of the memory area needs to be realized by 4 times of data erasing. However, reducing the erase size will lengthen the time of each erase operation. Therefore, how to perform the erase operation with an appropriate erase size and reduce the leakage phenomenon is an important issue in the technical field of the memory device.

因此,本發明提供一種資料抹除方法,用於一記憶體裝置。此記憶體裝置包括配置成一記憶體陣列的複數記憶胞、複數字元線、以及複數位元線。每一記憶胞耦接一組交錯 的字元線與位元線。記憶胞劃分成複數記憶體區域,且每一記憶體區域中的記憶胞對應一既定數量的字元線。此資料抹除方法包括以下步驟:初始設定關於抹除操作的字元線數量;執行字元線選取操作,以根據字元線數量來選取目標記憶體區域中一字元線組來作為目標字元線組;透過一抹除脈波來對耦接目標字元線組的記憶胞進行抹除操作;選取目標字元線組中一字元線來做為目摽字元線,並依序對其所有位元組所耦接的多個記憶胞進行抹除驗證;判斷對目標字元線的所有位元組執行的抹除驗證是否皆成功;當判斷出任一抹除驗證未成功時,對記憶體陣列的所有位元線依序進行過度抹除驗證;判斷是否曾執行過未通過過度抹除驗證而導致的軟編程操作;當判斷出尚未執行過軟編程操作時,判斷字元線數量是否小於一最大數量;以及當判斷出字元線數量小於最大數量時,增加字元線數量,以重新執行字元線選取操作。 Accordingly, the present invention provides a data erasing method for a memory device. The memory device includes a plurality of memory cells, complex digital lines, and complex bit lines configured as a memory array. Each memory cell is coupled to a set of interlaces The word line and the bit line. The memory cell is divided into a plurality of memory regions, and the memory cells in each memory region correspond to a predetermined number of word lines. The data erasing method comprises the steps of: initially setting the number of word lines for the erasing operation; performing a character line selecting operation to select a character line group in the target memory area as the target word according to the number of character lines. a line group; erasing the memory cells coupled to the target word line group by erasing the pulse wave; selecting a word line in the target word line group as the target word line, and sequentially Erasing verification is performed on a plurality of memory cells coupled to all of the byte groups; determining whether erasure verification performed on all the byte groups of the target word line is successful; when it is determined that any erasure verification is unsuccessful, the memory is All bit lines of the body array are sequentially subjected to over-erase verification; it is judged whether the soft programming operation caused by the over-erase verification has been performed; when it is judged that the soft programming operation has not been performed, it is determined whether the number of word lines is Less than a maximum number; and when it is determined that the number of word lines is less than the maximum number, the number of word lines is increased to re-execute the word line selection operation.

本發明提供另一種資料抹除方法,用於一記憶體裝置。此記憶體裝置包括配置成一記憶體陣列的複數記憶胞、複數字元線、以及複數位元線。每一記憶胞耦接一組交錯的字元線與位元線。記憶胞劃分成複數記憶體區域,且每一記憶體區域中的記憶胞對應一既定數量的字元線。此資料抹除方法包括以下步驟:初始設定關於抹除操作的字元線數量;執行字元線選取操作,以根據字元線數量來選取目標記憶體區域中一字元線組來作為目標字元線組;透過一抹除脈波來對耦接目標字元線組的記憶胞進行抹除操作;選取目摽字元線組中的一目標字元線,並依序對其所有位元組耦接的多個記憶胞進行抹除驗 證;判斷對目標字元線的所有位元組執行的抹除驗證是否皆成功;當判斷出任一抹除驗證未成功時,對記憶體陣列的所有位元線依序進行過度抹除驗證;判斷是否曾執行過未通過過度抹除驗證而導致的軟編程操作;當判斷出尚未執行過軟編程操作時,判斷抹除脈波的電壓值是否小於一最大值或判斷抹除脈波的脈波寬度是否小於一最大寬度;當判斷出抹除脈波的電壓值小於最大值或判斷出抹除脈波的脈波寬度小於最大寬度時,增加電壓值或增加脈波寬度,以重新執行抹除操作;當判斷出抹除脈波的電壓值並非小於最大值或判斷出抹除脈波的脈波寬度並非小於最大寬度時,判斷字元線數量是否小於一最大數量;當判斷出字元線數量小於最大數量時,增加字元線數量,以重新執行字元線選取操作。 The present invention provides another data erasing method for a memory device. The memory device includes a plurality of memory cells, complex digital lines, and complex bit lines configured as a memory array. Each memory cell is coupled to a set of interlaced word lines and bit lines. The memory cell is divided into a plurality of memory regions, and the memory cells in each memory region correspond to a predetermined number of word lines. The data erasing method comprises the steps of: initially setting the number of word lines for the erasing operation; performing a character line selecting operation to select a character line group in the target memory area as the target word according to the number of character lines. a line group; erasing the memory cells coupled to the target word line group by erasing the pulse wave; selecting a target word line in the target word line group, and sequentially all the bytes thereof Multiple memory cells coupled for erasing Determining whether the erasure verification performed on all the tuples of the target word line is successful; when it is judged that any erasure verification is unsuccessful, all the bit lines of the memory array are sequentially over-erased and verified; Whether the soft programming operation caused by the over-erase verification has been performed; when it is judged that the soft programming operation has not been performed, it is judged whether the voltage value of the erased pulse wave is less than a maximum value or the pulse wave of the erased pulse wave is judged Whether the width is less than a maximum width; when it is judged that the voltage value of the erase pulse wave is less than the maximum value or the pulse width of the erase pulse wave is less than the maximum width, increase the voltage value or increase the pulse width to re-execute the erase Operation; when it is determined that the voltage value of the erase pulse wave is not less than the maximum value or it is determined that the pulse width of the erase pulse wave is not less than the maximum width, it is determined whether the number of word lines is less than a maximum number; when the word line is determined When the number is less than the maximum number, increase the number of word lines to re-execute the word line selection operation.

1‧‧‧記憶體裝置 1‧‧‧ memory device

10‧‧‧記憶體陣列 10‧‧‧ memory array

11‧‧‧位址解碼器 11‧‧‧ Address Decoder

12‧‧‧寫入/讀取電路 12‧‧‧Write/read circuit

100‧‧‧記憶胞 100‧‧‧ memory cells

BL0-BLY‧‧‧位元線 BL0-BLY‧‧‧ bit line

S0~SN‧‧‧記憶體區域 S0~SN‧‧‧ memory area

WL0-WLX‧‧‧字元線 WL0-WLX‧‧‧ character line

S200...S223‧‧‧方法步驟 S200...S223‧‧‧ method steps

S316...S323‧‧‧方法步驟 S316...S323‧‧‧ method steps

第1圖表示記憶體裝置的一示範例。 Fig. 1 shows an example of a memory device.

第2A、2B圖表示根據本發明一實施例,用於記憶體裝置的控制方法。 2A and 2B are views showing a control method for a memory device according to an embodiment of the present invention.

第3A、3B圖表示根據本發明另一實施例,用於記憶體裝置的控制方法。 3A, 3B are diagrams showing a control method for a memory device in accordance with another embodiment of the present invention.

為使本發明之上述目的、特徵和優點能更明顯易懂,下文特舉一較佳實施例,並配合所附圖式,作詳細說明如下。 The above described objects, features and advantages of the present invention will become more apparent from the description of the appended claims.

第1圖係表示根據本發明一實施例的記憶體裝 置。參閱第1圖,記憶體裝置1包括記憶體陣列10、位址解碼器11、寫入/讀取電路12、以及控制器13。記憶體陣列10包括複數字元線WL0-WLX、複數位元線BL0-BLY、配置成複數行與複數列的複數記憶胞100。字元線WL0-WLX與位元線BL0-BLY相互交錯,且每一記憶胞100耦接一組交錯的字元線與位元線。這些記憶胞100劃分成多個記憶體區域(sector)S0~SN。每一記憶體區域S0-SN包括耦接既定數量的字元線的記憶胞。舉例來說,每一記憶體區域S0-SN包括耦接16條字線上記憶胞。位址解碼器11接收到來自控制器13的位址信號時,寫入/讀取電路12則配合位址解碼器11來將對選取的記憶胞進行讀取與寫入操作。控制器13可根據過度抹除驗證的結果來改變抹除操作的執行參數,以消除抹除操作的過度抹除所導致在位元線上的漏電現象。在本發明實施例中,記憶體裝置1為一快閃記憶體。 1 is a view showing a memory device according to an embodiment of the present invention. Set. Referring to FIG. 1, the memory device 1 includes a memory array 10, an address decoder 11, a write/read circuit 12, and a controller 13. The memory array 10 includes complex digital element lines WL0-WLX, complex bit lines BL0-BLY, and complex memory cells 100 arranged in a plurality of rows and a complex column. The word lines WL0-WLX and the bit lines BL0-BLY are interleaved with each other, and each memory cell 100 is coupled to a set of interleaved word lines and bit lines. These memory cells 100 are divided into a plurality of memory regions S0 to SN. Each memory region S0-SN includes a memory cell coupled to a predetermined number of word lines. For example, each memory region S0-SN includes a memory cell coupled to 16 word lines. When the address decoder 11 receives the address signal from the controller 13, the write/read circuit 12 cooperates with the address decoder 11 to perform a read and write operation on the selected memory cell. The controller 13 can change the execution parameters of the erase operation according to the result of the over-erase verification to eliminate the leakage phenomenon on the bit line caused by the excessive erase of the erase operation. In the embodiment of the present invention, the memory device 1 is a flash memory.

第2A、2B圖係表示根據本發明一實施例的資料抹除方法。此方式是當記憶體裝置1執行複數抹除操作時所採用的資料抹除方法。當控制器13選取一個記憶體區域做為目標記憶體區域時,是分次地透過至少一抹除脈波來對耦接該記憶體區域的記憶胞進行資料抹除。舉例來說,每一記憶體區域包括16條字元線,每一次的抹除操作是對耦接4條字元線的記憶胞進行資料抹除。因此,對於一記憶體區域而言,需要執行4次抹除操作。在本發明實施例中,上述每一次資料抹除所對應的字元線數量N(即4條,N=4),則稱為關於抹除操作的字元線數量N(以下簡稱為字元線數量N)。在其他實施例中,字元線 數量N可以為4條或8條或16條或以上。 2A and 2B are diagrams showing a data erasing method according to an embodiment of the present invention. This mode is a data erasing method employed when the memory device 1 performs a plurality of erase operations. When the controller 13 selects a memory region as the target memory region, the memory cells coupled to the memory region are erased by the at least one erase pulse. For example, each memory region includes 16 word lines, and each erase operation performs data erasing on the memory cells coupled to the four word lines. Therefore, for a memory area, 4 erase operations need to be performed. In the embodiment of the present invention, the number N of the word lines corresponding to each data erasing (ie, 4 pieces, N=4) is referred to as the number N of character lines regarding the erasing operation (hereinafter referred to as a character element). The number of lines N). In other embodiments, the word line The number N can be 4 or 8 or 16 or more.

請同時參閱第1、2A、及2B圖,首先,控制器13對記憶體陣列10中的一目標記憶體區域執行預編程操作(步驟S200),以將目標記憶體區域中的所有記憶胞編程為邏輯位準”0”。接著,控制器13也將字元線數量N初始設定為預設值N0,且將用於抹除操作的抹除脈波的電壓值V初始設定為預設值V0並將抹除脈波的脈波寬度T初始設定為預設值T0(設定N=N0、V=V0、T=T0)(步驟S201)。在其他實施例中,步驟S200與S201可互相交換,即可以先執行步驟S201再執行S200。之後,控制器13根據位址信號Addx以及字元線數量N(此時N=N0)來執行一字元線選取操作,以選取一目標記憶體區域中的一目標字元線組(即選取具有N0條字元線的一組字元線)(步驟S202)。控制器13根據電壓值V(此時V=V0)與脈波寬度T(此時T=T0)來對耦接目標字元線組的所有記憶胞進行抹除操作(步驟S203),也就是,控制器13透過寫入/讀取電路12而以具有電壓值V與脈波寬度T的抹除脈波來將信號寫入目標字元線組所對應的複數記憶胞,即將目標字元線組所對應的複數記憶胞編程為邏輯位準”1”。在對目標字元線組進行抹除操作後,控制器13選取目標字元線組中的第一條字元線作為目標字元線並控制寫入/讀取電路12以位元組為單位依序對目標字元線的所有位元組所耦接的多個記憶胞讀取信號以執行抹除驗證,並判斷抹除驗證是否成功(步驟S204)。當位元組中的多個記憶胞讀出的信號皆為邏輯位準”1”時,控制器13則判斷抹除驗證成功。控制器13接著判斷目標字元線中的所有位元組是 否皆抹驗證成功(步驟S205)。若目標字元線中的所有位元組皆通過抹除驗證,控制器13接著判斷目標字元線的位址是否已經到達目標字元線組的最後位址(步驟S206)。若尚未到達最後位址,控制器13則選取下一字元線以作為目標字元線(步驟S207),且方法回到步驟S204繼續進行抹除驗證。 Please refer to the figures 1, 2A, and 2B at the same time. First, the controller 13 performs a pre-program operation on a target memory region in the memory array 10 (step S200) to program all the memory cells in the target memory region. The logic level is “0”. Next, the controller 13 also initially sets the number of word lines N to the preset value N0, and initially sets the voltage value V of the erase pulse for the erase operation to the preset value V0 and erases the pulse wave. The pulse width T is initially set to a preset value T0 (set N = N0, V = V0, T = T0) (step S201). In other embodiments, steps S200 and S201 can be exchanged with each other, that is, step S201 can be performed first and then S200 can be performed. Thereafter, the controller 13 performs a word line selection operation according to the address signal Addx and the number of word lines N (N=N0 at this time) to select a target word line group in a target memory area (ie, select A set of word lines having N0 word lines) (step S202). The controller 13 performs an erase operation on all the memory cells coupled to the target word line group according to the voltage value V (V=V0 at this time) and the pulse width T (at this time T=T0) (step S203), that is, The controller 13 writes a signal to the complex memory cell corresponding to the target word line group by the erase pulse wave having the voltage value V and the pulse width T through the write/read circuit 12, that is, the target word line The complex memory cells corresponding to the group are programmed to logic level "1". After erasing the target word line group, the controller 13 selects the first word line in the target word line group as the target word line and controls the write/read circuit 12 in units of bytes. A plurality of memory cells coupled to all the byte groups of the target word line are sequentially read to perform erasure verification, and it is judged whether or not the erase verification is successful (step S204). When the signals read by the plurality of memory cells in the byte are all logic level "1", the controller 13 determines that the erase verification is successful. Controller 13 then determines that all of the bytes in the target word line are Otherwise, the verification is successful (step S205). If all the bytes in the target word line are verified by erasing, the controller 13 then determines whether the address of the target word line has reached the last address of the target word line group (step S206). If the last address has not been reached, the controller 13 selects the next word line as the target word line (step S207), and the method returns to step S204 to continue the erase verification.

若已經到達最後位址時,控制器13則對耦接目標字元線組的所有記憶胞執行後編程操作(步驟S208)以消除抹除操作的過度抹除所導致在位元線上的漏電現象,即對目標字元線組執行過度抹除驗證以及軟編程操作。之後,控制器13判斷目標字元線組的位址是否已到達目標記憶體區域的最後位址(步驟S209)。若尚未到達最後位址,控制器13則設定Addx=Addx+N(步驟S210),且方法回到步驟S202來執行下一次的字元線選取操作,以選取目標記憶體區域中的另一字元線組以作為目標字元線組。若已到達最後位址,則此方法結束(步驟S211)。 If the last address has been reached, the controller 13 performs a post-program operation on all the memory cells coupled to the target word line group (step S208) to eliminate the leakage on the bit line caused by the excessive erasing of the erase operation. That is, excessive erase verification and soft programming operations are performed on the target word line group. Thereafter, the controller 13 determines whether the address of the target word line group has reached the last address of the target memory area (step S209). If the last address has not been reached, the controller 13 sets Addx=Addx+N (step S210), and the method returns to step S202 to perform the next character line selection operation to select another word in the target memory area. The meta-line group is used as the target character line group. If the last address has been reached, the method ends (step S211).

在一實施例中,當在步驟S205中控制器13判斷出目標字元線中的任一位元組抹除驗證未成功時,控制器13則逐一對記憶體陣列10中的所有位元線BL0-BLY執行過度抹除驗證,以偵測位元線BL0-BLY上是否有漏電。詳細而言,控制器13對記憶體陣列10中的一目標位元線執行過度抹除驗證(步驟S212A)並判斷驗證是否成功(步驟S212B)。當控制器13判斷出過度抹除驗證不成功時,控制器13則進一步界定驗證失敗的記憶胞,並對驗證失敗的記憶胞執行軟編程操作(步驟S212C),以調整該記憶胞的臨界電壓值。在執行步驟S212C的 軟編程操作之後,方法回到步驟S212A,控制器13再次對目標位元線執行過度抹除驗證,並再次判斷驗證是否成功。當控制器13判斷出過度抹除驗證成功時,控制器13判斷目標位元線是否為最後一條位元線(步驟S212D)。當控制器13判斷出目標位元線並非為最後一條位元線時,控制器13選取下一位元線以作為目標位元線(步驟S212E),且方法回到步驟S212A。當控制器13判斷出目標位元線為最後一條位元線時,控制器13則判斷是否已執行過步驟S212C的軟編程操作(步驟S215)。根據上述,控制器13逐一對所有位元線執行過度抹除驗證。當某一位元線未通過過度抹除驗證時,則進一步界定驗證失敗的記憶胞,並對其執行軟編程操作,以調整該記憶胞的臨界電壓值。 In an embodiment, when the controller 13 determines in step S205 that any of the byte erase verifications in the target word line is unsuccessful, the controller 13 selects all the bit lines in the memory array 10 one by one. BL0-BLY performs over-erase verification to detect if there is any leakage on the bit line BL0-BLY. In detail, the controller 13 performs over-erase verification on a target bit line in the memory array 10 (step S212A) and judges whether or not the verification is successful (step S212B). When the controller 13 determines that the over-erase verification is unsuccessful, the controller 13 further defines the memory cell that failed the verification, and performs a soft programming operation on the memory cell that failed the verification (step S212C) to adjust the threshold voltage of the memory cell. value. At step S212C After the soft programming operation, the method returns to step S212A, and the controller 13 performs over-erase verification on the target bit line again, and again determines whether the verification is successful. When the controller 13 judges that the over-erase verification is successful, the controller 13 judges whether or not the target bit line is the last bit line (step S212D). When the controller 13 judges that the target bit line is not the last bit line, the controller 13 selects the next bit line as the target bit line (step S212E), and the method returns to step S212A. When the controller 13 judges that the target bit line is the last bit line, the controller 13 judges whether or not the soft program operation of step S212C has been performed (step S215). According to the above, the controller 13 performs over-erase verification on a pair of all bit lines. When a bit line is not verified by over-erase, the memory cell that failed the verification is further defined, and a soft programming operation is performed thereon to adjust the threshold voltage value of the memory cell.

當控制器13判斷出曾執行過步驟S212C的軟編程操作時,控制器13則判斷目前的字元線數量N是否大於最小值Nmin(N>Nmin?)(步驟S216)。當控制器判斷出目前的字元線數量N大於最小值Nmin時,控制器13則減少字元線數量N使其等於N2(N=N2)(步驟S217)。接著,方法回到步驟S202,控制器13再次執行字元線的選取操作,以根據位址信號Addx以及改變過的字元線數量N(此時N=N2)來調整原本的目標字元線組中的字元線數量(即重新根據位址信號Addx選取具有N2條字元線的一字元線組來做為目標字元線組)。當控制器13判斷出目前的字元線數量N並非大於最小值Nmin時,控制器13判斷電壓值V是否大於最小值Vmin或判斷脈波寬度T是否大於最小值Tmin(V>Vmin或T>Tmin?)(步驟S218)。當控制器13判斷出電壓值V大於最小值Vmin或判斷出脈波寬度T大於最小值 Tmin時,控制器13則減少電壓值V使其等於V2或者減少脈波寬度T使其等於T2(步驟S219)。接著,方法回到步驟S202,控制器13先根據位址信號Addx及字元線數量N(此時N=N0)選取目標字元線組後(步驟S202),再根據改變過的電壓值V與脈波寬度T(此時V=V2或者T=T2)來對目標字元線組的所有記憶胞進行抹除操作(步驟S203)。此外,當控制器13判斷出電壓值V並非大於最小值Vmin或判斷出脈波寬度T並非大於最小值Tmin時,方法也回到步驟S202,此時,控制器13根據先根據位址信號Addx及原字元線數量N(此時N=N0)選取目標字元線組後(步驟S202),再根據原電壓值V與原脈波寬度T(此時V=V0且T=T0)來對目標字元線組的所有記憶胞進行抹除操作(步驟S203)。 When the controller 13 judges that the soft programming operation of step S212C has been performed, the controller 13 determines whether the current number of character lines N is greater than the minimum value Nmin (N > Nmin?) (step S216). When the controller determines that the current number of character lines N is greater than the minimum value Nmin, the controller 13 decreases the number N of character lines to be equal to N2 (N = N2) (step S217). Next, the method returns to step S202, and the controller 13 performs the character line selection operation again to adjust the original target word line according to the address signal Addx and the changed number of word lines N (in this case, N=N2). The number of word lines in the group (ie, a string of word lines having N2 word lines is selected again as the target word line group according to the address signal Addx). When the controller 13 determines that the current number of character lines N is not greater than the minimum value Nmin, the controller 13 determines whether the voltage value V is greater than the minimum value Vmin or determines whether the pulse width T is greater than the minimum value Tmin (V>Vmin or T>). Tmin?) (step S218). When the controller 13 determines that the voltage value V is greater than the minimum value Vmin or determines that the pulse width T is greater than the minimum value At Tmin, the controller 13 reduces the voltage value V to be equal to V2 or reduces the pulse width T to be equal to T2 (step S219). Next, the method returns to step S202, and the controller 13 first selects the target word line group according to the address signal Addx and the number of word lines N (in this case, N=N0) (step S202), and then according to the changed voltage value V. The erase operation is performed on all the memory cells of the target word line group with the pulse width T (in this case, V = V2 or T = T2) (step S203). In addition, when the controller 13 determines that the voltage value V is not greater than the minimum value Vmin or determines that the pulse width T is not greater than the minimum value Tmin, the method also returns to step S202. At this time, the controller 13 according to the address signal Addx according to the address first. And after the number of original word lines N (N=N0 at this time), the target word line group is selected (step S202), and then according to the original voltage value V and the original pulse width T (at this time, V=V0 and T=T0) All memory cells of the target word line group are erased (step S203).

當控制器13判斷出未執行過步驟S212C的軟編程操作時,控制器13則判斷目前的字元線數量N是否小於最大值Nmax(N<Nmax?)(步驟S220)。當控制器13判斷出目前的字元線數量N小於最大值Nmax時,控制器13則增加字元線數量N使其等於N3(步驟S221)。接著,方法回到步驟S202,控制器13再次執行字元線的選取操作,以根據位址信號Addx以及改變過的字元線數量N(此時N=N3)來調整原本的目標字元線組中的字元線數量(即重新根據位址信號Addx選取具有N3條字元線的一組字元線來做為目標字元線組)。當控制器13判斷出目前的字元線數量N並非小於最大值Nmax,控制器13判斷電壓值V是否小於最大值Vmax或判斷脈波寬度T是否小於最大值Tmax(V<Vmax或T<Tmax?)(步驟S222)。當控制器13判斷出 電壓值V小於最大值Vmax或判斷出脈波寬度T小於最大值Tmax時,控制器13則增加電壓值V使其等於V3或者增加脈波寬度T使其等於T3(步驟S223)。接著,方法回到步驟S202,控制器13先根據位址信號Addx及字元線數量N(此時N=N0)選取目標字元線組後(步驟S202),再根據改變過的電壓值V與脈波寬度T(此時V=V3或者T=T3)來對目標字元線組的所有記憶胞進行抹除操作。此外,當控制器13判斷出電壓值V並非小於最大值Vmax或判斷出脈波寬度T並非小於最大值Tmax時,方法也回到步驟S202,此時,控制器13先根據位址信號Addx及原字元線數量N(此時N=N0)選取目標字元線組後(步驟S202),再根據原電壓值V與原脈波寬度T(此時V=V0且T=T0)來對目標字元線組的所有記憶胞進行抹除操作(步驟S203)。 When the controller 13 judges that the soft programming operation of step S212C has not been performed, the controller 13 determines whether the current number of character lines N is smaller than the maximum value Nmax (N < Nmax?) (step S220). When the controller 13 judges that the current number of character lines N is smaller than the maximum value Nmax, the controller 13 increments the number of word lines N to be equal to N3 (step S221). Next, the method returns to step S202, and the controller 13 performs the character line selection operation again to adjust the original target word line according to the address signal Addx and the changed number of word lines N (in this case, N=N3). The number of word lines in the group (ie, a set of word lines having N3 word lines are selected again as the target word line group according to the address signal Addx). When the controller 13 determines that the current number of character lines N is not smaller than the maximum value Nmax, the controller 13 determines whether the voltage value V is smaller than the maximum value Vmax or determines whether the pulse width T is smaller than the maximum value Tmax (V < Vmax or T < Tmax). ?) (step S222). When the controller 13 determines When the voltage value V is smaller than the maximum value Vmax or it is judged that the pulse width T is smaller than the maximum value Tmax, the controller 13 increases the voltage value V to be equal to V3 or increases the pulse width T to be equal to T3 (step S223). Next, the method returns to step S202, and the controller 13 first selects the target word line group according to the address signal Addx and the number of word lines N (in this case, N=N0) (step S202), and then according to the changed voltage value V. And erase the pulse width T (at this time V = V3 or T = T3) to erase all the memory cells of the target word line group. In addition, when the controller 13 determines that the voltage value V is not less than the maximum value Vmax or determines that the pulse width T is not less than the maximum value Tmax, the method also returns to step S202. At this time, the controller 13 first according to the address signal Addx and After the number of original word lines N (N=N0 at this time), the target word line group is selected (step S202), and then according to the original voltage value V and the original pulse width T (at this time, V=V0 and T=T0) All the memory cells of the target word line group perform an erase operation (step S203).

在逐一對記憶體陣列的所有位元線BL0-BLY執行過度抹除驗證的步驟S212A-S212E中,施加檢測電壓至被選取的字元線組,此時,控制器13檢測目標位元線上是否具電流,藉以判斷是否發生漏電現象。在本發明的實施例中,檢測電壓是大於0伏特的電壓。由於記憶體裝置1可能在不同的環境(例如,不同的環境溫度)下操作,同一檢測電壓在不同的操作環境下不一定都會導致漏電或者漏電程度不同。而大於0伏特的檢測電壓對於各種操作環境而言,相對地容易導致在位元線上發生漏電。因此,本案實施例採用大於0伏特的檢測電壓是為較嚴格的檢測漏電的條件。 In steps S212A-S212E of performing over-erase verification on all bit lines BL0-BLY of a pair of memory arrays, a detection voltage is applied to the selected word line group, and at this time, the controller 13 detects whether the target bit line is With current, to determine whether there is leakage. In an embodiment of the invention, the sense voltage is a voltage greater than 0 volts. Since the memory device 1 may operate in different environments (eg, different ambient temperatures), the same detection voltage may not necessarily cause leakage or a different degree of leakage under different operating environments. And a detection voltage greater than 0 volts is relatively easy to cause leakage on the bit line for various operating environments. Therefore, the embodiment of the present invention uses a detection voltage greater than 0 volts to be a more stringent condition for detecting leakage.

根據上述實施例,本案抹除操作所採用的字元線數量是可變的,其可隨著目前在位元線上漏電狀態而適應性的 增加或減少。如此一來,不僅可降低抹除操作導致漏電現象的機率,也可讓執行抹除操作所需的時間更能符合目前記憶體裝置1的操作狀態。 According to the above embodiment, the number of word lines used in the erase operation of the present invention is variable, which can be adaptive with the current leakage state on the bit line. increase or decrease. In this way, not only can the probability of leakage caused by the erasing operation be reduced, but also the time required to perform the erasing operation can be more consistent with the current operating state of the memory device 1.

第3A、3B圖係表示根據本發明另一實施例的資料抹除方法。第3A、3B圖的資料抹除方法與第2A、2B圖的資料抹除方法中相同的步驟係以相同的符號來表示。除了判斷是否曾執行的軟編程操作(步驟S215)之後的步驟以外,第3A、3B圖的資料抹除方法大致上具有與第2A、2B圖的資料抹除方法相同的步驟。相同的步驟S200-S215在此省略敘述。請同時參閱第1、3A、及3B圖,當在步驟S215中判斷出曾執行過步驟S212C的軟編程操作時,控制器13判斷電壓值V是否大於最小值Vmin或判斷脈波寬度T是否大於最小值Tmin(V>Vmin或T>Tmin?)(步驟S316)。當控制器13判斷出電壓值V大於最小值Vmin或判斷出脈波寬度T大於最小值Tmin時,控制器13則減少電壓值V使其等於V2或者減少脈波寬度T使其等於T2(步驟S317)。接著,方法回到步驟S202,控制器13先根據位址信號Addx及字元線數量N(此時N=N0)選取目標字元線組後(步驟S202),再根據改變過的電壓值V與脈波寬度T(此時V=V2或者T=T2)來對目標字元線組的所有記憶胞進行抹除操作。當控制器13判斷出電壓值V並非大於最小值Vmin或判斷出脈波寬度T大於最小值Tmin時,控制器13則判斷目前的字元線數量N是否大於最小值Nmin(N>Nmin?)(步驟S318)。當控制器13判斷出目前的字元線數量N大於最小值Nmin,控制器13則減少字元線數量N使其等於N2(步驟S319)。接著,方法回到步驟S202, 控制器13再次執行字元線的選取操作,以根據位址信號Addx以及改變過的字元線數量N(此時N=N2)來調整原本的目標字元線組中的字元線數量(即重新根據位址信號Addx選取具有N2條字元線的一組字元線來做為目標字元線組)。此外,當控制器13判斷出目前的字元線數量N並非大於最小值Nmin時,方法也回到步驟S202,此時,控制器13先根據位址信號Addx及原字元線數量N(此時N=N0)選取目標字元線組後(步驟S202),再根據原電壓值V與原脈波寬度T(此時V=V0且T=T0)來對目標字元線組的所有記憶胞進行抹除操作(步驟S203)。 3A, 3B are diagrams showing a data erasing method according to another embodiment of the present invention. The data erase method of FIGS. 3A and 3B is the same as the data erase method of FIGS. 2A and 2B, and the same steps are denoted by the same symbols. The data erasing method of FIGS. 3A and 3B has substantially the same steps as the data erasing method of FIGS. 2A and 2B except for the steps subsequent to the soft programming operation (step S215). The same steps S200-S215 are omitted here. Please refer to the figures 1 , 3A, and 3B at the same time. When it is determined in step S215 that the soft programming operation of step S212C has been performed, the controller 13 determines whether the voltage value V is greater than the minimum value Vmin or determines whether the pulse width T is greater than or greater than The minimum value Tmin (V>Vmin or T>Tmin?) (step S316). When the controller 13 determines that the voltage value V is greater than the minimum value Vmin or determines that the pulse width T is greater than the minimum value Tmin, the controller 13 decreases the voltage value V to be equal to V2 or reduces the pulse width T to be equal to T2 (step S317). Next, the method returns to step S202, and the controller 13 first selects the target word line group according to the address signal Addx and the number of word lines N (in this case, N=N0) (step S202), and then according to the changed voltage value V. The erase operation is performed on all the memory cells of the target word line group with the pulse width T (in this case, V = V2 or T = T2). When the controller 13 determines that the voltage value V is not greater than the minimum value Vmin or determines that the pulse width T is greater than the minimum value Tmin, the controller 13 determines whether the current number of character lines N is greater than the minimum value Nmin (N>Nmin?) (Step S318). When the controller 13 judges that the current number of character lines N is greater than the minimum value Nmin, the controller 13 decreases the number N of character lines to be equal to N2 (step S319). Then, the method returns to step S202, The controller 13 performs the character line selection operation again to adjust the number of word lines in the original target character line group according to the address signal Addx and the changed number of word lines N (in this case, N=N2) ( That is, a group of word lines having N2 word lines are selected again as the target word line group according to the address signal Addx. In addition, when the controller 13 determines that the current number of character lines N is not greater than the minimum value Nmin, the method also returns to step S202. At this time, the controller 13 first according to the address signal Addx and the number of original word lines N (this When N=N0) selects the target word line group (step S202), and then according to the original voltage value V and the original pulse width T (at this time, V=V0 and T=T0), all the memory of the target character line group. The cell performs an erase operation (step S203).

當在步驟S215中控制器13判斷出未執行過步驟S212C的軟編程操作時,控制器13判斷電壓值V是否小於最大值Vmax或判斷脈波寬度T是否小於最大值Tmax(V<Vmax或T<Tmax?)(步驟S320)。當控制器13判斷出電壓值V小於最大值Vmax或判斷出脈波寬度T小於最大值Tmax時,控制器13則增加電壓值V使其等於V3或者增加寬度T使其等於T3(步驟S321)。接著,方法回到步驟S202,控制器13先根據位址信號Addx及字元線數量N(此時N=N0)選取目標字元線組後(步驟S202),再根據改變過的電壓值V與脈波寬度T(此時V=V3或者T=T3)來對耦接目標字元線組的所有記憶胞進行抹除操作。當控制器13判斷出電壓值V並非小於最大值Vmax或判斷出脈波寬度T並非小於最大值Tmax時,控制器13則判斷目前的字元線數量N是否小於最大值Nmax(N<Nmax?)(步驟S322)。當控制器13判斷出目前的字元線數量N小於最大值Nmax時,控制器13則增加字元線數量N使其等於N3(步驟S323)。接著,方法回 到步驟S202,控制器13再次執行字元線的選取操作,以根據位址信號Addx以及改變過的字元線數量N(此時N=N3)來調整原本的目標字元線組中的字元線數量(即重新根據位址信號Addx選取具有N3條字元線的一組字元線來作為目標字元線組)。此外,當控制器13判斷出目前的字元線數量N並非小於最大值Nmax時,方法也回到步驟S202,此時,控制器13先根據位址信號Addx及原字元線數量N(此時N=N0)選取目標字元線組後(步驟S202),再根據原電壓值V與原脈波寬度T(此時V=V0且T=T0)來對目標字元線組的所有記憶胞進行抹除操作(步驟S203)。 When the controller 13 determines in step S215 that the soft programming operation of step S212C has not been performed, the controller 13 determines whether the voltage value V is smaller than the maximum value Vmax or determines whether the pulse width T is smaller than the maximum value Tmax (V < Vmax or T). <Tmax?) (step S320). When the controller 13 determines that the voltage value V is smaller than the maximum value Vmax or determines that the pulse width T is smaller than the maximum value Tmax, the controller 13 increases the voltage value V to be equal to V3 or increases the width T to be equal to T3 (step S321). . Next, the method returns to step S202, and the controller 13 first selects the target word line group according to the address signal Addx and the number of word lines N (in this case, N=N0) (step S202), and then according to the changed voltage value V. With the pulse width T (in this case, V = V3 or T = T3), all the memory cells coupled to the target word line group are erased. When the controller 13 determines that the voltage value V is not less than the maximum value Vmax or determines that the pulse width T is not less than the maximum value Tmax, the controller 13 determines whether the current number of character lines N is smaller than the maximum value Nmax (N < Nmax? (Step S322). When the controller 13 judges that the current number of character lines N is smaller than the maximum value Nmax, the controller 13 increments the number N of character lines to be equal to N3 (step S323). Then, the method is back Go to step S202, the controller 13 performs the character line selection operation again to adjust the words in the original target character line group according to the address signal Addx and the changed number of word lines N (in this case, N=N3). The number of element lines (ie, a set of word lines having N3 word lines are selected as the target word line group according to the address signal Addx). In addition, when the controller 13 determines that the current number of character lines N is not less than the maximum value Nmax, the method also returns to step S202. At this time, the controller 13 first according to the address signal Addx and the number of original word lines N (this When N=N0) selects the target word line group (step S202), and then according to the original voltage value V and the original pulse width T (at this time, V=V0 and T=T0), all the memory of the target character line group. The cell performs an erase operation (step S203).

本發明雖以較佳實施例揭露如上,然其並非用以限定本發明的範圍,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可做些許的更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。 The present invention has been disclosed in the above preferred embodiments, and is not intended to limit the scope of the present invention. Any one of ordinary skill in the art can make a few changes without departing from the spirit and scope of the invention. The scope of protection of the present invention is therefore defined by the scope of the appended claims.

S200...S223‧‧‧方法步驟 S200...S223‧‧‧ method steps

Claims (12)

一種資料抹除方法,用於一記憶體裝置,該記憶體裝置包括配置成一記憶體陣列的複數記憶胞、複數字元線、以及複數位元線,每一該記憶胞耦接一組交錯的該字元線與該位元線,該等記憶胞劃分成複數記憶體區域,且每一該記憶體區域中的該等記憶胞對應一既定數量的該等字元線,該資料抹除方法包括:初始設定關於一抹除操作的一字元線數量;執行一字元線選取操作,以根據該字元線數量來選取一目標記憶體區域中一字元線組來作為一目標字元線組;透過一抹除脈波來對耦接該目標字元線組的該等記憶胞進行該抹除操作;選取該目標字元線組中一字元線來做為一目摽字元線,並依序對其所有位元組所耦接的多個記憶胞進行一抹除驗證;判斷對該目標字元線的所有位元組執行的該等抹除驗證是否皆成功;當判斷出任一該等抹除驗證未成功時,對記憶體陣列的所有位元線依序進行一過度抹除驗證;判斷是否曾執行過未通過該等過度抹除驗證而導致的一軟編程操作;當判斷出尚未執行過該軟編程操作時,判斷該字元線數量是否小於一最大數量;以及當判斷出該字元線數量小於該最大數量時,增加該字元線 數量,以重新執行該字元線選取操作。 A data erasing method for a memory device, the memory device comprising a plurality of memory cells, a complex digital element line, and a plurality of bit lines configured as a memory array, each of the memory cells coupled to a set of interlaced The word line and the bit line, the memory cells are divided into a plurality of memory regions, and each of the memory cells in the memory region corresponds to a predetermined number of the word lines, and the data erasing method The method includes: initially setting a number of word lines for an erasing operation; performing a word line selecting operation to select a character line group in a target memory area as a target word line according to the number of the word lines; The erase operation is performed on the memory cells coupled to the target word line group by a wipe pulse wave; a word line in the target word line group is selected as a target word line, and Performing a erase verification on a plurality of memory cells coupled to all of the bytes in sequence; determining whether the erase verification performed on all the byte groups of the target word line is successful; When the erase verification is not successful, All the bit lines of the memory array are sequentially subjected to an over-erase verification; it is judged whether a soft programming operation that has not been performed by the excessive erase verification has been performed; when it is judged that the soft programming operation has not been performed, Determining whether the number of character lines is less than a maximum number; and when determining that the number of character lines is less than the maximum number, increasing the word line Quantity to re-execute the character line selection operation. 如申請專利範圍第1項所述之資料抹除方法,更包括:當判斷出該字元線數量並非小於該最大數量時,判斷該抹除脈波的一電壓值是否小於一最大值或判斷該抹除脈波的一脈波寬度是否小於一最大寬度;以及當判斷出該抹除脈波的該電壓值小於該最大值或判斷出該抹除脈波的該脈波寬度小於該最大寬度時,增加該電壓值或增加該脈波寬度,以重新執行該抹除操作。 The method for erasing data as described in claim 1 further includes: determining whether a voltage value of the erased pulse wave is less than a maximum value or determining when the number of the word line is not less than the maximum number. Whether a pulse width of the erase pulse wave is less than a maximum width; and determining that the voltage value of the erase pulse wave is less than the maximum value or determining that the pulse wave width of the erase pulse wave is less than the maximum width When the voltage value is increased or the pulse width is increased, the erase operation is re-executed. 如申請專利範圍第1項所述之資料抹除方法,更包括:當判斷出曾執行過該軟編程操作時,判斷該字元線數量是否大於一最小數量;以及當判斷出該字元線數量大於該最小數量時,減少該字元線數量,以重新執行該字元線選取操作。 The method for erasing data as described in claim 1 further includes: determining whether the number of the character lines is greater than a minimum number when determining that the soft programming operation has been performed; and determining the word line When the number is greater than the minimum number, the number of word lines is reduced to re-execute the word line selection operation. 如申請專利範圍第3項所述之資料抹除方法,更包括:當判斷出該字元線數量並非大於該最小數量時,判斷該抹除脈波的一電壓值是否大於一最小值或判斷該抹除脈波的一脈波寬度是否大於一最小寬度;以及當判斷出該抹除脈波的該電壓值大於該最小值或判斷出該抹除脈波的該脈波寬度大於該最小寬度時,減少該電壓值或減少該脈波寬度,以重新執行該抹除操作。 The method for erasing data as described in claim 3, further comprising: determining whether a voltage value of the erased pulse wave is greater than a minimum value or judging when determining that the number of the character line is not greater than the minimum number Whether a pulse width of the erase pulse wave is greater than a minimum width; and determining that the voltage value of the erase pulse wave is greater than the minimum value or determining that the pulse wave width of the erase pulse wave is greater than the minimum width At this time, the voltage value is reduced or the pulse width is reduced to re-execute the erase operation. 如申請專利範圍第1項所述之資料抹除方法,其中,當判斷出任一該等抹除驗證未成功時,對該記憶體陣列的所有位元線依序進行該過度抹除驗證的步驟包括:對該記憶體陣列的一目標位元線執行該過度抹除驗證; 判斷該過度抹除驗證是否成功;當判斷出該過度抹除驗證不成功時,界定過度抹除驗證失敗的該等記憶胞並對該等記憶胞進行該軟編程操作;當判斷出該過度抹除驗證成功時,判斷該目標位元線是否為該記憶體陣列的最後位元線;以及當判斷出該目標位元線並非為該記憶體陣列的最後位元線時,選取下一位元線以作為該目標位元線;其中,當判斷出該目標位元線為該記憶體陣列的最後位元線時,則執行判斷是否曾執行過該軟編程操作的步驟。 The data erasing method of claim 1, wherein when it is determined that any of the erasure verifications are unsuccessful, the step of performing the over-erasing verification on all the bit lines of the memory array is sequentially performed. The method includes: performing the over-erase verification on a target bit line of the memory array; Determining whether the over-wipe verification is successful; when it is determined that the over-erase verification is unsuccessful, defining the memory cells that have failed to erase the verification and performing the soft programming operation on the memory cells; when determining the over-wiping When the verification succeeds, it is determined whether the target bit line is the last bit line of the memory array; and when it is determined that the target bit line is not the last bit line of the memory array, the next bit is selected The line is taken as the target bit line; wherein, when it is determined that the target bit line is the last bit line of the memory array, a step of determining whether the soft programming operation has been performed is performed. 如申請專利範圍第1項所述之資料抹除方法,更包括:判斷出該等抹除驗證皆成功時,判斷該目標字元線的位址是否已經到達該目標字元線組的最後位址;以及當判斷出該目標字元線的位址尚未到達該目標字元線組的最後位址時,選取該目標字元線組的下一字元線,以做為該目標字元線。 The method for erasing data as described in claim 1 further includes: determining that the address of the target word line has reached the last bit of the target character line group when it is determined that the erasure verification is successful. And determining, when the address of the target word line has not reached the last address of the target character line group, selecting the next character line of the target character line group as the target word line . 如申請專利範圍第6項所述之資料抹除方法,更包括:當判斷出該目標字元線的位址已經到達該目標字元線組的最後位址時,對耦接該目標字元線組的該等記憶胞執行一後編程操作;判斷該目標字元線組的位址是否已到達該目標記憶體區域的最後位址;以及當判斷出該目標字元線組的位址尚未到達該目標記憶體區域的最後位址時,執行該字元線選取操作,以根據該字元線數量來選取該目標記憶體區域中另一字元線組以作為該 目標字元線組。 The data erasing method described in claim 6 further includes: when determining that the address of the target word line has reached the last address of the target character line group, coupling the target character The memory cells of the line group perform a post-program operation; determine whether the address of the target word line group has reached the last address of the target memory region; and when it is determined that the address of the target word line group has not yet been When the last address of the target memory area is reached, the character line selection operation is performed to select another character line group in the target memory area according to the number of the character lines as the Target character line group. 一種資料抹除方法,用於一記憶體裝置,該記憶體裝置包括配置成一記憶體陣列的複數記憶胞、複數字元線、以及複數位元線,每一該記憶胞耦接一組交錯的該字元線與該位元線,該等記憶胞劃分成複數記憶體區域,且每一該記憶體區域中的該等記憶胞對應一既定數量的該等字元線,該資料抹除方法包括:初始設定關於一抹除操作的一字元線數量;以及執行一字元線選取操作,以根據該字元線數量來選取一目標記憶體區域中一字元線組來作為一目標字元線組;透過一抹除脈波來對耦接該目標字元線組的該等記憶胞進行該抹除操作;選取該目摽字元線組中的一目標字元線,並依序對其所有位元組耦接的多個記憶胞進行一抹除驗證;判斷對該目標字元線的所有位元組執行的該等抹除驗證是否皆成功;當判斷出任一該等抹除驗證未成功時,對該記憶體陣列的所有位元線依序進行一過度抹除驗證;判斷是否曾執行過未通過該等過度抹除驗證而導致的一軟編程操作;當判斷出尚未執行過該軟編程操作時,判斷該抹除脈波的一電壓值是否小於一最大值或判斷該抹除脈波的一脈波寬度是否小於一最大寬度;當判斷出該抹除脈波的該電壓值小於該最大值或判斷出該 抹除脈波的該脈波寬度小於該最大寬度時,增加該電壓值或增加該脈波寬度,以重新執行該抹除操作;當判斷出該抹除脈波的該電壓值並非小於該最大值或判斷出該抹除脈波的該脈波寬度並非小於該最大寬度時,判斷該字元線數量是否小於一最大數量;當判斷出該字元線數量小於該最大數量時,增加該字元線數量,以重新執行該字元線選取操作。 A data erasing method for a memory device, the memory device comprising a plurality of memory cells, a complex digital element line, and a plurality of bit lines configured as a memory array, each of the memory cells coupled to a set of interlaced The word line and the bit line, the memory cells are divided into a plurality of memory regions, and each of the memory cells in the memory region corresponds to a predetermined number of the word lines, and the data erasing method The method includes: initially setting a number of word lines for an erasing operation; and performing a word line selecting operation to select a character line group in the target memory area as a target character according to the number of the word lines a line group; performing the erasing operation on the memory cells coupled to the target word line group by using a wipe pulse wave; selecting a target word line in the target word line group, and sequentially Performing a erase verification on a plurality of memory cells coupled to all of the byte groups; determining whether the erase verifications performed on all the byte groups of the target word line are successful; determining that any of the erase verifications are unsuccessful Memory array All the bit lines are sequentially subjected to an over-erase verification; it is judged whether a soft programming operation that has not been performed by the excessive erase verification has been performed; when it is judged that the soft programming operation has not been performed, the wipe is judged Whether or not a voltage value of the pulse wave is less than a maximum value or determining whether a pulse width of the erase pulse wave is less than a maximum width; and determining that the voltage value of the erase pulse wave is less than the maximum value or determining the When the width of the pulse wave of the erase pulse is less than the maximum width, increase the voltage value or increase the pulse width to re-execute the erase operation; when it is determined that the voltage value of the erase pulse is not less than the maximum And determining whether the pulse width of the erase pulse wave is not less than the maximum width, determining whether the number of the word lines is less than a maximum number; and when determining that the number of the word lines is less than the maximum number, increasing the word The number of meta lines to re-execute the character line selection operation. 如申請專利範圍第8項所述之資料抹除方法,更包括:當判斷出曾執行過該軟編程操作時,判斷該抹除脈波的該電壓值是否大於一最小值或判斷該抹除脈波的該脈波寬度是否大於一最小寬度;當判斷出該抹除脈波的該電壓值大於該最小值或判斷出該抹除脈波的該脈波寬度大於該最小寬度時,減少該該電壓值或減少該脈波寬度,以重新執行該抹除操作;當判斷出該抹除脈波的該電壓值並非大於該最小值或判斷出該抹除脈波的該脈波寬度並非大於該最小寬度時,判斷該字元線數量是否大於一最小數量;以及當判斷出該字元線數量大於該最小數量時,減少該字元線數量,以重新執行該字元線選取操作。 The method for erasing data as described in claim 8 further includes: determining whether the voltage value of the erase pulse wave is greater than a minimum value or determining the erase when determining that the soft programming operation has been performed. Whether the pulse width of the pulse wave is greater than a minimum width; when it is determined that the voltage value of the erase pulse wave is greater than the minimum value or determining that the pulse wave width of the erase pulse wave is greater than the minimum width, reducing the pulse width The voltage value or the pulse width is reduced to re-execute the erase operation; when it is determined that the voltage value of the erase pulse wave is not greater than the minimum value or the pulse width of the erase pulse wave is not greater than At the minimum width, it is determined whether the number of word lines is greater than a minimum number; and when it is determined that the number of word lines is greater than the minimum number, the number of word lines is reduced to re-execute the word line selection operation. 如申請專利範圍第8項所述之資料抹除方法,其中,當判斷出任一該等抹除驗證未成功時,對該記憶體陣列的所有位元線依序進行該過度抹除驗證的步驟包括:對該記憶體陣列的一目標位元線執行該過度抹除驗證;判斷該過度抹除驗證是否成功; 當判斷出該過度抹除驗證不成功時,界定過度抹除驗證失敗的該等記憶胞並對該等記憶胞進行該軟編程操作;當判斷出該過度抹除驗證成功時,判斷該目標位元線是否為該記憶體陣列的最後位元線;以及當判斷出該目標位元線並非為該記憶體陣列的最後位元線時,選取下一位元線以作為該目標位元線;其中,當判斷出該目標位元線為該記憶體陣列的最後位元線胞時,則執行判斷是否曾執行過未通過該過度抹除驗證而導致的該軟編程操作的步驟。 The data erasing method of claim 8, wherein when it is determined that any of the erasure verifications are unsuccessful, the step of performing the over-erasing verification on all the bit lines of the memory array is sequentially performed. The method includes: performing the excessive erase verification on a target bit line of the memory array; determining whether the excessive erase verification is successful; When it is determined that the over-erasing verification is unsuccessful, the memory cells that have failed to erase the verification failure are defined and the soft programming operation is performed on the memory cells; when it is determined that the excessive erase verification is successful, the target bit is determined. Whether the meta-line is the last bit line of the memory array; and when it is determined that the target bit line is not the last bit line of the memory array, the next bit line is selected as the target bit line; Wherein, when it is determined that the target bit line is the last bit line of the memory array, then a step of determining whether the soft programming operation caused by the excessive erase verification has been performed is performed. 如申請專利範圍第8項所述之控制方法,更包括:判斷出該等抹除驗證皆成功時,判斷該目標字元線的位址是否已經到達該目標字元線組的最後位址;以及當判斷出該目標字元線的位址尚未到達該目標字元線組的最後位址時,選取該第目標元線組的下一字元線,以做為該目標字元線。 The control method of claim 8 further includes: determining that the address of the target word line has reached the last address of the target character line group; And when it is determined that the address of the target word line has not reached the last address of the target character line group, the next character line of the first target element group is selected as the target word line. 如申請專利範圍第11項所述之資料抹除方法,更包括:當判斷出該目標字元線的位址已經到達該目標字元線組的最後位址時,對耦接該目標字元線組的該等記憶胞執行一後編程操作;判斷該目標字元線組的位址是否已到達該目標記憶體區域的最後位址;以及當判斷出該目標字元線組的位址尚未到達該目標記憶體區域的最後位址時,執行該字元線選取操作,以根據該字元線數量來選取該目標記憶體區域中另一字元線組以作為該 目標字元線組。 For example, the data erasing method described in claim 11 further includes: when determining that the address of the target word line has reached the last address of the target character line group, coupling the target character The memory cells of the line group perform a post-program operation; determine whether the address of the target word line group has reached the last address of the target memory region; and when it is determined that the address of the target word line group has not yet been When the last address of the target memory area is reached, the character line selection operation is performed to select another character line group in the target memory area according to the number of the character lines as the Target character line group.
TW105102318A 2016-01-26 2016-01-26 Data erasing methods TWI581270B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW105102318A TWI581270B (en) 2016-01-26 2016-01-26 Data erasing methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW105102318A TWI581270B (en) 2016-01-26 2016-01-26 Data erasing methods

Publications (2)

Publication Number Publication Date
TWI581270B true TWI581270B (en) 2017-05-01
TW201727650A TW201727650A (en) 2017-08-01

Family

ID=59367225

Family Applications (1)

Application Number Title Priority Date Filing Date
TW105102318A TWI581270B (en) 2016-01-26 2016-01-26 Data erasing methods

Country Status (1)

Country Link
TW (1) TWI581270B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5847999A (en) * 1996-09-13 1998-12-08 Samsung Electronics Co., Ltd. Integrated circuit memory devices having variable block size erase capability
US6591327B1 (en) * 1999-06-22 2003-07-08 Silicon Storage Technology, Inc. Flash memory with alterable erase sector size
US6850439B1 (en) * 2003-10-10 2005-02-01 Kabushiki Kaisha Toshiba Non-volatile semiconductor memory device with NAND string memory transistor controlled as block separation transistor
US20070247910A1 (en) * 2006-04-20 2007-10-25 Micron Technology, Inc. NAND erase block size trimming apparatus and method
US7542353B2 (en) * 2006-05-12 2009-06-02 Hynix Semiconductor Inc. Flash memory device and erase method thereof
US9224462B2 (en) * 2012-03-02 2015-12-29 Samsung Electronics Co., Ltd. Resistive memory device having defined or variable erase unit size

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5847999A (en) * 1996-09-13 1998-12-08 Samsung Electronics Co., Ltd. Integrated circuit memory devices having variable block size erase capability
US6591327B1 (en) * 1999-06-22 2003-07-08 Silicon Storage Technology, Inc. Flash memory with alterable erase sector size
US6850439B1 (en) * 2003-10-10 2005-02-01 Kabushiki Kaisha Toshiba Non-volatile semiconductor memory device with NAND string memory transistor controlled as block separation transistor
US20070247910A1 (en) * 2006-04-20 2007-10-25 Micron Technology, Inc. NAND erase block size trimming apparatus and method
US7542353B2 (en) * 2006-05-12 2009-06-02 Hynix Semiconductor Inc. Flash memory device and erase method thereof
US9224462B2 (en) * 2012-03-02 2015-12-29 Samsung Electronics Co., Ltd. Resistive memory device having defined or variable erase unit size

Also Published As

Publication number Publication date
TW201727650A (en) 2017-08-01

Similar Documents

Publication Publication Date Title
JP5072723B2 (en) Nonvolatile semiconductor memory device
JP5250117B2 (en) Adaptive erase and soft programming for memory
KR100992985B1 (en) Flash storage system with write/erase abort detection mechanism
JP5106817B2 (en) Flash memory device capable of improving reliability
JP4391941B2 (en) Method for reducing the effect of coupling between storage elements in adjacent rows of memory cells
US7821837B2 (en) Reprogrammable nonvolatile memory devices and methods
US6515908B2 (en) Nonvolatile semiconductor memory device having reduced erase time and method of erasing data of the same
TWI550619B (en) Memory circuit and operation thereof
US8929139B2 (en) Method and apparatus for leakage suppression in flash memory
KR20100043935A (en) Non-volatile memory device and program method thereof
US8605512B2 (en) Nonvolatile semiconductor memory device and method of operating a nonvolatile memory device
CN107045888B (en) Data erasing method
JP2013125576A (en) Nonvolatile semiconductor storage device
JP2014157650A (en) Semiconductor memory device
US9767914B1 (en) Durable maintenance of memory cell electric current sense window following program-erase operations to a non-volatile memory
JP4990978B2 (en) Partial erasure and erase verification in non-volatile memory devices
US10726911B2 (en) Memory system
US8462554B2 (en) Over-erase verification and repair methods for flash memory
US11216208B1 (en) Memory system, memory controller, and operation method of memory system
US9007840B2 (en) Semiconductor memory apparatus and program verification method
JP2010086623A (en) Nand type flash memory
KR102119179B1 (en) Semiconductor device and operating method thereof
JP2007042222A (en) Semiconductor device
TWI581270B (en) Data erasing methods
US8923068B2 (en) Low margin read operation with CRC comparision