×

Data writing method, memory control circuit unit and memory storage apparatus for writing data from buffer memory and moving valid data

  • US 10,203,886 B2
  • Filed: 03/24/2016
  • Issued: 02/12/2019
  • Est. Priority Date: 02/05/2016
  • Status: Active Grant
First Claim
Patent Images

1. A data writing method for a rewritable non-volatile memory module of a memory storage apparatus, wherein the memory storage apparatus has a buffer memory, the rewritable non-volatile memory module has a plurality of physical erasing units, and each of the physical erasing units has a plurality of physical programming units, the data writing method comprising:

  • determining whether a predetermined command is received from a host system;

    if the predetermined command is received from the host system, writing at least one buffer data from the buffer memory into a first physical erasing unit among the physical erasing units, selecting at least one second physical erasing unit from the physical erasing units, and writing at least one valid data of the at least one second physical erasing unit into the first physical erasing unit;

    determining whether a quantity of the at least one buffer data is less than a predetermined threshold;

    if the quantity of the at least one buffer data is less than the predetermined threshold, writing at least one dummy data into the first physical erasing unit; and

    only if the quantity of the at least one buffer data is not less than the predetermined threshold, performing the step of selecting the at least one second physical erasing unit from the physical erasing units and writing the at least one valid data of the at least one second physical erasing unit into the first physical erasing unit,wherein a number of bits stored in each first memory cell of the at least one first physical erasing unit equals to a number of bits stored in each second memory cell of the at least one second physical erasing unit.

View all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×