JP6912954B2 - Rewriting system and computer - Google Patents

Rewriting system and computer Download PDF

Info

Publication number
JP6912954B2
JP6912954B2 JP2017127507A JP2017127507A JP6912954B2 JP 6912954 B2 JP6912954 B2 JP 6912954B2 JP 2017127507 A JP2017127507 A JP 2017127507A JP 2017127507 A JP2017127507 A JP 2017127507A JP 6912954 B2 JP6912954 B2 JP 6912954B2
Authority
JP
Japan
Prior art keywords
rewriting
mask
area
computer
ecu
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
JP2017127507A
Other languages
Japanese (ja)
Other versions
JP2019012336A (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.)
Yazaki Corp
Original Assignee
Yazaki 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 Yazaki Corp filed Critical Yazaki Corp
Priority to JP2017127507A priority Critical patent/JP6912954B2/en
Priority to US15/924,645 priority patent/US10936236B2/en
Priority to DE102018205395.2A priority patent/DE102018205395B4/en
Priority to CN201810325925.1A priority patent/CN108762770B/en
Publication of JP2019012336A publication Critical patent/JP2019012336A/en
Application granted granted Critical
Publication of JP6912954B2 publication Critical patent/JP6912954B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、書換えシステム及びコンピュータに関する。 The present invention relates to a rewriting system及beauty computer.

最近の自動車には、エンジン制御や走行制御、ナビゲーションや情報通信などのために、ECU(コンピュータ)が搭載されている。自動車における情報処理の高度化・多様化により、車載用のソフトウェアの改良、新規開発が盛んに行われており、車両販売後のプログラムのバージョンアップを考慮する必要が出てきている。特許文献1には、車両制御用のプログラム等の書き換えを行う技術が記載されている。 Recent automobiles are equipped with an ECU (computer) for engine control, driving control, navigation, information communication, and the like. Due to the sophistication and diversification of information processing in automobiles, in-vehicle software is being actively improved and newly developed, and it is becoming necessary to consider upgrading the program after the vehicle is sold. Patent Document 1 describes a technique for rewriting a program for vehicle control and the like.

特開2000−43654号公報Japanese Unexamined Patent Publication No. 2000-43654

ここで、ECUの多くはバルブやモータ等といった車両に搭載された複数の負荷を制御対象として制御している。一部の制御対象が新型のものと交換された際には、ECUのメモリにおける記憶内容のうち、その制御対象の制御に関わるプログラム等の書き換えが必要となることがある。しかしながら、多くのECUでは、メモリの記憶内容について部分的な書換えができず、一部を書き換える場合であっても全ての記憶内容を書き換なければならないため、もっと柔軟性のある書換えが可能な技術が求められている。 Here, most ECUs control a plurality of loads mounted on a vehicle such as valves and motors as control targets. When a part of the control target is replaced with a new one, it may be necessary to rewrite the program or the like related to the control of the control target among the stored contents in the memory of the ECU. However, in many ECUs, it is not possible to partially rewrite the stored contents of the memory, and even if a part of the stored contents is rewritten, all the stored contents must be rewritten, so that more flexible rewriting is possible. Technology is required.

本発明は、以上の背景に鑑みてなされたものであり、柔軟性のある書換えが可能な書換えシステム、及び、当該書換えシステムに用いられるコンピュータを提供することを目的としている。 The present invention has been made in view of the above background, which can be flexible rewriting rewriting system, and has an object to provide a benzalkonium computer used in the rewriting system.

上記課題を解決するために、本発明の書換えシステムは、複数の制御対象を制御するとともにメモリを有するコンピュータと、前記メモリに記憶されている記憶内容の書換えデータについて、複数の前記コンピュータとの通信が可能な書換え装置と、を備えた書換えシステムであって、前記コンピュータにおける前記メモリには、前記複数の制御対象に対応して、当該複数の制御対象それぞれの制御に用いられる記憶内容が各々に記憶される複数のチャンネルエリアが設けられ、前記複数のチャンネルエリアのうち書換えを禁止するマスク対象エリアと、書換えを許可するマスク除外エリアと、を設定するマスク設定処理を行うマスク設定部を備え、前記書換え装置は、前記複数のチャンネルエリアの全てについて記憶内容の書換えデータを送信し、前記コンピュータは、前記書換え装置から送信されてくる書換えデータのうち、前記マスク除外エリアに対応した書換えデータを用いて、当該マスク除外エリアの記憶内容の書換えを行うことを特徴とする。 In order to solve the above problems, the rewriting system of the present invention communicates between a computer that controls a plurality of control targets and has a memory, and a plurality of computers for rewriting data of stored contents stored in the memory. A rewriting system including a rewriting device capable of performing the above, and the memory in the computer has storage contents used for controlling each of the plurality of control targets corresponding to the plurality of control targets. A plurality of channel areas to be stored are provided, and a mask setting unit for performing a mask setting process for setting a mask target area for prohibiting rewriting and a mask exclusion area for permitting rewriting among the plurality of channel areas is provided. The rewriting device transmits rewriting data of stored contents for all of the plurality of channel areas, and the computer uses the rewriting data corresponding to the mask exclusion area among the rewriting data transmitted from the rewriting device. Therefore, the stored contents of the mask exclusion area are rewritten.

また、書換え装置は、複数の制御対象を制御するコンピュータが有するメモリに記憶されている記憶内容の書換えデータについて、複数の前記コンピュータへの送信が可能な書換え装置であって、前記コンピュータにおける前記メモリには、前記複数の制御対象に対応して、当該複数の制御対象それぞれの制御に用いられる記憶内容が各々に記憶される複数のチャンネルエリアが設けられ、前記複数のチャンネルエリアには、書換えを禁止するマスク対象エリアと、書換えを許可するマスク除外エリアと、を設定するマスク設定処理が施されており、前記複数のチャンネルエリアの全てについて記憶内容の書換えデータを前記コンピュータに送信する。 Further, rewritten to apparatus for rewriting data of the contents stored in the memory of the computer for controlling a plurality of control target, a rewriting device capable of transmitting of the plurality of the computers, the in the computer The memory is provided with a plurality of channel areas in which the storage contents used for the control of each of the plurality of control targets are stored corresponding to the plurality of control targets, and the plurality of channel areas are rewritten. a masked area that prohibits, that sends a mask exclusion area which allows rewriting, have been subjected to the mask setting processing for setting, the rewriting data of all contents stored in the plurality of channels areas to the computer.

