JP2011218922A - Control device for vehicle and method of rewriting program - Google Patents

Control device for vehicle and method of rewriting program Download PDF

Info

Publication number
JP2011218922A
JP2011218922A JP2010088810A JP2010088810A JP2011218922A JP 2011218922 A JP2011218922 A JP 2011218922A JP 2010088810 A JP2010088810 A JP 2010088810A JP 2010088810 A JP2010088810 A JP 2010088810A JP 2011218922 A JP2011218922 A JP 2011218922A
Authority
JP
Japan
Prior art keywords
rewrite
rewriting
external
command
communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2010088810A
Other languages
Japanese (ja)
Inventor
Yuki Tashiro
勇気 田代
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Keihin Corp
Original Assignee
Keihin Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Keihin Corp filed Critical Keihin Corp
Priority to JP2010088810A priority Critical patent/JP2011218922A/en
Priority to PCT/JP2011/058602 priority patent/WO2011126004A1/en
Priority to CN201180027744.7A priority patent/CN102933427B/en
Priority to EP11765904.5A priority patent/EP2556998A4/en
Priority to TW100111816A priority patent/TWI539274B/en
Publication of JP2011218922A publication Critical patent/JP2011218922A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a control device for vehicle which copes with such a state that there coexist a plurality of types of external rewrite devices using different communication protocols.SOLUTION: The control device for vehicle for carrying out communication connection to a plurality of types of external rewrite devices using different communication protocols includes a storage device for storing control program, a control section that rewrites the control program in response to rewrite commands received from the external rewrite devices connected to local devices for communication. In the control device for vehicle, the control section distinguishes the types of the external write devices connected to the local devices for communication based on header information of the rewrite commands received each time the rewrite commands are received and performs rewriting according to the protocols.

Description

本発明は、車両用制御装置及びプログラム書換え方法に関する。  The present invention relates to a vehicle control device and a program rewriting method.

下記特許文献1には、ECU(Electronic Control Unit)等の車両用制御装置に格納されている制御プログラムの書換えを、車両用制御装置が車両に搭載された状態で行うことの可能な技術が開示されている。   Patent Document 1 listed below discloses a technique capable of rewriting a control program stored in a vehicle control device such as an ECU (Electronic Control Unit) while the vehicle control device is mounted on the vehicle. Has been.

特開2009−123226号公報JP 2009-123226 A

従来、ECUに格納された制御プログラムの書換えには、開発用の外部書換え装置(リライト)が用いられていたが、この開発用リライトは専ら車両開発現場でしか使用できなかった。しかし、近年、自動車の電子制御は複雑化しており、プログラム不具合の市場流出が無視できない状況となってきており、市場に出回った制御装置に対しても書換えができるよう市場用リライトの導入が進みつつある。  Conventionally, an external rewriting device (rewrite) for development has been used to rewrite the control program stored in the ECU. However, this rewrite for development has been used exclusively at the vehicle development site. However, in recent years, electronic control of automobiles has become complicated, and it has become impossible to ignore the outflow of program defects on the market, and the introduction of market rewrite has progressed so that rewriting can be performed even for control devices on the market. It's getting on.

しかしながら、近い将来、開発用リライトと市場用リライトとが共存するような状況になった場合、両リライトで使用される通信プロトコルが必ずしも一致しているとは限らないため、ECU側で通信プロトコルの判別(つまり、書き換え機種の判別)を行う必要が生じると考えられる。この点、上記特許文献1の技術や従来の開発用リライトのみを用いた制御プログラムの書換えでは、単一の通信プロトコルによる書換えしか考慮しておらず、開発用リライトと市場用リライトとが共存するような状況に対応できない。  However, if development rewrite and market rewrite coexist in the near future, the communication protocol used in both rewrites may not always match, so the communication protocol on the ECU side does not always match. It is considered that it is necessary to perform discrimination (that is, discrimination of a rewritten model). In this regard, in the rewriting of the control program using only the technology of Patent Document 1 and the conventional development rewrite, only rewriting by a single communication protocol is considered, and the development rewrite and the market rewrite coexist. It cannot cope with such a situation.

本発明は、上述した事情に鑑みてなされたものであり、異なる通信プロトコルを使用する複数機種の外部書換え装置が共存するような状況にも対応可能な車両用制御装置及びプログラム書換え方法を提供することを目的とする。    The present invention has been made in view of the above-described circumstances, and provides a vehicle control device and a program rewriting method that can cope with a situation in which a plurality of types of external rewriting devices using different communication protocols coexist. For the purpose.

