JP2023174004A - Vehicle control apparatus and program update method - Google Patents

Vehicle control apparatus and program update method Download PDF

Info

Publication number
JP2023174004A
JP2023174004A JP2022086595A JP2022086595A JP2023174004A JP 2023174004 A JP2023174004 A JP 2023174004A JP 2022086595 A JP2022086595 A JP 2022086595A JP 2022086595 A JP2022086595 A JP 2022086595A JP 2023174004 A JP2023174004 A JP 2023174004A
Authority
JP
Japan
Prior art keywords
program
communication path
vehicle control
communication
control device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2022086595A
Other languages
Japanese (ja)
Inventor
祥恭 森
Yoshitaka Mori
隆博 飯田
Takahiro Iida
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 Astemo 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 Astemo Ltd filed Critical Hitachi Astemo Ltd
Priority to JP2022086595A priority Critical patent/JP2023174004A/en
Publication of JP2023174004A publication Critical patent/JP2023174004A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

To provide a technique for increasing a speed in updating a program.SOLUTION: A vehicle control apparatus for executing a program includes: a processor for executing the program; a communication unit which can communicate with an external device through a first communication path and a second communication path higher in a speed than the first communication path; a nonvolatile memory which stores a first communication program for the first communication path; and a volatile memory which temporarily stores data. In updating the program, the vehicle control apparatus receives a second communication program for the second communication path from the external device, writes the received second communication program to the volatile memory, executes the second communication program, and rewrites the program stored in the nonvolatile memory through the second communication path.SELECTED DRAWING: Figure 1

Description

本発明は、車両制御装置に関し、特に、プログラム更新方法に関する。 The present invention relates to a vehicle control device, and particularly to a program update method.

自動車用の車両制御装置は、不揮発性メモリに書き込まれているプログラムを新しいプログラムに書き換えるプログラム更新を行うことがある。 A vehicle control device for an automobile may update a program written in a nonvolatile memory to a new program.

本技術分野の背景技術として、以下の先行技術がある。特許文献1(特開2014-139848号公報)には、電気的にデータの消去及び書き込みが可能な不揮発性メモリを備えた自動車用電子制御装置であって、外部から転送される書き込みデータのサイズが、前記不揮発性メモリの書き換え領域サイズの半分以下である場合に、転送された書き込みデータを一時的に保存し、複数の書き込みデータをまとめて前記書き換え領域サイズとして、前記不揮発性メモリに一括して書き込む自動車用電子制御装置が記載されている。 As background technology in this technical field, there is the following prior art. Patent Document 1 (Japanese Unexamined Patent Application Publication No. 2014-139848) discloses an electronic control device for an automobile equipped with a nonvolatile memory that can electrically erase and write data, and the size of written data transferred from the outside. is less than half of the rewrite area size of the non-volatile memory, the transferred write data is temporarily stored, and a plurality of write data are collectively stored in the non-volatile memory as the rewrite area size. An electronic control unit for automobiles that writes data is described.

特開2014-139848号公報Japanese Patent Application Publication No. 2014-139848

近年、車載プログラムの規模が大きくなっており、車載プログラムの規模が大きくなるとプログラムアップデートに時間がかかるという問題がある。 In recent years, the scale of in-vehicle programs has increased, and as the scale of in-vehicle programs increases, there is a problem in that it takes time to update the programs.

そこで、本発明は、プログラムの更新を高速化する技術の提供を目的とする。 Therefore, an object of the present invention is to provide a technology for speeding up program updates.

