×

METHOD OF FACILITATING RELIABLY ACCESSING FLASH MEMORY

  • US 20080163031A1
  • Filed: 12/27/2007
  • Published: 07/03/2008
  • Est. Priority Date: 12/28/2006
  • Status: Active Grant
First Claim
Patent Images

1. A method of facilitating reliably accessing flash memory comprising the steps of:

  • (a) determining whether data is to be read out or write in;

    (b) if the result of step(a) is to be write-in, coding a number of N write-in data to generate a number of K extra data, generating the first error correction code by using an error-correcting operation to the N write-in data and K extra data, and storing the N write-in data and the generated K extra data into the data area and the first ECC into the spare area; and

    (c) if the result of step(a) is to be read out, allocating a plurality of counters in the main memory;

    (d) each bit in the data area of the target flash-memory page'"'"'s data area corresponding to a counter for accumulating a number of differences between the first and the second error correction codes (ECCs) associated to each flash-memory page;

    (e) reading data from the data area of the flash-memory page to generate the second ECC and reading the first ECC from the spare area of the flash-memory page, counting with the counter a number of bit differences between the first ECC and the second ECC, and selecting a number of M data from the N write-in data and the K extra data as decoding factors to retrieve the N write-in data by using reverse operation of original adopted operation of coding in step (b).

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