Nothing Special   »   [go: up one dir, main page]

TWI774214B - Power-on startup information reconstruction system and memory device startup information reconstruction method - Google Patents

Power-on startup information reconstruction system and memory device startup information reconstruction method Download PDF

Info

Publication number
TWI774214B
TWI774214B TW110102921A TW110102921A TWI774214B TW I774214 B TWI774214 B TW I774214B TW 110102921 A TW110102921 A TW 110102921A TW 110102921 A TW110102921 A TW 110102921A TW I774214 B TWI774214 B TW I774214B
Authority
TW
Taiwan
Prior art keywords
data
volatile memory
electronic device
memory
damaged
Prior art date
Application number
TW110102921A
Other languages
Chinese (zh)
Other versions
TW202230344A (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 TW110102921A priority Critical patent/TWI774214B/en
Priority to CN202110226136.4A priority patent/CN114816827A/en
Publication of TW202230344A publication Critical patent/TW202230344A/en
Application granted granted Critical
Publication of TWI774214B publication Critical patent/TWI774214B/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1068Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices in sector programmable memories, e.g. flash disk
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Quality & Reliability (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Stored Programmes (AREA)
  • For Increasing The Reliability Of Semiconductor Memories (AREA)

Abstract

A power-on startup information reconstruction system and a memory device startup information reconstruction method are provided. The power-on startup information reconstruction system includes a memory device and an electronic device, wherein the electronic device includes initialization software to execute the memory device startup information reconstruction method. The memory device startup information reconstruction method comprises the following steps: the initialization software encodes the non-volatile memory bad block address data to generate electronic device coded data of bad block address; the initialization software writes a plurality of the electronic device coded data of the bad block address to non-volatile memory; the initialization software reads at least one data from the electronic device coded data of the bad block address from the non-volatile memory; the initialization software decodes the electronic device coded data of the bad block address being read, thereby restores the non-volatile memory bad block address data.

Description

開機啟動資訊重建系統及記憶體裝置啟動資訊重建方法Boot information reconstruction system and memory device boot information reconstruction method

本發明是有關於一種開機啟動資訊重建系統及記憶體裝置啟動資訊重建方法,且特別是有關於一種使用具有極佳錯誤更正能力的錯誤更正碼來保護開機啟動資訊,並藉由收集這些受損的開機啟動資訊中可更正的部分,來組合成一個完整的開機啟動資訊的開機啟動資訊重建系統及記憶體裝置啟動資訊重建方法。The present invention relates to a boot information reconstruction system and a memory device boot information reconstruction method, and more particularly, to a method for protecting boot information using an error correction code with excellent error correction capability, and by collecting the damaged boot information The correctable part of the boot information can be combined into a complete boot information reconstruction system and memory device boot information reconstruction method.

一般來說,儲存裝置(例如固態硬碟)包含控制器及非揮發性記憶體(例如快閃記憶體),其中非揮發性記憶體是用來儲存資料。記憶體製造商在製造非揮發性記憶體時,難免會有一些非揮發性記憶體未達到原廠的規格,而被列為降級品(downgrade)。因此,這些降級品在組裝為產品前,需要先進行開卡(初始化)的步驟,以取得非揮發性記憶體中所有損壞區塊(bad block)的位址,並將其記錄至開機啟動資訊中。開機啟動資訊通常是儲存於非揮發性記憶體中的資訊區塊(information block)。然而,這些降級品在SMT(Surface Mount Technology)生產作業時,因回焊爐(reflow oven)的高溫環境,而導致開機啟動資訊遭到損毀或遺失,進而被列為不良品,從而影響企業的營收獲利。Generally, a storage device (eg, a solid state drive) includes a controller and a non-volatile memory (eg, flash memory), where the non-volatile memory is used to store data. When memory manufacturers manufacture non-volatile memories, it is inevitable that some non-volatile memories do not meet the original specifications and are listed as downgrades. Therefore, before these degraded products are assembled into products, the card opening (initialization) step is required to obtain the addresses of all bad blocks in the non-volatile memory and record them in the boot information. middle. Boot-up information is usually an information block stored in non-volatile memory. However, during the SMT (Surface Mount Technology) production operation, the boot information is damaged or lost due to the high temperature environment of the reflow oven, and these degraded products are classified as defective products, thus affecting the company's performance. Profitable revenue.

因此,為了解決非揮發性記憶體的降級品在通過回焊爐時,因為高溫的環境,而導致非揮發性記憶體中的開機啟動資訊遭到損毀的問題,本發明實施例提供一種記憶體裝置啟動資訊重建方法,適用於記憶體裝置及開卡軟體,其中記憶體裝置包括非揮發性記憶體,非揮發性記憶體包括多個損壞區塊,記憶體裝置啟動資訊重建方法,包括:(a)開卡軟體接收非揮發性記憶體損壞區塊位址資料,並以電子裝置錯誤更正單元對非揮發性記憶體損壞區塊位址資料進行編碼,而產生損壞區塊位址的電子裝置編碼資料;(b)開卡軟體使記憶體裝置寫入多筆損壞區塊位址的電子裝置編碼資料至非揮發性記憶體中;以及(c)開卡軟體藉由記憶體裝置,從非揮發性記憶體中讀取這些損壞區塊位址的電子裝置編碼資料的至少一筆資料,並以電子裝置錯誤更正單元對被讀取的損壞區塊位址的電子裝置編碼資料進行解碼,進而回復非揮發性記憶體損壞區塊位址資料。Therefore, in order to solve the problem that the boot information in the non-volatile memory is damaged due to the high temperature environment when the degraded product of the non-volatile memory passes through the reflow oven, an embodiment of the present invention provides a memory A device boot information reconstruction method, suitable for a memory device and a card opening software, wherein the memory device includes a non-volatile memory, the non-volatile memory includes a plurality of damaged blocks, and the memory device boot information reconstruction method, including: ( a) The card opening software receives the data of the damaged block of the non-volatile memory, and encodes the data of the damaged block of the non-volatile memory with the electronic device error correction unit, so as to generate the electronic device of the damaged block address Encoded data; (b) the card opening software enables the memory device to write the electronic device encoded data of multiple damaged block addresses into the non-volatile memory; and (c) the card opening software uses the memory device to transfer from At least one piece of data of the electronic device encoding data of the damaged block addresses is read from the volatile memory, and the electronic device encoding data of the read damaged block addresses is decoded by the electronic device error correction unit, and then restored Non-volatile memory corrupts block address data.

在本發明的一實施例中,其中非揮發性記憶體更包括多個良好區塊,記憶體裝置啟動資訊重建方法,更包括:(d)判斷非揮發性記憶體損壞區塊位址資料是否回復成功,若判斷為是,以回復的非揮發性記憶體損壞區塊位址資料產生使用者系統資料,並使記憶體裝置抹除非揮發性記憶體的這些良好區塊;以及(e)將使用者系統資料寫入至記憶體裝置的系統區塊中,其中系統區塊為這些良好區塊的至少一個所組成。In an embodiment of the present invention, wherein the non-volatile memory further includes a plurality of good blocks, the memory device activates the information reconstruction method, further comprising: (d) judging whether the non-volatile memory damaged block address data If the recovery is successful, if it is determined to be yes, generate user system data with the recovered non-volatile memory bad block address data, and cause the memory device to erase these good blocks of non-volatile memory; and (e) will The user system data is written into the system block of the memory device, wherein the system block is composed of at least one of the good blocks.

在本發明的一實施例中,其中記憶體裝置更包括耦接於非揮發性記憶體的記憶體控制器,其中在步驟(a)的步驟中,更包括:(a1)開卡軟體接收來自記憶體控制器的非揮發性記憶體損壞區塊位址資料,並以電子裝置錯誤更正單元使用高階錯誤更正碼,對非揮發性記憶體損壞區塊位址資料進行編碼,以產生損壞區塊位址的電子裝置編碼資料。In an embodiment of the present invention, the memory device further includes a memory controller coupled to the non-volatile memory, wherein in the step (a), the step further includes: (a1) The card opening software receives the The non-volatile memory damaged block address data of the memory controller, and the electronic device error correction unit uses the high-level error correction code to encode the non-volatile memory damaged block address data to generate the damaged block Electronic device encoding data for the address.

在本發明的一實施例中,其中在步驟(d)的步驟中,更包括:(d1)若判斷為否,判斷這些損壞區塊位址的電子裝置編碼資料是否均被讀取完畢,若判斷為否,重複步驟(c)至步驟(d),直到這些損壞區塊位址的電子裝置編碼資料均被讀取完畢為止。In an embodiment of the present invention, in the step (d), the step further includes: (d1) if the judgment is no, judging whether the encoded data of the electronic device of the damaged block addresses have all been read, if If it is determined to be no, the steps (c) to (d) are repeated until all the encoded data of the electronic device of the damaged block addresses have been read.

在本發明的一實施例中,其中在步驟(d)的步驟中,更包括:(d2)開卡軟體以電子裝置錯誤更正單元使用低階錯誤更正碼,對回復的非揮發性記憶體損壞區塊位址資料進行編碼,以產生使用者系統資料。In an embodiment of the present invention, in the step (d), the step further includes: (d2) the card opening software uses the electronic device error correction unit to use the low-level error correction code to damage the recovered non-volatile memory The block address data is encoded to generate user system data.

本發明實施例另提供一種開機啟動資訊重建系統,包括:記憶體裝置,包含非揮發性記憶體,非揮發性記憶體包括多個損壞區塊;以及電子裝置,耦接於記憶體裝置,電子裝置包含開卡軟體以執行記憶體裝置啟動資訊重建方法,記憶體裝置啟動資訊重建方法,包括:(a)開卡軟體接收非揮發性記憶體損壞區塊位址資料,並以電子裝置錯誤更正單元對非揮發性記憶體損壞區塊位址資料進行編碼,而產生損壞區塊位址的電子裝置編碼資料;(b)開卡軟體使記憶體裝置寫入多筆損壞區塊位址的電子裝置編碼資料至非揮發性記憶體中;以及(c)開卡軟體藉由記憶體裝置,從非揮發性記憶體中讀取這些損壞區塊位址的電子裝置編碼資料的至少一筆資料,並以電子裝置錯誤更正單元對被讀取的損壞區塊位址的電子裝置編碼資料進行解碼,進而回復非揮發性記憶體損壞區塊位址資料。An embodiment of the present invention further provides a boot-up information reconstruction system, including: a memory device including a non-volatile memory, the non-volatile memory including a plurality of damaged blocks; and an electronic device coupled to the memory device, an electronic device The device includes a card-opening software to execute a memory device activation information reconstruction method, and the memory device activation information reconstruction method includes: (a) the card-opening software receives the data of the damaged block address of the non-volatile memory, and corrects the error by the electronic device The unit encodes the non-volatile memory damaged block address data, and generates the electronic device encoding data of the damaged block address; (b) the card opening software enables the memory device to write multiple electronic devices of the damaged block address The device encodes data into the non-volatile memory; and (c) the card opening software reads at least one piece of the electronic device encoded data of the damaged block address from the non-volatile memory by means of the memory device, and The electronic device code data of the read damaged block address is decoded by the electronic device error correction unit, so as to restore the damaged block address data of the non-volatile memory.

本發明實施例所提供的開機啟動資訊重建系統及記憶體裝置啟動資訊重建方法,在記憶體裝置通過回焊爐之前,藉由開卡軟體使電子裝置錯誤更正單元以高階錯誤更正碼,對非揮發性記憶體損壞區塊位址資料進行編碼,以產生損壞區塊位址的電子裝置編碼資料,並寫入多筆損壞區塊位址的電子裝置編碼資料至非揮發性記憶體中。在記憶體裝置通過回焊爐之後,藉由收集這些受損的損壞區塊位址的電子裝置編碼資料,以其可更正的部分來組合或合併成一個完整的損壞區塊位址的電子裝置編碼資料,並以電子裝置錯誤更正單元對其進行解碼,進而成功回復非揮發性記憶體損壞區塊位址資料。藉此,避免記憶體裝置在通過回焊爐時,因為高溫的環境,而導致非揮發性記憶體中的損壞區塊位址的電子裝置編碼資料遭到損毀,而無法對其進行回復或重建的問題。In the boot information reconstruction system and the memory device boot information reconstruction method provided by the embodiments of the present invention, before the memory device passes through the reflow oven, the electronic device error correction unit uses the high-level error correction code by the card opening software to correct the non- The damaged block address data of the volatile memory is encoded to generate the electronic device code data of the damaged block address, and a plurality of electronic device code data of the damaged block address are written into the non-volatile memory. After the memory device passes through the reflow oven, by collecting the electronic device code data of these damaged damaged block addresses, its correctable parts are combined or merged into a complete electronic device with damaged block addresses The encoded data is decoded by the error correction unit of the electronic device, and then the non-volatile memory damaged block address data is successfully recovered. In this way, when the memory device passes through the reflow oven, due to the high temperature environment, the encoded data of the electronic device of the damaged block address in the non-volatile memory will be damaged, and it cannot be recovered or reconstructed. The problem.

上述說明僅是本發明技術方案的概述,為了能夠更清楚瞭解本發明的技術手段,而可依照說明書的內容予以實施,並且為了讓本發明的上述和其他目的、特徵和優點能夠更明顯易懂,以下特舉較佳實施例,並配合附圖,詳細說明如下。為讓本發明之上述和其他目的、特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式,作詳細說明如下。The above description is only an overview of the technical solutions of the present invention, in order to be able to understand the technical means of the present invention more clearly, it can be implemented according to the content of the description, and in order to make the above and other purposes, features and advantages of the present invention more obvious and easy to understand , the following specific preferred embodiments, and in conjunction with the accompanying drawings, are described in detail as follows. In order to make the above-mentioned and other objects, features and advantages of the present invention more obvious and easy to understand, the following specific embodiments are given and described in detail in conjunction with the accompanying drawings.

圖1是依照本發明實施例所繪示之開機啟動資訊重建系統的系統架構示意圖。如圖1所示,開機啟動資訊重建系統1包括記憶體裝置10及耦接於記憶體裝置10的電子裝置20。記憶體裝置10包含非揮發性記憶體110及耦接於非揮發性記憶體110的記憶體控制器120,其中非揮發性記憶體110包括多個損壞區塊、多個良好區塊(good block),其中良好區塊較佳是用以儲存資料的資料區塊,且每一個資料區塊包括多個資料頁。記憶體裝置10較佳是儲存資料的裝置,例如是固態硬碟(solid-state drive)或SD(secure digital)記憶卡。非揮發性記憶體110可以是具有長時間資料保存之資料儲存媒體,例如是快閃記憶體(Flash Memory)。電子裝置20包含開卡軟體210、電子裝置錯誤更正單元220及處理器230。處理器230主要是用以依據開卡軟體210的指令或步驟,以控制電子裝置錯誤更正單元220或記憶體裝置10或者是與記憶體裝置10進行通訊,以傳送或接收指令/資料,其中處理器230耦接於開卡軟體210及電子裝置錯誤更正單元220,電子裝置20較佳為電腦或隨身碟。FIG. 1 is a schematic diagram of a system structure of a boot-up information reconstruction system according to an embodiment of the present invention. As shown in FIG. 1 , the boot-up information reconstruction system 1 includes a memory device 10 and an electronic device 20 coupled to the memory device 10 . The memory device 10 includes a non-volatile memory 110 and a memory controller 120 coupled to the non-volatile memory 110, wherein the non-volatile memory 110 includes a plurality of damaged blocks and a plurality of good blocks ), wherein the good block is preferably a data block for storing data, and each data block includes a plurality of data pages. The memory device 10 is preferably a device for storing data, such as a solid-state drive or an SD (secure digital) memory card. The non-volatile memory 110 may be a data storage medium with long-term data storage, such as a flash memory (Flash Memory). The electronic device 20 includes a card opening software 210 , an electronic device error correction unit 220 and a processor 230 . The processor 230 is mainly used to control the electronic device error correction unit 220 or the memory device 10 or communicate with the memory device 10 according to the instructions or steps of the card opening software 210 to transmit or receive instructions/data, wherein processing The device 230 is coupled to the card opening software 210 and the error correction unit 220 of the electronic device. The electronic device 20 is preferably a computer or a flash drive.

記憶體裝置10在製造階段時,記憶體製造商藉由電子裝置20對記憶體裝置10進行開卡(初始化)。更進一步來說,記憶體製造商藉由載入並執行開卡軟體210,以對記憶體裝置10進行開卡。開卡主要包括低階初始化及高階初始化。低階初始化主要是使用具有極佳錯誤更正能力的錯誤更正碼來保護開機啟動資訊(包含損壞區塊記錄表),並將這筆開機啟動資訊複製為多筆並將其寫入至非揮發性記憶體110中。在記憶體裝置10通過回焊爐之後,這些開機啟動資訊可能遭到損毀,而成為受損的開機啟動資訊。高階初始化主要是藉由收集這些受損的開機啟動資訊中可更正的部分,並以其可更正的部分來組合或合併,以重建一個完整的開機啟動資訊,然後再使用具有一般錯誤更正能力的錯誤更正碼來保護此回復(restore)的開機啟動資訊,並將其寫入至非揮發性記憶體110中。When the memory device 10 is in the manufacturing stage, the memory manufacturer uses the electronic device 20 to open (initialize) the memory device 10 . Furthermore, the memory manufacturer loads and executes the card-opening software 210 to open the memory device 10 . Card opening mainly includes low-level initialization and high-level initialization. Low-level initialization mainly uses error-correction codes with excellent error-correction capabilities to protect boot-up information (including corrupt block record table), and copies this boot-up information into multiple entries and writes them to non-volatile in memory 110. After the memory device 10 passes through the reflow oven, the boot information may be damaged and become damaged boot information. High-level initialization mainly collects the correctable parts of these damaged boot information, and combines or merges the correctable parts to reconstruct a complete boot information, and then uses the general error correction ability. The error correction code is used to protect the restored boot information and write it to the non-volatile memory 110 .

請同時參閱圖1及圖2,圖2是依照本發明實施例所繪示之記憶體裝置啟動資訊重建方法的流程示意圖。電子裝置20藉由開卡軟體210以執行記憶體裝置啟動資訊重建方法。記憶體裝置啟動資訊重建方法包括以下步驟:首先,在通過回焊爐之前,如步驟S100所示,開卡軟體210使記憶體控制器120對非揮發性記憶體110進行掃描或偵測,以檢查非揮發性記憶體110中的每一個區塊是否存在損壞區塊。一旦記憶體控制器120發現損壞區塊,就會將此損壞區塊的資訊(例如損壞區塊的位址)標註或記錄於非揮發性記憶體損壞區塊位址資料(即損壞區塊記錄表),並將非揮發性記憶體損壞區塊位址資料傳送給電子裝置20或開卡軟體210,且非揮發性記憶體損壞區塊位址資料例如儲存非揮發性記憶體110中所有損壞區塊的位址。Please refer to FIG. 1 and FIG. 2 at the same time. FIG. 2 is a schematic flowchart of a method for reconstructing boot information of a memory device according to an embodiment of the present invention. The electronic device 20 uses the card opening software 210 to execute the memory device activation information reconstruction method. The method for reconstructing boot information of a memory device includes the following steps: first, before passing through the reflow oven, as shown in step S100 , the card opening software 210 enables the memory controller 120 to scan or detect the non-volatile memory 110 to Each block in the non-volatile memory 110 is checked for damaged blocks. Once the memory controller 120 finds a damaged block, it will mark or record the information of the damaged block (eg, the address of the damaged block) in the non-volatile memory damaged block address data (ie, the damaged block record). Table), and transmits the non-volatile memory damaged block address data to the electronic device 20 or the card opening software 210, and the non-volatile memory damaged block address data, for example, stores all damaged non-volatile memory 110. The address of the block.