また、上記課題を解決するために、本発明のコンピュータは、複数の制御対象を制御するとともに、メモリを有し、当該メモリの記憶内容の書換えデータを書換え装置から受信するコンピュータであって、前記メモリには、前記複数の制御対象に対応して、当該複数の制御対象それぞれの制御に用いられる記憶内容が各々に記憶される複数のチャンネルエリアが設けられ、前記複数のチャンネルエリアには、書換えを禁止するマスク対象エリアと、書換えを許可するマスク除外エリアと、を設定するマスク設定処理が施されており、前記書換え装置から前記複数のチャンネルエリアの全てについて送信されてくる書換えデータのうち、前記マスク除外エリアに対応した書換えデータを用いて、当該マスク除外エリアの記憶内容の書換えを行うことを特徴とする。 Further, in order to solve the above problems, the computer of the present invention is a computer that controls a plurality of control targets, has a memory, and receives rewriting data of the stored contents of the memory from the rewriting device. The memory is provided with a plurality of channel areas in which the storage contents used for the control of each of the plurality of control targets are stored corresponding to the plurality of control targets, and the plurality of channel areas are rewritten. Of the rewriting data transmitted from the rewriting device for all of the plurality of channel areas, a mask setting process for setting a mask target area for prohibiting rewriting and a mask exclusion area for allowing rewriting is performed. It is characterized in that the stored contents of the mask exclusion area are rewritten by using the rewrite data corresponding to the mask exclusion area.

本発明の書換えシステム及びコンピュータによれば、マスク設定部において任意のチャンネルエリアについて書換えを禁止したり許可したりできる。これにより、コンピュータのメモリについて、全てのチャンネルエリアを一括して書き換えたり、所望のチャンネルエリアのみを書き換えたり、柔軟な書換えを行うことができる。 According to rewrite system及beauty computer of the present invention, it or allow prohibits rewriting for any channel area in the mask setting section. As a result, it is possible to rewrite all the channel areas of the computer memory at once, rewrite only the desired channel area, and flexibly rewrite the memory of the computer.

その一方で、書換え装置は、書換えに当たって、どのチャンネルエリアが書換えが禁止されあるいは書換えが許可されているのか把握する必要がなく、全てのチャンネルエリアの書換えデータを単純に送信するだけで済む。また、コンピュータは、書換えデータを単純に受信しつつマスク設定処理で書換えが許可されたマスク除外エリアのみを対象として書換えを行なえば済む。このように、本発明の書換えシステム及びコンピュータによれば、書換えに要する処理が単純であることから書き換え時間を短縮することもできる。更には、書換えに要する処理が単純であることから書換えミスを低減することもできる。 On the other hand, the rewriting device does not need to know which channel area is prohibited or permitted to be rewritten, and simply transmits the rewriting data of all channel areas. Further, the computer simply receives the rewriting data and rewrites only the mask exclusion area for which rewriting is permitted in the mask setting process. Thus, according to the rewriting system及beauty computer of the present invention, it is also possible to shorten the rewrite time since the process required for rewriting is simple. Furthermore, since the processing required for rewriting is simple, it is possible to reduce rewriting errors.

本発明の書換えシステムの一実施形態を示すブロック図である。It is a block diagram which shows one Embodiment of the rewriting system of this invention. 図1に示すECUのフラッシュROMの構成を示すブロック図である。It is a block diagram which shows the structure of the flash ROM of the ECU shown in FIG. 図1及び図2に示されている書換えシステムの動作を表したフローチャートである。It is the flowchart which showed the operation of the rewriting system shown in FIG. 1 and FIG. 図3に示されているマスク設定処理を表したフローチャートである。It is a flowchart showing the mask setting process shown in FIG.

以下、本発明の一実施形態を、図1及び図2に基づいて説明する。図1は、本発明の書換えシステムの一実施形態を示すブロック図である。図2は、図1に示すECUのフラッシュROMの構成を示すブロック図である。 Hereinafter, an embodiment of the present invention will be described with reference to FIGS. 1 and 2. FIG. 1 is a block diagram showing an embodiment of the rewriting system of the present invention. FIG. 2 is a block diagram showing a configuration of the flash ROM of the ECU shown in FIG.

書換えシステム1は、複数のECU(コンピュータ)10と、これらECU10のプログラムを書換えるための書換え装置20と、を備えている。複数のECU10は、車両の各部に配置され、通信ライン30により互いに通信可能に接続されている。本実施形態では、複数のECU10は、通信ライン30によりバス接続され、互いに通信可能に接続されている。通信ライン30には、上記書換え装置20を着脱自在に接続するための接続部40が設けられており、通信ライン30及び接続部40を介して複数のECU10との通信が可能な装置となっている。 The rewriting system 1 includes a plurality of ECUs (computers) 10 and a rewriting device 20 for rewriting the programs of these ECUs 10. The plurality of ECUs 10 are arranged in each part of the vehicle and are connected to each other so as to be able to communicate with each other by a communication line 30. In the present embodiment, the plurality of ECUs 10 are bus-connected by the communication line 30 and are connected to each other so as to be able to communicate with each other. The communication line 30 is provided with a connection unit 40 for detachably connecting the rewriting device 20 so as to be a device capable of communicating with a plurality of ECUs 10 via the communication line 30 and the connection unit 40. There is.

複数のECU10はそれぞれ、インタフェース(以下、I/F)11と、入力回路12と、出力回路13と、マイクロコンピュータ(以下マイコン)14と、を有している。I/F11は、他のECU10及び書換え装置20と通信を行うための通信インタフェースである。本実施形態では、I/F11は、各種通信(CAN、LIN、その他通信方式)に対応した信号の入出力が可能なインタフェースである。 Each of the plurality of ECUs 10 has an interface (hereinafter, I / F) 11, an input circuit 12, an output circuit 13, and a microcomputer (hereinafter, a microcomputer) 14. The I / F 11 is a communication interface for communicating with another ECU 10 and the rewriting device 20. In the present embodiment, the I / F 11 is an interface capable of inputting / outputting signals corresponding to various communications (CAN, LIN, and other communication methods).

入力回路12は、CH1〜CHnローカルスイッチ(以下、CH1〜CHnローカルSW)51〜5nからの信号が入力される回路である。図1では、入力回路12には、CH1〜CHnローカルSW51〜5nからの信号のみ入力されているが、これに限ったものではなく、他に各種センサの出力をA/D変換したAD入力やPWM入力などが入力されていてもよい。 The input circuit 12 is a circuit in which signals from CH1 to CHn local switches (hereinafter, CH1 to CHn local SW) 51 to 5n are input. In FIG. 1, only signals from CH1 to CHn local SW51 to 5n are input to the input circuit 12, but the present invention is not limited to this, and other AD inputs obtained by A / D converting the outputs of various sensors are used. PWM input or the like may be input.

出力回路13は、バルブやモータ等といった車両に搭載された各種負荷として、CH1〜CHn負荷61〜6nが接続される回路である。ECU10は、これらのCH1〜CHn負荷61〜6nを制御する装置である。本実施形態では、これらCH1〜CHn負荷61〜6nが、上記のCH1〜CHnローカルSW51〜5nと一対一に対応している。 The output circuit 13 is a circuit to which CH1 to CHn loads 61 to 6n are connected as various loads mounted on a vehicle such as a valve or a motor. The ECU 10 is a device that controls these CH1 to CHn loads 61 to 6n. In the present embodiment, these CH1 to CHn loads 61 to 6n have a one-to-one correspondence with the above-mentioned CH1 to CHn local SW 51 to 5n.