本願において開示される発明の代表的な一例を示せば以下の通りである。すなわち、プログラムを実行する車両制御装置であって、前記プログラムを実行するプロセッサと、外部機器との間で第1通信経路での通信と前記第1通信経路より高速な第2通信経路での通信が可能な通信部と、前記第1通信経路用の第1通信プログラムを記憶する不揮発性メモリと、データを一時的に記憶する揮発性メモリと、を備え、前記プログラムを更新する際に、前記第2通信経路用の第2通信プログラムを前記外部機器から受信し、受信した前記第2通信プログラムを前記揮発性メモリに書き込み、前記第2通信プログラムを実行し、前記第2通信経路で前記不揮発性メモリに記憶された前記プログラムを書き換えることを特徴とする。 A typical example of the invention disclosed in this application is as follows. That is, a vehicle control device that executes a program, in which a processor that executes the program and an external device communicate through a first communication path and a second communication path that is faster than the first communication path. a communication unit capable of updating the program, a non-volatile memory that stores a first communication program for the first communication path, and a volatile memory that temporarily stores data; A second communication program for a second communication path is received from the external device, the received second communication program is written in the volatile memory, the second communication program is executed, and the non-volatile memory is The present invention is characterized in that the program stored in the physical memory is rewritten.

本発明の一態様によれば、プログラムの更新を高速化できる。前述した以外の課題、構成及び効果は、以下の実施例の説明によって明らかにされる。 According to one aspect of the present invention, it is possible to speed up program updates. Problems, configurations, and effects other than those described above will be made clear by the description of the following examples.

本発明の実施例の車両制御装置の構成を示す図である。1 is a diagram showing the configuration of a vehicle control device according to an embodiment of the present invention. 本実施例の外部機器と車両制御装置が実行する処理のフローチャートである。2 is a flowchart of processing executed by an external device and a vehicle control device according to the present embodiment. 本実施例の外部機器と車両制御装置の初期状態を示す図である。FIG. 3 is a diagram showing an initial state of an external device and a vehicle control device according to the present embodiment. 第1通信経路での通信確認を示す図である。It is a figure which shows the communication confirmation in a 1st communication path. 第1通信経路で書き換えプログラムの受信、揮発性メモリへの書き込みを示す図である。FIG. 3 is a diagram illustrating reception of a rewriting program and writing to volatile memory through a first communication path. 正常にプログラムが書き込まれたかの確認を示す図である。FIG. 6 is a diagram illustrating confirmation whether a program has been written normally. 起動プログラムから書き換えプログラムの実行を示す図である。FIG. 3 is a diagram showing execution of a rewriting program from a startup program. 第2通信経路での通信確認を示す図である。FIG. 7 is a diagram illustrating communication confirmation on a second communication path. プログラムの受信、アップデートを示す図である。FIG. 3 is a diagram illustrating reception and update of a program. プログラムが正常にアップデートされたかの確認を示す図である。FIG. 3 is a diagram illustrating confirmation whether a program has been updated normally. 書き換えプログラムによる車両制御装置のリセットを示す図である。It is a figure which shows the reset of a vehicle control device by a rewriting program. 起動プログラムによる車両制御装置のリセットを示す図である。FIG. 3 is a diagram showing resetting of the vehicle control device by a startup program.

[実施例1]
以下、添付された図面を参照し、本発明を実施するための実施例について詳述する。
[Example 1]
Hereinafter, embodiments for carrying out the present invention will be described in detail with reference to the accompanying drawings.

図1は、本発明の実施例の車両制御装置200の構成を示す図である。 FIG. 1 is a diagram showing the configuration of a vehicle control device 200 according to an embodiment of the present invention.

本実施例の車両制御装置200は、プログラムアップデートするために外部機器100と接続されている。車両制御装置200は、プログラムを実行するプロセッサ250、電源遮断時にも記憶内容を保持可能な不揮発性メモリ210と、電源遮断時に記憶内容が保持されない揮発性メモリ220を有する。車両制御装置200は、第1通信経路110及び第2通信経路120で外部機器100と通信可能なハードウェアを有し、外部機器100と有線又は無線で接続されている。また、車両制御装置200は、第1通信経路中継装置230と第2通信経路中継装置240を有する。 The vehicle control device 200 of this embodiment is connected to the external device 100 in order to update the program. The vehicle control device 200 includes a processor 250 that executes programs, a non-volatile memory 210 that can retain its stored contents even when the power is turned off, and a volatile memory 220 that does not retain its stored contents when the power is turned off. The vehicle control device 200 has hardware that can communicate with the external device 100 via a first communication path 110 and a second communication path 120, and is connected to the external device 100 by wire or wirelessly. The vehicle control device 200 also includes a first communication route relay device 230 and a second communication route relay device 240.

