[go: up one dir, main page]

CN104575605B - Memory device and method for starting system by using nonvolatile memory - Google Patents

Memory device and method for starting system by using nonvolatile memory Download PDF

Info

Publication number
CN104575605B
CN104575605B CN201310521695.3A CN201310521695A CN104575605B CN 104575605 B CN104575605 B CN 104575605B CN 201310521695 A CN201310521695 A CN 201310521695A CN 104575605 B CN104575605 B CN 104575605B
Authority
CN
China
Prior art keywords
volatile memory
memory device
status flag
complete
block
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
CN201310521695.3A
Other languages
Chinese (zh)
Other versions
CN104575605A (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.)
Elite Semiconductor Memory Technology Inc
Original Assignee
Elite Semiconductor Memory Technology Inc
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 Elite Semiconductor Memory Technology Inc filed Critical Elite Semiconductor Memory Technology Inc
Priority to CN201310521695.3A priority Critical patent/CN104575605B/en
Publication of CN104575605A publication Critical patent/CN104575605A/en
Application granted granted Critical
Publication of CN104575605B publication Critical patent/CN104575605B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Read Only Memory (AREA)

Abstract

存储器装置及使用非易失性存储器对系统进行开机的方法。根据本发明一实施例的一种存储器装置,包含一非易失性存储器元件,一状态寄存器,一控制单元以及一漏电流校正单元。该非易失性存储器元件包含开机区块和多个数据区块,其中该开机区块中的存储器晶胞和该多个数据区块中的存储器晶胞电性连接至相同的位线。该状态寄存器电性连接至该非易失性存储器元件,其配置以存储一状态标志,该状态标志用以指示施加至该非易失性存储器元件中的一完整的抹除运作是否已完成。该控制单元配置以在该存储器装置供电后读取该状态标志的标志值。该漏电流校正单元电性连接至该控制单元,其配置以根据该状态标志的标志值对该非易失性存储器元件选择性地执行一漏电流抑制程序。

A memory device and a method for booting a system using a non-volatile memory. A memory device according to an embodiment of the present invention comprises a non-volatile memory element, a status register, a control unit and a leakage current correction unit. The non-volatile memory element comprises a boot block and a plurality of data blocks, wherein the memory cells in the boot block and the memory cells in the plurality of data blocks are electrically connected to the same bit line. The status register is electrically connected to the non-volatile memory element and is configured to store a status flag, which is used to indicate whether a complete erase operation applied to the non-volatile memory element has been completed. The control unit is configured to read the flag value of the status flag after the memory device is powered on. The leakage current correction unit is electrically connected to the control unit and is configured to selectively execute a leakage current suppression program on the non-volatile memory element according to the flag value of the status flag.

Description

存储器装置及使用非易失性存储器对系统进行开机的方法Memory device and method for booting system using non-volatile memory

技术领域technical field

本发明涉及一种存储器装置;特别涉及一种使用非易失性存储器元件对系统进行开机的方法以及相关的存储器装置。The present invention relates to a memory device; in particular, to a method for booting a system using a non-volatile memory element and a related memory device.

背景技术Background technique

在抹除一非易失性存储器的过程中,更具体而言,在抹除一非易失性存储器内的特定区块的过程中,可能会发生非预期的中断,例如非预期的电源中断。在此状况下,将无法成功执行完整的抹除运作。举例而言,参照图1,如果一存储器区块已完成预编程(preprogramming)步骤(步骤12),但在电源中断时未能完成过抹除校正(Over EraseCorrection,OEC)步骤(步骤16),则由于过抹除现象可能导致位线的漏电。当系统再度送电时,未能完成OEC步骤的存储器区块所造成的位线漏电可能会影响到共享相同位线的相关联存储器区块。如果该相关联存储器区块用来存储开机码(booting code)时,在系统重新送电后执行开机程序时,系统可能无法读取开机码。这会导致很长的开机时间,或者,系统可能会无法开机。In the process of erasing a non-volatile memory, and more specifically, in the process of erasing a particular block within a non-volatile memory, unexpected interruptions, such as unexpected power interruptions, may occur . In this case, a full wipe operation cannot be successfully performed. For example, referring to FIG. 1, if a memory block has completed the preprogramming (preprogramming) step (step 12), but failed to complete the erase correction (Over EraseCorrection, OEC) step (step 16) when the power is interrupted, Then the leakage of the bit line may be caused due to the over-erase phenomenon. When the system is powered on again, the bit line leakage caused by the memory block that failed the OEC step may affect the associated memory blocks sharing the same bit line. If the associated memory block is used to store a booting code, the system may not be able to read the booting code when the system executes the booting procedure after power is turned on again. This can result in long boot times, or the system may fail to boot.