接著,如步驟S110所示,電子裝置20或開卡軟體210接收非揮發性記憶體損壞區塊位址資料後,處理器230藉由電子裝置錯誤更正單元220(例如是錯誤更正編解碼器)使用高階錯誤更正碼(即具有極佳錯誤更正/糾錯能力的錯誤更正碼,例如LDPC碼(低密度奇偶校驗碼)),以對非揮發性記憶體損壞區塊位址資料進行編碼,以產生第一筆損壞區塊位址的電子裝置編碼資料(即開機啟動資訊)。由於高階錯誤更正碼比低階錯誤更正碼(例如是具有一般錯誤更正/糾錯能力的BCH碼),具有更強健的錯誤更正能力,所以可更正的錯誤位元(bit)數量會更多,例如1KB(千位元組)的資料可以更正位元有240個。因此,損壞區塊位址的電子裝置編碼資料通過回焊爐後,若損毀位元的數量並未超過高階錯誤更正碼可以更正的能力,因此藉由電子裝置錯誤更正單元220使用高階錯誤更正碼,對損毀/錯誤的位元進行更正而能更正成功。舉例來說,若損壞區塊位址的電子裝置編碼資料中有240個位元受到損毀,由於損毀位元的數量並未超過高階錯誤更正碼可以更正的能力,所以可以更正成功。反之,若藉由低階錯誤更正碼(例如1KB的資料可以更正位元只有72個)進行更正,由於損毀位元的數量已超過了低階錯誤更正碼可以更正的能力,所以無法更正成功。藉此,避免因為損毀位元的數量過高,而超過錯誤更正碼可以更正的能力。Next, as shown in step S110 , after the electronic device 20 or the card-opening software 210 receives the non-volatile memory damaged block address data, the processor 230 uses the electronic device error correction unit 220 (eg, an error correction codec) Use higher order error correction codes (ie, error correction codes with excellent error correction/error correction capabilities, such as LDPC codes (low density parity check codes)) to encode non-volatile memory corrupt block address data, To generate the encoded data of the electronic device (ie, the boot-up information) of the address of the first damaged block. Since higher-order error-correcting codes have more robust error-correcting capabilities than lower-order error-correcting codes (such as BCH codes with general error correction/error correction capabilities), the number of correctable error bits (bits) will be larger, For example, 1KB (kilobyte) of data can have 240 correction bits. Therefore, after the electronic device coding data of the damaged block address passes through the reflow oven, if the number of damaged bits does not exceed the correction capability of the high-level error correction code, the electronic device error correction unit 220 uses the high-level error correction code , the corrupted/wrong bits are corrected and the correction is successful. For example, if 240 bits of the encoded data of the electronic device of the damaged block address are damaged, since the number of damaged bits does not exceed the correction capability of the higher order error correction code, the correction can be successful. On the other hand, if the correction is performed by the low-level error correction code (for example, 1KB of data can correct only 72 bits), since the number of damaged bits has exceeded the ability of the low-level error correction code to correct, the correction cannot be successful. In this way, it is avoided that the number of damaged bits exceeds the correction capability of the error correction code.

