JP6692400B2 - Electronic control unit for automobile - Google Patents

Electronic control unit for automobile Download PDF

Info

Publication number
JP6692400B2
JP6692400B2 JP2018224148A JP2018224148A JP6692400B2 JP 6692400 B2 JP6692400 B2 JP 6692400B2 JP 2018224148 A JP2018224148 A JP 2018224148A JP 2018224148 A JP2018224148 A JP 2018224148A JP 6692400 B2 JP6692400 B2 JP 6692400B2
Authority
JP
Japan
Prior art keywords
program
writing
data
ecu
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.)
Active
Application number
JP2018224148A
Other languages
Japanese (ja)
Other versions
JP2019040633A (en
Inventor
雄介 阿部
雄介 阿部
康司 湯浅
康司 湯浅
新井 敏央
敏央 新井
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.)
Hitachi Astemo Ltd
Original Assignee
Hitachi Automotive Systems Ltd
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 Hitachi Automotive Systems Ltd filed Critical Hitachi Automotive Systems Ltd
Priority to JP2018224148A priority Critical patent/JP6692400B2/en
Publication of JP2019040633A publication Critical patent/JP2019040633A/en
Application granted granted Critical
Publication of JP6692400B2 publication Critical patent/JP6692400B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Description

本発明は、自動車用電子制御装置に関する。   The present invention relates to a vehicle electronic control device.

自動車用のECU(Electronic Control Unit)などの自動車用電子制御装置は、電気的にデータの消去及び書込みが可能な不揮発性メモリ(例えば、フラッシュROM(Read-Only Memory))を搭載している。電子制御装置は、不揮発性メモリに格納された制御プログラム等によって車載装置(例えば、燃料噴射装置)を制御する。   An electronic control unit for an automobile such as an ECU (Electronic Control Unit) for an automobile is equipped with a nonvolatile memory (for example, a flash ROM (Read-Only Memory)) capable of electrically erasing and writing data. The electronic control device controls an in-vehicle device (for example, a fuel injection device) by a control program or the like stored in a non-volatile memory.

不揮発性メモリに制御プログラム等のデータを書込むとき、特開2008−146521号公報(特許文献1)に記載されているように、書込みデータを電子制御装置に転送するための書込みツールを電子制御装置に接続する。そして、書込みツールから電子制御装置に書込みデータを転送しながら、電子制御装置が、書込みデータを不揮発性メモリに書込む。   When writing data such as a control program to the non-volatile memory, as described in Japanese Patent Application Laid-Open No. 2008-146521 (Patent Document 1), a writing tool for transferring write data to an electronic control device is electronically controlled. Connect to equipment. Then, the electronic control device writes the write data in the nonvolatile memory while transferring the write data from the writing tool to the electronic control device.

特開2008−146521号公報JP, 2008-146521, A

ところで、自動車用電子制御装置は、通信相手となる装置ごとに異なる通信バッファを使用することで通信を行う。よって、自動車用電子制御装置は、書込みツールから転送される書込みデータを受信するとき、その書込みツールとの通信用に割当てられた通信バッファしか使用できないため、1回の通信で受信できるデータのサイズは限られていた。
従って、例えば、書込みツールからデータを1回受信するごとにその応答を書込みツールに送信するような同期を取る通信の場合、自動車用電子制御装置は、受信する回数と同じ回数の送信を行うことになる。このため、自動車用電子制御装置と書込みツールとの間で通信する回数が多くなり、書込みデータを転送する時間を長くする原因の1つとなっていた。
By the way, the electronic control unit for a vehicle performs communication by using a different communication buffer for each device as a communication partner. Therefore, when receiving the write data transferred from the writing tool, the vehicle electronic control unit can use only the communication buffer allocated for the communication with the writing tool, and therefore the size of the data that can be received in one communication. Was limited.
Therefore, for example, in the case of communication in which the response is transmitted to the writing tool every time data is received from the writing tool, the electronic control unit for the vehicle must perform the same number of transmissions as the number of receptions. become. Therefore, the number of times of communication between the vehicle electronic control unit and the writing tool increases, which is one of the causes for extending the time for transferring the writing data.

そこで、本技術はこのような問題点に鑑み、自動車用電子制御装置において、書込みデータの転送に要する時間を短縮する技術を提供することを目的とする。   In view of these problems, the present technology aims to provide a technology for reducing the time required to transfer write data in an electronic control device for an automobile.

上記課題を解決するための自動車用電子制御装置は、少なくとも、車両制御の制御プログラムと通信バッファの設定プログラムの書込みを行う外部書込み装置に接続される自動車用電子制御装置であって、前記自動車用電子制御装置は、一時的に制御プログラム及びデータを保持する揮発性メモリと、電気的にデータの消去及び書込みが可能な不揮発性メモリと、前記外部書込み装置とのCAN通信に用いる第1のメールボックスと車両制御を行う外部装置とのCAN通信に用いる第2のメールボックスを有する通信回路部と、を含んで構成され、前記外部書込み装置から受信した前記通信バッファの設定プログラムによって、前記第2のメールボックスを前記第1のメールボックスとして割当て、前記第1のメールボックス及び前記第1のメールボックスとして割当てられた前記第2のメールボックスを用いて制御プログラム及びデータを受信することを特徴とする。 An electronic control device for a vehicle for solving the above-mentioned problem is an electronic control device for a vehicle, which is connected to at least an external writing device for writing a control program for controlling a vehicle and a setting program for a communication buffer. The electronic control device includes a volatile memory that temporarily holds a control program and data, a non-volatile memory that can electrically erase and write data, and a first mail used for CAN communication with the external writing device. A communication circuit unit having a second mailbox used for CAN communication between the box and an external device for controlling the vehicle, and the communication buffer setting program received from the external writing device causes the second a mailbox as said first mailbox allocation, the first mailbox and the first of And wherein the receiving control programs and data using the second mailbox assigned as chromatography mailbox.

本技術によれば、自動車用電子制御装置において、自動車用電子制御装置と外部書込み装置との間で通信する回数を減らすことができ、書込みデータの転送に要する時間を短縮することができる。   According to the present technology, it is possible to reduce the number of times of communication between the vehicle electronic control device and the external writing device in the vehicle electronic control device, and it is possible to shorten the time required to transfer the write data.

ECU製造工程及びアプリケーションプログラム書込み工程の説明図である。It is explanatory drawing of an ECU manufacturing process and an application program writing process. ECU及び書込みツールの構成図である。It is a block diagram of ECU and a writing tool. 通信バッファ領域の詳細を示す図である。It is a figure which shows the detail of a communication buffer area. アプリケーションプログラム書込み工程の手順をフローチャートで示した図である。It is the figure which showed the procedure of the application program writing process with the flowchart. プログラム書込み全体処理の概要を示す図である。It is a figure which shows the outline of a program writing whole process. 通信環境が変更された後の、通信バッファ領域の詳細を示す図である。It is a figure which shows the detail of a communication buffer area after a communication environment is changed. 書込みツールのデータ転送プログラムが実行する処理のフローチャートである。It is a flowchart of the process which the data transfer program of a writing tool performs. 書込みツールのデータ転送プログラムが実行する処理のフローチャートである。It is a flowchart of the process which the data transfer program of a writing tool performs. 書込みツールのデータ転送プログラムが実行する処理のフローチャートである。It is a flowchart of the process which the data transfer program of a writing tool performs. 書込みツールのデータ転送プログラムが実行する処理のフローチャートである。It is a flowchart of the process which the data transfer program of a writing tool performs. ECUのRAM展開プログラムが実行する処理のフローチャートである。6 is a flowchart of a process executed by a RAM expansion program of the ECU. ECUの書込みメインプログラムが実行する処理のフローチャートである。It is a flow chart of processing which a writing main program of ECU performs. ECUの書込みメインプログラムが実行する処理のフローチャートである。It is a flow chart of processing which a writing main program of ECU performs. ECUの書込みメインプログラムが実行する処理のフローチャートである。It is a flow chart of processing which a writing main program of ECU performs. ECUの書込みメインプログラムが実行する処理のフローチャートである。It is a flow chart of processing which a writing main program of ECU performs. ECUの書込みサブプログラムが実行する処理のフローチャートである。7 is a flowchart of a process executed by a writing subprogram of the ECU. アプリケーションプログラムの転送及び書込み処理の実施例のシーケンスを示す図である。It is a figure which shows the sequence of the Example of the transfer and writing process of an application program.

以下、添付された図面を参照して本発明を実施するための実施形態について技術を詳細に説明する。
ECU100に搭載されたROM(例えば、フラッシュROM)に対し、アプリケーションプログラム(例えば、エンジン制御プログラム)を書込むためのECU製造工程10及びアプリケーションプログラム書込み工程20を図1に示す。
Hereinafter, a technique of an embodiment for carrying out the present invention will be described in detail with reference to the accompanying drawings.
FIG. 1 shows an ECU manufacturing process 10 and an application program writing process 20 for writing an application program (for example, an engine control program) into a ROM (for example, a flash ROM) mounted on the ECU 100.

ECU製造工程10では、ECU100に搭載されたROMに、ハードウェアの検査プログラムが実行でき、後の工程でアプリケーションプログラムの書込みが可能となるような必要最低限のプログラム(以下、最低限プログラムと略記する)を書込み、検査する。
なお、ECU製造工程10は、例えば、ECUサプライヤ等によって行われる作業の一部である。
In the ECU manufacturing process 10, a minimum necessary program (hereinafter, abbreviated as a minimum program) that allows a hardware inspection program to be executed in a ROM mounted on the ECU 100 and an application program to be written in a later process. Write) and inspect.
The ECU manufacturing process 10 is, for example, part of the work performed by an ECU supplier or the like.

