JP5966995B2 - Electronic control device for vehicle and control program - Google Patents

Electronic control device for vehicle and control program Download PDF

Info

Publication number
JP5966995B2
JP5966995B2 JP2013066274A JP2013066274A JP5966995B2 JP 5966995 B2 JP5966995 B2 JP 5966995B2 JP 2013066274 A JP2013066274 A JP 2013066274A JP 2013066274 A JP2013066274 A JP 2013066274A JP 5966995 B2 JP5966995 B2 JP 5966995B2
Authority
JP
Japan
Prior art keywords
program
storage
electronic control
control device
updated
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
JP2013066274A
Other languages
Japanese (ja)
Other versions
JP2014191574A (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.)
Denso Corp
Original Assignee
Denso 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 Denso Corp filed Critical Denso Corp
Priority to JP2013066274A priority Critical patent/JP5966995B2/en
Publication of JP2014191574A publication Critical patent/JP2014191574A/en
Application granted granted Critical
Publication of JP5966995B2 publication Critical patent/JP5966995B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Description

本発明は、センタ装置から送信されるプログラムを書込むことでプログラムを更新する車両用電子制御装置、及び制御プログラムに関する。   The present invention relates to a vehicle electronic control device that updates a program by writing a program transmitted from a center device, and a control program.

この種の車両用電子制御装置(ECU:Electronic Control Uni)は、従来、外部の機器がプログラムの更新データを電子制御装置に書込むことでプログラムを更新する。また、車両外部に設置された遠隔のセンタ装置がネットワークを通じてプログラムを更新する技術が提供されている。   Conventionally, this type of vehicle electronic control unit (ECU: Electronic Control Uni) updates a program by an external device writing update data of the program in the electronic control unit. In addition, a technology is provided in which a remote center device installed outside a vehicle updates a program through a network.

このような場合、ユーザがプログラム更新中に車両電源を遮断する操作を行ってしまうとプログラムの更新処理を失敗してしまう。そこで、プログラム更新失敗を防ぐため不揮発性記憶手段を備え、当該不揮発性記憶手段が同じプログラムを2重化して記憶する。すると、プログラム更新処理中に電源が遮断されたときでも、不揮発性記憶手段に記憶されたプログラムを用いて復旧できるようになる(例えば、特許文献1参照)。   In such a case, if the user performs an operation to shut off the vehicle power supply during the program update, the program update process will fail. Therefore, in order to prevent a program update failure, a nonvolatile storage unit is provided, and the nonvolatile storage unit stores the same program in a duplicated manner. Then, even when the power is shut off during the program update process, the program can be restored using the program stored in the nonvolatile storage means (see, for example, Patent Document 1).

この特許文献1記載の装置は、更新用にプログラムを表面、裏面に2重化して不揮発的に記憶させ起動時にプログラムの整合性をチェックしている。装置が整合性をチェックするときにはバージョン情報の等否を判定すると共に、プログラム領域のチェックサムの計算値が保存されたチェックサムと等しいか否か判定する。プログラム領域のチェックサムの計算値が両面共に正常であり、表面および裏面のバージョンが同一であれば、表面のプログラムを使用し、バージョンが異なっていれば新たなバージョンのプログラムで古いバージョンのプログラムを書換えている。   The apparatus described in Patent Document 1 doubles a program for updating on the front and back surfaces and stores it in a nonvolatile manner, and checks the consistency of the program at the time of activation. When the device checks consistency, it determines whether the version information is equal, and also determines whether the calculated checksum value of the program area is equal to the stored checksum. If the calculated value of the checksum of the program area is normal on both sides and the front and back versions are the same, use the front side program, and if the versions are different, use the new version program with the old version program. Rewriting.

また、装置がプログラム更新中に電源遮断などの影響に応じて当該プログラムの記憶異常を生じたときには、更新中のプログラム領域とは異なる他の面のプログラム領域からプログラムを読込み、記憶異常を生じた面にプログラムを書込む。すると、正常なプログラムを保持できる。これにより、何れか一面のプログラムに異常を生じたとしても、正常なプログラムに復旧させることができる。   In addition, when a storage error occurred in the program during the program update due to the effect of power interruption, etc., the program was read from the program area on the other side different from the program area being updated, and the storage error occurred. Write a program on the surface. Then, a normal program can be maintained. Thereby, even if any one of the programs is abnormal, it can be restored to a normal program.

特開2008−27004号公報JP 2008-27004 A

しかし、電子制御装置が自身のプログラムを書換処理するときにバックアップメモリ領域を備えていないときにはこの方法を採用できない。また、バックアップメモリ領域を増設することなくメモリを効率的に活用することが望まれている。   However, this method cannot be employed when the electronic control device does not have a backup memory area when rewriting its own program. Further, it is desired to efficiently use the memory without increasing the backup memory area.

発明者らは、車両用の電子制御装置は車両用ネットワークを通じて他の電子制御装置と接続されているため、他の電子制御装置に搭載される記憶部を一時的に利用する方法を考えた。しかし、この種の記憶部は表面および裏面に常に同一情報をミラーリングするようになっており、一方の面に障害を生じたときに他方の面をコピー利用することで情報を復帰できる。このため電子制御装置の記憶部を有効利用できない。   Inventors considered the method of temporarily using the memory | storage part mounted in another electronic control apparatus since the electronic control apparatus for vehicles is connected with the other electronic control apparatus through the network for vehicles. However, this type of storage unit always mirrors the same information on the front and back surfaces, and when a failure occurs on one surface, information can be restored by using the other surface for copying. For this reason, the memory | storage part of an electronic controller cannot be used effectively.

本発明の目的は、更新指示を行う電子制御装置の記憶部を有効活用できるようにし、プログラム更新対象の電子制御装置の記憶プログラムを更新支援できるようにした車両用電子制御装置、及び制御プログラムを提供することにある。   An object of the present invention is to provide an electronic control device for a vehicle and a control program that can effectively utilize a storage unit of an electronic control device that issues an update instruction and can support update of a storage program of an electronic control device to be updated. It is to provide.

請求項1記載の発明は、プログラム更新対象となる電子制御装置がプログラムを記憶する第1記憶部を備え、この第1記憶部はプログラム書換処理時のバックアップメモリ領域を確保不能であり、センタ装置は更新対象の電子制御装置の第1記憶部に記憶されるプログラムの更新データを送信する装置であることを前提とし、更新対象の電子制御装置の第1記憶部のプログラムを更新支援する車両用電子制御装置を対象としている。   According to a first aspect of the present invention, the electronic control device to be updated by the program includes a first storage unit for storing the program, and the first storage unit cannot secure a backup memory area at the time of the program rewriting process. Is an apparatus for transmitting update data of a program stored in the first storage unit of the electronic control device to be updated, and for vehicles that support the update of the program in the first storage unit of the electronic control device to be updated Intended for electronic control devices.