然後,如步驟S120所示,開卡軟體210使記憶體控制器120,寫入多筆損壞區塊位址的電子裝置編碼資料至非揮發性記憶體110中。舉例來說,記憶體控制器120可藉由複製多筆(例如100筆)第一筆損壞區塊位址的電子裝置編碼資料,並將這些損壞區塊位址的電子裝置編碼資料寫入至非揮發性記憶體110中一個或多個資料區塊的一個或多個資料頁。較佳是寫滿非揮發性記憶體110中所有可用的資料區塊/資料頁。至於寫入損壞區塊位址的電子裝置編碼資料的方式並不限制,可以是連續寫入、非連續寫入或隨機寫入,但由於這些寫入的方式屬習知技術的範疇,在此不再贅述。Then, as shown in step S120 , the card opening software 210 enables the memory controller 120 to write the encoded data of the electronic device with the addresses of the damaged blocks into the non-volatile memory 110 . For example, the memory controller 120 can copy the electronic device encoded data of the first damaged block address in multiple (for example, 100) strokes, and write the electronic device encoded data of the damaged block address into One or more data pages of one or more data blocks in non-volatile memory 110 . Preferably, all available data blocks/data pages in the non-volatile memory 110 are filled. There is no limitation on the method of writing the data encoded by the electronic device to the address of the damaged block, and it can be continuous writing, non-sequential writing or random writing. However, since these writing methods belong to the scope of the prior art, here No longer.