アプリケーションプログラム書込み工程20では、ECU100上のROMに対し、書込みツール200(外部書込み装置)を使用することにより、車種に応じたアプリケーションプログラムを書込む。これにより、ECU製造工程10から供給されるECU100は、各車種用のECU100となる。
なお、後の検査工程において、自動車に組付けられたECU100のROMに、その自動車に応じたアプリケーションプログラムが書込まれているか否かを検査する。また、アプリケーションプログラム書込み工程20は、例えば、自動車工場等のECU組付け工程に関連して行われる作業である。
In the application program writing step 20, the writing tool 200 (external writing device) is used to write the application program corresponding to the vehicle type into the ROM on the ECU 100. As a result, the ECU 100 supplied from the ECU manufacturing process 10 becomes the ECU 100 for each vehicle type.
In the subsequent inspection process, it is inspected whether or not the application program corresponding to the automobile is written in the ROM of the ECU 100 mounted on the automobile. Further, the application program writing process 20 is a work performed in relation to the ECU assembling process in, for example, an automobile factory.

このように、ECU100は、アプリケーションプログラム書込み工程20のROM書込みの前までは各車種共通のものであるため、例えば、ECUサプライヤ等は、各車種共通のECUを製造し、自動車工場等に納品すればよい。従って、ECUサプライヤ等では、車種毎のECU100のプログラミング、製造及び納品管理等が不要となる。
また、自動車工場等では、アプリケーションプログラム書込み工程20のROM書込みの前まで、車種毎のECU100の保持及び管理(在庫状況など)が不要となる。よって、これらの工程により、ECUサプライヤ及び自動車工場等では、製造及び管理等を大幅に削減できるメリットがある。
As described above, the ECU 100 is common to all vehicle types before the ROM writing in the application program writing step 20, and therefore, for example, an ECU supplier or the like manufactures an ECU common to each vehicle type and delivers it to an automobile factory or the like. Good. Therefore, the ECU supplier and the like do not need to perform programming, manufacturing, delivery management, etc. of the ECU 100 for each vehicle type.
Further, in an automobile factory or the like, it becomes unnecessary to hold and manage the ECU 100 for each vehicle type (stock status, etc.) before writing the ROM in the application program writing step 20. Therefore, by these steps, there is a merit that manufacturing and management can be significantly reduced in the ECU supplier and the automobile factory.

しかしながら、自動車工場等において、従来では存在しなかったアプリケーションプログラム書込み工程20が新たに追加される。このアプリケーションプログラム書込み工程20において、車種に応じたアプリケーションプログラムを迅速にROMに書込むことが要求される。
この要求に応じるECU100及び書込みツール200の構成を図2に示す。
However, in an automobile factory or the like, an application program writing step 20 that does not exist in the past is newly added. In the application program writing step 20, it is required to quickly write the application program corresponding to the vehicle type in the ROM.
The configurations of the ECU 100 and the writing tool 200 that meet this request are shown in FIG.

ECU100は、車両用エンジンにおける燃料噴射や点火等を制御するためのものであり、ROM110、マイクロコンピュータ120、及び、揮発性メモリであるRAM(Random Access Memory)130、通信回路140を含んで構成される。
ECU100は、CAN(Controller Area Network)などの通信回線300によって、書込みツール200に対し着脱可能に接続される。
The ECU 100 is for controlling fuel injection, ignition, and the like in a vehicle engine, and includes a ROM 110, a microcomputer 120, a RAM (Random Access Memory) 130 that is a volatile memory, and a communication circuit 140. It
The ECU 100 is detachably connected to the writing tool 200 by a communication line 300 such as a CAN (Controller Area Network).

マイクロコンピュータ120は、CPU、及び、キャッシュメモリ等を備え、ROM110及びRAM130に格納された各種プログラムを実行する。
RAM130には、第1のバッファ領域133及び第2のバッファ領域134が存在する。第1のバッファ領域133及び第2のバッファ領域134は、ROM110にデータを書込むときに使用される。
The microcomputer 120 includes a CPU, a cache memory, etc., and executes various programs stored in the ROM 110 and the RAM 130.
The RAM 130 has a first buffer area 133 and a second buffer area 134. The first buffer area 133 and the second buffer area 134 are used when writing data to the ROM 110.

通信回路140には、通信バッファ領域141が存在する。通信バッファ領域141は、ECU100が通信回路140によって他の装置と通信するときに使用される。
書込みツール200は、ストレージ210(例えば、ハードディスク)及び通信回路240を含んで構成される。
また、書込みツール200は、端末(例えば、パーソナルコンピュータ)及びECU100と接続する装置を含み、書込みツール200を操作する作業者が、書込みツール200に対し対話的に指示を出すことができる。書込みツール200は、ストレージ210に格納されている書込みデータを、ECU100に対して転送する。
The communication circuit 140 has a communication buffer area 141. The communication buffer area 141 is used when the ECU 100 communicates with another device by the communication circuit 140.
The writing tool 200 includes a storage 210 (for example, a hard disk) and a communication circuit 240.
The writing tool 200 includes a terminal (for example, a personal computer) and a device connected to the ECU 100, and an operator who operates the writing tool 200 can interactively give instructions to the writing tool 200. The writing tool 200 transfers the writing data stored in the storage 210 to the ECU 100.

ストレージ210には、ECU100に転送されるアプリケーションプログラム等が格納されている。
通信回路240には、通信バッファ領域241が存在する。通信バッファ領域241は、書込みツール200が通信回路240によってECU100と通信するときに使用される。
The storage 210 stores application programs transferred to the ECU 100.
The communication circuit 240 has a communication buffer area 241. The communication buffer area 241 is used when the writing tool 200 communicates with the ECU 100 by the communication circuit 240.

ここで、ECU100が、書込みツール200と通信するときに使用する通信バッファ領域141の詳細を図3に示す。
ECU100の通信バッファ領域141には、一定のサイズの通信バッファ(例えば、CANにおけるメールボックス)が複数存在する。ECU100は、各装置と通信するとき、通信バッファ領域141の通信バッファのうち、通信相手となる装置との通信用として予め割当てられている通信バッファを使用する。
なお、それぞれの通信バッファは、データの送信に使用される送信バッファ(TX)と、データの受信に使用される受信バッファ(RX)とに分かれている。また、通信相手となる装置との通信用として予め割当てられている通信バッファの数を、車載状態の通信環境で使用する数とする。
Here, FIG. 3 shows the details of the communication buffer area 141 used when the ECU 100 communicates with the writing tool 200.
In the communication buffer area 141 of the ECU 100, there are a plurality of communication buffers of a fixed size (for example, mailboxes in CAN). When communicating with each device, ECU 100 uses a communication buffer, which is pre-allocated for communication with a device as a communication partner, among the communication buffers in communication buffer area 141.
Each communication buffer is divided into a transmission buffer (TX) used for transmitting data and a reception buffer (RX) used for receiving data. In addition, the number of communication buffers that are pre-allocated for communication with a device that is a communication partner is the number that is used in the communication environment in the vehicle.

一方、書込みツール200の通信バッファ領域241には、一定のサイズの通信バッファが複数存在する。
なお、通信バッファ領域241の通信バッファのサイズは、ECU100の通信バッファ領域141の通信バッファのサイズと同じである。
On the other hand, the communication buffer area 241 of the writing tool 200 has a plurality of communication buffers of a certain size.
The size of the communication buffer in the communication buffer area 241 is the same as the size of the communication buffer in the communication buffer area 141 of the ECU 100.

図3において、ECU100の通信バッファ領域141には、ECU100が書込みツール200と通信するために使用する通信バッファ(以下、書込みツール用通信バッファと略記する)として、2個の通信バッファ(TX1個、RX1個)が、割当てられている。また、通信バッファ領域141のその他の通信バッファは、書込みツール200以外の装置との通信用に割当てられている。   In FIG. 3, in the communication buffer area 141 of the ECU 100, two communication buffers (one TX, one abbreviated as a communication buffer for a writing tool) used by the ECU 100 to communicate with the writing tool 200 (hereinafter referred to as a communication buffer for a writing tool) are used. RX1) is assigned. The other communication buffers in the communication buffer area 141 are allocated for communication with devices other than the writing tool 200.

従って、通信バッファのサイズが8バイトであり、かつ、ECU100が、1つのデータの受信ごとに書込みツール200にその応答を返すように、ECU100と書込みツール200との間で同期を取りながら通信を行う場合、1つのデータの受信に1個のRXを使用するため、ECU100が64バイトのデータを取得するまでに、16回の通信が必要になる。
即ち、書込みツール200が64バイトのデータを8バイトに分けて転送し、ECU100は8バイト受信するごとに書込みツール200に応答を返すため、通信回数が16回となる。
Therefore, the size of the communication buffer is 8 bytes, and the ECU 100 and the writing tool 200 communicate with each other in synchronization so that the ECU 100 returns a response to the writing tool 200 each time one piece of data is received. If this is done, one RX is used to receive one data, so 16 times of communication are required before the ECU 100 acquires 64 bytes of data.
That is, the writing tool 200 transfers 64 bytes of data in 8 bytes, and the ECU 100 returns a response to the writing tool 200 each time 8 bytes are received, so the number of times of communication becomes 16 times.

アプリケーションプログラム書込み工程20における手順を図4に示す。
ステップ1(図では「S1」と略記する。以下同様)では、作業者が、書込みツール200にECU100を接続する。ECU100は、書込みツール200に接続されると電源が投入され、マイクロコンピュータ120が最低限プログラムを実行することによって、書込みツール200と通信可能になり、書込みツール200から転送されるデータの受信待ち状態となる。
The procedure in the application program writing step 20 is shown in FIG.
In step 1 (abbreviated as “S1” in the figure. The same applies hereinafter), the worker connects the ECU 100 to the writing tool 200. When the ECU 100 is connected to the writing tool 200, the power is turned on, and the microcomputer 120 executes a minimum program to enable communication with the writing tool 200 and wait for reception of data transferred from the writing tool 200. Becomes

