摘要 |
PROBLEM TO BE SOLVED: To prevent processing from being continuously performed in an unstable state by immediately and certainly detecting a fault.SOLUTION: A control device generates a first error detection code from first information output as result obtained by executing a prescribed program by a first processor. The control device generates a second error detection code from second information output as result obtained by executing the program by a second processor configured such that the second processor outputs the same arithmetic result as the first processor. The control device detects whether or not the first information and the second information are identical, detects whether or not the first error detection code and the second error detection code are identical, and controls writing of the first information or the second information into a main memory on the basis of the detection result. |