之後,如步驟S130所示,在通過回焊爐之後,開卡軟體210使記憶體控制器120,從非揮發性記憶體110中讀取這些損壞區塊位址的電子裝置編碼資料的至少一筆,並使處理器230藉由電子裝置錯誤更正單元220對被讀取的損壞區塊位址的電子裝置編碼資料進行解碼,進而回復或還原非揮發性記憶體損壞區塊位址資料。Then, as shown in step S130 , after passing through the reflow oven, the card opening software 210 enables the memory controller 120 to read at least one piece of the electronic device encoding data of the damaged block addresses from the non-volatile memory 110 and make the processor 230 decode the read electronic device code data of the damaged block address through the electronic device error correction unit 220, and then restore or restore the non-volatile memory damaged block address data.

接著,如步驟S140所示,電子裝置20或開卡軟體210判斷非揮發性記憶體損壞區塊位址資料是否回復成功。若判斷為是,開卡軟體210藉由電子裝置錯誤更正單元220,使用低階錯誤更正碼(即一般錯誤更正/糾錯能力的錯誤更正碼,例如BCH碼)以對回復的非揮發性記憶體損壞區塊位址資料進行編碼,以產生使用者系統資料(即回復的開機啟動資訊),並使記憶體控制器120依據回復的非揮發性記憶體損壞區塊位址資料,以抹除非揮發性記憶體110中的所有良好區塊(如步驟S150所示)。舉例來說,若被讀取的這筆損壞區塊位址的電子裝置編碼資料中損毀位元的數量,並未超過高階錯誤更正碼可以更正的能力,所以藉由電子裝置錯誤更正單元220對其進行解碼後,可成功取得回復的非揮發性記憶體損壞區塊位址資料,然後再對此回復的非揮發性記憶體損壞區塊位址資料使用低階錯誤更正碼進行編碼,以產生使用者系統資料。Next, as shown in step S140, the electronic device 20 or the card opening software 210 determines whether the recovery of the address data of the damaged block of the non-volatile memory is successful. If it is determined to be yes, the card opening software 210 uses the error correction unit 220 of the electronic device to use a low-level error correction code (ie, an error correction code with a general error correction/error correction capability, such as BCH code) for non-volatile memory of the reply The memory corrupted block address data is encoded to generate user system data (ie, the recovered boot-up information), and the memory controller 120 can erase the non-volatile memory corrupted block address data according to the recovered non-volatile memory corrupted block address data. All good blocks in the volatile memory 110 (as shown in step S150). For example, if the number of damaged bits in the encoded data of the electronic device of the read damaged block address does not exceed the correction capability of the high-level error correction code, the error correction unit 220 of the electronic device After decoding, the recovered non-volatile memory corrupted block address data can be successfully obtained, and then the recovered non-volatile memory corrupted block address data is encoded using a low-level error correction code to generate User system data.

