CPC G06F 11/3608 (2013.01) [B60R 16/02 (2013.01)] | 9 Claims |
1. An onboard Electronic Control Unit (“ECU”) for controlling an onboard apparatus installed in a vehicle, comprising:
a storage unit configured to store a control program for controlling the onboard apparatus and an inspection program for performing an operation check of the onboard apparatus or the onboard ECU; and
a control unit configured to execute the control program or the inspection program,
wherein the storage unit stores validity information indicating whether the inspection program is valid or invalid,
the control unit refers to the validity information stored in the storage unit,
executes the inspection program if the inspection program is valid, and
executes the control program if the inspection program is invalid,
the storage unit stores a boot program that is executed when the onboard ECU is started,
the storage unit includes a first region accessible by the control unit that is executing the control program, and a second region to which access by the control unit that is executing the control program is restricted,
the validity information is stored in the second region,
the control unit that is executing the boot program accesses the second region using a physical address,
the control unit that is executing the control program writes log data of control or drive of the onboard apparatus, in the first region, and
a storage capacity of the second region is smaller than a storage capacity of the first region.
|