このとき、第1通信経路110はCAN(登録商標)、第2通信経路120はEthernet(登録商標)であるとよいが、第2通信経路120の通信速度が第1通信経路110の通信速度より早ければ、他の通信経路でもよい。 At this time, the first communication path 110 is preferably CAN (registered trademark) and the second communication path 120 is preferably Ethernet (registered trademark), but the communication speed of the second communication path 120 is higher than the communication speed of the first communication path 110. Other communication routes may be used as soon as possible.

車両制御装置200の不揮発性メモリ210には、起動プログラムBPと、車両を制御する第1アプリケーションプログラムAP1が格納される。第1アプリケーションプログラムAP1は、プログラムアップデートの対象である。起動プログラムBPは、第1通信経路110を利用可能とする初期化部と、第1通信経路110で通信する送受信部と、揮発性メモリ220にプログラムを書き込む書き込み部と、揮発性メモリ220に書き込まれたプログラムを確認する書き込み確認部と、揮発性メモリ220に書き込まれたプログラムを実行する揮発性メモリ実行部を有する。 The nonvolatile memory 210 of the vehicle control device 200 stores a startup program BP and a first application program AP1 for controlling the vehicle. The first application program AP1 is a target of program update. The startup program BP includes an initialization section that makes the first communication path 110 usable, a transmitting and receiving section that communicates through the first communication path 110, a writing section that writes a program to the volatile memory 220, and a writing section that writes the program to the volatile memory 220. It has a write confirmation section that confirms the written program, and a volatile memory execution section that executes the program written in the volatile memory 220.

車両制御装置200は、第1通信経路110からデータを受信するための第1通信経路中継装置230と、第2通信経路120からデータを受信するための第2通信経路中継装置240を有する。外部機器100は、第1通信経路110と第2通信経路120を介して通信するハードウェアを有する。 The vehicle control device 200 includes a first communication path relay device 230 for receiving data from the first communication path 110 and a second communication path relay device 240 for receiving data from the second communication path 120. The external device 100 has hardware that communicates via a first communication path 110 and a second communication path 120.

外部機器100には、書き換えプログラムWPと、プログラムアップデートに使用する第2アプリケーションプログラムAP2が格納される。書き換えプログラムWPは、第2通信経路初期化部、送受信部、不揮発性メモリ書き込み部、及び書き込み確認部を有する。書き換えプログラムWPは、不揮発性メモリ実行部を有してもよい。第2アプリケーションプログラムAP2は、車両制御装置200の不揮発性メモリ上のプログラムをアップデートするプログラムを有する。 The external device 100 stores a rewriting program WP and a second application program AP2 used for program update. The rewriting program WP includes a second communication path initialization section, a transmitting/receiving section, a nonvolatile memory writing section, and a writing confirmation section. The rewriting program WP may include a nonvolatile memory execution section. The second application program AP2 has a program that updates the program on the nonvolatile memory of the vehicle control device 200.

図3に示すように、初期状態において、車両制御装置200の不揮発性メモリ210には、起動プログラムBPと第1アプリケーションプログラムAP1が書き込まれている。また、車両制御装置200は、第1通信経路110と第2通信経路120を用いて外部機器100と通信可能なハードウェアを搭載している。車両制御装置200の起動プログラムBPは、第1通信経路110で外部機器100と通信可能な通信プログラムを含んでおり、第2通信経路120で外部機器100と通信可能な通信プログラムを含んでいない。 As shown in FIG. 3, in an initial state, a startup program BP and a first application program AP1 are written in the nonvolatile memory 210 of the vehicle control device 200. Further, the vehicle control device 200 is equipped with hardware that can communicate with the external device 100 using the first communication path 110 and the second communication path 120. The startup program BP of the vehicle control device 200 includes a communication program capable of communicating with the external device 100 through the first communication path 110 and does not include a communication program capable of communicating with the external device 100 through the second communication path 120.