マイコン14は、CPU(Central Processing Unit)14Aと、フラッシュROM(Read Only Memory)14Bと、RAM(Random Access Memory)14Cと、から構成されている。CPU14Aは、ECU10全体の制御を司り、処理プログラムに従って各種の処理を行う。フラッシュROM14B(メモリ)は、CPU14Aが行う処理のプログラム等を格納するメモリである。RAM14Cは、CPU14Aでの各種の処理過程で利用するワークエリア、各種データを格納するデータ記憶エリアなどを有するメモリである。 The microcomputer 14 is composed of a CPU (Central Processing Unit) 14A, a flash ROM (Read Only Memory) 14B, and a RAM (Random Access Memory) 14C. The CPU 14A controls the entire ECU 10 and performs various processes according to a processing program. The flash ROM 14B (memory) is a memory for storing a processing program or the like performed by the CPU 14A. The RAM 14C is a memory having a work area used in various processing processes in the CPU 14A, a data storage area for storing various data, and the like.

フラッシュROM14Bは、図2に示すように、書換え対象外エリアA1と、書換え対象エリアA2と、の2つのエリアが形成されている。 As shown in FIG. 2, the flash ROM 14B has two areas, a rewrite target area A1 and a rewrite target area A2.

書換え対象外エリアA1には、書換え対象とならない記憶内容(プログラムや変数や設定値)が記憶されている。本実施形態では、書換え対象外エリアA1内には、基本制御プログラムエリアA11と、通信制御プログラムエリアA12と、変数・設定値エリアA13と、書換えプログラムエリアA14と、が形成されている。 In the area A1 not subject to rewriting, stored contents (programs, variables, set values) that are not subject to rewriting are stored. In the present embodiment, the basic control program area A11, the communication control program area A12, the variable / set value area A13, and the rewrite program area A14 are formed in the area A1 not subject to rewriting.

基本制御プログラムエリアA11には、各種プログラムを周期的に実行するための基本プログラムが記憶されている。通信制御プログラムエリアA12には、CANやLINなどの通信処理を実行するための通信プログラムが記憶されている。変数・設定値エリアA13には、エリア内の各プログラムを実行する上で必要な変数や設定値が記憶されている。設定値としては、閾値や最小値、最大値、条件分岐に使用する値、カウンター値、初期値等が記憶されている。書換えプログラムエリアA14には、書換え対象エリアA2の書換え処理を実行するための書換えプログラムが記憶されている。 In the basic control program area A11, a basic program for periodically executing various programs is stored. In the communication control program area A12, a communication program for executing communication processing such as CAN and LIN is stored. Variables / setting values Area A13 stores variables and setting values necessary for executing each program in the area. As the set value, a threshold value, a minimum value, a maximum value, a value used for conditional branching, a counter value, an initial value, and the like are stored. The rewrite program area A14 stores a rewrite program for executing the rewrite process of the rewrite target area A2.

書換え対象エリアA2は、書換え対象となる記憶内容が記憶されている。本実施形態では、書換え対象エリアA2に、チャンネル1〜チャンネルnプログラムエリア(CH1〜CHnプログラムエリア)A21〜A2nが設けられている。CH1〜CHnプログラムエリアA21〜A2nは、制御対象であるCH1〜CHn負荷61〜6nと一対一に対応している。そして、これらのCH1〜CHn負荷61〜6nそれぞれの制御に用いられる記憶内容がCH1〜CHnプログラムエリアA21〜A2nのそれぞれに記憶される。本実施形態では、各CHプログラムエリアには、入力判定制御プログラム、ベースアプリ制御プログラム、出力判定制御プログラム、及び、各プログラムに対応した変数や設定値が記憶される。 In the rewrite target area A2, the stored contents to be rewritten are stored. In the present embodiment, the rewrite target area A2 is provided with channels 1 to channel n program areas (CH1 to CHn program areas) A21 to A2n. The CH1 to CHn program areas A21 to A2n have a one-to-one correspondence with the CH1 to CHn loads 61 to 6n to be controlled. Then, the storage contents used for controlling each of these CH1 to CHn loads 61 to 6n are stored in each of the CH1 to CHn program areas A21 to A2n. In the present embodiment, each CH program area stores an input determination control program, a base application control program, an output determination control program, and variables and setting values corresponding to each program.

入力判定制御プログラムは、I/F11を介した通信、入力回路12を介した入力の入力判定処理を実行するためのプログラムである。ベースアプリ制御プログラムは、入力判定処理の結果に応じた負荷のON/OFF判定処理を実行するためのプログラムである。また、出力判定制御プログラムは、負荷のON/OFF判定処理の結果に応じた出力判定処理を実行するためのプログラムである。 The input determination control program is a program for executing communication via the I / F 11 and input determination processing of the input via the input circuit 12. The base application control program is a program for executing the load ON / OFF determination process according to the result of the input determination process. Further, the output determination control program is a program for executing the output determination process according to the result of the load ON / OFF determination process.

書換え装置20は、図示しないマイコンを備えている。マイコンは、周知のCPU、ROM、RAMを有している。書換え装置20は図示しない記憶装置を有し、記憶装置内に複数の書換えデータが格納されている。複数の書換えデータにはそれぞれ、フラッシュROM14Bのエリアを示すアドレスデータが含まれる。このアドレスデータを確認することで、その書換えデータを書き込むエリアが、CH1〜CHnプログラムエリアA21〜A2nのうちの何れのエリアであるかがわかる。 The rewriting device 20 includes a microcomputer (not shown). The microcomputer has a well-known CPU, ROM, and RAM. The rewriting device 20 has a storage device (not shown), and a plurality of rewriting data are stored in the storage device. Each of the plurality of rewrite data includes address data indicating an area of the flash ROM 14B. By checking this address data, it is possible to know which of the CH1 to CHn program areas A21 to A2n is the area for writing the rewrite data.

また、本実施形態では、複数のECU10は、フラッシュROM14Bの上述したメモリ構造を含めて互いに同等な装置となっている。これにより、書換え装置20は、後述するように、複数のECU10を特に区別することなく全てのECU10に向けて書換えデータを送信する。 Further, in the present embodiment, the plurality of ECUs 10 are devices equivalent to each other including the above-mentioned memory structure of the flash ROM 14B. As a result, the rewriting device 20 transmits the rewriting data to all the ECUs 10 without particularly distinguishing the plurality of ECUs 10, as will be described later.

次に、上述した構成の書換えシステム1の動作について図3のフローチャートを参照して以下説明する。 Next, the operation of the rewriting system 1 having the above-described configuration will be described below with reference to the flowchart of FIG.

図3は、図1及び図2に示されている書換えシステムの動作を表したフローチャートである。また、図4は、図3に示されているマスク設定処理を表したフローチャートである。 FIG. 3 is a flowchart showing the operation of the rewriting system shown in FIGS. 1 and 2. Further, FIG. 4 is a flowchart showing the mask setting process shown in FIG.

