Electronic control unit for vehicle and method of writing data
AssigneeHitachi Astemo, Ltd.
InventorsYusuke Abe, Koji Yuasa, Toshihisa Arai
Life of this patent
Estimating the term…
Abstract
An electronic control unit for a vehicle including a nonvolatile memory capable of erasing and writing data electrically and two buffers to acquire, by communication, divided data obtained by dividing a program by predetermined size. Then, in parallel with using the two buffers alternately to receive divided data, the electronic control unit for a vehicle uses one buffer that is not used to receive divided data to write the received divided data into the nonvolatile memory.
Claims12
An electronic control unit for a vehicle including a nonvolatile memory in which data can be written and erased electronically and two buffers, in which the electronic control unit for a vehicle is able to receive, by communication, divided data obtained by dividing a first program by predetermined size, the divided data being received from a writing tool, comprising a processor which, in parallel with receiving the divided data by using the two buffers alternately, writes the divided data into the nonvolatile memory by using the two buffers alternately, such that one of the two buffers is used for receiving the divided data while another of the two buffers is used for writing the divided data, and the receiving and the writing of the divided data alternate between the two buffers each time the receiving and the writing are performed,
- wherein a second program, which is different from the first program and is received by the electronic control unit from the writing tool, is configured to cause the electronic control unit, in a case in which the electronic control unit is electrically connected to the writing tool and a plurality of other units, to block communication with the plurality of other units so that the divided data is written from the writing tool into communication buffers of the electronic control unit that are configured to communicate with the writing tool and communication buffers of the electronic control unit that communicate with the plurality of other units when the electronic control unit is not receiving the divided data, such that the communication speed between the writing tool and the electronic control unit is increased.
A method of writing data by an electronic control unit for a vehicle including a nonvolatile memory in which data can be written and erased electronically and two buffers, the method comprising the steps of:
- in parallel with receiving divided data obtained by dividing a first program by predetermined size, the divided data being received from a writing tool, by using the two buffers alternately, writing the divided data into the nonvolatile memory by using the two buffers alternately, such that one of the two buffers is used for receiving the divided data while another of the two buffers is used for writing the divided data, and the receiving and the writing of the divided data alternate between the two buffers each time the receiving and the writing are performed;
- wherein a second program which is different from the first program and is received by the electronic control unit from the writing tool, is configured to cause the electronic control unit, in a case in which the electronic control unit is electrically connected to the writing tool and a plurality of other units, to block communication with the plurality of other units so that the divided data is written from the writing tool into communication buffers of the electronic control unit that are configured to communicate with the writing tool and communication buffers of the electronic control unit that communicate with the plurality of other units when the electronic control unit is not receiving the divided data, such that the electronic control unit such that the communication speed between the writing tool and the electronic control unit is increased.
Dependencies are inferred from the claim text.