JP2022161197A - Vehicle computer device - Google Patents

Vehicle computer device Download PDF

Info

Publication number
JP2022161197A
JP2022161197A JP2021065807A JP2021065807A JP2022161197A JP 2022161197 A JP2022161197 A JP 2022161197A JP 2021065807 A JP2021065807 A JP 2021065807A JP 2021065807 A JP2021065807 A JP 2021065807A JP 2022161197 A JP2022161197 A JP 2022161197A
Authority
JP
Japan
Prior art keywords
data
area
storage area
block
new
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
JP2021065807A
Other languages
Japanese (ja)
Inventor
文哉 佐藤
Fumiya Sato
翔 松尾
Sho Matsuo
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.)
Toyota Motor Corp
Original Assignee
Toyota Motor 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 Toyota Motor Corp filed Critical Toyota Motor Corp
Priority to JP2021065807A priority Critical patent/JP2022161197A/en
Publication of JP2022161197A publication Critical patent/JP2022161197A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a vehicle computer device which can quickly update existing data stored in a nonvolatile memory.SOLUTION: In a vehicle computer device, a storage area 131 includes: a first storage area M11 storing first data D1b; a second storage area M12 storing second data D2; and margin areas E11, E12 which are arranged between the first storage area and the second storage area, and in which new data are written. An arithmetic device acquires a differential dataset which includes one or more pieces of differential data indicating a difference between before and after the update of the first data, and when a data size of the first data after the update is larger than a data size of the first data before the update, and the increase amount of the data size is smaller than the capacity of the margin area, writes at least one differential data in the differential dataset into the margin area.SELECTED DRAWING: Figure 7

Description

本発明は、不揮発性メモリを備え、当該不揮発性メモリに記憶されている既存データを更新する機能を備えた車両用コンピュータ装置に関する。 BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a vehicle computer device having a non-volatile memory and a function of updating existing data stored in the non-volatile memory.

従来、車両を制御する車両用コンピュータ装置(以下、「従来装置」と称呼する。)が知られている(例えば、下記特許文献1を参照。)。従来装置は、不揮発性メモリ(フラッシュROM)を備える。当該不揮発性メモリに、車両を制御するために用いられるデータ(例えば、複数のコンピュータプログラムを表すバイナリデータ)が記憶されている。 2. Description of the Related Art Conventionally, a vehicle computer device (hereinafter referred to as a "conventional device") for controlling a vehicle is known (see, for example, Patent Literature 1 below). Conventional devices include non-volatile memory (flash ROM). Data (eg, binary data representing a plurality of computer programs) used to control the vehicle is stored in the non-volatile memory.

例えば、車両の機能を改善する場合、作業者が、図10に示したように、現行のバイナリデータ(以下、「旧ROMイメージデータIMa」と称呼する。)とは異なる新たなバイナリデータ(以下、「新ROMイメージデータIMb」と称呼する。)を作成する。そして、作業者は、旧ROMイメージデータIMaと新ROMイメージデータIMbとの差分を表す差分データを作成する。具体的には、旧ROMイメージデータIMa及び新ROMイメージデータIMbが開発用コンピュータのSDRAMに確保された作業領域WSa,WSbにそれぞれ読み込まれる。そして、作業領域WSa,WSbが、所定サイズ(例えば64kByte)のブロックW[1],W[2],・・・に分割される。図11に示したように、旧ROMイメージデータIMaのブロックW[n]の内容(ビットパターン)と新ROMイメージデータIMbのブロックW[n]の内容(ビットパターン)とが異なる場合に、当該新ROMイメージデータIMbのブロックW[n]が、差分データDD[n]として抽出される。このようにして抽出された1つ又は複数の差分データDD[n]からなる差分データセットDSが、従来装置に転送される。 For example, when improving the function of a vehicle, an operator creates new binary data (hereinafter referred to as "old ROM image data IMa") that is different from the current binary data (hereinafter referred to as "old ROM image data IMa"), as shown in FIG. , referred to as "new ROM image data IMb"). Then, the operator creates difference data representing the difference between the old ROM image data IMa and the new ROM image data IMb. Specifically, the old ROM image data IMa and the new ROM image data IMb are respectively read into work areas WSa and WSb secured in the SDRAM of the development computer. Then, the work areas WSa and WSb are divided into blocks W[1], W[2], . As shown in FIG. 11, when the content (bit pattern) of block W[n] of old ROM image data IMa and the content (bit pattern) of block W[n] of new ROM image data IMb are different, the corresponding Block W[n] of new ROM image data IMb is extracted as difference data DD[n]. A differential data set DS consisting of one or more differential data DD[n] thus extracted is transferred to the conventional device.

なお、図10乃至図12(並びに、後述する図2乃至図5、及び図7乃至図9)において、各ブロック内の四角形は、一般に「ページ」と称呼される論理アドレス空間を表している。図12に示したように、矢印の矢尻側が旧ROMイメージデータIMa及び新ROMイメージデータIMbの下位(先頭)アドレス側に相当し、矢先側が上位(末尾)アドレス側に相当する。各四角形(ページ)の色(濃淡)が、各ページの内容(各ページに記憶されているデータ(ビットパターン))に対応している。 10 to 12 (and FIGS. 2 to 5 and 7 to 9, which will be described later), rectangles in each block represent a logical address space generally called a "page". As shown in FIG. 12, the arrowhead side of the arrow corresponds to the lower (head) address side of the old ROM image data IMa and the new ROM image data IMb, and the arrowhead side corresponds to the upper (end) address side. The color (shading) of each rectangle (page) corresponds to the content of each page (data (bit pattern) stored in each page).

従来装置は、通信回線又は記憶媒体(例えば、SDカード)を介して差分データセットDSを取得し、当該差分データセットDSに含まれる差分データDD[n]及び旧ROMイメージデータIMaに基づいて、新ROMイメージデータIMbを生成(復元)して、当該生成した新ROMイメージデータIMbを不揮発性メモリに書き込む。 A conventional device acquires a difference data set DS via a communication line or a storage medium (for example, an SD card), and based on the difference data DD[n] and the old ROM image data IMa included in the difference data set DS, The new ROM image data IMb is generated (restored), and the generated new ROM image data IMb is written in the nonvolatile memory.

特許第6568947号公報Japanese Patent No. 6568947