ステップ2では、作業者が、ROM110に書込むためのアプリケーションプログラム(例えば、車種A用のエンジン制御プログラム)等を指定する。書込みツール200は、アプリケーションプログラムが指定されると、指定されたアプリケーションプログラムをECU100に転送する。
ECU100は、転送されたアプリケーションプログラム等を受信しながら、アプリケーションプログラムをROM110に書込む。以下、このステップ2の処理を、プログラム書込み全体処理と呼ぶ。
In step 2, the operator specifies an application program (for example, an engine control program for vehicle type A) to be written in the ROM 110. When the application program is designated, the writing tool 200 transfers the designated application program to the ECU 100.
The ECU 100 writes the application program in the ROM 110 while receiving the transferred application program and the like. Hereinafter, the process of step 2 will be referred to as the entire program writing process.

ステップ3では、作業者が、書込みツール200からECU100を取外す。
なお、この後、ECU100は、各自動車に組付けられる。また、検査工程において、ECU100のROM110に正しいアプリケーションプログラムが書込まれた否か(例えば、組付けられた自動車に応じたアプリケーションプログラムか否か)がチェックされる。正しいアプリケーションプログラムが書込まれていなければ、自動車に組付けられたECU100に対し、書込みツール200を接続し、正しいアプリケーションプログラムを書込む。
In step 3, the worker removes the ECU 100 from the writing tool 200.
After this, the ECU 100 is assembled in each vehicle. Further, in the inspection process, it is checked whether or not the correct application program is written in the ROM 110 of the ECU 100 (for example, whether or not the application program corresponds to the assembled vehicle). If the correct application program has not been written, the writing tool 200 is connected to the ECU 100 installed in the automobile to write the correct application program.

図5に、プログラム書込み全体処理の概要を示す。
ステップ11では、書込みツール200は、作業者によって書込みプログラム及びROM110に書込むためのアプリケーションプログラムが指定されると、書込みプログラム及びアプリケーションプログラムを転送するデータ転送プログラムを起動する。そして、書込みツール200は、データ転送プログラムによって、ECU100に対し、書込みプログラム(例えば、書込みプログラム2)の転送を開始するメッセージを送信すると共に、指定された書込みプログラムを転送する。
FIG. 5 shows an outline of the entire program writing process.
In step 11, the writing tool 200 activates the data transfer program for transferring the writing program and the application program when the operator specifies the writing program and the application program for writing in the ROM 110. Then, the writing tool 200 transmits a message for starting the transfer of the writing program (for example, the writing program 2) to the ECU 100 by the data transfer program and also transfers the designated writing program.

ここで、作業者が指定する書込みプログラムは、ストレージ210に存在する書込みプログラムデータベース211に格納されている。
書込みプログラムは、ECU100に転送され、通信環境の変更などの初期化処理、書込みデータの受信処理、及び、書込みデータをROM110に書込む処理をECU100上で実行する。
また、書込みプログラムは、書込みメインプログラム及び書込みサブプログラムから構成される。
Here, the writing program designated by the operator is stored in the writing program database 211 existing in the storage 210.
The writing program is transferred to the ECU 100, and the ECU 100 executes initialization processing such as change of communication environment, reception processing of write data, and processing of writing write data in the ROM 110.
The write program is composed of a write main program and a write sub program.

書込みメインプログラムは、ECU100に転送された後にECU100上で動作し、書込みツール200とECU100との間で、書込みプログラムに応じた通信環境(通信バッファの使用方法、通信速度、暗号化方式等)を確立する。
また、書込みメインプログラムは、書込みツール200から転送されるアプリケーションプログラムを、書込みプログラムに応じた書込み条件(書込むROMの領域のアドレス等)によってROM110に書込む。
書込みサブプログラムは、書込みメインプログラムから起動され、通信バッファ領域141にある受信データを、第1のバッファ領域及び第2のバッファ領域にコピーする。
The write main program operates on the ECU 100 after being transferred to the ECU 100, and establishes a communication environment (communication buffer usage method, communication speed, encryption method, etc.) according to the write program between the writing tool 200 and the ECU 100. Establish.
Further, the write main program writes the application program transferred from the writing tool 200 in the ROM 110 under the write condition (address of the area of the ROM to be written, etc.) according to the write program.
The write subprogram is activated from the write main program and copies the received data in the communication buffer area 141 to the first buffer area and the second buffer area.

さらに、作業者が指定するアプリケーションプログラムは、ストレージ210に存在するアプリケーションプログラムデータベース212に格納されている。
各アプリケーションプログラムは、それぞれの車種に応じたエンジン制御用プログラム等である。
Further, the application program designated by the worker is stored in the application program database 212 existing in the storage 210.
Each application program is an engine control program or the like according to each vehicle type.

ステップ12では、ECU100が、書込みプログラムの転送元である書込みツール200から、書込みプログラムの転送を開始するメッセージを受信すると、ROM110に格納されているRAM展開プログラムを起動する。
ここで、RAM展開プログラムは、ECU100が受信した書込みプログラムをRAM130上に展開する処理を行う。従って、ECU100は、書込みプログラムを受信しながら、RAM展開プログラムによって、受信した書込みプログラムをRAM130に展開する。
In step 12, when the ECU 100 receives a message for starting the transfer of the writing program from the writing tool 200 which is the transfer source of the writing program, the ECU 100 activates the RAM expansion program stored in the ROM 110.
Here, the RAM expansion program performs a process of expanding the writing program received by the ECU 100 on the RAM 130. Therefore, the ECU 100 expands the received write program in the RAM 130 by the RAM expansion program while receiving the write program.

ステップ13で、ECU100は、書込みプログラムの展開が完了すると、RAM展開プログラムによって、RAM130に展開した書込みプログラムを起動する。
ステップ14で、ECU100は、書込みプログラムによって、ECU100と書込みツール200との間の通信環境を、その書込みプログラムに応じた通信環境に変更し、書込みツール200に対し、アプリケーションプログラムの送信を要求するメッセージを送信する。
In step 13, when the expansion of the writing program is completed, the ECU 100 starts the writing program expanded in the RAM 130 by the RAM expanding program.
In step 14, the ECU 100 changes the communication environment between the ECU 100 and the writing tool 200 to a communication environment according to the writing program by the writing program, and requests the writing tool 200 to transmit the application program. To send.

ステップ15で、書込みツール200が、アプリケーションプログラムの送信を要求するメッセージを受信すると、データ転送プログラムによって、ECU100に対し、作業者によって指定されたアプリケーションプログラム(例えば、アプリケーションプログラム1)の転送を開始する。   In step 15, when the writing tool 200 receives the message requesting the transmission of the application program, the data transfer program starts the transfer of the application program (for example, the application program 1) designated by the operator to the ECU 100. ..

ステップ16で、ECU100は、書込みツール200からアプリケーションプログラムを受信しながら、書込みメインプログラム及び書込みサブプログラムによって、書込み条件に基づき、受信したアプリケーションプログラムを、ROM110に書込む。   In step 16, while receiving the application program from the writing tool 200, the ECU 100 writes the received application program in the ROM 110 based on the writing condition by the writing main program and the writing subprogram.

なお、書込み終了後、ECU100は書込みツール200から取外され、電源がOFFになる。次にECU100の電源が投入されたとき、ECU100の通信環境は、初期状態(ステップ1のときと同様の通信環境)に戻る。
また、プログラム書込み全体処理の途中で、何からの異常(例えば、書込みプログラム動作時、書込みツール200との通信が切断された等)が発生した場合は、ECU100が自らをリセットする。そして、ECU100の通信環境は、初期状態に戻る。
After the writing is finished, the ECU 100 is removed from the writing tool 200 and the power is turned off. Next, when the power of the ECU 100 is turned on, the communication environment of the ECU 100 returns to the initial state (the communication environment similar to that in step 1).
Further, if an abnormality (for example, communication with the writing tool 200 is interrupted during writing program operation) occurs during the entire program writing process, the ECU 100 resets itself. Then, the communication environment of the ECU 100 returns to the initial state.

従って、書込みプログラムを選択することで、プログラム書込み全体処理において、使用する通信環境及びアプリケーションプログラムの書込み条件等に応じて、より適した書込みプログラムを動作させることができる。
このため、例えば、通信速度がより高速な書込みプログラムを動作させることで高速に通信を行い、プログラム書込み全体処理を高速化することができる。
Therefore, by selecting the write program, a more suitable write program can be operated in the entire program write process according to the communication environment to be used, the write condition of the application program, and the like.
Therefore, for example, by operating a writing program having a higher communication speed, high-speed communication can be performed, and the entire program writing process can be speeded up.

また、プログラム書込み全体処理のときに、書込みプログラムがECU100に転送されるため、書込みプログラムをROM110に格納する必要がなくなり、ROM110の使用量を削減することができる。   Further, since the writing program is transferred to the ECU 100 during the entire program writing process, it is not necessary to store the writing program in the ROM 110, and the usage amount of the ROM 110 can be reduced.

さらに、書込みプログラムを変更することにより、プログラム書込み全体処理に新しい機能を追加することができる。
なお、ECU100に書込みツール200に加えて他の装置が接続された状況でも、ECU100は、プログラム書込み全体処理の間、他の装置との通信を遮断し、書込みツール200のみと通信するようにすれば、プログラム書込み全体処理を実行することができる。
Furthermore, by changing the writing program, new functions can be added to the entire program writing process.
Even in a situation where the ECU 100 is connected to another device in addition to the writing tool 200, the ECU 100 may block communication with other devices during the entire program writing process and communicate with only the writing tool 200. Thus, the entire program writing process can be executed.

