Patent ID: 9720474
Date: 2017-08-01
CPC Classifications: G06F

Claim:
1. An electronic control unit mounted in an object comprising: a rewritable memory that stores control software and reprogramming software; a not-always-on power supply system micro-computer that operates in a control mode as an operating mode based on the control software and in a reprogramming mode as an operating mode based on the reprogramming software, wherein the reprogramming mode provides to rewrite the control software stored in the memory, and the not-always-on power supply system micro-computer is connected with a power source to be supplied an electric power from the power source according to a user operation, and is disconnected from the power source to stop supplying the electric power according to the user operation; and an always-on power supply system micro-computer that operates in the control mode and in the reprogramming mode, wherein the always-on power supply system micro-computer is constantly connected with the power source to be supplied the electric power from the power source without the user operation, wherein each of the not-always-on power supply system micro-computer and the always-on power supply system micro-computer includes: wherein, when it is determined that the control software is not normally written in the memory, the second mode determination device determines to operate in the reprogramming mode, and instructs another micro-computer to operate in the reprogramming mode, wherein the first mode determination device determines not to operate in the on-board mode when the first mode determination device is not instructed to operate in the reprogramming mode, wherein the first mode determination device determines to operate in the on-board mode when the first mode determination device is instructed to operate in the reprogramming mode, wherein the always-on power supply system micro-computer includes a first transition device that detects a change in a power supply state of the not-always-on power supply system micro-computer when the operation is carried out in the reprogramming mode and the control software is being rewritten, wherein the first transition device switches a processing to a determination executed by the first mode determination device when the first transition device detects that the power supply state has changed.