随着手持式电子装置的蓬勃发展,系统的稳定度在许多消费性产品中是一个重要的课题。此外,高容量的存储器元件中会合并越来越多的存储器区块。因此,需要解决上述位线漏电现象的方案。With the vigorous development of handheld electronic devices, system stability is an important issue in many consumer products. In addition, more and more memory blocks are incorporated into high-capacity memory devices. Therefore, there is a need for a solution to the above-mentioned bit line leakage phenomenon.

发明内容Contents of the invention

根据本发明一实施例的一种使用一非易失性存储器元件对一系统进行开机的方法,包含以下步骤:当该系统供电时,读取对应到该非易失性存储器元件中的至少一存储器区块的一状态标志,该状态标志的标志值指示施加至该存储器区块的一完整的抹除运作是否已完成;根据该状态标志的标志值对所对应的存储器区块选择性地执行一漏电流抑制程序;以及根据存储在该非易失性存储器元件中的一开机码对该系统进行开机。A method for booting a system using a non-volatile memory element according to an embodiment of the present invention includes the following steps: when the system is powered on, reading at least one corresponding to the non-volatile memory element A status flag of the memory block, the flag value of the status flag indicates whether a complete erasing operation applied to the memory block has been completed; the corresponding memory block is selectively executed according to the flag value of the status flag a leakage current suppression program; and booting the system according to a boot code stored in the non-volatile memory element.

根据本发明一实施例的一种存储器装置,包含一非易失性存储器元件,一状态寄存器,一控制单元以及一漏电流校正单元。该非易失性存储器元件包含多个存储器区块。该状态寄存器电性连接至该非易失性存储器元件,其配置以存储一状态标志,该状态标志用以指示施加至该非易失性存储器元件中的至少一存储器区块的一完整的抹除运作是否已完成。该控制单元配置以在该存储器装置供电后读取该状态标志的标志值。该漏电流校正单元电性连接至该控制单元,其配置以根据该状态标志的标志值对该等存储器区块选择性地执行一漏电流抑制程序。A memory device according to an embodiment of the present invention includes a non-volatile memory element, a status register, a control unit and a leakage current correction unit. The non-volatile memory device includes a plurality of memory blocks. The status register is electrically connected to the non-volatile memory element and is configured to store a status flag indicating a complete erase applied to at least one memory block in the non-volatile memory element Whether the removal operation has been completed. The control unit is configured to read the flag value of the status flag after the memory device is powered on. The leakage current correction unit is electrically connected to the control unit, and is configured to selectively execute a leakage current suppression program on the memory blocks according to the flag value of the state flag.

附图说明Description of drawings

图1显示一已知的完整的抹除运作的流程图。FIG. 1 shows a flow chart of a known complete erasing operation.

图2显示结合本发明一实施例的一存储器装置的方块示意图。FIG. 2 shows a block diagram of a memory device incorporating an embodiment of the present invention.

图3显示共享一相同位线的两存储器区块的示意图。FIG. 3 shows a schematic diagram of two memory blocks sharing a same bit line.

图4显示根据本发明一实施例的该非易失性存储器元件的一完整的抹除运作的流程图。FIG. 4 shows a flowchart of a complete erase operation of the non-volatile memory device according to an embodiment of the invention.

图5显示根据本发明一实施例的使用非易失性存储器元件对系统进行开机的一方法的流程图。FIG. 5 shows a flow chart of a method for booting a system using a non-volatile memory device according to an embodiment of the invention.

图6显示根据本发明另一实施例的使用非易失性存储器元件对系统进行开机的一方法的流程图FIG. 6 shows a flowchart of a method for booting a system using a non-volatile memory device according to another embodiment of the present invention

【符号说明】【Symbol Description】

10-18 步骤10-18 steps

200 存储器装置200 memory devices

202 非易失性存储器元件202 non-volatile memory elements

204 状态寄存器库204 Status Register Bank

206 或门电路206 OR gate circuit

208 控制单元208 control unit

210 漏电流校正单元210 Leakage current correction unit

212 第一偏压电压产生器212 First bias voltage generator