まず、図4に示すように、車両制御装置200は、起動プログラムBPを実行して、第1通信経路110で車両制御装置200と確認データを送受信し、第1通信経路110で車両制御装置200と通信可能なことを確認する。 First, as shown in FIG. 4, the vehicle control device 200 executes the startup program BP, transmits and receives confirmation data to and from the vehicle control device 200 through the first communication path 110, and sends and receives confirmation data to and from the vehicle control device 200 through the first communication path 110. Make sure you can communicate with.

次に、図5に示すように、外部機器100は、第2通信経路120経由で通信可能な書き換えプログラムWPを第1通信経路110で車両制御装置200に送信する(図2のS10)。次に、車両制御装置200は、外部機器100から送信された書き換えプログラムWPを受信する(図2のS11)。次に、車両制御装置200は、受信した書き換えプログラムWPを揮発性メモリ220に格納する(図2のS12)。 Next, as shown in FIG. 5, the external device 100 transmits the rewriting program WP that can be communicated via the second communication path 120 to the vehicle control device 200 via the first communication path 110 (S10 in FIG. 2). Next, the vehicle control device 200 receives the rewriting program WP transmitted from the external device 100 (S11 in FIG. 2). Next, vehicle control device 200 stores the received rewriting program WP in volatile memory 220 (S12 in FIG. 2).

次に、図6に示すように、外部機器100は、第1通信経路110でプログラムの確認コマンドを車両制御装置200に送信して、揮発性メモリ220に書き込まれた書き換えプログラムWPに欠損がないかを確認する(図2のS13)。 Next, as shown in FIG. 6, the external device 100 transmits a program confirmation command to the vehicle control device 200 via the first communication path 110, so that the rewriting program WP written in the volatile memory 220 is free from defects. (S13 in FIG. 2).

次に、図7に示すように、車両制御装置200は、揮発性メモリ220に書き換えプログラムWPが正常に書き込まれたことを確認した後、書き換えプログラムWPを実行する(図2のS14)。 Next, as shown in FIG. 7, the vehicle control device 200 executes the rewriting program WP after confirming that the rewriting program WP has been correctly written into the volatile memory 220 (S14 in FIG. 2).

次に、図8に示すように、外部機器100は、車両制御装置200から第2通信経路120で確認データを送受信して、第2通信経路120で車両制御装置200と通信可能なことを確認する(図2のS15)。次に、車両制御装置200は、外部機器100から正常にデータを受信すると、外部機器100に応答を送信した後、プログラムアップデートを開始する(図2のS16)。 Next, as shown in FIG. 8, the external device 100 transmits and receives confirmation data from the vehicle control device 200 through the second communication path 120, and confirms that it can communicate with the vehicle control device 200 through the second communication path 120. (S15 in FIG. 2). Next, when the vehicle control device 200 normally receives data from the external device 100, it transmits a response to the external device 100, and then starts a program update (S16 in FIG. 2).

次に、図9に示すように、外部機器100は、第2通信経路120で第2アプリケーションプログラムAP2を車両制御装置200に送信して、プログラムアップデートする。このとき、第2アプリケーションプログラムAP2を分割して、車両制御装置200に送信するとよい(図2のS17)。次に、車両制御装置200は、第2通信経路120で第2アプリケーションプログラムAP2を受信する。車両制御装置200は、受信した分割された第2アプリケーションプログラムAP2を揮発性メモリ220に格納する(図2のS18)。次に、車両制御装置200はプログラムアップデートを行う。不揮発性メモリ210上の第1アプリケーションプログラムAP1に対して、揮発性メモリ220に格納した第2アプリケーションプログラムAP2を上書きして、プログラムをアップデートする(図2のS19)。この処理を第2アプリケーションプログラムAP2の全てのアップデートが完了するまで繰り返す。 Next, as shown in FIG. 9, the external device 100 transmits the second application program AP2 to the vehicle control device 200 via the second communication path 120 to update the program. At this time, it is preferable to divide the second application program AP2 and send it to the vehicle control device 200 (S17 in FIG. 2). Next, the vehicle control device 200 receives the second application program AP2 via the second communication path 120. Vehicle control device 200 stores the received divided second application program AP2 in volatile memory 220 (S18 in FIG. 2). Next, vehicle control device 200 performs a program update. The first application program AP1 on the nonvolatile memory 210 is overwritten with the second application program AP2 stored in the volatile memory 220 to update the program (S19 in FIG. 2). This process is repeated until all updates of the second application program AP2 are completed.