ここで、旧ROMイメージデータIMaが、図10に示したように、複数のプログラムをそれぞれ表す複数のバイナリデータ(第1データD1,第2データD2,・・・)を連結して形成されている場合がある。この場合、前記複数のプログラムのうちの一部のプログラムのみを更新する必要があり、その他のプログラムを更新する必要が無い場合がある。例えば、第1データD1のみを更新する場合において、第1データD1の中間部(例えば、ブロックB[3])に新たなデータNDが挿入される場合がある。つまり、この場合、新ROMイメージデータIMbは、旧ROMイメージデータIMaのブロックB[3]のページPbより上位アドレス側の各ページの内容を2ページ分だけ上位アドレス側へシフトさせ、ページPa及びページPbに新たなデータNDを記憶させたデータと同一である。 Here, as shown in FIG. 10, the old ROM image data IMa is formed by concatenating a plurality of binary data (first data D1, second data D2, . . . ) respectively representing a plurality of programs. There may be In this case, it may be necessary to update only some of the programs, and not to update the other programs. For example, when only the first data D1 is updated, new data ND may be inserted in the middle portion (for example, block B[3]) of the first data D1. In other words, in this case, the new ROM image data IMb shifts the contents of each page on the upper address side from the page Pb of the block B[3] of the old ROM image data IMa by two pages to the upper address side. It is the same as the data in which the new data ND is stored in the page Pb.

この例において、第2データD2,第3データD3,・・・は更新対象外であり、それらの内容は変更されていない。ただし、新ROMイメージデータIMbにおいて、第2データD2,第3データD3,・・・が記憶されている領域の論理アドレスが、旧ROMイメージデータIMaにおいて、同データが記憶されていた領域の論理アドレスに対して上位アドレス側へずれている。 In this example, the second data D2, the third data D3, . However, in the new ROM image data IMb, the logical address of the area where the second data D2, third data D3, . It is shifted to the upper address side with respect to the address.

すなわち、新ROMイメージデータのブロックB[1]及びブロックB[2]の内容(ビットパターン)は、旧ROMイメージデータのブロックB[1]及びブロックB[2]の内容と同一である。一方、新ROMイメージデータのブロックB[3]以降のブロックの内容は、旧ROMイメージデータのブロックB[3]以降のブロックの内容とは異なっている。よって、新ROMイメージデータのブロックB[3]以降の各ブロックの内容が差分データDD[3],DD「4」,・・・として抽出される。このように、従来装置において、差分データセットDSは、本来更新する必要のない第2データD2、第3データ、・・・を構成する差分データDD[n]を含んでいる。 That is, the contents (bit patterns) of blocks B[1] and B[2] of the new ROM image data are the same as those of blocks B[1] and B[2] of the old ROM image data. On the other hand, the contents of the blocks after block B[3] of the new ROM image data are different from the contents of the blocks after block B[3] of the old ROM image data. Therefore, the contents of each block after block B[3] of the new ROM image data are extracted as differential data DD[3], DD"4", . Thus, in the conventional device, the difference data set DS includes the difference data DD[n] that constitute the second data D2, the third data, .

仮に、新たなデータNDが挿入されるブロックが先頭のブロックB[1]である場合、新ROMイメージデータの全てが差分データDD[n]として抽出される。このように、従来装置において、差分データセットDSのデータサイズが比較的大きくなる可能性があり、この場合、車両用コンピュータ装置に差分データセットDSを取得させる作業に比較的長い時間を要する。 If the block into which the new data ND is inserted is the first block B[1], all the new ROM image data are extracted as the differential data DD[n]. Thus, in the conventional device, the data size of the differential data set DS may become relatively large, and in this case, it takes a relatively long time to cause the vehicle computer device to acquire the differential data set DS.

本発明の目的の一つは、不揮発性メモリに記憶されている既存データを迅速に更新可能な車両用コンピュータ装置を提供することにある。 SUMMARY OF THE INVENTION It is an object of the present invention to provide a vehicle computer system capable of rapidly updating existing data stored in a non-volatile memory.

上記課題を解決するために、本発明の車両用コンピュータ装置(1)は、
書き換え可能な記憶領域(131)を有し、前記記憶領域に、第1データ(D1,PD11)及び第2データ(D2,PD12)を記憶した不揮発性メモリと、
前記第1データ及び前記第2データを用いて車両(V)を制御する演算装置(11)であって、前記第1データを更新する機能を有する演算装置と、
を備える。
前記記憶領域は、
前記第1データを記憶した第1記憶領域(M1,M!1)と、
前記第2データを記憶した第2記憶領域(M2,M12)と、
前記第1記憶領域及び前記第2記憶領域との間に設けられ、新たなデータを書き込み可能である余白領域(E1,E11)と、
を含む。
前記演算装置は、前記第1データの更新前後の差分を表す1つ又は複数の差分データ(DD[n])を含む差分データセット(DS)を取得し、更新前の前記第1データのデータサイズに比べて、更新後の前記第1データのデータサイズが大きく、、且つその増大分が前記余白領域の容量よりも小さい場合に、前記差分データセットのうちの少なくとも1つの差分データを前記余白領域に書き込むように構成されている。
In order to solve the above problems, the vehicle computer device (1) of the present invention comprises:
a nonvolatile memory having a rewritable storage area (131) and storing first data (D1, PD11) and second data (D2, PD12) in the storage area;
an arithmetic device (11) for controlling a vehicle (V) using the first data and the second data, the arithmetic device having a function of updating the first data;
Prepare.
The storage area is
a first storage area (M1, M!1) storing the first data;
a second storage area (M2, M12) storing the second data;
blank areas (E1, E11) provided between the first storage area and the second storage area and capable of writing new data;
including.
The computing device acquires a difference data set (DS) including one or more difference data (DD[n]) representing a difference between before and after the update of the first data, and data of the first data before update. When the data size of the first data after update is larger than the size and the increase is smaller than the capacity of the margin area, at least one difference data in the difference data set is moved to the margin. configured to write to the region.