ECU100に書込みツール200に加えて他の装置が接続された状況で、プログラム書込み全体処理を行う例として、ECU100が自動車に組付けられた状態で、アプリケーションプログラムの書込みを実施することが挙げられる。   As an example of performing the entire program writing process in a situation where another device is connected to the ECU 100 in addition to the writing tool 200, there is a writing of an application program in a state where the ECU 100 is installed in an automobile.

この場合、通信路の競合を防ぐため、ECU100は、書込みツール200と通信するときに使用する通信環境は、他の装置と共通する通信環境(例えば、通信速度が共通)である必要がある。
このため、作業者は、書込みプログラムを、他の装置と共通の通信環境を確立するものを指定し、プログラム書込み全体処理を実施する。このとき、ECU100は、書込みツール200のみと通信し、他の装置との通信を遮断する。
In this case, in order to prevent the competition of the communication paths, the communication environment used by the ECU 100 when communicating with the writing tool 200 needs to be a communication environment common to other devices (for example, the communication speed is common).
Therefore, the operator designates a writing program that establishes a common communication environment with other devices, and executes the entire program writing process. At this time, the ECU 100 communicates only with the writing tool 200 and cuts off communication with other devices.

次に、ECU100が、書込みツール200から転送されるアプリケーションプログラムを受信するときに使用する、通信バッファ領域141の使用方法を説明する。
アプリケーションプログラム書込み工程20のような状況において、ECU100は、書込みツール200以外の装置と通信しないため、書込みツール200以外の装置と通信するために予め割当てられた通信バッファ(以下、他の装置用通信バッファと略記する)は、使用されない。
Next, a method of using the communication buffer area 141 used when the ECU 100 receives the application program transferred from the writing tool 200 will be described.
In a situation such as the application program writing step 20, since the ECU 100 does not communicate with a device other than the writing tool 200, a communication buffer (hereinafter referred to as communication for other devices) pre-allocated for communicating with a device other than the writing tool 200. (Abbreviated as buffer) is not used.

このため、書込みプログラムは、書込みツール用通信バッファに加えて他の装置用通信バッファを、ECU100と書込みツール200との間の通信に使用するように変更することができる。   Therefore, the writing program can be modified to use the communication buffer for another device in addition to the communication buffer for the writing tool so as to be used for communication between the ECU 100 and the writing tool 200.

変更後の通信バッファ領域141の詳細を示したのが図6である。
図6の例では、ECU100は、書込みツール200と通信するとき、書込みツール用通信バッファとして2個の通信バッファ、及び、他の装置用通信バッファのうちの7個の通信バッファを使用する。
このとき、ECU100が使用する9個の通信バッファは、TXとして1個、RXとして8個を設定する。なお、このとき、書込みツール200の通信バッファ領域241の通信バッファは、TXが8個、RXが1個となる。
FIG. 6 shows details of the changed communication buffer area 141.
In the example of FIG. 6, when communicating with the writing tool 200, the ECU 100 uses two communication buffers as writing tool communication buffers and seven communication buffers of other device communication buffers.
At this time, the 9 communication buffers used by the ECU 100 are set to 1 for TX and 8 for RX. At this time, the communication buffer in the communication buffer area 241 of the writing tool 200 has eight TXs and one RX.

例えば、1つの通信バッファのサイズが8バイトであり、かつ、ECU100が、1つのデータの受信ごとに書込みツール200にその応答を返すように、ECU100と書込みツール200との間で同期を取りながら通信を行う場合、1つのデータの受信に8個のRXが使用できるため、ECU100が64バイトのデータを書込みツール200から取得するまで、従来と比較して、9回の通信で済むことになる。
即ち、書込みツール200が64バイトのデータを1つのデータとして8バイトごとに分けて転送し、ECU100は8バイトのデータを8個受信するごとに書込みツール200に応答を返す。このため、通信回数が9回となる。
For example, while the size of one communication buffer is 8 bytes, and the ECU 100 returns a response to the writing tool 200 each time one data is received, the ECU 100 and the writing tool 200 are synchronized with each other. When performing communication, since eight RX can be used to receive one data, it will be nine times of communication as compared with the conventional method until the ECU 100 acquires 64 bytes of data from the writing tool 200. ..
That is, the writing tool 200 transfers 64 bytes of data as one piece of data in units of 8 bytes, and the ECU 100 returns a response to the writing tool 200 every time eight pieces of 8 bytes of data are received. Therefore, the number of communication times is 9.

なお、書込みプログラムは、ECU100が書込みツール200との通信に使用する通信バッファの数を、データの送受信のサイズ、データの送受信のサイズの整数倍、ROM110への1回の書込みのサイズ又はROM110への1回の書込みのサイズの整数倍等に応じた数にしてもよい。   The writing program uses the number of communication buffers used by the ECU 100 to communicate with the writing tool 200, the size of data transmission / reception, an integral multiple of the size of data transmission / reception, the size of one-time writing to the ROM 110, or the ROM 110. Alternatively, the number may be an integer multiple of the size of one writing.

このように、書込みツール用通信バッファに加えて他の装置用通信バッファも使用して通信することができるため、同期を取るような通信では、通信回数が少なくなり、データの転送に要する時間が減少し、データの転送の高速化が図れる。
また、他の装置用通信バッファを使用するため、通信バッファのオーバライトを気にすることなく、書込みツール200が連続してデータを転送することができる。
As described above, since communication can be performed using the communication buffer for other devices in addition to the communication buffer for the writing tool, the number of times of communication is reduced and the time required for data transfer is reduced in the communication for synchronization. It is possible to reduce the data transfer speed.
In addition, since the communication buffer for another device is used, the writing tool 200 can continuously transfer data without worrying about overwriting the communication buffer.

なお、通信バッファ領域141のうち、どの装置にも割当てられていない未使用の通信バッファがあれば、書込みプログラムが、未使用の通信バッファを、ECU100と書込みツール200との間の通信で使用するように変更することもできる。   If there is an unused communication buffer that is not allocated to any device in the communication buffer area 141, the writing program uses the unused communication buffer for communication between the ECU 100 and the writing tool 200. Can also be changed.

次に、プログラム書込み全体処理において動作する各プログラムを説明する。
図7及び図8は、書込みツール200において、書込みプログラム及びアプリケーションプログラムが作業者によって指定されたことを契機として、データ転送プログラムが、書込みツール200によって実行する処理のフローチャートを示す。
Next, each program that operates in the entire program writing process will be described.
7 and 8 are flowcharts of the processing executed by the writing tool 200 by the data transfer program triggered by the operator designating the writing program and the application program in the writing tool 200.

ステップ31では、データ転送プログラムが、書込みプログラムの転送を開始することを示すメッセージ(書込みプログラムの転送開始メッセージ)をECU100に送信する。   In step 31, the data transfer program sends to ECU 100 a message indicating that the transfer of the writing program has started (a transfer start message of the writing program).

ステップ32では、データ転送プログラムが、指定された書込みプログラムのデータを、ECU100が1回の通信で受信可能なサイズだけ順次転送する。
ステップ33では、データ転送プログラムが、ECU100から次のデータの要求メッセージを受信したか否かを判定する。データ転送プログラムは、ECU100から次のデータの要求メッセージを受信していれば、処理をステップ34に進める(Yes)一方、ECU100から次のデータの要求メッセージを受信していなければ、処理をステップ33に戻す(No)。
In step 32, the data transfer program sequentially transfers the data of the designated writing program by a size that the ECU 100 can receive in one communication.
In step 33, the data transfer program determines whether or not a request message for the next data is received from the ECU 100. If the data transfer program has received the next data request message from the ECU 100, the process proceeds to step 34 (Yes), while if the next data request message has not been received from the ECU 100, the process proceeds to step 33. Return to (No).

ステップ34では、データ転送プログラムが、指定された書込みプログラムの転送を完了したか否かを判定する。データ転送プログラムは、指定された書込みプログラムの転送を完了していれば、処理をステップ35に進める(Yes)一方、指定された書込みプログラムの転送を完了していなければ、処理をステップ32に戻す(No)。   In step 34, the data transfer program determines whether or not the transfer of the designated write program has been completed. If the transfer of the designated write program has been completed, the data transfer program advances the processing to step 35 (Yes), while if the transfer of the designated write program has not been completed, the processing returns to step 32. (No).

ステップ35では、データ転送プログラムが、書込みプログラムの転送が完了したことを示すメッセージ(書込みプログラムの転送完了メッセージ)をECU100に送信する。   In step 35, the data transfer program transmits to the ECU 100 a message indicating that the transfer of the writing program has been completed (writing program transfer completion message).

ステップ36では、データ転送プログラムが、ECU100からメッセージを受信したか否かを判定する。
データ転送プログラムは、ECU100からメッセージを受信していれば、処理をステップ37に進める(Yes)一方、ECU100からメッセージを受信していなければ、処理をステップ36に戻す(No)。
In step 36, the data transfer program determines whether or not a message has been received from the ECU 100.
If the data transfer program has received the message from the ECU 100, the process proceeds to step 37 (Yes), while if the message has not been received from the ECU 100, the process returns to step 36 (No).