請求項1記載の発明によれば、通信制御部は更新対象の電子制御装置との間で通信可能になっており、第2記憶部は通常時に表面の第1記憶領域及び裏面の第2記憶領域に同一プログラムをミラーリングしてそれぞれ記憶する。   According to the first aspect of the present invention, the communication control unit can communicate with the electronic control device to be updated, and the second storage unit normally has the first storage area on the front surface and the second storage on the back surface. The same program is mirrored and stored in each area.

そして、制御部の圧縮手段は、第1及び第2の記憶領域の何れかの記憶領域に記憶されミラーリングされた何れかの情報を圧縮し、記憶制御手段は、圧縮手段により圧縮された圧縮記憶領域以外に確保された情報格納可能領域について、更新対象の電子制御装置のプログラムおよびセンタ装置から送信されるプログラムの更新用データを一時的に格納するための領域として記憶制御する。   The compression unit of the control unit compresses any mirrored information stored in any one of the first and second storage areas, and the storage control unit compresses the compressed memory compressed by the compression unit. The information storage possible area secured other than the area is stored and controlled as an area for temporarily storing the program of the electronic control apparatus to be updated and the update data of the program transmitted from the center apparatus.

すると、更新指示手段が、記憶制御手段により記憶制御される電子制御装置のプログラム及びプログラムの更新用データを用いてプログラムを更新指示すると、プログラム更新対象の電子制御装置の記憶プログラムを更新できる。   Then, when the update instructing unit instructs to update the program using the program of the electronic control unit that is stored and controlled by the storage control unit and the update data for the program, the storage program of the electronic control unit to be updated can be updated.

したがって、例えば、プログラム更新対象の電子制御装置がプログラム書換処理時のバックアップ領域を備えず少量の領域しか確保できない場合であり、更新指示を行う電子制御装置の記憶部が表面及び裏面に同一情報をミラーリングするようになっていたとしても、当該電子制御装置の記憶部を有効活用でき、プログラム更新対象の電子制御装置の記憶プログラムを更新支援できる。   Therefore, for example, when the electronic control device to be updated is not provided with a backup area at the time of program rewriting and only a small area can be secured, the storage unit of the electronic control device that issues the update instruction puts the same information on the front and back surfaces. Even when mirroring is performed, the storage unit of the electronic control device can be effectively used, and the storage program of the electronic control device to be updated can be supported.

本発明の一実施形態の電気的構成を概略的に示す機能ブロック図1 is a functional block diagram schematically showing an electrical configuration of an embodiment of the present invention. 通常時の表面および裏面の記憶領域の内容を概略的に示す説明図Explanatory drawing which shows roughly the contents of the storage area of the front and back of the normal time 全体処理の流れを概略的に示すフローチャートFlow chart schematically showing the flow of overall processing プログラムチェック処理の流れを概略的に示すフローチャートFlow chart schematically showing the flow of program check processing プログラム領域の圧縮処理の流れを概略的に示すフローチャートA flowchart schematically showing the flow of compression processing of a program area 裏面の記憶領域を圧縮処理した後の表面および裏面の記憶領域の内容を概略的に示す説明図Explanatory drawing which shows roughly the contents of the storage area of the front surface and back surface after compressing the storage area of the back surface 更新前のプログラムの吸出処理と差分ファイルのダウンロード処理の流れを概略的に示すフローチャートFlowchart schematically showing the flow of the program sucking process and the difference file downloading process before the update 差分ファイルのダウンロード後の表面および裏面の記憶領域の内容を概略的に示す説明図Explanatory drawing which shows roughly the contents of the storage area of the front and back after downloading the difference file 更新前のプログラムをバックアップした後の表面および裏面の記憶領域の内容を概略的に示す説明図Explanatory drawing which shows roughly the contents of the storage area of the front and back after backing up the program before update プログラム更新処理の流れを概略的に示すフローチャートFlow chart schematically showing the flow of program update processing 制御部内の電気的構成を機能的に示す説明図Explanatory diagram functionally showing the electrical configuration in the control unit

以下、車両用電子制御装置によるプログラム更新システムの一実施形態について図面を参照しながら説明する。図1は車両用電子制御装置の全体構成を機能ブロックで示す。
車両用電子制御装置1は、制御部2と、記憶部4と、信号入力部5と、GPS測位部6と、無線通信部7と、タイマ管理部8と、電源制御部9と、車両LAN制御部10とを備える。信号入力部5は各種センサから信号を入力する。GPS測位部6は、外部のGPS衛星25のGPS信号を受信し現在位置を特定する。タイマ管理部8は各種の時間を計測する。制御部2はCPU2aを主として構成され、記憶部4に記憶される制御プログラムを実行することで、車両用電子制御装置1の動作全般を制御する。
Hereinafter, an embodiment of a program update system using a vehicle electronic control device will be described with reference to the drawings. FIG. 1 is a functional block diagram showing the overall configuration of the vehicle electronic control device.
The vehicle electronic control device 1 includes a control unit 2, a storage unit 4, a signal input unit 5, a GPS positioning unit 6, a wireless communication unit 7, a timer management unit 8, a power supply control unit 9, and a vehicle LAN. And a control unit 10. The signal input unit 5 inputs signals from various sensors. The GPS positioning unit 6 receives the GPS signal of the external GPS satellite 25 and specifies the current position. The timer management unit 8 measures various times. The control unit 2 is mainly configured by the CPU 2 a and controls the overall operation of the vehicle electronic control device 1 by executing a control program stored in the storage unit 4.

記憶部4は、ROM11、RAM12、フラッシュROM13、EEPROM14などの各種記憶領域を備えている。このうちROM11には、制御部2が実行する制御プログラムが予め記憶されている。RAM12は各種情報を一時的に読出/書込するためのメモリとなる。   The storage unit 4 includes various storage areas such as a ROM 11, a RAM 12, a flash ROM 13, and an EEPROM 14. Among these, the ROM 11 stores in advance a control program executed by the control unit 2. The RAM 12 serves as a memory for temporarily reading / writing various information.

また、フラッシュROM13は、図2に示すように表面の記憶領域Ra、裏面の記憶領域Rbを有し、これらの表面及び裏面の記憶領域Ra、Rbには、それぞれ電子制御装置1の車両用通信機(以下DCMと称す:Data Communication Module)のプログラムが記憶されている。   Further, as shown in FIG. 2, the flash ROM 13 has a storage area Ra on the front surface and a storage area Rb on the back surface, and the storage areas Ra and Rb on the front surface and back surface respectively have vehicle communication of the electronic control device 1. The program of the machine (hereinafter referred to as DCM: Data Communication Module) is stored.

