摘要 |
PROBLEM TO BE SOLVED: To detect an abnormal state in which data to be read for use from a rewritable nonvolatile memory is not updated.SOLUTION: An ECU 1, during power-off time, stores a fully-closed position learning value stored in a first data storage area 41 of a RAM 4 to either one of a first data storage area 51 and a second data storage area 52 of a flash ROM 5, and stores first collation information stored in the first data storage area 41 of the RAM 4 to the flash ROM 5 while corresponding the information to the fully-closed position learning value to be stored. In addition, the ECU 1 determines as second collation information a value obtained by adding one to the first collation information, and stores the determined second collation information into the flash ROM 5. During power-on time, the ECU 1 thereafter determines whether or not the value of the first collation information corresponded to the fully-closed position learning value stored in the first data storage area 41 of the RAM 4 does not accord with the value of the second collation information stored in the flash ROM 5. |