若判斷為否,電子裝置20或開卡軟體210判斷這些損壞區塊位址的電子裝置編碼資料是否均被讀取完畢,若判斷為否,重複步驟S130至步驟S140,直到所有損壞區塊位址的電子裝置編碼資料均被讀取完畢為止(如步驟S160所示)。舉例來說,若一個完整的損壞區塊位址的電子裝置編碼資料可拆成例如10個部分,其分別存在10個不同的資料頁中。則只要對這些被讀取的損壞區塊位址的電子裝置編碼資料中可更正的部分(即可成功更正的資料頁)進行收集並累加儲存,直到能收集到這10個部分為止,便可將收集到的10個部分(即對應的10個可成功更正的資料頁)組合或合併成一個完整的損壞區塊位址的電子裝置編碼資料。之後便可藉由電子裝置錯誤更正單元220對其進行解碼後,而成功取得回復的非揮發性記憶體損壞區塊位址資料。If the judgment is no, the electronic device 20 or the card opening software 210 judges whether the electronic device code data of the damaged block addresses have been read. If the judgment is no, repeat steps S130 to S140 until all damaged block addresses until all the encoded data of the electronic device of the address have been read (as shown in step S160 ). For example, if a complete electronic device coding data of a damaged block address can be split into, for example, 10 parts, which are respectively stored in 10 different data pages. As long as the correctable parts (data pages that can be successfully corrected) of the electronic device coding data of the read damaged block addresses are collected and accumulated and stored until these 10 parts can be collected, The collected 10 parts (that is, the corresponding 10 data pages that can be successfully corrected) are combined or merged into a complete electronic device encoding data of the damaged block address. After that, the error correction unit 220 of the electronic device can decode it, and successfully obtain the recovered non-volatile memory damaged block address data.

此外,在步驟S150之後,還包括開卡軟體210使記憶體裝置10將非揮發性記憶體110劃分為系統區塊及用戶資料區塊。系統區塊較佳是由這些良好區塊中的一些區塊所組成,例如是第1個資料區塊至第N個資料區塊,而用戶資料區塊較佳是由這些良好區塊中的另一些區塊所組成,例如是第N+1個資料區塊至第M個資料區塊,其中N及M為正整數。In addition, after step S150, the card opening software 210 further includes enabling the memory device 10 to divide the non-volatile memory 110 into a system block and a user data block. The system block is preferably composed of some of these good blocks, such as the 1st data block to the Nth data block, and the user data block is preferably composed of some of these good blocks Other blocks are composed of, for example, the N+1th data block to the Mth data block, wherein N and M are positive integers.

然後,如步驟S170所示,將使用者系統資料寫入至非揮發性記憶體110的系統區塊中。藉此,避免記憶體裝置10在通過回焊爐時,因其高溫的環境,而導致非揮發性記憶體110中損壞區塊位址的電子裝置編碼資料遭到損毀,而無法對其進行回復或重建的問題。Then, as shown in step S170 , the user system data is written into the system block of the non-volatile memory 110 . In this way, when the memory device 10 passes through the reflow oven, due to the high temperature environment, the encoded data of the electronic device with the damaged block address in the non-volatile memory 110 is prevented from being damaged and cannot be recovered. or rebuild problems.