不揮発性メモリに記憶されている既存の第1データ及び第2データのうち、第1データを更新する必要があり、第2データを更新する必要が無い場合がある。この場合に、更新後の第1データ(以下、「新データ」と称呼する。)のデータサイズが、更新前の第1データ(以下、「旧データ」と称呼する。)のデータサイズに比べて大きくなる場合がある。本発明に係る車両用コンピュータ装置では、不揮発性メモリの記憶領域において、第1記憶領域と第2記憶領域との間に余白領域が設けられている。したがって、新データのデータサイズが旧データのデータサイズに比べて多少大きくなったとしても、その増大分を余白領域に書き込むことができる。すなわち、更新対象である第1データ以外の第2データを記憶している第2記憶領域に影響を与えることなく、更新対象の第1データのみを更新できる。つまり、差分データセットは、新データの一部(又は全部)に相当し、更新対象外の第2データを含んでいない。よって、従来装置(余白領域が設けられていない場合)に比べて、差分データセットのデータサイズが小さい。よって、車両用コンピュータ装置が差分データセットDSを取得するのに要する時間が短く、不揮発性メモリに記憶されている既存データを迅速に更新できる。 Of the existing first data and second data stored in the nonvolatile memory, there are cases where the first data needs to be updated and the second data does not need to be updated. In this case, the data size of the first data after update (hereinafter referred to as "new data") is compared to the data size of the first data before update (hereinafter referred to as "old data"). can be large. In the vehicle computer device according to the present invention, a blank area is provided between the first storage area and the second storage area in the storage area of the nonvolatile memory. Therefore, even if the data size of the new data is slightly larger than the data size of the old data, the increased amount can be written in the blank area. That is, only the first data to be updated can be updated without affecting the second storage area storing the second data other than the first data to be updated. That is, the difference data set corresponds to part (or all) of the new data and does not include the second data that is not subject to update. Therefore, the data size of the difference data set is smaller than that of the conventional apparatus (when no margin area is provided). Therefore, the time required for the vehicle computer to acquire the difference data set DS is short, and the existing data stored in the nonvolatile memory can be quickly updated.

図1は、本発明の一実施形態に係る車両用コンピュータ装置のブロック図である。FIG. 1 is a block diagram of a vehicle computer device according to one embodiment of the present invention. 図2は、図1に示したフラッシュROMのメモリマップである。FIG. 2 is a memory map of the flash ROM shown in FIG. 図3は、旧ROMイメージデータのメモリマップである。FIG. 3 is a memory map of old ROM image data. 図4は、新ROMイメージデータのメモリマップである。FIG. 4 is a memory map of new ROM image data. 図5は、差分データセットのメモリマップである。FIG. 5 is a memory map of the difference data set. 図6は、更新処理プログラムのフローチャートである。FIG. 6 is a flow chart of the update processing program. 図7は、本発明の変形例に係る車両用コンピュータ装置のフラッシュROMのメモリマップである。FIG. 7 is a memory map of the flash ROM of the vehicle computer device according to the modification of the present invention. 図8は、図7に示した変形例に係る新ROMイメージデータを示すメモリマップである。FIG. 8 is a memory map showing new ROM image data according to the modification shown in FIG. 図9は、図7に示した変形例に係る差分データセットのメモリマップである。FIG. 9 is a memory map of the difference data set according to the modification shown in FIG. 図10は、従来の車両用コンピュータ装置の旧ROMイメージデータ及び新ROMイメージデータのメモリマップである。FIG. 10 is a memory map of old ROM image data and new ROM image data of a conventional vehicle computer device. 図11は、図10に示した従来装置に係る差分データセットのメモリマップである。FIG. 11 is a memory map of differential data sets according to the conventional device shown in FIG. 図12は、フラッシュROMの記憶領域を構成するブロック及びページの配列(下位側の論理アドレスから上位側の論理アドレスへ向かう方向)を示す図である。FIG. 12 is a diagram showing the arrangement of blocks and pages (in the direction from lower logical addresses to higher logical addresses) that make up the storage area of the flash ROM.

(構成)
図1に示した本発明の一実施形態に係る車両用コンピュータ装置1は、演算装置11(以下、「CPU」と称呼する。)、SDRAM12、フラッシュROM13、メモリコントローラ14及び通信装置15を備える。CPU、SDRAM12、フラッシュROM13、メモリコントローラ14及び通信装置15が、プリント配線基板に実装されている。
(Constitution)
A vehicle computer device 1 according to one embodiment of the present invention shown in FIG. A CPU, SDRAM 12, flash ROM 13, memory controller 14, and communication device 15 are mounted on a printed wiring board.

CPUは、後述する各種コンピュータプログラム(以下、単に「プログラム」と称呼する。)を実行して、車両Vのエンジン、ブレーキなどを制御する。SDRAM12は、揮発性メモリであり、プログラム及びその実行過程における計算結果などを一時的に記憶する。 The CPU executes various computer programs (hereinafter simply referred to as "programs"), which will be described later, to control the engine, brakes, etc. of the vehicle V. FIG. The SDRAM 12 is a volatile memory that temporarily stores programs and calculation results in the course of their execution.

フラッシュROM13は、NAND型の不揮発性メモリである。フラッシュROM13は、図2に示したように、書き換え可能領域131及び書き換え禁止領域132を有する。書き換え禁止領域132が、書き換え可能領域131に対して上位アドレス側に配置されている。書き換え可能領域131に記憶されているプログラム(バイナリデータ)が更新(OTA)され得る。これに対し、書き換え禁止領域132に記憶されているプログラム(バイナリデータ)は、原則として(車両用コンピュータ装置1の生産工程以外では)、更新されない。 The flash ROM 13 is a NAND nonvolatile memory. The flash ROM 13 has a rewritable area 131 and a rewritable area 132 as shown in FIG. The rewritable area 132 is arranged on the upper address side with respect to the rewritable area 131 . A program (binary data) stored in the rewritable area 131 can be updated (OTA). On the other hand, the program (binary data) stored in the rewrite prohibited area 132 is not updated in principle (except during the production process of the vehicle computer device 1).

