CPC G06F 8/65 (2013.01) [B60W 40/10 (2013.01); B60W 2510/186 (2013.01)] | 13 Claims |
1. An electronic control system for vehicles, comprising an electronic control device and a master device that is connected to at least two or more groups of electronic control devices each comprising the electronic control device and gives an instruction to the electronic control device,
the electronic control device comprising:
a storage unit including a data storage side;
a second detection unit that detects a state of a vehicle;
a rewrite execution unit that writes update data acquired from the master device to the data storage side to rewrite a program;
an activation determination unit that determines whether or not to activate the program rewritten with the update data; and
an activation execution unit that activates the program,
the master device comprising:
an update data acquisition unit that acquires the update data from an external instrument;
a first detection unit that detects the state of the vehicle, the first detection unit being different from the second detection unit;
a rewrite instruction unit that instructs the rewrite execution unit to write the update data to the data storage side; and
an activation instruction unit that instructs the activation execution unit to activate the program when determining that the vehicle is parked using the first detection unit after the rewrite execution unit writes the update data to the data storage side according to the instruction from the rewrite instruction unit,
the activation determination unit determining whether or not the vehicle is parked using the second detection unit when the activation execution unit activates the program according to the instruction from the activation instruction unit,
the activation execution unit activating the program when the activation determination unit determines that the vehicle is parked using the second detection unit,
wherein the activation determination unit determines whether or not the vehicle is parked using an index different from that for the activation instruction unit,
wherein each of the first detection unit and the second detection unit acquires the state of the vehicle from a group of electronic control devices selected from the at least two or more groups of electronic control devices, and
wherein the group of electronic control devices from which the first detection unit acquires the state of the vehicle is different from the group of electronic control devices from which the second detection unit acquires the state of the vehicle.
|