これらの表面及び裏面の記憶領域Ra、Rbには、通常同一のバージョン情報M1a、M1bがそれぞれ記憶されると共に、DCMのプログラム本体のプログラムM2a、M2b、及び、チェックサムM3a、M3bがそれぞれ記憶されている。   In these storage areas Ra and Rb on the front and back sides, the same version information M1a and M1b are normally stored, respectively, and the programs M2a and M2b and the checksums M3a and M3b of the DCM program body are respectively stored. ing.

制御部2は、表面および裏面の記憶領域RaおよびRbのプログラムが正常に記憶されているか否かについて、それぞれのチェックサムM3a、M3bを用いて検査できる。この図2に示すように、DCMの通信機能のプログラム等M1a〜M3a、M1b〜M3bは、これらの表面及び裏面の記憶領域Ra、Rbのほぼ全てに記憶されている。   The control unit 2 can inspect whether or not the programs in the front and back storage areas Ra and Rb are normally stored using the respective checksums M3a and M3b. As shown in FIG. 2, programs such as DCM communication function programs M1a to M3a and M1b to M3b are stored in almost all of the storage areas Ra and Rb on the front and back surfaces.

また、このDCMの通信機能のプログラムM2a及びM2bは重要度の高いプログラムであり表面及び裏面に双方同一のプログラム(情報)がミラーリングされている。ミラーリングする理由は、一方の面に障害(クラッシュ)を生じたときに他方の面をコピー利用できるようにしてプログラムデータの損失を防ぐためである。   The DCM communication function programs M2a and M2b are highly important programs, and the same program (information) is mirrored on both the front and back surfaces. The reason for mirroring is to prevent loss of program data by making the other side available for copying when a failure (crash) occurs on one side.

なお、制御部2及び記憶部4内の電気的構成を機能的に示すと図11のように表すことができる。図1には各電気的構成ブロックを機能的に表しているが、近年の集積回路装置にはCPU2aの内部に記憶部4(ROM11、RAM12、フラッシュROM13、EEPROM14)が搭載されている。このため、これら図11に図示した機能はハードウェア的に一体のものでも別体のものでも適用可能となる。   In addition, when the electrical structure in the control part 2 and the memory | storage part 4 is shown functionally, it can represent like FIG. In FIG. 1, each electrical component block is functionally represented. However, in a recent integrated circuit device, a storage unit 4 (ROM 11, RAM 12, flash ROM 13, EEPROM 14) is mounted inside the CPU 2a. For this reason, the functions shown in FIG. 11 can be applied to a hardware integrated or separate function.

図1に示すように、電子制御装置1は、無線通信部7を用いて、基地局15及び通信網(無線/有線の通信網含む)16を通じて車両サービスセンタ(以下センタ装置と称す)17に接続されている。制御部2はフラッシュROM13に記憶されたプログラムを実行することでセンタ装置17との間で通信する。   As shown in FIG. 1, the electronic control device 1 uses a wireless communication unit 7 to a vehicle service center (hereinafter referred to as a center device) 17 through a base station 15 and a communication network (including a wireless / wired communication network) 16. It is connected. The control unit 2 communicates with the center device 17 by executing a program stored in the flash ROM 13.

電源制御部9は、車両バッテリ18に接続されておりバッテリ電圧を変換して電子制御装置1の中の各ブロックに電源供給する。電子制御装置1の車両LAN制御部10は車両用LAN19に接続されている。   The power control unit 9 is connected to the vehicle battery 18 and converts the battery voltage to supply power to each block in the electronic control unit 1. The vehicle LAN control unit 10 of the electronic control device 1 is connected to the vehicle LAN 19.

車両用LAN19には、ナビゲーション制御ECU(Electronic Control Unit)20、ドアロック制御ECU21、エンジン制御ECU22、などの各種ECUの他、アラーム装置23を介してホーン24が接続されている。各ECU20〜22はマイクロコンピュータ(図示せず)を備え、車両用LAN19に接続して各ECU20〜22と通信するための車両LANインタフェースを備える。   In addition to various ECUs such as a navigation control ECU (Electronic Control Unit) 20, a door lock control ECU 21, and an engine control ECU 22, a horn 24 is connected to the vehicle LAN 19 via an alarm device 23. Each of the ECUs 20 to 22 includes a microcomputer (not shown), and includes a vehicle LAN interface that is connected to the vehicle LAN 19 to communicate with the ECUs 20 to 22.

ナビゲーション制御ECU20は、ユーザに目的地までの経路情報などをナビゲーションするナビゲーション機能を備える。ドアロック制御ECU21は、車両ドアのロック/アンロックを制御する機能を備え、エンジン制御ECU22はエンジンを制御する機能を備える。   The navigation control ECU 20 has a navigation function for navigating the route information to the destination to the user. The door lock control ECU 21 has a function of controlling locking / unlocking of the vehicle door, and the engine control ECU 22 has a function of controlling the engine.

この中で、ナビゲーション制御ECU20は各種のマルチメディア情報を扱うため外部メモリやHDDなどの大容量記憶装置による記憶部20aを接続して構成されている。しかし、例えばドアロック制御ECU21、エンジン制御ECU22には、それぞれ必要最小限の記憶容量の記憶部21a、22aしか備えられていない場合があり、バックアップ領域を備えていないことがある。   Among them, the navigation control ECU 20 is configured by connecting a storage unit 20a by a large-capacity storage device such as an external memory or HDD in order to handle various multimedia information. However, for example, the door lock control ECU 21 and the engine control ECU 22 may include only the storage units 21a and 22a having the minimum necessary storage capacity, respectively, and may not include a backup area.

例えば、このような少量の記憶領域しか備えていないECU21、22が、センタ装置17から送信されるアップデートプログラム(更新用データ相当)などを当該ECU21、22内にインストールするときには、既存のプログラムに上書きする手法が考えられる。しかし、電子制御装置1とセンタ装置17との通信処理が無線通信環境の悪化により一時的に途絶したり、インストール処理時にフリーズしたりすると、既存のプログラムも破損してしまうことになる。この場合、車両用プログラムが破棄されると好ましくない。   For example, when the ECUs 21 and 22 having such a small storage area install an update program (corresponding to update data) transmitted from the center device 17 in the ECUs 21 and 22, the existing program is overwritten. A method to do this is conceivable. However, if communication processing between the electronic control device 1 and the center device 17 is temporarily interrupted due to deterioration of the wireless communication environment or freezes during installation processing, existing programs will also be damaged. In this case, it is not preferable that the vehicle program is discarded.

そこで、本実施形態では、以下の処理を行うことでこの不具合を解消し、電子制御装置1が、プログラム更新対象ECU21、22の記憶部21a、22a内のプログラムを更新支援できるようにしている。   Therefore, in the present embodiment, this problem is solved by performing the following processing, and the electronic control device 1 can support updating of the programs in the storage units 21a and 22a of the program update target ECUs 21 and 22.