ここで、本実施形態では、図3及び図4のフローチャートで表される処理に先立つ書換え処理の準備段階として、まず、作業者が、複数のECU10それぞれのCH1〜CHnローカルSW51〜5nを操作する。この操作により、各ECU10のフラッシュROM14BにおけるCH1〜CHnプログラムエリアA21〜A2nのうちで、書換えが禁止されるマスク対象エリアと、書換えが許可されるマスク除外エリアとが指定される。ローカルスイッチがONにセットされることで対応するCHプログラムエリアがマスク対象エリアに指定される。逆に、ローカルスイッチがOFFにセットされることで対応するCHプログラムエリアがマスク除外エリアに指定される。CH1〜CHnローカルSW51〜5nの全てがONにセットされると、そのECU10自体がマスクされて書換え対象から外されることとなる。 Here, in the present embodiment, as a preparatory step for the rewriting process prior to the process represented by the flowcharts of FIGS. 3 and 4, the operator first operates CH1 to CHn local SW51 to 5n of each of the plurality of ECUs 10. .. By this operation, in the CH1 to CHn program areas A21 to A2n in the flash ROM 14B of each ECU 10, a mask target area where rewriting is prohibited and a mask exclusion area where rewriting is permitted are designated. When the local switch is set to ON, the corresponding CH program area is designated as the mask target area. On the contrary, when the local switch is set to OFF, the corresponding CH program area is designated as the mask exclusion area. When all of CH1 to CHn local SW51 to 5n are set to ON, the ECU 10 itself is masked and excluded from the rewriting target.

このような準備段階を経たのち、図3及び図4のフローチャートで表される処理では、まず、作業者が、通信ライン30に設けた接続部40に書換え装置20を接続する(ステップS11)。書換え装置20のCPU(以下、単に書換え装置20と略記)は、通信ライン30への接続に応じて書換え処理を開始する。まず、その開始の初頭で、書換え装置20が、各ECU10に、書換え信号を送信して書換え処理の開始を通知する。 After passing through such a preparatory step, in the process represented by the flowcharts of FIGS. 3 and 4, the operator first connects the rewriting device 20 to the connection portion 40 provided in the communication line 30 (step S11). The CPU of the rewriting device 20 (hereinafter, simply abbreviated as the rewriting device 20) starts the rewriting process according to the connection to the communication line 30. First, at the beginning of the start, the rewriting device 20 transmits a rewriting signal to each ECU 10 to notify the start of the rewriting process.

他方、各ECU10のCPU14A(以下、単にECU10と略記)は、電源供給に応じて処理を開始する。各ECU10は、まず、以下に説明するマスク設定処理を実行する(ステップS21)。 On the other hand, the CPU 14A of each ECU 10 (hereinafter, simply abbreviated as ECU 10) starts processing according to the power supply. First, each ECU 10 executes the mask setting process described below (step S21).

図4に示されているマスク設定処理において、ECU10は、まず、書換え条件が成立しているか否かの判定を行う(ステップS211)。この判定は、書換え装置20から書換え信号が送信されてきているか否かによって行われる。書換え信号が送信されてきている場合(ステップS211でY)、ECU10はマスク設定処理の一連の処理を実行する。他方、書換え信号が送信されてきていなければ(ステップS211でN)、ECU10は通常処理を起動して(ステップS212)、処理を終了する。ここにいう通常動作とは、CH1〜CHn負荷61〜6nに対するON/OFF制御のことである。 In the mask setting process shown in FIG. 4, the ECU 10 first determines whether or not the rewriting condition is satisfied (step S211). This determination is made based on whether or not a rewriting signal has been transmitted from the rewriting device 20. When the rewrite signal has been transmitted (Y in step S211), the ECU 10 executes a series of mask setting processes. On the other hand, if the rewrite signal has not been transmitted (N in step S211), the ECU 10 starts the normal process (step S212) and ends the process. The normal operation referred to here is ON / OFF control for CH1 to CHn loads 61 to 6n.

尚、書換え条件成立の判定は、本実施形態のように書換え装置20からの書換え信号に基づいて行なう判定に限るものではない。書換え条件成立の判定は、例えばECU10の外部からのローカル信号に基づいて行なうものであってもよく、あるいは、ECU10に設けた専用スイッチに対する操作に基づいて行なうもの等であってもよい。 The determination of the establishment of the rewriting condition is not limited to the determination made based on the rewriting signal from the rewriting device 20 as in the present embodiment. The determination of the establishment of the rewriting condition may be performed based on, for example, a local signal from the outside of the ECU 10, or may be performed based on an operation on a dedicated switch provided in the ECU 10.

マスク設定処理の一連の処理では、ECU10は、CHx(xは1〜nのうちの何れか)ローカルスイッチ5xがONにセットされているか否かを判定する(ステップS213)。CHxローカルスイッチ5xがONにセットされている場合(ステップS213でY)、ECU10は、対応するCHxプログラムエリアA2xについて、書換えを禁止するマスク対象エリアに設定する(ステップS214)。他方、CHxローカルスイッチ5xがOFFにセットされている場合(ステップS213でN)、ECU10は、対応するCHxプログラムエリアA2xについて、書換えを許可するマスク除外エリアに設定する(ステップS215)。その後、ECU10は、CH1〜CHnプログラムエリアA21〜A2nの全てについて処理が終了したか否かを判定する(ステップS216)。未処理のプログラムエリアがある場合(ステップS216でN)、ECU10は、ステップS213〜ステップS215の処理を繰り返す。他方、全てのプログラムエリアについて処理が終了した場合(ステップS216でY)、ECU10は、マスク設定処理が終了して、図3に示されているフローチャートに戻る。ECU10において、この図4に示されている処理を実行するCPU14Aがマスク設定処理を行うマスク設定部の役割を果たす。 In a series of mask setting processes, the ECU 10 determines whether or not the CHx (x is any of 1 to n) local switch 5x is set to ON (step S213). When the CHx local switch 5x is set to ON (Y in step S213), the ECU 10 sets the corresponding CHx program area A2x to the masked area for which rewriting is prohibited (step S214). On the other hand, when the CHx local switch 5x is set to OFF (N in step S213), the ECU 10 sets the corresponding CHx program area A2x to the mask exclusion area that allows rewriting (step S215). After that, the ECU 10 determines whether or not the processing has been completed for all of the CH1 to CHn program areas A21 to A2n (step S216). When there is an unprocessed program area (N in step S216), the ECU 10 repeats the processes of steps S213 to S215. On the other hand, when the processing for all the program areas is completed (Y in step S216), the ECU 10 finishes the mask setting processing and returns to the flowchart shown in FIG. In the ECU 10, the CPU 14A that executes the process shown in FIG. 4 plays the role of a mask setting unit that performs the mask setting process.