ステップ37では、データ転送プログラムは、ECU100から受信したメッセージが、書込みプログラムが正当に転送された旨のメッセージであるか否かを判定する。
データ転送プログラムは、受信したメッセージが、書込みプログラムが正当に転送された旨のメッセージであれば、処理をステップ38に進める(Yes)一方、受信したメッセージが、書込みプログラムが正当に転送された旨のメッセージでなければ、処理をステップ39に進める(No)。
In step 37, the data transfer program determines whether the message received from the ECU 100 is a message to the effect that the writing program has been properly transferred.
If the received message is a message indicating that the writing program has been legally transferred, the data transfer program advances the process to step 38 (Yes), while the received message indicates that the writing program has been legally transferred. If not, the process proceeds to step 39 (No).

ステップ38では、データ転送プログラムが、アプリケーション転送処理サブルーチンを実行する。
なお、アプリケーション転送処理サブルーチンは、指定されたアプリケーションプログラムのデータを、複数に分割して転送する処理を行う。以下では、この分割して転送するデータを分割データと呼ぶ。
In step 38, the data transfer program executes the application transfer processing subroutine.
The application transfer processing sub-routine performs processing of dividing the data of the specified application program into a plurality of pieces and transferring them. Hereinafter, the data to be divided and transferred will be referred to as divided data.

ステップ39では、データ転送プログラムが、書込みプログラムを再度先頭から転送するような設定(例えば、書込みプログラムのインデックスを先頭に戻すなど)を行う。   In step 39, the data transfer program makes settings such that the write program is transferred from the beginning again (for example, the index of the write program is returned to the beginning).

図9〜図10は、アプリケーション転送処理サブルーチンの処理のフローチャートを示す。
ステップ41では、データ転送プログラムは、書込みツール200がECU100よりメッセージを受信したか否かを判定する。データ転送プログラムは、ECU100よりメッセージを受信していれば、処理をステップ42に進める(Yes)一方、ECU100よりメッセージを受信していなければ、処理をステップ41に戻す(No)。
9 to 10 show flowcharts of the processing of the application transfer processing subroutine.
In step 41, the data transfer program determines whether the writing tool 200 has received a message from the ECU 100. If the data transfer program has received the message from the ECU 100, the process proceeds to step 42 (Yes), while if the message has not been received from the ECU 100, the process returns to step 41 (No).

ステップ42では、データ転送プログラムは、受信したメッセージが分割データの送信要求を示すメッセージ(分割データの送信要求メッセージ)か否か判定する。データ転送プログラムは、受信したメッセージが分割データの送信要求メッセージなければ、処理をステップ43に進める(Yes)一方、受信したメッセージが分割データの送信要求メッセージであれば、処理をステップ44に進める(No)。   In step 42, the data transfer program determines whether or not the received message is a message indicating a divided data transmission request (divided data transmission request message). If the received message is not the divided data transmission request message, the process proceeds to step 43 (Yes), while if the received message is the divided data transmission request message, the process proceeds to step 44 ( No).

ステップ43では、データ転送プログラムは、受信したメッセージが分割データの再送要求を示すメッセージ(分割データの再送要求メッセージ)か否かを判定する。データ転送プログラムは、受信したメッセージが分割データの再送要求メッセージでなければ、処理をステップ47に進める(Yes)一方、受信したメッセージが分割データの再送要求メッセージであれば、処理をステップ46に進める(No)。   In step 43, the data transfer program determines whether or not the received message is a message indicating a resend request for divided data (a resend request message for divided data). If the received message is not the fragment data resend request message, the process proceeds to step 47 (Yes), while if the received message is the fragment data resend request message, the process proceeds to step 46. (No).

ステップ44では、データ転送プログラムが、指定されたアプリケーションプログラムのインデックスを表わす読出しポインタが指す位置からデータを読出し、その読出したデータにチェックサムを付加することで分割データを作成する。
ここで、データの読出しサイズは、転送した書込みプログラムがECU100において確立する通信環境で使用する各RXのサイズの総計から、チェックサムのサイズを減算した値にする。
In step 44, the data transfer program reads the data from the position indicated by the read pointer representing the index of the designated application program, and adds a checksum to the read data to create divided data.
Here, the data read size is a value obtained by subtracting the size of the checksum from the total size of each RX used in the communication environment established in the ECU 100 by the transferred write program.

また、読出しポインタの初期値は、アプリケーションプログラムの先頭のアドレスである。読出しポインタは、ステップ44が実行されるごとに、データの読出しサイズだけ加算される。   The initial value of the read pointer is the start address of the application program. The read pointer is incremented by the data read size each time step 44 is executed.

例えば、転送した書込みプログラムが確立する通信環境で使用する各RXのサイズの総計が64バイト、及び、チェックサムのサイズが2バイトである場合、データの読出しサイズは62バイト、分割データのサイズは64バイトとなる。   For example, when the total size of each RX used in the communication environment established by the transferred write program is 64 bytes and the checksum size is 2 bytes, the data read size is 62 bytes and the divided data size is It will be 64 bytes.

なお、データ検証用として、チェックサムの他にはCRC(Cyclic Redundancy Check)がある。
また、分割データに対し、書込みツール200側で、何番目に転送した分割データであるかを示すシーケンス番号を分割データに含め、ECU100側で、受信した分割データのシーケンス番号をチェックすることで、正しい順序で分割データが受信できたか否かをチェックするようにしてもよい。
For data verification, there is a CRC (Cyclic Redundancy Check) in addition to the checksum.
In addition, for the divided data, the writing tool 200 side includes a sequence number indicating which transferred divided data is included in the divided data, and the ECU 100 side checks the sequence number of the received divided data. It may be possible to check whether the divided data has been received in the correct order.

ステップ45では、データ転送プログラムが、作成した分割データをECU100に転送する。このとき、データ転送プログラムは、分割データを転送するため、分割データを通信バッファ領域241のTXのサイズごとに分け、通信バッファ領域241の各TXに格納する。
例えば、分割データが64バイト、及び、1個あたり8バイトのTXが通信バッファ領域241に8個ある場合、データ転送プログラムは、分割データを、8バイトごとに8個のデータに分けて各TXに格納する。
なお、TXに格納されたデータは、通信回路240によって、ECU100に転送される。
In step 45, the data transfer program transfers the created divided data to the ECU 100. At this time, since the data transfer program transfers the divided data, it divides the divided data according to the TX size of the communication buffer area 241 and stores the divided data in each TX of the communication buffer area 241.
For example, when there are 8 divided bytes of 8 bytes in the communication buffer area 241, and the divided data is 8 bytes, the data transfer program divides the divided data into 8 pieces of 8 bytes and each TX is divided into 8 pieces of data. To store.
The data stored in TX is transferred to ECU 100 by communication circuit 240.

ステップ46では、データ転送プログラムが、作成した分割データを再度、ECU100に転送する。   In step 46, the data transfer program transfers the created divided data to the ECU 100 again.

ステップ47では、データ転送プログラムは、受信したメッセージが、分割データがECU100のROM110に正常に書込まれなかったことを示すメッセージ(分割データの書込みNGメッセージ)か否かを判定する。
データ転送プログラムは、受信したメッセージが分割データ書込みNGメッセージでなければ、処理をステップ48に進める(Yes)一方、受信したメッセージが分割データの書込みNGメッセージであれば、処理をステップ50に進める(No)。
In step 47, the data transfer program determines whether the received message is a message indicating that the divided data was not normally written in the ROM 110 of the ECU 100 (divided data write NG message).
If the received message is not the divided data write NG message, the process proceeds to step 48 (Yes), while if the received message is the divided data write NG message, the process proceeds to step 50 (step 50). No).

ステップ48では、データ転送プログラムが、読出しポインタがアプリケーションプログラムの最後まで到達したか否かの判定によって、アプリケーションプログラムの転送を最後まで完了したか否かを判定する。
データ転送プログラムは、アプリケーションプログラムの転送を最後まで完了していれば、処理をステップ49に進める(Yes)一方、アプリケーションプログラムの転送を最後まで完了していなければ、処理をステップ41に進める(No)。
In step 48, the data transfer program determines whether the transfer of the application program has been completed to the end by determining whether the read pointer has reached the end of the application program.
If the transfer of the application program has been completed to the end, the data transfer program advances the processing to step 49 (Yes), while if the transfer of the application program has not been completed to the end, the processing advances to step 41 (No). ).

ステップ49では、データ転送プログラムが、アプリケーションプログラムの転送が完了したことを示すメッセージ(アプリケーションの転送完了メッセージ)をECU100に送信する。   In step 49, the data transfer program transmits a message indicating that the transfer of the application program is completed (application transfer completion message) to ECU 100.

ステップ50では、データ転送プログラムが、アプリケーションプログラムを再度先頭から転送するために、読出しポインタの値をアプリケーションプログラムの先頭アドレスに設定する。   In step 50, the data transfer program sets the value of the read pointer to the start address of the application program in order to transfer the application program from the beginning again.

図11は、ECU100が書込みプログラムの転送開始メッセージを受信したことを契機として、RAM展開プログラムがECU100によって実行する処理のフローチャートを示す。   FIG. 11 shows a flowchart of the processing executed by the ECU 100 by the RAM expansion program triggered by the ECU 100 receiving the transfer start message of the writing program.

ステップ51では、RAM展開プログラムは、ECU100が書込みツール200からデータを受信したか否かを判定する。
RAM展開プログラムは、書込みツール200からデータを受信していれば、処理をステップ52に進める(Yes)一方、書込みツール200からデータを受信していなければ、処理をステップ51に戻す(No)。
In step 51, the RAM expansion program determines whether the ECU 100 has received data from the writing tool 200.
If the RAM expansion program has received the data from the writing tool 200, the process proceeds to step 52 (Yes), while if the data has not been received from the writing tool 200, the process returns to step 51 (No).