図3はプログラム更新時の全体動作をフローチャートにより概略的に示すもので、制御部2のROM11には、この動作を行うためのプログラムが記憶されている。以下、例えば、ドアロック制御ECU21をプログラム更新対象ECUとして説明を行う。   FIG. 3 schematically shows an overall operation at the time of program update by a flowchart, and a program for performing this operation is stored in the ROM 11 of the control unit 2. Hereinafter, for example, the door lock control ECU 21 will be described as a program update target ECU.

図3に示すように、まず制御部2は表面及び裏面の記憶領域Ra、Rbのプログラムをチェックする(S1)。そして制御部2はこれらの記憶領域のうち例えば裏面の記憶領域Rbを圧縮する(S2)。そして制御部2は、更新対象の電子制御装置21のプログラム更新用データをダウンロードして情報格納可能領域(後述の図6のRba参照)に記憶させ、電子制御装置2から更新前のプログラムを吸出して情報格納可能領域Rbaに記憶させる(S3)。その後、制御部2はプログラムを更新する(S4)。以下これらの処理の詳細について、図4〜図11を参照しながら説明する。   As shown in FIG. 3, the control unit 2 first checks the programs in the storage areas Ra and Rb on the front and back surfaces (S1). Then, the control unit 2 compresses, for example, the storage area Rb on the back surface among these storage areas (S2). Then, the control unit 2 downloads the program update data of the electronic control device 21 to be updated, stores it in the information storage area (see Rba in FIG. 6 described later), and sucks out the program before update from the electronic control device 2. Is stored in the information storage area Rba (S3). Thereafter, the control unit 2 updates the program (S4). Details of these processes will be described below with reference to FIGS.

図4はステップS1のプログラムチェックの流れを概略的に表している。この処理では、表面の記憶領域Raに正常にプログラムが記憶されているか、裏面の記憶領域Rbに正常にプログラムが記憶されているか、さらに、バージョン情報M1a、M1bが表面と裏面とで同一であるか(すなわち正常にミラーリングされているか)を判定する。まず、制御部2は、表面及び裏面の記憶領域Ra、Rbに記憶されたプログラムをそれぞれチェックする(S11)。   FIG. 4 schematically shows the flow of the program check in step S1. In this process, whether the program is normally stored in the storage area Ra on the front surface, whether the program is normally stored in the storage area Rb on the back surface, and the version information M1a and M1b are the same on the front surface and the back surface. (That is, whether it is normally mirrored). First, the control unit 2 checks the programs stored in the front and back storage areas Ra and Rb, respectively (S11).

図2に示したように、フラッシュROM13の表面及び裏面の記憶領域Ra、Rbには、DCMのプログラムM2a、M2bがそれぞれ記憶されているが、ここで制御部2は、これらの表面および裏面の記憶プログラムM2a、M2bについて、それぞれのチェックサムM3a、M3bを用いて表面及び裏面のプログラムM2a、M2bを独立にチェックする。   As shown in FIG. 2, the storage areas Ra and Rb of the front and back surfaces of the flash ROM 13 store DCM programs M2a and M2b, respectively. For the stored programs M2a and M2b, the front and back programs M2a and M2b are independently checked using the respective checksums M3a and M3b.

このとき、図4のステップS11に示すように、表面も裏面もその記憶プログラムM2a、M2bのチェックが共に正常であると判定されれば(S12:YES)、バージョン情報M1a、M1bが同一であるか否かを判定し(S13)、この双方の条件を満たしていれば(S12、S13で共にYES)このルーチンを抜ける。しかし、制御部2は、ステップS12において両面正常ではないと判定したときには、片面異常であるか否かを判定する(S16)。   At this time, as shown in step S11 of FIG. 4, if it is determined that the storage program M2a and M2b are both checked on the front and back sides (S12: YES), the version information M1a and M1b are the same. (S13), if both conditions are satisfied (both YES in S12 and S13), this routine is exited. However, when it is determined in step S12 that both sides are not normal, the control unit 2 determines whether one side is abnormal (S16).

制御部2はS15において片面異常であると判定されたときには、正常と判定された面(正常面:例えば裏面)から異常と判定された面(異常面:例えば表面)に書込み(コピー)する(S17)。するとバージョン情報M1a、M1bも表面と裏面で同一となり、このルーチンを抜ける。またステップS16において、制御部2は、片面異常ではなく(S16:NO)、両面異常であると判定したときにはダイアグ出力して異常終了することになる。   When it is determined in S15 that the one side is abnormal in S15, the control unit 2 writes (copies) from the surface determined to be normal (normal surface: for example, back surface) to the surface (abnormal surface: for example, front surface) determined to be abnormal ( S17). Then, the version information M1a and M1b are the same on the front surface and the back surface, and the routine is exited. In step S16, if the control unit 2 determines that there is not a single-sided abnormality (S16: NO) but a double-sided abnormality, a diagnostic output is made and the process ends abnormally.

また、制御部2は、両面の記憶領域Ra、Rb共に正常であると判定されたときには(S12:YES)、バージョン情報M1a、M1bが同一であるか否か判定し、同一でなければ(S13:NO)、裏面のバージョンが特別なバージョン(例えば「FF」)となっているか否かを判定する(S14)。   Further, when it is determined that the storage areas Ra and Rb on both sides are normal (S12: YES), the control unit 2 determines whether or not the version information M1a and M1b are the same (S13). : NO), it is determined whether or not the back side version is a special version (for example, “FF”) (S14).

すなわちステップS14では、更新対象となる電子制御装置21がプログラムを更新中であるか否かを判定し、更新中であればそのまま保持しこのルーチンを抜ける。しかし、裏面の記憶領域Rbのバージョンが特別なバージョン(例えば「FF」)となっていなければ、新たなバージョンのプログラムをコピーする(S15)。そしてこのルーチンを抜ける。これによりプログラムのチェックルーチンを終了する。   That is, in step S14, it is determined whether or not the electronic control unit 21 to be updated is updating the program. If the program is being updated, the program is held and the routine is exited. However, if the version of the storage area Rb on the back surface is not a special version (for example, “FF”), a new version of the program is copied (S15). Then, this routine is exited. This completes the program check routine.