次に、図10に示すように、車両制御装置200は、第2アプリケーションプログラムAP2のアップデート完了後、アップデートしたプログラムの確認コマンドを第2通信経路120で受信すると、プログラムが正常に書き込まれているかを確認する(図2のS20)。次に、車両制御装置200は、正常にアップデートされた場合、書き込み完了応答を外部機器100に送信する(図2のS21)。正常にアップデートされていない場合、第2アプリケーションプログラムAP2を再度アップデートする。 Next, as shown in FIG. 10, after completing the update of the second application program AP2, the vehicle control device 200 receives a confirmation command for the updated program via the second communication path 120, and then checks whether the program has been written normally. (S20 in FIG. 2). Next, when the vehicle control device 200 is updated normally, it transmits a write completion response to the external device 100 (S21 in FIG. 2). If it has not been updated normally, the second application program AP2 is updated again.

次に、図11に示すように、車両制御装置200は、アップデート完了応答を送信後、揮発性メモリ220をリセットし、揮発性メモリ220に書き込まれている書き換えプログラムWPを消去する(図2のS22)。このため、車両制御装置200に搭載されるメモリ容量を増加せずに、書き換えプログラムWPを導入できる。このとき、図12に示すように、不揮発性メモリ210の起動プログラムBPに処理を移動して、起動プログラムBPを実行した後、車両制御装置200をリセットしてもよい。 Next, as shown in FIG. 11, after transmitting the update completion response, the vehicle control device 200 resets the volatile memory 220 and erases the rewrite program WP written in the volatile memory 220 (see FIG. S22). Therefore, the rewriting program WP can be introduced without increasing the memory capacity installed in the vehicle control device 200. At this time, as shown in FIG. 12, the process may be moved to the startup program BP in the nonvolatile memory 210, and after the startup program BP is executed, the vehicle control device 200 may be reset.

実施例1によれば、以下の効果を得ることができる。 According to Example 1, the following effects can be obtained.

プログラムが、高速な第2通信経路120で通信不可能で、低速な第1通信経路110だけで通信可能な場合、本実施例の方法では、第2通信経路120で通信可能な書き換えプログラムWPを車両制御装置200で実行可能とする。これにより、第2通信経路120でアップデートプログラムを転送でき、車両制御装置200のプログラムアップデート時間を短縮できる。 If the program cannot communicate through the high-speed second communication path 120 and can communicate only through the slow first communication path 110, the method of this embodiment uses the rewriting program WP that can communicate through the second communication path 120. It can be executed by the vehicle control device 200. Thereby, the update program can be transferred through the second communication path 120, and the time required to update the program of the vehicle control device 200 can be shortened.

また、車両制御装置200の揮発性メモリ220に第2通信経路120で通信可能な書き換えプログラムWPを配置するため、プログラムアップデート後に車両制御装置200に書き換えプログラムWPを残さずに、書き換えプログラムWPを一時的に利用できる。よって、車両制御装置200に搭載するメモリ容量を増加せずに、車両制御装置200の機能を追加できる。 In addition, in order to arrange the rewrite program WP that can communicate via the second communication path 120 in the volatile memory 220 of the vehicle control device 200, the rewrite program WP is temporarily stored without leaving the rewrite program WP in the vehicle control device 200 after the program update. can be used for Therefore, functions of the vehicle control device 200 can be added without increasing the memory capacity installed in the vehicle control device 200.

また、第1アプリケーションプログラムAP1だけでなく、起動プログラムBPもアップデートする場合、車両制御装置200は、起動プログラムBPの実行中に起動プログラムBPをアップデートできない。本実施例の方法では、車両制御装置200の揮発性メモリ上の書き換えプログラムWPでプログラムアップデート用のプログラムを実行するため、不揮発性メモリ210上の起動プログラムBPをアップデートできる。 Further, when updating not only the first application program AP1 but also the starting program BP, the vehicle control device 200 cannot update the starting program BP while the starting program BP is being executed. In the method of the present embodiment, the program update program is executed by the rewriting program WP on the volatile memory of the vehicle control device 200, so the startup program BP on the nonvolatile memory 210 can be updated.