ステップ52では、RAM展開プログラムは、受信したデータが、書込みプログラムの転送完了メッセージであるか否かを判定する。
RAM展開プログラムは、受信したデータが書込みプログラムの転送完了メッセージであれば、処理をステップ53に進める(Yes)一方、受信したデータが書込みプログラムの転送完了メッセージでなければ、処理をステップ56に進める(No)。
In step 52, the RAM expansion program determines whether the received data is a transfer completion message of the writing program.
If the received data is the write program transfer completion message, the process proceeds to step 53 (Yes). If the received data is not the write program transfer completion message, the RAM expansion program advances the process to step 56. (No).

ステップ53では、RAM展開プログラムが、チェックサム等によって、転送された書込みプログラムが正当か否かを判定する。
RAM展開プログラムは、転送された書込みプログラムが正当であれば、処理をステップ54に進める(Yes)一方、転送された書込みプログラムが正当でなければ、処理をステップ58に進める(No)。
In step 53, the RAM expansion program determines by checksum or the like whether the transferred write program is valid.
If the transferred write program is valid, the RAM expansion program advances the process to step 54 (Yes), while if the transferred write program is not correct, the process advances to step 58 (No).

ステップ54では、RAM展開プログラムが、書込みツール200に対し、書込みプログラムが正当に転送された旨のメッセージを送信する。
ステップ55では、RAM展開プログラムが、RAM130に展開した書込みプログラムのなかの書込みメインプログラムを起動する。
In step 54, the RAM expansion program sends a message to the writing tool 200 to the effect that the writing program has been properly transferred.
In step 55, the RAM expansion program activates the write main program in the write programs expanded in the RAM 130.

ステップ56では、RAM展開プログラムが、受信した書込みプログラムのデータを通信バッファ領域141のRXからRAM130に展開する。
ステップ57では、RAM展開プログラムが、書込みツール200に対し、次のデータの要求メッセージを送信する。
In step 56, the RAM expansion program expands the received write program data from the RX of the communication buffer area 141 to the RAM 130.
In step 57, the RAM expansion program sends a request message for the next data to the writing tool 200.

ステップ58では、RAM展開プログラムが、書込みツール200に対し、書込みプログラムが正当に転送されていない旨のメッセージを送信する。   In step 58, the RAM expansion program sends a message to the writing tool 200 to the effect that the writing program has not been properly transferred.

図12は、書込みメインプログラムが起動されたことを契機として、書込みメインプログラムが、ECU100によって実行する処理のフローチャートを示す。   FIG. 12 shows a flowchart of processing executed by the ECU 100 by the write main program triggered by activation of the write main program.

ステップ61では、書込みメインプログラムは、転送された書込みプログラムに応じて、ECU100が書込みツール200と通信するための通信環境を変更する。なお、ECU100が書込みツール200以外の他の装置と通信可能である場合は、通信環境を変更しないようにしてもよい。   In step 61, the writing main program changes the communication environment for the ECU 100 to communicate with the writing tool 200 according to the transferred writing program. When the ECU 100 can communicate with other devices other than the writing tool 200, the communication environment may not be changed.

ステップ62では、書込みメインプログラムが、ROM書込み処理サブルーチンを実行する。
なお、ROM書込み処理サブルーチンは、分割データの転送元である書込みツール200から分割データを受信し、分割データに基づいてアプリケーションプログラムのデータをROM110に書込む処理を行う。
In step 62, the write main program executes the ROM write processing subroutine.
The ROM writing processing subroutine receives the divided data from the writing tool 200, which is the transfer source of the divided data, and writes the application program data in the ROM 110 based on the divided data.

図13〜図15は、ROM書込み処理サブルーチンを示す。
ステップ71では、書込みメインプログラムが、第1のバッファ領域133を、書込みツール200から受信する分割データをコピーするためのコピー用の領域に設定する。
13 to 15 show a ROM writing processing subroutine.
In step 71, the write main program sets the first buffer area 133 to a copy area for copying the divided data received from the writing tool 200.

ステップ72では、書込みメインプログラムが、書込みサブプログラムを起動する。
ステップ73では、書込みメインプログラムが、ROM110に書込むデータ(アプリケーションプログラムのデータ)のうち、何番目のデータが処理中であるかを表わすカウンタである変数nに1を代入する。
In step 72, the write main program activates the write subprogram.
In step 73, the write main program substitutes 1 into a variable n, which is a counter indicating which number of data (data of the application program) to be written in the ROM 110 is being processed.

ステップ74では、書込みメインプログラムは、初回の分割データを取得するために、分割データの送信要求メッセージを書込みツール200に送信する。
ステップ75では、書込みメインプログラムは、書込みツール200から受信した分割データがコピー用の領域にコピーされたことを示すメッセージ(分割データのコピー完了メッセージ)を書込みサブプログラムより通知されたか否か判定する。書込みメインプログラムは、分割データのコピー完了メッセージが通知されていれば、処理をステップ76に進める(Yes)一方、分割データのコピー完了メッセージが通知されていなければ、処理をステップ75に戻す(No)。
In step 74, the writing main program transmits a divided data transmission request message to the writing tool 200 in order to obtain the first divided data.
In step 75, the write main program determines whether or not a message (divided data copy completion message) indicating that the divided data received from the writing tool 200 has been copied to the copy area has been notified from the writing subprogram. .. The write main program advances the process to step 76 if the divided data copy completion message is notified (Yes), while returning the process to step 75 if the divided data copy completion message is not notified (No). ).

ステップ76では、書込みメインプログラムが、コピー用の領域に格納された初回の分割データを参照し、分割データに含まれたチェックサムを利用することによって、初回の分割データが正常に受信できたか否かを判定する。
書込みメインプログラムは、初回の分割データが正常に受信できていれば、処理をステップ77に進める(Yes)一方、初回の分割データが正常に受信できていなければ、処理をステップ78に進める(No)。
In step 76, the write main program refers to the first divided data stored in the copy area and uses the checksum included in the divided data to determine whether the first divided data has been successfully received. To determine.
The write main program advances the process to step 77 if the first divided data is normally received (Yes), while proceeding to step 78 if the first divided data is not normally received (No). ).

ステップ77では、書込みメインプログラムが、第1のバッファ領域133を、ROM110に分割データを書込むときに使用する書込み用の領域に設定するとともに、第2のバッファ領域134をコピー用の領域に設定する。   In step 77, the write main program sets the first buffer area 133 to the write area used when writing the divided data to the ROM 110, and sets the second buffer area 134 to the copy area. To do.

ステップ78では、書込みメインプログラムが、初回の分割データを再度取得するために、分割データの再送要求メッセージを書込みツール200に送信する。
なお、分割データの再送要求メッセージと共に、分割データを正常に受信できなかったことを示すメッセージ(分割データの受信NGメッセージ)を、書込みツール200に送信するようにしてもよい。
In step 78, the write main program sends a divided data resend request message to the writing tool 200 in order to obtain the first divided data again.
A message indicating that the divided data could not be properly received (divided data reception NG message) may be transmitted to the writing tool 200 together with the divided data resend request message.

ステップ79では、書込みメインプログラムが、2番目の分割データを取得するために分割データの送信要求メッセージを書込みツール200に送信する。
なお、分割データの送信要求メッセージと共に、前回の分割データを正常に受信できたことを示すメッセージ(分割データの受信OKメッセージ)を、書込みツール200に送信してもよい。
In step 79, the write main program sends a divided data transmission request message to the writing tool 200 to obtain the second divided data.
A message indicating that the previous divided data was successfully received (divided data received OK message) may be transmitted to the writing tool 200 together with the divided data transmission request message.

ステップ80では、書込みメインプログラムが、書込み用の領域に格納されているn番目の分割データからチェックサムを取り除き、書込み条件に従って、書込み用の領域に格納されているデータをROM110に書込む。   In step 80, the write main program removes the checksum from the n-th divided data stored in the write area, and writes the data stored in the write area to the ROM 110 according to the write condition.

ステップ81では、書込みメインプログラムが、書込みデータのベリファイを実行することによって、n番目のデータがROM110に正常に書込まれたか否か判定する。
書込みメインプログラムは、n番目のデータがROM110に正常に書込まれていれば、処理をステップ82に進める(Yes)一方、n番目のデータがROM110に正常に書込まれていなければ、処理をステップ84に進める(No)。
In step 81, the write main program determines whether or not the nth data has been normally written in the ROM 110 by executing the verification of the write data.
The write main program advances the processing to step 82 if the n-th data is normally written in the ROM 110 (Yes), while performing the processing if the n-th data is not normally written in the ROM 110. Proceed to step 84 (No).

なお、書込みデータのベリファイは、例えば、書込み用の領域の内容と、書込んだROM110の領域の内容とを比較することで行われる。   The verification of the write data is performed, for example, by comparing the content of the area for writing with the content of the area of the written ROM 110.

ステップ82では、書込みメインプログラムが、分割データのコピー完了メッセージが書込みサブプログラムから通知されたか否かを判定する。書込みメインプログラムは、分割データのコピー完了メッセージが通知されていれば、処理をステップ83に進める(Yes)一方、分割データのコピー完了メッセージが通知されていなければ、処理をステップ82に戻す(No)。   In step 82, the write main program determines whether or not a split data copy completion message is notified from the write subprogram. The write main program advances the process to step 83 if the divided data copy completion message is notified (Yes), while returning the process to step 82 if the divided data copy completion message is not notified (No). ).

ステップ83では、書込みメインプログラムは、コピー用の領域に格納されたデータが、アプリケーションの転送完了メッセージであるか否か判定する。
書込みメインプログラムは、コピー用の領域に格納されたデータがアプリケーションの転送完了メッセージであれば、処理を終了する(Yes)一方、コピー用の領域に格納されたデータがアプリケーションの転送完了メッセージでなければ、処理をステップ87に進める(No)。
In step 83, the write main program determines whether the data stored in the copy area is an application transfer completion message.
The write main program ends the process if the data stored in the copy area is the application transfer completion message (Yes), while the data stored in the copy area must be the application transfer completion message. If so, the process proceeds to step 87 (No).