電子制御装置1が、センタ装置17からプログラム更新指示を受付け、プログラム更新対象の電子制御装置21のプログラムを更新支援するときには、後述するように裏面の記憶領域Rbのバージョン情報M1bが特別なバージョン(例えば「FF」)に書き換えられる。この特別なバージョン情報は、通常時には使用されることなく、しかもプログラム更新中(裏面の記憶領域Rbが圧縮面に設定)であることを示すバージョンに予め定められている。   When the electronic control device 1 receives a program update instruction from the center device 17 and supports updating of the program of the electronic control device 21 to be updated, the version information M1b in the storage area Rb on the back surface is a special version (as described later). For example, “FF”). This special version information is not used in normal times, and is set in advance to a version indicating that the program is being updated (the storage area Rb on the back side is set to the compression side).

したがって、プログラム更新中にはバージョン情報M1aとM1bとが表面と裏面とで同一となることはなく、S13でNO、S14でYESと判定され、このプログラムチェックルーチンを抜ける。しかし、裏面のバージョンが特別なバージョンから変更されると、ステップS15において新しいバージョンのプログラムがコピーされることになり、表面と裏面の記憶プログラムのバージョン情報M1aとM1bとが同一となる。   Accordingly, during program update, the version information M1a and M1b are not the same on the front surface and the back surface, and NO is determined in S13 and YES is determined in S14, and the program check routine is exited. However, if the version on the back side is changed from the special version, the new version program is copied in step S15, and the version information M1a and M1b of the storage program on the front side and the back side become the same.

図5は図3のステップS2について記憶領域の圧縮処理を概略的に示す。図5に示すように、電子制御装置1は、センタ装置17からプログラム更新の指示があると(S21:YES)、制御部2は、裏面のプログラムのバージョン情報M1bが前述の特別なバージョンに変更されていなければ(S22:NO)、裏面のプログラムのバージョン情報M1bを前述の特別なバージョン情報に変更する(S23)。   FIG. 5 schematically shows a storage area compression process in step S2 of FIG. As shown in FIG. 5, when the electronic control device 1 receives a program update instruction from the center device 17 (S21: YES), the control unit 2 changes the version information M1b of the program on the back surface to the special version described above. If not (S22: NO), the version information M1b of the program on the back surface is changed to the special version information described above (S23).

これにより、電子制御装置1の制御部2は、更新対象の電子制御装置21のプログラムを更新中であり、しかも裏面の記憶領域Rbが圧縮された面であることを認識できる。そして、制御部2は、フラッシュROM13の裏面の記憶領域Rbが圧縮されているか判定し(S24)、圧縮されていなければ(S24:NO)、裏面の記憶領域Rbを圧縮する(S25)。そしてこのルーチンを抜ける。   Thereby, the control unit 2 of the electronic control device 1 can recognize that the program of the electronic control device 21 to be updated is being updated, and the storage area Rb on the back surface is a compressed surface. Then, the control unit 2 determines whether the storage area Rb on the back surface of the flash ROM 13 is compressed (S24). If not compressed (S24: NO), the control section 2 compresses the storage area Rb on the back surface (S25). Then, this routine is exited.

図6は圧縮後の表面および裏面の記憶領域Ra、Rbの内容を概略的に示している。図6には、裏面の記憶領域Rbに記憶されるバージョン情報に符号M1ba、圧縮後のDCMのプログラムに符号M2ba、チェックサムに符号M3baを付して示している。   FIG. 6 schematically shows the contents of the storage areas Ra and Rb on the front and back surfaces after compression. In FIG. 6, the version information stored in the storage area Rb on the back surface is denoted by reference numeral M1ba, the compressed DCM program is denoted by reference numeral M2ba, and the checksum is denoted by reference numeral M3ba.

圧縮後には裏面のDCMのプログラムM2bが圧縮される(圧縮後のDCMのプログラムM2ba参照)。DCMのプログラムは、通常状態では裏面の記憶領域Rbの大半を占めるため、圧縮されると記憶領域Rb内の保持領域を大幅に削減できる。したがって、たとえ元プログラムが裏面の記憶領域Rbの全てに記憶されていたとしても、圧縮処理を施すことにより情報格納可能領域Rbaを確保できる。   After the compression, the DCM program M2b on the back surface is compressed (see the DCM program M2ba after compression). Since the program of DCM occupies most of the storage area Rb on the back surface in the normal state, the holding area in the storage area Rb can be greatly reduced when compressed. Therefore, even if the original program is stored in the entire storage area Rb on the back side, the information storage area Rba can be secured by performing the compression process.

図7は図3のステップS3の処理を概略的に示す。この図3のステップS3の処理は、更新対象の電子制御装置21のプログラム更新用データとなる差分ファイルを情報格納可能領域Rbaに記憶させ、更新対象の電子制御装置21から更新前のプログラムを情報格納可能領域Rbaに吸出し、バックアップ記憶させるルーチンを示している。   FIG. 7 schematically shows the process of step S3 of FIG. In the process of step S3 in FIG. 3, a difference file that is data for updating the program of the electronic control device 21 to be updated is stored in the information storable area Rba, and the program before update is updated from the electronic control device 21 to be updated. A routine for sucking and storing backup data in the storable area Rba is shown.

図7に示すように、制御部2は、センタ装置17からプログラム更新用データとなる差分ファイルをダウンロードしたか確認し、ダウンロード済でなければ(S31:NO)、差分ファイルをダウンロードする(S32)。ここで、差分ファイルのダウンロードを正常に完了したか否か確認する(S33)。   As shown in FIG. 7, the control unit 2 confirms whether or not a difference file serving as program update data has been downloaded from the center device 17, and if not already downloaded (S 31: NO), downloads the difference file (S 32). . Here, it is confirmed whether or not the download of the difference file has been completed normally (S33).

電子制御装置1はセンタ装置17との間で通信網16を通じて接続されているため、電波環境の変化等に応じてダウンロード途中で通信中断されてしまう可能性がある。このため、ステップS33において差分ファイルのダウンロードが正常に完了したか否かを確認する。   Since the electronic control device 1 is connected to the center device 17 through the communication network 16, there is a possibility that the communication is interrupted during the download in accordance with a change in the radio wave environment. Therefore, in step S33, it is confirmed whether or not the download of the difference file has been completed normally.

ここで、制御部2は正常に完了したと判定すれば(S33:YES)、ステップS34の処理に移る。図8は正常に差分ファイルをダウンロード完了したときの表面および裏面の記憶領域Ra及びRbの内容を概略的に示しており、図6に示す記憶内容に比較して差分ファイルM4bが裏面の記憶領域Rbに追加記憶されている。   Here, if it determines with the control part 2 having completed normally (S33: YES), it will move to the process of step S34. FIG. 8 schematically shows the contents of the storage areas Ra and Rb on the front and back surfaces when the difference file is normally downloaded. Compared to the storage contents shown in FIG. 6, the difference file M4b is stored on the back storage area. It is additionally stored in Rb.