214 第二偏压电压产生器214 second bias voltage generator

216 再抹除单元216 Re-erase unit

32 开机区块32 boot blocks

34 数据区块34 data blocks

36 感测放大器36 Sense amplifier

400 完整抹除运作400 full wipe operation

402-414 步骤402-414 steps

500 开机方法500 boot method

502-512 步骤502-512 steps

600 开机方法600 boot method

602-612 步骤602-612 steps

BL 位线BL bit line

具体实施方式detailed description

图2显示结合本发明一实施例的一存储器装置200的方块示意图。参照图2,该存储器装置200包括一非易失性存储器元件202,一状态寄存器库204,一或门电路206,一控制单元208以及一漏电流校正单元210。该漏电流校正单元210包括一第一偏压电压产生器212,一第二偏压电压产生器214以及一再抹除单元216。FIG. 2 shows a block diagram of a memory device 200 incorporating an embodiment of the present invention. Referring to FIG. 2 , the memory device 200 includes a non-volatile memory element 202 , a state register bank 204 , an OR gate circuit 206 , a control unit 208 and a leakage current correction unit 210 . The leakage current correction unit 210 includes a first bias voltage generator 212 , a second bias voltage generator 214 and a re-erase unit 216 .

参照图2,该非易失性存储器元件202包含N个存储器区块[0]至存储器区块[N-1]以存储正常数据或开机码,其中N为一正整数。举例而言,在本实施例中存储器区块[0]中的存储器晶胞建构以存储正常数据,而存储器区块[1]中的存储器晶胞建构以存储开机码。此外,存储器区块[0]中的存储器晶胞和存储器区块[1]中的存储器晶胞电性连接至相同的位线。为了降低该存储器元件202的芯片面积,在存储器区块[0]中的存储器晶胞和存储器区块[1]中的存储器晶胞彼此间并无隔离元件。Referring to FIG. 2, the non-volatile memory device 202 includes N memory blocks [0] to memory blocks [N-1] for storing normal data or boot codes, wherein N is a positive integer. For example, in this embodiment, the memory cells in the memory block [0] are configured to store normal data, and the memory cells in the memory block [1] are configured to store boot codes. In addition, the memory cells in the memory block [0] and the memory cells in the memory block [1] are electrically connected to the same bit line. In order to reduce the chip area of the memory element 202, the memory cells in the memory block [0] and the memory cells in the memory block [1] do not have isolation elements between each other.

请参照图3,其显示共享一相同位线BL的两存储器区块的示意图,其中开机区块32用以存储开机码,而数据区块34用以存储正常数据。假设该数据区块34的存储器晶胞被过度抹除,且在未能完成OEC步骤时电源中断,由于开机区块32中的存储器晶胞和数据区块34中的存储器晶胞分享同一位线,在送电后进行开机程序时,从开机区块32中读取开机码时会读取失败。这是由于过抹除现象导致的位线漏电(Ileak>0μA),使得感测放大器(SenseAmplifier,SA)36在读取开机区块32中的所选择晶胞的逻辑“0”数据时感测到错误的电流,进而读取到错误的数据值。这会导致很长的开机时间,或者,系统可能会无法开机。Please refer to FIG. 3 , which shows a schematic diagram of two memory blocks sharing the same bit line BL, wherein the boot block 32 is used to store boot codes, and the data block 34 is used to store normal data. Assuming that the memory cells in the data block 34 are over-erased and the power is interrupted when the OEC step cannot be completed, since the memory cells in the boot block 32 and the memory cells in the data block 34 share the same bit line , when the boot procedure is carried out after power transmission, the boot code will fail to be read when reading the boot code from the boot block 32. This is due to the bit line leakage (Ileak>0μA) caused by the over-erase phenomenon, so that the sense amplifier (SenseAmplifier, SA) 36 senses when reading the logic "0" data of the selected unit cell in the power-on block 32 To the wrong current, and then read the wrong data value. This can result in long boot times, or the system may fail to boot.