本実施例によって、第1通信経路110で通信可能なサイズに分割したデータを集約し、第2通信経路120で車両制御装置200に送信して、車両制御装置200のプログラムをアップデートするので、外部機器100側も、従来のアップデート支援ツールを変更することなくプログラムを高速にアップデートできる。 According to this embodiment, the data divided into communicable sizes through the first communication path 110 is aggregated and transmitted to the vehicle control device 200 through the second communication path 120 to update the program of the vehicle control device 200. The device 100 side can also update programs at high speed without changing conventional update support tools.

なお、本実施例では第1通信経路110をCAN、第2通信経路120をEthernetとして説明したが、他の第2通信経路120の通信速度が第1通信経路110の通信速度より早ければ、他の通信経路でもよい。例えば、第1通信経路110をCANとし、第2通信経路120をCAN-FDとしてもよい。また、第2通信経路120としてEthernetより高速な通信経路が導入された場合、第1通信経路110をEthernetとし、第2通信経路120を当該高速な通信経路としてもよい。 In this embodiment, the first communication path 110 is CAN and the second communication path 120 is Ethernet. However, if the communication speed of the other second communication path 120 is faster than the communication speed of the first communication path 110, It may be a communication route. For example, the first communication path 110 may be CAN, and the second communication path 120 may be CAN-FD. Furthermore, if a communication path faster than Ethernet is introduced as the second communication path 120, the first communication path 110 may be Ethernet and the second communication path 120 may be the faster communication path.

なお、本実施例では外部機器100と車両制御装置200を有線で接続し、通信を行うと説明したが、他の通信経路でもよい。第1通信経路110と第2通信経路120で外部機器100と車両制御装置200が無線で通信してもよい。 In this embodiment, it has been explained that the external device 100 and the vehicle control device 200 are connected by wire to communicate, but other communication paths may be used. The external device 100 and the vehicle control device 200 may communicate wirelessly through the first communication path 110 and the second communication path 120.

以上に説明したように、本発明の車両制御装置200は、プログラムを更新する際に、第2通信経路用の第2通信プログラム(書き換えプログラムWP)を外部機器100から受信し、受信した第2通信プログラムを揮発性メモリ220に書き込み、第2通信プログラムを実行し、第2通信経路120で不揮発性メモリ210に記憶されたアプリケーションプログラムAP1を書き換えるので、第2通信経路120による通信機能を有するが、第1通信経路110でプログラム更新を行う車両制御装置200に、第2通信経路120での更新プログラム転送機能を追加でき、プログラムを高速にアップデートできる。 As explained above, when updating the program, the vehicle control device 200 of the present invention receives the second communication program (rewrite program WP) for the second communication path from the external device 100, and Since the communication program is written in the volatile memory 220, the second communication program is executed, and the application program AP1 stored in the non-volatile memory 210 is rewritten via the second communication path 120, it has a communication function using the second communication path 120. , an update program transfer function via the second communication path 120 can be added to the vehicle control device 200 that updates the program via the first communication path 110, and the program can be updated at high speed.

なお、本発明は前述した実施例に限定されるものではなく、添付した特許請求の範囲の趣旨内における様々な変形例及び同等の構成が含まれる。例えば、前述した実施例は本発明を分かりやすく説明するために詳細に説明したものであり、必ずしも説明した全ての構成を備えるものに本発明は限定されない。また、ある実施例の構成の一部を他の実施例の構成に置き換えてもよい。また、ある実施例の構成に他の実施例の構成を加えてもよい。また、各実施例の構成の一部について、他の構成の追加・削除・置換をしてもよい。 Note that the present invention is not limited to the embodiments described above, and includes various modifications and equivalent configurations within the scope of the appended claims. For example, the embodiments described above have been described in detail to explain the present invention in an easy-to-understand manner, and the present invention is not necessarily limited to having all the configurations described. Further, a part of the configuration of one embodiment may be replaced with the configuration of another embodiment. Further, the configuration of one embodiment may be added to the configuration of another embodiment. Further, other configurations may be added, deleted, or replaced with a part of the configuration of each embodiment.

