摘要 |
PROBLEM TO BE SOLVED: To improve reliability by accurately determining whether control data written in a nonvolatile memory is normal or not by adding a counter unit to the control data and using both a counter value of the counter unit and the control data.SOLUTION: In a step S9, when a counter value R2 of a record 2 and a counter value R3 of a record 3 are same, a counter value R1 of a record 1 is larger than the counter values R2 and R3, and a difference between the counter value R1"2" and the counter value R2"1" is "1", the step transfers to a step S10. In the step S10, when control data RD2 of the record 2 and control data RD3 of the record 3 are equal, the step transfers to a step S12. Then, a data write abnormality determination device determines that an instantaneous interruption or an instantaneous reduction of a power supply occurs during the write of the record 1 and the write of the record 2 and determines that the control data written in the record 1 is are the correct data. |