Patent ID: 8060781
Filing Date: 2011-11-15
Classification: G06F

Abstract:
1. A data processing apparatus which saves data in a volatile memory into a nonvolatile memory when power is off, the data processing apparatus comprising: a detecting circuit for outputting a momentary interruption detecting signal when a power source voltage is below a first threshold voltage, and a power failure detecting signal when the power source voltage is below a second threshold voltage that is lower than the first threshold voltage; and a control section configured to start saving of the data in the volatile memory into the nonvolatile memory when the detecting circuit has output the momentary interruption detecting signal, and, when the detecting circuit has output the power failure detecting signal after the detecting circuit has output the momentary interruption detecting signal, continue the saving of the data, and carry out a predetermined shutdown processing, wherein the saving of the data comprises a first phase and a second phase and the control section interrupts a normal operation when the detecting circuit outputs the momentary interruption detecting signal, resumes the normal operation after carrying out the first phase, and carries out the second phase where the detecting circuit outputs the power failure detecting signal after the detecting circuit has output the momentary interruption detecting signal; and wherein the control section is configured to save data whose values do not change during the normal operation in the first phase among the data to be saved and save remaining data in the second phase.