Data storage device and flash memory control method
First Claim
1. A data storage device, comprising:
- a flash memory including multi-level cells and single-level cells, wherein the flash memory is divided into a plurality of blocks with each block comprising a plurality of pages; and
a control unit, coupling the flash memory to a host and comprising a microcontroller and a random access memory,wherein;
the microcontroller is configured to establish a first physical-to-logical address mapping table in the random access memory for a first run-time write block between the blocks of the flash memory, and the first run-time write block contains multi-level cells;
the microcontroller is further configured to establish a second physical-to-logical address mapping table in the random access memory for a second run-time write block between the blocks of the flash memory, and the second run-time write block contains single-level cells;
in response to data that was previously stored in the first run-time write block with mapping information in the first physical-to-logical address mapping table, but not yet uploaded to the flash memory, being updated into the second run-time write block, the microcontroller is configured to update a logical-to-physical address mapping table located in the flash memory in accordance with the first physical-to-logical address mapping table.
1 Assignment
0 Petitions
Accused Products
Abstract
A data storage device with flash memory and a flash memory control method are disclosed, in which the flash memory includes multi-level cells (MLCs) and single-level cells (SLCs). A microcontroller is configured to establish a first physical-to-logical address mapping table (F2H table) in a random access memory (RAM) for a first run-time write block containing MLCs. The microcontroller is further configured to establish a second F2H table in the RAM for a second run-time write block containing SLCs. When data that was previously stored in the first run-time write block with un-uploaded mapping information in the first F2H table is updated into the second run-time write block, the microcontroller is configured to update a logical-to-physical address mapping table (H2F table) in accordance with the first F2H table. The H2F table is provided within the flash memory.
44 Citations
16 Claims
-
1. A data storage device, comprising:
-
a flash memory including multi-level cells and single-level cells, wherein the flash memory is divided into a plurality of blocks with each block comprising a plurality of pages; and a control unit, coupling the flash memory to a host and comprising a microcontroller and a random access memory, wherein; the microcontroller is configured to establish a first physical-to-logical address mapping table in the random access memory for a first run-time write block between the blocks of the flash memory, and the first run-time write block contains multi-level cells; the microcontroller is further configured to establish a second physical-to-logical address mapping table in the random access memory for a second run-time write block between the blocks of the flash memory, and the second run-time write block contains single-level cells; in response to data that was previously stored in the first run-time write block with mapping information in the first physical-to-logical address mapping table, but not yet uploaded to the flash memory, being updated into the second run-time write block, the microcontroller is configured to update a logical-to-physical address mapping table located in the flash memory in accordance with the first physical-to-logical address mapping table. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A flash memory control method, comprising:
-
establishing a first physical-to-logical address mapping table in a random access memory for a first run-time write block between a plurality of blocks of a flash memory, each block of the flash memory comprising a plurality of pages and the first run-time write block containing multi-level cells; establishing a second physical-to-logical address mapping table in the random access memory for a second run-time write block between the blocks of the flash memory, the second run-time write block containing single-level cells; and updating a logical-to-physical address mapping table located in the flash memory in accordance with the first physical-to-logical address mapping table in response to data that was previously stored in the first run-time write block with mapping information not yet uploaded to the flash memory, in the first physical-to-logical address mapping table being updated into the second run-time write block. - View Dependent Claims (10, 11, 12, 13, 14, 15, 16)
-
Specification