書き換え可能領域131の前半部(書き換え可能領域131を2等分して得られる2つの領域のうちの下位アドレス側の領域)に、エンジン、ブレーキなどを制御するためのプログラム(例えば、AEB(Autonomous Emergency Breaking)プログラム、ACC(Adaptive Cruise Control)プログラム、LKAS(Lane Keeping Assist System)プログラムなど)を表すバイナリデータが記憶(格納)されている。 Programs for controlling the engine, brakes, etc. (for example, AEB (autonomous (Emergency Breaking) program, ACC (Adaptive Cruise Control) program, LKAS (Lane Keeping Assist System) program, etc.) is stored (stored).

書き換え可能領域131(論理アドレス空間)は、所定サイズ(記憶容量)の複数のブロックB(例えば、ブロックB[1]乃至ブロックB[256])に分割されている。さらに、各ブロックBが、所定サイズの複数のページPに分割されている。なお、上記のように、本実施形態において、NAND型のフラッシュROM13を採用している。よって、ブロックBのあるページPにデータが既に書き込まれている場合、そのページPに新たなデータを上書きする(直接的に書き換える)ことができない。そこで、まず、当該ブロックBのうち、ページPを除く全ページの内容をSDRAM12にバックアップしておく。つぎに、当該ブロックBのすべてのデータを消去する。最後に、当該ブロックBのページPに新たなデータを書き込むとともに、SDRAM12にバックアップしておいたデータを当該ブロックBに書き戻す。 The rewritable area 131 (logical address space) is divided into a plurality of blocks B (for example, block B[1] to block B[256]) each having a predetermined size (storage capacity). Furthermore, each block B is divided into a plurality of pages P of a predetermined size. As described above, the NAND flash ROM 13 is used in this embodiment. Therefore, if data has already been written to a page P in the block B, the page P cannot be overwritten (directly rewritten) with new data. Therefore, first, the contents of all pages of the block B excluding the page P are backed up in the SDRAM 12 . Next, all data in the block B are erased. Finally, new data is written to the page P of the block B, and the data backed up in the SDRAM 12 is written back to the block B.

車両Vが工場から出荷される時点で、例えば、図2に示したように、ブロックB[1]乃至ブロックB[5]からなる第1記憶領域M1に、AEBプログラムを表す第1データD1が記憶されている。さらに、ブロックB[9]乃至ブロックB[13]からなる第2記憶領域M2に、ACCプログラムを表す第2データD2が記憶されている。加えて、ブロックB[17]乃至ブロックB[21]からなる第3記憶領域M3に、LKASプログラムを表す第3データD3が記憶されている。ブロックB[25]以降の図示しない第4記憶領域,第5記憶領域,・・・に、他の複数のプログラムを表す第4データ,第5データ,・・・が記憶されている。 At the time when the vehicle V is shipped from the factory, for example, as shown in FIG. remembered. Further, the second data D2 representing the ACC program is stored in the second storage area M2 consisting of blocks B[9] to B[13]. In addition, the third data D3 representing the LKAS program is stored in the third storage area M3 consisting of blocks B[17] to B[21]. Fourth data, fifth data, . . . representing a plurality of other programs are stored in fourth storage areas, fifth storage areas, .

第1記憶領域M1と第2記憶領域M2との間のブロックB[6]乃至ブロックB[8]のデータが消去されていて、当該領域のページPに新たなデータを書き込み可能である。以下、当該領域を第1余白領域E1と称呼する。第2記憶領域M2と第3記憶領域M3との間の領域も、第1余白領域E1と同様の第2余白領域E2である。このように、各プログラムを表すバイナリデータが記憶されている領域の末尾に連続する3個のブロックBからなる領域が余白領域E(第1余白領域E1,第2余白領域E2,第3余白領域E3,・・・)として確保されている。 The data in blocks B[6] to B[8] between the first memory area M1 and the second memory area M2 has been erased, and new data can be written to the page P in this area. Hereinafter, this area will be referred to as a first blank area E1. The area between the second storage area M2 and the third storage area M3 is also a second blank area E2 similar to the first blank area E1. In this way, the blank area E (the first blank area E1, the second blank area E2, and the third blank area) consists of three blocks B that are continuous at the end of the area in which the binary data representing each program is stored. E3, . . . ).

さらに、書き換え可能領域131の後半部の所定のブロックB(例えば、ブロックB[256]に、現在のROMイメージデータのバージョンを表すバージョン情報(バージョン番号va(例えば、「1.00」))が記憶されている。 Further, version information (version number va (eg, “1.00”)) indicating the version of the current ROM image data is stored in a predetermined block B (eg, block B [256]) in the latter half of the rewritable area 131. remembered.

書き換え禁止領域132に、ブートプログラム、更新処理プログラムなどをそれぞれ表すバイナリデータが記憶されている。ブートプログラムは、車両Vの始動時に、CPU、SDRAM12、メモリコントローラ14及び通信装置15を初期化するステップ(命令)を含む。更新処理プログラムは、書き換え可能領域131に記憶されている各種プログラムを更新するステップ(命令)を含む。 Binary data representing a boot program, an update processing program, and the like are stored in the rewrite prohibited area 132 . The boot program includes steps (instructions) for initializing the CPU, SDRAM 12, memory controller 14 and communication device 15 when the vehicle V is started. The update processing program includes steps (instructions) for updating various programs stored in the rewritable area 131 .

なお、上記の書き換え可能領域131及び書き換え禁止領域132の内容(工場出荷時のバージョン)をそれぞれ表すROMイメージデータが、車両用コンピュータ装置1の製造工程において、ROMライターを用いてフラッシュROM13に書き込まれる。そして、そのフラッシュROM13が、プリント配線基板に実装される。 The ROM image data representing the contents of the rewritable area 131 and the rewritable area 132 (factory version) are written in the flash ROM 13 using a ROM writer in the manufacturing process of the vehicle computer device 1. . Then, the flash ROM 13 is mounted on a printed wiring board.

再び図1を参照すると、メモリコントローラ14は、CPUとフラッシュROM13との間、及びSDRAM12とフラッシュROM13との間にてデータを送受信する際に論理アドレスを物理アドレスに変換する。さらに、メモリコントローラ14は、フラッシュROM13の正常ブロックと不良ブロックとを識別する。例えば、データの書き込み先として指定されたブロック(論理アドレス空間)が不良ブロックである場合、メモリコントローラ14は、前記指定されたブロックとは異なる正常ブロック(物理アドレス空間)にデータを書き込む。さらに、メモリコントローラ14は、フラッシュROM13の物理アドレス空間における各ブロックの書き換え回数を平準化(ウェアレベリング)する。なお、メモリコントローラ14が実行する処理を、CPUが実行するように構成されていてもよい。 Referring to FIG. 1 again, the memory controller 14 converts logical addresses to physical addresses when transmitting and receiving data between the CPU and the flash ROM 13 and between the SDRAM 12 and the flash ROM 13 . Furthermore, the memory controller 14 identifies normal blocks and defective blocks of the flash ROM 13 . For example, if the block (logical address space) specified as the data write destination is a defective block, the memory controller 14 writes the data to a normal block (physical address space) different from the specified block. Furthermore, the memory controller 14 equalizes (wear leveling) the number of rewrites of each block in the physical address space of the flash ROM 13 . The processing executed by the memory controller 14 may be executed by the CPU.

通信装置15は、詳しくは後述するように、配信サーバSVから、無線通信回線を介して、プログラムを更新するためのデータ(後述する差分データセットDS)を受信して、CPUへ供給する。 As will be described later in detail, the communication device 15 receives data for updating the program (difference data set DS described later) from the distribution server SV via a wireless communication line, and supplies the data to the CPU.

(動作)
車両Vのエンジンが始動されると、CPUは、ブートプログラムを実行して、フラッシュROM13に記憶されている各プログラムを表すバイナリデータをSDRAM12の所定の記憶領域にそれぞれコピーする。CPUは、SDRAM12にコピーされたバイナリデータが表すプログラムを実行して、車両Vを制御する。
(motion)
When the engine of the vehicle V is started, the CPU executes the boot program and copies binary data representing each program stored in the flash ROM 13 to predetermined storage areas of the SDRAM 12 . The CPU controls the vehicle V by executing a program represented by the binary data copied to the SDRAM 12 .

ところで、例えば、車両Vの機能を改善するために、書き換え可能領域131に記憶されているプログラム(バイナリデータ)を更新する必要が生じる場合がある。以下、一例として、AEBプログラム(第1データD1)を更新する手順を説明する。この場合、まず、作業者は、開発用コンピュータPCを用いてAEBプログラムのソースコードを修正する。そして、作業者は、修正後のソースコードをコンパイルしてオブジェクトファイルを生成し、当該オブジェクトファイルと他のオブジェクトファイルとをリンクして、新たなAEBプログラムを表すバイナリデータを生成する。以下、更新前のAEBプログラムを表すバイナリデータを「旧第1データD1a」と称呼し、更新後のAEBプログラムを表すバイナリデータを「新第1データD1b」と称呼する(図3及び図4を参照)。 By the way, for example, in order to improve the function of the vehicle V, it may be necessary to update the program (binary data) stored in the rewritable area 131 . A procedure for updating the AEB program (first data D1) will be described below as an example. In this case, first, the worker modifies the source code of the AEB program using the development computer PC. Then, the operator compiles the modified source code to generate an object file, links the object file with another object file, and generates binary data representing a new AEB program. Hereinafter, the binary data representing the AEB program before update will be referred to as "old first data D1a", and the binary data representing the AEB program after update will be referred to as "new first data D1b" (see FIGS. 3 and 4). reference).

