摘要 |
PROBLEM TO BE SOLVED: To automatically restore and perform a main program where rewriting abnormality terminates without a use limit and without the drop of program processing efficiency. SOLUTION: In an address control circuit 4, an offset processing circuit 41 inputs an address signal from a CPU 2 and performs an offset processing by the head address of status information during resetting. Then, it performs the offset processing by the head address of a rewriting program in accordance with a control signal from a status decision circuit 42 after resetting is released and outputs the address to a flash memory 1 through an address bus. The status decision circuit 42 inputs status information from a data bus during resetting and decides non-matching/matching with a termination code showing the processing termination of the rewriting program, latches the decided result and outputs the control signal to the offset processing circuit 41 after resetting is released. |