摘要 |
PROBLEM TO BE SOLVED: To make it possible to record state information in a nonvolatile storage device even if a recording program copied to the nonvolatile storage device in which the recording program is stored at a time of implementing the recording program for recording state information on a state of an own apparatus in the nonvolatile storage device.SOLUTION: In an image processing apparatus 10, a program validity construction unit 12 constructs program validity information on a logging program. If an exception handler invokes the logging program, a program validity determination unit 14 determines whether the logging program is valid using the program validity information. A memory access switching control unit 15 controls the logging program to be normally implemented if the logging program is valid, and controls the logging program to be implemented on either a ROM 31 or an SRAM 24 or to be reloaded from the ROM 31 to be implemented on a DRAM 32 if the logging program is not valid. A restart unit 17 then restarts the image processing apparatus 10. |