[go: up one dir, main page]

TW200301487A - Non-volatile memory and method for operating a non-volatile memory - Google Patents

Non-volatile memory and method for operating a non-volatile memory Download PDF

Info

Publication number
TW200301487A
TW200301487A TW91132404A TW91132404A TW200301487A TW 200301487 A TW200301487 A TW 200301487A TW 91132404 A TW91132404 A TW 91132404A TW 91132404 A TW91132404 A TW 91132404A TW 200301487 A TW200301487 A TW 200301487A
Authority
TW
Taiwan
Prior art keywords
memory
item
patent application
range
volatile memory
Prior art date
Application number
TW91132404A
Other languages
Chinese (zh)
Inventor
Engelbert Wittich
Original Assignee
Motorola 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 Motorola Inc filed Critical Motorola Inc
Publication of TW200301487A publication Critical patent/TW200301487A/en

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/02Detection or location of defective auxiliary circuits, e.g. defective refresh counters
    • G11C29/028Detection or location of defective auxiliary circuits, e.g. defective refresh counters with adaption or trimming of parameters
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/34Determination of programming status, e.g. threshold voltage, overprogramming or underprogramming, retention
    • G11C16/349Arrangements for evaluating degradation, retention or wearout, e.g. by counting erase cycles
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/50Marginal testing, e.g. race, voltage or current testing
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/50Marginal testing, e.g. race, voltage or current testing
    • G11C29/50004Marginal testing, e.g. race, voltage or current testing of threshold voltage
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/50Marginal testing, e.g. race, voltage or current testing
    • G11C29/50012Marginal testing, e.g. race, voltage or current testing of timing
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/04Erasable programmable read-only memories electrically programmable using variable threshold transistors, e.g. FAMOS
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C16/00Erasable programmable read-only memories
    • G11C16/02Erasable programmable read-only memories electrically programmable
    • G11C16/06Auxiliary circuits, e.g. for writing into memory
    • G11C16/26Sensing or reading circuits; Data output circuits
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/04Detection or location of defective memory elements, e.g. cell constructio details, timing of test signals
    • G11C29/50Marginal testing, e.g. race, voltage or current testing
    • G11C2029/5004Voltage
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C2207/00Indexing scheme relating to arrangements for writing information into, or reading information out from, a digital store
    • G11C2207/10Aspects relating to interfaces of memory device to external buses
    • G11C2207/104Embedded memory devices, e.g. memories with a processing device on the same die or ASIC memory designs