ステップ84では、書込みメインプログラムが、分割データの書込みNGメッセージを、書込みツール200に送信する。
ステップ85では、書込みメインプログラムが、書込みを行ったROM110の領域のデータを消去する。
In step 84, the write main program sends a write data write NG message to the write tool 200.
In step 85, the write main program erases the data in the written area of the ROM 110.

ステップ86では、書込みメインプログラムが、第1のバッファ領域133を、コピー用の領域に設定する。
ステップ87では、書込みメインプログラムが、コピー用の領域にコピーされたn+1番目の分割データをチェックサムにより検証することによって、n+1番目の分割データが正常に受信できたか否かを判定する。書込みメインプログラムは、n+1番目の分割データが正常に受信できていれば、処理をステップ88に進める(Yes)一方、n+1番目の分割データが正常に受信できていなければ、処理をステップ91に進める(No)。
なお、n+1番目の分割データの検証は、n+1番目の分割データを受信した直後に書込みサブプログラムが行ってもよい。
In step 86, the write main program sets the first buffer area 133 as a copy area.
In step 87, the write main program determines whether or not the (n + 1) th divided data has been successfully received by verifying the (n + 1) th divided data copied to the copy area with a checksum. The write main program advances the processing to step 88 if the n + 1-th divided data has been normally received (Yes), while advancing the processing to step 91 if the n + 1-th divided data has not been normally received. (No).
The verification of the (n + 1) th divided data may be performed by the writing subprogram immediately after receiving the (n + 1) th divided data.

ステップ88では、書込みメインプログラムが、コピー用に設定されていたバッファ領域を書込み用の領域にすると共に、書込み用に設定されていたバッファ領域をコピー用の領域にする。   In step 88, the write main program sets the buffer area set for copying as a write area and the buffer area set for writing as a copy area.

ステップ89では、書込みメインプログラムが、n+2番目の分割データを取得するために、分割データの送信要求メッセージを書込みツール200に送信する。
なお、分割データの送信要求メッセージと共に、n番目の分割データをROM110に書込んだ旨のメッセージ(分割データの書込みOKメッセージ)及びn+1番目の分割データを受信した旨のメッセージ(分割データの受信OKメッセージ)を書込みツール200に送信するようにしてもよい。
In step 89, the writing main program transmits a division data transmission request message to the writing tool 200 in order to acquire the (n + 2) th division data.
A message indicating that the nth divided data has been written in the ROM 110 (divided data write OK message) and a message indicating that the (n + 1) th divided data has been received (divided data reception OK) together with the divided data transmission request message. The message) may be transmitted to the writing tool 200.

ステップ90では、書込みメインプログラムが、nに1を加算する。
ステップ91では、書込みメインプログラムが、n+1番目の分割データを再度取得するために、分割データの再送要求メッセージを書込みツール200に送信する。なお、分割データの再送要求メッセージと共に、n+1番目の分割データが正常に受信できなかった旨のメッセージ(分割データの受信NGメッセージ)を、書込みツール200に送信するようにしてもよい。
In step 90, the write main program adds 1 to n.
In step 91, the write main program sends a re-transmission request message for the divided data to the writing tool 200 in order to obtain the (n + 1) th divided data again. A message indicating that the (n + 1) th divided data could not be received normally (divided data reception NG message) may be transmitted to the writing tool 200 together with the divided data retransmission request message.

図16は、ECU100が書込みツール200からデータを受信したことを契機として、書込みサブプログラムがECU100によって実行する処理のフローチャートを示す。
ステップ101では、書込みサブプログラムが、受信した分割データを、通信バッファ領域141のRXからコピー用の領域にコピーする。
FIG. 16 shows a flowchart of processing executed by the writing subprogram by the ECU 100 when the ECU 100 receives data from the writing tool 200.
In step 101, the write subprogram copies the received divided data from the RX of the communication buffer area 141 to the copy area.

ステップ102では、書込みサブプログラムが、分割データのコピー完了メッセージを、書込みメインプログラムに通知する。
なお、コピー用の領域を、通信バッファ領域141のRXに相当する領域に設定し、ECU100が、コピー用の領域を使用してデータを受信するようにしてもよい。この場合、通信バッファ領域141のRXからコピー用の領域に分割データをコピーする処理が不要となる。
In step 102, the write subprogram notifies the write main program of a copy completion message of the divided data.
The copy area may be set to an area corresponding to RX of the communication buffer area 141, and the ECU 100 may use the copy area to receive data. In this case, the process of copying the divided data from the RX of the communication buffer area 141 to the copy area is unnecessary.

また、分割データの送信要求からコピー完了までの処理時間と、データをROM110に書込み及び検証処理に要する時間とで差がある場合、いずれかの時間の長い方の処理が完了したときに、次の分割データの受信処理と、データをROM110に書込む処理とを開始するようにしてもよい。   Further, when there is a difference between the processing time from the transmission request of the divided data to the completion of copying and the time required for writing the data to the ROM 110 and the verification processing, when one of the longer ones is completed, The process of receiving the divided data and the process of writing the data in the ROM 110 may be started.

このように、受信した分割データをECU100のRXにコピーし、ROM110に書込みを行うためのバッファ領域を2つ用意する。そして、2つのバッファ領域のうち、一方のバッファ領域を、ROM110に対する書込み処理に使用している間、他方のバッファ領域を、ECU100が受信した分割データをコピーする処理に使用する。
これにより、ECU100において、一方のバッファ領域を使用しROM110にデータを書込む処理と、分割データの受信、及び、受信した分割データを他方のバッファ領域にコピーする処理とを並列に行うことができる。このため、プログラム書込み全体処理に要する時間を削減することができる。
In this way, the received divided data is copied to the RX of the ECU 100, and two buffer areas for writing in the ROM 110 are prepared. Then, of the two buffer areas, one buffer area is used for the writing processing to the ROM 110, while the other buffer area is used for the processing of copying the divided data received by the ECU 100.
As a result, in the ECU 100, the process of writing data in the ROM 110 using one buffer area, the reception of the divided data, and the processing of copying the received divided data to the other buffer area can be performed in parallel. .. Therefore, the time required for the entire program writing process can be reduced.

また、これらの処理を実現するには、ECU100側の処理を変更すればよいため、書込みツール200を大幅に変更することなく、プログラム書込み全体処理に要する時間を削減することができる。   Further, in order to realize these processes, the process on the ECU 100 side may be changed, so that the time required for the entire program writing process can be reduced without significantly changing the writing tool 200.

アプリケーションプログラムの転送及び書込み処理の実施例のシーケンスは図17に示すとおりとなる。
ここで、書込みツール200が転送するプログラムの大きさは、180バイトである。また、ECU100の各RXのサイズの総計は64バイトである。
The sequence of the embodiment of the transfer and write processing of the application program is as shown in FIG.
Here, the size of the program transferred by the writing tool 200 is 180 bytes. The total size of each RX of the ECU 100 is 64 bytes.

ECU100は、初回の分割データの送信要求メッセージを、書込みツール200に送信する。
書込みツール200は、アプリケーションプログラムのデータのうち、最初の62バイトのデータを読み、2バイトのチェックサムを付加して初回の分割データを作成し、ECU100に転送する。
The ECU 100 transmits a first divided data transmission request message to the writing tool 200.
The writing tool 200 reads the first 62 bytes of data of the application program, adds a 2-byte checksum, creates the first divided data, and transfers the divided data to the ECU 100.

ECU100は、初回の分割データを受信した後、初回の分割データを通信バッファ領域141のRXから第1のバッファ領域133にコピーする。
次に、ECU100は、初回の分割データの検証を行い、第2の分割データの送信要求メッセージを書込みツール200に送信する。また、ECU100は、第1のバッファ領域133を使用し、データをROM110に書込む処理、及び、書込みデータの検証を行う。
After receiving the first divided data, the ECU 100 copies the first divided data from the RX of the communication buffer area 141 to the first buffer area 133.
Next, the ECU 100 verifies the divided data for the first time and transmits a transmission request message for the second divided data to the writing tool 200. Further, the ECU 100 uses the first buffer area 133 to perform processing of writing data in the ROM 110 and verification of write data.

書込みツール200は、第2の分割データの送信要求メッセージを受信すると、次に転送する62バイトのデータを読み、チェックサムを付加して第2の分割データを作成し、ECU100に転送する。   When receiving the transmission request message for the second divided data, the writing tool 200 reads the 62-byte data to be transferred next, adds a checksum to create the second divided data, and transfers the second divided data to the ECU 100.

ECU100は、第2の分割データを受信した後、第2の分割データを通信バッファ領域141のRXから第2のバッファ領域134にコピーする。次に、ECU100は、第2の分割データの検証を行う。
また、ECU100は、第2の分割データの検証及び初回の書込みデータの検証が完了すると、第3の分割データの送信要求メッセージを書込みツール200に送信する。さらに、ECU100は、第2のバッファ領域134を使用し、データをROM110に書込む処理、及び、書込みの検証を行う。
After receiving the second divided data, the ECU 100 copies the second divided data from the RX of the communication buffer area 141 to the second buffer area 134. Next, the ECU 100 verifies the second divided data.
Further, when the verification of the second divided data and the verification of the first write data are completed, the ECU 100 transmits a transmission request message for the third divided data to the writing tool 200. Further, the ECU 100 uses the second buffer area 134 to perform a process of writing data in the ROM 110 and a writing verification.