図3のフローチャートで表される処理において、書換え装置20は、複数のECU10の何れかから後述の処理中止信号を受信したか否かを判定する(ステップS12)。処理中止信号を受信した場合(ステップS12でY)、書換え装置20は、書換え処理を中止して(ステップS13)、処理を終了する。他方、処理中止信号を受信しなかった場合(ステップS12でN)、書換え装置20は、CHx書換えデータを全てのECU10に向けて送信する(ステップS14)。この時に送信される書換えデータは、CHxプログラムエリアA2xに記憶されている各種プログラム、各種変数、及び各種設定値である。ステップS14で書換えデータが1つ送信される度に、書換え装置20は、CHxプログラムエリアA2xに関わる全ての書換えデータの送信が終了したか否かを判定する(ステップS15)。未送信の書換えデータがある場合(ステップS15でN)、書換え装置20は、ステップS12〜ステップS14の処理を繰り返す。全ての書換えデータの送信が終了した場合(ステップS15でY)、書換え装置20は、CH1〜CHnプログラムエリアA21〜A2nの全てについて書換えデータの送信が終了したか否かを判定する(ステップS16)。未送信のプログラムエリアの書換えデータがある場合(ステップS16でN)、書換え装置20は、ステップS12〜ステップS15の処理を繰り返す。全てのプログラムエリアについて書換えデータの送信が終了した場合(ステップS16でY)、書換え装置20は、処理終了信号を全てのECU10に向けて送信して(ステップS17)、処理を終了する。以上の処理により、書換え装置20は、CH1〜CHnプログラムエリアA21〜A2nの全てについての書換えデータを、CH1→CH2→・・・CHnの順番で順次に全てのECU10に向けて送信する。 In the process represented by the flowchart of FIG. 3, the rewriting device 20 determines whether or not a process stop signal described later is received from any of the plurality of ECUs 10 (step S12). When the processing stop signal is received (Y in step S12), the rewriting device 20 cancels the rewriting processing (step S13) and ends the processing. On the other hand, when the processing stop signal is not received (N in step S12), the rewriting device 20 transmits CHx rewriting data to all the ECUs 10 (step S14). The rewriting data transmitted at this time is various programs, various variables, and various setting values stored in the CHx program area A2x. Each time one rewrite data is transmitted in step S14, the rewrite device 20 determines whether or not the transmission of all the rewrite data related to the CHx program area A2x is completed (step S15). When there is untransmitted rewriting data (N in step S15), the rewriting device 20 repeats the processes of steps S12 to S14. When the transmission of all the rewriting data is completed (Y in step S15), the rewriting device 20 determines whether or not the transmission of the rewriting data is completed for all of the CH1 to CHn program areas A21 to A2n (step S16). .. When there is rewriting data in the program area that has not been transmitted (N in step S16), the rewriting device 20 repeats the processes of steps S12 to S15. When the transmission of the rewriting data for all the program areas is completed (Y in step S16), the rewriting device 20 transmits the processing end signal to all the ECUs 10 (step S17), and ends the processing. Through the above processing, the rewriting device 20 sequentially transmits rewriting data for all of CH1 to CHn program areas A21 to A2n to all ECUs 10 in the order of CH1 → CH2 → ... CHn.

他方、ECU10は、上述したマスク設定処理(ステップS21)の後、所定時間内に書換え装置20からCHx書換えデータを受信したか否かを判定する(ステップS22)。所定時間が経過してもCHx書換えデータの受信がない場合(ステップS22のN)、ECU10は、処理中止信号を書換え装置20に向けて送信し(ステップS23)、処理を終了する。他方、CHx書換えデータを受信した場合(ステップS22のY)、ECU10は、対応するCHxプログラムエリアA2xが書換えが許可されたマスク除外エリアであるか否かを判定する(ステップS24)。CHxプログラムエリアA2xが書換えが禁止されたマスク対象エリアである場合(ステップS24でN)、ECU10は、書換え装置20から処理終了信号を受信しているか否かを判定する(ステップS25)。処理終了信号を受信している場合(ステップS25でY)、ECU10は、処理を終了する。処理終了信号を受信していない場合(ステップS25でN)、ECU10は、ステップS22に処理を戻して、次のCHプログラムエリアについての書換えデータの受信に備える。 On the other hand, after the mask setting process (step S21) described above, the ECU 10 determines whether or not CHx rewriting data has been received from the rewriting device 20 within a predetermined time (step S22). If the CHx rewrite data is not received even after the predetermined time has elapsed (N in step S22), the ECU 10 transmits a processing stop signal to the rewriting device 20 (step S23), and ends the processing. On the other hand, when the CHx rewriting data is received (Y in step S22), the ECU 10 determines whether or not the corresponding CHx program area A2x is a mask exclusion area where rewriting is permitted (step S24). When the CHx program area A2x is a masked area for which rewriting is prohibited (N in step S24), the ECU 10 determines whether or not a processing end signal has been received from the rewriting device 20 (step S25). When the process end signal is received (Y in step S25), the ECU 10 ends the process. When the processing end signal is not received (N in step S25), the ECU 10 returns the processing to step S22 to prepare for receiving the rewrite data for the next CH program area.

一方、上記のステップS24においてCHxプログラムエリアA2xがマスク除外エリアであると判定された場合(ステップS24でY)、ECU10は、そのCHxプログラムエリアA2xの記憶内容を消去する(ステップS26)。次に、ECU10は、記憶内容の消去が成功したか否かを判定する(ステップS27)。ステップS27では、ECU10は、CHxプログラムエリアA2xの記憶内容を読み出し、1が書き込まれていれば消去成功、0が書き込まれていれば消去失敗と判定する。この消去が成功しなければ(ステップS27でN)、ECU10は、処理中止信号を書換え装置20に向けて送信し(ステップS23)、処理を終了する。消去が成功すると(ステップS27でY)、ECU10は、CHxプログラムエリアA2xに、書換え装置20から受信したCHx書換えデータを書き込むことにより、データを書き換える(ステップS28)。次に、ECU10は、書換えが成功したか否かを判定する(ステップS29)。この判定では、ECU10は、まず、CHxプログラムエリアA2xの記憶内容を読み出す。続いて、ECU10は、読み出した記憶内容が、受信したCHx書換えデータと同じであれば書換え成功、異なれば書換え失敗と判定する。書換えが成功しなければ(ステップS29でN)、ECU10は、処理中止信号を書換え装置20に向けて送信し(ステップS23)、処理を終了する。書換えが成功すると(ステップS29でY)、ECU10は、処理終了信号を受信しているか否かの判定(ステップS25)を経て、処理を終了するか、ステップS22の処理に戻って次の書換えデータの受信に備える。 On the other hand, when it is determined in step S24 that the CHx program area A2x is the mask exclusion area (Y in step S24), the ECU 10 erases the stored contents of the CHx program area A2x (step S26). Next, the ECU 10 determines whether or not the erasure of the stored contents is successful (step S27). In step S27, the ECU 10 reads the stored contents of the CHx program area A2x, and determines that the erasure is successful if 1 is written and that the erasure is unsuccessful if 0 is written. If this erasure is not successful (N in step S27), the ECU 10 transmits a processing stop signal to the rewriting device 20 (step S23), and ends the processing. When the erasing is successful (Y in step S27), the ECU 10 rewrites the data by writing the CHx rewriting data received from the rewriting device 20 to the CHx program area A2x (step S28). Next, the ECU 10 determines whether or not the rewriting is successful (step S29). In this determination, the ECU 10 first reads the stored contents of the CHx program area A2x. Subsequently, the ECU 10 determines that the rewriting is successful if the read stored content is the same as the received CHx rewriting data, and that the rewriting is unsuccessful if it is different. If the rewriting is not successful (N in step S29), the ECU 10 transmits a processing stop signal to the rewriting device 20 (step S23), and ends the processing. When the rewriting is successful (Y in step S29), the ECU 10 determines whether or not the processing end signal is received (step S25), ends the processing, or returns to the processing in step S22 and returns to the next rewriting data. Prepare for reception.