参照图2,在本实施例中该状态寄存器库204包括N个状态寄存器[0]至[N-1]。该等寄存器[0]至[N-1]用以存储状态标志FL[0]至FL[N-1],其中每一状态标志用以指示该非易失性存储器元件202中对应的存储器区块是否已成功完成一完整的抹除运作。举例来说,FL[0]指示存储器区块[0]是否已成功完成一完整的抹除运作,而FL[1]指示存储器区块[1]是否已成功完成一完整的抹除运作,依此类推。然而,本发明不应以此为限。在其他实施例中该状态寄存器库204可包括小于N个的状态寄存器。亦即,可能有多个存储器区块分配到一状态标志。Referring to FIG. 2 , in this embodiment, the status register library 204 includes N status registers [0] to [N-1]. These registers [0] to [N-1] are used to store state flags FL[0] to FL[N-1], wherein each state flag is used to indicate the corresponding memory area in the non-volatile memory element 202 Whether the block has successfully completed a full erase operation. For example, FL[0] indicates whether memory block [0] has successfully completed a complete erase operation, and FL[1] indicates whether memory block [1] has successfully completed a complete erase operation, according to And so on. However, the present invention should not be limited thereto. In other embodiments the status register bank 204 may include less than N status registers. That is, there may be multiple memory blocks allocated to a status flag.

图4显示根据本发明一实施例的该非易失性存储器元件202的一完整的抹除运作400的流程图。参照图4,开始首先进行步骤402,其中该非易失性存储器元件202中有至少一个特定区块准备被抹除。接着,在步骤404中,在该状态寄存器库204中对应到该至少一个特定区块的寄存器的状态标志FL会设定为逻辑“1”。在步骤406中,对该等特定区块内的存储器晶胞执行一预编程运作。在步骤408中,对该等特定区块内的存储器晶胞执行一抹除运作。在步骤406中,对该等特定区块内的存储器晶胞执行一过抹除校正运作。当该等特定区块内的存储器晶胞已依序执行预编程运作406,抹除运作408和过抹除校正运作410后,将该状态寄存器库204中对应到该等特定区块的寄存器的状态标志FL的标志值设定为逻辑“0”。FIG. 4 shows a flowchart of a complete erase operation 400 of the non-volatile memory device 202 according to an embodiment of the present invention. Referring to FIG. 4 , at first step 402 is performed, wherein at least one specific block in the non-volatile memory device 202 is ready to be erased. Next, in step 404 , the status flag FL of the register corresponding to the at least one specific block in the status register bank 204 is set to logic “1”. In step 406, a pre-programming operation is performed on the memory cells in the specific blocks. In step 408, an erase operation is performed on the memory cells in the specific blocks. In step 406, an over-erase correction operation is performed on the memory cells in the specific blocks. After the memory cells in the specific blocks have been pre-programmed 406, erased 408 and over-erased corrected 410 in sequence, registers in the state register bank 204 corresponding to the specific blocks are The flag value of the status flag FL is set to logic "0".

图5显示根据本发明一实施例的使用非易失性存储器元件对系统进行开机的一方法500的流程图。本领域技术人员应体认本发明的施行并未限定于须逐一或准确地实施图5中的每一步骤。举例而言,可在图5中的每一步骤之间增加中间步骤或进行局部修改。FIG. 5 shows a flowchart of a method 500 for booting a system using a non-volatile memory device according to an embodiment of the invention. Those skilled in the art should realize that the implementation of the present invention is not limited to implementing each step in FIG. 5 one by one or exactly. For example, intermediate steps may be added or local modifications may be made between each step in FIG. 5 .

参照图5,首先进行步骤502,在步骤502中对该存储器装置200提供电力。接着,在步骤504中,读取对应到该非易失性存储器元件202中的全部存储器区块[0]至[N-1]的一总状态标志OFL。之后,在步骤506中,判断该总状态标志OFL的标志值是否为逻辑“1”,如果否,根据存储在该非易失性存储器元件202中的开机码进行开机;如果是,检查每一状态标志FL以确认何者标志值为逻辑“1”。Referring to FIG. 5 , step 502 is first performed, and power is provided to the memory device 200 in step 502 . Next, in step 504 , an overall status flag OFL corresponding to all memory blocks [0] to [N−1] in the nonvolatile memory device 202 is read. Afterwards, in step 506, it is judged whether the sign value of this overall status flag OFL is logic "1", if not, start the boot according to the boot code stored in this non-volatile memory element 202; if yes, check each The status flag FL is used to confirm which flag value is logic "1".

