摘要 |
Provided is an on-vehicle control apparatus capable of automatically initializing control variables in a backup RAM only in rewriting a control program in the market. The on-vehicle control apparatus includes a CPU for controlling an on-vehicle device according to a control program, a non-volatile ROM for storing the control program therein, a backup RAM for storing control variables therein, a backup power supply circuit for supplying power to the backup RAM, a boot program for rewriting the control program, an address changeover circuit for making a changeover in execution address, and a memory rewrite unit. The memory rewrite unit outputs a rewrite signal, a command signal group including a command for activating the boot program, and an erasure command signal for erasing a diagnostic code. The control program initializes the control variables in the backup RAM in response to the erasure command signal when being activated after having been rewritten.
|