制御部2は、ステップS34において更新対象の電子制御装置21のプログラムを情報格納可能領域Rbaに吸出し済かを判定し吸出済でなければ(S34:NO)、更新対象の電子制御装置21の現在のプログラム(すなわち更新前のプログラム)を吸出す(S35)。   In step S34, the control unit 2 determines whether or not the program of the electronic control device 21 to be updated has been sucked into the information storage area Rba, and if it has not been sucked (S34: NO), (S35).

図9は更新対象の電子制御装置21のプログラムが情報格納可能領域Rbaに吸出された後の表面および裏面の記憶領域Ra、Rbの内容を概略的に示す。この図9に示すように、図8に示す記憶内容に比較して、更新対象の電子制御装置21の更新前のプログラムM5bが裏面の記憶領域Rbにバックアップされている。   FIG. 9 schematically shows the contents of the storage areas Ra and Rb on the front and back surfaces after the program of the electronic control device 21 to be updated has been sucked into the information storable area Rba. As shown in FIG. 9, the program M5b before update of the electronic control device 21 to be updated is backed up in the storage area Rb on the back, compared with the stored contents shown in FIG.

他方、制御部2は、ステップS33において更新対象の電子制御装置21のプログラムの差分ファイルM4bを例えば所定時間経過してもダウンロード完了できなければ(S33:NO)、複数の第1所定回数を超えるまで試行し(S36)、ダウンロード回数が第1所定回数を超える(S36:NO)まで繰り返す。   On the other hand, if the download of the difference file M4b of the program of the electronic control device 21 to be updated is not completed even after a predetermined time, for example (S33: NO), the control unit 2 exceeds the first predetermined number of times. (S36), and repeats until the number of downloads exceeds the first predetermined number (S36: NO).

すなわち、通信環境が悪化しても第1所定回数を超えるまで試行を繰り返し、プログラムを結局ダウンロード完了できなければ、ダウンロードを中断して裏面の記憶領域Rbのバージョン情報R1bを更新前のバージョンに戻し(S37)、裏面の記憶領域Rbの圧縮状態を元に戻す。すなわち、表面及び裏面の記憶領域Ra、Rbの内容はそれぞれ図2に示すように元の内容に戻る。そして、制御部2は、ダウンロード試行を中断したことをセンタ装置17にダイアグ通知し(S38)異常終了する。   That is, even if the communication environment deteriorates, the trial is repeated until the first predetermined number of times is exceeded, and if the program cannot be downloaded after all, the download is interrupted and the version information R1b of the storage area Rb on the back surface is returned to the version before the update. (S37), the compressed state of the storage area Rb on the back surface is restored. That is, the contents of the storage areas Ra and Rb on the front and back surfaces are restored to the original contents as shown in FIG. Then, the control unit 2 notifies the center device 17 that the download attempt has been interrupted (S38) and ends abnormally.

図10は図3のステップS4の処理を概略的に示す。この図3のステップS4は、更新対象の電子制御装置21のプログラムを更新する処理を示している。図10に示すように、制御部2は、吸い出された更新対象の電子制御装置21のプログラムと差分ファイルとを用いて、新しい更新プログラムを作成しRAM12に展開する(S41)。   FIG. 10 schematically shows the process of step S4 of FIG. Step S4 in FIG. 3 shows processing for updating the program of the electronic control device 21 to be updated. As illustrated in FIG. 10, the control unit 2 creates a new update program using the extracted program of the electronic control device 21 to be updated and the difference file, and expands the update program in the RAM 12 (S41).

そして、制御部2は、RAM12に展開された新しい更新プログラムを、車両LAN制御部10を通じて更新対象の電子制御装置21に書込む(S42)。そして制御部2は更新対象の電子制御装置21に正常に書込み終了したか否かを判定し(S43)、正常に書込み終了していれば(S43:YES)、裏面の記憶領域Rbの圧縮状態を元に戻すと共に、裏面の記憶領域Rbのバージョン情報M1bをプログラム更新前のバージョンに戻して(S44)終了する。   And the control part 2 writes the new update program expand | deployed by RAM12 to the electronic control apparatus 21 of update object through the vehicle LAN control part 10 (S42). Then, the control unit 2 determines whether or not the writing to the electronic control device 21 to be updated has been completed normally (S43). If the writing has been completed normally (S43: YES), the compression state of the storage area Rb on the back surface is determined. And the version information M1b in the storage area Rb on the back side is returned to the version before the program update (S44), and the process is terminated.

他方、制御部2は、車両LAN制御部10による更新対象の電子制御装置21との通信接続環境が悪化するなどの理由から、ステップS43においてプログラムの更新処理が正常に終了したか確認したとしても、異常終了と判定する場合がある(S43:NO)。このような場合には、制御部2は、プログラムの更新書込回数の上限値(第2所定回数)を規定し、これらの複数の第2所定回数(規定値)を超える(S45:NO)まで試行を繰り返す。   On the other hand, even if the control unit 2 confirms whether the program update process has been normally completed in step S43 because the communication connection environment with the electronic control device 21 to be updated by the vehicle LAN control unit 10 is deteriorated. In some cases, it may be determined as abnormal termination (S43: NO). In such a case, the control unit 2 defines the upper limit value (second predetermined number) of the program update writing number, and exceeds the plurality of second predetermined number (specified value) (S45: NO). Repeat trial until.

制御部2は、試行を繰り返した結果、プログラムを更新できなければ(S45:NO)、吸い出された更新対象の電子制御装置21の更新前のプログラムをそのままRAM12に展開し(S46)、この更新前のプログラムを更新対象の電子制御装置21に書き戻す(S47)。   If the program cannot be updated as a result of repeated trials (S45: NO), the controller 2 expands the extracted program before update of the electronic control device 21 to be updated into the RAM 12 as it is (S46). The program before update is written back to the electronic control device 21 to be updated (S47).

そして、制御部2はプログラムの書込みを正常に終了したか否かを判定し(S48)、正常に終了していれば(S48:YES)、ステップS44において裏面の記憶領域Rbの圧縮状態を元に戻すと共に裏面の記憶領域Rbのバージョン情報M1bをプログラム更新前のバージョンに戻して終了する。   Then, the control unit 2 determines whether or not the writing of the program is normally completed (S48). If the writing is normally completed (S48: YES), the compression state of the storage area Rb on the back surface is determined based on the compression state in step S44. And the version information M1b in the storage area Rb on the back side is returned to the version before the program update, and the process ends.

制御部2は、車両LAN制御部10による更新対象の電子制御装置21との通信接続が悪化するなどの理由から、ステップS49においてプログラムの更新処理が正常に終了したか確認したとしても異常終了と判定する場合がある(S48:NO)。このような場合には、制御部2は、更新前のプログラムの書込回数の上限値(第3所定回数)を規定し、これらの複数の第3所定回数を超える(S49:YES)まで試行を繰り返す。   Even if the control unit 2 confirms whether or not the program update process has ended normally in step S49 because the communication connection with the electronic control device 21 to be updated by the vehicle LAN control unit 10 is deteriorated, the control unit 2 is abnormally terminated. It may be determined (S48: NO). In such a case, the control unit 2 defines an upper limit value (third predetermined number) of the number of times of writing of the program before the update, and tries until the plurality of third predetermined number of times is exceeded (S49: YES). repeat.

