METHOD FOR REWRITING PROGRAM, REPROGRAM APPARATUS, AND ELECTRONIC CONTROL UNIT
First Claim
1. A method for rewriting a program stored in a memory in a subject unit using a reprogram apparatus via an in-vehicle communication system linked with the reprogram apparatus, the subject unit being one of a plurality of electronic control units included in the in-vehicle communication system,the method comprising:
- dividing, in the reprogram apparatus, a reprogram data set, which is used for rewriting the program, into a plurality of unit blocks, each unit block having a predetermined data length and a serial number;
designating, in the reprogram apparatus, specified unit blocks having a prespecified value;
designating, in the reprogram apparatus, a consecutive range containing at least a predetermined minimum number of said specified unit blocks;
transmitting, from the reprogram apparatus to the subject unit, range information containing a range start number and a range end number, the range start number being the serial number assigned to the specified unit block being a start of the consecutive range, the range end number being the serial number assigned to the specified unit block being an end of the consecutive range;
transmitting, from the reprogram apparatus to the subject unit, transmit-target blocks that are the unit blocks of the plurality of unit blocks other than the specified unit blocks included in the consecutive range; and
restoring, in the subject unit, the reprogram data set using (i) the specified unit blocks included in the consecutive range generated based on the range information and (ii) the transmit-target blocks that are transmitted from the reprogram apparatus, rewriting the program in the memory.
1 Assignment
0 Petitions
Accused Products
Abstract
A reprogram apparatus does not transmit a reprogram data set as it is. The reprogram data set has a plurality of unit blocks and is used for rewriting a program in a memory of a subject electronic control unit (ECU). A consecutive range having at least the predetermined number of consecutive specified unit blocks is extracted. Range size information indicating a range size of the extracted consecutive range is transmitted to the subject ECU. The reprogram data set excluding the specified unit blocks included in the consecutive range is transmitted to the subject ECU on a unit-block-by-unit-block basis. The subject ECU restores the data corresponding to the consecutive range containing the specified unit blocks, which are not received from the reprogram apparatus, based on the range size information received. The reprogram data set is thereby restored. Rewriting of the program is executed using the reprogram data set restored.
10 Citations
5 Claims
-
1. A method for rewriting a program stored in a memory in a subject unit using a reprogram apparatus via an in-vehicle communication system linked with the reprogram apparatus, the subject unit being one of a plurality of electronic control units included in the in-vehicle communication system,
the method comprising: -
dividing, in the reprogram apparatus, a reprogram data set, which is used for rewriting the program, into a plurality of unit blocks, each unit block having a predetermined data length and a serial number; designating, in the reprogram apparatus, specified unit blocks having a prespecified value; designating, in the reprogram apparatus, a consecutive range containing at least a predetermined minimum number of said specified unit blocks; transmitting, from the reprogram apparatus to the subject unit, range information containing a range start number and a range end number, the range start number being the serial number assigned to the specified unit block being a start of the consecutive range, the range end number being the serial number assigned to the specified unit block being an end of the consecutive range; transmitting, from the reprogram apparatus to the subject unit, transmit-target blocks that are the unit blocks of the plurality of unit blocks other than the specified unit blocks included in the consecutive range; and restoring, in the subject unit, the reprogram data set using (i) the specified unit blocks included in the consecutive range generated based on the range information and (ii) the transmit-target blocks that are transmitted from the reprogram apparatus, rewriting the program in the memory.
-
-
2. A reprogram apparatus linked with an in-vehicle communication system, the reprogram apparatus rewriting a program stored in a memory in a subject unit via the in-vehicle communication system, the subject unit being one of a plurality of electronic control units included in the in-vehicle communication system,
the reprogram apparatus comprising: -
a division section that divides a reprogram data set, which is used for rewriting the program, into a plurality of unit blocks, each unit block having a predetermined data length and a serial number; a specified unit block designation section that designates specified blocks having a prespecified value; a consecutive range designation section that designates a consecutive range containing at least a predetermined minimum number of said specified unit blocks; a range information transmission section that transmits range information containing a range start number and a range end number to the subject unit, the range start number being the serial number assigned to the unit block being a start of the consecutive range, the range end number being the serial number assigned to the unit block being an end of the consecutive range; and a block data transmission section that transmits transmit-target blocks to the subject unit, the transmit-target blocks being the unit blocks of the plurality of unit blocks other than the specified unit blocks included in the consecutive range.
-
-
3. An electronic control unit in an in-vehicle communication system linked with a reprogram apparatus, the electronic control unit containing a reprogrammable memory that stores a program,
the reprogram apparatus dividing a reprogram data set, which is used for rewriting the program, into a plurality of unit blocks, each unit block having a predetermined data length and a serial number, designating specified unit blocks having a prespecified value, designating a consecutive range containing at least a predetermined minimum number of said specified unit blocks, transmitting range information containing a range start number and a range end number to the subject unit, the range start number being the serial number assigned to the specified unit block being a start of the consecutive range, the range end number being the serial number assigned to the specified unit block being an end of the consecutive range, and transmitting, to the subject unit, transmit-target blocks that are the unit blocks of the plurality of unit blocks other than the specified unit blocks included in the consecutive range, the electronic control unit comprising: -
a range information reception section that receives the range information containing the range start number and the range end number from the reprogram apparatus via the in-vehicle communication system; a block data reception section that receives the transmit-target blocks that are the unit blocks of the plurality of unit blocks other than the specified unit blocks included in the consecutive range; and a rewrite section that restores the reprogram data set using (i) the specified unit blocks included in the consecutive range generated based on the range information and (ii) the transmit-target blocks that are transmitted from the reprogram apparatus, rewriting the program stored in the memory.
-
-
4. A reprogram apparatus linked with an in-vehicle communication system, the reprogram apparatus rewriting a program stored in a memory in a subject unit via the in-vehicle communication system, the subject unit being one of a plurality of electronic control units included in the in-vehicle communication system,
the reprogram apparatus comprising: -
means for dividing a reprogram data set, which is used for rewriting the program, into a plurality of unit blocks, each unit block having a predetermined data length and a serial number; means for designating prespecified unit blocks having a prespecified value, means for designating a consecutive range containing at least a predetermined minimum number of said specified unit blocks; means for transmitting range information containing a range start number and a range end number to the subject unit, the range start number being the serial number assigned to the unit block being a start of the consecutive range, the range end number being the serial number assigned to the unit block being an end of the consecutive range; and means for transmitting transmit-target blocks to the subject unit, the transmit-target blocks being the unit blocks of the plurality of unit blocks other than the specified unit blocks included in the consecutive range.
-
-
5. An electronic control unit in an in-vehicle communication system linked with a reprogram apparatus, the electronic control unit containing a reprogrammable memory that stores a program,
the reprogram apparatus dividing a reprogram data set, which is used for rewriting the program, into a plurality of unit blocks, each unit block having a predetermined data length and a serial number, designating specified unit blocks having a prespecified value, designating a consecutive range containing at least a predetermined minimum number of said specified unit blocks, transmitting range information containing a range start number and a range end number to the subject unit, the range start number being the serial number assigned to the specified unit block being a start of the consecutive range, the range end number being the serial number assigned to the specified unit block being an end of the consecutive range, and transmitting, to the subject unit, transmit-target blocks that are the unit blocks of the plurality of unit blocks other than the specified unit blocks included in the consecutive range, the electronic control unit comprising: -
means for receiving the range information containing the range start number and the range end number from the reprogram apparatus via the in-vehicle communication system; means for receiving the transmit-target blocks that are the unit blocks of the plurality of unit blocks other than the specified unit blocks included in the consecutive range; and means for restoring the reprogram data set using (i) the specified unit blocks included in the consecutive range generated based on the range information and (ii) the transmit-target blocks that are transmitted from the reprogram apparatus, rewriting the program stored in the memory.
-
Specification