Memory device including risky mapping table and controlling method thereof
AssigneeMacronix International Co., Ltd.
InventorsTing-Yu Liu, Nai-Ping Kuo, Yi-Chun Liu, Jian-Shing Liu
Life of this patent
Estimating the term…
Abstract
A memory device includes a first storage unit storing an address mapping table, and a control unit coupled to the first storage unit and including a second storage unit storing a risky mapping table and a cached mapping table. The control unit is configured to: write data into the first storage unit; update mapping information associated with the data in the risky mapping table; and store mapping information in the cached mapping table into the address mapping table.
Claims18
A memory device, comprising:
- a first storage unit storing an address mapping table;
- a control unit coupled to the first storage unit and including a second storage unit storing a risky mapping table and a cached mapping table, wherein the risky mapping table stores mapping information of risky data, the risky data being data that can be damaged by power interruption;
- wherein the control unit is configured to:
- write data into the first storage unit;
- update mapping information associated with the data in the risky mapping table;
- when the data has been written into an upper page in a set of paired pages in the first storage unit, commit mapping information that is in the risky mapping table and that is associated with the data into the cached mapping table;
- and
- store mapping information in the cached mapping table into the address mapping table.
A method for controlling a memory device by a control unit, the memory device including a first storage unit, the control unit including a second storage unit, the method comprising:
- writing data into the first storage unit;
- updating mapping information associated with the data in a risky mapping table included in the second storage unit, wherein the risky mapping table stores mapping information of risky data, the risky data being data that can be damaged by power interruption;
- when the data has been written into an upper page in a set of paired pages in the first storage unit, committing mapping information that is in the risky mapping table and that is associated with the data into a cached mapping table included in the second storage unit;
- and
- storing mapping information in the cached mapping table included in the second storage unit into an address mapping table included in the first storage unit.
Dependencies are inferred from the claim text.