在步骤508中,如果状态标志FL的标志值为逻辑“1”者,表示对应的区块未完成完整的抹除运作,例如尚未进行OEC运作。因此,在步骤510中须对对应至状态标志值为逻辑“1”的区块执行一漏电流抑制程序。接着,在步骤512中方能根据存储在该非易失性存储器元件202中的开机码进行开机。In step 508, if the value of the state flag FL is logic "1", it means that the corresponding block has not completed a complete erasing operation, for example, the OEC operation has not yet been performed. Therefore, in step 510 , a leakage current suppression procedure must be performed on the block corresponding to the state flag value of logic “1”. Then, in step 512, the booting can be performed according to the boot code stored in the non-volatile memory element 202 .

参照图2,该总状态标志OFL是由该或门电路206所产生。该总状态标志OFL用以指示是否有任何不完整的抹除运作发生。如果该总状态标志OFL的标志值为逻辑“1”,表示有一个或超过一个的存储器区块未完成抹除方法400,因此该控制单元208会依序读取对应至存储器区块[0]至[N-1]的的状态标志的标志值以找出逻辑“1”的标志值所对应的区块。接着,一漏电流抑制程序会加至所找到的区块中的未被选择的存储器晶胞,以确保图3中的感测放大器在执行开机程序时不会感测到错误的电流。Referring to FIG. 2 , the overall status flag OFL is generated by the OR gate circuit 206 . The overall status flag OFL is used to indicate whether any incomplete erase operation has occurred. If the flag value of the overall state flag OFL is logic "1", it means that there is one or more than one memory block that has not completed the erasing method 400, so the control unit 208 will sequentially read the corresponding memory block [0] To [N-1] the flag value of the status flag to find the block corresponding to the flag value of logic "1". Then, a leakage current suppression process is applied to the unselected memory cells in the found block, so as to ensure that the sense amplifier in FIG. 3 will not sense wrong current when performing the power-on process.

以下将举实施例详细说明该漏电流抑制程序的细节。当该总状态标志OFL的标志值为逻辑“0”时,表示该非易失性存储器元件202中的全部存储器区块[0]至[N-1]已完整地执行预编程运作,抹除运作和OEC运作。在此状况下,图2中的该第一偏压电压产生器212会施加一第一偏压电压,亦即一正常偏压电压会施加至该等存储器区块中的未被选择的存储器晶胞。反之,当该总状态标志OFL的标志值为逻辑“1”时,表示该非易失性存储器元件202中的至少有一存储器区块未完成完整的抹除运作。在此状况下,图2中的该第二偏压电压产生器214会施加一第二偏压电压,亦即一抑制偏压电压会施加至该等存储器区块中的所有未被选择的存储器晶胞,或至少是开机区块中的所有未被选择的存储器晶胞。在本实施例中,该第二偏压电压为一负电压,且电压值足以截止一过抹除存储器晶胞。在步骤512中,该系统根据存储在该非易失性存储器元件202中的开机码进行开机。当该系统成功地开机后,对应于状态标志FL的标志值为逻辑“1”的存储器区块会进行修复,或者维持于原状态。The details of the leakage current suppression program will be described in detail below with examples. When the flag value of the overall state flag OFL is logic "0", it means that all the memory blocks [0] to [N-1] in the non-volatile memory element 202 have completely performed the pre-programming operation, erased operation and OEC operation. In this case, the first bias voltage generator 212 in FIG. 2 will apply a first bias voltage, that is, a normal bias voltage will be applied to the unselected memory crystals in the memory blocks. cell. On the contrary, when the flag value of the overall status flag OFL is logic “1”, it indicates that at least one memory block in the non-volatile memory element 202 has not completed a complete erasing operation. In this case, the second bias voltage generator 214 in FIG. 2 will apply a second bias voltage, that is, a suppression bias voltage will be applied to all unselected memories in the memory blocks. cells, or at least all unselected memory cells in the power-on block. In this embodiment, the second bias voltage is a negative voltage, and the voltage value is sufficient to cut off an over-erased memory cell. In step 512 , the system is powered on according to the boot code stored in the non-volatile memory element 202 . After the system is powered on successfully, the memory block corresponding to the flag value of the state flag FL with a logic “1” will be repaired or maintained at the original state.

图6显示根据本发明另一实施例的使用非易失性存储器元件对系统进行开机的一方法600的流程图。本领域技术人员应体认本发明的施行并未限定于须逐一或准确地实施图6中的每一步骤。举例而言,可在图6中的每一步骤之间增加中间步骤或进行局部修改。FIG. 6 shows a flowchart of a method 600 for booting a system using a non-volatile memory device according to another embodiment of the present invention. Those skilled in the art should realize that the implementation of the present invention is not limited to implementing each step in FIG. 6 one by one or exactly. For example, intermediate steps may be added or local modifications may be made between each step in FIG. 6 .