綜上所述,本發明實施例所提供的開機啟動資訊重建系統及記憶體裝置啟動資訊重建方法,在記憶體裝置通過回焊爐之前,藉由開卡軟體使電子裝置錯誤更正單元以高階錯誤更正碼,對非揮發性記憶體損壞區塊位址資料進行編碼,以產生損壞區塊位址的電子裝置編碼資料,並寫入多筆損壞區塊位址的電子裝置編碼資料至非揮發性記憶體中。在記憶體裝置通過回焊爐之後,藉由收集這些受損的損壞區塊位址的電子裝置編碼資料,以其可更正的部分來組合或合併成一個完整的損壞區塊位址的電子裝置編碼資料,並以電子裝置錯誤更正單元對其進行解碼,進而成功回復非揮發性記憶體損壞區塊位址資料。藉此,避免記憶體裝置在通過回焊爐時,因為高溫的環境,而導致非揮發性記憶體中的損壞區塊位址的電子裝置編碼資料遭到損毀,而無法對其進行回復或重建的問題。To sum up, in the boot information reconstruction system and the memory device boot information reconstruction method provided by the embodiments of the present invention, before the memory device passes through the reflow oven, the error correction unit of the electronic device is made to detect high-level errors by the card opening software before the memory device passes through the reflow oven. The correction code encodes the damaged block address data of the non-volatile memory to generate the electronic device code data of the damaged block address, and writes multiple electronic device code data of the damaged block address to the non-volatile memory in memory. After the memory device passes through the reflow oven, by collecting the electronic device code data of these damaged damaged block addresses, its correctable parts are combined or merged into a complete electronic device with damaged block addresses The encoded data is decoded by the error correction unit of the electronic device, and then the non-volatile memory damaged block address data is successfully recovered. In this way, when the memory device passes through the reflow oven, due to the high temperature environment, the encoded data of the electronic device of the damaged block address in the non-volatile memory will be damaged, and it cannot be recovered or reconstructed. The problem.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,本發明所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,因此本發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed as above with examples, it is not intended to limit the present invention. Those with ordinary knowledge in the technical field to which the present invention pertains can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention should be determined by the scope of the appended patent application.

1:開機啟動資訊重建系統 10:記憶體裝置 110:非揮發性記憶體 120:記憶體控制器 20:電子裝置 210:開卡軟體 220:電子裝置錯誤更正單元 230:處理器 S100~S170:步驟 1: Boot up the information and rebuild the system 10: Memory device 110: Non-volatile memory 120: Memory Controller 20: Electronics 210: Card opening software 220: Electronic device error correction unit 230: Processor S100~S170: Steps

圖1是依照本發明實施例所繪示之開機啟動資訊重建系統的系統架構示意圖。 圖2是依照本發明實施例所繪示之記憶體裝置啟動資訊重建方法的流程示意圖。 FIG. 1 is a schematic diagram of a system structure of a boot-up information reconstruction system according to an embodiment of the present invention. FIG. 2 is a schematic flowchart of a method for reconstructing boot information of a memory device according to an embodiment of the present invention.

S100~S170:步驟S100~S170: Steps

Claims (10)