上述したように、処理終了信号は、CH1〜CHnプログラムエリアA21〜A2nの全てについて書換えデータの送信が終了した場合に、書換え装置20から送信される。つまり、ステップS25において処理終了信号を受信していると判定された場合、全てのプログラムエリアのうちのマスク除外エリアの全てについて記憶内容の書換えが終了したことを意味する。このため、ECU10は、ステップS25において処理終了信号を受信していると判定された場合、処理を終了する。この後、書換え装置20から新たに書換え信号の受信がなければ、ECU10は、通常処理を起動する。そして、新たに書換え信号を受信すると、ECU10は、マスク設定処理S21から再度書換え処理を実行する。 As described above, the processing end signal is transmitted from the rewriting device 20 when the transmission of the rewriting data for all of the CH1 to CHn program areas A21 to A2n is completed. That is, when it is determined in step S25 that the processing end signal has been received, it means that the rewriting of the stored contents has been completed for all the mask exclusion areas among all the program areas. Therefore, when it is determined in step S25 that the processing end signal has been received, the ECU 10 ends the processing. After that, if there is no new reception of the rewriting signal from the rewriting device 20, the ECU 10 starts the normal processing. Then, when a new rewrite signal is received, the ECU 10 executes the rewrite process again from the mask setting process S21.

以上に説明した本実施形態によれば、マスク設定処理において任意のプログラムエリアについて書換えを禁止したり許可したりできる。このため、例えばCH1〜CHnプログラムエリアA21〜A2nの全てを一括して書き換えたり、所望のプログラムエリアのみを書き換えたり、柔軟な書換えを行うことができる。 According to the present embodiment described above, rewriting of an arbitrary program area can be prohibited or permitted in the mask setting process. Therefore, for example, all of CH1 to CHn program areas A21 to A2n can be rewritten at once, only a desired program area can be rewritten, and flexible rewriting can be performed.

その一方で、書換え装置20は、書換えに当たって、どのチャンネルエリアが書換えが禁止されあるいは書換えが許可されているのか把握する必要がなく、CH1〜CHnプログラムエリアA21〜A2nの全てについて書換えデータを単純に送信するだけで済む。また、各ECU10は、書換えデータを単純に受信しつつマスク設定処理で書換えが許可されたマスク除外エリアのみを対象として書換えを行なえば済む。このように、本実施形態によれば、書換えに要する処理が単純であることから書き換え時間を短縮することができる。また、書換えに要する処理が単純であることから書換えミスを低減することもできる。 On the other hand, the rewriting device 20 does not need to know which channel area is prohibited or permitted to be rewritten, and simply rewrites the rewriting data for all of the CH1 to CHn program areas A21 to A2n. All you have to do is send it. Further, each ECU 10 simply receives the rewriting data and rewrites only the mask exclusion area for which rewriting is permitted in the mask setting process. As described above, according to the present embodiment, the rewriting time can be shortened because the processing required for rewriting is simple. Moreover, since the processing required for rewriting is simple, it is possible to reduce rewriting errors.

ここで、本実施形態では、マスク設定処理が、CH1〜CHnプログラムエリアA21〜A2nを有するECU10で行われる。これにより、例えば書換え装置20において各ECU10と通信しつつマスク設定処理を行う構成等と比較して、高い確度でマスク設定処理を行うことができる。 Here, in the present embodiment, the mask setting process is performed by the ECU 10 having CH1 to CHn program areas A21 to A2n. Thereby, for example, the mask setting process can be performed with higher accuracy than the configuration in which the mask setting process is performed while communicating with each ECU 10 in the rewriting device 20.

また、各ECU10では、CH1〜CHnローカルSW51〜5nのON/OFF状態というハードウェア状態に基づいて、マスク対象エリアとマスク除外エリアとが把握されるので、更に高い確度でマスク設定処理を行うことができる。 Further, in each ECU 10, the mask target area and the mask exclusion area are grasped based on the hardware state of the CH1 to CHn local SW51 to 5n ON / OFF state, so that the mask setting process is performed with higher accuracy. Can be done.

そして、本実施形態では、CH1〜CHnローカルSW51〜5nが、CH1〜CHnプログラムエリアA21〜A2nに一対一に対応している。即ち、各ローカルSWのON/OFF状態が、各CHプログラムエリアがマスク対象エリアとマスク除外エリアとの何れであるかに直結している。このため、一層高い確度でマスク設定処理を行うことができる。 Then, in the present embodiment, CH1 to CHn local SW51 to 5n have a one-to-one correspondence with CH1 to CHn program areas A21 to A2n. That is, the ON / OFF state of each local SW is directly linked to whether each CH program area is a mask target area or a mask exclusion area. Therefore, the mask setting process can be performed with higher accuracy.

また、本実施形態では、書換えシステム1にECU10が複数備えられている。マスク設定処理は各ECU10において個別に行われ、書換え装置20は、複数のECU10の全てに対して共通に、CH1〜CHnプログラムエリアA21〜A2nの全ての記憶内容の書換えデータを送信する。つまり、書換え装置20は、複数のECU10を区別せずにCH1〜CHnプログラムエリアA21〜A2nの全ての書換えデータを単純に送信するだけで済む。このため、複数のECU10を対象とした書換えシステム1であっても書き換え時間を短縮することができる。 Further, in the present embodiment, the rewriting system 1 is provided with a plurality of ECUs 10. The mask setting process is performed individually in each ECU 10, and the rewriting device 20 commonly transmits rewriting data of all the stored contents of CH1 to CHn program areas A21 to A2n to all of the plurality of ECUs 10. That is, the rewriting device 20 simply transmits all the rewriting data of the CH1 to CHn program areas A21 to A2n without distinguishing between the plurality of ECUs 10. Therefore, even in the rewriting system 1 for a plurality of ECUs 10, the rewriting time can be shortened.

尚、以上に説明した実施形態は代表的な形態を示したに過ぎず、この実施形態に限定されるものではない。即ち、骨子を逸脱しない範囲で上述した書換えシステム、書換え装置、及びコンピュータを種々変形して実施することができる。かかる変形によってもなお上述の書換えシステム、書換え装置、及びコンピュータにおける本質的な構成を具備する限り、勿論、範疇に含まれるものである。 It should be noted that the embodiments described above are merely representative embodiments, and are not limited to these embodiments. That is, the above-mentioned rewriting system, rewriting device, and computer can be variously modified and implemented within a range that does not deviate from the gist. Such modifications are, of course, included in the category as long as they still have the essential configurations of the rewriting system, rewriting device, and computer described above.

