Methods for Accessing a Storage Unit of a Flash Memory and Apparatuses using the Same
First Claim
1. A method for accessing a storage unit of a flash memory, performed by a processing unit, comprising:
- after all messages within a RAID (Redundant Array of Independent Disk) group are programmed, determining whether a vertical ECC (Error Correction Code) within the RAID group has been generated; and
directing a DMA (Direct Memory Access) controller to obtain the vertical ECC from a DRAM (Dynamic Random Access Memory) and store the vertical ECC to a buffer when the vertical ECC within the RAID group has been generated, thereby enabling the vertical ECC to be programmed to the storage unit.
1 Assignment
0 Petitions
Accused Products
Abstract
An embodiment of a method for accessing a storage unit of a flash memory, performed by a processing unit, includes at least the following steps. After all messages within a RAID (Redundant Array of Independent Disk) group are programmed, it is determined whether a vertical ECC (Error Correction Code) within the RAID group has been generated. The processing unit directs a DMA (Direct Memory Access) controller to obtain the vertical ECC from a DRAM (Dynamic Random Access Memory) and store the vertical ECC to a buffer when the vertical ECC within the RAID group has been generated, thereby enabling the vertical ECC to be programmed to the storage unit.
-
Citations
15 Claims
-
1. A method for accessing a storage unit of a flash memory, performed by a processing unit, comprising:
-
after all messages within a RAID (Redundant Array of Independent Disk) group are programmed, determining whether a vertical ECC (Error Correction Code) within the RAID group has been generated; and directing a DMA (Direct Memory Access) controller to obtain the vertical ECC from a DRAM (Dynamic Random Access Memory) and store the vertical ECC to a buffer when the vertical ECC within the RAID group has been generated, thereby enabling the vertical ECC to be programmed to the storage unit. - View Dependent Claims (2, 3, 4, 5, 6)
-
-
7. A method for accessing a storage unit of a flash memory, performed by a processing unit, comprising:
-
after all messages within a RAID (Redundant Array of Independent Disk) group are programmed, determining whether a vertical ECC (Error Correction Code) within the RAID group has been generated; directing a RAID-encoding unit to output the vertical ECC to the buffer when the vertical ECC within the RAID group has not been generated, thereby enabling the vertical ECC to be programmed to the storage unit; and directing a DMA (Direct Memory Access) controller to obtain the vertical ECC from the RAID-encoding unit and store the vertical ECC to a DRAM (Dynamic Random Access Memory) when the vertical ECC within the RAID group has not been generated. - View Dependent Claims (8, 9)
-
-
10. An apparatus for accessing a storage unit of a flash memory, comprising:
-
a DMA (Direct Memory Access) controller; a buffer; and a processing unit, coupled to the DMA controller, after all messages within a RAID (Redundant Array of Independent Disk) group are programmed, determining whether a vertical ECC (Error Correction Code) within the RAID group has been generated; and
directing the DMA controller to obtain the vertical ECC from a DRAM (Dynamic Random Access Memory) and store the vertical ECC to the buffer when the vertical ECC within the RAID group has been generated, thereby enabling the vertical ECC to be programmed to the storage unit. - View Dependent Claims (12, 13, 14, 15)
-
-
11. The apparatus of claim 11, wherein storage unit comprises a plurality of TLCs (Triple-Level Cells), and the vertical ECC is generated during a first run of programming for the vertical ECC.
Specification