制御部2は、試行を繰り返した結果、更新前のプログラムを再書込できなければ(S49:NO)、再書込不能である旨をセンタ装置17に通知する(S50)。
その後、制御部2は、ステップS44に移行し、自身の電子制御装置1の裏面の記憶領域Rbの圧縮状態を元に戻すと共に裏面の記憶領域Rbのバージョン情報R1bをプログラム更新前のバージョンに戻して終了する。このようにしてプログラムの更新処理が行われる。
As a result of repeating the trial, if the program before the update cannot be rewritten (S49: NO), the control unit 2 notifies the center device 17 that the rewriting is impossible (S50).
Thereafter, the control unit 2 proceeds to step S44 to restore the compression state of the storage area Rb on the back surface of the electronic control device 1 and restore the version information R1b of the storage area Rb on the back surface to the version before the program update. To finish. In this way, the program update process is performed.

以上説明したように、本実施形態によれば、電子制御装置1の制御部2が、無線通信部7を用いて外部のセンタ装置17との間で通信処理を行い、センタ装置17から差分ファイルを取得してプログラムを更新するときに次のような手順で行っている。   As described above, according to the present embodiment, the control unit 2 of the electronic control device 1 performs communication processing with the external center device 17 using the wireless communication unit 7, and the difference file is transmitted from the center device 17. The following steps are taken when updating the program by acquiring the program.

電子制御装置1の制御部2がフラッシュROM13の裏面の記憶領域Rbを圧縮して情報格納可能領域(使用可能領域)Rbaを確保し、更新対象の電子制御装置21内の既存のプログラムM5bとセンタ装置17から取得する差分ファイルM4bを情報格納可能領域Rbaに一時的に記憶させる。すなわち、フラッシュROM13の裏面の記憶領域Rbのうち情報格納可能領域Rbaは、更新対象の電子制御装置21の既存のプログラムM5bのバックアップ領域として機能する。   The control unit 2 of the electronic control device 1 compresses the storage area Rb on the back surface of the flash ROM 13 to secure an information storageable area (usable area) Rba, and the existing program M5b in the electronic control apparatus 21 to be updated and the center The difference file M4b acquired from the device 17 is temporarily stored in the information storage area Rba. That is, the information storable area Rba in the storage area Rb on the back surface of the flash ROM 13 functions as a backup area for the existing program M5b of the electronic control device 21 to be updated.

その後、制御部2は、既存のプログラムM5bと差分ファイルM4bとを用いて新しい更新プログラムを作成し更新対象の電子制御装置21に書込む。そして制御部2はフラッシュROM13の裏面の記憶領域Rbの圧縮状態を元に戻す。   Thereafter, the control unit 2 creates a new update program using the existing program M5b and the difference file M4b, and writes it into the electronic control device 21 to be updated. Then, the control unit 2 restores the compressed state of the storage area Rb on the back surface of the flash ROM 13.

これにより、更新対象の電子制御装置21がたとえバックアップ領域を確保できない場合であっても、電子制御装置1の裏面の記憶領域Rbを一時的に開放して有効活用することでバックアップ領域が確保されるようになり、更新対象の電子制御装置21のプログラムを新しいプログラムに更新できる。   As a result, even when the electronic control device 21 to be updated cannot secure a backup area, the backup area is secured by temporarily opening the storage area Rb on the back surface of the electronic control apparatus 1 for effective use. As a result, the program of the electronic control device 21 to be updated can be updated to a new program.

また、無線通信環境の悪化などの影響、車両LAN制御部10による電子制御装置1と20〜23との間の通信環境の悪化などの影響に応じてプログラムの更新を失敗したときには、制御部2は更新前のプログラムを更新対象の電子制御装置21内に復旧させることができる。これにより信頼性を向上できる。   When the program update fails due to the influence of the deterioration of the wireless communication environment or the influence of the deterioration of the communication environment between the electronic control devices 1 and 20 to 23 by the vehicle LAN control section 10, the control section 2 Can restore the pre-update program in the electronic control device 21 to be updated. Thereby, reliability can be improved.

図面中、1は電子制御装置(車両用電子制御装置)、2は制御部、10は車両LAN制御部(通信制御部)、4は記憶部(第2記憶部)、17は車両サービスセンタ(センタ装置)、21a,22aは記憶部(第1記憶部)、21はドアロック制御ECU(更新対象の電子制御装置)、22はエンジン制御ECU(更新対象の電子制御装置)、101は圧縮手段、102は記憶制御手段、103は更新指示手段、Rbaは情報格納可能領域、R5bは電子制御装置のプログラム、M4bは差分ファイル(更新用データ)、M5bは更新前のプログラム(更新対象の電子制御装置のプログラム)、を示す。   In the drawings, 1 is an electronic control device (vehicle electronic control device), 2 is a control unit, 10 is a vehicle LAN control unit (communication control unit), 4 is a storage unit (second storage unit), and 17 is a vehicle service center ( Center device), 21a and 22a are storage units (first storage unit), 21 is a door lock control ECU (electronic control device to be updated), 22 is an engine control ECU (electronic control device to be updated), and 101 is a compression means. , 102 is a storage control means, 103 is an update instruction means, Rba is an information storage area, R5b is a program of an electronic control device, M4b is a difference file (update data), M5b is a program before update (electronic control to be updated) Device program).

Claims (2)

