摘要 |
PURPOSE:To detect both faults with which the execution a main program and an interruption program are made impossible by separating an action to set the watchdog timer reset signal at a high level and an action to set said reset signal at a low level into the main and interruption programs respectively. CONSTITUTION:When an interruption program is used to perform an action to set the reset signal of a watchdog timer 3 at a high level, the watchdog timer reset signal is set at a low level by a main program. While the watchdog timer reset signal is set at a low level by an interruption program when the main program is used to set the watchdog timer reset signal at a high level. Thus it is possible to detect the fault of a circuit 2 which is controlled by a microcomputer 1 and a fault with which the execution of the interruption program or the main program is made impossible by a program runaway, etc. |