摘要 |
PROBLEM TO BE SOLVED: To curb increase in an amount of data storage for dealing with redundancy.SOLUTION: ECC devices 17 and 18 are configured to: generate an error correction code on the basis of data to be written when writing data in a ROM 12 and RAM 13; add the error correction code to corresponding data to be written; when reading stored data from the ROM 12 and RAM 13, correct an error of one bit in the stored data using the error correction code; and detect an error of one or more bits. An ECU 1 is configured to: store correction data having the error of one bit corrected in an emulator RAM 21 when the ECC devices 17 and 18 detect the error of one bit; and acquire correction data corresponding to data having the error of two or more bits detected from the emulator RAM 21 when the ECC devices 17 and 18 detect the error of two or more bits.SELECTED DRAWING: Figure 1 |