Onboard control system for controlling devices installed on motor vehicle and method or rewriting control program and variables therefor
First Claim
1. A vehicle-onboard control system installed on a motor vehicle for controlling at least one device mounted on said vehicle, comprising:
- a central processing unit (11) for executing a control program by using various control variables to thereby control said device (40) mounted on said motor vehicle;
a writable non-volatile read-only memory (12) for storing said control program;
a backup random access memory (14) for storing said control variables;
a backup power supply (30) for supplying electric power to said backup random access memory (14);
a bootstrap program (13) for operating said central processing unit (11) to allow said control program to be rewritten;
an address changing interface (15) for locating said bootstrap program (13) at an address executable by said central processing unit (11) upon rewriting of said control program; and
a memory rewriting device (50) for outputting a rewrite signal (A) for actuating said address changing interface (15) and a command signal (C) for activating said bootstrap program (13);
wherein an initialization flag (FN) is provided in said backup random access memory
14) adapted to be set by said bootstrap program (13) in response to said command signal (C) upon rewriting of the said control program; and
wherein said control program responds to the set state of said initialization flag (FN) upon activation of said control program after having been rewritten, to thereby initialize said control variables stored in said backup random access memory (14).
1 Assignment
0 Petitions
Accused Products
Abstract
A vehicle-onboard control system for controlling various devices mounted on the motor vehicle. A control program for the control system can be altered through facilitated processing procedure with simple hardware structure while avoiding unfitness of control variables stored in a backup random access memory and used in executing the control program. A bootstrap program (13) responds to a command signal (C) issued by an external memory rewriting device (50) upon rewriting of the control program to thereby set an initialization flag (FN) in a backup RAM (14) containing control variables. The control program rewritten with updated data supplied from the memory rewriting device (50) responds to the set state of the initialization flag (FN) upon activation, to thereby initialize the control variables stored in the backup RAM (14) so that the control variables conform with the control program.
-
Citations
13 Claims
-
1. A vehicle-onboard control system installed on a motor vehicle for controlling at least one device mounted on said vehicle, comprising:
-
a central processing unit (11) for executing a control program by using various control variables to thereby control said device (40) mounted on said motor vehicle; a writable non-volatile read-only memory (12) for storing said control program; a backup random access memory (14) for storing said control variables; a backup power supply (30) for supplying electric power to said backup random access memory (14); a bootstrap program (13) for operating said central processing unit (11) to allow said control program to be rewritten; an address changing interface (15) for locating said bootstrap program (13) at an address executable by said central processing unit (11) upon rewriting of said control program; and a memory rewriting device (50) for outputting a rewrite signal (A) for actuating said address changing interface (15) and a command signal (C) for activating said bootstrap program (13); wherein an initialization flag (FN) is provided in said backup random access memory
14) adapted to be set by said bootstrap program (13) in response to said command signal (C) upon rewriting of the said control program; andwherein said control program responds to the set state of said initialization flag (FN) upon activation of said control program after having been rewritten, to thereby initialize said control variables stored in said backup random access memory (14). - View Dependent Claims (2, 3, 4, 5)
-
-
6. A vehicle-onboard control system installed on a motor vehicle for controlling at least one device mounted on said vehicle, comprising:
-
a central processing unit (11) for executing a control program by using various control variables to thereby control said device (40) mounted on said motor vehicle; a writable non-volatile read-only memory (12) for storing said control program; a backup random access memory (14) for storing said control variables; a backup power supply (30) for supplying electric power to said backup random access memory (14); a bootstrap program (13) for operating said central processing unit (11) to rewrite said control program; an address changing interface (15) for locating said bootstrap program (13) at an address executable by said central processing unit (11) upon rewriting of said control program; and a memory rewriting device (50) for outputting a rewrite signal (A) for actuating said address changing means interface (15) and a command signal (C) for activating said bootstrap program (13); wherein said control program, after have been rewritten, compares a decision reference value stored in said writable non-volatile read-only memory (12) with a predetermined value stored in said backup random access memory (14) to thereby initialize said backup random access memory (14) when discrepancy is detected between said decision reference value and said predetermined value; said bootstrap program responding to said command signal (C) to thereby update said decision reference value to an abnormal value; and wherein said control program initializes said backup random access memory (14) in response to a discrepancy between said abnormal value and said predetermined value upon activation of said control program after having been rewritten. - View Dependent Claims (7, 8)
-
-
9. A vehicle-onboard control system installed on a motor vehicle for controlling at least one device mounted on said vehicle, comprising:
-
a central processing unit (11) for executing a control program by using various control variables to control said device (40) mounted on said motor vehicle; a writable non-volatile read-only memory (12) for storing said control program; a backup random access memory (14) for storing said control variables; a backup power supply (30) for supplying electric power to said backup random access memory (14); a bootstrap program (13) for operating said central processing unit (11) to rewrite said control program; an address changing interface (15) for locating said bootstrap program (13) at an address executable by said central processing unit (11) upon rewriting of said control program; and a memory rewriting device (50) for outputting a rewrite signal (A) for actuating said address changing (15) and a command signal (C) for activating said bootstrap program (13); wherein a control variable processing flag (FC) adapted to be set in response to said command signal (C) upon rewriting of said control program is provided; said memory rewriting device (50) outputting a control variable data signal (D) together with said command signal (C); said command signal (C) containing a control variable initialize command; said control variable data signal (D) containing a number (n) of data for rewriting said control variable, a start address (ADS) for the rewriting and data for initialization (DN); said control variable processing flag (FC) being set up in response to said control variable initialize command; wherein upon rewriting of said control program, said bootstrap program (13) responds to the set state of said control variable processing flag (FC) to thereby initialize in accordance with said data (DN) for initialization the control variables stored at memory locations of said backup random access memory (14) which are determined by said number (n) of the data for rewriting and said rewrite start address (ADS).
-
-
10. A method for rewriting a control program stored in a writable non-volatile read-only memory (12) provided in a vehicle-onboard control system installed on a motor vehicle for controlling at least one device mounted on said vehicle, which system further includes a central processing unit (11) for executing the control program by using control variables to thereby control said device (40) mounted on said motor vehicle, a backup random access memory (14) for storing said control variables, a bootstrap program (13) for operating said central processing unit (11) to allow interrupt processing routines to be executed thereby, and a switching device (15) for changing over said bootstrap program and said control program with one another for execution by said central processing unit,
the method for rewriting said control program stored in said writable non-volatile read-only memory (12), comprising the steps of: -
issuing a command signal (A, C, D) for activating said bootstrap program to rewrite said control program; and providing information for allowing an altered control program resulting from said rewriting to initialize said control variables so that said control variables conform with said altered control program. - View Dependent Claims (11, 12, 13)
-
Specification