参照图6,首先进行步骤602,在步骤602中对该存储器装置200提供电力。接着,在步骤604中,读取对应到该非易失性存储器元件202中的全部存储器区块[0]至[N-1]的一总状态标志OFL。之后,在步骤606中,检察该总状态标志OFL的标志值是否为逻辑“1”,如果是,进行步骤608,如果否,进行步骤612。在步骤608中,检察该等状态标志FL[0]至FL[N-1]中的每一个的标志值。在步骤610中,对对应于标志值为逻辑“1”的存储器区块进行一漏电流修复运作。在步骤612中,根据存储在该非易失性存储器元件202中的开机码对该系统进行开机。Referring to FIG. 6 , step 602 is first performed, and power is provided to the memory device 200 in step 602 . Next, in step 604 , an overall status flag OFL corresponding to all memory blocks [0] to [N−1] in the nonvolatile memory device 202 is read. Afterwards, in step 606 , check whether the flag value of the overall state flag OFL is logic “1”, if yes, go to step 608 , if not, go to step 612 . In step 608, the flag value of each of the status flags FL[0] to FL[N-1] is checked. In step 610 , a leakage repair operation is performed on the memory block corresponding to the flag value of logic “1”. In step 612 , the system is powered on according to the boot code stored in the non-volatile memory element 202 .

参照图2,该总状态标志OFL是由该或门电路206所产生。该总状态标志OFL用以指示是否有任何不完整的抹除运作发生。在步骤604中,会读取该总状态标志OFL的标志值。在步骤606中,如果该总状态标志OFL的标志值为逻辑“0”,会进行步骤612;如果该总状态标志OFL的标志值为逻辑“1”,在步骤608中该控制单208元会对该等状态标志FL[0]至FL[N-1]的每一个进一步执行一检查运作。这是由于若该总状态标志OFL的标志值为逻辑“1”,表示该非易失性存储器元件202中有至少一个存储器区块未完成完整的抹除步骤,因此该控制单元208会找出逻辑“1”的标志值所对应的区块。接着,该漏电流校正单元210会对所找出的区块的所有存储器晶胞进行漏电流修复运作,以确保系统在试图读取相关连区块时不会发生图3中的感测放大器的误判状况。更具体而言,当该总状态标志OFL指示有至少一个存储器区块未完成完整的抹除步骤时,该再抹除单元216会对存储器区块中的所有存储器晶胞进行再抹除运作。Referring to FIG. 2 , the overall status flag OFL is generated by the OR gate circuit 206 . The overall status flag OFL is used to indicate whether any incomplete erase operation has occurred. In step 604, the flag value of the overall status flag OFL is read. In step 606, if the flag value of the overall state flag OFL is logic "0", step 612 will be performed; if the flag value of the overall state flag OFL is logic "1", in step 608, the control unit 208 will A checking operation is further performed on each of the status flags FL[0] to FL[N−1]. This is because if the flag value of the overall state flag OFL is logic "1", it means that at least one memory block in the non-volatile memory element 202 has not completed the complete erasing step, so the control unit 208 will find out The block corresponding to the flag value of logic "1". Then, the leakage current correction unit 210 performs a leakage repair operation on all memory cells of the found block, so as to ensure that the sense amplifier in FIG. 3 does not occur when the system tries to read the associated block. Misjudgment situation. More specifically, when the overall status flag OFL indicates that at least one memory block has not completed a complete erasing step, the re-erase unit 216 performs a re-erase operation on all memory cells in the memory block.

因此,通过本发明所公开的方法可避免已知技术中的开机潜在问题。系统的稳定度可以改善,且共享相同位线的相关联存储器区块不会有位线漏电的现象。Therefore, the potential problem of starting up in the prior art can be avoided through the method disclosed in the present invention. The stability of the system can be improved, and the associated memory blocks sharing the same bit line will not have the phenomenon of bit line leakage.

