Method of writing control data into on-board vehicle control unit and the control unit
First Claim
1. A method of writing control data into an on-board vehicle control unit, which has RAM for temporarily writing data and a nonvolatile memory for storing a control program for controlling operation of an on-board vehicle automatic device and control data including reference data used in execution of the control program, wherein the control data in the nonvolatile memory includes status data indicating status of the on-board vehicle automatic device, wherein the RAM is used to generate output data based on the status data for control of operation of the on-board vehicle automatic device and the RAM is also used to receive control data which is to be stored in the nonvolatile memory, the method comprising:
- receiving, in said RAM, (1) a first-type data transfer frame having a fixed size, each first-type data frame including a control data portion obtained by severally dividing uncompressed control data for storage in the nonvolatile memory and compression identification information indicating uncompressed data, and (2) a second-type data transfer frame having the same fixed size, each second-type data transfer frame including a control data portion obtained by severally dividing compressed control data obtained by compressing the control data to be stored in the nonvolatile memory and compression identification information indicating compressed data;
when the compression identification information in a data transfer frame to be received by said RAM indicates uncompressed control data, directly accumulating the uncompressed data in said RAM and then storing the accumulated uncompressed control data of the data transfer frame in the nonvolatile memory;
when the compression identification information in the data frame to be received by said RAM indicates compressed control data, decompressing the compressed control data in the data transfer frame and accumulating the decompressed data in said RAM until a halt point is reached, and then storing the decompressed data in the nonvolatile memory, then if there is additional compressed control data in the data transfer frame, repeating the steps of decompressing the compressed control data until the halt point is reached and storing the decompressed data in the nonvolatile memory until all of the compressed control data of said data frame has been decompressed; and
then when the control unit receives a subsequent second-type data transfer frame, starting decompressing of the compressed control data in the subsequent data transfer frame from the halt point and storing the decompressed data in the nonvolatile memory; and
repeatedly receiving data transfer frames, decompressing compressed control data and storing the decompressed and uncompressed control data of the data transfer frames in the nonvolatile memory until all the control data is stored in the nonvolatile memory.
1 Assignment
0 Petitions
Accused Products
Abstract
A first-type data transfer frame for uncompressed transfer of a control program and control data including reference data, and a second-type data transfer frame for compressed transfer have the same fixed size, and each transfer frame includes compression identification information indicating uncompressed or compressed data. When an on-board vehicle control unit receives a transfer frame with uncompressed control data, the control unit stores the uncompressed control data of the frame in a nonvolatile memory. When the transfer frame has compressed control data, the control unit writes the compressed control data of the frame into RAM, and decompresses control data in the RAM. The control unit sequentially accumulates decompressed control data in the RAM, and when amount of the accumulated control data reaches a setting amount, the control unit halts the decompressing, and transfers the decompressed control data from the RAM into the nonvolatile memory, and restarts decompressing for the next received data transfer frame from the halt point.
-
Citations
6 Claims
-
1. A method of writing control data into an on-board vehicle control unit, which has RAM for temporarily writing data and a nonvolatile memory for storing a control program for controlling operation of an on-board vehicle automatic device and control data including reference data used in execution of the control program, wherein the control data in the nonvolatile memory includes status data indicating status of the on-board vehicle automatic device, wherein the RAM is used to generate output data based on the status data for control of operation of the on-board vehicle automatic device and the RAM is also used to receive control data which is to be stored in the nonvolatile memory, the method comprising:
-
receiving, in said RAM, (1) a first-type data transfer frame having a fixed size, each first-type data frame including a control data portion obtained by severally dividing uncompressed control data for storage in the nonvolatile memory and compression identification information indicating uncompressed data, and (2) a second-type data transfer frame having the same fixed size, each second-type data transfer frame including a control data portion obtained by severally dividing compressed control data obtained by compressing the control data to be stored in the nonvolatile memory and compression identification information indicating compressed data; when the compression identification information in a data transfer frame to be received by said RAM indicates uncompressed control data, directly accumulating the uncompressed data in said RAM and then storing the accumulated uncompressed control data of the data transfer frame in the nonvolatile memory; when the compression identification information in the data frame to be received by said RAM indicates compressed control data, decompressing the compressed control data in the data transfer frame and accumulating the decompressed data in said RAM until a halt point is reached, and then storing the decompressed data in the nonvolatile memory, then if there is additional compressed control data in the data transfer frame, repeating the steps of decompressing the compressed control data until the halt point is reached and storing the decompressed data in the nonvolatile memory until all of the compressed control data of said data frame has been decompressed; and
then when the control unit receives a subsequent second-type data transfer frame, starting decompressing of the compressed control data in the subsequent data transfer frame from the halt point and storing the decompressed data in the nonvolatile memory; andrepeatedly receiving data transfer frames, decompressing compressed control data and storing the decompressed and uncompressed control data of the data transfer frames in the nonvolatile memory until all the control data is stored in the nonvolatile memory. - View Dependent Claims (2, 3)
-
-
4. An on-board vehicle control unit comprising:
-
a RAM for temporarily storing data; a nonvolatile memory storing a program for controlling operation of an on-board vehicle automatic device and control data including reference data used in execution of the program, wherein the control data in the nonvolatile memory includes status data showing a status of the on-board vehicle automatic device, the RAM generating output data, based on the status data, for controlling operation of the on-board vehicle automatic device, the RAM also receiving control data which is to be stored in the nonvolatile memory; wherein the control data stored in the nonvolatile memory is received by the control unit in the form of plural data transfer frames formed by dividing the control data, each data transfer frame including a divided portion of the control data and compression identification information indicating whether or not the control data in the frame is compressed, all data transfer frames having the same one fixed size regardless of whether the control data is compressed or uncompressed; wherein when compression identification information in a received data transfer frame indicates that the control data received by the control unit is uncompressed control data, the control unit directly accumulates said uncompressed control data in said RAM and then stores the accumulated uncompressed control data of the data transfer frame in the nonvolatile memory; wherein when the compression identification information in a received data transfer frame as received by the control unit indicates that the received control data is compressed data, the control unit decompresses the control data of the data transfer frame and accumulates the decompressed control data in said RAM until said halt point is reached, and then stores the accumulated decompressed control data in the nonvolatile memory, and then if there is additional compressed control data in the data transfer frame, repeats the steps of decompressing the compressed control data until the halt point is reached and storing the decompressed data in nonvolatile memory until all of the compressed control data in said data frame has been decompressed, then when the control unit finishes decompression of the control data, the control unit halts the decompressing at a halt point, and then when the control unit receives a subsequent data transfer frame, the control unit starts decompressing the control data in the subsequent data transfer frame beginning at the halt point and stores the decompressed control data in the nonvolatile memory; and wherein the control unit repeats receiving the data transfer frames and storing uncompressed and decompressed control data from the data transfer frames in the nonvolatile memory until all the control data is stored in the nonvolatile memory. - View Dependent Claims (5, 6)
-
Specification