例えば、上述した実施形態では、本発明にいうメモリを有するコンピュータの一例として、フラッシュROM14Bを有するECU10が例示されている。しかしながら、本発明にいうメモリを有するコンピュータは、これに限るものではなく、その具体的な態様を問うものではない。 For example, in the above-described embodiment, the ECU 10 having the flash ROM 14B is exemplified as an example of the computer having the memory according to the present invention. However, the computer having the memory referred to in the present invention is not limited to this, and the specific mode thereof is not questioned.

また、上述した実施形態では、本発明にいうメモリの一例として、書換え対象外エリアA1と書換え対象エリアA2とを備えたフラッシュROM14Bが例示されている。また、本発明にいう複数のチャンネルエリアの一例として、入力判定制御プログラム、ベースアプリ制御プログラム、出力判定制御プログラム、及び、変数や設定値が記憶されるCH1〜CHnプログラムエリアA21〜A2nが例示されている。しかしながら、本発明にいうメモリや複数のチャンネルエリアは、これらに限るものではない。各チャンネルエリアにおける具体的な記憶内容は任意に設定してよく、また、複数のチャンネルエリアを有しているのであれば、メモリの具体的なエリア構成も任意に設定し得る。 Further, in the above-described embodiment, as an example of the memory according to the present invention, a flash ROM 14B including a rewrite target area A1 and a rewrite target area A2 is exemplified. Further, as an example of the plurality of channel areas referred to in the present invention, an input determination control program, a base application control program, an output determination control program, and CH1 to CHn program areas A21 to A2n in which variables and setting values are stored are exemplified. ing. However, the memory and the plurality of channel areas referred to in the present invention are not limited to these. The specific storage contents in each channel area may be arbitrarily set, and if the channel area has a plurality of channel areas, the specific area configuration of the memory may be arbitrarily set.

また、上述した実施形態では、本発明にいう書換えシステムの一例として、複数のECU10を備えた書換えシステム1が例示されている。しかしながら、本発明にいう書換えシステムはこれに限るものではなく、ECU等のコンピュータを1台だけ備えたシステムであってもよい。 Further, in the above-described embodiment, as an example of the rewriting system according to the present invention, the rewriting system 1 including a plurality of ECUs 10 is exemplified. However, the rewriting system referred to in the present invention is not limited to this, and may be a system including only one computer such as an ECU.

また、上述した実施形態では、本発明にいうマスク設定部の一例として、ECU10のCPU14Aと、ECU10に設けられたCH1〜CHnローカルSW51〜5nと、を備える形態が例示されている。しかしながら、本発明にいうマスク設定部は、この形態に限るものではなく、例えば書換え装置に設けられてECU等のコンピュータに対して通信を介してマスク設定処理を行うもの等であってもよい。また、コンピュータと書込み装置とのそれぞれにマスク設定処理の処理機能の一部が設けられて、両者で協働してマスク設定処理を行うもの等であってもよい。あるいは、書換え装置とは別の外部装置に設けられて、ECU等のコンピュータに接続されてマスク設定処理を行うもの等であってもよい。 Further, in the above-described embodiment, as an example of the mask setting unit according to the present invention, a mode including a CPU 14A of the ECU 10 and CH1 to CHn local SW51 to 5n provided in the ECU 10 is exemplified. However, the mask setting unit referred to in the present invention is not limited to this form, and may be, for example, one provided in a rewriting device and performing mask setting processing to a computer such as an ECU via communication. Further, a part of the processing function of the mask setting process may be provided in each of the computer and the writing device, and the mask setting process may be performed in cooperation with each other. Alternatively, the device may be provided in an external device different from the rewriting device and connected to a computer such as an ECU to perform mask setting processing.

また、本発明にいうマスク設定部は、ECU等のコンピュータに設けられるものであっても、CH1〜CHnプログラムエリアA21〜A2nと一対一に設けられたCH1〜CHnローカルSW51〜5nを備える形態に限るものでもない。本発明にいうマスク設定部は、例えば、少ない数のローカルスイッチを備え、それらのローカルスイッチにおけるON/OFF状態の組合せによって、何れのエリアをマスク対象エリアとしマスク除外エリアとするかを把握する形態等であってもよい。あるいは、そもそもローカルスイッチを設けずに、例えば、ECU等のコンピュータに、そのレベルによって何れのエリアをマスク対象エリアとしマスク除外エリアとするかを指定するアナログデータを入力する形態等であってもよい。 Further, the mask setting unit referred to in the present invention is provided with CH1 to CHn local SW51 to 5n provided one-to-one with CH1 to CHn program areas A21 to A2n even if it is provided in a computer such as an ECU. It is not limited. The mask setting unit referred to in the present invention is provided with, for example, a small number of local switches, and a form of grasping which area is to be a mask target area and a mask exclusion area is determined by a combination of ON / OFF states in those local switches. And so on. Alternatively, without providing a local switch in the first place, for example, analog data may be input to a computer such as an ECU to specify which area should be the mask target area and the mask exclusion area depending on the level. ..

1 書換えシステム
10 ECU(コンピュータ)
14A CPU(マスク設定部の一部)
14B フラッシュROM(メモリ)
20 書換え装置
51〜5n CH1〜CHnローカルSW(マスク設定部の一部)
61〜6n CH1〜CHn負荷
A1 書換え対象外エリア
A2 書換え対象エリア
A21〜A2n CH1〜CHnプログラムエリア(チャンネルエリア)
1 Rewriting system 10 ECU (computer)
14A CPU (part of mask setting part)
14B flash ROM (memory)
20 Rewriting device 51 to 5n CH1 to CHn Local SW (part of mask setting part)
61 to 6n CH1 to CHn load A1 Rewrite target area A2 Rewrite target area A21 to A2n CH1 to CHn Program area (channel area)

Claims (6)

