[go: up one dir, main page]

TWI718889B - Method for improving read retry of flash memory and related controller and storage device - Google Patents

Method for improving read retry of flash memory and related controller and storage device Download PDF

Info

Publication number
TWI718889B
TWI718889B TW109107348A TW109107348A TWI718889B TW I718889 B TWI718889 B TW I718889B TW 109107348 A TW109107348 A TW 109107348A TW 109107348 A TW109107348 A TW 109107348A TW I718889 B TWI718889 B TW I718889B
Authority
TW
Taiwan
Prior art keywords
memory
data
memory cell
written
read
Prior art date
Application number
TW109107348A
Other languages
Chinese (zh)
Other versions
TW202105394A (en
Inventor
杜建東
蔡璧如
楊宗杰
Original Assignee
慧榮科技股份有限公司
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 慧榮科技股份有限公司 filed Critical 慧榮科技股份有限公司
Priority to TW109107348A priority Critical patent/TWI718889B/en
Publication of TW202105394A publication Critical patent/TW202105394A/en
Application granted granted Critical
Publication of TWI718889B publication Critical patent/TWI718889B/en

Links

Images

Landscapes

  • Read Only Memory (AREA)

Abstract

A method for use in management of a plurality of memory units of a flash memory module is provided. The method includes: performing error detection on at least one part of each second memory units that have been written with data; and performing a second refresh operation according to a result of the error detection, including when the result of error detection indicates a number of error bits included in at least one part of a second memory unit is greater than a threshold; reading data stored in a first memory unit comprising the second memory unit and correcting the data and programming the corrected data into another first memory unit; generating a programed timestamp corresponding to the another first memory unit.

Description

改善快閃記憶體之讀取重試的方法、控制器以及相關儲存裝置Method, controller and related storage device for improving read retry of flash memory

本發明係關於快閃記憶體,尤指一種用於改善快閃記憶體之讀取重試的方法與相關控制器及相關儲存裝置。The present invention relates to flash memory, in particular to a method for improving the read retry of flash memory and related controllers and related storage devices.

近年來,快閃記憶體的使用越來越普及,尤其在各類行動裝置上。原因在於,快閃記憶體相較於其他的傳統儲存裝置,具有高速、高密度與非揮發性等特點。然而,儘管快閃記憶體具備上述的諸多優點,但仍存在不得不正視的缺陷,那就是使用壽命與資料保存性(Data Retention)。快閃記憶體中的記憶體單元(如,區塊),常會在一定次數的使用後,發生錯誤,造成無法讀出正確的資料。其中,造成錯誤的原因主要與抹寫次數(Program/Erase Cycles)與資料儲存時間有關。通常來說,快閃記憶體在歷經越多的抹寫次數後,或者是在長時間未更新儲存資料時,都有更高的錯誤發生機率。因此,控制器往往需要對快閃記憶體進行讀取重試,通過調整讀取電壓,來提高正確讀出資料的機會。但讀取重試的過程中,可能會根據上述的抹寫次數與資料儲存時間等變因,嘗試多種不同的讀取電壓組合,以正確讀出資料。然而,這樣的過程會增加延遲,降低讀取效率。In recent years, the use of flash memory has become more and more popular, especially on various mobile devices. The reason is that compared to other traditional storage devices, flash memory has the characteristics of high speed, high density, and non-volatility. However, despite the above-mentioned advantages of flash memory, there are still defects that have to be addressed, that is, service life and data retention (Data Retention). The memory unit (for example, block) in the flash memory often encounters errors after a certain number of uses, resulting in the inability to read the correct data. Among them, the cause of the error is mainly related to the number of erase cycles (Program/Erase Cycles) and the data storage time. Generally speaking, the flash memory has a higher error rate after more erasing times, or when the stored data has not been updated for a long time. Therefore, the controller often needs to read and retry the flash memory, and adjust the read voltage to improve the chance of correctly reading the data. However, during the read retry process, a variety of different read voltage combinations may be tried according to the above-mentioned erasing times and data storage time to correctly read the data. However, such a process will increase the delay and reduce the reading efficiency.

有鑑於上述所提到的問題,本發明提供一種快閃記憶體裝置的管理機制,從而改善讀取重試。其中,本發明之方法透過定期地刷新快閃記憶體中的記憶體單元中所儲存的資料,減少資料儲存時間對讀取重試的影響。也就是說,記憶體單元中的資料的儲存時間都在一個較小的範圍內變動,所以可以有效地降低讀取重試中讀取電壓的調整幅度。另一方面,本發明也加入錯誤檢查機制,針對錯誤率過高的記憶體單元,進行有條件的刷新,如此也可以減輕讀取重試操作的負擔。In view of the above-mentioned problems, the present invention provides a management mechanism for flash memory devices to improve read retry. Among them, the method of the present invention reduces the influence of data storage time on read retries by periodically refreshing the data stored in the memory cell in the flash memory. In other words, the storage time of the data in the memory cell varies within a relatively small range, so the adjustment range of the read voltage in the read retry can be effectively reduced. On the other hand, the present invention also adds an error checking mechanism to conditionally refresh memory cells with an excessively high error rate, which can also reduce the burden of read retry operations.

本發明之一實施例提供一種管理一快閃記憶體模組中之複數個記憶體單元的方法。該方法包含:針對已寫入資料之第二記憶體單元中每一者的至少一部份進行一錯誤檢查;以及根據該錯誤檢查的結果來執行一第二刷新操作。其中,執行該第二刷新操作包含:當該錯誤檢查的結果指出一第二記憶體單元中的至少一部份所包含錯誤位元數量大於一臨界值時,讀取出包含該第二記憶體單元之一第一記憶體單元中所儲存之資料,並將該資料校正後寫入至另一第一記憶體單元;以及建立關聯該另一第一記憶體單元的一編程時戳。An embodiment of the present invention provides a method for managing a plurality of memory cells in a flash memory module. The method includes: performing an error check on at least a part of each of the second memory cells in which data has been written; and performing a second refresh operation according to the result of the error check. Wherein, performing the second refresh operation includes: when the result of the error check indicates that the number of error bits contained in at least a part of a second memory cell is greater than a threshold value, reading that the second memory cell is included The data stored in the first memory cell of one of the cells is corrected and written to the other first memory cell; and a programming time stamp associated with the other first memory cell is established.

本發明之一實施例提供一種管理一快閃記憶體之複數個記憶體單元的控制器。該控制器包含:一儲存單元以及一處理單元。該儲存單元用以儲存一程式碼。該處理單元耦接於該儲存單元,用以從該儲存單元中讀取該程式碼,以執行該程式碼,從而進行以下操作:針對已寫入資料之第二記憶體單元中每一者的至少一部份進行一錯誤檢查;以及根據該錯誤檢查的結果來執行一第二刷新操作。其中,執行該第二刷新操作包含:當該錯誤檢查的結果指出一第二記憶體單元中的至少一部份所包含錯誤位元數量大於一臨界值時,讀取出包含該第二記憶體單元之一第一記憶體單元中所儲存之資料,並將該資料校正後寫入至另一第一記憶體單元;以及建立關聯該另一第一記憶體單元的一編程時戳。An embodiment of the present invention provides a controller for managing a plurality of memory cells of a flash memory. The controller includes: a storage unit and a processing unit. The storage unit is used to store a program code. The processing unit is coupled to the storage unit, and is used to read the program code from the storage unit to execute the program code to perform the following operations: Perform an error check at least in part; and perform a second refresh operation according to the result of the error check. Wherein, performing the second refresh operation includes: when the result of the error check indicates that the number of error bits contained in at least a part of a second memory cell is greater than a threshold value, reading that the second memory cell is included The data stored in the first memory cell of one of the cells is corrected and written to the other first memory cell; and a programming time stamp associated with the other first memory cell is established.

本發明之一實施例提供一種儲存裝置。該儲存裝置包含:一快閃記憶體模組與一控制器。該快閃記憶體模組包含複數個記憶體單元。該控制器用以對快閃記憶體模組進行存取,包含:一儲存單元與一處理單元。該儲存單元用以儲存一程式碼。該處理單元耦接於該儲存單元,用以從該儲存單元中讀取該程式碼,以執行該程式碼,從而進行以下操作:針對已寫入資料之第二記憶體單元中每一者的至少一部份進行一錯誤檢查;以及根據該錯誤檢查的結果來執行一第二刷新操作,其中執行該第二刷新操作包含:當該錯誤檢查的結果指出一第二記憶體單元中的至少一部份所包含錯誤位元數量大於一臨界值時,讀取出包含該第二記憶體單元之一第一記憶體單元中所儲存之資料,並將該資料校正後寫入至另一第一記憶體單元;以及建立關聯該另一第一記憶體單元的一編程時戳。An embodiment of the present invention provides a storage device. The storage device includes: a flash memory module and a controller. The flash memory module includes a plurality of memory units. The controller is used to access the flash memory module and includes: a storage unit and a processing unit. The storage unit is used to store a program code. The processing unit is coupled to the storage unit, and is used to read the program code from the storage unit to execute the program code to perform the following operations: Performing an error check at least in part; and performing a second refresh operation according to the result of the error check, wherein performing the second refresh operation includes: when the result of the error check indicates at least one of a second memory cell When the number of error bits included in part is greater than a critical value, the data stored in one of the first memory cells including the second memory cell is read, and the data is corrected and written to another first memory cell. Memory cell; and establishing a programming timestamp associated with the other first memory cell.

在以下內文中,描述了許多具體細節以提供閱讀者對本發明實施例的透徹理解。然而,本領域的技術人士將能理解,如何在缺少一個或多個具體細節的情況下,或者利用其他方法或元件等來實現本發明。在其他情況下,眾所皆知的結構、材料或操作不會被示出或詳細描述,從而避免模糊本發明的核心概念。In the following text, many specific details are described to provide readers with a thorough understanding of the embodiments of the present invention. However, those skilled in the art will understand how to implement the present invention without one or more specific details or using other methods or elements. In other cases, well-known structures, materials or operations will not be shown or described in detail, so as to avoid obscuring the core concept of the present invention.

此外,說明書內文給出的任何範例或者闡釋,不應被其中使用的任何詞彙所限制或者定義。相反地,這些範例或闡釋應當被認為是針對一個特定實施例進行描述的,並且僅作為說明。本領域的技術人員將可理解,這些範例或闡釋使用的任何詞彙將可涵蓋在本說明書中其他地方給出的其他實施例。其中,用以指出這些非限制性範例的用詞包括但不限於:「例如」、「如」、「舉例來說」、「在一個實施例中」以及在「在一範例中」。In addition, any examples or explanations given in the specification should not be limited or defined by any vocabulary used therein. On the contrary, these examples or explanations should be considered as describing a specific embodiment, and only as an illustration. Those skilled in the art will understand that any vocabulary used in these examples or explanations will cover other embodiments given elsewhere in this specification. The terms used to indicate these non-limiting examples include, but are not limited to: "for example," "such as," "for example," "in one embodiment," and "in an example."

說明書內的流程圖中的流程和方塊示出了基於本發明的各種實施例的系統、方法和電腦軟體產品所能實現的架構,功能和操作。在這方面,流程圖或功能方塊圖中的每個方塊可能代表程式碼的模組,區段或者是部分,其包括用於實現指定的邏輯功能的一個或多個可執行指令。另外,功能方塊圖以及/或流程圖中的每個方塊,以及方塊的組合,基本上可以由執行指定功能或動作的專用硬體系統來實現,或專用硬體和電腦程式指令的組合來實現。這些電腦程式指令還可以存儲在電腦可讀媒體中,該媒體可以使電腦或其他可編程數據處理裝置以特定方式工作,使得存儲在電腦可讀媒體中的指令,實現流程圖以及/或功能方塊圖中的方塊所指定的功能/動作。The processes and blocks in the flowcharts in the specification show the architecture, functions, and operations that can be implemented by the system, method, and computer software product based on various embodiments of the present invention. In this regard, each block in the flowchart or the functional block diagram may represent a module, section or part of the program code, which includes one or more executable instructions for implementing the specified logical function. In addition, each block in the function block diagram and/or flowchart, as well as the combination of blocks, can basically be realized by a dedicated hardware system that performs a specified function or action, or a combination of dedicated hardware and computer program instructions. . These computer program instructions can also be stored in a computer-readable medium, which can make a computer or other programmable data processing device work in a specific manner, so that the instructions stored in the computer-readable medium implement flowcharts and/or functional blocks The functions/actions specified by the squares in the figure.

第1圖爲本發明實施例的示意圖。如圖所示,儲存裝置100包含一控制器120與一快閃記憶體模組130,並且受控於一主機(host device)200(儲存裝置100甚至可能為主機200的一部份)。主機200可包含至少一個中央處理器(未顯示),並透過運作一個作業系統與應用程式來控制主機200的運作,並與周邊裝置(未顯示)連動。而存儲裝置100可用來提供存儲空間給主機200,儲存運作作業系統與各種應用程式所必需的程式碼與資料。主控裝置50的範例可包含:多功能移動電話(multifunctional mobile phone)、平板電腦(tablet)、可穿戴裝置(wearable device)以及個人電腦(personal computer)例如桌上型電腦或筆記型電腦。存儲裝置100的例子可包含(但不限於):固態硬碟(solid state drive, SSD)以及各種嵌入式(embedded)存儲裝置(例如符合UFS或EMMC規格的嵌入式存儲裝置)。Figure 1 is a schematic diagram of an embodiment of the present invention. As shown in the figure, the storage device 100 includes a controller 120 and a flash memory module 130, and is controlled by a host device 200 (the storage device 100 may even be a part of the host device 200). The host 200 may include at least one central processing unit (not shown), and control the operation of the host 200 by operating an operating system and an application program, and is linked with peripheral devices (not shown). The storage device 100 can be used to provide storage space for the host 200 to store program codes and data necessary for operating the operating system and various applications. Examples of the main control device 50 may include: a multifunctional mobile phone, a tablet, a wearable device, and a personal computer such as a desktop computer or a notebook computer. Examples of the storage device 100 may include (but are not limited to): a solid state drive (SSD) and various embedded storage devices (for example, an embedded storage device compliant with UFS or EMMC specifications).

控制器120可用來存取(access)快閃記憶體模組130。在一個實施例中,快閃記憶體模組130可能是一立體NAND型快閃記憶體(3D NAND-type flash),並可包含至少一個快閃記憶體晶片(Flash memory chip),但此非本發明之限制。每一個快閃記憶體晶片包含複數個區塊(Block),控制器120對快閃記憶體模組130進行資料抹除的操作是以區塊爲單位來進行。另外,一個區塊可記錄特定數量的數據頁(Page),而控制器120對快閃記憶體模組130進行資料寫入的操作是以數據頁爲單位來進行寫入。The controller 120 can be used to access the flash memory module 130. In one embodiment, the flash memory module 130 may be a three-dimensional NAND-type flash (3D NAND-type flash), and may include at least one flash memory chip (Flash memory chip), but this is not Limitations of the present invention. Each flash memory chip includes a plurality of blocks, and the controller 120 performs data erasing operations on the flash memory module 130 in units of blocks. In addition, a block can record a specific number of data pages (Pages), and the controller 120 writes data to the flash memory module 130 in units of data pages.

控制器120可能包含處理電路例如微處理器122、與儲存單元124,例如唯讀記憶體(Read Only Memory, ROM),唯讀記憶體124主要用來儲存程式碼與特定資料,而微處理器122則用來執行程式碼以控制對快閃記憶體模組130的存取。另外,控制器120可能還包含有其他的介面邏輯、控制邏輯以及緩衝器等等,用以輔助實現下文所述的各種操作。然而,為求說明書之簡潔,在此省略不提。本領域之技術人士在閱讀下文後,應能知曉如何運用已知的電路與文中揭露的電路元件與架構結合,從而實現本發明實施例中所提及的各式操作與相關應用。The controller 120 may include a processing circuit such as a microprocessor 122 and a storage unit 124, such as a read only memory (ROM). The read only memory 124 is mainly used to store program codes and specific data, and the microprocessor 122 is used to execute program codes to control access to the flash memory module 130. In addition, the controller 120 may also include other interface logic, control logic, buffers, etc., to assist in implementing various operations described below. However, for the sake of brevity in the description, it is omitted here. After reading the following, those skilled in the art should be able to know how to use known circuits in combination with the circuit elements and structures disclosed in the text to implement various operations and related applications mentioned in the embodiments of the present invention.

在本實施例中,主機200可藉由傳送主控命令(host command)與相應的邏輯位址給控制器120,從而間接地存取儲存裝置100。控制器120接收主控命令(讀取或寫入命令)與邏輯地址,並且將主控命令轉譯成記憶體操作命令,再以操作命令控制快閃記憶體模組130讀取、寫入、編程(program)、或抹除(erase) 快閃記憶體模組130當中特定物理地址的記憶體單元(memory unit)或數據頁(page)、或區塊(block)。再者,控制器120也會執行程式碼1242C,以及/或參考儲存單元124內的資料,從而執行一連串的操作來實現下文中將提到的特定操作。In this embodiment, the host 200 can indirectly access the storage device 100 by sending a host command and a corresponding logical address to the controller 120. The controller 120 receives a main control command (read or write command) and a logical address, and translates the main control command into a memory operation command, and then controls the flash memory module 130 to read, write, and program with the operation command (Program), or erase (erase) the memory unit or data page (page) or block (block) of a specific physical address in the flash memory module 130. Furthermore, the controller 120 will also execute the program code 1242C and/or refer to the data in the storage unit 124 to execute a series of operations to implement the specific operations mentioned below.

針對讀取操作,若控制器120無法在一次讀取操作中讀取出正確的資料時,控制器120便會讀取儲存在儲存單元124中的一個或多個讀取重試表,根據讀取重試表中記載的讀取電壓,控制快閃記憶體模組130以不同的讀取電壓來讀取資料,從而正確地讀出主機200所需要的資料。For the read operation, if the controller 120 cannot read the correct data in one read operation, the controller 120 will read one or more read retry tables stored in the storage unit 124, according to the read The read voltage recorded in the retry table is taken, and the flash memory module 130 is controlled to read data with different read voltages, so as to correctly read the data required by the host 200.

在本發明中,控制器120對於讀取重試表的選擇與資料保存時間有關。控制器120會針對快閃記憶體模組130中每個第一記憶體單元的寫入操作所對應的時間資訊建立起對應該第一記憶體單元的編程時戳。當後續主機200發出讀取命令時,控制器120會根據編程時戳中的資訊與系統時間來選擇讀取重試表。在一實施例中,該第一記憶體單元可能為一超級區塊(super block)。In the present invention, the selection of the controller 120 for reading the retry table is related to the data storage time. The controller 120 establishes a programming time stamp corresponding to the first memory cell for the time information corresponding to the write operation of each first memory cell in the flash memory module 130. When the host 200 subsequently issues a read command, the controller 120 will select the read retry table according to the information in the programming time stamp and the system time. In one embodiment, the first memory unit may be a super block.

請進一步參考第2圖的範例。在該範例中,假設快閃記憶體模組130包含有複數個大小相同的第一記憶體單元UNT1、UNT2、…與UNTM(此非本發明之限制),並且,在使用歷程P1中有資料寫入第一記憶體單元UNT1、在使用歷程P2中有資料寫入第一記憶體單元UNT2,以及在使用歷程P3有資料寫入第一記憶體單元UNT3。那麼,如果在使用歷程P1內,當主機200發出讀取命令要求讀取第一記憶體單元UNT1中的資料時,則控制器120會使用重試表讀取RTAB1進行讀取。如果在使用歷程P2內,當主機200發出讀取命令要求讀取第一記憶體單元UNT1中的資料時,則控制器120會使用讀取重試表讀取RTAB2進行讀取,以及使用歷程P2內,針對第一記憶體單元UNT2中的資料的讀取操作會使用讀取重試表RTAB1進行讀取。如果在使用歷程P3內,主機200發出讀取命令要求讀取第一記憶體單元UNT1、第一記憶體單元UNT2與第一記憶體單元UNT3中的資料時,則控制器120會分別使用讀取重試表RTAB3、RTAB2與RTAB1進行讀取。其中,讀取重試表RTAB3、RTAB2與RTAB1依序適於讀取由長到短的資料保存時間的資料。Please further refer to the example in Figure 2. In this example, it is assumed that the flash memory module 130 includes a plurality of first memory cells UNT1, UNT2, ... and UNTM (this is not a limitation of the present invention) of the same size, and there is data in the use history P1 Writing to the first memory unit UNT1, data is written into the first memory unit UNT2 in the use history P2, and data is written into the first memory unit UNT3 in the use history P3. Then, if in the use history P1, when the host 200 sends a read command to request to read the data in the first memory unit UNT1, the controller 120 will use the retry table to read RTAB1 for reading. If in the use history P2, when the host 200 sends a read command to read the data in the first memory unit UNT1, the controller 120 will use the read retry table to read RTAB2 for reading, and use the history P2 Inside, the read operation for the data in the first memory unit UNT2 will use the read retry table RTAB1 to read. If in the use history P3, when the host 200 sends a read command to read the data in the first memory unit UNT1, the first memory unit UNT2, and the first memory unit UNT3, the controller 120 will use the read command respectively. Retry tables RTAB3, RTAB2 and RTAB1 for reading. Among them, the read retry tables RTAB3, RTAB2, and RTAB1 are suitable for reading data with a long to short storage time in sequence.

在一實施例中,為了減少讀取重試表的數量,從而提高讀取重試的效率,控制器120會針對快閃記憶體模組130中的第一記憶體單元對應的編程時戳進行全局性質且週期性進行的一第一刷新操作。請參考第3圖的範例以進一步了解本發明之第一刷新操作的運作原理以及影響。如圖所示,假設快閃記憶體130包含有第一記憶體單元UNT1~UNTM(此非本發明之限制)。而控制器120會在儲存單元124中維持一個刷新清單RLIST,記錄每個第一記憶體單元對應的編程時戳,並根據新舊來排序,進行刷新。In one embodiment, in order to reduce the number of read retry tables and improve the efficiency of read retry, the controller 120 will perform a programming time stamp corresponding to the first memory cell in the flash memory module 130. A first refresh operation performed globally and periodically. Please refer to the example in FIG. 3 to further understand the operation principle and influence of the first refresh operation of the present invention. As shown in the figure, it is assumed that the flash memory 130 includes first memory units UNT1 to UNTM (this is not a limitation of the present invention). The controller 120 maintains a refresh list RLIST in the storage unit 124, records the programming timestamps corresponding to each first memory unit, and sorts them according to the new and old to refresh.

假設,在使用歷程P1中,第一記憶體單元UNT1與UNT4被寫入資料;使用歷程P2中,第一記憶體單元UNT2與UNT5中被寫入資料;以及使用歷程P3中,第一記憶體單元UNT6與UNT8中被寫入資料。接著,控制器120會在當前使用歷程中,對前一個使用歷程中有寫入資料的第一記憶體單元進行刷新,並且在當前使用歷程結束前完成。如本實施例中,控制器120在使用歷程P2中,控制器120根據刷新清單RLIST的順序,針對在前一個使用歷程P1中被寫入資料的第一記憶體單元UNT1與UNT4,進行刷新並在使用歷程P2結束前完成刷新操作;在使用歷程P3中,控制器120根據刷新清單RLIST的順序,針對在前一個使用歷程P2中被寫入資料的第一記憶體單元UNT2與UNT5,進行刷新並在使用歷程P3結束前完成刷新操作。在使用歷程P4中,控制器120根據刷新清單RLIST的順序,針對在前一個使用歷程P3中被寫入資料的第一記憶體單元UNT6與UNT8,進行刷新並在使用歷程P4結束前完成刷新操作。另外,由刷新操作新寫入的第一記憶單元也會在下一個使用歷程中被刷新。例如,假設在使用歷程P2中,針對第一記憶體單元UNT1與UNT4的刷新操作,將資料搬移到了第一記憶體單元UNT3與UNT7中,那麼在使用歷程P3中,第一記憶體單元UNT3與UNT7中也會被刷新,以此類推。Suppose, in the use process P1, the first memory units UNT1 and UNT4 are written with data; in the use process P2, the first memory units UNT2 and UNT5 are written with data; and in the use process P3, the first memory Data is written in units UNT6 and UNT8. Then, the controller 120 refreshes the first memory cell with data written in the previous use history in the current use history, and completes before the end of the current use history. For example, in this embodiment, the controller 120 is in the use history P2, and the controller 120 refreshes and refreshes the first memory cells UNT1 and UNT4 to which data was written in the previous use history P1 according to the order of the refresh list RLIST. The refresh operation is completed before the end of the use course P2; in the use course P3, the controller 120 refreshes the first memory cells UNT2 and UNT5 to which data was written in the previous use course P2 according to the order of the refresh list RLIST. And finish the refresh operation before the end of the use course P3. In the use course P4, the controller 120 refreshes the first memory cells UNT6 and UNT8 to which data was written in the previous use course P3 according to the order of the refresh list RLIST, and completes the refresh operation before the end of the use course P4 . In addition, the first memory cell newly written by the refresh operation will also be refreshed in the next usage history. For example, suppose that in the use course P2, for the refresh operation of the first memory units UNT1 and UNT4, data is moved to the first memory units UNT3 and UNT7, then in the use course P3, the first memory unit UNT3 and UNT7 will also be refreshed, and so on.

如此一來,快閃記憶體模組130中任何的第一記憶體單元的資料保存時間,最長只有兩個使用歷程的長度(假設刷新最遲在一個使用歷程結束時才完成)。因此,控制器120的儲存單元124中只需要儲存兩個讀取重試表RTAB1與RTAB2,就可以涵蓋所有因儲存時間過長而造成的讀取錯誤。舉例來說,如果在使用歷程P2中,打算讀取第一記憶體單元UNT1中的資料時,若此時第一記憶體單元UNT1中的資料已透過上述的刷新操作搬移到第一記憶體單元UNT3中時,則只需要用讀取重試表RTAB1進行讀取;同樣在使用歷程P2中,打算讀取第一記憶體單元UNT4中的資料時,若此時第一記憶體單元UNT4中的資料未被刷新,則需要用讀取重試表RTAB2進行讀取。In this way, the data retention time of any first memory unit in the flash memory module 130 is only two usage history at the longest (assuming that the refresh is completed at the end of one usage history at the latest). Therefore, the storage unit 124 of the controller 120 only needs to store two read retry tables RTAB1 and RTAB2, which can cover all read errors caused by excessive storage time. For example, if you intend to read the data in the first memory unit UNT1 in the usage history P2, if the data in the first memory unit UNT1 has been moved to the first memory unit through the above refresh operation at this time When in UNT3, you only need to use the read retry table RTAB1 to read; also in the use history P2, when you intend to read the data in the first memory unit UNT4, if the data in the first memory unit UNT4 is If the data is not refreshed, it needs to be read with the read retry table RTAB2.

以上的第一刷新操作與讀取重試表的選擇可歸納為第4圖所示的流程,包含有以下步驟:The above selection of the first refresh operation and read retry table can be summarized as the process shown in Figure 4, which includes the following steps:

步驟410:針對每一第一記憶體單元的資料寫入時間建立一個對應於該第一記憶體單元的一編程時戳;Step 410: Create a programming time stamp corresponding to the first memory cell for the data writing time of each first memory cell;

步驟420:根據該第一記憶體單元的該編程時戳,選擇相對應的一讀取重試表來對該第一記憶體單元進行一讀取操作;以及Step 420: According to the programming time stamp of the first memory cell, select a corresponding read retry table to perform a read operation on the first memory cell; and

步驟430:根據已寫入資料之第一記憶體單元的編程時戳,執行一第一刷新操作。Step 430: Perform a first refresh operation according to the programming time stamp of the first memory cell in which data has been written.

由於步驟410~430係由前述實施例中介紹的操作簡化而來,故此處不再重複說明。Since steps 410 to 430 are simplified from the operations introduced in the foregoing embodiment, the description will not be repeated here.

在一實施例中,為了增加資料的可靠度,以及保證讀取重試的成功率,會在第一刷新操作之外,額外進行一個第二刷新操作。其中,第二刷新操作的流程如第5圖所示,包含有以下步驟:In one embodiment, in order to increase the reliability of the data and ensure the success rate of read retry, a second refresh operation is additionally performed in addition to the first refresh operation. Among them, the flow of the second refresh operation is shown in Figure 5, including the following steps:

步驟 510:針對已寫入資料之第二記憶體單元中每一者的至少一部份進行一錯誤檢查;以及Step 510: Perform an error check on at least a part of each of the second memory cells in which data has been written; and

步驟 520:當該錯誤檢查的結果指出一錯誤位元數量大於一臨界值時,讀取出包含該第二記憶體單元之一第一記憶體單元所儲存之資料,並將該資料校正後寫入至另一第一記憶體單元;以及Step 520: When the result of the error check indicates that the number of error bits is greater than a critical value, read the data stored in the first memory unit including the second memory unit, and write the data after correction Into another first memory unit; and

步驟 530:建立該另一第一記憶體單元的一編程時戳。Step 530: Create a programming time stamp of the other first memory cell.

請進一步搭配第6圖的說明,以進一步了解本發明實施例如何進行第二刷新操作。如圖所示,快閃記憶體130可能包含有複數個大小相同的第二記憶體單元SUNT1、SUNT2、…與SNTQ。而每個記憶體單元SUNT1~ SUNTQ可能又包含有數量相同的第二子記憶體單元SSUNT1~ SSUNTZ。Please further cooperate with the description of FIG. 6 to further understand how the embodiment of the present invention performs the second refresh operation. As shown in the figure, the flash memory 130 may include a plurality of second memory cells SUNT1, SUNT2,... And SNTQ of the same size. Each memory cell SUNT1~ SUNTQ may contain the same number of second sub-memory cells SSUNT1~SSUNTZ.

在步驟510中,控制器120會對每個第二記憶體單元SUNT1~SUNTQ的至少一部份進行錯誤檢查。其中,在一實施例中,控制器120單元可能會從第二記憶體單元SUNT1選出第二子記憶體單元SSUNT1、在第二記憶體單元SUNT2選出第二子記憶體單元SSUNT2、….以及在第二記憶體單元SNTQ選出第二子記憶體單元SSUNTQ進行錯誤檢查。這樣的選取方式是為了避免造成取樣不均勻。例如,如果在每個第二記憶體單元中都選擇子記憶體單元SSUNT1或子記憶體單元SSUNTQ進行檢查,則可能因為相同編號的子記憶體單元在物理結構上接近,具有相似的物理特性,而忽略了其他物理特性不同且容易造成錯誤的記憶體單元。在一實施例中,第二記憶體單元SUNT1~ SUNTQ可能為超級數據頁(super pages),而第二子記憶體單元SSUNT1~SSNTZ可能為數據頁。In step 510, the controller 120 performs an error check on at least a part of each of the second memory units SUNT1 to SUNTQ. Among them, in an embodiment, the controller 120 unit may select the second sub-memory unit SSUNT1 from the second memory unit SUNT1, select the second sub-memory unit SSUNT2 from the second memory unit SUNT2, ... and The second memory unit SNTQ selects the second sub-memory unit SSUNTQ for error checking. This selection method is to avoid causing uneven sampling. For example, if the sub-memory unit SSUNT1 or the sub-memory unit SSUNTQ is selected for inspection in each second memory unit, it may be because the sub-memory units with the same number are close in physical structure and have similar physical characteristics. It ignores other memory cells that have different physical characteristics and are prone to errors. In one embodiment, the second memory units SUNT1~SunTQ may be super pages, and the second sub-memory units SSUNT1~SSNTZ may be data pages.

在本發明中,第二刷新操作是具有條件性,也就是只有當被選擇出的第二子記憶體單元無法通過錯誤檢查時,控制器120才會針對包含該第二記憶體單元進行第二刷新操作。在步驟520中,控制器120係透過檢查選擇出的第二子記憶體單元的錯誤位元數目是否超過一臨界值,來決定是否通過錯誤檢查。若當該錯誤檢查的結果指出一第二記憶體單元的至少一部份的錯誤位元數量大於一臨界值時,則控制器120讀取出包含該第二記憶體單元之第一記憶體單元中所儲存之資料,並將該資料校正後寫入至另一第一記憶體單元。亦即,若檢查出一個超級數據頁中某一個數據頁的錯誤位元數目過高,則會刷新包含該第二超級數據頁之一第一超級區塊的資料。並且在步驟530中,建立該第一記憶體單元的一編程時戳。此即為本發明的第二刷新操作。In the present invention, the second refresh operation is conditional, that is, only when the selected second sub-memory unit fails the error check, the controller 120 will perform the second operation for the second memory unit containing the second memory unit. Refresh operation. In step 520, the controller 120 determines whether the error check is passed by checking whether the number of error bits of the selected second sub-memory unit exceeds a threshold value. If the result of the error check indicates that the number of error bits in at least a part of a second memory cell is greater than a threshold, the controller 120 reads the first memory cell including the second memory cell And write the data in the other first memory unit after calibrated. That is, if it is checked that the number of error bits in a certain data page in a super data page is too high, the data including the first super block of one of the second super data pages will be refreshed. And in step 530, a programming time stamp of the first memory cell is established. This is the second refresh operation of the present invention.

在本實施例中,需要被刷新的第一記憶體單元會被插入至控制器120之儲存單元124中所儲存的刷新清單RLIST的排序中。請參考第7圖的說明。如第7圖所示,控制器120原本按照刷新清單RLIST進行第一刷新操作,針對UNT2、UNT3、UNT4與UNT6的順序周期性地進行。並且,也同時週期性地進行錯誤檢查。然而,當控制器120在時間點T1中發現某個被檢查的第二記憶體單元SUNT2無法通過檢查時,則會在刷新清單RLIST中插入相應的於包含有第二記憶體單元SUNT2的第一記憶體單元UNT3的刷新操作的第二刷新操作,並在時間點T2,執行針對第一記憶體單元UNT3中的資料的刷新操作。In this embodiment, the first memory unit that needs to be refreshed is inserted into the sorting of the refresh list RLIST stored in the storage unit 124 of the controller 120. Please refer to the description in Figure 7. As shown in FIG. 7, the controller 120 originally performs the first refresh operation according to the refresh list RLIST, and periodically performs the sequence of UNT2, UNT3, UNT4, and UNT6. In addition, error checks are also periodically performed at the same time. However, when the controller 120 finds that a certain checked second memory unit SUNT2 fails to pass the check at time T1, it will insert the corresponding first memory unit SUNT2 that contains the second memory unit SUNT2 into the refresh list RLIST. The refresh operation of the memory unit UNT3 is the second refresh operation, and at the time point T2, the refresh operation for the data in the first memory unit UNT3 is executed.

如上所述,本發明通過了週期性對已寫入資料的第一記憶體單元(如:超級區塊)進行刷新。並且在每個使用歷程中,執行前一個使用歷程中有寫入的記憶體單元,從而有效地減少所需的讀取重試表的數量。並且,藉由週期性地選擇第二記憶體單元的部分(如:數據頁)進行錯誤檢查,從而更好地保證讀讀取重試表的數量在減少後仍能有效率地進行讀取重試。如此一來,便能改善讀取重試的效率。 以上所述僅為本發明之較佳實施例,凡依本發明申請專利範圍所做之均等變化與修飾,皆應屬本發明之涵蓋範圍。 As mentioned above, the present invention periodically refreshes the first memory cell (such as a super block) where data has been written. And in each usage history, the memory unit written in the previous usage history is executed, thereby effectively reducing the number of read retry tables required. In addition, by periodically selecting parts of the second memory unit (such as data pages) for error checking, it is better to ensure that the number of read retry tables is reduced and the read retry can still be performed efficiently. test. In this way, the efficiency of read retry can be improved. The foregoing descriptions are only preferred embodiments of the present invention, and all equivalent changes and modifications made in accordance with the scope of the patent application of the present invention should fall within the scope of the present invention.

100 儲存裝置 120 控制器 122 處理單元 124 儲存單元 130 快閃記憶體模組 130_1~130_N   快閃記憶體晶片 UNT1~UNTM  第一記憶體單元 SUNT1~ SUNTQ    第二記憶體單元 SSUNT1~ SSUNTZ      第二子記憶體單元 410~430、510~530       步驟 100 storage devices 120 controller 122 Processing Unit 124 storage unit 130 flash memory module 130_1~130_N Flash memory chip UNT1~UNTM First memory unit SUNT1~ SUNTQ second memory unit SSUNT1~ SSUNTZ The second sub-memory unit 410~430, 510~530 Steps

第1圖繪示本發明實施例之相關儲存裝置、控制器與快閃記憶體模組之架構。 第2圖解釋本發明如何選擇讀取重試表。 第3圖解釋本發明如何針對第一記憶體單元進行第一刷新操作。 第4圖繪示本發明實施例中之讀取重試表的選擇與第一刷新操作的執行的相關流程圖。 第5圖繪示本發明實施例中之第二刷新操作的流程圖。 第6圖解釋本發明實施例中之錯誤檢查對於第二子記憶體單元的選擇方式。 第7圖解釋本發明實施例中之第一刷新操作與第二刷新操作的關聯。 Figure 1 shows the architecture of related storage devices, controllers and flash memory modules according to an embodiment of the present invention. Figure 2 explains how the present invention chooses to read the retry table. Figure 3 explains how the present invention performs the first refresh operation for the first memory cell. FIG. 4 is a flowchart related to the selection of the read retry table and the execution of the first refresh operation in the embodiment of the present invention. FIG. 5 shows a flowchart of the second refresh operation in the embodiment of the present invention. Fig. 6 explains the method of selecting the second sub-memory unit for error checking in the embodiment of the present invention. Fig. 7 explains the association between the first refresh operation and the second refresh operation in the embodiment of the present invention.

510~530     步驟510~530 Steps

Claims (15)

一種管理一快閃記憶體模組中之複數個記憶體單元的方法,包含: 針對已寫入資料之第二記憶體單元中每一者的至少一部份進行一錯誤檢查;以及 根據該錯誤檢查的結果來執行一第二刷新操作,包含: 當該錯誤檢查的結果指出一第二記憶體單元中的至少一部份所包含錯誤位元數量大於一臨界值時,讀取出包含該第二記憶體單元之一第一記憶體單元中所儲存之資料,並將該資料校正後寫入至另一第一記憶體單元;以及 建立關聯該另一第一記憶體單元的一編程時戳。 A method for managing a plurality of memory cells in a flash memory module includes: Perform an error check on at least a part of each of the second memory cells in which data has been written; and Perform a second refresh operation according to the result of the error check, including: When the result of the error check indicates that the number of error bits contained in at least a part of a second memory cell is greater than a threshold value, it is read out that the number of error bits contained in one of the second memory cells is included. Store the data, and write the data to another first memory unit after calibration; and A programming time stamp associated with the other first memory cell is established. 如請求項1所述的方法,另包含: 針對每一第一記憶體單元的資料寫入時間建立一個對應於該第一記憶體單元的一編程時戳; 提供複數個讀取重試表,其中每一個讀取重試表分別對應該第一記憶體被寫入或刷新之後所經過的特定時間長度; 根據該第一記憶體單元的該編程時戳,選擇相對應的一讀取重試表來對該第一記憶體單元進行一讀取操作;以及 根據已寫入資料之第一記憶體單元的編程時戳,執行一第一刷新操作。 The method described in claim 1, which additionally includes: Establishing a programming time stamp corresponding to the first memory cell for the data writing time of each first memory cell; Provide a plurality of read retry tables, each of which corresponds to a specific length of time that has elapsed after the first memory is written or refreshed; According to the programming time stamp of the first memory cell, select a corresponding read retry table to perform a read operation on the first memory cell; and According to the programming time stamp of the first memory cell in which data has been written, a first refresh operation is performed. 如請求項2所述的方法,其中執行該第一刷新操作的步驟包含: 針對在一第一使用歷程中已寫入資料的複數個第一記憶體單元,在一第二使用歷程中進行該第一刷新操作,其中該第二使用歷程在該第一使用歷程之後,且該第一刷新操作係在該第二使用歷程中完成針對所有該第一使用歷程中已寫入資料之第一記憶體單元的刷新。 The method according to claim 2, wherein the step of performing the first refresh operation includes: For a plurality of first memory cells to which data has been written in a first use history, perform the first refresh operation in a second use history, wherein the second use history is after the first use history, and The first refresh operation completes the refresh of all the first memory cells whose data has been written in the first use history during the second use history. 如請求項3所述的方法,其中選擇相對應的該讀取重試表的步驟包含: 針對在該第一使用歷程中被寫入資料的第一記憶體單元的讀取,選擇一第一讀取重試表;以及 針對在該第二使用歷程中被寫入資料的第一記憶體單元的讀取,選擇一第二讀取重試表。 The method according to claim 3, wherein the step of selecting the corresponding read retry table includes: Select a first read retry table for the reading of the first memory unit to which data is written during the first use history; and A second read retry table is selected for the reading of the first memory cell whose data is written in the second usage history. 如請求項2所述的方法,其中執行該第一刷新操作的部分包含: 針對每一個第一記憶體單元: 讀取出該第一記憶體單元中所儲存之資料,並將該資料寫入至另一第一記憶體單元;以及 建立該另一第一記憶體單元的一編程時戳。 The method according to claim 2, wherein the part for performing the first refresh operation includes: For each first memory unit: Read out the data stored in the first memory unit, and write the data to another first memory unit; and A programming time stamp of the other first memory cell is established. 一種管理一快閃記憶體之複數個記憶體單元的控制器,包含: 一儲存單元,用以儲存一程式碼以及複數個讀取重試表,其中每一個讀取重試表分別對應記憶體單元被寫入或刷新之後所經過的特定時間長度;以及 一處理單元,耦接於該儲存單元,用以從該儲存單元中讀取該程式碼,以執行該程式碼,從而進行以下操作: 針對已寫入資料之第二記憶體單元中每一者的至少一部份進行一錯誤檢查;以及 根據該錯誤檢查的結果來執行一第二刷新操作,其中該第二刷新操作包含:當該錯誤檢查的結果指出一第二記憶體單元中的至少一部份所包含的錯誤位元數量大於一臨界值時,讀取出包含該第二記憶體單元之一第一記憶體單元中所儲存之資料,並將該資料校正後寫入至另一第一記憶體單元;以及建立該另一第一記憶體單元的一編程時戳。 A controller for managing a plurality of memory units of a flash memory, including: A storage unit for storing a program code and a plurality of read retry tables, where each read retry table corresponds to a specific length of time that elapses after the memory unit is written or refreshed; and A processing unit, coupled to the storage unit, is used to read the program code from the storage unit to execute the program code, so as to perform the following operations: Perform an error check on at least a part of each of the second memory cells in which data has been written; and Perform a second refresh operation according to the result of the error check, where the second refresh operation includes: when the result of the error check indicates that at least a part of a second memory cell contains more than one bit error When the threshold value is reached, read the data stored in one of the second memory units, and write the data to the other first memory unit after correction; and create the other first memory unit A programming time stamp of a memory cell. 如請求項6所述的控制器,其中該處理單元執行該程式碼,從而進行以下操作: 針對每一第一記憶體單元的資料寫入時間建立一個對應於該第一記憶體單元的一編程時戳; 根據該第一記憶體單元的該編程時戳,選擇相對應的一讀取重試表來對該第一記憶體單元進行一讀取操作;以及 根據已寫入資料之第一記憶體單元的編程時戳,執行一第一刷新操作。 The controller according to claim 6, wherein the processing unit executes the code to perform the following operations: Establishing a programming time stamp corresponding to the first memory cell for the data writing time of each first memory cell; According to the programming time stamp of the first memory cell, select a corresponding read retry table to perform a read operation on the first memory cell; and According to the programming time stamp of the first memory cell in which data has been written, a first refresh operation is performed. 如請求項7所述的控制器,其中該處理單元執行該程式碼,以針對在一第一使用歷程中有寫入的複數個第一記憶體單元,在一第二使用歷程中進行該第一刷新操作,其中該第二使用歷程在該第一使用歷程之後,且該第一刷新操作係在該第二使用歷程中完成針對所有該第一使用歷程中已寫入資料之第一記憶體單元的刷新。The controller according to claim 7, wherein the processing unit executes the code to perform the second use history in a second use history for a plurality of first memory units written in a first use history A refresh operation, wherein the second usage history is after the first usage history, and the first refresh operation is completed in the second usage history for all the first memories that have written data in the first usage history Unit refresh. 如請求項8所述的控制器,其中該處理單元執行該程式碼以: 針對在該第一使用歷程中被寫入資料的第一記憶體單元的讀取,選擇一第一讀取重試表;以及 針對在該第二使用歷程中被寫入資料的第一記憶體單元的讀取,選擇一第二讀取重試表。 The controller according to claim 8, wherein the processing unit executes the code to: Select a first read retry table for the reading of the first memory unit to which data is written during the first use history; and A second read retry table is selected for the reading of the first memory cell whose data is written in the second usage history. 如請求項7所述的控制器,其中該處理單元執行該程式碼以針對每一個第一記憶體單元:讀取出該第一記憶體單元中所儲存之資料,並將該資料寫入至另一第一記憶體單元;以及建立該另一第一記憶體單元的一編程時戳。The controller according to claim 7, wherein the processing unit executes the program code for each first memory unit: reads out the data stored in the first memory unit, and writes the data to Another first memory cell; and establishing a programming time stamp of the another first memory cell. 一種儲存裝置,包含: 一快閃記憶體模組,包含複數個記憶體單元;以及 一控制器,用以對該快閃記憶體模組進行存取,包含: 一儲存單元,用以儲存一程式碼以及複數個讀取重試表,其中每一個讀取重試表分別對應記憶體單元被寫入或刷新之後所經過的特定時間長度;以及 一處理單元,耦接於該儲存單元,用以從該儲存單元中讀取該程式碼,以執行該程式碼,從而進行以下操作: 針對已寫入資料之第二記憶體單元中每一者的至少一部份進行一錯誤檢查;以及 根據該錯誤檢查的結果來執行一第二刷新操作,其中該第二刷新操作包含:當該錯誤檢查的結果指出一第二記憶體單元中的至少一部份所包含的錯誤位元數量大於一臨界值時,讀取出包含該第二記憶體單元之一第一記憶體單元中所儲存之資料,並將該資料校正後寫入至另一第一記憶體單元;以及建立該另一第一記憶體單元的一編程時戳。 A storage device including: A flash memory module including a plurality of memory units; and A controller for accessing the flash memory module, including: A storage unit for storing a program code and a plurality of read retry tables, where each read retry table corresponds to a specific length of time that elapses after the memory unit is written or refreshed; and A processing unit, coupled to the storage unit, is used to read the program code from the storage unit to execute the program code, so as to perform the following operations: Perform an error check on at least a part of each of the second memory cells in which data has been written; and Perform a second refresh operation according to the result of the error check, where the second refresh operation includes: when the result of the error check indicates that at least a part of a second memory cell contains more than one bit error When the threshold value is reached, read the data stored in one of the second memory units, and write the data to the other first memory unit after correction; and create the other first memory unit A programming time stamp of a memory cell. 如請求項11所述的儲存裝置,其中該控制器: 針對每一第一記憶體單元的資料寫入時間建立一個對應於該第一記憶體單元的一編程時戳; 根據該第一記憶體單元的該編程時戳,選擇相對應的一讀取重試表來對該第一記憶體單元進行一讀取操作;以及 根據已寫入資料之第一記憶體單元的編程時戳,執行一第一刷新操作。 The storage device according to claim 11, wherein the controller: Establishing a programming time stamp corresponding to the first memory cell for the data writing time of each first memory cell; According to the programming time stamp of the first memory cell, select a corresponding read retry table to perform a read operation on the first memory cell; and According to the programming time stamp of the first memory cell in which data has been written, a first refresh operation is performed. 如請求項12所述的儲存裝置,其中該控制器針對在一第一使用歷程中已寫入資料的複數個第一記憶體單元,在一第二使用歷程中進行該第一刷新操作,其中該第二使用歷程在該第一使用歷程之後,且該第一刷新操作係在該第二使用歷程中完成針對所有該第一使用歷程中已寫入資料之第一記憶體單元的刷新。The storage device according to claim 12, wherein the controller performs the first refresh operation in a second use history for a plurality of first memory cells to which data has been written in a first use history, wherein The second usage history is after the first usage history, and the first refresh operation is to complete the refresh of all the first memory cells that have written data in the first usage history in the second usage history. 如請求項13所述的儲存裝置,其中該控制器針對在該第一使用歷程中被寫入資料的第一記憶體單元的讀取,選擇一第一讀取重試表;以及針對在該第二使用歷程中被寫入資料的第一記憶體單元的讀取,選擇一第二讀取重試表。The storage device according to claim 13, wherein the controller selects a first read retry table for reading the first memory unit whose data is written in the first use history; and To read the first memory unit whose data is written in the second use history, select a second read retry table. 如請求項12所述的儲存裝置,其中該控制器針對每一個第一記憶體單元:讀取出該第一記憶體單元中所儲存之資料,並將該資料寫入至另一第一記憶體單元;以及建立該另一第一記憶體單元的一編程時戳,從而完成該第一刷新操作。The storage device according to claim 12, wherein the controller for each first memory unit: reads out the data stored in the first memory unit, and writes the data to another first memory And establishing a programming time stamp of the other first memory cell, thereby completing the first refresh operation.
TW109107348A 2019-01-10 2019-01-10 Method for improving read retry of flash memory and related controller and storage device TWI718889B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW109107348A TWI718889B (en) 2019-01-10 2019-01-10 Method for improving read retry of flash memory and related controller and storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW109107348A TWI718889B (en) 2019-01-10 2019-01-10 Method for improving read retry of flash memory and related controller and storage device

Publications (2)

Publication Number Publication Date
TW202105394A TW202105394A (en) 2021-02-01
TWI718889B true TWI718889B (en) 2021-02-11

Family

ID=75745400

Family Applications (1)

Application Number Title Priority Date Filing Date
TW109107348A TWI718889B (en) 2019-01-10 2019-01-10 Method for improving read retry of flash memory and related controller and storage device

Country Status (1)

Country Link
TW (1) TWI718889B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1110958C (en) * 1995-02-28 2003-06-04 通用仪器公司 Decompression process for video signal
US6798418B1 (en) * 2000-05-24 2004-09-28 Advanced Micro Devices, Inc. Graphics subsystem including a RAMDAC IC with digital video storage interface for connection to a graphics bus
CN101124554A (en) * 2004-12-16 2008-02-13 桑迪士克股份有限公司 Non-volatile memory and method with multi-stream update tracking
TW200845007A (en) * 2007-01-31 2008-11-16 Sandisk Il Ltd Flash memory with improved programming precision
US8983902B2 (en) * 2010-12-10 2015-03-17 Sap Se Transparent caching of configuration data
US10163471B2 (en) * 2017-03-30 2018-12-25 Intel Corporation Time tracking with trits
US20180373625A1 (en) * 2017-06-22 2018-12-27 Macronix International Co., Ltd. Memory device and associated control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1110958C (en) * 1995-02-28 2003-06-04 通用仪器公司 Decompression process for video signal
US6798418B1 (en) * 2000-05-24 2004-09-28 Advanced Micro Devices, Inc. Graphics subsystem including a RAMDAC IC with digital video storage interface for connection to a graphics bus
CN101124554A (en) * 2004-12-16 2008-02-13 桑迪士克股份有限公司 Non-volatile memory and method with multi-stream update tracking
TW200845007A (en) * 2007-01-31 2008-11-16 Sandisk Il Ltd Flash memory with improved programming precision
US8983902B2 (en) * 2010-12-10 2015-03-17 Sap Se Transparent caching of configuration data
US10163471B2 (en) * 2017-03-30 2018-12-25 Intel Corporation Time tracking with trits
US20180373625A1 (en) * 2017-06-22 2018-12-27 Macronix International Co., Ltd. Memory device and associated control method

Also Published As

Publication number Publication date
TW202105394A (en) 2021-02-01

Similar Documents

Publication Publication Date Title
TWI690928B (en) Method for improving read retry of flash memory and related controller and storage device
US9703698B2 (en) Data writing method, memory controller and memory storage apparatus
US11630768B2 (en) Method for managing flash memory module and associated flash memory controller and electronic device
TWI566253B (en) Method for managing a memory apparatus, and associated memory apparatus thereof and associated controller thereof
US10902928B2 (en) Memory system, operation method thereof, and nonvolatile memory device
CN104750571A (en) Method for error correction, memory device and controller of memory device
US20170162267A1 (en) Data Storage Device and Data Maintenance Method
US11068201B2 (en) Flash memory controller, method for managing flash memory module and associated electronic device
US20190065361A1 (en) Method for writing data into flash memory module and associated flash memory controller and electronic device
TWI644215B (en) Method for controlling operations of data storage device, and associated data storage device and controller thereof
US11487655B2 (en) Method for managing flash memory module and associated flash memory controller and electronic device based on timing of dummy read operations
KR20160110774A (en) Memory device and system having the same
TWI442406B (en) Method for enhancing verification efficiency regarding error handling mechanism of a controller of a flash memory, and associated memory device and controller thereof
KR20150095442A (en) Non-volatile memory device and method of operating the same
US20130067141A1 (en) Data writing method, and memory controller and memory storage apparatus using the same
KR20140104829A (en) Multi level cell nonvolatile memory system
TWI718889B (en) Method for improving read retry of flash memory and related controller and storage device
US12056367B2 (en) Memory system and operating method thereof for performing urgent fine program operation
CN111488118A (en) Method for managing flash memory module and related flash memory controller and electronic device
US20220310168A1 (en) Operating method of storage controller using count value of direct memory access, storage device including storage controller, and operating method of storage device
TWI823649B (en) Control method of flash memory controller, flash memory controller, and electronic device
US11810642B2 (en) Memory device including defective column addresses stored in ascending order
US20240377976A1 (en) Operating method of storage controller managing system memory blocks and storage device including the same
US20250022529A1 (en) Block health detector for block retirement in a memory sub-system
TWI781886B (en) Method for managing flash memory module and associated flash memory controller and electronic device