Memory rewriting system for vehicle controller
First Claim
1. A rewriting device for transferring a first program to a vehicle controller to rewrite a second program stored in a memory of the vehicle controller with the first program;
- wherein the first program is transferred as data blocks, each of the data blocks comprising a program code field for a partial program code of the first program, a first address field for a leading address of the memory in which the partial program code is stored, and a second address field for a leading address of the memory in which a following partial program code to be transferred by another data block is to be stored.
2 Assignments
0 Petitions
Accused Products
Abstract
A memory rewriting system for a vehicle controller is provided. The memory rewriting system transfers a first program from a rewriting device to the vehicle to rewrite a second program stored in a memory of the vehicle controller with the first program. The first program is transferred as data blocks. Each of the data blocks includes a program code field, a first address field and a second address field. The program code field contains a partial program code of the first program. The first address field contains a leading address of the memory in which the partial program code is stored. The second address field contains a leading address of the memory in which a following partial program code transferred by another block is to be stored. The data blocks are assembled in the rewriting device. Each data block is may be a fixed length or a variable length. When the data block is transferred to the vehicle controller, a first address in the first address field of the current transferred data block is compared with a second address in the second address field of the preceding transferred data block. If the first address included in the current data block is not equal to the second address included in the preceding data block, it is determined that the current transferred data block is not correct. The vehicle controller requests the rewriting device to retransfer a correct data block that has said second address in the first address field.
18 Citations
23 Claims
-
1. A rewriting device for transferring a first program to a vehicle controller to rewrite a second program stored in a memory of the vehicle controller with the first program;
wherein the first program is transferred as data blocks, each of the data blocks comprising a program code field for a partial program code of the first program, a first address field for a leading address of the memory in which the partial program code is stored, and a second address field for a leading address of the memory in which a following partial program code to be transferred by another data block is to be stored. - View Dependent Claims (2, 3, 4, 5, 6)
-
7. A vehicle controller for receiving a first program from a rewriting device to rewrite a second program stored in a memory mounted therein with the first program;
- and
wherein the first program is transferred as data blocks, each of the data blocks comprising a program code field for a partial program code of the first program, a first address field for a leading address of the memory in which the partial program code is stored, and a second address field for a leading address of the memory in which a following partial program code to be transferred by another data block is to be stored. - View Dependent Claims (8, 9)
- and
-
10. A memory rewriting system for a vehicle controller for transferring a first program from a rewriting device to a vehicle to rewrite a second program stored in a memory of the vehicle controller with the first program;
- and
wherein the first program is transferred as data blocks, each of the data blocks comprising a program code field for a partial program code of the first program, a first address field for a leading address of the memory in which the partial program code is stored, and a second address field for a leading address of the memory in which a following partial program code to be transferred by another data block is to be stored. - View Dependent Claims (11, 12, 13, 14, 15, 16, 17)
- and
-
18. A method for transferring a first program from a rewriting device to a vehicle controller to rewrite a second program stored in a memory of the vehicle controller with the first program, the method comprising:
-
at the rewriting device, assembling data blocks from program code of the first program, each of the data blocks including a program code field for a partial program code of the first program, a first address field for a leading address of the memory in which the partial program code is stored, and a second address field for a leading address of the memory in which a following partial program code transferred by another data block is t o be stored; and
transferring the data blocks from the rewriting device to the vehicle controller. - View Dependent Claims (19, 20, 21, 22, 23)
at the vehicle controller, comparing a first address in the first address field of a current transferred data block with a second address in the second address field of a preceding transferred data block; and
at the vehicle controller, determining the current transferred data block is correct if the first address included in the current transferred data block is equal to the second address included in the preceding transferred data block in the vehicle controller.
-
-
20. The method of claim 19, further comprising
transferring the second address included in the preceding transferred data block from the vehicle controller to the rewriting device if it is determined that the current transferred data block is not correct, for requesting the rewriting device to retransfer a correct data block that has said second address in the first address field; - and
retransferring the correct data block from the rewriting device to the vehicle controller.
- and
-
21. The method of claim 20, wherein the retransfer of the correct data block is performed if the second address transferred from the vehicle controller is within a predetermined range.
-
22. The memory rewriting system of claim 21, the predetermined range includes an address value in the first address field of a data block transferred immediately before the retransfer request, an address value in the first address field of the data block preceding such data block, and an address value in the first address field of the data block that was to be transferred following such data block.
-
23. The method of claim 20, further comprises retransferring data blocks of the first program from the beginning if a difference between the second address transferred from the vehicle controller and an address in the first address field of the data block transferred immediately before the retransfer request is greater than a predetermined value.
Specification