一種記憶體裝置啟動資訊重建方法,適用於一記憶體裝置及其開卡軟體,其中該記憶體裝置包括一非揮發性記憶體以及一記憶體控制器,該非揮發性記憶體包括多個損壞區塊,該記憶體裝置啟動資訊重建方法,包括:(a)該開卡軟體使該記憶體控制器掃描或偵測該非揮發性記憶體,以檢查該非揮發性記憶體中的每一個區塊是否存在損壞區塊,並接收一非揮發性記憶體損壞區塊位址資料,再以一電子裝置錯誤更正單元對該非揮發性記憶體損壞區塊位址資料以高階錯誤碼或低階錯誤碼進行編碼,而產生一損壞區塊位址的電子裝置編碼資料;(b)該開卡軟體使該記憶體裝置寫入多筆損壞區塊位址的電子裝置編碼資料至該非揮發性記憶體中一個或多個資料區塊的一個或多個資料頁;以及(c)該開卡軟體藉由該記憶體裝置,從該非揮發性記憶體中讀取該些筆損壞區塊位址的電子裝置編碼資料的至少一筆資料,並以該電子裝置錯誤更正單元對被讀取的損壞區塊位址的電子裝置編碼資料進行解碼,進而回復該非揮發性記憶體損壞區塊位址資料。 A method for reconstructing boot information of a memory device, suitable for a memory device and card opening software thereof, wherein the memory device includes a non-volatile memory and a memory controller, the non-volatile memory includes a plurality of damaged areas block, the memory device starts the information reconstruction method, including: (a) the card opening software causes the memory controller to scan or detect the non-volatile memory to check whether each block in the non-volatile memory is There is a damaged block, and a non-volatile memory damaged block address data is received, and an electronic device error correction unit is used to perform a high-level error code or a low-level error code on the non-volatile memory damaged block address data. encoding to generate an electronic device code data of a damaged block address; (b) the card opening software enables the memory device to write multiple electronic device code data of the damaged block address to one of the non-volatile memory one or more data pages of one or more data blocks; and (c) the card opening software reads the electronic device code of the addresses of the pen damaged blocks from the non-volatile memory through the memory device at least one piece of data, and the electronic device coded data of the read damaged block address is decoded by the electronic device error correction unit, so as to restore the non-volatile memory damaged block address data. 如請求項1所述之記憶體裝置啟動資訊重建方法,其中該非揮發性記憶體更包括多個良好區塊,該記憶體裝置啟動資訊重建方法,更包括:(d)判斷該非揮發性記憶體損壞區塊位址資料是否回復成功,若判斷為是,以該回復的該非揮發性記憶體損壞區塊位址資料產生一使用者系統資料,並使該記憶體裝置抹除該非揮發性記憶體的該些良好區塊;以及 (e)將該使用者系統資料寫入至該記憶體裝置的一系統區塊中,其中該系統區塊為該些良好區塊的至少一個所組成。 The memory device activation information reconstruction method as claimed in claim 1, wherein the non-volatile memory further comprises a plurality of good blocks, the memory device activation information reconstruction method further comprises: (d) determining the non-volatile memory Whether the damaged block address data is restored successfully, if it is determined to be yes, generate a user system data with the restored non-volatile memory damaged block address data, and make the memory device erase the non-volatile memory those good blocks; and (e) writing the user system data into a system block of the memory device, wherein the system block is composed of at least one of the good blocks. 如請求項1所述之記憶體裝置啟動資訊重建方法,其中該記憶體裝置更包括一耦接於該非揮發性記憶體的記憶體控制器,其中在步驟(a)的步驟中,更包括:(a1)該開卡軟體接收來自該記憶體控制器的該非揮發性記憶體損壞區塊位址資料,並以該電子裝置錯誤更正單元使用一高階錯誤更正碼,對該非揮發性記憶體損壞區塊位址資料進行編碼,以產生該損壞區塊位址的電子裝置編碼資料。 The memory device activation information reconstruction method as claimed in claim 1, wherein the memory device further comprises a memory controller coupled to the non-volatile memory, wherein in the step (a), further comprising: (a1) The card opening software receives the address data of the non-volatile memory damaged block from the memory controller, and uses the electronic device error correction unit to use a high-level error correction code to update the non-volatile memory damaged block The block address data is encoded to generate the electronic device encoded data of the damaged block address. 如請求項2所述之記憶體裝置啟動資訊重建方法,其中在步驟(d)的步驟中,更包括:(d1)若判斷為否,判斷該些筆損壞區塊位址的電子裝置編碼資料是否均被讀取完畢,若判斷為否,重複步驟(c)至步驟(d),直到該些筆損壞區塊位址的電子裝置編碼資料均被讀取完畢為止。 The memory device activation information reconstruction method according to claim 2, wherein in the step (d), further comprising: (d1) if the judgment is no, judging the electronic device code data of the damaged block addresses Whether the reading has been completed, if it is determined to be no, repeat steps (c) to (d) until all the encoded data of the electronic device of the damaged block addresses have been read. 如請求項4所述之記憶體裝置啟動資訊重建方法,其中在步驟(d)的步驟中,更包括:(d2)該開卡軟體以該電子裝置錯誤更正單元使用一低階錯誤更正碼,對該回復的該非揮發性記憶體損壞區塊位址資料進行編碼,以產生該使用者系統資料。 The memory device activation information reconstruction method according to claim 4, wherein in the step (d), further comprising: (d2) the card opening software uses a low-level error correction code with the electronic device error correction unit, The recovered non-volatile memory damaged block address data is encoded to generate the user system data. 一種開機啟動資訊重建系統,包括:一記憶體裝置,包含一非揮發性記憶體以及一記憶體控制器,該非揮發性記憶體包括多個損壞區塊;以及 一電子裝置,耦接於該記憶體裝置,該電子裝置包含一開卡軟體以執行一記憶體裝置啟動資訊重建方法,該記憶體裝置啟動資訊重建方法,包括:(a)該開卡軟體使該記憶體控制器掃描或偵測該非揮發性記憶體,以檢查該非揮發性記憶體中的每一個區塊是否存在損壞區塊,接收一非揮發性記憶體損壞區塊位址資料,再以一電子裝置錯誤更正單元對該非揮發性記憶體損壞區塊位址資料以高階錯誤碼或低階錯誤碼進行編碼,而產生一損壞區塊位址的電子裝置編碼資料;(b)該開卡軟體使該記憶體裝置寫入多筆損壞區塊位址的電子裝置編碼資料至該非揮發性記憶體中一個或多個資料區塊的一個或多個資料頁;以及(c)該開卡軟體藉由該記憶體裝置,從該非揮發性記憶體中讀取該些筆損壞區塊位址的電子裝置編碼資料的至少一筆資料,並以該電子裝置錯誤更正單元對被讀取的損壞區塊位址的電子裝置編碼資料進行解碼,進而回復該非揮發性記憶體損壞區塊位址資料。 A boot-up information reconstruction system, comprising: a memory device including a non-volatile memory and a memory controller, the non-volatile memory including a plurality of damaged blocks; and An electronic device coupled to the memory device, the electronic device comprising a card opening software for executing a memory device activation information reconstruction method, the memory device activation information reconstruction method, comprising: (a) the card opening software enabling The memory controller scans or detects the non-volatile memory to check whether each block in the non-volatile memory has a damaged block, receives a damaged block address data of the non-volatile memory, and then uses An electronic device error correction unit encodes the non-volatile memory damaged block address data with a high-order error code or a low-order error code to generate an electronic device encoded data of the damaged block address; (b) the card opening software to cause the memory device to write a plurality of electronic device encoded data of damaged block addresses to one or more data pages of one or more data blocks in the non-volatile memory; and (c) the card opening software Through the memory device, read at least one piece of data of the electronic device encoding data of the damaged block addresses from the non-volatile memory, and use the electronic device error correction unit to read the damaged block The encoded data of the electronic device of the address is decoded, and then the address data of the damaged block of the non-volatile memory is recovered. 如請求項6所述之開機啟動資訊重建系統,其中該非揮發性記憶體更包括多個良好區塊,該記憶體裝置啟動資訊重建方法更包括:(d)判斷該非揮發性記憶體損壞區塊位址資料是否回復成功,若判斷為是,以該回復的該非揮發性記憶體損壞區塊位址資料產生一使用者系統資料,並使該記憶體裝置抹除該非揮發性記憶體的該些良好區塊;以及(e)將該使用者系統資料寫入至該記憶體裝置的一系統區塊中,其中該系統區塊為該些良好區塊的至少一個所組成。 The boot information reconstruction system of claim 6, wherein the non-volatile memory further includes a plurality of good blocks, and the memory device boot information reconstruction method further comprises: (d) judging the non-volatile memory damaged block Whether the address data is restored successfully, if it is determined to be yes, generate a user system data with the restored non-volatile memory damaged block address data, and make the memory device erase the non-volatile memory a good block; and (e) writing the user system data into a system block of the memory device, wherein the system block is composed of at least one of the good blocks. 如請求項6所述之開機啟動資訊重建系統,其中該記憶體裝置更包括一耦接於該非揮發性記憶體的記憶體控制器,其中在步驟(a)的步驟中,更包括:(a1)該開卡軟體接收來自該記憶體控制器的該非揮發性記憶體損壞區塊位址資料,並以該電子裝置錯誤更正單元使用一高階錯誤更正碼,對該非揮發性記憶體損壞區塊位址資料進行編碼,以產生該損壞區塊位址的電子裝置編碼資料。 The boot information reconstruction system of claim 6, wherein the memory device further comprises a memory controller coupled to the non-volatile memory, wherein in the step (a), further comprising: (a1 ) The card opening software receives the address data of the non-volatile memory damaged block from the memory controller, and uses a high-level error correction code with the electronic device error correction unit to locate the non-volatile memory damaged block The address data is encoded to generate the electronic device encoded data of the damaged block address. 如請求項7所述之開機啟動資訊重建系統,其中在步驟(d)的步驟中,更包括:(d1)若判斷為否,判斷該些筆損壞區塊位址的電子裝置編碼資料是否均被讀取完畢,若判斷為否,重複步驟(c)至步驟(d),直到該些筆損壞區塊位址的電子裝置編碼資料均被讀取完畢為止。 The boot-up information reconstruction system according to claim 7, wherein in the step (d), the step further comprises: (d1) if the judgment is no, judging whether the electronic device code data of the damaged block addresses are all uniform After being read, if it is judged as NO, repeat steps (c) to (d) until all the encoded data of the electronic device of the damaged block addresses have been read. 如請求項9所述之開機啟動資訊重建系統,其中在步驟(d)的步驟中,更包括:(d2)該開卡軟體以該電子裝置錯誤更正單元使用一低階錯誤更正碼,對該回復的該非揮發性記憶體損壞區塊位址資料進行編碼,以產生該使用者系統資料。 The boot-up information reconstruction system according to claim 9, wherein in the step (d), it further comprises: (d2) the card opening software uses a low-level error correction code with the electronic device error correction unit to The recovered non-volatile memory damaged block address data is encoded to generate the user system data.
TW110102921A 2021-01-27 2021-01-27 Power-on startup information reconstruction system and memory device startup information reconstruction method TWI774214B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW110102921A TWI774214B (en) 2021-01-27 2021-01-27 Power-on startup information reconstruction system and memory device startup information reconstruction method
CN202110226136.4A CN114816827A (en) 2021-01-27 2021-03-01 Startup information reconstruction system and memory device startup information reconstruction method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110102921A TWI774214B (en) 2021-01-27 2021-01-27 Power-on startup information reconstruction system and memory device startup information reconstruction method

