摘要 |
PROBLEM TO BE SOLVED: To provide a microcomputer that normally writes an abnormal group having abnormal data stored in a read-only memory unit into another free area while securing capacity.SOLUTION: A microcomputer executes error correction of abnormal data when there are abnormal data, for each group stored in a ROM (S400), and executes write object determination processing for determining whether or not each group is an object to be written into a RAM on the basis of the priority level and data amount of the group, regardless of an abnormal group or a normal group(S402). When the group is not an object to be written (S404: No), the group is determined to be unnecessary and not written into the RAM (S406). When the group is an object to be written (S404: Yes) and there is a write area in the RAM (S408: Yes), data in the pertinent group of the ROM are written into the RAM (S410). |