Landscapes

  • Read Only Memory (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

A non-volatile memory (10) comprises an array (12) of individual memory cells (14), a read circuit (16) and an identifying circuit (18). The memory cells (14) of the array are individually capable of having a threshold voltage programmed or erased to an intended level within a range, the range being between range boundary levels. The read circuit (16) is reads the range of an actual threshold voltage of memory cells, and the identifying circuit (18) identifies any memory cells (14) having an intended level in at least one predefined range that each has it's actual threshold voltage shifted beyond a predetermined margin level within the range different from the range boundary levels.

Description

200301487200301487

玖、發明說明 (發明說明應敘明:發明所屬之技術領域、先前技術、内容 本發明係關於非揮發性記憶體及操’ 體的方法,尤其係關於一微控制器單 u n i t ; M C U)的記憶體。 先前技術 獨立之非揮發性或快閃記憶體面對一 每次執行一讀取(READ)操作時,一可抹 從其懸浮閘極的讀取操作過程中失去電 式區塊是否失去電荷取決於其技術與實 查及修理或修補以達到這些效果。 在美國專利案號5,963,473中,一種包 除的非揮發性記憶體單元的非揮發性 亂計算電路,其產生一輸出,以標示由 部分執行的抹除操作而導致的在該陣 累計擾亂效果。 美國專利案號6,3 1 4,027描述了一種 的快閃記憶裝置,其作為一狀態機使用 除演算法可防止快閃記憶體單元之過度 電路首先檢查所選擇單元的臨界電壓 預先驗證電壓,其比對應於該抹除狀態 範圍的最大值還要高。如果至少一個所 壓比該預先驗證電壓高,則一高電壓產 壓,其依據一預定電壓位準逐步增長。 元的臨界電壓等於或小於該預先驗證f 、實施方式及圖式簡單說明) 作一非揮發性記憶 7G (microcontroller 擾亂效果,其導致 除或可程式區塊在 荷。可抹除或可程 施方式。可藉著檢 括一可程式或可抹 記憶裝置具有一擾 於在該陣列的其它 列的一第一部分的 包括抹除控制電路 ,使用具體化的抹 .抹除。該抹除控制 是否達到一預定的 的一目標臨界電壓 選擇單元的臨界電 生器產生一主體電 如果全部所選擇單 :壓,則該高電壓產 200301487发明 Description of the invention (the description of the invention should state: the technical field to which the invention belongs, the prior art, the content of the present invention is about non-volatile memory and operating methods, especially about a microcontroller single unit; MCU) Memory. In the prior art, independent non-volatile or flash memory is faced with each time a READ operation is performed, a wipeable electric block that loses electric charge during a read operation of its floating gate depends on whether it loses charge. In order to achieve these effects, its technology and actual inspection and repair or repair. In U.S. Patent No. 5,963,473, a non-volatile random computing circuit of an encapsulated non-volatile memory unit generates an output to indicate the cumulative disturbing effect in the array caused by a partially-performed erase operation. U.S. Patent No. 6,3 1 4,027 describes a flash memory device that uses a division algorithm as a state machine to prevent excessive circuits of flash memory cells. First, the threshold voltage of the selected cell is checked in advance. It is higher than the maximum value corresponding to the erased state range. If at least one of the voltages is higher than the pre-verified voltage, a high-voltage production voltage is gradually increased according to a predetermined voltage level. The critical voltage of the element is equal to or less than the pre-verification f, the embodiment, and the schematic description.) Make a non-volatile memory 7G (microcontroller disturbing effect, which causes the removal or programmable block to be loaded. Can be erased or programmed Method. It is possible to include a programmable or erasable memory device with an erasing control circuit that disturbs a first part in the other columns of the array, using a specific erasing. Erasing. Whether the erasing controls A critical generator that reaches a predetermined target threshold voltage selection unit generates a body of electricity. If all selected single voltages are selected, the high-voltage output is 200301487.

(2) 生器產生一持續主體電壓。 美國專利案號6,049,899揭示一種半導體非揮發性記憶 體,其包括一記憶體單元陣列,該陣列的記憶體單元係可 以個別具有一可程式或可抹除以達到該記憶體系統支援 範圍内的一計劃位準的臨界電壓。在該記憶體系統的多個 預先定義事件的至少一事件中調用的監控構件識別一或 多個單元,該每個單元的臨界電壓偏移超過其計劃位準的 一預定邊際位準,並且寫入構件將該偏移的臨界電壓重新 寫回其計劃位準。記憶體單元係個別可程式化為二種以上 狀態,以在每個單元中儲存一個以上位元。如此的一記憶 體係由記憶體控制器控制的獨立記憶體。該記憶體系統的 該多個預先定義事件包括在該記憶體陣列一部分上的記 憶體操作,其傾向於擾亂該記憶體陣列該部分内的單元。 上述這些美國專利案號5,963,473/美國專利案號 6,3 1 4,027/美國專利案號6,049,8 99之揭示係針對一程式化 或抹除操作過程中的主要問題。在資料或可執行程式碼之 間沒有區別。存取狀態係未知,記憶體控制器不知道是否 可為了修理擾亂的單元而停止一應用程式。 美國專利案號6,21 6,251描述了一種具有CPU的微控制 器以及一種包含一記憶體陣列的記憶體。該陣列的一大部 分係用於包含該CPU的功能性資料,但該陣列也包含一或 少數幾列記憶體内容的同位資訊。一旦使用持久資料及/ 或軟體寫入該陣列,一奇偶控制器將產生初始同位值,其 與該記憶體陣列的内容相關。產生該初始同位資料後,該 -6- 200301487 (3) 發明說明顏 同位控制器在某些同位檢查事件中有時會從該陣列内儲 存的資料中產生目前同位,與該陣列的該同位部分相比 較。如果偵測出錯誤,則可採取修正措施以延長該產品的 可靠使用期。該微控制器能夠在一資料錯誤發生後偵測出 該錯誤,但不能識別在不久的將來可能會發生資料錯誤的 記憶體單元。 本發明致力於提供減輕上述缺點的MCU。M CU需要有一 非揮發性記憶體,其中該記憶體中的一預計資料錯誤在其 實際發生之前就被偵測出來,使得MCU的計劃正常操作可 繼續下去。 發明内容 依據本發明,其利用一微控制器中設定的配置,該配置 與獨立非揮發性記憶體中的配置不同。該微控制器具有一 處理器、一記憶體(EEPROM、FLASH)RAM、I/O定時器、 PWM以及其它外圍設備(可能包括一狀態機)。該處理器的 主要軟件確切知道該狀態機和該應用程式的狀況。該處理 器可依靠應用程式為了修理一擾亂記憶體單元而打斷程 式流程。可為了一 NVM單元的修理週期從該處理器使用並 觸發該狀態機。在一使用者程式的背景下,該狀態機可使 用該處理器的自由週期進行記憶體測試程序。 關於一 NVM讀取操作,本發明主要係針對在正常使用操 作模式下的讀取操作導致的讀取擾亂效果(電荷損失、資 料保持問題)。如果在該讀取操作過程中,由於不同效果 導致電荷損失,可警告該應用程式,並且使用者軟體可決 200301487(2) The generator generates a continuous mains voltage. U.S. Patent No. 6,049,899 discloses a semiconductor non-volatile memory including a memory cell array, and the memory cells of the array can each have a programmable or erasable to achieve a memory range supported by the memory system. Planned threshold voltage. The monitoring component invoked in at least one of a plurality of predefined events of the memory system identifies one or more cells whose critical voltage offset exceeds a predetermined marginal level of its planned level, and writes The input component writes the shifted critical voltage back to its planned level. Memory cells are individually programmable into two or more states to store more than one bit in each cell. Such a memory system is an independent memory controlled by a memory controller. The plurality of predefined events of the memory system include memory operations on a portion of the memory array, which tend to disrupt cells within that portion of the memory array. The above U.S. Patent No. 5,963,473 / U.S. Patent No. 6,3 1 4,027 / U.S. Patent No. 6,049,8 99 are disclosed to address the major issues during a stylization or erase operation. There is no difference between data or executable code. The access status is unknown, and the memory controller does not know whether an application can be stopped to repair the disturbed unit. U.S. Patent No. 6,21 6,251 describes a microcontroller with a CPU and a memory including a memory array. A large part of the array is used to contain the functional data of the CPU, but the array also contains parity information for one or a few rows of memory content. Once the array is written with persistent data and / or software, a parity controller will generate an initial parity value that is related to the contents of the memory array. After generating the initial parity data, the -6-200301487 (3) Description of the invention In certain parity check events, the parity controller sometimes generates the current parity from the data stored in the array, and the parity part of the array Compared. If errors are detected, corrective actions can be taken to extend the product's reliable life. The microcontroller is able to detect a data error after it has occurred, but it cannot identify memory cells that may experience data errors in the near future. The present invention seeks to provide an MCU that mitigates the aforementioned disadvantages. The MCU needs a non-volatile memory, in which an expected data error in the memory is detected before it actually occurs, so that the planned normal operation of the MCU can continue. SUMMARY OF THE INVENTION According to the present invention, it utilizes a configuration set in a microcontroller, which is different from the configuration in a separate non-volatile memory. The microcontroller has a processor, a memory (EEPROM, FLASH) RAM, I / O timers, PWM, and other peripherals (possibly including a state machine). The processor's main software knows exactly the state of the state machine and the application. The processor can rely on the application program to interrupt the process in order to repair a disturbed memory unit. The state machine can be used and triggered from the processor for a repair cycle of an NVM unit. In the context of a user program, the state machine can use the processor's free cycles to perform memory test procedures. Regarding an NVM read operation, the present invention is mainly directed to a read disturbing effect (charge loss, data retention problem) caused by a read operation in a normal use operation mode. If during the reading operation, the charge is lost due to different effects, the application can be warned, and the user software can determine 200301487

(4) 定應該採取何種修正行動。如果在該讀取操作過程中,一 懸浮閘極單元的臨界電壓偏移超過其計劃位準的一預定 邊際位準,則會危及一應用程式,使其可能執行錯誤指令 編碼而無法正確運行。 現在說明嵌入微控制器的一典型雙態NVM單元的一範 例及定義。可程式或可抹除雙態NVM單元傾向於隨著時間 成為一自然中性狀態。單元的電荷可漂流,引起資料保持 問題。NVM單元的可抹除和可程式狀態的定義係相依設 計。例如,可抹除狀態可以是由典型的5伏特至2.6伏特代 表的邏輯「1」,而該單元的可程式狀態可以是由典型的0 至2.5伏特代表的邏輯「0」。該單元的自然中性狀態可以 是1 . 5 伏特,在本例中對應於邏輯「0」。 現在說明NVM單元的一典型失敗機制。在指定的最壞條 件下,一單元的典型使用期為1 5年。但電荷可以由於某些 不可預知的環境而更快失去。例如,氧化隔離中的電子陷 阱或氧化物的缺陷等將導致電荷損失,其可隨著溫度而加 速。 本發明實現對單元臨界電荷偏移的早期偵測,並提供一 決策程序以決定單元的臨界電壓是否需要修理或修補。使 用一簡單比較器技術,可在早期偵測出引起危險偏移的電 荷損失,從而防止了程式的錯誤運行或防止儲存資料的改 變 〇 本發明建議一改進方法,以偵測在讀取操作或指令執行 過程中超出範圍的單元(擾亂單元)。本發明建議隨著時間 200301487 ⑸ \^ / 、上·\ h 監控單元的不同方法和演算法。在本發明的一項具體實施 例中,可監控個別單元或一群組單元,以檢查該單元電壓 是否偏移至代表一危險邏輯值變化(從「1」反轉至「〇」, 或反之)的位準。測試該早元電壓/電流,以檢查該偏移是 否在一預定義時期内超過了若干指定參考位準點。取決於 採用的科技,可使用該參考位準點來決定一位準偏移是否 超出了控制,以及是否需要例如重新寫入或修補之類的必 要行動。該臨界單元只能由NVM測試軟件判斷,以避免一 運行應用程式中的致命錯誤。可在即時或使用一分離記憶 體測試進行該監控。一記憶體測試可在一應用程式背景下 運行,或可在一裝置的通電(Power ON)或斷電(Power OFF) 階段執行。這樣一種NVM測試演算法可使用平行於一處理 器的一狀態機。一狀態機可使用處理器不存取該記憶體的 週期。在該處理器的指令存取該NVM過程中的即時監控情 況下,該狀態機仍然可以平行於該處理器有選擇地啟動以 控制記憶體。需要時,該狀態機可執行一修理程序。 圖式簡單說明 以下將參考圖式來說明本發明的一示範性具體實施例, 其中: 圖1顯示依據本發明的非揮發性記憶體的一較佳具體實 施例的示意方塊圖; 圖2顯示與圖1的非揮發性記憶體相關的示意電壓圖; 圖3顯示依據本發明的非揮發性記憶體的不同項較佳具 體實施例的示意方塊圖; -9- 200301487(4) determine what corrective action should be taken. If, during this read operation, the threshold voltage deviation of a floating gate unit exceeds a predetermined marginal level of its planned level, it will endanger an application, making it possible to perform incorrect instruction encoding and fail to operate correctly. An example and definition of a typical two-state NVM unit embedded in a microcontroller will now be described. Programmable or erasable bi-state NVM units tend to become a naturally neutral state over time. Cell charges can drift, causing data retention issues. The definition of the erasable and programmable state of the NVM unit is dependent on the design. For example, the erasable state may be a logical "1" represented by a typical 5 volts to 2.6 volts, and the programmable state of the unit may be a logical "0" represented by a typical 0 to 2.5 volts. The unit's natural neutral state can be 1.5 volts, which in this case corresponds to a logical "0". A typical failure mechanism of the NVM unit will now be described. Under the specified worst-case conditions, a unit has a typical life of 15 years. But charges can be lost more quickly due to certain unpredictable circumstances. For example, electron traps in oxide isolation or defects in oxides will cause a loss of charge, which can accelerate with temperature. The invention realizes the early detection of the critical charge shift of the cell and provides a decision procedure to determine whether the critical voltage of the cell needs to be repaired or repaired. Using a simple comparator technology, early detection of the loss of charge that causes a dangerous offset can prevent incorrect operation of the program or prevent changes in the stored data. The present invention proposes an improved method to detect during reading Out-of-range units (disturbing units) during instruction execution. The present invention proposes different methods and algorithms for monitoring units over time 200301487 ⑸ \ ^ /, on · \ h. In a specific embodiment of the present invention, an individual unit or a group of units can be monitored to check whether the voltage of the unit is shifted to represent a dangerous logic value change (inverted from "1" to "0", or vice versa) ). The early voltage / current is tested to check whether the offset exceeds a number of specified reference levels within a predefined period. Depending on the technology used, this reference level point can be used to determine if a bit-level offset is out of control and if necessary actions such as rewriting or patching are required. The critical unit can only be judged by the NVM test software to avoid a fatal error in a running application. This monitoring can be done on the fly or using a separate memory test. A memory test can be run in the context of an application, or it can be performed during the power-on or power-off phase of a device. Such an NVM test algorithm can use a state machine parallel to a processor. A state machine can use cycles where the processor does not access the memory. In the case of real-time monitoring during the instruction access of the processor by the processor, the state machine can still be selectively activated in parallel with the processor to control the memory. When needed, the state machine can perform a repair procedure. BRIEF DESCRIPTION OF THE DRAWINGS An exemplary embodiment of the present invention will be described below with reference to the drawings, in which: FIG. 1 shows a schematic block diagram of a preferred embodiment of a non-volatile memory according to the present invention; FIG. 2 shows A schematic voltage diagram related to the non-volatile memory of FIG. 1; FIG. 3 shows a schematic block diagram of different preferred embodiments of the non-volatile memory according to the present invention; -9- 200301487

圖4顯示依據本發明的非揮發性記憶體的另一項較佳具 體實施例的示意方塊圖; 圖5顯示依據本發明的非揮發性記憶體的另一項較佳具 體實施例的示意方塊圖;以及 圖6顯示依據本發明的一方法的一項較佳具體實施例的 不意方塊圖。 實施方式 參考圖1 ,其顯示一非揮發性記憶體(non-volatile m e m 〇 r y ; N V Μ) 1 0,其包括個別記憶體單元1 4的一陣列 1 2、一讀取電路1 6及一識別電路1 8。 圖2顯示電壓V對時間t的示意圖2 0。陣列1 2的記憶體單 元1 4係可以個別具有一可程式或可抹除以達到一範圍内 的一計劃位準的臨界值電壓Vt。一範圍定義在範圍邊界位 準之間,並代表一邏輯值。這裏,邊界位準V。與VB之間的 範圍22代表邏輯「0」,而邊界位準¥3與Vi之間的範圍24 代表邏輯「1」。臨界電壓Vt初始程式化為Vs,並沿著曲線 2 6隨時間偏移。如果沒有事件加到記憶體單元1 4,例如重 程式化、抹除或一缺陷,則臨界電壓Vt最終達到一自然值, 此處表示為自然電壓VN。 當臨界電壓Vt沿著曲線2 6偏移時經過邊界電壓VB,這構 成一臨界錯誤,因為現在它被詮釋為一不同邏輯值。必須 要防止這樣的錯誤。本發明引入在一額外邊際位準VM對臨 界電壓Vt的監控。在該額外邊際位準VM,讀取電路16(此 處在時間T R)讀取該實際臨界電壓的範圍,其正確係範圍 -10- 200301487 (7) I翻說明鑤頁 2 4,如所計劃的在其邏輯值「1」時正確詮釋的範圍。但 達到VM表示可很快達到邊界電壓VB。依據本發明,使用 該標示以採取措施防止達到邊界電壓VB。在時間TR,識別 電路1 8識別該記憶體單元,其計劃位準在預定義範圍2 4 内,並且其實際臨界電壓Vt偏移超過範圍24内的與範圍邊 界位準VB與Vi不同的預定邊際位準VM。 在一二位準單元内的一可抹除記憶體單元通常不需要 受監控,因為當它偏移至自然電壓vN時不會改變其邏輯 ® 值。但在本發明同樣適用的多位準單元情況下,可監控若 干範圍。 下文中,將使用具體實施例說明本發明,其中MCU包括 一處理單元及一嵌入式NVM。本發明的該應用由於幾個原 因而特別有利。MCU整合在設計建議使用期為1 0至1 5年的 典型裝置中。該NVM通常包含MCU軟體以及裝置資料,並 且要求在其使用期間不可發生上述的臨界錯誤。一個範例 為用於汽車發動機控制的M C U,其中該M C U軟體中的一臨 Φ 界錯誤可導致執行錯誤指令或中斷處理器,或其中該裝置 資料中的一臨界錯誤可導致閥門在錯誤時間打開或關閉, 導致直接的發動機危險。 圖3顯示依據本發明、形式為一 MCU 3 0的記憶體,其包 括一處理單元處理器32及一嵌入式NVM 34。NVM 34進一 步包括記憶體單元3 6的一陣列3 5、一比較器3 8及一控制邏 輯40,其包括一可調節DC電源供應以供應NVM 34。陣列 3 5的記憶體單元係可以個別具有一可程式或可抹除以達 -11 - 200301487FIG. 4 shows a schematic block diagram of another preferred embodiment of a non-volatile memory according to the present invention; FIG. 5 shows a schematic block diagram of another preferred embodiment of a non-volatile memory according to the present invention Figures; and Figure 6 shows an unintended block diagram of a preferred embodiment of a method according to the present invention. Referring to FIG. 1, an embodiment shows a non-volatile memory (non-volatile memory; NV M) 10, which includes an array 12 of individual memory cells 14, a reading circuit 16 and a Identification circuit 1 8. FIG. 2 shows a schematic diagram of voltage V versus time t. The memory cells 1 4 of the array 12 may each have a threshold voltage Vt that is programmable or erasable to reach a planned level within a range. A range is defined between the range boundary levels and represents a logical value. Here, the boundary level is V. The range 22 to VB represents a logical "0", and the range 24 between the boundary level ¥ 3 and Vi represents a logical "1". The threshold voltage Vt is initially programmed as Vs and shifts with time along the curve 26. If no event is added to the memory cell 14, such as reprogramming, erasing, or a defect, the threshold voltage Vt eventually reaches a natural value, which is denoted here as the natural voltage VN. The threshold voltage Vt passes the boundary voltage VB as it shifts along the curve 26, which constitutes a critical error because it is now interpreted as a different logical value. Such errors must be prevented. The present invention introduces monitoring of the critical voltage Vt at an extra marginal level VM. At this extra marginal level VM, the read circuit 16 (here at time TR) reads the range of the actual threshold voltage, which is correct range -10- 200301487 (7) I turn the description on the next page 2 4 as planned The range that is correctly interpreted when its logical value is "1". However, reaching VM indicates that the boundary voltage VB can be reached quickly. According to the invention, this flag is used to take measures to prevent the boundary voltage VB from being reached. At time TR, the identification circuit 18 identifies the memory cell, its planned level is within a predefined range 2 4, and its actual threshold voltage Vt shifts beyond a predetermined range different from the range boundary levels VB and Vi. Marginal Level VM. An erasable memory cell in a two-level cell usually does not need to be monitored because it does not change its logic ® value when it is shifted to the natural voltage vN. However, in the case of a multilevel cell to which the present invention is also applicable, several ranges can be monitored. Hereinafter, the present invention will be described using specific embodiments, in which the MCU includes a processing unit and an embedded NVM. This application of the invention is particularly advantageous for several reasons. The MCU is integrated into a typical device with a design life of 10 to 15 years. The NVM usually contains MCU software and device data, and requires that the above-mentioned critical errors do not occur during its use. An example is an MCU for automotive engine control, where a Φ boundary error in the MCU software can cause the execution of an incorrect command or interrupt the processor, or where a critical error in the device's data can cause the valve to open at the wrong time or Shut down, resulting in immediate engine danger. FIG. 3 shows a memory in the form of an MCU 30 according to the present invention, which includes a processing unit processor 32 and an embedded NVM 34. The NVM 34 further includes an array 35, a comparator 38, and a control logic 40 of the memory unit 36, which includes an adjustable DC power supply to supply the NVM 34. The memory cells of array 3 5 can each have a programmable or erasable by up to -11-200301487

⑻ 到一範圍内的一計劃位準的臨界值電壓,該範圍在範圍邊 界位準之間。處理器3 2控制控制邏輯40,其係適於在一讀 取操作過程中對該陣列的記憶體單元的至少一條位元線 施加一可調節測試讀取電位。比較器3 8接收線4 2上的類比 信號(最好是對幾個單元平行進行),將每個信號與一内部 電壓相比較,並輸出一數位信號至與處理器3 2耦合的匯流 排44 〇的 A threshold voltage to a planned level in a range between the range boundary levels. The processor 32 controls the control logic 40, which is adapted to apply an adjustable test read potential to at least one bit line of the memory cells of the array during a read operation. Comparator 3 8 receives the analog signal on line 4 2 (preferably for several units in parallel), compares each signal with an internal voltage, and outputs a digital signal to the bus coupled to processor 3 2 44 〇

處理器3 2、比較器3 8及控制邏輯4 0同時形成一讀取電 路,用於讀取記憶體單元一實際臨界電壓範圍;及一識別 電路,用於識別一計劃位準在至少一預定義範圍的任何記 憶體單元,該每個記憶體單元的實際臨界電壓偏移超過該 範圍内的與範圍邊界位準不同的一預定邊際位準。在陣列 3 5中,記憶體單元3 6與位元線(未顯示)耦合,這允許藉著 將預定義電壓施加至選擇的位元線以進行一計劃操作(例 如讀取操作)從而有選擇地定址一個別記憶體單元3 4。The processor 3 2, the comparator 38, and the control logic 40 simultaneously form a reading circuit for reading an actual critical voltage range of the memory unit; and an identification circuit for identifying a planned level at least one preset Any memory cell that defines a range, the actual threshold voltage offset of each memory cell exceeds a predetermined marginal level within the range that is different from the range boundary level. In the array 35, the memory cells 36 are coupled to bit lines (not shown), which allows selection by applying a predefined voltage to the selected bit line for a planned operation (such as a read operation). Address a different memory unit 3 4.

依據本發明,處於控制邏輯4 0内的可調節D C電源供應允 許將一正常讀取電位施加至位元線以執行一正常讀取操 作。參考圖1和圖2,該配置作為讀取電路運行,其中比較 器3 8接收代表記憶體單元3 4讀取的實際臨界電壓Vt的類 比信號。接著,該比較器在邊界電壓VB進行辨別以詮釋邏 輯值「0」或「1」。 依據本發明,處於控制邏輯40内的可調節DC電源供應還 允許將一測試讀取電位施加至位元線以執行一測試讀取 操作。該配置作為識別電路運行,其中比較器3 8接收代表 -12- 200301487According to the present invention, the adjustable DC power supply within the control logic 40 allows a normal read potential to be applied to the bit line to perform a normal read operation. Referring to Figs. 1 and 2, this configuration operates as a read circuit in which the comparator 38 receives an analog signal representing the actual threshold voltage Vt read by the memory cell 34. The comparator then discriminates at the boundary voltage VB to interpret the logical value "0" or "1". According to the present invention, the adjustable DC power supply within the control logic 40 also allows a test read potential to be applied to the bit line to perform a test read operation. This configuration operates as a recognition circuit where the comparator 3 8 receives a representative -12- 200301487

修改電壓的類比信號,修改電壓低於記憶體單元3 4之臨界 電壓Vt。接著,該比較器在該比較器内的一辨別器電壓上 進行辨別,該電壓仍然不變,等於VB但代表在邊界位準VM 的一臨界電壓辨別以詮釋邏輯值「0」或「1」。 這樣,藉著在與正常讀取條件不同的測試讀取條件下執 行一測試讀取操作,以及藉著同時使用該正常讀取電位與 該測試讀取電位讀取NVM並比較其結果,此處在處理器 3 2中,可偵測所檢查的單元的實際臨界電壓是否在高於 V b但低於V M的範圍内。 圖4顯示依據本發明的記憶體的另一項具體實施例,其 形式為一 MCU50 ,包括一處理單元處理器52及一嵌入式 NVM 54。NVM 54進一步包括記憶體單元56的一陣列55、 一比較器5 8及一控制邏輯6 0。陣列5 5的記憶體單元係可以 個別具有一可程式或可抹除以達到一範圍内的一計劃位 準的一臨界電壓,該範圍在範圍邊界位準之間。處理器5 2 控制控制邏輯6 0,控制邏輯6 0經由控制線6 1控制比較器 5 8以將記憶體單元的實際臨界電壓與幾個不同電壓相比 較,即與正常讀取操作的一辨別電壓V B、與正常讀取操作 的一辨別電壓VB不同的兩個不同測試電壓VMi、VM2相比 較。測試電壓VMi、VM2都允許類似上述的對VM辨別的一 辨別,但該範例還說明了兩個測試電壓VM 1、VM2的額外優 點。這些類比電壓由控制邏輯6 0施加到比較器5 8。 比較器5 8接收線62上的類比信號(最好是對幾個單元平 行進行),將每個信號與一内部電壓相比較,並輸出一數 -13 - 200301487The analog signal of the modified voltage is lower than the threshold voltage Vt of the memory cell 34. Next, the comparator performs discrimination on a discriminator voltage in the comparator. The voltage is still unchanged, equal to VB but representing a threshold voltage discrimination at the boundary level VM to interpret the logical value "0" or "1" . Thus, by performing a test read operation under a test read condition different from the normal read condition, and by reading the NVM and comparing the results by using the normal read potential and the test read potential at the same time, here In the processor 32, it can be detected whether the actual threshold voltage of the unit under inspection is in a range higher than Vb but lower than VM. FIG. 4 shows another specific embodiment of the memory according to the present invention, which is in the form of an MCU 50 including a processing unit processor 52 and an embedded NVM 54. The NVM 54 further includes an array 55 of a memory unit 56, a comparator 58 and a control logic 60. The memory cells of the array 55 may individually have a threshold voltage that is programmable or erasable to reach a planned level within a range between the range boundary levels. The processor 5 2 controls the control logic 6 0, and the control logic 60 controls the comparator 5 8 via the control line 6 1 to compare the actual threshold voltage of the memory unit with several different voltages, which is a discrimination with normal read operation. The voltage VB is compared with two different test voltages VMi, VM2 which are different from a discrimination voltage VB of a normal read operation. Both the test voltages VMi and VM2 allow similar discrimination of VMs as described above, but this example also illustrates the additional advantages of the two test voltages VM1 and VM2. These analog voltages are applied by the control logic 60 to the comparator 58. Comparator 5 8 receives the analog signal on line 62 (preferably performed in parallel with several units), compares each signal with an internal voltage, and outputs a number -13-200301487

位信號至與處理器52耦合的匯流排64以及與控制邏輯60 摩禺合的匯流排6 6上。 處理器5 2、比較器5 8及控制邏輯6 0同時形成一讀取電 路,用於讀取記憶體單元一實際臨界電壓範圍;及一識別 電路,用於識別任何一計劃位準在至少一預定義範圍的記 憶體單元,該每個記憶體單元的實際臨界電壓偏移超過該 範圍内的與範圍邊界位準不同的一預定邊際位準。此外, 該配置包括幾個比較器,其平行比較一記憶體單元的信號 與不同測試電壓,以識別任何實際臨界電壓偏移超過其計 劃位準的幾個預定邊際之一的記憶體單元。此處,幾個比 較器依據匯流排6 2的寬度,平行比較幾個記憶體單元的信 號與每個測試電壓。 現在將說明與正常讀取操作的一辨別電壓V b不同的兩 個不同測試電壓VM 1、VM2的一有利應用。本發明允許評估 記憶體的可靠性。假設下文中V Μ 1大於V Μ 2 ’即參考圖2, 當臨界電壓Vt沿著曲線26偏移時,它在達到VM2邊際之前 達到V M i邊際。接著,調整該識別電路以定義一識別記憶 體單元的一識別事件。可測量達到VM i邊際事件與達到 VM2邊際事件之間的時間,並從而得出該記憶體可靠性的 一指示。這很重要,因為NVM單元只能被重新程式化或抹 除有限次數,如果每次偵測或預計一個錯誤時都對一缺陷 單元重新程式化,則將很快達到該有限次數。測量達到兩 個邊際的事件之間的時間允許監控該記憶體的老化或其 它特性,並可以決定何時要更換該記憶體晶片或該MCU。 -14- 200301487 (π) 發明說明瓚頁 可以有控制器6 0和比較器5 8的若干實施。在一實施中, 控制器6 0接收來自比較器5 8的匯流排6 6上的數位資料形 式的比較結果。控制器60檢查對VM1邊際和VM2邊際的資料 讀取之間的差別,並將適當的信號傳送給處理器5 2。 在另一實施中,忽略匯流排6 6,處理器5 8接收來自比較 器5 8的匯流排6 4上連續的數位資料形式的比較結果。接著 處理器52檢查對VM1邊際和VM2邊際的資料讀取之間的差 別,並採取適當的行動。 本發明的一替代性具體實施例的說明也參考圖4,其修 改為控制器6 0控制比較器5 8以在一記憶體單元上執行一 讀取操作,其測試讀取存取時間比正常讀取持續時間短。 其優點係控制了比較過程中的整合時間。改變讀取存取時 間的效果與改變N V Μ的位元線的讀取電位的效果相似,如 結合圖3所說明的。 圖5顯示依據本發明的記憶體的另一具體實施例,其形 式為一 MCU 70,包括一處理單元處理器72及一嵌入式 NVM 74。NVM 74進一步包括記憶體單元76的一陣列75、 一比較器78及一 ADC(類比至數位轉換器)80。陣列75的記 憶體單元係可以個別具有一可程式或可抹除以達到一範 圍内的一計劃位準的一臨界電壓,該範圍在範圍邊界位準 之間。 比較器7 8接收線8 2上的類比信號(最好是對幾個單元平 行進行),將每個信號與一内部電壓相比較,並輸出一數 位信號至與處理器7 2耦合的匯流排8 4。依據線8 2的寬度, 200301487 (12) 發明酿續頁: ,>—余辦吻-."V、..W-v.D-. V:- . :?〆·泛、..'·. 處理器72控制ADC 80以測量幾個記憶體單元的一實際臨 界電壓。處理器7 2將A D C的輸出與一代表測試電壓的數值 相比較。 在另一項具體實施例中,多工器(未顯示)可多工傳輸幾 個記憶體單元的實際臨界電壓至一單一 AD C。 圖1、3、4及5說明的所有範例都允許實施額外的有利特 徵。無論測試電壓的數量,該配置包括修補構件以修補識 別記憶體單元。換言之,使用本技藝熟知的一機制來偵測 並修正一邏輯資料錯誤。最好只修補先前用一循環冗餘檢 查(cyclic redundancy check ; CRC)檢查的記憶體陣列。 非揮發性記憶體可進一步包括一記憶構件用於記憶一 識別記憶體單元的位址。這有助於修補,並提供不需要保 留一記憶體部分用於對冗餘資料的錯誤修正的修補。 非揮發性記憶體可進一步包括一計數器,用於計算相同 記憶體單元的事件。這提供對記憶體使用期之結束的評 估。 該單元的識別可在記憶體資料存取的完全外部時間有 利地執行,即可作為該非揮發性記憶體啟動模式或斷電模 式的一部分。 在該記憶體整合在M C U的例子中,單元識別可在該處理 器的空閒週期以及該非揮發性記憶體正常操作過程中的 時間空檔有利地執行。The bit signals are connected to a bus 64 coupled to the processor 52 and a bus 66 coupled to the control logic 60. The processor 5 2, the comparator 58, and the control logic 60 simultaneously form a reading circuit for reading an actual threshold voltage range of the memory unit; and an identification circuit for identifying any of the planned levels at least one For a memory cell of a predefined range, the actual threshold voltage offset of each memory cell exceeds a predetermined marginal level in the range that is different from the range boundary level. In addition, the configuration includes several comparators that compare the signal of a memory cell with different test voltages in parallel to identify any memory cell whose actual threshold voltage offset exceeds one of its predetermined margins. Here, several comparators compare the signals of several memory cells in parallel with each test voltage according to the width of the bus 62. An advantageous application of two different test voltages VM1, VM2 different from a discrimination voltage Vb of a normal read operation will now be explained. The invention allows to assess the reliability of the memory. Assuming that V Μ 1 is greater than V Μ 2 ′ hereinafter, referring to FIG. 2, when the threshold voltage Vt shifts along curve 26, it reaches the V M i margin before reaching the VM 2 margin. Then, the recognition circuit is adjusted to define a recognition event of a recognition memory unit. The time between reaching the marginal event of VM i and reaching the marginal event of VM2 can be measured, and thus an indication of the reliability of the memory can be obtained. This is important because NVM cells can only be re-programmed or erased a limited number of times. If a defective cell is re-programmed each time an error is detected or predicted, the limited number will be reached very quickly. Measuring the time between events reaching two margins allows monitoring of the memory's aging or other characteristics and can decide when to replace the memory chip or the MCU. -14- 200301487 (π) Description of the title page There may be several implementations of the controller 60 and the comparator 58. In one implementation, the controller 60 receives the comparison result in the form of digital data on the bus 66 from the comparator 58. The controller 60 checks the difference between the data read of the VM1 margin and the VM2 margin, and transmits an appropriate signal to the processor 52. In another implementation, the bus 66 is ignored, and the processor 58 receives the comparison result in the form of continuous digital data on the bus 64 from the comparator 58. The processor 52 then checks the difference between the data reads of the VM1 margin and the VM2 margin and takes appropriate action. The description of an alternative embodiment of the present invention is also referred to FIG. 4, which is modified as the controller 60 controls the comparator 58 to perform a read operation on a memory unit, and the test read access time is longer than normal The read duration is short. Its advantage is that it controls the integration time in the comparison process. The effect of changing the read access time is similar to the effect of changing the read potential of the bit line of NV, as explained in conjunction with FIG. FIG. 5 shows another specific embodiment of the memory according to the present invention, which is in the form of an MCU 70 including a processing unit processor 72 and an embedded NVM 74. The NVM 74 further includes an array 75 of a memory unit 76, a comparator 78, and an ADC (analog-to-digital converter) 80. The memory cells of the array 75 may individually have a threshold voltage that is programmable or erasable to reach a planned level within a range between the range boundary levels. Comparator 7 8 receives the analog signal on line 8 2 (preferably performed in parallel on several units), compares each signal with an internal voltage, and outputs a digital signal to a bus coupled to processor 7 2 8 4. According to the width of line 82, 200301487 (12) Invention of continuation :, > — 余 办 吻-. &Quot; V, .. Wv.D-. V:-.:? 〆 · 泛, .. '· The processor 72 controls the ADC 80 to measure an actual threshold voltage of several memory cells. The processor 72 compares the output of A DC with a value representative of the test voltage. In another embodiment, a multiplexer (not shown) can multiplex the actual threshold voltage of several memory cells to a single AD C. All the examples illustrated in Figures 1, 3, 4 and 5 allow the implementation of additional advantageous features. Regardless of the number of test voltages, the configuration includes patching components to patch the identification memory cells. In other words, a mechanism known in the art is used to detect and correct a logical data error. It is best to patch only memory arrays that were previously checked with a cyclic redundancy check (CRC). The non-volatile memory may further include a memory component for memorizing an address of an identification memory unit. This facilitates patching and provides patching that does not require the retention of a portion of memory for error correction of redundant data. The non-volatile memory may further include a counter for counting events of the same memory unit. This provides an assessment of the end of the memory usage period. The identification of the unit can be advantageously performed at the full external time of memory data access, and can be used as part of the non-volatile memory startup mode or power-down mode. In the case where the memory is integrated in MCU, unit identification can be advantageously performed during the processor's idle period and the time slot during normal operation of the non-volatile memory.

可藉著使用一寫入構件將識別記憶體單元的臨界電壓 寫為計劃位準,以有利地修正一偵測錯誤。這最好在CRC 200301487The threshold voltage of the identification memory cell can be written to a planning level by using a writing means to favorably correct a detection error. This is best in CRC 200301487

(13) 驗證後執行。有利的係在一事件或一定義數量的事件發生 後執行單元的寫入操作。同樣有利的係在一事件或一定義 數量的事件發生時,可有選擇地禁用該記憶體的寫入保護 以修理識別單元。 圖6參考上述之記憶體以及圖1至5,在流程圖9 0中概要 說明了依據本發明操作非揮發性記憶體的方法。該方法從 步驟9 2開始,讀取記憶體單元的一實際臨界電壓範圍。該 方法繼續至步驟9 4,識別一計劃位準在至少一預定義範圍 的任何記憶體單元,該每個記憶體單元的實際臨界電壓偏 移超過該範圍内的與範圍邊界位準不同的一預定邊際位 準。接著可比較步驟9 2及9 4的結果,以檢查差別。如果檢 查出差別,則可採取適當措施,例如使用CRC驗證或同位 檢查或修理。 熟悉技藝人士應明白,該方法的步驟可以任何順序執 行。本文已經使用該記憶體的不同具體實施例以及圖1至 5說明了有利的具體實施例。 圖式代表符號說明 10 非揮發性記憶體 1 2, 3 5, 5 5, 7 5 個別記憶體單元陣列 1 4, 3 6, 5 6, 76 記憶體單元 16 讀取電路 18 識別電路 20 示意圖 22, 24 範圍 -17- 200301487(13) Executed after verification. It is advantageous to perform a write operation of the unit after an event or a defined number of events have occurred. It is also advantageous that when an event or a defined number of events occur, the write protection of the memory can be selectively disabled to repair the identification unit. FIG. 6 is a flowchart schematically illustrating a method of operating a non-volatile memory according to the present invention with reference to the above-mentioned memory and FIGS. 1 to 5. The method starts from step 92, reading an actual threshold voltage range of the memory cell. The method proceeds to step 94, identifying any memory cell with a planned level in at least a predefined range, and the actual threshold voltage offset of each memory cell exceeds a range within the range that is different from the range boundary level. Predetermined marginal levels. The results of steps 92 and 94 can then be compared to check the difference. If differences are detected, appropriate measures can be taken, such as using CRC verification or parity checks or repairs. Those skilled in the art will understand that the steps of the method can be performed in any order. Different specific embodiments of the memory have been used herein and Figures 1 to 5 have been used to illustrate advantageous specific embodiments. Explanation of Symbols of the Drawings 10 Non-volatile memory 1 2, 3 5, 5 5, 7 5 Individual memory cell array 1 4, 3 6, 5 6, 76 Memory unit 16 Read circuit 18 Identification circuit 20 Schematic diagram 22 , 24 range -17- 200301487

26 曲 線 30, 5〇, 70 微 控 制 器 早兀 32, 52, 72 處 理 單 元 處理 器 34, 54, 74 入 式 NVM 3 8, 58, 78 比 較 器 40, 60 控 制 邏 輯 42, 62, 82 線 44, 64, 66,84 匯 流 排 6 1 控 制 線 80 類 比 至 數 位轉 換器 90 流 程 圖26 curve 30, 50, 70 microcontroller 32, 52, 72 processing unit processor 34, 54, 74 input NVM 3 8, 58, 78 comparator 40, 60 control logic 42, 62, 82 line 44 , 64, 66, 84 Bus 6 1 Control line 80 Analog to digital converter 90 Flow chart

-18--18-

Claims (1)

200301487 拾、申請專利範圍 1 . 一種非揮發性記憶體,其包括: 一記憶體單元陣列,該陣列的該等記憶體單元係個 能夠具有一可程式或可抹除以達到一範圍内的一計劃 準的臨界電壓,該範圍在範圍邊界位準之間; 一讀取電路,用於讀取該等記憶體單元的一實際臨 電壓範圍;以及 一識別電路,用於識別一計劃位準在至少一預定義 圍内的任何記憶體單元,每個記憶體單元的實際臨界 壓偏移超過該範圍内的與範圍邊界位準不同的一預定 際位準。 2. 如申請專利範圍第1項之非揮發性記憶體,進一步包括 一讀取操作過程中將一可調節測試讀取電位施加至該 列記憶體單元的至少一位元線的構件。 3. 如申請專利範圍第1項之非揮發性記憶體,其被調整以 與正常讀取條件不同的測試讀取條件下執行一測試讀 操作。 4. 如申請專利範圍第1項之非揮發性記憶體,進一步包括 於將記憶體單元的該實際臨界電壓與正常讀取操作中 辨別電壓不同的一測試電壓相比較的比較構件。 5. 如申請專利範圍第4項之非揮發性記憶體,其中該比較 件包括被饋送一類比測試電壓的一比較器。 6 .如申請專利範圍第4項之非揮發性記憶體,進一步包括 個比較器,其平行比較一記憶體單元的信號與不同測 別 位 界 犯 電 邊 在 陣 在 取 用 構 數 言式 200301487200301487 Patent application scope 1. A non-volatile memory, comprising: a memory cell array, the memory cells of the array can have a programmable or erasable to achieve a range of one The planned critical voltage, the range is between the range boundary levels; a reading circuit for reading an actual voltage range of the memory cells; and an identification circuit for identifying a planned level at For any memory cell within at least one predefined range, the actual critical pressure offset of each memory cell exceeds a predetermined inter-level within the range that is different from the range boundary level. 2. The non-volatile memory of item 1 of the patent application scope, further comprising a means for applying an adjustable test read potential to at least one bit line of the memory cell during a read operation. 3. If the non-volatile memory of item 1 of the patent application scope is adjusted to perform a test read operation under test read conditions different from normal read conditions. 4. The non-volatile memory according to item 1 of the scope of patent application, further comprising a comparison component for comparing the actual threshold voltage of the memory cell with a test voltage having a different discrimination voltage during normal reading operation. 5. The non-volatile memory of item 4 of the patent application, wherein the comparison device includes a comparator that is fed with an analog test voltage. 6. If the non-volatile memory of item 4 of the patent application scope, further includes a comparator, which compares the signal of a memory unit with different measurement positions in parallel. 電壓,以識別實際臨界電壓偏移超過其計劃位準的幾個 預定邊際之一的任何記憶體單元。 7. 如申請專利範圍第4項之非揮發性記憶體,進一步包括數 個比較器,其平行比較幾個記憶體單元的信號與該測試 電壓。 8. 如申請專利範圍第4項之非揮發性記憶體,其中該比較構 件包括一 ADC(類比至數位轉換器),用於測量一記憶體單 元的一實際臨界電壓。 9. 如申請專利範圍第8項之非揮發性記憶體,其中該ADC的 輸出由該處理單元與代表一測試電壓的一數值相比較。 1 0.如申請專利範圍第8項之非揮發性記憶體,進一步包括一 多工器,用於多工傳輸幾個記憶體單元的實際臨界電壓。 1 1 .如申請專利範圍第1項之非揮發性記憶體,其被調整以平 行檢查若干記憶體單元。 1 2 .如申請專利範圍第1項之非揮發性記憶體,進一步包括用 於使用比正常讀取持續時間短的一測試讀取存取時間來 執行在一記憶體單元中一讀取操作的定時構件。 1 3 .如申請專利範圍第1項之非揮發性記憶體,其中該識別係 該非揮發性記憶體的一啟動模式的一部分。 1 4 .如申請專利範圍第1項之非揮發性記憶體,其中該識別係 該非揮發性記憶體的一斷電模式的一部分。 1 5 .如申請專利範圍第1項之非揮發性記憶體,其中該識別係 加入在該非揮發性記憶體正常操作過程的時間空檔中。 1 6 .如申請專利範圍第1項之非揮發性記憶體,進一步包括用 200301487Voltage to identify any memory cell where the actual critical voltage offset exceeds one of several predetermined margins of its planned level. 7. The non-volatile memory of item 4 of the patent application, further comprising a plurality of comparators, which compare the signals of several memory cells in parallel with the test voltage. 8. The non-volatile memory as claimed in claim 4, wherein the comparison device includes an ADC (analog-to-digital converter) for measuring an actual threshold voltage of a memory cell. 9. The non-volatile memory according to item 8 of the patent application, wherein the output of the ADC is compared by the processing unit with a value representing a test voltage. 10. The non-volatile memory according to item 8 of the patent application scope, further comprising a multiplexer for multiplexing the actual threshold voltage of several memory cells. 1 1. The non-volatile memory of item 1 of the patent application scope is adjusted to check a number of memory cells in parallel. 12. The non-volatile memory as claimed in item 1 of the patent application scope, further comprising a method for performing a read operation in a memory unit using a test read access time shorter than a normal read duration. Timing widget. 13. The non-volatile memory according to item 1 of the patent application scope, wherein the identification is part of an activation mode of the non-volatile memory. 14. The non-volatile memory according to item 1 of the patent application scope, wherein the identification is part of a power-down mode of the non-volatile memory. 15. The non-volatile memory according to item 1 of the patent application scope, wherein the identification is added to the time slot of the normal operation process of the non-volatile memory. 16. If the non-volatile memory of item 1 of the scope of patent application, further including the use of 200301487 於將識別記憶體單元的臨界電壓寫入為計劃位準的寫入 構件。 1 7 .如申請專利範圍第1項之非揮發性記憶體,進一步包括用 於修補識別記憶體單元的修補構件。 1 8 .如申請專利範圍第1項之非揮發性記憶體,進一步包括用 於記憶一識別記憶體單元之位址的一記憶構件。 1 9 .如申請專利範圍第1項之非揮發性記憶體,其中該識別電 路被調整以定義一識別記憶體單元的一識別事件。 2 〇 ·如申請專利範圍第1 9項之非揮發性記憶體,進一步包括 用於測量相同記憶體單元二事件間之時間的一時間測量 構件。 2 1 .如申請專利範圍第1 9項之非揮發性記憶體,進一步包括 用於計算相同記憶體單元之事件的一計數器。 22· —種具有一嵌入式NVM(非揮發性記憶體)的MCU(微控 制器單元),其包括: 一處理單元; 一記憶體單元陣列,該陣列的記憶體單元係可以個別 具有一可程式或可抹除以達到一範圍内的一計劃位準的 一臨界電壓,該範圍在範圍邊界位準之間; 一讀取電路,用於讀取記憶體單元的一實際臨界電壓 範圍;以及 一識別電路,用於識別一計劃位準在至少一預定義範 圍的任何記憶體單元,每個記憶體單元的實際臨界電壓 偏移超過該範圍内的與範圍邊界位準不同的一預定邊際 200301487 申義J爾圍續頁 位準。 2 3 . —種操作一非揮發性記憶體的方法,其中該非揮發性記 憶體包括一記憶體單元陣列,該陣列的記憶體單元係可 以個別具有一可程式或可抹除以達到一範圍内的一計劃 位準的一臨界電壓,該範圍在範圍邊界位準之間;一用 於讀取記憶體單元一實際臨界電壓之範圍的讀取電路; 及一識別電路;該方法包括以下步驟: 讀取該等記憶體單元的一實際臨界電壓範圍;以及 識別一計劃位準在至少一預定義範圍的任何記憶體單 元,每個記憶體單元的實際臨界電壓偏移超過該範圍内 的與範圍邊界位準不同的一預定邊際位準。 2 4.如申請專利範圍第2 3項之方法,其中該識別步驟包括以 下子步驟: 在一讀取操作過程中將一可調節讀取電位施加至該陣 列記憶體單元的至少一位元線。 2 5 .如申請專利範圍第2 3項之方法,其中該識別步驟進一步 包括以下子步驟: 在與正常讀取條件不同的測試讀取條件下執行一測試 讀取操作。 2 6 .如申請專利範圍第2 3項之方法,其中執行該測試讀取操 作包括: 將一記憶體單元的實際臨界電壓與正常讀取操作一辨 別電壓不同的一測試電壓相比較。 2 7 .如申請專利範圍第2 6項之方法,其中係比較類比信號。 200301487A writing means for writing the threshold voltage of the identification memory cell as a planned level. 17. The non-volatile memory according to item 1 of the scope of patent application, further comprising a repair member for repairing the identification memory unit. 18. The non-volatile memory according to item 1 of the patent application scope, further comprising a memory component for memorizing an address of an identification memory unit. 19. The non-volatile memory according to item 1 of the patent application scope, wherein the identification circuit is adjusted to define an identification event of an identification memory cell. 2 0. The non-volatile memory of item 19 of the scope of patent application, further comprising a time measuring means for measuring the time between two events of the same memory unit. 2 1. The non-volatile memory according to item 19 of the patent application scope, further comprising a counter for calculating events of the same memory unit. 22 · An MCU (microcontroller unit) with an embedded NVM (non-volatile memory), comprising: a processing unit; a memory cell array, the memory cell systems of the array may each have a A program or a threshold voltage that can be erased to reach a planned level in a range between the range boundary levels; a read circuit for reading an actual threshold voltage range of a memory cell; and An identification circuit for identifying any memory cell with a planned level in at least a predefined range, and the actual threshold voltage offset of each memory cell exceeds a predetermined margin in the range that is different from the range boundary level 200301487 Shen Yi Jerwei continued the page level. 2 3. A method for operating a non-volatile memory, wherein the non-volatile memory includes a memory cell array, and the memory cells of the array can each have a programmable or erasable to reach a range A critical voltage at a planned level, the range being between range boundary levels; a reading circuit for reading a range of actual critical voltages of the memory cell; and an identification circuit; the method includes the following steps: Read an actual threshold voltage range of the memory cells; and identify any memory cell with a planned level in at least a predefined range, and the actual threshold voltage offset of each memory cell exceeds the sum of the range A predetermined marginal level with different boundary levels. 24. The method of claim 23, wherein the identifying step includes the following sub-steps: applying an adjustable read potential to at least one bit line of the array memory cell during a read operation . 25. The method according to item 23 of the scope of patent application, wherein the identifying step further includes the following sub-steps: performing a test read operation under a test read condition different from the normal read condition. 26. The method according to item 23 of the scope of patent application, wherein performing the test read operation includes: comparing an actual threshold voltage of a memory cell with a test voltage different from a discrimination voltage during normal read operation. 27. The method according to item 26 of the patent application scope, wherein the analog signal is compared. 200301487 2 8 .如申請專利範圍第2 6項之方法,進一步包括以下步驟: 平行比較一記憶體單元的信號與不同測試電壓,以識 別實際臨界電壓偏移超過其計劃位準的幾個預定邊際之 一的任何記憶體單元。 2 9 .如申請專利範圍第2 6項之方法,其中對若干記憶體單元 的測試讀取操作係平行進行。 3 0 .如申請專利範圍第2 6項之方法,其中執行該測試讀取操 作包括: 測量記憶體單元的實際臨界電壓。 3 1 .如申請專利範圍第3 0項之方法,其中執行該測試讀取操 作包括: 將一測量值與一儲存值相比較,該儲存值代表與正常 讀取操作一辨別電壓不同的一測試電壓。 3 2 .如申請專利範圍第3 0項之方法,其中執行該測試讀取操 作包括: 多工傳輸若干記憶體單元的實際臨界電壓。 3 3 .如申請專利範圍第2 3項之方法,其中對若干記憶體單元 的檢查係平行進行。 3 4 .如申請專利範圍第2 3項之方法,其中執行該測試讀取操 作包括: 使用比正常讀取持續時間短的一測試讀取存取時間, 在一記憶體單元上執行一讀取操作。 3 5 .如申請專利範圍第2 3項之方法,其中該記憶體檢查模式 係該非揮發性記憶體的一啟動模式的一部分。 20030148728. The method according to item 26 of the patent application scope, further comprising the steps of: comparing a signal of a memory cell with different test voltages in parallel to identify several predetermined margins where the actual threshold voltage offset exceeds its planned level Any memory unit. 29. The method according to item 26 of the scope of patent application, wherein the test read operation of a plurality of memory cells is performed in parallel. 30. The method of claim 26, wherein performing the test read operation includes: measuring an actual threshold voltage of the memory cell. 31. The method of claim 30, wherein performing the test read operation comprises: comparing a measured value with a stored value, the stored value representing a test that differs from a discriminating voltage during normal read operation Voltage. 32. The method of claim 30, wherein performing the test read operation comprises: multiplexing the actual threshold voltages of several memory cells. 3 3. The method according to item 23 of the scope of patent application, wherein the inspection of a plurality of memory units is performed in parallel. 34. The method of claim 23, wherein performing the test read operation includes: using a test read access time shorter than a normal read duration to perform a read on a memory unit operating. 35. The method of claim 23, wherein the memory check mode is part of a startup mode of the non-volatile memory. 200301487 3 6.如申請專利範圍第2 3項之方法,其中該記憶體檢查模式 係該非揮發性記憶體的一斷電模式的一部分。 3 7 .如申請專利範圍第2 3項之方法,其中該記憶體檢查模式 係加入在該非揮發性記憶體正常操作過程的時間空檔 中 0 3 8 .如申請專利範圍第2 3項之方法,該非揮發性記憶體具有 將該臨界電壓寫入為該計劃位準的寫入構件,進一步包 括將該臨界電壓重新寫入為一該範圍内的一計劃位準的 步驟。 3 9 .如申請專利範圍第2 3項之方法,該非揮發性記憶體具有 用於修補識別單元的修補構件。 4 0 .如申請專利範圍第2 3項之方法,包括以下額外步驟: 記憶一識別記憶體單元的位址。 4 1 .如申請專利範圍第2 3項之方法,包括以下額外步驟: 定義一識別記憶體單元的一識別事件。 4 2 .如申請專利範圍第2 3項之方法,包括以下額外步驟: 測量該相同記憶體單元的二事件之間的時間。 4 3 .如申請專利範圍第2 3項之方法,包括以下額外步驟: 計算該相同記憶體單元的事件。 44 .如申請專利範圍第2 3項之方法,包括以下額外步驟: 加入該非揮發性記憶體的一記憶體檢查模式。 45. —種操作具有一嵌入式NVM的MCU的方法,該嵌入式 NVM包括一處理單元;一記憶體單元陣列,該陣列的記 憶體單元係可以個別具有一可程式或可抹除以達到一範 20030148736. The method of claim 23, wherein the memory check mode is part of a power-off mode of the non-volatile memory. 37. The method according to item 23 of the scope of patent application, wherein the memory inspection mode is added to the time slot of the normal operation process of the non-volatile memory. 0 38. The method according to item 23 of the scope of patent application The non-volatile memory has a writing component that writes the threshold voltage as the planning level, and further includes a step of rewriting the threshold voltage as a planning level within the range. 39. The method according to item 23 of the patent application scope, wherein the non-volatile memory has a repair member for repairing the identification unit. 40. The method according to item 23 of the patent application scope includes the following additional steps: memorizing an address of an identification memory unit. 4 1. The method according to item 23 of the patent application scope, including the following additional steps: Defining an identification event for identifying a memory unit. 4 2. The method according to item 23 of the patent application scope, including the following additional steps: measuring the time between two events of the same memory unit. 43. The method according to item 23 of the patent application scope, including the following additional steps: Calculate events for the same memory unit. 44. The method according to item 23 of the patent application scope, including the following additional steps: a memory check mode of adding the non-volatile memory. 45. A method of operating an MCU with an embedded NVM, the embedded NVM includes a processing unit; a memory cell array, and the memory cells of the array can each have a programmable or erasable to achieve a Fan 200301487 圍内的一計劃位準的一臨界電壓,該範圍在範圍邊界位 準之間;一用於讀取記憶體單元一實際臨界電壓範圍的 讀取電路;及一識別電路;該方法包括以下步驟: 讀取該等記憶體單元的一實際臨界電壓範圍;以及 識別任何一計劃位準在至少一預定義範圍的記憶體單 元,該每個記憶體單元的實際臨界電壓偏移超過該範圍 内的與範圍邊界位準不同的一預定邊際位準。 4 6 .如申請專利範圍第4 5項之方法,進一步包括以下步驟: 由該處理單元控制該識別電路。A critical voltage within a planned level within the range, the range is between the range boundary levels; a reading circuit for reading a practical critical voltage range of the memory cell; and a recognition circuit; the method includes the following steps : Reading an actual critical voltage range of the memory cells; and identifying any memory cell with a planned level in at least a predefined range, the actual critical voltage offset of each memory cell exceeding the range A predetermined marginal level different from the range boundary level. 46. The method according to item 45 of the patent application scope, further comprising the following steps: the processing unit controls the identification circuit.
TW91132404A 2001-12-21 2002-11-01 Non-volatile memory and method for operating a non-volatile memory TW200301487A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
GB0130578A GB2383455B (en) 2001-12-21 2001-12-21 Non-volatile memory and method for operating a non-volatile memory

Publications (1)

Publication Number Publication Date
TW200301487A true TW200301487A (en) 2003-07-01

Family

ID=9928106

Family Applications (1)

Application Number Title Priority Date Filing Date
TW91132404A TW200301487A (en) 2001-12-21 2002-11-01 Non-volatile memory and method for operating a non-volatile memory

Country Status (4)

Country Link
AU (1) AU2002351774A1 (en)
GB (1) GB2383455B (en)
TW (1) TW200301487A (en)
WO (1) WO2003054888A2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI410973B (en) * 2007-10-17 2013-10-01 Micron Technology Inc Memory device program window adjustment
TWI892900B (en) * 2023-04-28 2025-08-01 南亞科技股份有限公司 Memory and memory test method

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7447944B2 (en) * 2005-04-29 2008-11-04 Freescale Semiconductor, Inc. Predictive methods and apparatus for non-volatile memory
US10452480B2 (en) 2017-05-25 2019-10-22 Micron Technology, Inc. Memory device with dynamic processing level calibration
US10140040B1 (en) 2017-05-25 2018-11-27 Micron Technology, Inc. Memory device with dynamic program-verify voltage calibration
US10664194B2 (en) 2018-05-16 2020-05-26 Micron Technology, Inc. Memory system with dynamic calibration using a variable adjustment mechanism
US10990466B2 (en) 2018-06-20 2021-04-27 Micron Technology, Inc. Memory sub-system with dynamic calibration using component-based function(s)
US11188416B2 (en) 2018-07-12 2021-11-30 Micron Technology, Inc. Enhanced block management for a memory sub-system
US11113129B2 (en) * 2018-07-13 2021-09-07 Micron Technology, Inc. Real time block failure analysis for a memory sub-system
US10936246B2 (en) 2018-10-10 2021-03-02 Micron Technology, Inc. Dynamic background scan optimization in a memory sub-system
WO2025175484A1 (en) * 2024-02-20 2025-08-28 长江存储科技有限责任公司 Memory apparatus, memory system, memory controller and operation method

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5657332A (en) * 1992-05-20 1997-08-12 Sandisk Corporation Soft errors handling in EEPROM devices
US5532962A (en) * 1992-05-20 1996-07-02 Sandisk Corporation Soft errors handling in EEPROM devices
JPH10255487A (en) * 1997-03-10 1998-09-25 Fujitsu Ltd Semiconductor memory device
US6108241A (en) * 1999-07-01 2000-08-22 Micron Technology, Inc. Leakage detection in flash memory cell
JP2001076496A (en) * 1999-09-02 2001-03-23 Fujitsu Ltd Data corruption prevention circuit and method for nonvolatile memory
DE19964012A1 (en) * 1999-12-30 2001-07-12 Bosch Gmbh Robert Refreshing memory contents of read only memory cell involves comparing current memory cell charge state with threshold value above reading charge, raising charge state if below threshold

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI410973B (en) * 2007-10-17 2013-10-01 Micron Technology Inc Memory device program window adjustment
TWI892900B (en) * 2023-04-28 2025-08-01 南亞科技股份有限公司 Memory and memory test method

Also Published As

Publication number Publication date
AU2002351774A1 (en) 2003-07-09
WO2003054888A3 (en) 2004-01-29
AU2002351774A8 (en) 2003-07-09
GB0130578D0 (en) 2002-02-06
WO2003054888A2 (en) 2003-07-03
GB2383455B (en) 2004-02-25
GB2383455A (en) 2003-06-25

Similar Documents

Publication Publication Date Title
US8341337B1 (en) Data storage device booting from system data loaded by host
US6166960A (en) Method, system and apparatus for determining that a programming voltage level is sufficient for reliably programming an eeprom
USRE37611E1 (en) Non-volatile memory system having internal data verification test mode
JP4129381B2 (en) Nonvolatile semiconductor memory device
TWI515742B (en) Memory systems and methods of detecting distribution of unstable memory cells
CN104051018B (en) Nonvolatile memory device and method of operating the same
CN102737720B (en) Method and device for suppressing electric leakage when flash memory responds to external commands
US8478929B2 (en) Data processing semiconductor device
US20090319825A1 (en) Monitoring memory
US8782478B2 (en) Non-volatile memory (NVM) with imminent error prediction
US10438680B2 (en) Non-volatile memory testing
KR20000047814A (en) Nonvolatile semiconductor memory device and erase verify method therefor
TW200301487A (en) Non-volatile memory and method for operating a non-volatile memory
CN113366576B (en) System, memory system and method for retention self-test on memory system
US7772910B2 (en) Internal clock generator, system and method
CN101501782A (en) Non-volatile memory with controlled program/erase
CN108877863B (en) Flash memory storage device and method of operating the same
US8359427B2 (en) Semiconductor device
JP2007310916A (en) Memory card
US20130290797A1 (en) Non-volatile memory (nvm) reset sequence with built-in read check
JP2008251154A (en) Nonvolatile semiconductor memory device
US20130141983A1 (en) System and method to enable reading from non-volatile memory devices
US20100083073A1 (en) Data processing apparatus, memory controlling circuit, and memory controlling method
JP2005078489A (en) Microcontroller device and control method thereof
WO2008028401A1 (en) Device and method for closing internal modes/functions of integrated circuit