この例において、新第1データD1bは、「旧第1データD1aの中間部に、新たなデータNDを挿入したデータ」と同一である。新たなデータNDのデータサイズは、2つのページPの記憶容量と同一である。すなわち、新第1データD1bのデータサイズは、旧第1データD1aのデータサイズより大きい。 In this example, the new first data D1b is the same as "data obtained by inserting new data ND into the middle portion of the old first data D1a". The data size of the new data ND is the same as the storage capacity of two pages P. That is, the data size of the new first data D1b is larger than the data size of the old first data D1a.

つぎに、作業者は、開発用コンピュータPCのSDRAMの論理アドレス空間に、2つの作業領域WSa,WSbを確保する。作業領域WSaの記憶容量は、書き換え可能領域131の記憶容量と同一である。作業領域WSbの記憶容量も、書き換え可能領域131の記憶容量と同一である。 Next, the worker secures two work areas WSa and WSb in the logical address space of the SDRAM of the development computer PC. The storage capacity of the work area WSa is the same as that of the rewritable area 131 . The storage capacity of the work area WSb is also the same as that of the rewritable area 131 .

つぎに、作業者は、作業領域WSa及び作業領域WSbに、書き換え可能領域131に記憶されている更新前のバイナリデータ(以下、「旧ROMイメージデータIMa」と称呼する。)と同一のデータを読み込ませる。つまり、作業領域WSa及び作業領域WSbに、更新前の書き換え可能領域131をそれぞれ再現する。以下の説明において、作業領域WSa,WSbのうち、ブロックB[1]乃至ブロックB[256]にそれぞれ対応する領域をブロックW[1]乃至W[256]と称呼する。 Next, the operator stores the same data as the pre-update binary data (hereinafter referred to as "old ROM image data IMa") stored in the rewritable area 131 in the work areas WSa and WSb. let it load. That is, the rewritable area 131 before update is reproduced in the work area WSa and the work area WSb. In the following description, among work areas WSa and WSb, areas corresponding to blocks B[1] to block B[256] are referred to as blocks W[1] to W[256].

つぎに、作業者は、作業領域WSbに記憶されている旧第1データD1aを新第1データD1bに置き替える。その際、旧第1データD1aの先頭アドレスと、新第1データD1bの先頭アドレスが一致するように、新第1データD1bを作業領域WSbに書き込む。上記のように、新第1データD1bのデータサイズは、旧第1データD1aのデータサイズに比べて大きい。すなわち、旧第1データD1aは、5個のブロックW(ブロックW[1]乃至ブロックW[5])からなる領域に記憶されているが、新第1データD1bは、6個のブロックW(ブロックW[1]乃至ブロックW[6])からなる領域に記憶される。ここで、ブロックW[6]は、第1余白領域E1の先頭ブロックであるブロックB[6]に対応する。なお、作業領域WSbにおいて、ブロックW[9]より上位アドレス側の領域には、更新対象外のプログラムを表す第2データD2,第3データD3,・・・が記憶されているが、これらのバイナリデータは書き換えられずにそのまま保持される。 Next, the worker replaces the old first data D1a stored in the work area WSb with the new first data D1b. At this time, the new first data D1b is written in the work area WSb so that the leading address of the old first data D1a and the leading address of the new first data D1b match. As described above, the data size of the new first data D1b is larger than the data size of the old first data D1a. That is, the old first data D1a is stored in an area consisting of five blocks W (block W[1] to block W[5]), while the new first data D1b is stored in an area consisting of six blocks W (block W[1] to block W[5]). It is stored in an area consisting of blocks W[1] to W[6]). Here, block W[6] corresponds to block B[6], which is the top block of the first blank area E1. In the work area WSb, the second data D2, the third data D3, . Binary data is retained as it is without being rewritten.