書込みツール200が、第3の分割データの送信要求メッセージを受信した後、残りの56バイトのデータを読み、チェックサムを付加して第3の分割データを作成し、ECU100に転送する。   After receiving the transmission request message for the third divided data, the writing tool 200 reads the remaining 56-byte data, adds a checksum to create the third divided data, and transfers the third divided data to the ECU 100.

ECU100が、第3の分割データを受信した後の処理は、第2データを受信した後の処理と同様である。
書込みツール200は、第4の分割データの送信要求メッセージを受信すると、アプリケーションの転送完了メッセージをECU100に送信する。
The process after the ECU 100 receives the third divided data is the same as the process after the second data is received.
When the writing tool 200 receives the transmission request message for the fourth divided data, the writing tool 200 transmits an application transfer completion message to the ECU 100.

なお、本実施形態はECU100を例にしたものであるが、ECU100に代えて、不揮発性メモリを搭載した他の電子制御装置にも適用できる。
また、1つの書込みツール200に複数のECU100を接続し、1つの書込みツール200が、各ECU100に対し、ROM110に書込むためのデータを時分割に転送するようにしてもよい。
It should be noted that although the present embodiment takes the ECU 100 as an example, it can be applied to another electronic control device equipped with a nonvolatile memory instead of the ECU 100.
Further, a plurality of ECUs 100 may be connected to one writing tool 200, and one writing tool 200 may transfer the data to be written in the ROM 110 to each ECU 100 in a time division manner.

ここで、前記実施形態から把握し得る請求項以外の技術的思想について、以下に効果と共に記載する。
(イ)前記制御プログラム及びデータの受信に使用する通信バッファは、車載状態の通信環境で未使用な通信バッファを含むことを特徴とする請求項1記載の自動車用電子制御装置。
Here, technical ideas other than the claims that can be understood from the embodiment will be described below together with the effects.
(A) The electronic control device for an automobile according to claim 1, wherein the communication buffer used for receiving the control program and the data includes a communication buffer which is not used in a communication environment in a vehicle.

車載状態で、通信相手となるどの装置も使用しない未使用の通信バッファがある場合、制御プログラム及びデータを取得するときにその未使用の通信バッファを使用することで、1つのデータを受信するために使用できる通信バッファのサイズが大きくなるため、通信回数を少なくすることができる。   When there is an unused communication buffer that is not used by any device that is a communication partner in the in-vehicle state, one data is received by using the unused communication buffer when acquiring the control program and data. Since the size of the communication buffer that can be used for is increased, the number of times of communication can be reduced.

(ロ)電気的にデータの消去及び書込みが可能な不揮発性メモリを備え、通信バッファを使用する通信によって、前記不揮発性メモリに書込むためのプログラムを所定サイズごとに取得可能な自動車用電子制御装置であって、
前記プログラムの受信を、車載状態の通信環境で使用する数を超える数の通信バッファを使用して行うことを特徴とする自動車用電子制御装置。
(B) Electronic control for automobiles, which is provided with a non-volatile memory capable of electrically erasing and writing data, and which can obtain a program for writing in the non-volatile memory for each predetermined size by communication using a communication buffer A device,
An electronic control unit for a vehicle, wherein the reception of the program is performed by using a number of communication buffers exceeding the number used in a vehicle-mounted communication environment.

(ハ)前記プログラムの受信において使用する通信バッファは、前記車載状態の通信環境で、通信相手となる複数の装置が使用するものであることを特徴とする(ロ)に記載の自動車用電子制御装置。 (C) The electronic control for an automobile according to (B), wherein the communication buffer used for receiving the program is used by a plurality of devices as communication partners in the communication environment in the vehicle-mounted state. apparatus.

(ニ)前記プログラムの受信において使用する通信バッファのサイズは、前記所定サイズ又は前記メモリへの書込みサイズに基づいて設定されることを特徴とする(ロ)又は(ハ)に記載の自動車用電子制御装置。 (D) The size of the communication buffer used in the reception of the program is set based on the predetermined size or the writing size to the memory, (b) or (c) Control device.

これらの自動車用電子制御装置によると、同期を取るような通信では、通信回数が少なくなり、データの転送に要する時間が減少し、データの転送の高速化が図れる。   According to these electronic control devices for automobiles, the number of times of communication is reduced in the communication for synchronization, the time required for data transfer is reduced, and the speed of data transfer can be increased.

(ホ)電気的にデータの消去及び書込みが可能な不揮発性メモリを備え、通信バッファを使用する通信によって、前記不揮発性メモリに書込むためのプログラムを所定サイズごとに取得可能な自動車用電子制御装置が、
前記プログラムの受信を、車載状態の通信環境で使用する数を超える数の通信バッファで行うことを特徴とするデータ通信方法。
(E) An electronic control for automobiles, which is provided with a nonvolatile memory capable of electrically erasing and writing data, and which can obtain a program for writing in the nonvolatile memory for each predetermined size by communication using a communication buffer The device
A data communication method, wherein the reception of the program is performed by a number of communication buffers that exceeds the number used in a vehicle-mounted communication environment.

このデータ通信方法によると、同期を取るような通信では、通信回数が少なくなり、データの転送に要する時間が減少し、データの転送の高速化が図れる。   According to this data communication method, the number of times of communication is reduced in communication for synchronization, the time required for data transfer is reduced, and the speed of data transfer can be increased.

100…ECU、110…ROM、141…通信バッファ領域   100 ... ECU, 110 ... ROM, 141 ... Communication buffer area

Claims (1)

少なくとも、車両制御の制御プログラムと通信バッファの設定プログラムの書込みを行う外部書込み装置に接続される自動車用電子制御装置であって、
前記自動車用電子制御装置は、
一時的に制御プログラム及びデータを保持する揮発性メモリと、
電気的にデータの消去及び書込みが可能な不揮発性メモリと、
前記外部書込み装置とのCAN通信に用いる第1のメールボックスと車両制御を行う外部装置とのCAN通信に用いる第2のメールボックスを有する通信回路部と、
を含んで構成され、
前記外部書込み装置から受信した前記通信バッファの設定プログラムによって、前記第2のメールボックスを前記第1のメールボックスとして割当て、前記第1のメールボックス及び前記第1のメールボックスとして割当てられた前記第2のメールボックスを用いて制御プログラム及びデータを受信することを特徴とする自動車用電子制御装置。
At least an automobile electronic control device connected to an external writing device for writing a vehicle control control program and a communication buffer setting program,
The electronic control unit for an automobile is
A volatile memory that temporarily holds the control program and data,
A non-volatile memory capable of electrically erasing and writing data,
A communication circuit unit having a first mailbox used for CAN communication with the external writing device and a second mailbox used for CAN communication with an external device for vehicle control;
Is composed of
By the external writing device the communication buffer setting program received from, the assigned second mailbox as said first mailbox, the allocated as the first mailbox and the first mailbox first An electronic control unit for a vehicle, which receives a control program and data using the mailbox of No. 2.
JP2018224148A 2018-11-29 2018-11-29 Electronic control unit for automobile Active JP6692400B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2018224148A JP6692400B2 (en) 2018-11-29 2018-11-29 Electronic control unit for automobile

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2018224148A JP6692400B2 (en) 2018-11-29 2018-11-29 Electronic control unit for automobile

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2017181421A Division JP6445646B2 (en) 2017-09-21 2017-09-21 Electronic control unit for automobile

Publications (2)

Publication Number Publication Date
JP2019040633A JP2019040633A (en) 2019-03-14
JP6692400B2 true JP6692400B2 (en) 2020-05-13

Family

ID=65726471

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2018224148A Active JP6692400B2 (en) 2018-11-29 2018-11-29 Electronic control unit for automobile

Country Status (1)

Country Link
JP (1) JP6692400B2 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003122622A (en) * 2001-10-09 2003-04-25 Honda Motor Co Ltd Vehicle controller for controlling reception and writing of data
JP2004210183A (en) * 2003-01-07 2004-07-29 Komatsu Ltd In-vehicle program rewrite control device
JP4385247B2 (en) * 2003-08-04 2009-12-16 日本電気株式会社 Integrated circuit and information processing apparatus
JP5945044B2 (en) * 2015-06-26 2016-07-05 日立オートモティブシステムズ株式会社 Electronic control device for automobile, writing system for electronic control device for automobile, and writing method of control program for vehicle control

Also Published As

Publication number Publication date
JP2019040633A (en) 2019-03-14

Similar Documents

Publication Publication Date Title
JP5451705B2 (en) Electronic control device for automobile and data communication method
JP5547701B2 (en) Electronic control unit for automobile
JP2013068105A (en) Electronic control device for vehicle
JP5945044B2 (en) Electronic control device for automobile, writing system for electronic control device for automobile, and writing method of control program for vehicle control
JP5816256B2 (en) Electronic control device for automobile and data communication method
JP6302004B2 (en) Writing program
US11914871B2 (en) Electronic control device and program-update method
JP6692400B2 (en) Electronic control unit for automobile
JP6445646B2 (en) Electronic control unit for automobile
WO2020189281A1 (en) Electronic control device and method for setting control data
JP6216000B2 (en) Electronic control unit for automobile
JP2016170471A (en) Electronic control device
JP5813833B2 (en) Electronic control unit for automobile
JP5956505B2 (en) Electronic control unit for automobile
JP6935694B2 (en) Electronic control device
JP2018067176A (en) Electronic control unit
JP5749832B2 (en) Electronic control device for automobile and data writing method in electronic control device for automobile
JPH0580813A (en) Programing device for programable controller

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20181227

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20190813

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20191015

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20200331

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20200414

R150 Certificate of patent or registration of utility model

Ref document number: 6692400

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250