Patent ID: 9411686
Filing Date: 2016-08-09
CPC Classification: G06F

Claim Text:
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; 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; and 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.