摘要 |
PROBLEM TO BE SOLVED: To provide an electronic control unit having multiple CPUs with a minimal increase in memory capacity.SOLUTION: CPUs 10, 20 have arithmetic units 11, 21 and built-in memories 13, 23, respectively. Each built-in memory 13, 23 stores an OS program PG copied from a flash ROM 30. Each CPU 10, 20, when accessing an application programming interface (hereunder called API) written inside the OS program PG, determines a logical address for accessing the API on the basis of an offset address for accessing the API inside the OS program PG in reference to a beginning address preset as a reference address within the OS program PG, and a base address representing a logical address corresponding to the beginning address of the OS program PG in the built-in memory 13, 23, and then makes the arithmetic unit 11, 21 access the determined logical address. |