Patent ID: 8499192

Claim:
A method for writing and reading data in electrically erasable and programmable nonvolatile memory cells comprising: writing data in a block of a first nonvolatile memory zone that is programmable by block; in conjunction with the writing the data in the block of the first nonvolatile memory zone, writing in a second nonvolatile memory zone containing metadata associated with data in the first nonvolatile memory zone, metadata associated with the writing of the data in the block, the metadata being written in a temporary information structure associated with the writing of the data in the block, wherein the temporary information structure associated with the writing of the data in the block includes: a start flag; an identifier of the temporary information structure; an information about a location of the block in the first nonvolatile memory zone; and a final flag; and in conjunction with a power-on of the first nonvolatile memory zone, searching for an anomaly in temporary information structures present in the second nonvolatile memory zone, wherein the writing the data in the block of the first nonvolatile memory zone includes: writing a first part of the start flag; writing the identifier of the temporary information structure and the information about the location of the block in the first nonvolatile memory zone; writing a second part of the start flag; writing the data in the block of the first nonvolatile memory zone; and writing the final flag.