摘要 |
PROBLEM TO BE SOLVED: To provide an electronic control device that elongates a product life of a non-volatile memory, and enables improvement in reliability of data stored in the non-volatile memory.SOLUTION: A CPU is configured to perform: writing processing that writes up-to-date data in a current storage block different from a previous storage block having previous data written; and reading processing that reads data from a ring. The reading processing includes processing (S26) that reads the data from the current storage block when it is diagnosed that the writing of the data in the current storage block is normally completed (S23:YES); and processing (S24) that reads the data from the previous storage block when it is diagnosed that the writing of the data in the current storage block is not normally completed (S23:NO). |