摘要 |
<P>PROBLEM TO BE SOLVED: To prevent data corruption of a flash memory when battery power is lowered while writing data in a non-volatile memory in an electronic device having the non-volatile memory. <P>SOLUTION: When power of the battery 10 is lowered below predetermined voltage while writing the data in the flash memory 100, power is supplied to a CPU 90, the flash memory 100 and a RAM 100 with charged voltage of capacitors 80, 81, the CPU 90 compares time until the charged voltage becomes below operation voltage by which writing is maintained with time until the writing is completed, when it is judged that the writing can be completed, continues the writing until it is completed as it is. On the other hand, corruption of the data to be written in the flash memory 100 is prevented by interrupting the writing when it is judged that the writing can not be completed by the charged voltage by the capacitors 80, 81, and by restarting the writing from an interrupted place when power of the battery 10 is restored. <P>COPYRIGHT: (C)2006,JPO&NCIPI |