上記課題を解決するために、本発明では、車両用制御装置に係る第1の解決手段として、異なる通信プロトコルを使用する複数機種の外部書換え装置との通信接続が可能な車両用制御装置であって、制御プログラムを記憶する記憶部と、自装置に通信接続された前記外部書換え装置から受信した書換えコマンドに応じて前記制御プログラムの書換えを行う制御部と、を備え、前記制御部は、前記書換えコマンドを受信する度に当該受信した書換えコマンドのヘッダ情報に基づいて、前記自装置に通信接続された外部書換え装置の機種を判別することを特徴とする。
このような車両用制御装置によれば、異なる通信プロトコルを使用する複数機種の外部書換え装置が共存するような状況であっても、自装置に接続された外部書換え装置の機種を判別することができる。
In order to solve the above-described problems, the present invention provides a vehicle control device capable of communication connection with a plurality of types of external rewriting devices using different communication protocols as a first solution means for a vehicle control device. A storage unit that stores the control program, and a control unit that rewrites the control program in response to a rewrite command received from the external rewriting device that is communicatively connected to the own device. Each time a rewrite command is received, the model of the external rewrite device connected to the own device is determined based on header information of the received rewrite command.
According to such a vehicle control device, it is possible to determine the model of the external rewriting device connected to the own device even in a situation where a plurality of types of external rewriting devices using different communication protocols coexist. it can.

また、本発明では、車両用制御装置に係る第2の解決手段として、上記第1の解決手段において、前記記憶部は、前記複数機種の外部書換え装置の各々に対応する通信プロトコルを記憶しており、前記制御部は、前記記憶部に記憶されている各通信プロトコルの内、前記書換えコマンドのヘッダ情報に基づいて判別した前記外部書換え装置の機種に対応する通信プロトコルを用いて、前記自装置に通信接続された外部書換え装置との通信及び前記書換えコマンドに応じた前記制御プログラムの書換えを行うことを特徴とする。
このような車両用制御装置によれば、自装置に接続された外部書換え装置の機種を判別し、その判別した機種に対応する通信プロトコルを用いて外部書換え装置との通信及び制御プログラムの書換えを行うことができる。
In the present invention, as the second solving means relating to the vehicle control device, in the first solving means, the storage unit stores a communication protocol corresponding to each of the plurality of types of external rewriting devices. The control unit uses the communication protocol corresponding to the model of the external rewriting device determined based on the header information of the rewriting command among the communication protocols stored in the storage unit. The communication program is communicated with an external rewriting device, and the control program is rewritten in accordance with the rewrite command.
According to such a vehicle control device, the model of the external rewriting device connected to the own device is determined, and communication with the external rewriting device and rewriting of the control program are performed using a communication protocol corresponding to the determined model. It can be carried out.

一方、本発明では、プログラム書換え方法に係る第1の解決手段として、異なる通信プロトコルを使用する複数機種の外部書換え装置のいずれかから車両用制御装置へ書換えコマンドを送信することにより、前記車両用制御装置の制御プログラムの書換えを行うプログラム書換え方法であって、前記車両用制御装置は、前記書換えコマンドを受信する度に当該受信した書換えコマンドのヘッダ情報に基づいて、自装置に通信接続された前記外部書換え装置の機種を判別することを特徴とする。   On the other hand, in the present invention, as a first solving means related to the program rewriting method, by transmitting a rewrite command from any of a plurality of types of external rewriting devices using different communication protocols to the vehicle control device, A program rewriting method for rewriting a control program of a control device, wherein the vehicle control device is communicatively connected to its own device based on header information of the received rewrite command every time the rewrite command is received. A model of the external rewriting apparatus is determined.

また、本発明では、プログラム書換え方法に係る第2の解決手段として、上記第1の解決手段において、前記車両用制御装置は、前記複数機種の外部書換え装置の各々に対応する通信プロトコルを記憶しており、前記書換えコマンドのヘッダ情報に基づいて判別した前記外部書換え装置の機種に対応する通信プロトコルを用いて、前記自装置に通信接続された外部書換え装置との通信及び前記書換えコマンドに応じた前記制御プログラムの書換えを行うことを特徴とする。   In the present invention, as the second solving means relating to the program rewriting method, in the first solving means, the vehicle control device stores a communication protocol corresponding to each of the plurality of types of external rewriting devices. Using the communication protocol corresponding to the model of the external rewriting device determined based on the header information of the rewriting command, and communicating with the external rewriting device connected to the own device and responding to the rewriting command. The control program is rewritten.