本发明的技术内容及技术特点已揭示如上,然而本领域技术人员仍可能基于本发明的教示及揭示而作种种不背离本发明精神的替换及修饰。因此,本发明的保护范围应不限于实施例所揭示者,而应包括各种不背离本发明的替换及修饰,并为所附的权利要求书要求保护的范围所涵盖。The technical content and technical features of the present invention have been disclosed above, but those skilled in the art may still make various substitutions and modifications based on the teaching and disclosure of the present invention without departing from the spirit of the present invention. Therefore, the protection scope of the present invention should not be limited to those disclosed in the embodiments, but should include various replacements and modifications that do not depart from the present invention, and should be covered by the protection scope of the appended claims.

Claims (11)

1. a kind of method booted up using a non-volatile memory device to a system, the non-volatile memory device Include boot block and multiple data blocks, wherein depositing in the memory crystal cell and the plurality of data block in the boot block Reservoir structure cell is electrically connected to identical bit line, and this method includes:
When the system power supply, reading corresponds to the boot block and the plurality of data block in the non-volatile memory device A Status Flag, the value of statistical indicant instruction of the Status Flag applies to a complete fortune of erasing of the non-volatile memory device Whether work has been completed;
One is optionally performed to the corresponding boot block and the plurality of data block according to the value of statistical indicant of the Status Flag Drain current suppressing program;And
A boot code according to being stored in the boot block boots up to the system.
2. the method as described in claim 1, wherein this is according to the value of statistical indicant of Status Flag start area corresponding to this Block and the plurality of data block optionally perform the step of drain current suppressing program and included:
When the complete running of erasing that Status Flag instruction applies to the non-volatile memory device has been completed, apply Non-selected memory crystal cell in one first bias voltage to boot block and the plurality of data block;And
When the complete running of erasing that Status Flag instruction applies to the non-volatile memory device does not complete, apply Non-selected memory crystal cell in one second bias voltage to boot block and the plurality of data block;
Wherein, the magnitude of voltage of second bias voltage is less than the magnitude of voltage of first bias voltage.
3. method as claimed in claim 2, wherein second bias voltage are a negative voltage, and magnitude of voltage is enough to end a mistake Erasing memory structure cell.
4. the method as described in claim 1, also include:
After the system boot, leakage current reparation running is performed to the plurality of data block.
5. the method as described in claim 1, wherein this is according to the value of statistical indicant of Status Flag start area corresponding to this Block and the plurality of data block optionally perform the step of drain current suppressing program and included:
When the complete running of erasing that Status Flag instruction applies to the non-volatile memory device does not complete, to this Memory crystal cell in multiple data blocks is erased running again.
6. start area that the method as described in claim 1, the wherein reading are corresponded in the non-volatile memory device The step of block and the Status Flag of the plurality of data block, includes:
Read a Status Flag of each data block in the non-volatile memory device;And
By performing one or computing to all Status Flags of the data block, use and obtain a total Status Flag;And the party Method also includes:
Total Status Flag is checked to confirm whether there is an at least data block not complete in the non-volatile memory device Complete step of erasing.
7. a kind of storage arrangement, including:
One non-volatile memory device, comprising boot block and multiple data blocks, the memory crystal cell in the boot block Identical bit line is electrically connected to the memory crystal cell in the plurality of data block;
One status register, the non-volatile memory device is electrically connected to, it is configured to store a Status Flag, the state Indicate to indicate to apply to the complete running of erasing of one in the non-volatile memory device whether completed;
One control unit, it is configured to read the value of statistical indicant of the Status Flag after storage arrangement power supply;And
One Leakage Current Calibration Method unit, is electrically connected to the control unit, and it is configured with the value of statistical indicant according to the Status Flag to institute State non-volatile memory device and optionally perform a drain current suppressing program, to complete boot program.
8. storage arrangement as claimed in claim 7, wherein the Leakage Current Calibration Method unit include:
One first bias voltage generator, it is configured with when Status Flag instruction applies into the non-volatile memory device The complete running of erasing when having completed, apply one first bias voltage into the boot block and the plurality of data block Non-selected memory crystal cell;And
One second bias voltage generator, it is configured with when Status Flag instruction applies into the non-volatile memory device The complete running of erasing when not completing, apply and be not chosen in one second bias voltage to the non-volatile memory device The memory crystal cell selected;
Wherein, the magnitude of voltage of second bias voltage is less than the magnitude of voltage of first bias voltage.
9. storage arrangement as claimed in claim 8, wherein second bias voltage are a negative voltage, and magnitude of voltage is enough to cut Only one cross erasing memory structure cell.
10. storage arrangement as claimed in claim 7, wherein the Leakage Current Calibration Method unit include:
Erased cell again and again, its configure with when Status Flag instruction apply in the non-volatile memory device this is complete Erase running do not complete when, running of being erased again and again to the plurality of data interval.
11. storage arrangement as claimed in claim 7, is also included:
Multiple status registers;And
One OR circuit, the status register is electrically connected to, it is configured to produce a total Status Flag;
Wherein, the control unit reads the value of statistical indicant of total Status Flag after storage arrangement power supply, and works as total state Mark indicate the non-volatile memory device do not complete it is complete erase running when, the control unit individually reads the shape State register does not complete the data block of complete running of erasing to find out.
CN201310521695.3A 2013-10-29 2013-10-29 Memory device and method for starting system by using nonvolatile memory Active CN104575605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310521695.3A CN104575605B (en) 2013-10-29 2013-10-29 Memory device and method for starting system by using nonvolatile memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310521695.3A CN104575605B (en) 2013-10-29 2013-10-29 Memory device and method for starting system by using nonvolatile memory

