Patent ID: 8050106

Claim:
A method for writing data, the method comprising: providing a non-volatile main memory area comprising target pages; providing a non-volatile auxiliary memory area comprising auxiliary pages; providing a look-up table to associate addresses of invalid target pages with addresses of valid auxiliary pages; in response to a command for writing a first piece of data in a first target page of the target pages of the main memory area: writing the first piece of data as well as an address of the first target page in an erased first auxiliary page; invalidating the first target page; and updating the look-up table to associate the address of the first target page with the first auxiliary page; and in response to a command for writing a second piece of data in the first target page: writing the second piece of data as well as the address of the first target page in an erased second auxiliary page if the first piece of data has already been written in the first auxiliary page; invalidating the first auxiliary page; and updating the look-up table to associate the address of the first target page with the second auxiliary page.