本発明によると、異なる通信プロトコルを使用する複数機種の外部書換え装置が共存するような状況にも対応可能な車両用制御装置及びプログラム書換え方法を提供することができる。  According to the present invention, it is possible to provide a vehicle control device and a program rewriting method that can cope with a situation in which multiple types of external rewriting devices using different communication protocols coexist.

本実施形態におけるECU1(車両用制御装置)のブロック構成図である。It is a block block diagram of ECU1 (control apparatus for vehicles) in this embodiment. CPU1dが制御プログラムの書換え時に実行するコマンド判断処理を表すフローチャートである。It is a flowchart showing the command judgment process which CPU1d performs at the time of rewriting of a control program. 開発用リライトA及び市場用リライトBから送信される書換えコマンドのデータ内容の一例を示したものである。An example of data contents of a rewrite command transmitted from development rewrite A and market rewrite B is shown. 変形例におけるコマンド判断処理を表すフローチャートである。It is a flowchart showing the command determination process in a modification.

以下、本発明の一実施形態について、図面を参照しながら説明する。
図1は、本実施形態における車両用制御装置(以下、ECUと称す)1のブロック構成図である。この図1に示すように、本実施形態におけるECU1は、異なる通信プロトコルを使用する2機種の外部書換え装置(開発用リライトA、市場用リライトB)との通信接続が可能なECUであり、通信I/F1aと、ROM(Read Only Memory)1bと、RAM(Random Access Memory)1cと、CPU(Central Processing Unit)1dとを内蔵している。
Hereinafter, an embodiment of the present invention will be described with reference to the drawings.
FIG. 1 is a block configuration diagram of a vehicle control device (hereinafter referred to as ECU) 1 in the present embodiment. As shown in FIG. 1, the ECU 1 in this embodiment is an ECU that can be connected to and communicate with two types of external rewriting devices (development rewrite A and market rewrite B) that use different communication protocols. An I / F 1a, a ROM (Read Only Memory) 1b, a RAM (Random Access Memory) 1c, and a CPU (Central Processing Unit) 1d are incorporated.

通信I/F1aは、不図示の通信線を介して開発用リライトA或いは市場用リライトBと接続され、CPU1dによる制御の下、開発用リライトA或いは市場用リライトBとECU1とのデータ通信を実現する通信インターフェイスである。なお、図1では、開発用リライトAが通信I/F1aに接続された状態を図示しているが、開発用リライトAに替えて市場用リライトBを接続することも可能である。  The communication I / F 1a is connected to the development rewrite A or the market rewrite B via a communication line (not shown), and realizes data communication between the development rewrite A or the market rewrite B and the ECU 1 under the control of the CPU 1d. Communication interface. Although FIG. 1 illustrates a state in which the development rewrite A is connected to the communication I / F 1a, a market rewrite B can be connected instead of the development rewrite A.

ROM1b(記憶部)は、CPU1dの車両制御機能を実現するための制御プログラムや、開発用リライトA及び市場用リライトBの各々に対応する通信プロトコルなどを予め記憶している書換え可能な不揮発性メモリである。RAM1cは、CPU1dが制御プログラムに従って各種処理を実行する際に、データの一時保存先に用いられる揮発性のワーキングメモリである。  The ROM 1b (storage unit) is a rewritable nonvolatile memory that stores in advance a control program for realizing the vehicle control function of the CPU 1d, a communication protocol corresponding to each of the development rewrite A and the market rewrite B, and the like. It is. The RAM 1c is a volatile working memory used as a temporary data storage destination when the CPU 1d executes various processes according to the control program.

