WO2024055832A1 - Non-volatile memory and erasing method therefor, and computer system - Google Patents
Non-volatile memory and erasing method therefor, and computer system Download PDFInfo
- Publication number
- WO2024055832A1 WO2024055832A1 PCT/CN2023/114860 CN2023114860W WO2024055832A1 WO 2024055832 A1 WO2024055832 A1 WO 2024055832A1 CN 2023114860 W CN2023114860 W CN 2023114860W WO 2024055832 A1 WO2024055832 A1 WO 2024055832A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- area
- reference voltage
- erasure
- memory
- erasing method
- Prior art date
Links
- 230000015654 memory Effects 0.000 title claims abstract description 147
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000008439 repair process Effects 0.000 claims abstract description 33
- 239000000758 substrate Substances 0.000 claims abstract description 15
- 230000004044 response Effects 0.000 claims abstract description 13
- 230000001186 cumulative effect Effects 0.000 claims abstract description 9
- 238000012795 verification Methods 0.000 claims description 24
- 238000012545 processing Methods 0.000 claims description 17
- 230000008859 change Effects 0.000 claims description 2
- 230000002265 prevention Effects 0.000 claims 1
- 238000007667 floating Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 239000004065 semiconductor Substances 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000005669 field effect Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G11—INFORMATION STORAGE
- G11C—STATIC STORES
- G11C16/00—Erasable programmable read-only memories
- G11C16/02—Erasable programmable read-only memories electrically programmable
- G11C16/06—Auxiliary circuits, e.g. for writing into memory
- G11C16/34—Determination of programming status, e.g. threshold voltage, overprogramming or underprogramming, retention
Definitions
- the present application relates to the field of semiconductor memory, and in particular, to an erasure technology of non-volatile memory.
- Non-Volatile memory devices can generally be classified into volatile memories and non-volatile (NV: Non-Volatile) memories.
- Volatile memory such as DRAM, SRAM, etc.
- non-volatile memory such as EEPROM, EAROM, PROM, EPROM, NAND Flash, NOR Flash, etc.
- EEPROM electrically erasable programmable read-only memory
- EAROM erasable programmable read-only memory
- PROM electrically erasable programmable read-only memory
- EPROM Erasable programmable read-only memory
- Flash memory such as NAND flash memory or NOR flash memory
- NAND flash memory or NOR flash memory is widely used as a non-volatile memory. Since the programming operation of any flash memory device can only be performed within empty or erased memory cells, in most cases, an erase operation must be performed before the flash memory can be programmed. The erase operation of flash memory is usually implemented using the "Fower-Nordheim tunnel effect".
- FIG. 1 illustrates a schematic structural diagram of a memory unit 100 in an existing NOR flash memory.
- Each memory cell in NOR flash memory is a Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET) with a floating gate (also called a floating gate).
- MOSFET Metal-Oxide-Semiconductor Field-Effect Transistor
- the memory cell 100 may include a substrate 10 , a source electrode 11 , a drain electrode 12 , a tunnel oxide layer 13 , a floating gate 14 , an oxide layer 15 and a control gate 16 .
- NOR flash memory multiple memory cells usually share one substrate (for example, multiple memory cells with a total storage space of up to 4M share one substrate).
- erasure is usually performed in units of 4k, 16k, 32k, etc. storage space. That is to say, when performing an erase operation on a NOR flash memory, these memory cells sharing a substrate can be divided into an area A that needs to be erased (hereinafter referred to as area A) and an area B that does not need to be erased (hereinafter referred to as area A). B).
- area A an area A that needs to be erased
- area B that does not need to be erased
- the technical solution proposed by the present invention aims to solve the above-mentioned problem of the impact of erasing operations on areas that do not need to be erased.
- a method for erasing a non-volatile memory includes: performing an erasing operation on the first region; in response to the cumulative number of erasing operations performed on the first region reaching Perform an anti-erasure check on the second area of the memory a predetermined number of times N, where N ⁇ 2, and the result of the anti-erasure check indicates whether the second area is disturbed by the erasure operation; and respond After determining that the second area is disturbed by the erasing operation, a repair operation is performed on the second area.
- the step of performing an anti-erasure check on the second area of the memory includes: based on determining that the threshold voltage of the memory cell in the second area is between a first reference voltage and Within the predetermined voltage range of the second reference voltage, determine the second area The memory cell is disturbed by the erase operation, wherein the first reference voltage is an upper limit of the predetermined voltage range, and the second reference voltage is a lower limit of the predetermined voltage range and is used to indicate the verified Whether the memory location is one that should be protected from erasure.
- the step of performing an anti-erasure check on the second area of the memory further includes: comparing the threshold voltage of the memory cells in the second area with the first reference The voltage is compared with the second reference voltage to determine whether the threshold cell of the memory cell is within the predetermined voltage range.
- the step of performing a repair operation on the second area includes: performing a weak programming operation on the disturbed memory cells in the second area to change the damaged memory cells in the second area.
- the threshold voltage of the disturbed memory cell is increased to be greater than or equal to a repair target reference voltage, wherein the repair target reference voltage is greater than the first reference voltage, and wherein the first reference voltage is the same as the repair target reference voltage.
- the difference between the reference voltages is greater than or equal to the difference between the first reference voltage and the second reference voltage.
- the erasing method further includes: performing erasure verification on the first area, and the result of the erasure verification indicates whether the first area is successfully erasing; and in response to determining that the first area has not been successfully erased, performing the erasing operation on the first area again.
- the step of performing erasure verification on the first area is performed in response to the erasure operation performed on the first area not reaching the predetermined number N. ongoing.
- the erasing method further includes: after performing the anti-erasure verification on the second area, in response to determining that the second area is not an erase operation is disturbed, performing the erase check on the first area; and in response to determining that the second area is disturbed by the erase operation, performing the erase check on the disturbed memory cells of the second area. After the repair operation, the erasure verification is performed on the first area.
- the step of performing erasure verification on the first area includes: based on the threshold voltages of all memory cells in the first area being less than the erasure target reference voltage, determining The first area is successfully erased; and based on the threshold voltage of at least one memory cell in the first area being greater than or equal to the erasure target reference voltage, it is determined The first area was not successfully erased.
- the second area of the memory is executed.
- a non-volatile memory which stores computer instructions.
- the processing unit executes on the non-volatile memory as described in the preceding paragraph.
- a computer system including: a computer storage medium storing computer instructions; a non-volatile memory; and a processing unit, which performs processing on all the computer instructions when executing the computer instructions.
- the non-volatile memory performs an erasure method as described in any of the preceding paragraphs.
- the present invention proposes to perform verification and/or repair on the unnecessary erasing area only after performing multiple erasing operations. Verification and/or repair, the present invention can have higher erasure efficiency for NOR memory.
- the present invention proposes to perform verification and/or repair of the areas that do not need to be erased after performing a predetermined number of erasing operations. Compared with performing verification and/or repairing the areas that need to be erased in the NOR memory after all the areas that need to be erased have been successfully erased, There is no need to erase the area for verification and/or repair.
- the present invention can have higher accuracy in judging whether the area that does not need to be erased is disturbed, and thus provides better performance in repairing the area that does not need to be erased. Timeliness.
- Figure 1 illustrates a schematic structural diagram of a storage unit in an existing NOR flash memory.
- Figure 2 shows a flow chart of a non-volatile memory erasing method according to an embodiment of the present invention.
- Figure 3 shows a block diagram of a non-volatile memory according to an embodiment of the invention.
- Figure 4 shows a block diagram of a computer system according to an embodiment of the invention.
- FIG. 2 shows a flow chart of a non-volatile memory erasing method 200 (hereinafter referred to as the erasing method 200) according to an embodiment of the present invention.
- the erasing method 200 may be applied to the NOR flash memory including the memory unit 100 shown in FIG. 1 to erase the area A in the NOR flash memory that needs to be erased.
- parameter n may be set to indicate the erase performed during an erase process for area A (which may be simply referred to as area A) in a non-volatile memory (eg, NOR flash memory) that needs to be erased The cumulative number of operations. During the startup of the erase process, this parameter n can be set to zero.
- the erasing method 200 may proceed to step 203.
- an erasure operation is performed on area A.
- an erase operation can be performed on area A in the memory.
- a negative voltage eg, about -10V
- a positive voltage for example, about 8V
- area A can be further divided into multiple sub-areas.
- the erasure operation can be performed simultaneously on several or all sub-areas in area A, or only on area A.
- a subregion performs an erasure operation.
- the erasing method 200 may proceed to step 205.
- parameter n is increased by one.
- a value indicating the cumulative number of erasure operations performed during the erasure process may be Parameter n is increased by 1.
- the erasing method 200 may proceed to step 207.
- the parameter n may be compared with the predetermined number of times N to determine whether the parameter n reaches the predetermined number of times N.
- the erasing method 200 may proceed to step 209.
- the erasing method 200 may proceed to step 215.
- an erasure verification is performed on area B.
- an anti-erasure check may be performed on area B in the non-volatile memory (eg, NOR flash memory) to determine Whether the above erasure operation performed on area A causes interference to area B.
- the memory unit 100 in area B and the memory unit 100 in area A share the substrate 10 .
- the threshold voltages of the memory cells 100 in region B may be compared with the first reference voltage and the second reference voltage.
- the first reference voltage is an upper limit reference voltage for anti-erasure verification
- the second reference voltage is a lower limit reference voltage for anti-erasure verification.
- the upper limit reference cell may be used to indicate whether a repair operation as shown below should be performed on the memory cell 100 being verified. For example, if the threshold voltage of the memory cell 100 is greater than the upper limit reference voltage, it may be considered that there is no need to perform a repair operation on the memory cell. On the contrary, if the threshold voltage of the memory cell 100 is less than or equal to the upper limit reference voltage, it is considered that a repair operation may need to be performed on the memory cell.
- the lower limit reference voltage may be used to indicate whether the memory cell 100 being verified is an erase cell that should be prevented from being erased.
- the threshold voltage of the memory cell 100 when the threshold voltage of the memory cell 100 is less than the lower limit reference voltage, it can be considered that the memory cell is not a memory cell that should be prevented from being erased (for example, the memory cell may be a memory cell that should be erased), and further it can be considered that it is not necessary. Perform the repair operations described below on the storage unit.
- the threshold voltage of the memory cell 100 when the threshold voltage of the memory cell 100 is greater than or equal to the lower limit reference voltage, the memory cell can be considered to be a memory cell that should be prevented from being erased.
- the memory cell 100 can be configured when the threshold voltage of the memory cell is less than or equal to the lower limit reference voltage. When the upper limit reference voltage is greater than or equal to the lower limit reference voltage, a repair operation is performed on the memory cell.
- the first reference voltage and the second reference voltage may be any voltage value between 5V and 7V, wherein the first reference voltage may be greater than the second reference voltage.
- step 209 when it is determined that the cumulative number of erasure operations performed on the area A reaches the predetermined number N, that is, when it is determined that the parameter n reaches N, the parameter n may be reset to zero.
- the erasing method 200 may proceed to step 211.
- whether area B is interfered may be determined based on the result of an anti-erasure check performed on area B. For example, when the threshold voltage of a memory cell 100 in area B is less than or equal to the first reference voltage and greater than or equal to the second reference voltage, it can be determined that the memory cell in area B is disturbed by the erasure operation. Otherwise, when the threshold voltages of all the memory cells 100 in the region B are not within the predetermined voltage range of the first reference voltage and the second reference voltage, it is determined that the region B is not disturbed by the erase operation. When it is determined that the memory cell 100 in area B is disturbed, the erasing method 200 may proceed to step 213 . When it is determined that all memory cells 100 in area B are not disturbed, the erasing method 200 may proceed to step 215 .
- a repair operation is performed on area B.
- a repair operation may be performed on the disturbed memory unit 100 of area B to reduce the impact of the erase operation on area B.
- a weak programming operation may be performed on the disturbed memory cells 100 of region B to increase the threshold voltage of the disturbed memory cells 100 of region B to be greater than or equal to the repair target reference voltage.
- the repair target reference voltage may be any voltage value between 7V and 8V, where the repair target reference voltage may be greater than the first reference voltage.
- the first reference voltage may be set closer to the second reference voltage than the repair target reference voltage.
- the difference between the repair target reference voltage and the first reference voltage may be greater than or equal to the difference between the first reference voltage and the second reference voltage.
- the difference between the repair target reference voltage and the first reference voltage may be greater than or equal to twice the difference between the first reference voltage and the second reference voltage.
- the difference between the repair target reference voltage and the first reference voltage may be greater than or equal to three times the difference between the first reference voltage and the second reference voltage.
- the erasing method 200 may proceed to step 215.
- erasure verification is performed on area A.
- the threshold voltage of the memory cell 100 in area A may be compared with the erase target reference voltage to determine whether area A is successfully erased.
- the erase target reference voltage may be any voltage value between 2V and 4V.
- the erasure method 200 may proceed to step 217.
- step 217 it is determined whether area A is successfully erased. In some embodiments, whether area A is successfully erased may be determined based on a result of an erasure check performed on area A. For example, when the threshold voltages of all memory cells 100 in area A are less than the erase target reference voltage, it may be determined that area A is successfully erased. Otherwise, when the threshold voltage of at least one memory cell 100 in area A is greater than or equal to the erasure target reference voltage, it is determined that area A has not been successfully erased. When it is determined that area A is successfully erased, erasing method 200 may proceed to step 219 . When it is determined that area A has not been successfully erased, the erasing method 200 may return to step 203 and continue to perform the erasing operation on area A.
- the erasure process ends.
- the erasing process of area A may be ended.
- Figure 3 shows a block diagram of a non-volatile memory 300 according to an embodiment of the invention.
- the non-volatile memory 300 may be a NAND flash memory, a NOR flash memory, or other non-volatile memory. As shown in FIG. 3 , the nonvolatile memory 300 may include a storage area 301 and a processing part 303 . Storage area 301 may be used to store computer instructions. The processing part 303 may execute the computer instructions stored in the storage area 301 automatically or upon receiving a signal from an external computing device (eg, a computer or a communication terminal, etc.) to implement the erasing method 200 as described above. one or more of the steps. In some embodiments, processing portion 303 may be a semiconductor chip, such as within non-volatile memory 300 .
- FIG. 4 shows A block diagram of a computer system 400 is shown in accordance with an embodiment of the invention.
- the computer system 400 may include a nonvolatile memory 401 , a computer storage medium 402 and a processing unit 403 .
- the non-volatile memory 401 may be NAND flash memory, NOR flash memory, etc.
- Computer storage media 402 may be used to store computer instructions.
- Processing unit 403 may control non-volatile memory 401 automatically or upon receipt of a signal externally (eg, via wireless transmission) or internally (eg, from other circuits or components within computer system 400 ).
- the non-volatile memory 401 is controlled below.
- the processing unit 403 may execute computer instructions stored in the computer storage medium 402 to implement one or more of the steps in the erasing method 200 as described above for the non-volatile memory 401 .
- the processing unit 403 may include ASIC (Application Specific Integrated Circuit: Application Specific Integrated Circuit), IC (Integrated Circuit: Integrated Circuit), DSP (Digital Signal Processor: Digital Signal Processor), FPGA (Field Programmable Gate Array: Field Programmable Gate Array) Programming gate array), various logic circuits, and various signal processing circuits, etc.
- ASIC Application Specific Integrated Circuit: Application Specific Integrated Circuit
- IC Integrated Circuit: Integrated Circuit
- DSP Digital Signal Processor: Digital Signal Processor
- FPGA Field Programmable Gate Array: Field Programmable Gate Array
- various logic circuits etc.
Landscapes
- Read Only Memory (AREA)
Abstract
Provided in the present disclosure are a non-volatile memory and an erasing method therefor, and a computer system. The non-volatile memory comprises a first area, which needs to be erased, and a second area, which does not need to be erased, wherein the first area and the second area share a substrate. The erasing method comprises: executing an erasing operation on a first area; in response to the cumulative number of erasing operations which are executed on the first area reaching a predetermined number N, executing anti-erasing checking on a second area of a memory, wherein N ≥ 2, and the result of the anti-erasing checking indicates whether the second area is interfered with by the erasing operation; and in response to determining that the second area is interfered with by the erasing operation, executing a repair operation on the second area. By means of the erasing method provided in the present disclosure, the impact of an erasing operation on an area which does not need to be erased can be reduced.
Description
本申请涉及半导体存储器领域,具体地,涉及一种非易失性存储器的擦除技术。The present application relates to the field of semiconductor memory, and in particular, to an erasure technology of non-volatile memory.
半导体存储器设备一般可以被分类为易失性(volatile)存储器和非易失性(NV:Non-Volatile)存储器。易失性存储器(诸如DRAM、SRAM等)在缺乏所施加的电力的情况下会丢失存储的数据。相反,非易失性存储器(诸如EEPROM、EAROM、PROM、EPROM、NAND闪存、NOR闪存等)能够在缺乏所施加的电力的情况下保持存储的数据。随着可携带电子产品(例如个人计算机、智能手机、数码相机、多媒体播放设备等等)的发展,对非易失性存储器的需求越来越大,对其性能的要求也越来越高。Semiconductor memory devices can generally be classified into volatile memories and non-volatile (NV: Non-Volatile) memories. Volatile memory (such as DRAM, SRAM, etc.) loses stored data in the absence of applied power. In contrast, non-volatile memory (such as EEPROM, EAROM, PROM, EPROM, NAND Flash, NOR Flash, etc.) is capable of retaining stored data in the absence of applied power. With the development of portable electronic products (such as personal computers, smart phones, digital cameras, multimedia playback devices, etc.), the demand for non-volatile memory is increasing, and the requirements for its performance are also getting higher and higher.
在非易失性存储器中,有读取/编程/擦除三种基本操作。闪存(诸如,NAND闪存或NOR闪存)作为非易失性存储器被广泛使用。由于任何闪存器件的编程操作只能在空的或已擦除的存储单元内进行,因此在大多数情况下,在对闪存进行编程操作之前必须先执行擦除操作。对闪存的擦除操作通常是利用“Fower-Nordheim隧道效应”来实现的。In non-volatile memory, there are three basic operations: read/program/erase. Flash memory, such as NAND flash memory or NOR flash memory, is widely used as a non-volatile memory. Since the programming operation of any flash memory device can only be performed within empty or erased memory cells, in most cases, an erase operation must be performed before the flash memory can be programmed. The erase operation of flash memory is usually implemented using the "Fower-Nordheim tunnel effect".
以下以图1为例,示意性地描述了对闪存的擦除操作。The following takes Figure 1 as an example to schematically describe the erase operation of the flash memory.
图1例示了现有的NOR闪存中的一个存储单元100的结构示意图。NOR闪存中的每个存储单元都是带有浮置栅极(也可称为浮栅)的金属-氧化物半导体场效应晶体管(Metal-Oxide-Semiconductor Field-Effect Transistor,MOSFET)。如图1所示,存储单元100可包括衬底10、源极11、漏极12、隧道氧化层13、浮栅14、氧化层15和控制栅16。当在存储单元100的控制栅16上施加负电压(例如,约-10V)并在存储单元100的衬底10上施加正电压(例如,约8V)时,存储单元100的浮栅14中所
存储的电子将脱离浮栅14并隧穿隧道氧化层13,到达衬底10。当存储单元100的浮栅14中的电子减少到一定程度,或者换句话说当存储单元100的阈值电压低于参考电压时,认为存储单元100被成功擦除。FIG. 1 illustrates a schematic structural diagram of a memory unit 100 in an existing NOR flash memory. Each memory cell in NOR flash memory is a Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET) with a floating gate (also called a floating gate). As shown in FIG. 1 , the memory cell 100 may include a substrate 10 , a source electrode 11 , a drain electrode 12 , a tunnel oxide layer 13 , a floating gate 14 , an oxide layer 15 and a control gate 16 . When a negative voltage (eg, approximately -10V) is applied to the control gate 16 of the memory cell 100 and a positive voltage (eg, approximately 8V) is applied to the substrate 10 of the memory cell 100, the floating gate 14 of the memory cell 100 The stored electrons will escape from the floating gate 14 and tunnel through the tunnel oxide layer 13 to reach the substrate 10 . When the electrons in the floating gate 14 of the memory cell 100 are reduced to a certain extent, or in other words when the threshold voltage of the memory cell 100 is lower than the reference voltage, the memory cell 100 is considered to be successfully erased.
在NOR闪存中,通常是多个存储单元共用一个衬底(例如,总存储空间高达4M的多个存储单元共用一个衬底)。然而,在实际操作中,在对NOR闪存执行擦除操作时,通常是以4k、16k、32k等的存储空间为单位进行擦除的。也就是说,在对NOR闪存执行擦除操作时,共用一个衬底的这些存储单元可被分为需要擦除区域A(在下文简称区域A)和不需要擦除区域B(在下文简称区域B)。当对区域A的衬底施加正电压以便对区域A进行擦除时,共用该衬底的区域B将受到干扰,例如,区域B的浮栅中所存储的电子将隧穿隧道氧化层并到达衬底,致使区域B的阈值电压被拉低。In NOR flash memory, multiple memory cells usually share one substrate (for example, multiple memory cells with a total storage space of up to 4M share one substrate). However, in actual operation, when performing an erase operation on NOR flash memory, erasure is usually performed in units of 4k, 16k, 32k, etc. storage space. That is to say, when performing an erase operation on a NOR flash memory, these memory cells sharing a substrate can be divided into an area A that needs to be erased (hereinafter referred to as area A) and an area B that does not need to be erased (hereinafter referred to as area A). B). When a positive voltage is applied to the substrate of area A to erase area A, area B sharing the substrate will be disturbed. For example, the electrons stored in the floating gate of area B will tunnel through the tunnel oxide layer and reach substrate, causing the threshold voltage of region B to be pulled down.
因此,期望提出一种技术方案,用以降低以上所述的擦除操作对不需要擦除区域B的影响。Therefore, it is desirable to propose a technical solution to reduce the impact of the above-mentioned erasing operation on the area B that does not need to be erased.
发明内容Contents of the invention
本发明所提出的技术方案旨在解决以上所述的擦除操作对不需要擦除区域的影响的问题。The technical solution proposed by the present invention aims to solve the above-mentioned problem of the impact of erasing operations on areas that do not need to be erased.
在本发明的一个方面,提供了一种非易失性存储器的擦除方法,其中所述非易失性存储器包括需要擦除的第一区域和不需要擦除的第二区域,并且所述第一区域和所述第二区域共用衬底,所述擦除方法包括:对所述第一区域执行擦除操作;响应于对所述第一区域执行的所述擦除操作的累计次数达到预定次数N,对所述存储器的第二区域执行防擦除校验,其中N≥2,所述防擦除校验的结果指示所述第二区域是否被所述擦除操作干扰;以及响应于确定所述第二区域被所述擦除操作干扰,对所述第二区域执行修复操作。In one aspect of the present invention, a method for erasing a non-volatile memory is provided, wherein the non-volatile memory includes a first area that needs to be erased and a second area that does not need to be erased, and the The first region and the second region share a substrate, and the erasing method includes: performing an erasing operation on the first region; in response to the cumulative number of erasing operations performed on the first region reaching Perform an anti-erasure check on the second area of the memory a predetermined number of times N, where N≥2, and the result of the anti-erasure check indicates whether the second area is disturbed by the erasure operation; and respond After determining that the second area is disturbed by the erasing operation, a repair operation is performed on the second area.
在本发明的一个方面的至少一实施例中,对所述存储器的第二区域执行防擦除校验的步骤包括:基于确定所述第二区域的存储单元的阈值电压在第一参考电压至第二参考电压的预定电压范围内,确定所述第二区域的
所述存储单元被所述擦除操作干扰,其中所述第一参考电压为所述预定电压范围的上限,所述第二参考电压为所述预定电压范围的下限并且用于指示所校验的存储单元是否是应防止被擦除的存储单元。In at least one embodiment of one aspect of the present invention, the step of performing an anti-erasure check on the second area of the memory includes: based on determining that the threshold voltage of the memory cell in the second area is between a first reference voltage and Within the predetermined voltage range of the second reference voltage, determine the second area The memory cell is disturbed by the erase operation, wherein the first reference voltage is an upper limit of the predetermined voltage range, and the second reference voltage is a lower limit of the predetermined voltage range and is used to indicate the verified Whether the memory location is one that should be protected from erasure.
在本发明的一个方面的至少一实施例中,对所述存储器的第二区域执行防擦除校验的步骤还包括:将所述第二区域的存储单元的阈值电压与所述第一参考电压和所述第二参考电压进行比较,以确定所述存储单元的阈值单元是否在所述预定电压范围内。In at least one embodiment of an aspect of the present invention, the step of performing an anti-erasure check on the second area of the memory further includes: comparing the threshold voltage of the memory cells in the second area with the first reference The voltage is compared with the second reference voltage to determine whether the threshold cell of the memory cell is within the predetermined voltage range.
在本发明的一个方面的至少一实施例中,对所述第二区域执行修复操作的步骤包括:对所述第二区域的受干扰存储单元执行弱编程操作,以将所述第二区域的所述受干扰存储单元的阈值电压增大到大于或等于修复目标参考电压,其中,所述修复目标参考电压大于所述第一参考电压,并且其中,所述第一参考电压与所述修复目标参考电压之间的差值大于或等于所述第一参考电压与所述第二参考电压之间的差值。In at least one embodiment of one aspect of the present invention, the step of performing a repair operation on the second area includes: performing a weak programming operation on the disturbed memory cells in the second area to change the damaged memory cells in the second area. The threshold voltage of the disturbed memory cell is increased to be greater than or equal to a repair target reference voltage, wherein the repair target reference voltage is greater than the first reference voltage, and wherein the first reference voltage is the same as the repair target reference voltage. The difference between the reference voltages is greater than or equal to the difference between the first reference voltage and the second reference voltage.
在本发明的一个方面的至少一实施例中,所述擦除方法还包括:对所述第一区域执行擦除校验,所述擦除校验的结果指示所述第一区域是否被成功擦除;以及响应于确定所述第一区域未被成功擦除,再次对所述第一区域执行所述擦除操作。In at least one embodiment of an aspect of the present invention, the erasing method further includes: performing erasure verification on the first area, and the result of the erasure verification indicates whether the first area is successfully erasing; and in response to determining that the first area has not been successfully erased, performing the erasing operation on the first area again.
在本发明的一个方面的至少一实施例中,对所述第一区域执行擦除校验的步骤是响应于对所述第一区域执行的所述擦除操作未达到所述预定次数N而进行的。In at least one embodiment of one aspect of the present invention, the step of performing erasure verification on the first area is performed in response to the erasure operation performed on the first area not reaching the predetermined number N. ongoing.
在本发明的一个方面的至少一实施例中,所述擦除方法还包括:在对所述第二区域执行所述防擦除校验之后,响应于确定所述第二区域未被所述擦除操作干扰,对所述第一区域执行所述擦除校验;以及在响应于确定所述第二区域被所述擦除操作干扰而对所述第二区域的受干扰存储单元执行所述修复操作之后,对所述第一区域执行所述擦除校验。In at least one embodiment of one aspect of the present invention, the erasing method further includes: after performing the anti-erasure verification on the second area, in response to determining that the second area is not an erase operation is disturbed, performing the erase check on the first area; and in response to determining that the second area is disturbed by the erase operation, performing the erase check on the disturbed memory cells of the second area. After the repair operation, the erasure verification is performed on the first area.
在本发明的一个方面的至少一实施例中,对所述第一区域执行擦除校验的步骤包括:基于所述第一区域的全部存储单元的阈值电压均小于擦除目标参考电压,确定所述第一区域被成功擦除;以及基于所述第一区域中至少有一个存储单元的阈值电压大于或等于所述擦除目标参考电压,确定
所述第一区域未被成功擦除。In at least one embodiment of an aspect of the present invention, the step of performing erasure verification on the first area includes: based on the threshold voltages of all memory cells in the first area being less than the erasure target reference voltage, determining The first area is successfully erased; and based on the threshold voltage of at least one memory cell in the first area being greater than or equal to the erasure target reference voltage, it is determined The first area was not successfully erased.
在本发明的一个方面的至少一实施例中,仅当对所述第一区域执行的所述擦除操作的所述累计次数达到所述预定次数N时,对所述存储器的第二区域执行所述防擦除校验并且将所述擦除操作的所述累计次数重置为零,其中,所述预定次数N≤128或所述预定次数N≤64,并且其中,所述非易失性存储器包括NOR闪存。In at least one embodiment of one aspect of the present invention, only when the cumulative number of erase operations performed on the first area reaches the predetermined number N, the second area of the memory is executed. The anti-erasure check and reset the accumulated number of erase operations to zero, wherein the predetermined number N≤128 or the predetermined number N≤64, and wherein the non-volatile Flexible memory includes NOR flash memory.
在本发明的另一方面,提供了一种非易失性存储器,存储有计算机指令,当所述计算机指令被处理部执行时,所述处理部对所述非易失性存储器执行如前述段落中的任一段落所述的擦除方法。In another aspect of the present invention, a non-volatile memory is provided, which stores computer instructions. When the computer instructions are executed by a processing unit, the processing unit executes on the non-volatile memory as described in the preceding paragraph. The erasing method described in any of the paragraphs.
在本发明的又一方面,提供了一种计算机系统,包括:存储有计算机指令的计算机存储介质;非易失性存储器;以及处理部,所述处理部在执行所述计算机指令时,对所述非易失性存储器执行如前述段落中的任一段落所述的擦除方法。In yet another aspect of the present invention, a computer system is provided, including: a computer storage medium storing computer instructions; a non-volatile memory; and a processing unit, which performs processing on all the computer instructions when executing the computer instructions. The non-volatile memory performs an erasure method as described in any of the preceding paragraphs.
本发明所提出的技术方案可以具有以下一项或多项优点:The technical solution proposed by the present invention may have one or more of the following advantages:
(1)本发明提出仅在执行了多次擦除操作后,才对不需要擦除区域进行校验和/或修复,相比于每次执行擦除操作后就对不需要擦除区域进行校验和/或修复,本发明可以具有较高的对NOR内存的擦除效率。(1) The present invention proposes to perform verification and/or repair on the unnecessary erasing area only after performing multiple erasing operations. Verification and/or repair, the present invention can have higher erasure efficiency for NOR memory.
(2)本发明提出在执行了预定次数的擦除操作后,对不需要擦除区域进行校验和/或修复,相比于在NOR内存中需要擦除区域全部被成功擦除之后才对不需要擦除区域进行校验和/或修复,本发明在判断不需要擦除区域是否受到干扰方面可以具有较高的准确性,进而在执行对不需要擦除区域的修复方面提供较好的及时性。(2) The present invention proposes to perform verification and/or repair of the areas that do not need to be erased after performing a predetermined number of erasing operations. Compared with performing verification and/or repairing the areas that need to be erased in the NOR memory after all the areas that need to be erased have been successfully erased, There is no need to erase the area for verification and/or repair. The present invention can have higher accuracy in judging whether the area that does not need to be erased is disturbed, and thus provides better performance in repairing the area that does not need to be erased. Timeliness.
附图用来提供对本发明的进一步理解,并且构成说明书的一部分,与本发明的实施例一起用于解释本发明,并不构成对本发明的限制。The drawings are used to provide a further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.
附图不意在按比例绘制。在附图中,在各个图中示出的每个相同或近似相同的组成部分可以用相同的标号表示。为了清晰起见,在每个图中,并非每个组成部分均被标记。现在,将通过例子并参考附图来描述本发明
的各个方面的实施例,其中:The drawings are not intended to be drawn to scale. In the drawings, each identical or approximately identical component shown in various figures may be designated by the same reference numeral. For clarity, not every component is labeled in each figure. The present invention will now be described by way of examples and with reference to the accompanying drawings Embodiments of various aspects, wherein:
图1例示了现有的NOR闪存中的一个存储单元的结构示意图。Figure 1 illustrates a schematic structural diagram of a storage unit in an existing NOR flash memory.
图2示出了根据本发明的实施例的非易失性存储器擦除方法的流程图。Figure 2 shows a flow chart of a non-volatile memory erasing method according to an embodiment of the present invention.
图3示出了根据本发明的实施例的非易失性存储器的框图。Figure 3 shows a block diagram of a non-volatile memory according to an embodiment of the invention.
图4示出了根据本发明的实施例的计算机系统的框图。Figure 4 shows a block diagram of a computer system according to an embodiment of the invention.
附图标记:Reference signs:
100 存储单元100 storage units
10 衬底10 substrate
11 源极11 source
12 漏极12 drain
13 隧道氧化层13 tunnel oxide layer
14 浮栅14 floating gate
15 氧化层15 oxide layer
16 控制栅16 control grid
300 非易失性存储器300 non-volatile memory
301 存储区域301 storage area
303 处理部303 Processing Department
400 计算机系统400 computer systems
401 非易失性存储器401 Non-volatile memory
402 计算机存储介质402 Computer storage media
403 处理部403 Processing Department
为了更了解本发明的技术内容,特举具体实施例并配合所附附图说明如下。In order to better understand the technical content of the present invention, specific embodiments are described below along with the accompanying drawings.
在本公开中参照附图来描述本发明的各方面,附图中示出了许多说明的实施例。本公开的实施例不必定意在包括本发明的所有方面。应当理解,上面介绍的多种构思和实施例,以及下面更加详细地描述的那些构思和实
施方式可以以很多方式中任意一种来实施,这是因为本发明所公开的构思和实施例并不限于任何实施方式。另外,本发明公开的一些方面可以单独使用,或者与本发明公开的其他方面的任何适当组合来使用。Aspects of the invention are described in this disclosure with reference to the accompanying drawings, in which a number of illustrated embodiments are shown. The embodiments of the present disclosure are not necessarily intended to include all aspects of the invention. It should be understood that the various concepts and embodiments introduced above, as well as those described in greater detail below, The embodiments may be implemented in any of many ways, as the disclosed concepts and embodiments are not limited to any embodiment. Additionally, some aspects of the present disclosure may be used alone or in any suitable combination with other aspects of the present disclosure.
本领域的技术人员将认识到可在没有一个或多个特定细节的情况下或者与其它替换和/或附加方法、操作或组件一起实施各实施例。在其它情形中,未示出或未详细描述公知的结构或操作以免使本发明的各实施例的诸方面晦涩。类似地,为了解释的目的,阐述了特定数量、操作和配置,以便提供对本发明的实施例的全面理解。然而,本发明可在没有特定细节的情况下实施。此外,应理解附图中示出的各实施例是说明性表示且不一定按比例绘制。还应当理解,本文所述的电压值或电压范围仅是示例性的,并不旨在限制本发明的范围。Those skilled in the art will recognize that various embodiments may be practiced without one or more specific details or with other alternative and/or additional methods, operations, or components. In other instances, well-known structures or operations have not been shown or described in detail so as not to obscure aspects of the various embodiments of the invention. Likewise, for purposes of explanation, specific numbers, operations, and configurations are set forth in order to provide a thorough understanding of embodiments of the invention. However, the invention may be practiced without the specific details. Furthermore, it is to be understood that the various embodiments illustrated in the drawings are illustrative representations and are not necessarily drawn to scale. It should also be understood that the voltage values or voltage ranges described herein are exemplary only and are not intended to limit the scope of the invention.
参见图2,图2示出了根据本发明的实施例的非易失性存储器擦除方法200(以下简称擦除方法200)的流程图。在一些实施例中,可以针对包括图1所示的存储单元100的NOR闪存应用擦除方法200,以便对该NOR闪存中的需要擦除区域A进行擦除。Referring to FIG. 2, FIG. 2 shows a flow chart of a non-volatile memory erasing method 200 (hereinafter referred to as the erasing method 200) according to an embodiment of the present invention. In some embodiments, the erasing method 200 may be applied to the NOR flash memory including the memory unit 100 shown in FIG. 1 to erase the area A in the NOR flash memory that needs to be erased.
在步骤201处,启动擦除过程。在一些实施例中,可以设置参数n,以指示在针对非易失性存储器(例如,NOR闪存)中的需要擦除区域A(可简称为区域A)的擦除过程中所执行的擦除操作的累计次数。在启动擦除过程期间,可以将该参数n设置为零。擦除方法200可行进至步骤203。At step 201, the erasure process is initiated. In some embodiments, parameter n may be set to indicate the erase performed during an erase process for area A (which may be simply referred to as area A) in a non-volatile memory (eg, NOR flash memory) that needs to be erased The cumulative number of operations. During the startup of the erase process, this parameter n can be set to zero. The erasing method 200 may proceed to step 203.
在步骤203处,对区域A执行擦除操作。在启动擦除过程后,可对存储器中的区域A执行擦除操作。例如,在执行擦除操作时,可在区域A中的所有存储单元100的控制栅16上施加负电压(例如,约-10V)并在区域A和不需要擦除区域B(可简称为区域B)共用的衬底10上施加正电压(例如,约8V)。在一些实施例中,区域A可进一步分为多个子区域,在一次擦除操作中,可以针对区域A中的数个或全部的子区域同时执行擦除操作,也可以针对区域A中的仅一个子区域执行擦除操作。擦除方法200可行进至步骤205。At step 203, an erasure operation is performed on area A. After initiating the erase process, an erase operation can be performed on area A in the memory. For example, when performing an erase operation, a negative voltage (eg, about -10V) may be applied to the control gates 16 of all memory cells 100 in area A and the area A and area B that do not need to be erased (which may be simply referred to as area B) A positive voltage (for example, about 8V) is applied to the common substrate 10 . In some embodiments, area A can be further divided into multiple sub-areas. In one erasure operation, the erasure operation can be performed simultaneously on several or all sub-areas in area A, or only on area A. A subregion performs an erasure operation. The erasing method 200 may proceed to step 205.
在步骤205处,将参数n增加1。在一些实施例中,在对区域A执行完一次擦除操作后,可将指示擦除过程中所执行的擦除操作的累计次数的
参数n增加1。擦除方法200可行进至步骤207。At step 205, parameter n is increased by one. In some embodiments, after an erasure operation is performed on area A, a value indicating the cumulative number of erasure operations performed during the erasure process may be Parameter n is increased by 1. The erasing method 200 may proceed to step 207.
在步骤207处,判断参数n=N?在一些实施例中,在每执行完一次擦除操作并将参数n增加1之后,可以将参数n与预定次数N进行比较,以便判定参数n是否达到预定次数N。在一些实施例中,预定次数N可以被设置为2到128范围内的任何整数。在另一些实施例中,预定次数N可以被设置为2到64范围内的任何整数,例如N=5、10、20、30、40、50、60等等。当判断出参数n=N时,擦除方法200可行进至步骤209。当判断出参数n≠N时,擦除方法200可行进至步骤215。At step 207, determine whether parameter n=N? In some embodiments, after each erasure operation is performed and the parameter n is increased by 1, the parameter n may be compared with the predetermined number of times N to determine whether the parameter n reaches the predetermined number of times N. In some embodiments, the predetermined number N may be set to any integer in the range of 2 to 128. In other embodiments, the predetermined number N may be set to any integer in the range of 2 to 64, such as N=5, 10, 20, 30, 40, 50, 60, and so on. When it is determined that parameter n=N, the erasing method 200 may proceed to step 209. When it is determined that the parameter n≠N, the erasing method 200 may proceed to step 215.
在步骤209处,对区域B执行防擦除校验。在一些实施例中,当对区域A执行的擦除操作的累计次数达到预定次数N时,可对非易失性存储器(例如,NOR闪存)中的区域B执行防擦除校验,以便判断对区域A所执行的上述擦除操作是否对区域B产生干扰。其中,区域B中的存储单元100与区域A中的存储单元100共用衬底10。例如,在对区域B执行防擦除校验时,可以将区域B中的诸存储单元100的阈值电压与第一参考电压和第二参考电压进行比较。其中,第一参考电压是防擦除校验的上限参考电压,第二参考电压是防擦除校验的下限参考电压。上限参考单元可用于指示是否应对所校验的存储单元100执行如下所示的修复操作。例如,如果存储单元100的阈值电压大于上限参考电压,则可认为无需对该存储单元执行修复操作。反之,如果存储单元100的阈值电压小于或等于上限参考电压,则认为可能需要对该存储单元执行修复操作。下限参考电压可用于指示所校验的存储单元100是否是应防止被擦除的擦除单元。例如,当存储单元100的阈值电压小于下限参考电压时,可认为该存储单元不是应防止被擦除的存储单元(例如,该存储单元可能是应被擦除的存储单元),进而可认为无需对该存储单元执行如下所述的修复操作。反之,当存储单元100的阈值电压大于或等于下限参考电压时,可认为该存储单元是应防止被擦除的存储单元,进而如以下所描述地,可以在该存储单元的阈值电压小于或等于上限参考电压且大于或等于下限参考电压时,对该存储单元执行修复操作。通过在防擦除校验中设置两个参考电压,即,上限参考电压和下限参考电压,并将不需要擦除的区域B的阈值电压分别与上限参考电压和下限
参考电压进行比较,可以允许正确地判断不需要擦除的区域B是否受到干扰,进而允许对不需要擦除的区域B进行及时的修复。作为非限制性示例,该第一参考电压和第二参考电压可以是5V至7V之间的任何电压值,其中第一参考电压可大于第二参考电压。此外,在步骤209中,当判断出对区域A执行的擦除操作的累计次数达到预定次数N时,即当判断出参数n达到N时,可将参数n重置为零。擦除方法200可行进至步骤211。At step 209, an erasure verification is performed on area B. In some embodiments, when the cumulative number of erase operations performed on area A reaches a predetermined number N, an anti-erasure check may be performed on area B in the non-volatile memory (eg, NOR flash memory) to determine Whether the above erasure operation performed on area A causes interference to area B. The memory unit 100 in area B and the memory unit 100 in area A share the substrate 10 . For example, when performing anti-erasure verification on region B, the threshold voltages of the memory cells 100 in region B may be compared with the first reference voltage and the second reference voltage. The first reference voltage is an upper limit reference voltage for anti-erasure verification, and the second reference voltage is a lower limit reference voltage for anti-erasure verification. The upper limit reference cell may be used to indicate whether a repair operation as shown below should be performed on the memory cell 100 being verified. For example, if the threshold voltage of the memory cell 100 is greater than the upper limit reference voltage, it may be considered that there is no need to perform a repair operation on the memory cell. On the contrary, if the threshold voltage of the memory cell 100 is less than or equal to the upper limit reference voltage, it is considered that a repair operation may need to be performed on the memory cell. The lower limit reference voltage may be used to indicate whether the memory cell 100 being verified is an erase cell that should be prevented from being erased. For example, when the threshold voltage of the memory cell 100 is less than the lower limit reference voltage, it can be considered that the memory cell is not a memory cell that should be prevented from being erased (for example, the memory cell may be a memory cell that should be erased), and further it can be considered that it is not necessary. Perform the repair operations described below on the storage unit. On the contrary, when the threshold voltage of the memory cell 100 is greater than or equal to the lower limit reference voltage, the memory cell can be considered to be a memory cell that should be prevented from being erased. As described below, the memory cell 100 can be configured when the threshold voltage of the memory cell is less than or equal to the lower limit reference voltage. When the upper limit reference voltage is greater than or equal to the lower limit reference voltage, a repair operation is performed on the memory cell. By setting two reference voltages in the anti-erasure verification, namely, the upper limit reference voltage and the lower limit reference voltage, and comparing the threshold voltage of the area B that does not need to be erased with the upper limit reference voltage and the lower limit respectively. Comparison with the reference voltage can correctly determine whether the area B that does not need to be erased is disturbed, thereby allowing timely repair of the area B that does not need to be erased. As a non-limiting example, the first reference voltage and the second reference voltage may be any voltage value between 5V and 7V, wherein the first reference voltage may be greater than the second reference voltage. In addition, in step 209, when it is determined that the cumulative number of erasure operations performed on the area A reaches the predetermined number N, that is, when it is determined that the parameter n reaches N, the parameter n may be reset to zero. The erasing method 200 may proceed to step 211.
在步骤211处,判断区域B是否受到干扰?在一些实施例中,可以基于对区域B所执行的防擦除校验的结果,来判断区域B是否受到干扰。例如,当区域B中有存储单元100的阈值电压小于或等于第一参考电压且大于或等于第二参考电压时,可以确定区域B的该存储单元受到了擦除操作的干扰。否则,当区域B中的全部存储单元100的阈值电压均不在第一参考电压与第二参考电压的预定电压范围内时,确定区域B未受到擦除操作的干扰。当确定区域B中有存储单元100受到了干扰时,擦除方法200可行进至步骤213。当确定区域B中的全部存储单元100均未受到干扰时,擦除方法200可行进至步骤215。At step 211, determine whether area B is interfered? In some embodiments, whether area B is disturbed may be determined based on the result of an anti-erasure check performed on area B. For example, when the threshold voltage of a memory cell 100 in area B is less than or equal to the first reference voltage and greater than or equal to the second reference voltage, it can be determined that the memory cell in area B is disturbed by the erasure operation. Otherwise, when the threshold voltages of all the memory cells 100 in the region B are not within the predetermined voltage range of the first reference voltage and the second reference voltage, it is determined that the region B is not disturbed by the erase operation. When it is determined that the memory cell 100 in area B is disturbed, the erasing method 200 may proceed to step 213 . When it is determined that all memory cells 100 in area B are not disturbed, the erasing method 200 may proceed to step 215 .
在步骤213处,对区域B执行修复操作。在一些实施例中,当确定区域B的存储单元100受到了干扰时,可以对区域B的受干扰存储单元100执行修复操作,以便降低擦除操作对区域B的影响。例如,在对区域B执行修复操作时,可以对区域B的受干扰存储单元100执行弱编程操作,以将区域B的受干扰存储单元100的阈值电压增大到大于或等于修复目标参考电压。作为非限制性示例,该修复目标参考电压可以是7V至8V之间的任何电压值,其中修复目标参考电压可大于第一参考电压。在一些实施例中,相比于修复目标参考电压,第一参考电压可以被设置为更靠近第二参考电压。例如,修复目标参考电压与第一参考电压之间的差值可以大于或等于第一参考电压与第二参考电压之间的差值。再例如,修复目标参考电压与第一参考电压之间的差值可以大于或等于第一参考电压与第二参考电压之间的差值的两倍。又例如,修复目标参考电压与第一参考电压之间的差值可以大于或等于第一参考电压与第二参考电压之间的差值的三倍。擦除方法200可行进至步骤215。
At step 213, a repair operation is performed on area B. In some embodiments, when it is determined that the memory unit 100 of area B is disturbed, a repair operation may be performed on the disturbed memory unit 100 of area B to reduce the impact of the erase operation on area B. For example, when performing a repair operation on region B, a weak programming operation may be performed on the disturbed memory cells 100 of region B to increase the threshold voltage of the disturbed memory cells 100 of region B to be greater than or equal to the repair target reference voltage. As a non-limiting example, the repair target reference voltage may be any voltage value between 7V and 8V, where the repair target reference voltage may be greater than the first reference voltage. In some embodiments, the first reference voltage may be set closer to the second reference voltage than the repair target reference voltage. For example, the difference between the repair target reference voltage and the first reference voltage may be greater than or equal to the difference between the first reference voltage and the second reference voltage. For another example, the difference between the repair target reference voltage and the first reference voltage may be greater than or equal to twice the difference between the first reference voltage and the second reference voltage. For another example, the difference between the repair target reference voltage and the first reference voltage may be greater than or equal to three times the difference between the first reference voltage and the second reference voltage. The erasing method 200 may proceed to step 215.
在步骤215处,对区域A执行擦除校验。在一些实施例中,在对区域A执行擦除校验时,可以将区域A中的存储单元100的阈值电压与擦除目标参考电压进行比较,以便判断区域A是否被成功擦除。作为非限制性示例,该擦除目标参考电压可以是2V至4V之间的任何电压值。擦除方法200可行进至步骤217。At step 215, erasure verification is performed on area A. In some embodiments, when performing erasure verification on area A, the threshold voltage of the memory cell 100 in area A may be compared with the erase target reference voltage to determine whether area A is successfully erased. As a non-limiting example, the erase target reference voltage may be any voltage value between 2V and 4V. The erasure method 200 may proceed to step 217.
在步骤217处,判断是否成功擦除区域A。在一些实施例中,可以基于对区域A所执行的擦除校验的结果,来判断区域A是否被成功擦除。例如,当区域A中的所有存储单元100的阈值电压均小于擦除目标参考电压时,可以确定区域A被成功擦除。否则,当区域A中至少有一个存储单元100的阈值电压大于或等于擦除目标参考电压时,确定区域A未被成功擦除。当确定区域A被成功擦除时,擦除方法200可行进至步骤219。当确定区域A未被成功擦除时,擦除方法200可返回至步骤203,继续对区域A执行擦除操作。At step 217, it is determined whether area A is successfully erased. In some embodiments, whether area A is successfully erased may be determined based on a result of an erasure check performed on area A. For example, when the threshold voltages of all memory cells 100 in area A are less than the erase target reference voltage, it may be determined that area A is successfully erased. Otherwise, when the threshold voltage of at least one memory cell 100 in area A is greater than or equal to the erasure target reference voltage, it is determined that area A has not been successfully erased. When it is determined that area A is successfully erased, erasing method 200 may proceed to step 219 . When it is determined that area A has not been successfully erased, the erasing method 200 may return to step 203 and continue to perform the erasing operation on area A.
在步骤219处,结束擦除过程。当确定存储器中的区域A被成功擦除时,可以结束对区域A的擦除过程。At step 219, the erasure process ends. When it is determined that area A in the memory is successfully erased, the erasing process of area A may be ended.
以上步骤均是示例性的,并不旨在构成限定。本领域技术人员可根据其需要增加一个或多个步骤、或删减上述步骤中的一个或多个、或将上述步骤中的一个或多个进行合并或替换、或将上述步骤中的一个或多个的顺序进行调整。The above steps are exemplary and are not intended to be limiting. Those skilled in the art can add one or more steps according to their needs, or delete one or more of the above steps, or combine or replace one or more of the above steps, or combine one or more of the above steps or Adjust the order of multiple.
以下,参照图3对本发明的实施例的非易失性存储器进行说明。图3示出了根据本发明的实施例的非易失性存储器300的框图。Hereinafter, the nonvolatile memory according to the embodiment of the present invention will be described with reference to FIG. 3 . Figure 3 shows a block diagram of a non-volatile memory 300 according to an embodiment of the invention.
在一些实施例中,非易失性存储器300可以是NAND闪存、NOR闪存等非易失性存储器。如图3所示出的,非易失性存储器300可包括存储区域301和处理部303。存储区域301可用于存储计算机指令。处理部303可以自动地或在从外部计算设备(例如,计算机或通信终端等)接收到信号的情况下执行存储区域301中所存储的计算机指令,以便实现如上所述的擦除方法200中的步骤中的一个或多个。在一些实施例中,处理部303可以是例如在非易失性存储器300内的半导体芯片。In some embodiments, the non-volatile memory 300 may be a NAND flash memory, a NOR flash memory, or other non-volatile memory. As shown in FIG. 3 , the nonvolatile memory 300 may include a storage area 301 and a processing part 303 . Storage area 301 may be used to store computer instructions. The processing part 303 may execute the computer instructions stored in the storage area 301 automatically or upon receiving a signal from an external computing device (eg, a computer or a communication terminal, etc.) to implement the erasing method 200 as described above. one or more of the steps. In some embodiments, processing portion 303 may be a semiconductor chip, such as within non-volatile memory 300 .
以下,参照图4对于本发明的实施例的计算机系统进行说明。图4示
出了根据本发明的实施例的计算机系统400的框图。Hereinafter, the computer system according to the embodiment of the present invention will be described with reference to FIG. 4 . Figure 4 shows A block diagram of a computer system 400 is shown in accordance with an embodiment of the invention.
如图4所示,计算机系统400可以包括非易失性存储器401、计算机存储介质402和处理部403。非易失性存储器401可以是NAND闪存、NOR闪存等。计算机存储介质402可用于存储计算机指令。处理部403可以自动地对非易失性存储器401进行控制,或在从外部(例如,通过无线传输)或者从内部(例如,从计算机系统400内的其他电路或元器件)接收到信号的情况下对非易失性存储器401进行控制。例如,处理部403可以执行计算机存储介质402中所存储的计算机指令,以便针对非易失性存储器401实现如上所述的擦除方法200中的步骤中的一个或多个。作为示例,处理部403可以包括ASIC(Application Specific Integrated Circuit:专用集成电路)、IC(Integrated Circuit:集成电路)、DSP(Digital Signal Processor:数字信号处理器)、FPGA(Field Programmable Gate Array:现场可编程门阵列)、各种逻辑电路、以及各种信号处理电路等。As shown in FIG. 4 , the computer system 400 may include a nonvolatile memory 401 , a computer storage medium 402 and a processing unit 403 . The non-volatile memory 401 may be NAND flash memory, NOR flash memory, etc. Computer storage media 402 may be used to store computer instructions. Processing unit 403 may control non-volatile memory 401 automatically or upon receipt of a signal externally (eg, via wireless transmission) or internally (eg, from other circuits or components within computer system 400 ). The non-volatile memory 401 is controlled below. For example, the processing unit 403 may execute computer instructions stored in the computer storage medium 402 to implement one or more of the steps in the erasing method 200 as described above for the non-volatile memory 401 . As an example, the processing unit 403 may include ASIC (Application Specific Integrated Circuit: Application Specific Integrated Circuit), IC (Integrated Circuit: Integrated Circuit), DSP (Digital Signal Processor: Digital Signal Processor), FPGA (Field Programmable Gate Array: Field Programmable Gate Array) Programming gate array), various logic circuits, and various signal processing circuits, etc.
尽管已经根据本发明的优选实施例描述了本发明,然而并不旨在受限于此,而是仅受所附权利要求书中所阐述的范围限制。
Although the invention has been described in terms of preferred embodiments thereof, it is not intended to be limited thereto, but only to the extent set forth in the appended claims.
Claims (11)
- 一种非易失性存储器的擦除方法,其中所述非易失性存储器包括需要擦除的第一区域和不需要擦除的第二区域,并且所述第一区域和所述第二区域共用衬底,所述擦除方法包括:A method of erasing a non-volatile memory, wherein the non-volatile memory includes a first area that needs to be erased and a second area that does not need to be erased, and the first area and the second area Sharing the substrate, the erasing method includes:对所述第一区域执行擦除操作;Perform an erasure operation on the first area;响应于对所述第一区域执行的所述擦除操作的累计次数达到预定次数N,对所述存储器的第二区域执行防擦除校验,其中N≥2,所述防擦除校验的结果指示所述第二区域是否被所述擦除操作干扰;以及In response to the cumulative number of erase operations performed on the first area reaching a predetermined number N, performing an anti-erasure check on the second area of the memory, where N≥2, the anti-erasure check The result indicates whether the second area is disturbed by the erase operation; and响应于确定所述第二区域被所述擦除操作干扰,对所述第二区域执行修复操作。In response to determining that the second area is disturbed by the erasure operation, a repair operation is performed on the second area.
- 如权利要求1所述的擦除方法,其特征在于,对所述存储器的第二区域执行防擦除校验的步骤包括:The erasing method of claim 1, wherein the step of performing an erasure-proof verification on the second area of the memory includes:基于确定所述第二区域的存储单元的阈值电压在第一参考电压至第二参考电压的预定电压范围内,确定所述第二区域的所述存储单元被所述擦除操作干扰,其中所述第一参考电压为所述预定电压范围的上限,所述第二参考电压为所述预定电压范围的下限并且用于指示所校验的存储单元是否是应防止被擦除的存储单元。Based on determining that the threshold voltage of the memory cells in the second area is within a predetermined voltage range from the first reference voltage to the second reference voltage, it is determined that the memory cells in the second area are disturbed by the erase operation, wherein the The first reference voltage is an upper limit of the predetermined voltage range, and the second reference voltage is a lower limit of the predetermined voltage range and is used to indicate whether the verified memory cell is a memory cell that should be prevented from being erased.
- 如权利要求2所述的擦除方法,其特征在于,对所述存储器的第二区域执行防擦除校验的步骤还包括:The erasing method according to claim 2, wherein the step of performing an erasure prevention check on the second area of the memory further includes:将所述第二区域的存储单元的阈值电压与所述第一参考电压和所述第二参考电压进行比较,以确定所述存储单元的阈值单元是否在所述预定电压范围内。The threshold voltage of the memory cell in the second region is compared with the first reference voltage and the second reference voltage to determine whether the threshold voltage of the memory cell is within the predetermined voltage range.
- 如权利要求2所述的擦除方法,其特征在于,对所述第二区域执行修复操作的步骤包括:对所述第二区域的受干扰存储单元执行弱编程操作,以将所述第二区域的所述受干扰存储单元的阈值电压增大到大于或等于修复目标 参考电压,The erasing method of claim 2, wherein the step of performing a repair operation on the second area includes: performing a weak programming operation on the disturbed memory cells in the second area to change the second area. The threshold voltage of the region of the disturbed memory cell is increased to be greater than or equal to the repair target reference voltage,其中,所述修复目标参考电压大于所述第一参考电压,并且wherein the repair target reference voltage is greater than the first reference voltage, and其中,所述第一参考电压与所述修复目标参考电压之间的差值大于或等于所述第一参考电压与所述第二参考电压之间的差值。Wherein, the difference between the first reference voltage and the repair target reference voltage is greater than or equal to the difference between the first reference voltage and the second reference voltage.
- 如权利要求1所述的擦除方法,其特征在于,所述擦除方法还包括:The erasing method according to claim 1, characterized in that the erasing method further includes:对所述第一区域执行擦除校验,所述擦除校验的结果指示所述第一区域是否被成功擦除;以及Perform an erasure check on the first area, the result of the erasure check indicating whether the first area is successfully erased; and响应于确定所述第一区域未被成功擦除,再次对所述第一区域执行所述擦除操作。In response to determining that the first area has not been successfully erased, the erasing operation is performed on the first area again.
- 如权利要求5所述的擦除方法,其特征在于,对所述第一区域执行擦除校验的步骤是响应于对所述第一区域执行的所述擦除操作未达到所述预定次数N而进行的。The erasing method of claim 5, wherein the step of performing erasure verification on the first area is in response to the erasure operation performed on the first area not reaching the predetermined number of times. carried out by N.
- 如权利要求5所述的擦除方法,其特征在于,所述擦除方法还包括:The erasing method according to claim 5, characterized in that the erasing method further includes:在对所述第二区域执行所述防擦除校验之后,响应于确定所述第二区域未被所述擦除操作干扰,对所述第一区域执行所述擦除校验;以及After performing the anti-erasure verification on the second area, in response to determining that the second area is not disturbed by the erasure operation, performing the erasure verification on the first area; and在响应于确定所述第二区域被所述擦除操作干扰而对所述第二区域的受干扰存储单元执行所述修复操作之后,对所述第一区域执行所述擦除校验。After performing the repair operation on the disturbed memory cells of the second area in response to determining that the second area is disturbed by the erase operation, performing the erase verification on the first area.
- 如权利要求5所述的擦除方法,其特征在于,对所述第一区域执行擦除校验的步骤包括:The erasing method of claim 5, wherein the step of performing erasure verification on the first area includes:基于所述第一区域的全部存储单元的阈值电压均小于擦除目标参考电压,确定所述第一区域被成功擦除;以及Based on the threshold voltages of all memory cells in the first area being less than the erase target reference voltage, it is determined that the first area is successfully erased; and基于所述第一区域中至少有一个存储单元的阈值电压大于或等于所述擦除目标参考电压,确定所述第一区域未被成功擦除。 Based on the fact that the threshold voltage of at least one memory cell in the first area is greater than or equal to the erase target reference voltage, it is determined that the first area has not been successfully erased.
- 如权利要求5所述的擦除方法,其特征在于,仅当对所述第一区域执行的所述擦除操作的所述累计次数达到所述预定次数N时,对所述存储器的第二区域执行所述防擦除校验并且将所述擦除操作的所述累计次数重置为零,The erasing method according to claim 5, characterized in that only when the accumulated number of erasing operations performed on the first area reaches the predetermined number N, the second area of the memory is a region performs the anti-erasure check and resets the cumulative number of erase operations to zero,其中,所述预定次数N≤128或所述预定次数N≤64,并且Wherein, the predetermined number of times N≤128 or the predetermined number of times N≤64, and其中,所述非易失性存储器包括NOR闪存。Wherein, the non-volatile memory includes NOR flash memory.
- 一种非易失性存储器,其特征在于,存储有计算机指令,当所述计算机指令被处理部执行时,所述处理部对所述非易失性存储器执行如权利要求1至9中任一项所述的擦除方法。A non-volatile memory, characterized in that computer instructions are stored therein. When the computer instructions are executed by a processing unit, the processing unit executes any one of claims 1 to 9 on the non-volatile memory. The erasing method described in the item.
- 一种计算机系统,其特征在于,包括:A computer system, characterized by including:存储有计算机指令的计算机存储介质;Computer storage media storing computer instructions;非易失性存储器;以及non-volatile memory; and处理部,所述处理部在执行所述计算机指令时,对所述非易失性存储器执行如权利要求1至9中任一项所述的擦除方法。 A processing unit, when executing the computer instruction, performs the erasing method according to any one of claims 1 to 9 on the non-volatile memory.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211123715.7 | 2022-09-15 | ||
CN202211123715.7A CN115440284A (en) | 2022-09-15 | 2022-09-15 | Nonvolatile memory, erasing method thereof and computer system |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2024055832A1 true WO2024055832A1 (en) | 2024-03-21 |
Family
ID=84248505
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2023/114860 WO2024055832A1 (en) | 2022-09-15 | 2023-08-25 | Non-volatile memory and erasing method therefor, and computer system |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN115440284A (en) |
WO (1) | WO2024055832A1 (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115440284A (en) * | 2022-09-15 | 2022-12-06 | 东芯半导体股份有限公司 | Nonvolatile memory, erasing method thereof and computer system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100220525A1 (en) * | 2009-02-27 | 2010-09-02 | Dong Kyu Youn | Non-volatile memory device and erase and read methods thereof |
CN109935264A (en) * | 2017-12-18 | 2019-06-25 | 北京兆易创新科技股份有限公司 | A kind of method for deleting of storage unit, device and memory |
US10802962B1 (en) * | 2019-05-30 | 2020-10-13 | Winbond Electronics Corp. | Memory device and control method for performing refresh operation based on erasing loop number |
CN114550781A (en) * | 2022-01-28 | 2022-05-27 | 珠海博雅科技股份有限公司 | Erase repair method, system and device for multi-bit nonvolatile memory |
CN114664356A (en) * | 2022-03-25 | 2022-06-24 | 珠海博雅科技股份有限公司 | Erasing method and erasing device of nonvolatile memory |
CN115440284A (en) * | 2022-09-15 | 2022-12-06 | 东芯半导体股份有限公司 | Nonvolatile memory, erasing method thereof and computer system |
-
2022
- 2022-09-15 CN CN202211123715.7A patent/CN115440284A/en active Pending
-
2023
- 2023-08-25 WO PCT/CN2023/114860 patent/WO2024055832A1/en unknown
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20100220525A1 (en) * | 2009-02-27 | 2010-09-02 | Dong Kyu Youn | Non-volatile memory device and erase and read methods thereof |
CN109935264A (en) * | 2017-12-18 | 2019-06-25 | 北京兆易创新科技股份有限公司 | A kind of method for deleting of storage unit, device and memory |
US10802962B1 (en) * | 2019-05-30 | 2020-10-13 | Winbond Electronics Corp. | Memory device and control method for performing refresh operation based on erasing loop number |
CN114550781A (en) * | 2022-01-28 | 2022-05-27 | 珠海博雅科技股份有限公司 | Erase repair method, system and device for multi-bit nonvolatile memory |
CN114664356A (en) * | 2022-03-25 | 2022-06-24 | 珠海博雅科技股份有限公司 | Erasing method and erasing device of nonvolatile memory |
CN115440284A (en) * | 2022-09-15 | 2022-12-06 | 东芯半导体股份有限公司 | Nonvolatile memory, erasing method thereof and computer system |
Also Published As
Publication number | Publication date |
---|---|
CN115440284A (en) | 2022-12-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9305652B2 (en) | Semiconductor memory device and erasing method thereof | |
JP3938309B2 (en) | Flash memory with reduced read disturb | |
US10296226B2 (en) | Control logic, semiconductor memory device, and operating method | |
US8134873B2 (en) | Flash memory device and programming/erasing method of the same | |
US20170069372A1 (en) | Semiconductor memory device and memory system | |
US6137729A (en) | Method for erasing memory cells in a flash memory device | |
US6661711B2 (en) | Implementation of an inhibit during soft programming to tighten an erase voltage distribution | |
US11361828B2 (en) | Semiconductor memory device and method of operating the same | |
US9792966B2 (en) | Page buffer and semiconductor memory device including the same | |
KR102424371B1 (en) | Semiconductor memory device and operating method thereof | |
US10410726B2 (en) | Semiconductor memory device and method of operating the same | |
TWI555026B (en) | Memory management method, memory storage device and memory controlling circuit unit | |
KR100845530B1 (en) | Flash memory device capable of improving time performance and time control method thereof | |
US10672481B2 (en) | Semiconductor memory device and operating method thereof | |
US9472292B1 (en) | Semiconductor memory device | |
WO2024055832A1 (en) | Non-volatile memory and erasing method therefor, and computer system | |
KR100823169B1 (en) | Flash memory system capable of improving the access performance and access method thereof | |
US10418118B2 (en) | Memory device and memory system | |
US11004515B2 (en) | Semiconductor memory device, controller and memory system having the same | |
US11031086B2 (en) | Semiconductor memory and operating method thereof | |
US20220066686A1 (en) | Non-volatile memory and writing method thereof | |
US9659654B2 (en) | Method to prevent loss of data of a transistor-based memory unit | |
CN117558322A (en) | Nonvolatile memory, programming method thereof and computer system | |
US12040023B2 (en) | Writing method of flash memory and memory storage device | |
Sandhie et al. | MVL Flash Memory |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23864565 Country of ref document: EP Kind code of ref document: A1 |