×

Memory formatting method, memory controller, and memory storage apparatus

  • US 9,389,998 B2
  • Filed: 07/11/2012
  • Issued: 07/12/2016
  • Est. Priority Date: 04/25/2012
  • Status: Active Grant
First Claim
Patent Images

1. A memory formatting method for a memory storage apparatus, wherein the memory storage apparatus has a rewritable non-volatile memory module, and the rewritable non-volatile memory module has a plurality of physical blocks, the memory formatting method comprising:

  • configuring a plurality of logical block addresses for mapping to a portion of the physical blocks;

    generating a first file system data and a second file system data according to a size of the logical block addresses at initial partition of the logical block addresses;

    storing the first file system data into at least one first physical block among the physical blocks, wherein the at least one first physical block is mapped to at least one first logical block address among the logical block addresses, wherein the first file system data is updated if data is written to the logical block addresses;

    selecting at least one second physical block among the physical blocks;

    storing the second file system data into the at least one second physical block;

    determining whether a format command is received from a host system; and

    when the format command is received from the host system, re-mapping the at least one first logical block address to the at least one second physical block,wherein before the step of re-mapping the at least one first logical block address to the at least one second physical block, the second file system data is not updated if data is written to the logical block addresses, andwherein after the step of remapping the at least one first logical block address to the at least one second physical block, the second file system data is updated if data is written to the logical block addresses.

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