×

Power failure detection and correction in a flash memory device

  • US 7,340,647 B2
  • Filed: 04/06/2006
  • Issued: 03/04/2008
  • Est. Priority Date: 02/27/2002
  • Status: Expired due to Fees
First Claim
Patent Images

1. In a computer having a flash medium, a method for ensuring data integrity in a flash medium, comprising:

  • organizing a flash memory medium as if memory locations of the flash memory form a continuous circle, wherein the lowest and highest memory locations are contiguous;

    maintaining a write pointer to indicate a memory location that is free to receive new data, the write pointer configured to advance through the continuous circle of memory locations as data is written to the flash memory medium;

    storing meta-information in each memory location indicated by the write pointer at completion of a write operation to the memory location indicated by the write pointer;

    searching the memory location indicated by the write pointer when the file system is initialized to ascertain whether the meta-information exists in the memory location;

    concluding that a power-failure event occurred, if the meta-information is not found in the memory location; and

    marking the memory location indicated by the write pointer dirty if a power-failure event is concluded.

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