摘要 |
<P>PROBLEM TO BE SOLVED: To provide an apparatus with a flash memory and a method for writing data to the flash memory, wherein even if an accident such as blackout occurs during a series of operations such as the writing of new data and the erasure of old data in the case of writing data stored in a flash memory, the flash memory can be restored into a state in which the old data before written to the flash memory or the new data after written is stored in the flash memory. <P>SOLUTION: The apparatus 1 with the flash memory includes a flash memory 11 having at least three memory pages 2a, 2b, 2c, ..., as a storage area, the storage area of each of the pages 2a, 2b, 2c, ..., has a sufficient storage capacity to store an amount of data twice or more that of true data to be written. When data Dp are written only in the storage area of the current page 2a, and new data is written, new data Df are written in the storage area of the next page 2b and thereafter data Dp stored in the current page 2a is erased. <P>COPYRIGHT: (C)2010,JPO&INPIT |