摘要 |
PROBLEM TO BE SOLVED: To provide a control device that allows coupling failure detection of a memory to be efficiently performed while reducing a processing load of a CPU and reducing CPU processing time required for failure detection of the memory, and further to provide a memory failure detection method thereof and a self-diagnostic method thereof.SOLUTION: A control device comprises a CPU 20, a memory 40 for storing data therein and a memory failure detection section 30 for diagnosing failure of a data area. A memory failure detection method of the control device is provided such that the CPU 20 transmits a memory failure detection command specifying an address for failure detection, the data area and a data rewriting area to the memory failure detection section 30, the memory failure detection section 30 compares first coded data at the time of writing and second coded data that are read-out from the memory 40 and are coded with respect to an address of the data area and detects failure of the memory 40 and, further, the memory failure detection section 30 changes the data rewriting area and detects memory failure of all data areas. |