さらに、作業者は、ブロックW[256]に記憶されているバージョン情報(バージョン番号va)を更新する。具体的には、作業者は、バージョン番号vaに所定のステップ値dv(例えば、「0.01」)を加算して得られたバージョン番号vbに更新する。上記のようにして作業領域WSbに生成されたデータを「新ROMイメージデータIMb」と称呼する。 Further, the worker updates the version information (version number va) stored in block W[256]. Specifically, the operator updates the version number va to the version number vb obtained by adding a predetermined step value dv (for example, "0.01") to the version number va. The data generated in the work area WSb as described above is called "new ROM image data IMb".

つぎに、作業者は、開発用コンピュータPCに、差分データDD[n]を抽出するための差分データ抽出プログラムを実行させる。開発用コンピュータPCは、作業領域WSaのブロックW[n]の内容と作業領域WSbのブロックW[n]の内容とを比較する。そして、開発用コンピュータPCは、作業領域WSaのブロックW[n]の内容と作業領域WSbのブロックW[n]の内容とが異なる場合、作業領域WSbのブロックW[n]の内容を、差分データDD[n]として抽出する。図3及び図4に示した例において、作業領域WSbのブロックW[3]乃至ブロックW[6]、及びブロックW[256]の内容が、それぞれ差分データDD[3]乃至差分データDD[6]、及び差分データDD[256]として抽出される(図5を参照)。つぎに、作業者は、前記抽出された差分データDD[n]を1つの差分データセットDSとして配信サーバSVにアップロードする(図1を参照)。その際、適用対象の車種名と新ROMイメージデータIMbのバージョン番号vbとを含む名称が、差分データセットDSのファイル名として付与される。これにより、差分データセットDSが、配信サーバSVから無線通信回線を介して、各車両Vに配信(OTA)可能な状態になる。 Next, the operator causes the development computer PC to execute a difference data extraction program for extracting the difference data DD[n]. The development computer PC compares the contents of block W[n] in work area WSa with the contents of block W[n] in work area WSb. Then, when the contents of block W[n] in work area WSa and the contents of block W[n] in work area WSb are different, computer PC for development converts the contents of block W[n] in work area WSb to the difference. Extract as data DD[n]. In the examples shown in FIGS. 3 and 4, the contents of blocks W[3] to W[6] and block W[256] in the work area WSb are differential data DD[3] to differential data DD[6], respectively. ], and differential data DD[256] (see FIG. 5). Next, the worker uploads the extracted difference data DD[n] to the distribution server SV as one difference data set DS (see FIG. 1). At that time, a name including the vehicle model name of the application target and the version number vb of the new ROM image data IMb is given as the file name of the differential data set DS. As a result, the difference data set DS can be distributed (OTA) to each vehicle V from the distribution server SV via the wireless communication line.

車両用コンピュータ装置1のCPUは、所定の時間間隔をおいて、図6に示した更新処理プログラムを実行する。CPUは、ステップ600から更新処理プログラムを開始する。つぎに、CPUは、ステップ601にて、書き換え可能領域131に記憶されているROMイメージデータを更新する必要があるか否かを判定する。具体的には、CPUは、通信装置15を介して配信サーバSVにアクセスし、下記の条件を満たす差分データセットDSが配信サーバSVにアップロードされているか否かを判定する。
<条件>
・ファイル名に自車両の車種名が含まれている。
・ファイル名に含まれるバージョン番号vbが、ブロックB[256]に記憶されている現行のROMイメージデータのバージョン番号vaより大きく、且つ両者の差がステップ値dvに一致する。
上記の<条件>を満たす差分データセットDSがアップロードされている場合、CPUは、「書き換え可能領域131に記憶されているROMイメージデータを更新する必要がある」(601:Yes)と判定して、ステップ602に進む。
The CPU of the vehicle computer device 1 executes the update processing program shown in FIG. 6 at predetermined time intervals. The CPU starts the update processing program from step 600 . Next, at step 601, the CPU determines whether or not the ROM image data stored in the rewritable area 131 needs to be updated. Specifically, the CPU accesses the distribution server SV via the communication device 15 and determines whether or not the difference data set DS that satisfies the following conditions has been uploaded to the distribution server SV.
<Condition>
- The file name contains the model name of the own vehicle.
- The version number vb included in the file name is greater than the version number va of the current ROM image data stored in block B[256], and the difference between the two matches the step value dv.
If the difference data set DS that satisfies the above <condition> has been uploaded, the CPU determines that "the ROM image data stored in the rewritable area 131 needs to be updated" (601: Yes). , go to step 602 .

つぎに、CPUは、ステップ602にて、通信装置15を介して、配信サーバSVから上記の<条件>を満たす差分データセットDS(図5を参照)をダウンロードする。つぎに、CPUは、ステップ603にて、前記ダウンロードした差分データセットDSに含まれる差分データDD[n]に対応したブロックB[n]のうち、既にデータが書き込まれているブロックを消去する。つぎに、CPUは、ステップ604にて、ブロックB[n]に差分データDD[n]を書き込む。 Next, in step 602, the CPU downloads the difference data set DS (see FIG. 5) that satisfies the above <conditions> from the distribution server SV via the communication device 15. FIG. Next, in step 603, the CPU erases blocks in which data has already been written, among the blocks B[n] corresponding to the difference data DD[n] included in the downloaded difference data set DS. Next, in step 604, the CPU writes difference data DD[n] to block B[n].

図5に示した差分データセットDSには、差分データDD[3]乃至差分データ[6]、及び差分データDD[256]が含まれている。ここで図2を参照すると、ブロックB[3]乃至ブロックB[5]、及びブロックB[256]には、既にデータが書き込まれている。そこで、CPUは、ブロックB[3]乃至ブロックB[5]及びブロックB[256]を消去する。そして、CPUは、ブロックB[3]乃至ブロックB[6]、及びブロックB[256]に、差分データDD[3]乃至差分データDD[6]、及び差分データDD[256]をそれぞれ書き込む。 The differential data set DS shown in FIG. 5 includes differential data DD[3] to differential data [6] and differential data DD[256]. Referring now to FIG. 2, data has already been written to blocks B[3] to B[5] and block B[256]. Therefore, the CPU erases blocks B[3] to B[5] and block B[256]. Then, the CPU writes the difference data DD[3] to DD[6] and the difference data DD[256] to the blocks B[3] to B[6] and the block B[256], respectively.