また、前述した各構成、機能、処理部、処理手段等は、それらの一部又は全部を、例えば集積回路で設計する等により、ハードウェアで実現してもよく、プロセッサがそれぞれの機能を実現するプログラムを解釈し実行することにより、ソフトウェアで実現してもよい。 Further, each of the above-mentioned configurations, functions, processing units, processing means, etc. may be realized in part or in whole by hardware, for example by designing an integrated circuit, and a processor realizes each function. It may also be realized by software by interpreting and executing a program.

各機能を実現するプログラム、テーブル、ファイル等の情報は、メモリ、ハードディスク、SSD(Solid State Drive)等の記憶装置、又は、ICカード、SDカード、DVD等の記録媒体に格納することができる。 Information such as programs, tables, files, etc. that realize each function can be stored in a storage device such as a memory, a hard disk, or an SSD (Solid State Drive), or a recording medium such as an IC card, an SD card, or a DVD.

また、制御線や情報線は説明上必要と考えられるものを示しており、実装上必要な全ての制御線や情報線を示しているとは限らない。実際には、ほとんど全ての構成が相互に接続されていると考えてよい。 Furthermore, the control lines and information lines shown are those considered necessary for explanation, and do not necessarily show all the control lines and information lines necessary for implementation. In reality, almost all configurations can be considered interconnected.

100 外部機器
110 第1通信経路
120 第2通信経路
200 車両制御装置
210 不揮発性メモリ
220 揮発性メモリ
230 第1通信経路中継装置
240 第2通信経路中継装置
BP 起動プログラム
WP 書き換えプログラム
AP1 第1アプリケーションプログラム
AP2 第2アプリケーションプログラム
100 External device 110 First communication path 120 Second communication path 200 Vehicle control device 210 Nonvolatile memory 220 Volatile memory 230 First communication path relay device 240 Second communication path relay device BP Startup program WP Rewriting program AP1 First application program AP2 2nd application program

Claims (4)

プログラムを実行する車両制御装置であって、
前記プログラムを実行するプロセッサと、
外部機器との間で第1通信経路での通信と前記第1通信経路より高速な第2通信経路での通信が可能な通信部と、
前記第1通信経路用の第1通信プログラムを記憶する不揮発性メモリと、
データを一時的に記憶する揮発性メモリと、を備え、
前記プログラムを更新する際に、前記第2通信経路用の第2通信プログラムを前記外部機器から受信し、
受信した前記第2通信プログラムを前記揮発性メモリに書き込み、
前記第2通信プログラムを実行し、前記第2通信経路で前記不揮発性メモリに記憶された前記プログラムを書き換えることを特徴とする車両制御装置。
A vehicle control device that executes a program,
a processor that executes the program;
a communication unit capable of communicating with an external device through a first communication path and a second communication path faster than the first communication path;
a nonvolatile memory that stores a first communication program for the first communication path;
Equipped with volatile memory that temporarily stores data,
when updating the program, receiving a second communication program for the second communication path from the external device;
writing the received second communication program into the volatile memory;
A vehicle control device that executes the second communication program and rewrites the program stored in the nonvolatile memory through the second communication path.
請求項1に記載の車両制御装置であって、
前記第2通信プログラムを実行し、前記第2通信経路で通信可能か確認することを特徴とする車両制御装置。
The vehicle control device according to claim 1,
A vehicle control device that executes the second communication program and checks whether communication is possible through the second communication path.
請求項1記載の車両制御装置であって、
前記プログラムの更新完了後に前記揮発性メモリ上の前記第2通信プログラムを消去することを特徴とする車両制御装置。
The vehicle control device according to claim 1,
A vehicle control device characterized in that the second communication program on the volatile memory is erased after the update of the program is completed.
車両制御装置で実行されるプログラムを更新するプログラム更新方法であって、
前記車両制御装置は、前記プログラムを実行するプロセッサと、外部機器との間で第1通信経路での通信と前記第1通信経路より高速な第2通信経路での通信が可能な通信部と、前記第1通信経路用の第1通信プログラムを記憶する不揮発性メモリと、データを一時的に記憶する揮発性メモリと、を有し、
前記プログラム更新方法は、
前記車両制御装置が、前記プログラムを更新する際に、前記第2通信経路用の第2通信プログラムを前記外部機器から受信し、
前記車両制御装置が、受信した前記第2通信プログラムを前記揮発性メモリ上に書き込み、
前記車両制御装置が、前記第2通信プログラムを実行し、前記第2通信経路で前記不揮発性メモリに記憶された前記プログラムを書き換えることを特徴とするプログラム更新方法。
A program update method for updating a program executed in a vehicle control device, the method comprising:
The vehicle control device includes a processor that executes the program and a communication unit capable of communicating with an external device through a first communication path and a second communication path faster than the first communication path; a nonvolatile memory that stores a first communication program for the first communication path; and a volatile memory that temporarily stores data;
The program update method is as follows:
The vehicle control device receives a second communication program for the second communication path from the external device when updating the program;
the vehicle control device writes the received second communication program onto the volatile memory;
A program update method characterized in that the vehicle control device executes the second communication program and rewrites the program stored in the nonvolatile memory via the second communication path.
JP2022086595A 2022-05-27 2022-05-27 Vehicle control apparatus and program update method Pending JP2023174004A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2022086595A JP2023174004A (en) 2022-05-27 2022-05-27 Vehicle control apparatus and program update method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2022086595A JP2023174004A (en) 2022-05-27 2022-05-27 Vehicle control apparatus and program update method