CPU1d(制御部)は、ROM1bに記憶されている制御プログラムに従って、車両制御に必要な各種処理を実行する中央演算処理装置である。また、このCPU1dは、自装置(ECU1)に通信接続された開発用リライトA或いは市場用リライトBから受信した書換えコマンドに応じて、ROM1bに記憶されている制御プログラムの書換えを行う機能も有している。以下では、このCPU1dが有する制御プログラムの書換え機能について、図2及び図3を参照しながら詳細に説明する。  The CPU 1d (control unit) is a central processing unit that executes various processes necessary for vehicle control in accordance with a control program stored in the ROM 1b. The CPU 1d also has a function of rewriting the control program stored in the ROM 1b in response to a rewrite command received from the development rewrite A or the market rewrite B connected to the own apparatus (ECU 1). ing. Below, the rewriting function of the control program which this CPU1d has is demonstrated in detail, referring FIG.2 and FIG.3.

図2は、CPU1dが制御プログラムの書換え時に実行するコマンド判断処理を表すフローチャートである。この図2に示すように、CPU1dは、通信I/F1aを介して開発用リライトA或いは市場用リライトB(この時点ではどちらのリライトが接続されているか判断できない)から書換えコマンドを受信すると、当該受信した書換えコマンドから先頭の1バイト目のデータをヘッダ情報として抽出する(ステップS1)。  FIG. 2 is a flowchart showing a command determination process executed by the CPU 1d when the control program is rewritten. As shown in FIG. 2, when the CPU 1d receives a rewrite command from the development rewrite A or the market rewrite B (which cannot be determined at this time) via the communication I / F 1a, The first byte of data is extracted as header information from the received rewrite command (step S1).

図3は、開発用リライトA及び市場用リライトBから送信される書換えコマンドのデータ内容の一例を示したものである。この図3に示すように、開発用リライトAから送信される書換えコマンドの先頭1バイト目のデータは「7B」或いは「7C」となる一方、市場用リライトBから送信される書換えコマンドの先頭1バイト目のデータは「7D」或いは「7E」となる。従って、受信した書換えコマンドの先頭1バイト目のデータを確認することで、ECU1に接続されたリライトの機種(開発用リライトAなのか市場用リライトBなのか)を判別することができる。  FIG. 3 shows an example of the data contents of the rewrite command transmitted from the development rewrite A and the market rewrite B. As shown in FIG. 3, the first byte data of the rewrite command transmitted from the development rewrite A is “7B” or “7C”, while the first 1 of the rewrite command transmitted from the market rewrite B. The byte data is “7D” or “7E”. Accordingly, by confirming the data of the first byte of the received rewrite command, it is possible to determine the type of rewrite (development rewrite A or market rewrite B) connected to the ECU 1.

図2に戻り、CPU1dは、上記ステップS1にて抽出したデータを基に、受信コマンドは開発用リライトAから受信したものか(自装置に通信接続されたリライトの機種は開発用リライトAか)否かを判定する(ステップS2)。そして、CPU1dは、このステップS2において「Yes」の場合、つまりECU1に開発用リライトAが接続されていると判別した場合、開発用リライトAに対応する通信プロトコルを用いて開発用リライトAとの通信(コマンドに対するレスポンスの返送など)、及び書換えコマンドに応じた制御プログラムの書換え処理を実行する(ステップS3)。  Returning to FIG. 2, based on the data extracted in step S <b> 1, the CPU 1 d receives the received command from the development rewrite A (is the rewrite model communicably connected to its own device the development rewrite A)? It is determined whether or not (step S2). If “Yes” is determined in step S2, that is, if the CPU 1d determines that the development rewrite A is connected to the ECU 1, the CPU 1d uses the communication protocol corresponding to the development rewrite A to communicate with the development rewrite A. Communication (return of a response to the command, etc.) and a control program rewrite process corresponding to the rewrite command are executed (step S3).