CPUは、すべての差分データDD[n]の書き込みを終了すると、ステップ605にて、更新処理プログラムを終了する。 After finishing writing all the difference data DD[n], the CPU ends the update processing program in step 605 .

上記のステップ601にて、上記の<条件>を満たす差分データセットDSがアップロードされていない場合、CPUは、「書き換え可能領域131に記憶されているROMイメージデータを更新する必要はない」(601:No)と判定して、ステップ605に進む。 In step 601 above, if the difference data set DS that satisfies the above <condition> has not been uploaded, the CPU states that "there is no need to update the ROM image data stored in the rewritable area 131" (601 : No) and proceeds to step 605 .

なお、例えば、AEBプログラムに比較的大きな修正が加えられた場合には、旧第1データD1aの各ブロックと新第1データD1bの各ブロックとを比較したとき、その内容が一致するブロックが存在しない場合がある。この場合、新第1データD1bの全てのブロックが差分データセットDSに含まれる。 For example, when a relatively large modification is made to the AEB program, when each block of the old first data D1a and each block of the new first data D1b are compared, there are blocks whose contents match each other. may not. In this case, all blocks of the new first data D1b are included in the differential data set DS.

上記のように、書き換え可能領域131に記憶されている既存のプログラムのうちのあるプログラムを更新する場合に、更新後のプログラムを表すバイナリデータ(以下、「新データ」と称呼する。)のデータサイズが、更新前のプログラムを表すバイナリデータ(以下、「旧データ」と称呼する。)のデータサイズに比べて大きくなる場合がある。本実施形態では、フラッシュROM13の書き換え可能領域131において、各プログラムのバイナリデータの記憶領域の末尾に連続する余白領域が設けられている。したがって、新データのデータサイズが旧データのデータサイズに比べて多少大きくなったとしても、その増大分を余白領域に書き込むことができる。すなわち、更新対象のプログラム以外のプログラムを表すバイナリデータの記憶領域に影響を与えることなく、対象のプログラムのみを更新できる。つまり、差分データセットDSは、新データの一部(又は全部)に相当し、更新対象外のプログラムを表すバイナリデータを含んでいない。よって、従来装置(余白領域が設けられていない場合)に比べて、差分データセットDSのデータサイズが小さい。よって、車両用コンピュータ装置1が差分データセットDSのダウンロードに要する時間が短く、フラッシュROM13に記憶されている既存データを迅速に更新できる。 As described above, when updating a program among the existing programs stored in the rewritable area 131, binary data representing the updated program (hereinafter referred to as "new data") data The size may be larger than the data size of the binary data representing the program before update (hereinafter referred to as "old data"). In this embodiment, in the rewritable area 131 of the flash ROM 13, a continuous blank area is provided at the end of the binary data storage area of each program. Therefore, even if the data size of the new data is slightly larger than the data size of the old data, the increased amount can be written in the blank area. That is, only the target program can be updated without affecting the storage area of the binary data representing programs other than the program to be updated. In other words, the difference data set DS corresponds to part (or all) of the new data and does not contain binary data representing programs not to be updated. Therefore, the data size of the difference data set DS is smaller than that of the conventional apparatus (where the blank area is not provided). Therefore, the time required for the vehicle computer device 1 to download the difference data set DS is short, and the existing data stored in the flash ROM 13 can be quickly updated.

本発明は上記実施形態に限定されることはなく、以下に述べるように、本発明の範囲内において種々の変形例を採用することができる。 The present invention is not limited to the above embodiments, and various modifications can be adopted within the scope of the present invention as described below.

<変形例1>
上記実施形態では、第1データD1,第2データD2,第3データD3,・・・は、それぞれ連続する複数のブロックBからなる第1記憶領域M1,第2記憶領域M2,第3記憶領域M3,・・・に記憶されていて、それらの記憶領域の間に余白領域が設けられている。これに代えて、図7に示したように、第1データD1,第2データD2,第3データD3,・・・が、それぞれ複数のパーツデータPD(「PD11乃至PD14」、「PD21乃至PD24」、「PD31乃至PD34」、・・・・)に分割され、各パーツデータPDが記憶される記憶領域M11,M12,・・・の間に、余白領域E11,E12,・・・が設けられてもよい。これによれば、図8に示したように、例えば、AEBプログラム(第1データD1)の更新に伴い、パーツデータPD11のデータサイズが増大した場合に、その増大分を、後続の余白領域E11に書き込むことができる。すなわち、他のパーツデータPDの記憶領域に影響を与えることなく、そのパーツデータPD11のみを更新できる。図2乃至図5を用いて説明した例では、新第1データD1bのうち、新たなデータNDが挿入されたブロックから当該新第1データD1bの末尾のブロックに亘る複数のブロックが差分データDD[n]として抽出される。これに対し、本変形例では、新第1データD1bのうち新たなデータNDが挿入されたブロック及びその直後のブロックのみが差分データDD[n]として抽出される。よって、本変形例によれば、差分データセットDSのデータサイズをさらに小さくすることができ、フラッシュROM13に記憶されている既存データをさらに迅速に更新できる。
<Modification 1>
In the above embodiment, the first data D1, the second data D2, the third data D3, . are stored in M3, . . . , and blank areas are provided between these storage areas. Instead, as shown in FIG. 7, the first data D1, the second data D2, the third data D3, . , ``PD31 to PD34'', . . . ), and blank areas E11, E12, . may According to this, as shown in FIG. 8, for example, when the data size of the parts data PD11 increases due to the update of the AEB program (first data D1), the increased amount is transferred to the subsequent blank area E11. can be written to That is, only the parts data PD11 can be updated without affecting the storage areas of the other parts data PD. 2 to 5, in the new first data D1b, a plurality of blocks from the block in which the new data ND is inserted to the last block of the new first data D1b are the difference data DD. extracted as [n]. On the other hand, in this modification, only the block in which the new data ND is inserted and the block immediately after that are extracted as the difference data DD[n] from the new first data D1b. Therefore, according to this modification, the data size of the difference data set DS can be further reduced, and the existing data stored in the flash ROM 13 can be updated more quickly.

