TWI678699B - Flash memory storage device and method thereof - Google Patents
Flash memory storage device and method thereof Download PDFInfo
- Publication number
- TWI678699B TWI678699B TW107132973A TW107132973A TWI678699B TW I678699 B TWI678699 B TW I678699B TW 107132973 A TW107132973 A TW 107132973A TW 107132973 A TW107132973 A TW 107132973A TW I678699 B TWI678699 B TW I678699B
- Authority
- TW
- Taiwan
- Prior art keywords
- record
- erasures
- memory
- row
- control circuit
- Prior art date
Links
Landscapes
- Read Only Memory (AREA)
Abstract
一種快閃記憶體儲存裝置,包括記憶體晶胞陣列以及記憶體控制電路。記憶體晶胞陣列包括多個井區域。各井區域包括多個記憶體區塊以及記錄區塊。記憶體控制電路耦接至記憶體晶胞陣列。記憶體控制電路用以對各井區域的記憶體區塊進行抹除操作,並且將各井區域的抹除次數記錄在各自的記錄區塊中。另外,一種快閃記憶體儲存裝置的操作方法亦被提出。A flash memory storage device includes a memory cell array and a memory control circuit. The memory cell array includes a plurality of well regions. Each well area includes a plurality of memory blocks and a recording block. The memory control circuit is coupled to the memory cell array. The memory control circuit is configured to perform an erasing operation on a memory block of each well area, and record the erasure times of each well area in a respective recording block. In addition, a method for operating a flash memory storage device is also proposed.
Description
本發明是有關於一種記憶體儲存裝置及其操作方法,且特別是有關於一種快閃記憶體儲存裝置及其操作方法。The invention relates to a memory storage device and an operation method thereof, and in particular to a flash memory storage device and an operation method thereof.
對快閃記憶體儲存裝置而言,循環(cycling)操作容易在其汲極接面產生界面態,並且在其穿隧氧化層產生氧化物陷阱。一般而言,循環操作包括抹除操作及程式化(program)操作。快閃記憶體晶胞經過多次的循環操作通常容易會被劣化,例如記憶體區塊的可靠度會下降,或者抹除時間及程式化時間會增加,亦即操作速度變慢。此外,在經過多次的循環操作之後,晶胞中的部分位元也會因為過早磨損而不符合規範。這些磨損的位元難以在測試階段加以剔除。因此,若能取得記憶體晶胞陣列中包括多個記憶體區塊的各井區域的抹除次數,將有助於在後續應用或製作過程中,評估快閃記憶體儲存裝置的性能。For a flash memory storage device, a cycling operation is likely to generate an interface state at its drain junction, and an oxide trap is generated at its tunneling oxide layer. Generally, the loop operation includes an erase operation and a program operation. Flash memory cells are often easily degraded after multiple cycles of operation. For example, the reliability of the memory block will decrease, or the erase time and programming time will increase, that is, the operation speed will be slower. In addition, after many cycles of operation, some of the bits in the unit cell will not meet the specifications due to premature wear. These worn bits are difficult to remove during the testing phase. Therefore, if the number of erasures of each well region including a plurality of memory blocks in the memory cell array can be obtained, it will be helpful to evaluate the performance of the flash memory storage device in subsequent applications or manufacturing processes.
本發明提供一種快閃記憶體儲存裝置及其操作方法,可記錄其中的井區域的抹除次數。The invention provides a flash memory storage device and an operation method thereof, which can record the number of erasures of a well area therein.
本發明的快閃記憶體儲存裝置包括記憶體晶胞陣列以及記憶體控制電路。記憶體晶胞陣列包括多個井區域。各井區域包括多個記憶體區塊以及記錄區塊。記憶體控制電路耦接至記憶體晶胞陣列。記憶體控制電路用以對各井區域的記憶體區塊進行抹除操作,並且將各井區域的抹除次數記錄在各自的記錄區塊中。The flash memory storage device of the present invention includes a memory cell array and a memory control circuit. The memory cell array includes a plurality of well regions. Each well area includes a plurality of memory blocks and a recording block. The memory control circuit is coupled to the memory cell array. The memory control circuit is configured to perform an erasing operation on a memory block of each well area, and record the erasure times of each well area in a respective recording block.
本發明的快閃記憶體儲存裝置的操作方法包括:對記憶體晶胞陣列中的多個記憶體區塊進行抹除操作;判斷至少一個記錄列所記錄的抹除次數是否達到上限值;若至少一個記錄列所記錄的抹除次數已達到上限值,在對記憶體晶胞陣列中的記憶體區塊進行抹除操作的同時,對至少一個記錄列進行抹除操作;以及若至少一個記錄列所記錄的抹除次數未達到上限值,將抹除次數的資料記錄在至少一個記錄列中。記憶體區塊與記錄區塊位在同一井區域。The operation method of the flash memory storage device of the present invention includes: performing an erasing operation on a plurality of memory blocks in a memory cell array; judging whether the number of erasures recorded in at least one record row reaches an upper limit; If the number of erasures recorded in at least one record row has reached the upper limit, the erase operation is performed on at least one record row while the memory block in the memory cell array is being erased; and The number of erasures recorded in one record row does not reach the upper limit, and the data of the erasure times is recorded in at least one record row. The memory block and the recording block are located in the same well area.
基於上述,在本發明的範例實施例中,快閃記憶體儲存裝置可自動記錄各井區域被抹除的次數。有此記錄資料可作為後續評估快閃記憶體儲存裝置的性能之用。Based on the above, in the exemplary embodiment of the present invention, the flash memory storage device can automatically record the number of times each well area is erased. The recorded data can be used for subsequent evaluation of the performance of the flash memory storage device.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above features and advantages of the present invention more comprehensible, embodiments are hereinafter described in detail with reference to the accompanying drawings.
圖1繪示本發明一實施例之快閃記憶體儲存裝置的概要示意圖。圖2繪示圖1實施例之記憶體晶胞陣列中的一個井區域的概要示意圖。請參考圖1及圖2,本實施例之快閃記憶體儲存裝置100包括記憶體晶胞陣列110以及記憶體控制電路120。記憶體控制電路120耦接至記憶體晶胞陣列110。在本實施例中,快閃記憶體儲存裝置100例如是編碼型快閃記憶體(NOR Flash)。FIG. 1 is a schematic diagram of a flash memory storage device according to an embodiment of the present invention. FIG. 2 is a schematic diagram of a well region in the memory cell array of the embodiment shown in FIG. 1. FIG. Please refer to FIG. 1 and FIG. 2. The flash memory storage device 100 in this embodiment includes a memory cell array 110 and a memory control circuit 120. The memory control circuit 120 is coupled to the memory cell array 110. In this embodiment, the flash memory storage device 100 is, for example, a coded flash memory (NOR Flash).
在本實施例中,記憶體晶胞陣列110包括多個如圖2所示的井區域112。圖2僅繪示記憶體晶胞陣列110中的一個井區域112,但其數量不用以限定本發明。井區域112例如是P井(P well)。井區域112包括多個記憶體區塊111_1至111_N以及記錄區塊113,其中N為大於0的正整數。記憶體區塊111_1至111_N用以儲存資料。記錄區塊113用以儲存井區域112的抹除次數。In this embodiment, the memory cell array 110 includes a plurality of well regions 112 as shown in FIG. 2. FIG. 2 illustrates only one well region 112 in the memory cell array 110, but the number is not intended to limit the present invention. The well region 112 is, for example, a P well. The well area 112 includes a plurality of memory blocks 111_1 to 111_N and a recording block 113, where N is a positive integer greater than 0. The memory blocks 111_1 to 111_N are used to store data. The recording block 113 is used for storing the erasure times of the well area 112.
在本實施例中,記憶體控制電路120用以對井區域112的記憶體區塊111_1至111_N進行抹除操作,並且將井區域112的抹除次數記錄在記錄區塊113中。舉例而言,記憶體控制電路120在抹除期間對目標記憶體區塊111_2進行抹除操作。此時,井區域112被施加正高壓(positive high voltage),目標記憶體區塊111_2中記憶體晶胞陣列閘極被施加負高壓(negative high voltage),其餘的記憶體區塊111_1、111_3、111_(N-1)、111_N中記憶體晶胞陣列閘極被施加正電壓(positive voltage)。在本實施例中,記憶體區塊111_2被抹除,井區域112的抹除次數增加一次。接著,記憶體控制電路120再將抹除次數記錄在記錄區塊113中。記憶體區塊111_1至111_N中的任一記憶體區塊被抹除,井區域112的抹除次數都會增加一次。In this embodiment, the memory control circuit 120 is configured to perform an erasing operation on the memory blocks 111_1 to 111_N of the well area 112 and record the erasure times of the well area 112 in the recording block 113. For example, the memory control circuit 120 performs an erase operation on the target memory block 111_2 during the erase. At this time, a positive high voltage is applied to the well region 112, a negative high voltage is applied to the gate of the memory cell array in the target memory block 111_2, and the remaining memory blocks 111_1, 111_3, A positive voltage is applied to the gates of the memory cell array in 111_ (N-1) and 111_N. In this embodiment, the memory block 111_2 is erased, and the number of erasures of the well region 112 is increased by one. Then, the memory control circuit 120 records the number of erasures in the recording block 113. Any one of the memory blocks 111_1 to 111_N is erased, and the number of erasures of the well region 112 is increased once.
在多個井區域的實施例中,記憶體控制電路120分別對各井區域的記憶體區塊進行抹除操作,並且將各井區域的抹除次數記錄在各自的記錄區塊中。In an embodiment of multiple well regions, the memory control circuit 120 performs an erase operation on the memory blocks of each well region, and records the number of erasures of each well region in a respective recording block.
在本實施例中,記憶體控制電路120可由所屬技術領域的任一種適合的電路結構來加以實施,本發明並不加以限制,其電路結構及操作方法可以由所屬技術領域的通常知識獲致足夠的教示、建議與實施說明。In this embodiment, the memory control circuit 120 may be implemented by any suitable circuit structure in the technical field to which it belongs. The present invention is not limited thereto, and the circuit structure and operation method thereof can be obtained from the general knowledge in the technical field Teaching, suggestions and implementation instructions.
圖3繪示圖1實施例之記錄區塊的概要示意圖。請參考圖3,本實施例的記錄區塊113包括多個記錄列310_1至310_M,其中M大於0的正整數。記錄列310_1至310_M包括多個位元組312。每一記錄列的位元組數量可以相同或不相同。記錄列310_1至310_M用以儲存抹除次數的資料。舉例而言,每一記錄列例如是一條字元線,其耦接多個記憶體晶胞(未繪示),其中部分記憶體晶胞用來儲存抹除次數的資料。例如,在一實施例中,每一記錄列當中對應儲存兩個位元組的資料量的多個記憶體晶胞用來儲存抹除次數的資料。在一實施例中,每一記錄列當中對應儲存四個位元組的資料量的多個記憶體晶胞用來儲存抹除次數的資料。FIG. 3 is a schematic diagram of a recording block in the embodiment of FIG. 1. Referring to FIG. 3, the record block 113 of this embodiment includes a plurality of record columns 310_1 to 310_M, where M is a positive integer greater than 0. The record columns 310_1 to 310_M include a plurality of bytes 312. The number of bytes in each record column can be the same or different. Record rows 310_1 to 310_M are used to store data of the number of erasures. For example, each record row is, for example, a character line, which is coupled to a plurality of memory cells (not shown), and some of the memory cells are used to store data of the number of erasures. For example, in one embodiment, a plurality of memory cells corresponding to two bytes of data in each record row are used to store data of the number of erasures. In one embodiment, a plurality of memory cells corresponding to four bytes of data in each record row are used to store data of the number of erasures.
在本實施例中,記憶體控制電路120從第一個記錄列310_0開始,依序將抹除次數的資料記錄至最後一個記錄列310_M。以包括兩個位元組的第一個記錄列310_1為例,記憶體控制電路120從位元組312_1中的最低有效位元LSB開始,依序將抹除次數的資料記錄至最高有效位元MSB。例如,記憶體控制電路120對井區域112的任一記憶體區塊111_1至111_N進行抹除操作之後,將位元組312_1中的最低有效位元LSB從狀態「1」程式化為狀態「0」,以表示井區域112的抹除次數增加一次,並且記錄在位元組312_1中。記憶體控制電路120以此方式,依序將抹除次數的資料記錄至位元組312_1中的最高有效位元MSB。In this embodiment, the memory control circuit 120 sequentially records data of the number of erasures to the last record row 310_M starting from the first record row 310_0. Taking the first record row 310_1 including two bytes as an example, the memory control circuit 120 starts from the least significant bit LSB of the byte 312_1 and sequentially records the data of the erasure number to the most significant bit. MSB. For example, after the memory control circuit 120 performs an erase operation on any of the memory blocks 111_1 to 111_N of the well region 112, the least significant bit LSB in the byte 312_1 is programmed from the state "1" to the state "0" "To indicate that the number of erasures of the well region 112 was increased by one and recorded in byte 312_1. In this way, the memory control circuit 120 sequentially records data of the number of erasures to the most significant bit MSB in the byte group 312_1.
接著,記憶體控制電路120再從位元組312_2中的最低有效位元LSB開始,依序將抹除次數的資料記錄至位元組312_2的最高有效位元MSB。因此,記錄列310_1中的兩個位元組312_1、312_2的全部位元從狀態「1」被程式化為狀態「0」時,表示井區域112的抹除次數為16次。此16次為記錄列310_1所記錄的抹除次數的上限值。當記錄列310_1(第一記錄列)所記錄的抹除次數已達記錄列310_1的上限值時,記憶體控制電路120利用其下一個記錄列310_2(第二記錄列)來記錄記錄列310_1所記錄的抹除次數。Then, the memory control circuit 120 starts from the least significant bit LSB of the byte 312_2 and sequentially records the data of the number of erasures to the most significant bit MSB of the byte 312_2. Therefore, when all the bits of the two bytes 312_1 and 312_2 in the record row 310_1 are programmed from the state “1” to the state “0”, it means that the number of erasures of the well region 112 is 16 times. These 16 times are the upper limit of the number of erasures recorded in the record column 310_1. When the number of erasures recorded in record row 310_1 (first record row) has reached the upper limit of record row 310_1, memory control circuit 120 uses its next record row 310_2 (second record row) to record record row 310_1. Number of erases recorded.
舉例而言,當記錄列310_1所記錄的抹除次數已達上限值16次時,記憶體控制電路120在抹除期間在對任一記憶體區塊進行抹除操作的同時,一併對記錄列310_1進行抹除操作,以將兩個位元組312_1、312_2的全部位元從狀態「0」抹除為狀態「1」,以重新記錄抹除次數。此時,當記錄列310_1被抹除一次時,記憶體控制電路120將記錄列310_2的位元組312_3中的最低有效位元LSB從狀態「1」程式化為狀態「0」,以表示記錄列310_1的抹除次數為1次,也表示井區域112的抹除次數已累積17次,並且記錄在位元組312_3中。記憶體控制電路120以此方式,依序將抹除次數的資料記錄至位元組312_3中的最高有效位元MSB。For example, when the number of erasures recorded in the record column 310_1 has reached the upper limit of 16 times, the memory control circuit 120 performs an erasing operation on any memory block during erasing, and simultaneously The record row 310_1 performs an erasing operation to erase all the bits of the two byte groups 312_1 and 312_2 from the state “0” to the state “1” to re-record the number of erasures. At this time, when the record row 310_1 is erased once, the memory control circuit 120 programs the least significant bit LSB in the byte 312_3 of the record row 310_2 from the state "1" to the state "0" to indicate the record The number of erasures of column 310_1 is one, which also indicates that the number of erasures of well region 112 has accumulated 17 times and is recorded in byte 312_3. In this way, the memory control circuit 120 sequentially records data of the number of erasures to the most significant bit MSB of the byte group 312_3.
在本實施例中,在記錄列310_1進行抹除操作之後,記憶體控制電路120會重新將抹除次數的資料記錄在記錄列310_1的位元組312_1、312_2中,藉由重複使用記錄列310_1的記錄位元組,以提高記錄區塊113的記錄次數上限。In this embodiment, after the erase operation is performed on the record row 310_1, the memory control circuit 120 records the data of the number of erasures again in the bytes 312_1 and 312_2 of the record row 310_1, and reuses the record row 310_1 To increase the maximum number of recordings in the recording block 113.
接著,記憶體控制電路120再從位元組312_4中的最低有效位元LSB開始,依序將抹除次數的資料記錄至位元組312_4的最高有效位元MSB。因此,記錄列310_2中的兩個位元組312_3、312_4的全部位元從狀態「1」被程式化為狀態「0」時,表示井區域112的抹除次數為256次。此256次為記錄列310_2所記錄的抹除次數的上限值。若記錄列310_1及記錄列310_2所記錄的抹除次數已達到上限值,記憶體控制電路120同時對記錄列310_1及記錄列310_2進行抹除操作,以重新記錄抹除次數。此時,當記錄列310_1及記錄列310_2被抹除時,記憶體控制電路120將記錄列310_3的位元組312_5中的最低有效位元LSB從狀態「1」程式化為狀態「0」,以表示井區域112的抹除次數已累積257次,並且記錄在位元組312_5中。記憶體控制電路120以此方式,依序將抹除次數的資料記錄至位元組312_5中的最高有效位元MSB。Then, the memory control circuit 120 sequentially records the data of the number of erasures to the most significant bit MSB of the byte 312_4 starting from the least significant bit LSB of the byte 312_4. Therefore, when all the bits of the two bytes 312_3 and 312_4 in the record row 310_2 are programmed from the state "1" to the state "0", it means that the number of erasures of the well region 112 is 256 times. These 256 times are the upper limit of the number of erasures recorded in the record column 310_2. If the number of erasures recorded in the record row 310_1 and the record row 310_2 has reached the upper limit, the memory control circuit 120 performs an erase operation on the record row 310_1 and the record row 310_2 at the same time to re-record the number of erases. At this time, when the record row 310_1 and the record row 310_2 are erased, the memory control circuit 120 programs the least significant bit LSB in the byte 312_5 of the record row 310_3 from the state "1" to the state "0", The number of erasures of the well region 112 has been accumulated 257 times, and is recorded in the byte 312_5. In this way, the memory control circuit 120 sequentially records data of the number of erasures to the most significant bit MSB of the byte group 312_5.
在本實施例中,在記錄列310_1及記錄列310_2進行抹除操作之後,記憶體控制電路120會重新將抹除次數的資料記錄在記錄列310_1的位元組312_1、312_2及記錄列310_2的位元組312_3、312_4中,藉由重複使用記錄列310_1及記錄列310_2的記錄位元組,以提高記錄區塊113的記錄次數上限。In this embodiment, after the erase operation is performed on the record row 310_1 and the record row 310_2, the memory control circuit 120 records the data of the number of erasures again in the bytes 312_1, 312_2 and the record row 310_2 In the bytes 312_3 and 312_4, the record bytes of the record row 310_1 and the record row 310_2 are repeatedly used to increase the upper limit of the number of records of the record block 113.
依此類推,若以記錄100千次(100k)的抹除次數為目標,記錄區塊113包括4個記錄列,第一個至第三個記錄列以對應儲存兩個位元組的資料量的多個記憶體晶胞來儲存抹除次數的資料,而第四個記錄列以對應儲存三個位元組的資料量的多個記憶體晶胞來儲存抹除次數的資料。當最後一個記錄列(例如310_M)所記錄的抹除次數均已達該記錄列的上限值時,是為其記錄區塊所記錄的抹除次數上限值,記憶體控制電路120不再對最後一個記錄列進行抹除操作。By analogy, if the goal is to record the number of erasures of 100 thousand times (100k), the record block 113 includes 4 record rows, and the first to third record rows correspond to the data amount of storing two bytes. To store the data of the number of erasures, and the fourth record row stores the data of the number of erasures by multiple memory cells corresponding to the amount of data stored in three bytes. When the number of erasures recorded in the last record row (for example, 310_M) has reached the upper limit of the record row, it is the upper limit of the number of erasures recorded in its record block. Erase the last record column.
在另一實施例中,記錄區塊113例如包括4個記錄列,第一個至第三個記錄列以對應儲存四個位元組的資料量的多個記憶體晶胞來儲存抹除次數的資料,而第四個記錄列以對應儲存一個位元組的資料量的多個記憶體晶胞來儲存抹除次數的資料。因此,在此例中,記錄區塊113約可記錄256千次(256k)的抹除次數。In another embodiment, the record block 113 includes, for example, four record rows, and the first to third record rows store erasure times with a plurality of memory cells corresponding to a data amount of four bytes. The fourth record row stores data of the number of erasures with multiple memory cells corresponding to the amount of data stored in one byte. Therefore, in this example, the recording block 113 can record about 256 thousand (256k) erasure times.
在本實施例中,每一記錄列例如是一條字元線,其耦接多個記憶體晶胞(未繪示),其中部分記憶體晶胞用來儲存抹除次數的資料。相較於記憶體區塊111_1至111_N所耦接的字元線,記錄區塊113所耦接的字元線(即記錄列)是為了記錄抹除次數而額外設置在井區域112中的字元線。當記憶體控制電路120將記錄列310_1(LSB記錄列)的位元組中的一有效位元從狀態「1」程式化為狀態「0」,即記錄井區域112的抹除次數增加一次。當記錄列310_1所記錄的抹除次數達上限值而被抹除一次時,記憶體控制電路120將下一記錄列310_2的位元組中的一有效位元從狀態「1」程式化為狀態「0」,以表示記錄列310_1的抹除次數增加1次。當記錄列310_1至310_2的位元組中所記錄的抹除次數均達上限值而同時被抹除時,記憶體控制電路120將下一記錄列310_3的位元組中的一有效位元從狀態「1」程式化為狀態「0」,以表示記錄列310_2的抹除次數增加1次。井區域112的抹除次數可由各記錄列的位元組中不等值的資料統計而得。In this embodiment, each record row is, for example, a character line, which is coupled to a plurality of memory cells (not shown), and some of the memory cells are used to store data of the number of erasures. Compared to the character lines coupled to the memory blocks 111_1 to 111_N, the character lines coupled to the record block 113 (that is, the record row) are characters additionally set in the well area 112 to record the number of erasures. Yuan line. When the memory control circuit 120 programs a valid bit in the byte of the record row 310_1 (LSB record row) from the state “1” to the state “0”, the number of erasures of the record well region 112 is increased once. When the number of erasures recorded in the record row 310_1 reaches the upper limit and is erased once, the memory control circuit 120 programs a valid bit in the byte of the next record row 310_2 from the state "1" to The state "0" indicates that the number of erasures of the record row 310_1 is increased by one. When the erase times recorded in the bytes of the record rows 310_1 to 310_2 all reach the upper limit and are erased at the same time, the memory control circuit 120 deletes a valid bit in the bytes of the next record row 310_3. It is programmed from the state "1" to the state "0" to indicate that the number of erasures of the record row 310_2 is increased by one. The number of erasures of the well region 112 can be calculated from data of unequal values in the bytes of each record column.
圖4繪示本發明一實施例之快閃記憶體儲存裝置的操作方法的步驟流程圖。本實施例的操作方法例如適用編碼型快閃記憶體(NOR Flash)儲存裝置。請參考圖1至圖4,在步驟S100中,記憶體控制電路120對記憶體晶胞陣列110中位在同一井區域112的記憶體區塊111_1至111_N進行抹除操作。在步驟S110中,記憶體控制電路120判斷記錄區塊113中的記錄列310_1所記錄的抹除次數是否達到上限值。若是,記憶體控制電路120執行步驟S120,在對記憶體區塊111_1至111_N進行抹除操作的同時,對記錄列310_1進行抹除操作,並且,將抹除次數的資料記錄在記錄列310_2中。若否,記憶體控制電路120執行步驟S130,將抹除次數的資料記錄在記錄列310_1中。FIG. 4 is a flowchart illustrating a method of operating a flash memory storage device according to an embodiment of the invention. The operation method of this embodiment is applicable to, for example, a coded NOR flash storage device. Please refer to FIGS. 1 to 4. In step S100, the memory control circuit 120 erases the memory blocks 111_1 to 111_N located in the same well region 112 in the memory cell array 110. In step S110, the memory control circuit 120 determines whether the number of erasures recorded in the record column 310_1 in the record block 113 has reached the upper limit. If yes, the memory control circuit 120 executes step S120 to perform an erasing operation on the record row 310_1 while performing an erasing operation on the memory blocks 111_1 to 111_N, and records data of the number of erasures in the record row 310_2 . If not, the memory control circuit 120 executes step S130 to record the data of the erasure times in the record row 310_1.
此外,本發明之實施例的快閃記憶體儲存裝置的操作方法可以由圖1至圖3實施例之敘述中獲致足夠的教示、建議與實施說明。In addition, the operation method of the flash memory storage device according to the embodiment of the present invention can obtain sufficient teaching, suggestions, and implementation description from the description of the embodiment of FIG. 1 to FIG. 3.
圖5繪示本發明另一實施例之快閃記憶體儲存裝置的操作方法的步驟流程圖。本實施例的操作方法例如適用編碼型快閃記憶體(NOR Flash)儲存裝置。請參考圖5,在本實施例中,記憶體控制電路120對記憶體晶胞陣列110中位在同一井區域112的記憶體區塊111_1至111_N進行抹除操作。所述抹除操作包括對目標記憶體區塊111_2進行預程式化(pre-program)操作(步驟S210)、抹除操作(步驟S220)、後置程式化(post-program)操作(步驟S230),以針對目標記憶體區塊中過度抹除的記憶體晶胞弱程式化(soft-program)及對目標記憶體以外區塊111_1及111_3至111_N進行刷新(refresh)操作(步驟S240),以針對非目標記憶體區塊中已經編程的記憶體晶胞程式化。在本實施例中,對目標記憶體區塊111_2進行預程式化操作、抹除操作、後置程式化操作及對目標記憶體以外區塊111_1及111_3至111_N進行刷新操作可由所屬技術領域中的通常知識中獲致足夠的教示、建議與實施說明。FIG. 5 is a flowchart illustrating a method of operating a flash memory storage device according to another embodiment of the present invention. The operation method of this embodiment is applicable to, for example, a coded NOR flash storage device. Please refer to FIG. 5. In this embodiment, the memory control circuit 120 erases the memory blocks 111_1 to 111_N located in the same well region 112 in the memory cell array 110. The erase operation includes a pre-program operation (step S210), an erase operation (step S220), and a post-program operation (step S230) on the target memory block 111_2. To softly program the memory cell over-erased in the target memory block and refresh the blocks 111_1 and 111_3 to 111_N outside the target memory (step S240) to Stylized for already programmed memory cells in non-target memory blocks. In this embodiment, performing a pre-programmed operation, an erase operation, a post-programmed operation on the target memory block 111_2, and a refresh operation on the blocks 111_1 and 111_3 to 111_N other than the target memory may be performed in the technical field to which they belong Adequate teaching, advice and implementation instructions are usually obtained from the knowledge.
在本實施例中,在步驟S210執行之前,在步驟S200中,記憶體控制電路120會先對記錄列310_1中的位元組312_1、312_2進行掃描,以判斷哪些位元的狀態為「1」。若位元組312_1、312_2中有至少一個位元的狀態為「1」,記憶體控制電路120在步驟S250中,可將抹除次數的資料記錄在狀態為「1」的位元。若位元組312_1、312_2中全部位元的狀態為「0」,記憶體控制電路120在步驟S250中,可將抹除次數的資料記錄在記錄列310_2,即程式化記錄列310_2。並且,在步驟S220中,記憶體控制電路120在對目標記憶體區塊111_2進行抹除操作之同時,一併對記錄列310_1進行抹除操作。In this embodiment, before step S210 is performed, in step S200, the memory control circuit 120 first scans the bytes 312_1 and 312_2 in the record column 310_1 to determine which bits have a status of "1" . If at least one of the bits 312_1 and 312_2 has a status of “1”, the memory control circuit 120 may record data of the number of erasures in a bit of status “1” in step S250. If the state of all the bits in the bytes 312_1, 312_2 is "0", the memory control circuit 120 may record data of the number of erasures in the record row 310_2, that is, the stylized record row 310_2, in step S250. Furthermore, in step S220, the memory control circuit 120 performs an erase operation on the target memory block 111_2 while performing an erase operation on the record row 310_1.
在步驟S200中,經掃描,若記憶體控制電路120判斷記錄列310_1、320_2中的位元組的全部位元的狀態為「0」,記憶體控制電路120在步驟S250中,可將抹除次數的資料記錄在記錄列310_2的下一個記錄列。並且,在步驟S220中,記憶體控制電路120在對目標記憶體區塊111_2進行抹除操作之同時,一併對記錄列310_1、310_2進行抹除操作。記憶體控制電路120對其餘記錄列的抹除操作,可依此類推。In step S200, after scanning, if the memory control circuit 120 determines that the state of all the bits in the byte rows 310_1 and 320_2 is "0", the memory control circuit 120 may erase the state in step S250. The number of times is recorded in the next record column of record column 310_2. Furthermore, in step S220, the memory control circuit 120 performs an erase operation on the target memory block 111_2 while performing an erase operation on the record rows 310_1 and 310_2. The erasing operation of the memory control circuit 120 on the remaining records can be deduced by analogy.
在本實施例中,記憶體控制電路120在步驟S230、S240中對記憶體區塊111_1至111_N進行後置程式化操作及刷新操作的同時,也一併對記錄區塊113進行後置程式化操作及刷新操作。此外,本發明之實施例的快閃記憶體儲存裝置的操作方法可以由圖1至圖4實施例之敘述中獲致足夠的教示、建議與實施說明。In this embodiment, the memory control circuit 120 performs post-programming operations and refresh operations on the memory blocks 111_1 to 111_N in steps S230 and S240, and also performs post-programming on the recording block 113. Operation and refresh operation. In addition, the method for operating the flash memory storage device according to the embodiment of the present invention can obtain sufficient teaching, suggestions, and implementation description from the description of the embodiment of FIGS. 1 to 4.
圖6繪示圖5的步驟S200的詳細流程圖。請參考圖3及圖6,在步驟S300中,記憶體控制電路120將讀取模式設定在記錄區塊113,並且設定從記錄列310_1開始讀取。在步驟S310中,記憶體控制電路120從位元組312_1中的最低有效位元LSB開始讀取位元組312_1的資料。在步驟S320中,記憶體控制電路120判斷所讀取的資料的狀態是否全部為「0」。FIG. 6 is a detailed flowchart of step S200 in FIG. 5. Please refer to FIG. 3 and FIG. 6. In step S300, the memory control circuit 120 sets the reading mode in the recording block 113, and sets reading from the recording row 310_1. In step S310, the memory control circuit 120 reads the data of the byte 312_1 from the least significant bit LSB of the byte 312_1. In step S320, the memory control circuit 120 determines whether the status of the read data is all "0".
若資料狀態不是全部為「0」,例如至少有一個資料狀態為「1」,記憶體控制電路120執行步驟S330,將位元組312_1的位址及其資料載入暫存器中及在步驟S250中將其程式化,例如對位元組312_1中資料狀態不為「0」的位元進行一位元程式化(one-bit program),以記錄抹除次數。在步驟S330之後,記憶體控制電路120回到圖5的流程中執行步驟S210。If the data status is not all "0", for example, at least one data status is "1", the memory control circuit 120 executes step S330 to load the address of the byte 312_1 and its data into the register and in step In S250, it is programmed, for example, a one-bit program is performed on the bits whose data status is not "0" in byte 312_1 to record the number of erasures. After step S330, the memory control circuit 120 returns to the flow of FIG. 5 and executes step S210.
若資料狀態全部為「0」,記憶體控制電路120執行步驟S340,判斷所讀取的位元組是否是記錄列310_1中的最後一個位元組。若所讀取的位元組不是記錄列310_1中的最後一個位元組,記憶體控制電路120回到步驟S310,讀取下一個位元組,即位元組312_2。若所讀取的位元組是記錄列310_1中的最後一個位元組,記憶體控制電路120執行步驟S350,判斷所讀取的記錄列是否是記錄區塊113中的最後一個記錄列310_M。If the data status is all “0”, the memory control circuit 120 executes step S340 to determine whether the read byte is the last byte in the record row 310_1. If the read byte is not the last byte in the record column 310_1, the memory control circuit 120 returns to step S310 to read the next byte, that is, the byte 312_2. If the read byte is the last byte in the record row 310_1, the memory control circuit 120 executes step S350 to determine whether the read record row is the last record row 310_M in the record block 113.
若所讀取的記錄列不是記錄區塊113中的最後一個記錄列310_M,記憶體控制電路120回到步驟S310,讀取下一個記錄列的第一個位元組,例如記錄列310_2的位元組312_3。若資料狀態不是全部為「0」,記憶體控制電路120執行步驟S330,將位元組312_3的位址、其資料及已達記錄上限值記錄列位址載入暫存器中,將在步驟S210至S240中對目標記憶體區塊進行抹除操作之同時,一併對記錄列310_1進行抹除操作,及在步驟S250中對位元組312_3中資料狀態不為「0」的位元進行一位元程式化,以記錄抹除次數。若所讀取的記錄列是記錄區塊113中的最後一個記錄列310_M,記憶體控制電路120執行步驟S360,結束讀取位元組的資料的設定。在步驟S360之後,記憶體控制電路120回到圖5的流程中執行步驟S210。If the read record row is not the last record row 310_M in the record block 113, the memory control circuit 120 returns to step S310 to read the first byte of the next record row, for example, the bit of record row 310_2 Tuple 312_3. If the data status is not all “0”, the memory control circuit 120 executes step S330 to load the address of the byte 312_3, its data, and the address of the record upper limit record row into the register. While performing the erasing operation on the target memory block in steps S210 to S240, the erasing operation is performed on the record row 310_1, and the data state of the byte 312_3 is not "0" in step S250. Program one bit to record the number of erases. If the read record row is the last record row 310_M in the record block 113, the memory control circuit 120 executes step S360 to end the setting of reading the data of the byte. After step S360, the memory control circuit 120 returns to the flow of FIG. 5 and executes step S210.
綜上所述,在本發明的範例實施例中,快閃記憶體儲存裝置可自動將各井區域被抹除的次數記錄在各自的記錄區塊中。記錄區塊中的記錄列為了記錄抹除次數而額外設置在井區域中的字元線,其耦接的部分或全部的記憶體晶胞可用來儲存抹除次數的資料。有此記錄資料可作為後續評估快閃記憶體儲存裝置的性能之用。In summary, in the exemplary embodiment of the present invention, the flash memory storage device can automatically record the number of times each well area is erased in its respective recording block. The character string in the record block is additionally provided with character lines in the well area in order to record the number of erasures. A part or all of the coupled memory cells can be used to store the data of the number of erasures. The recorded data can be used for subsequent evaluation of the performance of the flash memory storage device.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed as above with the examples, it is not intended to limit the present invention. Any person with ordinary knowledge in the technical field can make some modifications and retouching without departing from the spirit and scope of the present invention. The protection scope of the present invention shall be determined by the scope of the attached patent application.
100‧‧‧快閃記憶體儲存裝置100‧‧‧Flash memory storage device
110‧‧‧記憶體晶胞陣列 110‧‧‧Memory Cell Array
111_1、111_2、111_3、111_(N-1)、111_N‧‧‧記憶體區塊 111_1, 111_2, 111_3, 111_ (N-1), 111_N‧‧‧ memory blocks
112‧‧‧井區域 112‧‧‧well area
113‧‧‧記錄區塊 113‧‧‧Record block
120‧‧‧記憶體控制電路 120‧‧‧Memory control circuit
310_1、310_2、310_3、310_M‧‧‧記錄列 310_1, 310_2, 310_3, 310_M‧‧‧ record column
312、312_1、312_2、312_3、312_4、312_5‧‧‧位元組 312, 312_1, 312_2, 312_3, 312_4, 312_5‧‧‧ bytes
LSB‧‧‧最低有效位元 LSB‧‧‧ Least Significant Bit
MSB‧‧‧最高有效位元 S100、S110、S120、S130、S200、S210、S220、S230、S240、S250、S300、S310、S320、S330、S340、S350、S360‧‧‧方法步驟 MSB‧‧‧Most significant bits S100, S110, S120, S130, S200, S210, S220, S230, S240, S250, S300, S310, S320, S330, S340, S350, S360‧‧‧Method steps
圖1繪示本發明一實施例之快閃記憶體儲存裝置的概要示意圖。 圖2繪示圖1實施例之記憶體晶胞陣列中的一個井區域的概要示意圖。 圖3繪示圖1實施例之記錄區塊的概要示意圖。 圖4繪示本發明一實施例之快閃記憶體儲存裝置的操作方法的步驟流程圖。 圖5繪示本發明另一實施例之快閃記憶體儲存裝置的操作方法的步驟流程圖。 圖6繪示圖5的步驟S200的詳細流程圖。FIG. 1 is a schematic diagram of a flash memory storage device according to an embodiment of the present invention. FIG. 2 is a schematic diagram of a well region in the memory cell array of the embodiment shown in FIG. 1. FIG. FIG. 3 is a schematic diagram of a recording block in the embodiment of FIG. 1. FIG. 4 is a flowchart illustrating a method of operating a flash memory storage device according to an embodiment of the invention. FIG. 5 is a flowchart illustrating a method of operating a flash memory storage device according to another embodiment of the present invention. FIG. 6 is a detailed flowchart of step S200 in FIG. 5.
Claims (11)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107132973A TWI678699B (en) | 2018-09-19 | 2018-09-19 | Flash memory storage device and method thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW107132973A TWI678699B (en) | 2018-09-19 | 2018-09-19 | Flash memory storage device and method thereof |
Publications (2)
Publication Number | Publication Date |
---|---|
TWI678699B true TWI678699B (en) | 2019-12-01 |
TW202013376A TW202013376A (en) | 2020-04-01 |
Family
ID=69582563
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW107132973A TWI678699B (en) | 2018-09-19 | 2018-09-19 | Flash memory storage device and method thereof |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI678699B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5566142A (en) * | 1994-02-10 | 1996-10-15 | Olympus Optical Co., Ltd. | Apparatus using an optical pickup |
TWM320715U (en) * | 2007-01-24 | 2007-10-11 | C One Technology Corp | Operating system for extending life-time of flash memory |
TW201546810A (en) * | 2014-10-30 | 2015-12-16 | Winbond Electronics Corp | NAND type flash memory and programming method thereof |
US20180039435A1 (en) * | 2016-07-11 | 2018-02-08 | Silicon Motion, Inc. | Method of wear leveling for data storage device |
-
2018
- 2018-09-19 TW TW107132973A patent/TWI678699B/en active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5566142A (en) * | 1994-02-10 | 1996-10-15 | Olympus Optical Co., Ltd. | Apparatus using an optical pickup |
TWM320715U (en) * | 2007-01-24 | 2007-10-11 | C One Technology Corp | Operating system for extending life-time of flash memory |
TW201546810A (en) * | 2014-10-30 | 2015-12-16 | Winbond Electronics Corp | NAND type flash memory and programming method thereof |
US20180039435A1 (en) * | 2016-07-11 | 2018-02-08 | Silicon Motion, Inc. | Method of wear leveling for data storage device |
TW201810044A (en) * | 2016-07-11 | 2018-03-16 | 慧榮科技股份有限公司 | Method of wear leveling for data storage device |
Also Published As
Publication number | Publication date |
---|---|
TW202013376A (en) | 2020-04-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5583185B2 (en) | Nonvolatile semiconductor memory | |
JP2716906B2 (en) | Nonvolatile semiconductor memory device | |
US6654292B2 (en) | Non-volatile memory with block erase | |
JP3812933B2 (en) | File system and control method thereof | |
JP6249504B1 (en) | Semiconductor memory device | |
JP4965106B2 (en) | Nonvolatile memory device and high-speed programming method thereof | |
JP2008123330A (en) | Nonvolatile semiconductor storage device | |
JP3080744B2 (en) | Nonvolatile semiconductor memory device capable of electrically writing and erasing all at once | |
KR20080039270A (en) | Non-volatile semiconductor memory system and data write method thereof | |
TWI549134B (en) | Nand type flash memory and programming method thereof | |
JP2006260753A (en) | Method for operating flash memory device | |
US8081517B2 (en) | Solid state storage system for uniformly using memory area and method controlling the same | |
TWI398872B (en) | Verify process of a memory | |
JP2007179687A (en) | Nonvolatile semiconductor storage device and its driving method | |
TWI678699B (en) | Flash memory storage device and method thereof | |
KR100965074B1 (en) | Memory cell block of non volatile memory device and managing method for additional information thereof | |
JP2006107719A (en) | Nonvolatile memory device and program method thereof | |
CN111009274B (en) | Flash memory storage device and operation method thereof | |
JP3641066B2 (en) | Microcomputer data rewriting method with embedded flash memory | |
JP4101583B2 (en) | Flash memory with reduced erase operation time | |
US10908824B2 (en) | Flash memory storage device and method thereof | |
CN106328202B (en) | Flash memory device and data erasing method | |
JP2004030849A (en) | Semiconductor nonvolatile memory having rewritable function for part of data | |
TWI658471B (en) | Flash memory storage device and method thereof | |
KR100736093B1 (en) | Apparatus and method for controlling nand flash |