Publications (2)

Publication Number Publication Date
TW202230344A TW202230344A (en) 2022-08-01
TWI774214B true TWI774214B (en) 2022-08-11

Family

ID=82526251

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110102921A TWI774214B (en) 2021-01-27 2021-01-27 Power-on startup information reconstruction system and memory device startup information reconstruction method

Country Status (2)

Country Link
CN (1) CN114816827A (en)
TW (1) TWI774214B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070061594A1 (en) * 1995-02-13 2007-03-15 Intertrust Technologies Corp. Systems and methods for secure transaction management and electronic rights protection
US20090024899A1 (en) * 2007-07-16 2009-01-22 Robert Alan Reid System and Method for Providing Data Integrity in a Non-Volatile Memory System
TW201009654A (en) * 2008-06-23 2010-03-01 Silverbrook Res Pty Ltd Electronic pen having fast response time
CN102356383A (en) * 2009-03-17 2012-02-15 国际商业机器公司 Fault tolerance in integrated circuits

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070061594A1 (en) * 1995-02-13 2007-03-15 Intertrust Technologies Corp. Systems and methods for secure transaction management and electronic rights protection
US20090024899A1 (en) * 2007-07-16 2009-01-22 Robert Alan Reid System and Method for Providing Data Integrity in a Non-Volatile Memory System
TW201009654A (en) * 2008-06-23 2010-03-01 Silverbrook Res Pty Ltd Electronic pen having fast response time
CN102356383A (en) * 2009-03-17 2012-02-15 国际商业机器公司 Fault tolerance in integrated circuits

Also Published As

Publication number Publication date
CN114816827A (en) 2022-07-29
TW202230344A (en) 2022-08-01

Similar Documents

Publication Publication Date Title
KR101576102B1 (en) Method for reading data from block of flash memory and associated memory device
US8769374B2 (en) Multi-write endurance and error control coding of non-volatile memories
US8239725B2 (en) Data storage with an outer block code and a stream-based inner code
US8732553B2 (en) Memory system and control method thereof
WO2014164134A2 (en) Detecting effect of corrupting event on preloaded data in non-volatile memory
TW201133500A (en) Semiconductor memory system having ECC circuit and method of controlling thereof
JP2008117395A (en) Detection and correction of block-level data corruption in fault-tolerant data storage system
US7168026B2 (en) Method and apparatus for preservation of failure state in a read destructive memory
CN112068778B (en) Method and apparatus for maintaining integrity of data read from a storage array
JP6847796B2 (en) Memory system
JP6975047B2 (en) Write-once memory code error correction code management
JP2019057752A (en) Memory system
US10514980B2 (en) Encoding method and memory storage apparatus using the same
US11150813B2 (en) Memory system
JP2020042512A (en) Memory system
TWI774214B (en) Power-on startup information reconstruction system and memory device startup information reconstruction method
CN110716824B (en) Encoding method and memory storage device using the same
US10970166B2 (en) Memory system and method of controlling non-volatile memory
US20170161141A1 (en) Method and apparatus for correcting data in multiple ecc blocks of raid memory
TWI753761B (en) Memory device startup information reconstruction method and system thereof
US11204834B1 (en) Implementation of keeping data integrity in multiple dimensions
JP2021033530A (en) Memory system
TWI782341B (en) Flash memory controller and encoding circuit within flash memory controller
JP2005011386A (en) Error correction apparatus
TWI708256B (en) Memory apparatus, memory controller and data accessing method thereof