<変形例2>
図2に示した例では、各余白領域Eが3個のブロックBから構成され、図7に示した例では、各余白領域Eが1個のブロックBから構成されている。余白領域Eを構成するブロックBの数(余白領域Eの容量)は、上記の例に限られない。各余白領域Eの容量は同一でなくてもよい。例えば、大幅な修正が加えられる可能性の高いデータの記憶領域に対し、比較的大容量の余白領域Eを割り当てておくとよい。
<Modification 2>
2, each blank area E is composed of three blocks B, and each blank area E is composed of one block B in the example illustrated in FIG. The number of blocks B forming the blank area E (capacity of the blank area E) is not limited to the above example. The capacity of each blank area E may not be the same. For example, it is preferable to allocate a relatively large-capacity blank area E to a storage area for data that is highly likely to be significantly modified.

<変形例3>
上記実施形態では、NAND型のフラッシュROM13を採用しているが、これに代えて、NOR型のフラッシュROM又はEEPROMを採用してもよい。
<Modification 3>
In the above embodiment, the NAND type flash ROM 13 is used, but instead of this, a NOR type flash ROM or EEPROM may be used.

<変形例4>
上記実施形態では、ブートプログラム、更新処理プログラムなどが、フラッシュROM13の書き換え禁止領域132に記憶されているが、これらのプログラムが、フラッシュROM13とは別に設けられた不揮発性メモリ(例えば、EEPROM、MASKROMなど)に記憶されていてもよい。
<Modification 4>
In the above embodiment, the boot program, the update processing program, and the like are stored in the rewrite prohibited area 132 of the flash ROM 13, but these programs are stored in a nonvolatile memory (eg, EEPROM, MASKROM, etc.) provided separately from the flash ROM 13. etc.).

1…車両用コンピュータ装置、13…フラッシュROM、15…通信装置、B,W…ブロック、D1…第1データ、D2…第2データ、D3…第3データ、DD…差分データ、DS…差分データセット、E…余白領域、IMa…旧ROMイメージデータ、IMb…新ROMイメージデータ、PD…パーツデータ、SV…配信サーバ、V…車両 DESCRIPTION OF SYMBOLS 1... Computer apparatus for vehicles, 13... Flash ROM, 15... Communication apparatus, B, W... Block, D1... 1st data, D2... 2nd data, D3... 3rd data, DD... Difference data, DS... Difference data set, E...blank area, IMa...old ROM image data, IMb...new ROM image data, PD...parts data, SV...distribution server, V...vehicle

Claims (1)

書き換え可能な記憶領域を有し、前記記憶領域に、第1データ及び第2データを記憶した不揮発性メモリと、
前記第1データ及び前記第2データを用いて車両を制御する演算装置であって、前記第1データを更新する機能を有する演算装置と、
を備えた車両用コンピュータ装置であって、
前記記憶領域は、
前記第1データを記憶した第1記憶領域と、
前記第2データを記憶した第2記憶領域と、
前記第1記憶領域及び前記第2記憶領域との間に設けられ、新たなデータを書き込み可能である余白領域と、
を含み、
前記演算装置は、前記第1データの更新前後の差分を表す1つ又は複数の差分データを含む差分データセットを取得し、更新前の前記第1データのデータサイズに比べて、更新後の前記第1データのデータサイズが大きく、且つその増大分が前記余白領域の容量よりも小さい場合に、前記差分データセットのうちの少なくとも1つの差分データを前記余白領域に書き込むように構成されている、
車両用コンピュータ装置。
a nonvolatile memory having a rewritable storage area and storing first data and second data in the storage area;
an arithmetic device for controlling a vehicle using the first data and the second data, the arithmetic device having a function of updating the first data;
A vehicle computer device comprising:
The storage area is
a first storage area storing the first data;
a second storage area storing the second data;
a blank area provided between the first storage area and the second storage area, in which new data can be written;
including
The computing device acquires a difference data set including one or more pieces of difference data representing a difference between before and after the update of the first data, and compares the data size of the first data before update with the data size of the after update. When the data size of the first data is large and the increase is smaller than the capacity of the blank area, at least one differential data of the differential data set is written to the blank area.
Vehicle computer equipment.
JP2021065807A 2021-04-08 2021-04-08 Vehicle computer device Pending JP2022161197A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2021065807A JP2022161197A (en) 2021-04-08 2021-04-08 Vehicle computer device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2021065807A JP2022161197A (en) 2021-04-08 2021-04-08 Vehicle computer device

Publications (1)

Publication Number Publication Date
JP2022161197A true JP2022161197A (en) 2022-10-21

Family

ID=83658711

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2021065807A Pending JP2022161197A (en) 2021-04-08 2021-04-08 Vehicle computer device

Country Status (1)

Country Link
JP (1) JP2022161197A (en)

Similar Documents

Publication Publication Date Title
WO2022007656A1 (en) Bootloader software updating method and apparatus, embedded controller, and storage medium
JP4654750B2 (en) Automotive control system
US20070245069A1 (en) Storage Device, Memory Management Method and Program
DE102015110710A1 (en) Efficient Flash programming
JP7013918B2 (en) Vehicle control device, program update method and program
CN110764486B (en) Method and device for operating vehicle-mounted controller, vehicle-mounted controller and storage medium
US7904896B2 (en) Program rewriting system, boot loader, storage medium, and electronic control unit
US11263001B2 (en) Car onboard control device and program updating software
JP6447469B2 (en) Rewriting system
JP2018160207A (en) On-vehicle controller and program update software
JP2016062319A (en) Data reading device, program and data reading method
JP2022161197A (en) Vehicle computer device
JP3805195B2 (en) Program rewriting apparatus and program rewriting method
JPWO2018100633A1 (en) Control device and program update method
JP2019008693A (en) Vehicle-purpose electronic control unit
JP6676791B2 (en) Information processing device
JP2004013536A (en) Flash memory rewrite control system and method, program for operating processe in flash memory rewrite control method, and information storage medium
JP5787095B2 (en) Method for storing data in non-volatile memory
JP2005321843A (en) Rewriting method for firmware
Karacali et al. Full efficient NVM usage for MCU
JP5521437B2 (en) Portable terminal device, software update method and program
JP4910402B2 (en) Nonvolatile memory rewriting device and rewriting method
KR102275140B1 (en) Method for updating vehicular control unit
JP2023070929A (en) Electronic control system, data structure of software package, and computer program
JP6782654B2 (en) In-vehicle control device and program update software

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20240117