Patent ID: 7051251

Claim:
A method for writing data to a write-once memory array, the method comprising: (a) providing a write-once memory array comprising a file allocation table and a main memory, wherein a line is a minimum amount of data that can be written to the write-once memory array, and a line of clusters comprises an amount of clusters in the main memory represented by one line of entries written in the file allocation table; (b) for a first set of X lines of clusters, wherein X≧2: (b1) writing entries in the file allocation table for all but the last line of clusters in the first set of X lines of clusters; and (b2) writing data in the first set of X lines of clusters in the main memory; and (c) if no error occurs in writing data in the first set of X lines of clusters: (c1) writing entries in the file allocation table for all but the last line of clusters in a second set of X lines of clusters; (c2) writing data in the second set of X lines of clusters in the main memory; and (c3) if no error occurs in writing data in the second set of X lines of clusters, writing an entry in the file allocation table for the last line of clusters in the first set of X lines of clusters.