Publications (1)

Publication Number Publication Date
JP2023174004A true JP2023174004A (en) 2023-12-07

Family

ID=89031216

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2022086595A Pending JP2023174004A (en) 2022-05-27 2022-05-27 Vehicle control apparatus and program update method

Country Status (1)

Country Link
JP (1) JP2023174004A (en)

Similar Documents

Publication Publication Date Title
EP3200077B1 (en) Vehicle control device, reprogramming system
TWI442228B (en) Storage device wear leveling
US20070214309A1 (en) Nonvolatile storage device and data writing method thereof
US20080250188A1 (en) Memory Controller, Nonvolatile Storage, Nonvolatile Storage System, and Memory Control Method
JP4315488B2 (en) Data storage device, data processing device, data processing system and data processing method
US10475516B2 (en) Data storage device and data erasing method wherein after erasing process, predetermined value is written to indicate completion of said erasing method
TW201727472A (en) Data storing method and system thereof
JPWO2010013445A1 (en) Nonvolatile storage device, host device, nonvolatile storage system, data recording method, and program
CN110402428B (en) In-vehicle control device and program update software
CN111026427A (en) Remote online upgrading method for embedded system containing CPU and FPGA
CN101025711B (en) Apparatus and method for controlling flash memory
CN111813432A (en) FPGA configuration upgrading method and FPGA platform
JP6447469B2 (en) Rewriting system
JP2023174004A (en) Vehicle control apparatus and program update method
CN115599424A (en) Method for remotely updating FPGA (field programmable Gate array) firmware by adopting CPU (Central processing Unit)
JP4127307B2 (en) Data storage device, data processing system, data processing method, and data processing device
US10261899B2 (en) Method, device and system for data processing using dedicated mapping between logical and physical addresses
CN113515082A (en) Polling communication method and device
US20220204008A1 (en) Arithmetic processing device, vehicle control device, and update method
US20230143921A1 (en) Electronic control system, storage medium storing data structure of software package, and storage medium storing computer program
CN107025062B (en) Data storage method and system thereof
JP2023075443A (en) On-vehicle electronic control device and data initialization method
WO2023203768A1 (en) Electronic control device and writing control method
CN110018785B (en) Method for executing data reading and writing in data migration between volumes and electronic device
JPH10198568A (en) Device and method for flash memory writing