×

Memory management method, memory control circuit unit and memory storage apparatus

  • US 9,236,148 B2
  • Filed: 04/28/2014
  • Issued: 01/12/2016
  • Est. Priority Date: 02/14/2014
  • Status: Active Grant
First Claim
Patent Images

1. A memory management method for a rewritable non-volatile memory module, wherein the rewritable non-volatile memory module having a plurality of physical erasing units, the memory management method comprising:

  • recording an erasing count of each of the physical erasing units;

    grouping the physical erasing units at least into a spare area and a data area;

    determining whether a use count of the rewritable non-volatile memory module is greater than a use count threshold;

    if the use count of the rewritable non-volatile memory module is not greater than the use count threshold, sorting each of the physical erasing units in the spare area in an ascending manner according to the erasing count of each of the physical erasing units in the spare area to form a plurality of sorted physical erasing units;

    if the use count of the rewritable non-volatile memory module is greater than the use count threshold, sorting each of the physical erasing units in the spare area in the ascending manner according to the number of maximum bit errors of the physical erasing units in the spare area to form the sorted physical erasing units; and

    selecting a first physical erasing unit from the spare area to write data according to the sorted physical erasing units, wherein the first physical erasing unit is a foremost physical erasing unit of the sorted physical erasing units.

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