Patent ID: 9613705
Date: 2017-04-04
CPC Classifications: G06F,G11C

Claim:
1. A data programming method for a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module comprises a plurality of physical units, wherein the physical units comprise a plurality of first physical units and a plurality of second physical units, wherein the data programming method comprises: configuring, initially, the first physical units to be programmed based on a first programming mode and the second physical units to be programmed based on a second programming mode; receiving first data from a host system; determining whether a used capacity of the first physical units reaches a preset capacity; determining whether at least second data stored in the first physical units matches a preset condition if the used capacity of the first physical units reaches the preset capacity, wherein the second data is valid data belonging to at least one first logical unit; and selecting at least one physical unit from the second physical units and programming the selected physical unit based on the first programming mode to store at least one part of the first data if the second data matches the preset condition.