プログラムの更新対象となる電子制御装置(21,22)はプログラムを記憶する第1記憶部(21a,22a)を備え、前記第1記憶部(21a,22a)はプログラム書換処理時のバックアップメモリ領域を確保不能であり、
センタ装置(17)は前記更新対象の電子制御装置(21,22)の第1記憶部(21a,22a)に記憶されるプログラムの更新データを送信する装置であるときに、
前記更新対象の電子制御装置(21a,22a)の第1記憶部(21a,22a)のプログラムを更新支援する車両用電子制御装置(1)であって、
前記更新対象となる電子制御装置(21,22)との間で通信可能にする通信制御部(10)と、
通常時に表面の第1記憶領域(Ra)及び裏面の第2記憶領域(Rb)に同一プログラムをミラーリングしてそれぞれ記憶する第2記憶部(4)と、
前記第2記憶部(4)の第1及び第2記憶領域(Ra及びRb)の記憶内容を制御する制御部(2)と、を備え、
前記制御部(2)は、
前記第1及び第2の記憶領域(Ra及びRb)の何れかの記憶領域に記憶されミラーリングされた何れかの情報を圧縮する圧縮手段(101)と、
前記圧縮手段(101)により圧縮された圧縮記憶領域以外に確保された情報格納可能領域(Rba)について、前記更新対象の電子制御装置(21,22)のプログラム(M5b)および前記センタ装置(17)から送信されるプログラムの更新用データ(M4b)を一時的に格納するための領域として記憶制御する記憶制御手段(102)と、
前記記憶制御手段(102)により記憶制御される前記電子制御装置(21,22)のプログラム(M5b)及び前記プログラムの更新用データ(M4b)を用いてプログラムを更新指示する更新指示手段(103)と、を備えることを特徴とする車両用電子制御装置。
The electronic control device (21, 22) to be updated is provided with a first storage unit (21a, 22a) for storing the program, and the first storage unit (21a, 22a) is a backup memory area at the time of program rewriting processing. Is impossible to secure,
When the center device (17) is a device for transmitting update data of a program stored in the first storage unit (21a, 22a) of the electronic control device (21, 22) to be updated,
An electronic vehicle control device (1) for supporting update of a program in a first storage unit (21a, 22a) of the electronic control device (21a, 22a) to be updated,
A communication control unit (10) that enables communication with the electronic control device (21, 22) to be updated;
A second storage unit (4) for mirroring and storing the same program in the first storage area (Ra) on the front surface and the second storage area (Rb) on the back surface during normal operation;
A control unit (2) for controlling the storage contents of the first and second storage areas (Ra and Rb) of the second storage unit (4),
The control unit (2)
Compression means (101) for compressing any information stored and mirrored in any storage area of the first and second storage areas (Ra and Rb);
Regarding the information storage possible area (Rba) other than the compressed storage area compressed by the compression means (101), the program (M5b) of the electronic control device (21, 22) to be updated and the center device (17) Storage control means (102) for performing storage control as an area for temporarily storing update data (M4b) of the program transmitted from
Update instruction means (103) for instructing to update the program using the program (M5b) and the program update data (M4b) of the electronic control device (21, 22) controlled by the storage control means (102) And an electronic control device for a vehicle.
請求項1記載の車両用電子制御装置(1)の制御部(2)に、
第1及び第2の記憶領域(Ra及びRb)の何れかの記憶領域に記憶されミラーリングされた何れかの情報を圧縮する手順と、
圧縮された記憶領域以外に確保された情報格納可能領域(Rba)を、更新対象の電子制御装置(21,22)のプログラム(M5b)および前記センタ装置(17)から送信されるプログラムの更新用データ(M4b)を一時的に格納するための領域として記憶制御する手順と、
を実行させることを特徴とする車両用電子制御装置の制御プログラム。
The control unit (2) of the vehicle electronic control device (1) according to claim 1,
A procedure for compressing any information stored and mirrored in any storage area of the first and second storage areas (Ra and Rb);
An information storage possible area (Rba) secured other than the compressed storage area is used for updating the program (M5b) of the electronic control device (21, 22) to be updated and the program transmitted from the center device (17). A procedure for storage control as an area for temporarily storing data (M4b);
A control program for an electronic control device for a vehicle, characterized in that
JP2013066274A 2013-03-27 2013-03-27 Electronic control device for vehicle and control program Active JP5966995B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2013066274A JP5966995B2 (en) 2013-03-27 2013-03-27 Electronic control device for vehicle and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2013066274A JP5966995B2 (en) 2013-03-27 2013-03-27 Electronic control device for vehicle and control program

Publications (2)

Publication Number Publication Date
JP2014191574A JP2014191574A (en) 2014-10-06
JP5966995B2 true JP5966995B2 (en) 2016-08-10

Family

ID=51837776

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2013066274A Active JP5966995B2 (en) 2013-03-27 2013-03-27 Electronic control device for vehicle and control program

Country Status (1)

Country Link
JP (1) JP5966995B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2021056656A (en) * 2019-09-27 2021-04-08 株式会社アドヴィックス Vehicle reprogramming system
JP7298427B2 (en) 2019-10-07 2023-06-27 トヨタ自動車株式会社 Program update system and program update method
JP7266216B2 (en) * 2020-01-31 2023-04-28 パナソニックIpマネジメント株式会社 Information processing device and information processing method
JP7042406B2 (en) * 2020-11-16 2022-03-28 株式会社オートネットワーク技術研究所 In-vehicle device, control program and memory sharing method

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000330777A (en) * 1999-05-20 2000-11-30 Nec Corp Program exchanging method
JP2005332301A (en) * 2004-05-21 2005-12-02 Fujitsu Ltd Method and program for processing program updating, and information processing terminal
JP2010272971A (en) * 2009-05-19 2010-12-02 Nagoya Univ Control system and method for rewriting control program

Also Published As

Publication number Publication date
JP2014191574A (en) 2014-10-06

Similar Documents

Publication Publication Date Title
US11436002B2 (en) Systems and methods for failsafe firmware upgrades
CN109478155B (en) Vehicle-mounted updating device, vehicle-mounted updating system and updating method of communication device
JP6760813B2 (en) Software update device, software update method, software update system
US20140136826A1 (en) Method and apparatus for updating boot loader
JP5966995B2 (en) Electronic control device for vehicle and control program
CN112416406B (en) Terminal equipment upgrading method, device, terminal equipment and medium
WO2010098019A4 (en) Program update device, program update method, and information processing device
US20100325622A1 (en) Updating Firmware of an Electronic Device
CN110809755A (en) Electronic control system
CN114746860A (en) Resilient software updates in secure storage
US20160323416A1 (en) Method and device for updating software in a means of transportation
JP7298427B2 (en) Program update system and program update method
CN108228212A (en) Program updating method and device
JP2022015169A (en) Software update apparatus, method, program, and vehicle
CN114020526A (en) Firmware upgrading method and device and computer storage medium
CN101330695A (en) Mobile terminal as well as system upgrade method and device thereof
JPWO2019159715A1 (en) Vehicle control device and program update system
JP2020201986A (en) Software update device and software update method
JP7484791B2 (en) OTA master, update control method, and update control program
US11429375B2 (en) Method for exchanging a first executable program code and a second executable program code, and a control unit
KR20160006495A (en) Booting image restoration system and restoration method thereof
KR20220111648A (en) Ota master, update control method, non-transitory storage medium, and vehicle
CN111611000A (en) High-reliability firmware over-the-air upgrading method and system
JP2974311B1 (en) Wireless base station device
WO2020043361A1 (en) Installing application program code on a vehicle control system

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20150910

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20160525

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: 20160607

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20160620

R151 Written notification of patent or utility model registration

Ref document number: 5966995

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250