複数の制御対象を制御するとともにメモリを有するコンピュータと、前記メモリに記憶されている記憶内容の書換えデータについて、複数の前記コンピュータへの送信が可能な書換え装置と、を備えた書換えシステムであって、
前記コンピュータにおける前記メモリには、前記複数の制御対象に対応して、当該複数の制御対象それぞれの制御に用いられる記憶内容が各々に記憶される複数のチャンネルエリアが設けられ、
前記複数のチャンネルエリアのうち書換えを禁止するマスク対象エリアと、書換えを許可するマスク除外エリアと、を設定するマスク設定処理を行うマスク設定部を備え、
前記書換え装置は、前記複数のチャンネルエリアの全てについて記憶内容の書換えデータを送信し、
前記コンピュータは、前記書換え装置から送信されてくる書換えデータのうち、前記マスク除外エリアに対応した書換えデータを用いて、当該マスク除外エリアの記憶内容の書換えを行うことを特徴とする書換えシステム。
A rewriting system including a computer that controls a plurality of control targets and has a memory, and a rewriting device capable of transmitting rewriting data of stored contents stored in the memory to the plurality of computers. ,
The memory in the computer is provided with a plurality of channel areas in which the storage contents used for the control of the plurality of control targets are stored in each of the plurality of control targets.
A mask setting unit for performing a mask setting process for setting a mask target area for which rewriting is prohibited and a mask exclusion area for which rewriting is permitted among the plurality of channel areas is provided.
The rewriting device transmits rewriting data of stored contents for all of the plurality of channel areas.
The computer is a rewriting system characterized in that, among the rewriting data transmitted from the rewriting device, the rewriting data corresponding to the mask exclusion area is used to rewrite the stored contents of the mask exclusion area.
前記マスク設定部が、前記コンピュータに設けられて前記マスク設定処理を行うものであることを特徴とする請求項1に記載の書換えシステム。 The rewriting system according to claim 1, wherein the mask setting unit is provided in the computer to perform the mask setting process. 前記マスク設定部が、前記コンピュータに設けられた複数のローカルスイッチを有しており、当該複数のローカルスイッチのON/OFF状態によって、前記複数のチャンネルエリアそれぞれが、前記マスク対象エリアと前記マスク除外エリアとの何れであるかを把握することを特徴とする請求項2に記載の書換えシステム。 The mask setting unit has a plurality of local switches provided in the computer, and depending on the ON / OFF state of the plurality of local switches, each of the plurality of channel areas has the mask target area and the mask exclusion. The rewriting system according to claim 2, wherein it is possible to grasp which of the areas is used. 前記複数のローカルスイッチが、前記複数のチャンネルエリアに対応していることを特徴とする請求項3に記載の書換えシステム。 The rewriting system according to claim 3, wherein the plurality of local switches correspond to the plurality of channel areas. 前記コンピュータは、複数備えられており、
前記マスク設定部は、各前記コンピュータについて前記マスク設定処理を個別に行うものであり、
前記書換え装置が、複数の前記コンピュータの全てに対して共通に、前記複数のチャンネルエリアの全ての記憶内容の書換えデータを送信するものであることを特徴とする請求項1〜4のうち何れか一項に記載の書換えシステム。
A plurality of the computers are provided.
The mask setting unit individually performs the mask setting process for each computer.
Any of claims 1 to 4, wherein the rewriting device transmits rewriting data of all the stored contents of the plurality of channel areas in common to all of the plurality of computers. The rewriting system described in paragraph 1.
複数の制御対象を制御するとともに、メモリを有し、当該メモリの記憶内容の書換えデータを書換え装置から受信するコンピュータであって、
前記メモリには、前記複数の制御対象に対応して、当該複数の制御対象それぞれの制御に用いられる記憶内容が各々に記憶される複数のチャンネルエリアが設けられ、
前記複数のチャンネルエリアには、書換えを禁止するマスク対象エリアと、書換えを許可するマスク除外エリアと、を設定するマスク設定処理が施されており、
前記書換え装置から前記複数のチャンネルエリアの全てについて送信されてくる書換えデータのうち、前記マスク除外エリアに対応した書換えデータを用いて、当該マスク除外エリアの記憶内容の書換えを行うことを特徴とするコンピュータ。
A computer that controls a plurality of control targets, has a memory, and receives rewriting data of the stored contents of the memory from a rewriting device.
The memory is provided with a plurality of channel areas in which the storage contents used for the control of the plurality of control targets are stored in each of the plurality of control targets.
The plurality of channel areas are subjected to a mask setting process for setting a mask target area for which rewriting is prohibited and a mask exclusion area for which rewriting is permitted.
Among the rewriting data transmitted from the rewriting device for all of the plurality of channel areas, the rewriting data corresponding to the mask exclusion area is used to rewrite the stored contents of the mask exclusion area. Computer.
JP2017127507A 2017-04-12 2017-06-29 Rewriting system and computer Active JP6912954B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2017127507A JP6912954B2 (en) 2017-06-29 2017-06-29 Rewriting system and computer
US15/924,645 US10936236B2 (en) 2017-04-12 2018-03-19 Rewriting system, rewriting device and computer
DE102018205395.2A DE102018205395B4 (en) 2017-04-12 2018-04-10 Rewriting system, rewriting device and computer
CN201810325925.1A CN108762770B (en) 2017-04-12 2018-04-12 Rewriting system, rewriting apparatus, and computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2017127507A JP6912954B2 (en) 2017-06-29 2017-06-29 Rewriting system and computer

Publications (2)

Publication Number Publication Date
JP2019012336A JP2019012336A (en) 2019-01-24
JP6912954B2 true JP6912954B2 (en) 2021-08-04

Family

ID=65227018

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2017127507A Active JP6912954B2 (en) 2017-04-12 2017-06-29 Rewriting system and computer

Country Status (1)

Country Link
JP (1) JP6912954B2 (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2006046506A1 (en) * 2004-10-27 2006-05-04 Matsushita Electric Industrial Co., Ltd. Receiver device
US20060259207A1 (en) * 2005-04-20 2006-11-16 Denso Corporation Electronic control system for automobile
JP5886099B2 (en) * 2012-03-21 2016-03-16 日立オートモティブシステムズ株式会社 Electronic control unit for automobile

Also Published As

Publication number Publication date
JP2019012336A (en) 2019-01-24

Similar Documents

Publication Publication Date Title
JP4722194B2 (en) Rewriting system for vehicles
JP4302113B2 (en) In-vehicle control device
US20180120797A1 (en) Vehicle load control device, method of rewriting control program for the same, and control program rewriting system
CN110809755A (en) Electronic control system
JP2000259420A (en) Device for updating learning value for electronic controller
WO2019123747A1 (en) Electronic control device for automobile and control method thereof
KR101533813B1 (en) Apparatus and method for controlling power relay assembly
US10936236B2 (en) Rewriting system, rewriting device and computer
JP6813381B2 (en) Programmable logic controller
JP6912954B2 (en) Rewriting system and computer
US20220147040A1 (en) Electronic Control Device and Method for Setting Control Data
JP6765343B2 (en) Rewriting system, rewriting device and computer
JP6415990B2 (en) Electronic control unit for automobile
US10146200B2 (en) Apparatus and method for updating operating system in programmable logic controller
JP2018180869A (en) Rewrite system, rewrite device and computer
EP3929729A1 (en) Server, update managing method, storage device, software updating device, center, and ota master
WO2019064644A1 (en) Electronic control device and control program verification method
JP6854706B2 (en) Computer and rewriting system
JP6463445B1 (en) In-vehicle control device
KR101900729B1 (en) Method for running PLC operating system
KR101569001B1 (en) System for configurating fpga data and method therefor
JP2019191956A (en) Electronic device, ID information setting method, host device, and control program
US10904341B2 (en) Method for using a control device in different data transmission systems, control device, and data transmission system for performing such a method
US9831797B2 (en) Copy system for copying parameter of inverter
US20050251305A1 (en) Electronic control apparatus

Legal Events

Date Code Title Description
RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20180323

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20200519

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20210324

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210413

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210512

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210709

R150 Certificate of patent or registration of utility model

Ref document number: 6912954

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350