摘要 |
PROBLEM TO BE SOLVED: To provide a control method for a nonvolatile memory which avoids the occurrence wherein data that could have been erased are not erased or data that could have been written are lost, even if a forced suspend occurs due to power shutdown for a memory device, a reset instruction or the like halfway through overwriting in a block. SOLUTION: When data are written in the last page of the block, a block data validation flag provided in a redundant area of the last page of the block is set as 0 (valid), so that the block is validated. Besides, a counter for determining whether the block is old or new is provided, so that the data can be protected even when the solving means can not deal with. |