[go: up one dir, main page]

CN111009274B - Flash memory storage device and operation method thereof - Google Patents

Flash memory storage device and operation method thereof Download PDF

Info

Publication number
CN111009274B
CN111009274B CN201811169428.3A CN201811169428A CN111009274B CN 111009274 B CN111009274 B CN 111009274B CN 201811169428 A CN201811169428 A CN 201811169428A CN 111009274 B CN111009274 B CN 111009274B
Authority
CN
China
Prior art keywords
record
recording
row
record row
data
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
CN201811169428.3A
Other languages
Chinese (zh)
Other versions
CN111009274A (en
Inventor
林宏学
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Winbond Electronics Corp
Original Assignee
Winbond Electronics Corp
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 Winbond Electronics Corp filed Critical Winbond Electronics Corp
Priority to CN201811169428.3A priority Critical patent/CN111009274B/en
Publication of CN111009274A publication Critical patent/CN111009274A/en
Application granted granted Critical
Publication of CN111009274B publication Critical patent/CN111009274B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/10Programming or data input circuits
    • G11C16/14Circuits for erasing electrically, e.g. erase voltage switching circuits

Landscapes

  • Read Only Memory (AREA)

Abstract

本发明提供一种快闪存储器储存装置,包括存储器晶胞阵列以及存储器控制电路。存储器晶胞阵列包括多个井区域。各井区域包括多个存储器区块以及记录区块。存储器控制电路耦接至存储器晶胞阵列。存储器控制电路用以对各井区域的存储器区块进行抹除操作,并且将各井区域的抹除次数记录在各自的记录区块中。另外,一种快闪存储器储存装置的操作方法也被提出。

Figure 201811169428

The present invention provides a flash memory storage device, which 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 recording blocks. The memory control circuit is coupled to the memory cell array. The memory control circuit is used for erasing the memory blocks of each well area, and recording the erasing times of each well area in the respective recording blocks. In addition, an operating method of a flash memory storage device is also proposed.

Figure 201811169428

Description

快闪存储器储存装置及其操作方法Flash memory storage device and operating method thereof

技术领域technical field

本发明涉及一种存储器储存装置及其操作方法,尤其涉及一种快闪存储器储存装置及其操作方法。The present invention relates to a memory storage device and its operating method, in particular to a flash memory storage device and its operating method.

背景技术Background technique

对快闪存储器储存装置而言,循环(cycling)操作容易在其漏极接面产生界面态,并且在其穿隧氧化层产生氧化物陷阱。一般而言,循环操作包括抹除操作及程序化(program)操作。快闪存储器晶胞经过多次的循环操作通常容易会被劣化,例如存储器区块的可靠度会下降,或者抹除时间及程序化时间会增加,亦即操作速度变慢。此外,在经过多次的循环操作之后,晶胞中的部分比特也会因为过早磨损而不符合规范。这些磨损的比特难以在测试阶段加以剔除。因此,若能取得存储器晶胞阵列中包括多个存储器区块的各井区域的抹除次数,将有助于在后续应用或制作过程中,评估快闪存储器储存装置的性能。For flash memory storage devices, the cycling operation tends to generate interface states at the drain junction and oxide traps at the tunnel oxide layer. Generally speaking, cycle operations include erase operations and program operations. Flash memory cells are usually easily degraded after repeated cycles of operation, for example, the reliability of the memory block will decrease, or the erasing time and programming time will increase, that is, the operating speed will slow down. Also, after many cycles of operation, some of the bits in the unit cell will wear out prematurely and out of specification. These worn out bits are difficult to remove during the testing phase. Therefore, if the erasing times of each well area including multiple 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 the subsequent application or manufacturing process.

发明内容Contents of the invention

本发明提供一种快闪存储器储存装置及其操作方法,可记录其中的井区域的抹除次数。The invention provides a flash memory storage device and its operation method, which can record the times of erasing of the well area.

本发明的快闪存储器储存装置包括存储器晶胞阵列以及存储器控制电路。存储器晶胞阵列包括多个井区域。各井区域包括多个存储器区块以及记录区块。存储器控制电路耦接至存储器晶胞阵列。存储器控制电路用以对各井区域的存储器区块进行抹除操作,并且将各井区域的抹除次数记录在各自的记录区块中。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 recording blocks. The memory control circuit is coupled to the memory cell array. The memory control circuit is used for erasing the memory blocks in each well area, and recording the erasing times of each well area in respective recording blocks.

本发明的快闪存储器储存装置的操作方法包括:对存储器晶胞阵列中的多个存储器区块进行抹除操作;判断至少一个记录列所记录的抹除次数是否达到上限值;若至少一个记录列所记录的抹除次数已达到上限值,在对存储器晶胞阵列中的存储器区块进行抹除操作的同时,对至少一个记录列进行抹除操作;以及若至少一个记录列所记录的抹除次数未达到上限值,将抹除次数的数据记录在至少一个记录列中。存储器区块与记录区块位于同一井区域。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 the memory cell array; judging whether the number of times of erasing recorded in at least one record row reaches the upper limit; if at least one The number of erasing times recorded in the record row has reached the upper limit, and at least one record row is erased while performing the erase operation on the memory blocks in the memory cell array; and if at least one record row records The number of erasing times does not reach the upper limit, and the data of erasing times is recorded in at least one record column. The memory block and the recording block are located in the same well area.

基于上述,在本发明的范例实施例中,快闪存储器储存装置可自动记录各井区域被抹除的次数。有此记录数据可作为后续评估快闪存储器储存装置的性能之用。Based on the above, in an 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-mentioned features and advantages of the present invention more comprehensible, the following specific embodiments are described in detail together with the accompanying drawings.

附图说明Description of drawings

图1示出本发明一实施例的快闪存储器储存装置的概要示意图。FIG. 1 shows a schematic diagram of a flash memory storage device according to an embodiment of the present invention.

图2示出图1实施例的存储器晶胞阵列中的一个井区域的概要示意图。FIG. 2 shows a schematic diagram of a well area in the memory cell array of the embodiment of FIG. 1 .

图3示出图1实施例的记录区块的概要示意图。FIG. 3 shows a schematic diagram of a recording block in the embodiment of FIG. 1 .

图4示出本发明一实施例的快闪存储器储存装置的操作方法的步骤流程图。FIG. 4 shows a flow chart of the steps of the operation method of the flash memory storage device according to an embodiment of the present invention.

图5示出本发明另一实施例的快闪存储器储存装置的操作方法的步骤流程图。FIG. 5 shows a flowchart of steps of an operating method of a flash memory storage device according to another embodiment of the present invention.

图6示出图5的步骤S200的详细流程图。FIG. 6 shows a detailed flowchart of step S200 in FIG. 5 .

【符号说明】【Symbol Description】

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 columns

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:最高有效位MSB: most significant bit

S100、S110、S120、S130、S200、S210、S220、S230、S240、S250、S300、S310、S320、S330、S340、S350、S360:步骤S100, S110, S120, S130, S200, S210, S220, S230, S240, S250, S300, S310, S320, S330, S340, S350, S360: steps

具体实施方式Detailed ways

图1示出本发明一实施例的快闪存储器储存装置的概要示意图。图2示出图1实施例的存储器晶胞阵列中的一个井区域的概要示意图。请参考图1及图2,本实施例的快闪存储器储存装置100包括存储器晶胞阵列110以及存储器控制电路120。存储器控制电路120耦接至存储器晶胞阵列110。在本实施例中,快闪存储器储存装置100例如是编码型快闪存储器(NOR Flash)。FIG. 1 shows a schematic diagram of a flash memory storage device according to an embodiment of the present invention. FIG. 2 shows a schematic diagram of a well area in the memory cell array of the embodiment of FIG. 1 . Please refer to FIG. 1 and FIG. 2 , the flash memory storage device 100 of 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 only shows one well region 112 in the memory cell array 110 , but the number thereof is not limited to 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 , wherein 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 to store the erasing 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 erase operation on the memory blocks 111_1 to 111_N of the well area 112 , and record the erasing 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 period. At this time, the well region 112 is applied with a positive high voltage (positive high voltage), the gate of the memory cell array in the target memory block 111_2 is applied with a negative high voltage (negative high voltage), and the remaining memory blocks 111_1, 111_3, 111_(N -1), the gate of the memory cell array in 111_N is applied with a positive voltage (positive voltage). In this embodiment, the memory block 111_2 is erased, and the erase count of the well region 112 is increased by one. Next, the memory control circuit 120 records the erasing times in the recording block 113 again. When any one of the memory blocks 111_1 to 111_N is erased, the erasing count of the well region 112 will be increased by one.

在多个井区域的实施例中,存储器控制电路120分别对各井区域的存储器区块进行抹除操作,并且将各井区域的抹除次数记录在各自的记录区块中。In the embodiment of multiple well areas, the memory control circuit 120 performs erasing operation on the memory blocks of each well area respectively, and records the erasing times of each well area in the respective recording blocks.

在本实施例中,存储器控制电路120可由所属技术领域的任一种适合的电路结构来加以实施,本发明并不加以限制,其电路结构及操作方法可以由所属技术领域的公知常识获致足够的启示、建议与实施说明。In this embodiment, the memory control circuit 120 can be implemented by any suitable circuit structure in the technical field, and the present invention is not limited thereto. Inspiration, recommendations and implementation notes.

图3示出图1实施例的记录区块的概要示意图。请参考图3,本实施例的记录区块113包括多个记录列310_1至310_M,其中M为大于0的正整数。记录列310_1至310_M包括多个字节312。每一记录列的字节数量可以相同或不相同。记录列310_1至310_M用以储存抹除次数的数据。举例而言,每一记录列例如是一条字元线,其耦接多个存储器晶胞(未示出),其中部分存储器晶胞用来储存抹除次数的数据。例如,在一实施例中,每一记录列当中对应储存两个字节的数据量的多个存储器晶胞用来储存抹除次数的数据。在一实施例中,每一记录列当中对应储存四个字节的数据量的多个存储器晶胞用来储存抹除次数的数据。FIG. 3 shows a schematic diagram of a recording block in the embodiment of FIG. 1 . Please refer to FIG. 3 , the recording block 113 of this embodiment includes a plurality of recording columns 310_1 to 310_M, wherein M is a positive integer greater than 0. Referring to FIG. The record columns 310_1 to 310_M include a plurality of bytes 312 . The number of bytes per record column can be the same or different. The record columns 310_1 to 310_M are used to store data of erasing times. For example, each record column is, for example, a word line, which is coupled to a plurality of memory cells (not shown), and some of the memory cells are used to store erasing data. For example, in one embodiment, a plurality of memory cells corresponding to storing two bytes of data in each record row are used to store the data of erasing times. In one embodiment, a plurality of memory cells corresponding to a data volume of four bytes in each record row are used to store erasure count data.

在本实施例中,存储器控制电路120从第一个记录列310_1开始,依序将抹除次数的数据记录至最后一个记录列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 starts from the first record row 310_1 and sequentially records the data of erasing times to the last record row 310_M. Taking the first recording column 310_1 including two bytes as an example, the memory control circuit 120 starts from the least significant bit LSB in the byte 312_1 , and sequentially records data of erasing times 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 in the well area 112, the least significant bit LSB in the byte 312_1 is programmed from a state “1” to a state “0” to indicate The erasure count of the well area 112 is increased by one, and is recorded in byte 312_1. In this manner, the memory control circuit 120 sequentially records the data of the erasure times into the MSB of the byte 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所记录的抹除次数。Next, the memory control circuit 120 starts from the least significant bit LSB in the byte 312_2 and sequentially records the data of the erasing times 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 erasing times of the well area 112 is 16 times. These 16 times are the upper limit of erasing times recorded in the record row 310_1. When the erasing times recorded in the record row 310_1 (the first record row) have reached the upper limit value of the record row 310_1, the memory control circuit 120 uses its next record row 310_2 (the second record row) to record the data in the record row 310_1. The number of times the record was erased.

举例而言,当记录列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 erasing times recorded in the recording 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 the erasing period, and at the same time performs an erasing operation on the recording column 310_1. 310_1 performs an erase operation to erase all the bits of the two bytes 312_1 and 312_2 from state "0" to state "1" to re-record the number of erases. At this time, when the record column 310_1 is erased once, the memory control circuit 120 programs the least significant bit LSB in the byte 312_3 of the record column 310_2 from a state "1" to a state "0" to indicate that the record column 310_1 The erase count is 1, which means that the erase count of the well area 112 has accumulated 17 times, and is recorded in byte 312_3. In this manner, the memory control circuit 120 sequentially records the data of the erasure times into the MSB of the byte 312_3 .

在本实施例中,在记录列310_1进行抹除操作之后,存储器控制电路120会重新将抹除次数的数据记录在记录列310_1的字节312_1、312_2中,通过重复使用记录列310_1的记录字节,以提高记录区块113的记录次数上限。In this embodiment, after the erasing operation is performed on the recording column 310_1, the memory control circuit 120 will re-record the data of the erasing times in the bytes 312_1 and 312_2 of the recording column 310_1, by reusing the recording words of the recording column 310_1 section, to increase the upper limit of recording times of 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。Next, the memory control circuit 120 starts from the least significant bit LSB in the byte 312_4 and sequentially records the data of the erasing times to the most significant bit MSB 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 erasing times of the well area 112 is 256 times. The 256 times is the upper limit of erasing times recorded in the record row 310_2. If the erasing times recorded in the recording row 310_1 and the recording row 310_2 have reached the upper limit, the memory control circuit 120 simultaneously performs an erasing operation on the recording row 310_1 and the recording row 310_2 to re-record the erasing times. At this time, when the record column 310_1 and the record column 310_2 are erased, the memory control circuit 120 programs the least significant bit LSB in the byte 312_5 of the record column 310_3 from the state "1" to the state "0" to indicate the well The erasure count of the area 112 has accumulated 257 times, and is recorded in byte 312_5. In this way, the memory control circuit 120 sequentially records the data of the erasure times into the MSB of the byte 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 recording row 310_1 and the recording row 310_2, the memory control circuit 120 will re-record the data of the erasing times in the bytes 312_1 and 312_2 of the recording row 310_1 and the bytes of the recording row 310_2 In 312_3 and 312_4 , the upper limit of recording times of the recording block 113 is increased by reusing the recording bytes of the recording row 310_1 and the recording row 310_2 .

依此类推,若以记录100千次(100k)的抹除次数为目标,记录区块113包括4个记录列,第一个至第三个记录列以对应储存两个字节的数据量的多个存储器晶胞来储存抹除次数的数据,而第四个记录列以对应储存三个字节的数据量的多个存储器晶胞来储存抹除次数的数据。当最后一个记录列(例如310_M)所记录的抹除次数均已达该记录列的上限值时,是为其记录区块所记录的抹除次数上限值,存储器控制电路120不再对最后一个记录列进行抹除操作。By analogy, if the erasing times of 100 thousand times (100k) are recorded as the goal, the recording block 113 includes 4 recording columns, and the first to the third recording columns correspond to the amount of data stored in two bytes. A plurality of memory cells are used to store the data of erasing times, and the fourth record row uses a plurality of memory cells corresponding to storing three bytes of data to store the data of erasing times. When the erasing times recorded in the last record column (such as 310_M) has reached the upper limit value of the record column, it is the upper limit value of the erasing times recorded in the recording block, and the memory control circuit 120 no longer The last record column is erased.

在另一实施例中,记录区块113例如包括4个记录列,第一个至第三个记录列以对应储存四个字节的数据量的多个存储器晶胞来储存抹除次数的数据,而第四个记录列以对应储存一个字节的数据量的多个存储器晶胞来储存抹除次数的数据。因此,在此例中,记录区块113约可记录256千次(256k)的抹除次数。In another embodiment, the recording block 113 includes, for example, 4 recording columns, and the first to the third recording columns store the data of the number of times of erasing with a plurality of memory cells corresponding to a data amount of four bytes. , and the fourth record column stores data of erasing times in a plurality of memory cells corresponding to a data amount of one byte. Therefore, in this example, the recording block 113 can record approximately 256 thousand times (256k) of erasing 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 word line, which is coupled to a plurality of memory cells (not shown), and some of the memory cells are used to store erasing data. Compared with the word lines coupled to the memory blocks 111_1 to 111_N, the word lines coupled to the recording block 113 (i.e., the recording column) are additionally disposed in the well area 112 for recording the erasing times. Wire. When the memory control circuit 120 programs a valid bit in the byte of the record column 310_1 (LSB record column) from the state “1” to the state “0”, that is, the erasure count of the record well area 112 is increased by one. When the erasing times recorded in the recording column 310_1 reach the upper limit and are erased once, the memory control circuit 120 programs a valid bit in the byte of the next recording column 310_2 from the state "1" to the state "0". ", to indicate that the erasing count of the record row 310_1 is increased by one. When the erasing times recorded in the bytes of the recording columns 310_1 to 310_2 all reach the upper limit and are erased at the same time, the memory control circuit 120 changes a valid bit in the byte of the next recording column 310_3 from the state “1 ” is programmed into a state of “0” to indicate that the erasing count of the record row 310_2 is increased by 1. The number of times of erasure of the well area 112 can be obtained by counting data of different values in the bytes of each record row.

图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 shows a flow chart of the steps of the operation method of the flash memory storage device according to an embodiment of the present invention. The operation method of this embodiment is applicable to, for example, a NOR Flash storage device. Referring to FIG. 1 to FIG. 4 , in step S100 , the memory control circuit 120 performs an erase operation on the memory blocks 111_1 to 111_N located in the same well area 112 in the memory cell array 110 . In step S110 , the memory control circuit 120 determines whether the number of erasing times recorded in the recording column 310_1 in the recording block 113 reaches the upper limit. If yes, the memory control circuit 120 executes step S120 , performing an erasing operation on the record row 310_1 while performing an erase operation on the memory blocks 111_1 to 111_N, and recording data of erasing times in the record row 310_2 . If not, the memory control circuit 120 executes step S130 to record the erasing count data in the record row 310_1 .

此外,本发明的实施例的快闪存储器储存装置的操作方法可以由图1至图3实施例的叙述中获致足够的启示、建议与实施说明。In addition, the operation method of the flash memory storage device of the embodiment of the present invention can obtain sufficient enlightenment, suggestion and implementation description from the description of the embodiment in 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 shows a flowchart of steps of an operating method of 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 NOR Flash storage device. Please refer to FIG. 5 , in this embodiment, the memory control circuit 120 performs an erase operation on 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 performing 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 weakly program (soft-program) the memory cells that are over-erased in the target memory block and perform a refresh (refresh) operation on the memory blocks 111_1 and 111_3 to 111_N outside the target memory (step S240), so as to target non- Already programmed memory cells in the target memory block are programmed. In this embodiment, performing the pre-programming operation, erasing operation, post-programming operation on the target memory block 111_2, and performing refresh operations on the memory blocks 111_1 and 111_3 to 111_N other than the target memory can be performed by those skilled in the art Obtain sufficient enlightenment, suggestions and implementation instructions from common 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 executed, 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 are “1”. If the state of at least one bit in the bytes 312_1 and 312_2 is “1”, the memory control circuit 120 may record the erasing count data in the bit whose state is “1” in step S250 . If the states of all the bits in the bytes 312_1 and 312_2 are “0”, the memory control circuit 120 can record the data of the erasing times in the record row 310_2 , that is, the programmed record row 310_2 in step S250 . Moreover, in step S220 , the memory control circuit 120 performs an erase operation on the record row 310_1 while performing an erase operation on the target memory block 111_2 .

在步骤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 judges that the state of all bits of the bytes in the recording columns 310_1 and 320_2 is "0", the memory control circuit 120 can record the data of the erasing times in step S250 In the next record column of record column 310_2. Moreover, in step S220 , the memory control circuit 120 performs an erase operation on the record columns 310_1 and 310_2 while performing an erase operation on the target memory block 111_2 . The erase operation of the memory control circuit 120 on the remaining record rows 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 and refresh operations on the memory blocks 111_1 to 111_N in steps S230 and S240, and also performs post-programming and refresh operations on the recording block 113. Refresh operation. In addition, the operation method of the flash memory storage device of the embodiment of the present invention can obtain sufficient enlightenment, suggestion and implementation description from the description of the embodiment in FIG. 1 to FIG. 4 .

图6示出图5的步骤S200的详细流程图。请参考图3及图6,在步骤S300中,存储器控制电路120将读取模式设定在记录区块113,并且设定从记录列310_1开始读取。在步骤S310中,存储器控制电路120从字节312_1中的最低有效位LSB开始读取字节312_1的数据。在步骤S320中,存储器控制电路120判断所读取的数据的状态是否全部为“0”。FIG. 6 shows 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 read mode to the record block 113 , and sets to start reading from the record row 310_1 . In step S310, the memory control circuit 120 reads the data of the byte 312_1 starting from the least significant bit LSB in the byte 312_1. In step S320, the memory control circuit 120 judges whether or not the states of the read data are all "0".

若数据状态不是全部为“0”,例如至少有一个数据状态为“1”,存储器控制电路120执行步骤S330,将字节312_1的地址及其数据载入寄存器中及在步骤S250中将其程序化,例如对字节312_1中数据状态不为“0”的比特进行一比特程序化(one-bit program),以记录抹除次数。在步骤S330之后,存储器控制电路120回到图5的流程中执行步骤S210。If the data state is not all "0", for example, at least one data state is "1", the memory control circuit 120 executes step S330, loads the address of byte 312_1 and its data into the register and loads its program in step S250 For example, perform one-bit programming (one-bit program) on the bits whose data state is not “0” in the byte 312_1 to record the erasing times. After step S330, the memory control circuit 120 returns to the process of FIG. 5 to execute step S210.

若数据状态全部为“0”,存储器控制电路120执行步骤S340,判断所读取的字节是否是记录列310_1中的最后一个字节。若所读取的字节不是记录列310_1中的最后一个字节,存储器控制电路120回到步骤S310,读取下一个字节,即字节312_2。若所读取的字节是记录列310_1中的最后一个字节,存储器控制电路120执行步骤S350,判断所读取的记录列是否是记录区块113中的最后一个记录列310_M。If the data states are 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, namely 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 column is not the last record column 310_M in the record block 113, the memory control circuit 120 returns to step S310, and reads the first byte of the next record column, such as the byte 312_3 of the record column 310_2 . If the data state is not all "0", the memory control circuit 120 executes step S330, and the address of byte 312_3, its data and the record column address that has reached the upper limit of recording are loaded into the register, and will be processed in steps S210 to S240 While the target memory block is performing the erasing operation, the erasing operation is also performed on the record column 310_1, and in step S250, a bit is programmed for the bit whose data state is not "0" in the byte 312_3 to record the erasing number of divisions. 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 finish setting the data of the read byte. After step S360, the memory control circuit 120 returns to the process of FIG. 5 to execute step S210.

综上所述,在本发明的范例实施例中,快闪存储器储存装置可自动将各井区域被抹除的次数记录在各自的记录区块中。记录区块中的记录列为了记录抹除次数而额外设置在井区域中的字元线,其耦接的部分或全部的存储器晶胞可用来储存抹除次数的数据。有此记录数据可作为后续评估快闪存储器储存装置的性能之用。To sum up, in the exemplary embodiment of the present invention, the flash memory storage device can automatically record the erasing times of each well area in the respective recording blocks. The recording column in the recording block is additionally arranged on the word line in the well area for recording the erasing times, and part or all of the memory cells coupled with the word lines can be used to store the erasing times data. 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 above with the embodiments, it is not intended to limit the present invention. Any person skilled in the art can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, this The scope of protection of the invention should be defined by the claims.

Claims (15)

1. A flash memory storage device, comprising:
a memory cell array including a plurality of well regions, each well region including a plurality of memory blocks and a recording block, wherein the plurality of memory blocks and the recording block are in the same well region, wherein the plurality of memory blocks are used for storing data, and the recording block is used for storing erase times of the plurality of memory blocks; and
a memory control circuit, coupled to the memory cell array, for performing an erase operation on the plurality of memory blocks of each of the well regions and recording the erase count of the plurality of memory blocks of each of the well regions in the respective recording blocks,
wherein the recording block includes at least one recording row serving as a word line, wherein at least one memory cell coupled to the at least one recording row stores the erase count,
wherein if the erase count recorded by the at least one record row has reached an upper limit, the memory control circuit performs the erase operation on the at least one record row while performing the erase operation on the plurality of memory blocks in the memory cell array.
2. The flash memory storage device of claim 1, wherein the at least one record row comprises a plurality of record rows for storing the erasure count data, and each record row comprises a plurality of bytes.
3. The flash memory storage device of claim 2, wherein the memory control circuit sequentially records the erase count data to a last recording row of the recording blocks starting from a first recording row of the recording blocks.
4. The flash memory storage device of claim 3, wherein the memory control circuit sequentially records the erase count data to the most significant bit of each of the bytes, starting from the least significant bit of each of the bytes.
5. The flash memory storage device of claim 2, wherein the erase count recorded in each record row has an upper limit, the plurality of record rows includes a first record row and a second record row, and when the erase count recorded in the first record row reaches the upper limit of the first record row, the memory control circuit records the erase count recorded in the first record row by using the second record row until the erase count recorded in the second record row reaches the upper limit of the second record row.
6. The flash memory storage device of claim 5, wherein the memory control circuit performs the erase operation on the first record row during an erase when the erase count recorded by the first record row has reached an upper limit value of the first record row.
7. The flash memory storage device of claim 6, wherein the memory control circuitry performs the erase operation on the first record column together during the erase while performing the erase operation on the plurality of memory blocks.
8. The flash memory storage device of claim 5, wherein the second record row is a next record row of the first record row in the record block.
9. The flash memory storage device of claim 6, wherein the memory control circuit restores the erased data to the erased first record row after the erase operation is performed on the first record row.
10. An operation method of a flash memory storage device, wherein the flash memory storage device includes a memory cell array including a recording block including a plurality of recording rows, the operation method comprising:
performing an erase operation on a plurality of memory blocks in the memory cell array, wherein the plurality of memory blocks and the recording block are located in the same well region, wherein the plurality of memory blocks are used for storing data, and the recording block is used for storing erase times of the plurality of memory blocks;
recording all the erasing times of the recording block in a first recording row in the plurality of recording rows;
judging whether the erasing times recorded by the first recording row reach an upper limit value or not;
if the erase count recorded in the first record row has reached the upper limit, performing the erase operation on the first record row while performing the erase operation on the plurality of memory blocks in the memory cell array, and recording data of the erase count recorded in the first record row in a second record row of the plurality of record rows;
after the first record row is subjected to erasing operation, recording the data of the erasing times in the first record row again, and sequentially recording the data of the erasing times recorded in the first record row to an upper limit value in the second record row;
if the erase count recorded in the first record row and the second record row has reached the upper limit, performing the erase operation on the first record row and the second record row while performing the erase operation on the plurality of memory blocks in the memory cell array, and recording the data of the erase count recorded in the second record row in a third record row level record row in the plurality of record rows; and
after the first record row and the second record row are erased, re-recording the data of the erase count in the first record row and recording the data of the erase count recorded in the first record row in the second record row, sequentially recording the data of the erase count recorded in the second record row to an upper limit value in the third record row,
the second record row is used for storing whether the erasing times recorded by the first record row reach an upper limit value, and the third record row is used for storing whether the erasing times recorded by the second record row reach the upper limit value.
11. The operating method according to claim 10, wherein the step of recording the erasure count data in the plurality of record columns comprises:
and sequentially recording the data of the erasing times to the last recording row of the recording block from the first recording row of the recording block.
12. The operating method according to claim 11, wherein the step of recording the data of the erasure count in the plurality of record columns further comprises:
sequentially recording the erasure count data to the most significant bit of each of the plurality of bytes, starting from the least significant bit of the plurality of bytes of each of the plurality of record rows, wherein the plurality of record rows are used for storing the erasure count data, and the erasure count of each well region is calculated by the data with different values in the plurality of bytes of each of the plurality of record rows.
13. The operating method according to claim 10, wherein the plurality of record rows include a first record row and a second record row, and in the step of performing the erase operation on the plurality of record rows for which the erase count has reached the upper limit value, when the erase count recorded by the first record row has reached the upper limit value of the first record row, the erase operation is performed on the first record row while performing the erase operation on the plurality of memory blocks in the memory cell array.
14. The operating method according to claim 13, wherein the second recording column is a next recording column of the first recording column in the recording block.
15. The method according to claim 13, wherein in the step of recording the erased data in the plurality of record rows, the erased data is stored again in the first record row after the erasing operation is performed on the first record row.
CN201811169428.3A 2018-10-08 2018-10-08 Flash memory storage device and operation method thereof Active CN111009274B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811169428.3A CN111009274B (en) 2018-10-08 2018-10-08 Flash memory storage device and operation method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811169428.3A CN111009274B (en) 2018-10-08 2018-10-08 Flash memory storage device and operation method thereof

Publications (2)

Publication Number Publication Date
CN111009274A CN111009274A (en) 2020-04-14
CN111009274B true CN111009274B (en) 2022-11-08

Family

ID=70110657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811169428.3A Active CN111009274B (en) 2018-10-08 2018-10-08 Flash memory storage device and operation method thereof

Country Status (1)

Country Link
CN (1) CN111009274B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113488098A (en) * 2021-07-20 2021-10-08 南京冷火电子科技有限公司 Counting algorithm based on FALSH memory

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106844583A (en) * 2017-01-10 2017-06-13 厦门雅迅网络股份有限公司 A kind of optimization method that FAT file system is set up on NOR Flash
CN107193493A (en) * 2017-05-19 2017-09-22 惠州佰维存储科技有限公司 The management method and its system of Nand flash blocks
CN107293324A (en) * 2016-04-13 2017-10-24 华邦电子股份有限公司 Storage arrangement and memory block application method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101703106B1 (en) * 2011-01-04 2017-02-06 삼성전자주식회사 Non-volatile memory device of performing partial-erase operation and apparatuses having the same
US9153331B2 (en) * 2013-03-13 2015-10-06 Sandisk Technologies Inc. Tracking cell erase counts of non-volatile memory

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107293324A (en) * 2016-04-13 2017-10-24 华邦电子股份有限公司 Storage arrangement and memory block application method
CN106844583A (en) * 2017-01-10 2017-06-13 厦门雅迅网络股份有限公司 A kind of optimization method that FAT file system is set up on NOR Flash
CN107193493A (en) * 2017-05-19 2017-09-22 惠州佰维存储科技有限公司 The management method and its system of Nand flash blocks

Also Published As

Publication number Publication date
CN111009274A (en) 2020-04-14

Similar Documents

Publication Publication Date Title
KR101463967B1 (en) Non-volatile semiconductor memory, erasing method and programming method
CN1575496B (en) Flash memory device and method of operation thereof
JP2716906B2 (en) Nonvolatile semiconductor memory device
KR100926195B1 (en) Non-volatile semiconductor memory device
JP3812933B2 (en) File system and control method thereof
US6965526B2 (en) Sectored flash memory comprising means for controlling and for refreshing memory cells
JP6249504B1 (en) Semiconductor memory device
KR100645047B1 (en) Nonvolatile Memory Device And Its High Speed Programming Method
CN106328203B (en) Flash memory device and method for initializing program operation thereof
TWI549134B (en) Nand type flash memory and programming method thereof
CN108877863B (en) Flash memory storage device and method of operating the same
US8081517B2 (en) Solid state storage system for uniformly using memory area and method controlling the same
JPH06215584A (en) Nonvolatile semiconductor memory device and memory system using the same
CN100464375C (en) Erasing method for reducing erasing time and preventing over-erasing
CN111009274B (en) Flash memory storage device and operation method thereof
US7236405B2 (en) Method for setting erasing pulses and screening erasing defects of nonvolatile memory
CN111627484A (en) Nor flash erase disturbance correction method and device
KR100965074B1 (en) Nonvolatile Memory Device Memory Cell Block and Additional Information Management Method
TWI678699B (en) Flash memory storage device and method thereof
US10908824B2 (en) Flash memory storage device and method thereof
JP3228225B2 (en) Erasing device for storage device, erasing method for storage device, and storage medium storing program thereof
JP4636005B2 (en) MEMORY CONTROLLER, FLASH MEMORY SYSTEM HAVING MEMORY CONTROLLER, AND FLASH MEMORY CONTROL METHOD
JP2004030849A (en) Semiconductor nonvolatile memory having partial data rewriting function
CN106328202A (en) Flash memory device and data erasing method
JP4170261B2 (en) Nonvolatile semiconductor memory device and data writing or erasing method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant