摘要 |
A data processing device with maintenance counters reliably stores the maintenance counter values. A data processing device such as a printer has RAM for storing the maintenance counter values, EEPROM segmented into a nonvolatile maintenance counter area and a temporary maintenance counter storage area, and a CPU for updating the maintenance counter values in RAM based on detection of a state change in the printer. The CPU writes the maintenance counter values accumulated in RAM at a predetermined time to the temporary maintenance counter storage area, and at a predetermined time writes the maintenance counter values from the temporary maintenance counter storage area to the nonvolatile maintenance counter area.
|