Publications (2)

Publication Number Publication Date
CN104575605A CN104575605A (en) 2015-04-29
CN104575605B true CN104575605B (en) 2018-01-09

Family

ID=53091479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310521695.3A Active CN104575605B (en) 2013-10-29 2013-10-29 Memory device and method for starting system by using nonvolatile memory

Country Status (1)

Country Link
CN (1) CN104575605B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106710627B (en) * 2015-11-18 2019-11-26 凌阳科技股份有限公司 Multi-cell chip and memory device thereof
KR102637160B1 (en) * 2016-04-14 2024-02-19 삼성전자주식회사 Storage device including nonvolatile memory device and operating method of storage device
CN110970076B (en) * 2019-12-02 2022-03-18 武汉新芯集成电路制造有限公司 Memory structure and erasing method thereof

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154447A (en) * 2006-09-28 2008-04-02 北京握奇数据系统有限公司 Flash memory and its control method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7023734B2 (en) * 2004-03-03 2006-04-04 Elite Semiconductor Memory Technology, Inc. Overerase correction in flash EEPROM memory
US8208337B2 (en) * 2009-12-21 2012-06-26 Macronix International Co., Ltd. Operation method and leakage controller for a memory and a memory applying the same

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101154447A (en) * 2006-09-28 2008-04-02 北京握奇数据系统有限公司 Flash memory and its control method

Also Published As

Publication number Publication date
CN104575605A (en) 2015-04-29

Similar Documents

Publication Publication Date Title
US8914702B2 (en) Bit error repair method and information processing apparatus
JP5528782B2 (en) Nonvolatile memory recovery after a power failure
US9141476B2 (en) Method of storing system data, and memory controller and memory storage apparatus using the same
TWI512742B (en) Non-volatile memory flash memory erase-abnormal block repair method and device applying the same
US11093369B2 (en) Reconfigurable simulation system and method for testing firmware of storage
CN104765695A (en) NAND FLASH bad block management system and method
CN108877863B (en) Flash memory storage device and method of operating the same
CN105489244A (en) Erasing method of nonvolatile storage
CN104575605B (en) Memory device and method for starting system by using nonvolatile memory
US10176876B2 (en) Memory control method and apparatus for programming and erasing areas
CN102073571B (en) Method for measuring service life of storage device and data storage system thereof
CN114758689A (en) Erasing method and power-on repair method for nonvolatile memory
EP3428921A1 (en) Memory sector retirement in a non-volatile memory
TWI523019B (en) Method of booting system with non-volatile memory device and related memory apparatus
CN113223597B (en) Flash memory test method, flash memory test device, storage medium and terminal equipment
US9240243B2 (en) Managing of the erasing of operative pages of a flash memory device through service pages
TW201351415A (en) Method of initializing a non-volatile memory system
CN110908825B (en) Data reading method and device, storage equipment and storage medium
CN103366828B (en) Memory device and detection method thereof
CN104282338A (en) Method and device for electrifying nonvolatile memory
CN102956267B (en) Memory programming method and flash memory device using same
US9298557B2 (en) Method of booting system having non-volatile memory device with erase checking and calibration mechanism and related memory device
JP2014006811A (en) Nonvolatile semiconductor memory device
CN102568571A (en) NOR type cache memory and over-erasure verification and repair method thereof
CN106910530B (en) Integrated circuit and memory device

Legal Events

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