一方、CPU1dは、上記ステップS2において「No」の場合、上記ステップS1にて抽出したデータを基に、受信コマンドは市場用リライトBから受信したものか(自装置に通信接続されたリライトの機種は市場用リライトBか)否かを判定する(ステップS4)。CPU1dは、このステップS4において「Yes」の場合、つまりECU1に市場用リライトBが接続されていると判別した場合、市場用リライトBに対応する通信プロトコルを用いて市場用リライトBとの通信(コマンドに対するレスポンスの返送など)、及び書換えコマンドに応じた制御プログラムの書換え処理を実行する(ステップS5)。  On the other hand, if “No” in step S2, the CPU 1d determines whether the received command is received from the market rewrite B based on the data extracted in step S1 (the model of the rewrite connected to the own device). Is a market rewrite B) (step S4). If “Yes” in step S4, that is, if it is determined that the market rewrite B is connected to the ECU 1, the CPU 1d communicates with the market rewrite B using a communication protocol corresponding to the market rewrite B ( A response to the command is returned, and a control program rewrite process is executed according to the rewrite command (step S5).

一方、CPU1dは、上記ステップS4において「No」の場合、つまり自装置に通信接続されたリライトの機種が開発用リライトAと市場用リライトBのどちらにも当てはまらない場合、制御プログラムの書換え処理を行わずにコマンド判断処理を終了する。
なお、CPU1dは、通信I/F1aを介して書換えコマンドを受信する毎に、上述したステップS1〜S4の処理を実行する。
On the other hand, if “No” in step S4, that is, if the rewrite model connected to the own apparatus does not correspond to either the development rewrite A or the market rewrite B, the CPU 1d performs a rewrite process of the control program. The command determination process is terminated without performing it.
Note that the CPU 1d executes the above-described processes of steps S1 to S4 each time it receives a rewrite command via the communication I / F 1a.

以上説明したように、本実施形態におけるECU1によれば、自装置に接続されたリライトの機種判別(通信プロトコルの判別)を行うことができるため、異なる通信プロトコルを使用する開発用リライトA及び市場用リライトBが共存するような状況に対応することが可能となる。  As described above, according to the ECU 1 in the present embodiment, since the model of the rewrite connected to the own device (communication protocol determination) can be performed, the development rewrite A and the market that use different communication protocols. It is possible to cope with a situation where the rewrite B for use coexists.

なお、本発明は上記実施形態に限定されず、以下のような変形例が挙げられる。
(1)上記実施形態では、異なる通信プロトコルを使用する2機種の外部書換え装置(開発用リライトA、市場用リライトB)が共存するような状況を想定して説明したが、本発明はこれに限定されず、異なる通信プロトコルを使用する3機種以上の外部書換え装置が共存するような状況においても本発明を適用することができる。
In addition, this invention is not limited to the said embodiment, The following modifications are mentioned.
(1) In the above embodiment, the description has been made on the assumption that two types of external rewriting devices (development rewrite A and market rewrite B) that use different communication protocols coexist. Without being limited thereto, the present invention can be applied even in a situation where three or more types of external rewriting apparatuses using different communication protocols coexist.

図4は、例えば、異なる通信プロトコルを使用する3機種の外部書換え装置(開発用リライトA、市場用リライトB、市場リライトC)が共存するような状況を想定した場合において、CPU1dが制御プログラムの書換え時に実行するコマンド判断処理を表すフローチャートである。なお、図4において図2と同じステップには同一符号を付している。  FIG. 4 shows a case where, for example, a situation in which three types of external rewriting devices (development rewrite A, market rewrite B, and market rewrite C) using different communication protocols coexist is controlled by the CPU 1d. It is a flowchart showing the command judgment process performed at the time of rewriting. In FIG. 4, the same steps as those in FIG.

この図4に示すように、開発用リライトA、市場用リライトB及び市場リライトCが共存するような状況において、CPU1dは、ステップS4で「No」の場合に、受信コマンドは市場用リライトCから受信したものか(自装置に通信接続されたリライトの機種は市場用リライトCか)否かを判定する(ステップS6)。  As shown in FIG. 4, in a situation where development rewrite A, market rewrite B, and market rewrite C coexist, CPU 1d determines that the received command is from market rewrite C if “No” in step S4. It is determined whether or not it has been received (the rewrite model communicatively connected to its own device is the market rewrite C) (step S6).

CPU1dは、このステップS6において「Yes」の場合、つまりECU1に市場用リライトCが接続されていると判別した場合、市場用リライトCに対応する通信プロトコルを用いて市場用リライトCとの通信(コマンドに対するレスポンスの返送など)、及び書換えコマンドに応じた制御プログラムの書換え処理を実行する(ステップS7)。一方、CPU1dは、上記ステップS6において「No」の場合、つまり自装置に通信接続されたリライトの機種が開発用リライトA、市場用リライトB及び市場用リライトCのどれにも当てはまらない場合、制御プログラムの書換え処理を行わずにコマンド判断処理を終了する。  If “Yes” in step S6, that is, if it is determined that the market rewrite C is connected to the ECU 1, the CPU 1d communicates with the market rewrite C using a communication protocol corresponding to the market rewrite C ( A response to the command is returned, and a rewrite process of the control program according to the rewrite command is executed (step S7). On the other hand, in the case of “No” in step S6, that is, the CPU 1d performs the control when the rewrite model connected to its own apparatus does not correspond to any of the development rewrite A, the market rewrite B, and the market rewrite C. The command determination process is terminated without rewriting the program.

(2)上記実施形態では、図2のステップS2において、受信コマンドは開発用リライトAから受信したものか否かを判定し、ステップS4において、受信コマンドは市場用リライトBから受信したものか否かを判定する場合を例示したが、これらのステップの内容を入れ替えても良い。つまり、図2のステップS2において、受信コマンドは市場用リライトBから受信したものか否かを判定し、ステップS4において、受信コマンドは開発用リライトAから受信したものか否かを判定するようにしても良い。勿論、この場合には、ステップS3とS5の内容も入れ替える必要がある。 (2) In the above embodiment, it is determined in step S2 of FIG. 2 whether or not the received command is received from development rewrite A. In step S4, whether or not the received command is received from market rewrite B. However, the contents of these steps may be interchanged. That is, in step S2 of FIG. 2, it is determined whether or not the received command is received from the market rewrite B. In step S4, it is determined whether or not the received command is received from the development rewrite A. May be. Of course, in this case, the contents of steps S3 and S5 also need to be interchanged.

同様に、上記変形例(1)では、図4のステップS2において、受信コマンドは開発用リライトAから受信したものか否かを判定し、ステップS4において、受信コマンドは市場用リライトBから受信したものか否かを判定し、ステップS6において、受信コマンドは市場用リライトCから受信したものか否かを判定する場合を例示したが、これらのステップの内容を入れ替えても良い。   Similarly, in the modified example (1), it is determined in step S2 of FIG. 4 whether or not the received command is received from the development rewrite A. In step S4, the received command is received from the market rewrite B. Although it is determined whether or not the received command is received from the market rewrite C in step S6, the contents of these steps may be interchanged.

1…ECU(車両用制御装置)、1a…通信I/F、1b…ROM、1c…RAM、1d…CPU、A…開発用リライト(外部書換え装置)、B…市場用リライト(外部書換え装置)   DESCRIPTION OF SYMBOLS 1 ... ECU (control apparatus for vehicles), 1a ... Communication I / F, 1b ... ROM, 1c ... RAM, 1d ... CPU, A ... Development rewrite (external rewrite device), B ... Market rewrite (external rewrite device)

Claims (4)

異なる通信プロトコルを使用する複数機種の外部書換え装置との通信接続が可能な車両用制御装置であって、
制御プログラムを記憶する記憶部と、
自装置に通信接続された前記外部書換え装置から受信した書換えコマンドに応じて前記制御プログラムの書換えを行う制御部と、を備え、
前記制御部は、前記書換えコマンドを受信する度に当該受信した書換えコマンドのヘッダ情報に基づいて、前記自装置に通信接続された外部書換え装置の機種を判別することを特徴とする車両用制御装置。
A vehicle control device capable of communication connection with multiple types of external rewriting devices using different communication protocols,
A storage unit for storing the control program;
A control unit that rewrites the control program in response to a rewrite command received from the external rewriting device that is connected to the device by communication,
Each time the control unit receives the rewrite command, the control unit determines a model of the external rewrite device connected to the own device based on header information of the received rewrite command. .
前記記憶部は、前記複数機種の外部書換え装置の各々に対応する通信プロトコルを記憶しており、
前記制御部は、前記記憶部に記憶されている各通信プロトコルの内、前記書換えコマンドのヘッダ情報に基づいて判別した前記外部書換え装置の機種に対応する通信プロトコルを用いて、前記自装置に通信接続された外部書換え装置との通信及び前記書換えコマンドに応じた前記制御プログラムの書換えを行うことを特徴とする請求項1に記載の車両用制御装置。
The storage unit stores a communication protocol corresponding to each of the multiple types of external rewriting devices,
The control unit communicates with the own device using a communication protocol corresponding to a model of the external rewriting device determined based on header information of the rewriting command among communication protocols stored in the storage unit. The vehicle control device according to claim 1, wherein communication with a connected external rewriting device and rewriting of the control program according to the rewriting command are performed.
異なる通信プロトコルを使用する複数機種の外部書換え装置のいずれかから車両用制御装置へ書換えコマンドを送信することにより、前記車両用制御装置の制御プログラムの書換えを行うプログラム書換え方法であって、
前記車両用制御装置は、前記書換えコマンドを受信する度に当該受信した書換えコマンドのヘッダ情報に基づいて、自装置に通信接続された前記外部書換え装置の機種を判別することを特徴とするプログラム書換え方法。
A program rewriting method for rewriting a control program of the vehicle control device by transmitting a rewrite command from any of a plurality of types of external rewrite devices using different communication protocols to the vehicle control device,
Each time the vehicular control device receives the rewrite command, the vehicular control device determines a model of the external rewrite device connected to the own device based on header information of the received rewrite command. Method.
前記車両用制御装置は、前記複数機種の外部書換え装置の各々に対応する通信プロトコルを記憶しており、前記書換えコマンドのヘッダ情報に基づいて判別した前記外部書換え装置の機種に対応する通信プロトコルを用いて、前記自装置に通信接続された外部書換え装置との通信及び前記書換えコマンドに応じた前記制御プログラムの書換えを行うことを特徴とする請求項3に記載のプログラム書換え方法。   The vehicle control device stores a communication protocol corresponding to each of the plurality of types of external rewriting devices, and the communication protocol corresponding to the type of the external rewriting device determined based on header information of the rewriting command. 4. The program rewriting method according to claim 3, wherein communication with an external rewriting device that is communicatively connected to the own device and rewriting of the control program according to the rewriting command are performed.
JP2010088810A 2010-04-07 2010-04-07 Control device for vehicle and method of rewriting program Pending JP2011218922A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP2010088810A JP2011218922A (en) 2010-04-07 2010-04-07 Control device for vehicle and method of rewriting program
PCT/JP2011/058602 WO2011126004A1 (en) 2010-04-07 2011-04-05 Vehicle control device and program rewrite method
CN201180027744.7A CN102933427B (en) 2010-04-07 2011-04-05 Vehicle console device and program rewriting method
EP11765904.5A EP2556998A4 (en) 2010-04-07 2011-04-05 Vehicle control device and program rewrite method
TW100111816A TWI539274B (en) 2010-04-07 2011-04-06 Vehicle control apparatus and method of rewriting program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010088810A JP2011218922A (en) 2010-04-07 2010-04-07 Control device for vehicle and method of rewriting program

Publications (1)

Publication Number Publication Date
JP2011218922A true JP2011218922A (en) 2011-11-04

Family

ID=45036458

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010088810A Pending JP2011218922A (en) 2010-04-07 2010-04-07 Control device for vehicle and method of rewriting program

Country Status (1)

Country Link
JP (1) JP2011218922A (en)

Similar Documents

Publication Publication Date Title
JP5353545B2 (en) In-vehicle network device
JP2017059211A (en) Gateway device, vehicle-mounted network system, and firmware update method
JP4987760B2 (en) Relay device, communication system, and communication method
JP5979025B2 (en) Vehicle gateway device
JP2010023556A (en) Electronic control device
JP7087334B2 (en) Electronic control device
WO2019221058A1 (en) Vehicle-mounted relay device, communication system, bus determination method, and computer program
JP5476956B2 (en) Communication system and communication method
JP2011218922A (en) Control device for vehicle and method of rewriting program
JP5292354B2 (en) Vehicle control device and program rewriting method
WO2014171039A1 (en) Program-data modification method, control device, program-data modification program, recording medium, and tool device
WO2020195034A1 (en) Vehicle-mounted update device, update processing system, update processing method, and processing program
JP2009087107A (en) Control system for vehicle
JP2010231809A (en) Controller and computer program
JP5236376B2 (en) Network system rewriting device
WO2011126004A1 (en) Vehicle control device and program rewrite method
JP6631676B2 (en) In-vehicle update device, update system and update processing program
JP2004040649A (en) On-vehicle communication equipment
JP2021149605A (en) Electronic control device and program re-write control method
JP6696452B2 (en) In-vehicle control device
JP7081415B2 (en) Communication equipment, communication methods, and communication programs
JP2018199457A (en) Vehicular control device, and program rewriting method
JP2009010851A (en) On-vehicle gateway device
JP2020189586A (en) Data rewriting method and data rewriting system
JP5989193B1 (en) Software update system