CPC G06F 8/65 (2013.01) [G07C 5/008 (2013.01); G07C 5/085 (2013.01)] | 11 Claims |
1. A vehicle controller that updates a stored control program, based on update contents provided by a writing device,
wherein the control program includes a control code and control data that is referred to when the control code is executed, the vehicle controller comprises:
a nonvolatile memory that allows a first memory area and a second memory area to be switched and used alternately, the first memory area and the second memory area each storing both the control code and the control data; and
an updating request determining function that determines whether an updating request from the writing device requests updating of both the control code and the control data or requests updating of the control data only, and
when determining that updating of the control data only is requested, the updating request determining function writes received control data to any given memory area in which a currently active control program associated with the control code of the given memory area is stored.
|