JP2003140914A - Electronic control device - Google Patents

Electronic control device

Info

Publication number
JP2003140914A
JP2003140914A JP2001333889A JP2001333889A JP2003140914A JP 2003140914 A JP2003140914 A JP 2003140914A JP 2001333889 A JP2001333889 A JP 2001333889A JP 2001333889 A JP2001333889 A JP 2001333889A JP 2003140914 A JP2003140914 A JP 2003140914A
Authority
JP
Japan
Prior art keywords
circuit
cpu
stored
arithmetic circuit
arithmetic
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
JP2001333889A
Other languages
Japanese (ja)
Inventor
Shintetsu Miyashita
真哲 宮下
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.)
Nissan Motor Co Ltd
Original Assignee
Nissan Motor Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nissan Motor Co Ltd filed Critical Nissan Motor Co Ltd
Priority to JP2001333889A priority Critical patent/JP2003140914A/en
Publication of JP2003140914A publication Critical patent/JP2003140914A/en
Pending legal-status Critical Current

Links

Landscapes

  • Multi Processors (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an electronic control device for rewriting constant data of a main CPU and a sub CPU with one rewriting interface. SOLUTION: A write control program for the main CPU 103 is stored from a rewrite host computer 500 into a RAM 120 of the main CPU 103 via the rewriting interface 102, and is executed by the main CPU 103. The constant data of the sub CPU 109 stored in a nonvolatile memory 104 of the main CPU 103 from the rewrite host computer 500 via the rewriting interface 102 is transferred to the sub CPU 109 via a communication wire 108 to be written into a RAM 110. Thus, one rewriting interface 102 allows rewriting of the constant data of both the main CPU 103 and the sub CPU 109.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、複数のCPUを有
する電子制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic control device having a plurality of CPUs.

【0002】[0002]

【従来の技術】複数のCPUで構成される電子制御装置
(ECU)が知られている。たとえば、特開平5−81
222号公報には、メインCPUとサブCPUの2つを
有するシステムにおいて、CPU相互で動作状況を監視
してCPUの故障を検出する技術が開示されている。ま
た、CPUの演算負荷を低減するために、複数のCPU
を用いて構成されるシステムも知られている。このシス
テムでは、複数のCPUで演算処理が分担され、これら
複数のCPU間で演算処理が協調して行われる。このよ
うに、複数のCPUで電子制御装置が構成される場合、
それぞれのCPUに対して制御プログラムおよび制御デ
ータが必要である。
2. Description of the Related Art An electronic control unit (ECU) including a plurality of CPUs is known. For example, JP-A-5-81
Japanese Unexamined Patent Publication No. 222 discloses a technique in which, in a system having two main CPUs and sub CPUs, the operating states of the CPUs are monitored to detect a CPU failure. Moreover, in order to reduce the calculation load of the CPU,
A system configured by using is also known. In this system, the arithmetic processing is shared by the plurality of CPUs, and the arithmetic processing is coordinated among the plurality of CPUs. In this way, when the electronic control unit is composed of a plurality of CPUs,
A control program and control data are required for each CPU.

【0003】[0003]

【発明が解決しようとする課題】一般に、CPUを有す
る電子制御装置では、CPUで実行される制御プログラ
ムもしくは制御データのバーションアップに備えて、制
御プログラムおよび制御データの書き換えを行うインタ
ーフェイス回路が備えられる。電子制御装置が複数のC
PUで構成される場合、CPUの数に応じて複数のイン
ターフェイス回路が必要となり、装置のコスト上昇につ
ながる。
Generally, an electronic control device having a CPU is equipped with an interface circuit for rewriting the control program and the control data in preparation for version up of the control program or control data executed by the CPU. To be Electronic control unit has multiple C
In the case of the PU, a plurality of interface circuits are required according to the number of CPUs, which leads to an increase in the cost of the device.

【0004】本発明の目的は、複数のCPUに対するプ
ログラムやデータの書き換えが行える電子制御装置を安
価に提供することにある。
An object of the present invention is to provide at low cost an electronic control device capable of rewriting programs and data for a plurality of CPUs.

【0005】[0005]

【課題を解決するための手段】(1)請求項1に記載の
発明による電子制御装置は、少なくとも第1の実行プロ
グラムを記憶する第1の不揮発性記憶回路と第1の揮発
性記憶回路とを有し、第1の実行プログラムを実行する
第1の演算回路と、少なくとも第2の実行プログラムを
記憶する第2の不揮発性記憶回路と第2の揮発性記憶回
路とを有し、第2の実行プログラムを実行する第2の演
算回路と、第1の演算回路と第2の演算回路との間で通
信を行う通信経路と、第1の演算回路と外部機器との間
で通信を行うインターフェイス回路と、インターフェイ
ス回路を介して第2の演算回路で使用するデータおよび
/または実行プログラムを、第1の演算回路を経由して
第2の演算回路へ転送して格納する制御回路とを備える
ことにより、上述した目的を達成する。 (2)請求項2に記載の発明は、請求項1に記載の電子
制御装置において、制御回路は、書込みモード起動時、
(1)外部機器からインターフェイス回路を介して送信さ
れる書込みプログラムを第1の揮発性記憶回路に記憶
し、(2)第1の揮発性記憶回路に記憶された書込みプロ
グラムを第1の演算回路で実行して外部機器からインタ
ーフェイス回路を介して送信される第1の演算回路用デ
ータおよび第2の演算回路用データを第1の不揮発性記
憶回路にそれぞれ記憶し、通常モード起動時、(1)第1
の実行プログラムを第1の演算回路で実行して第1の不
揮発性記憶回路に記憶された第2の演算回路用データを
通信経路を介して第2の揮発性記憶回路に記憶し、(2)
第1の不揮発性記憶回路に記憶された第1の演算回路用
データを第1の演算回路で使用し、(3)第2の実行プロ
グラムを第2の演算回路で実行し、(4)第2の揮発性記
憶回路に記憶された第2の演算回路用データを第2の演
算回路で使用するように第1の演算回路および第2の演
算回路を制御することを特徴とする。 (3)請求項3に記載の発明は、請求項1に記載の電子
制御装置において、制御回路は、書込みモード起動時、
(1)外部機器からインターフェイス回路を介して送信さ
れる第1の書込みプログラムを第1の揮発性記憶回路に
記憶し、(2)第1の揮発性記憶回路に記憶された第1の
書込みプログラムを第1の演算回路で実行して外部機器
からインターフェイス回路を介して送信される第1の実
行プログラム、第1の演算回路用データ、第2の実行プ
ログラム、第2の演算回路用データ、および第2の書込
みプログラムを第1の不揮発性記憶回路にそれぞれ記憶
し、(3)第1の不揮発性記憶回路に記憶された第2の書
込みプログラムを通信経路を介して第2の揮発性記憶回
路に記憶し、(4)第2の揮発性記憶回路に記憶された第
2の書込みプログラムを第2の演算回路で実行して第1
の不揮発性記憶回路に記憶された第2の実行プログラム
および第2の演算回路用データを通信経路を介して第2
の不揮発性記憶回路にそれぞれ記憶し、通常モード起動
時、(1)第1の不揮発性記憶回路に記憶された第1の実
行プログラムを第1の演算回路で実行し、(2)第1の不
揮発性記憶回路に記憶された第1の演算回路用データを
第1の演算回路で使用し、(3)第2の不揮発性記憶回路
に記憶された第2の実行プログラムを第2の演算回路で
実行し、(4)第2の不揮発性記憶回路に記憶された第2
の演算回路用データを第2の演算回路で使用するように
第1の演算回路および第2の演算回路を制御することを
特徴とする。 (4)請求項4に記載の発明は、請求項1に記載の電子
制御装置において、制御回路は、書込みモード起動時、
(1)外部機器からインターフェイス回路を介して送信さ
れる第1の書込みプログラムを第1の揮発性記憶回路に
記憶し、(2)第1の揮発性記憶回路に記憶された第1の
書込みプログラムを第1の演算回路で実行して外部機器
からインターフェイス回路を介して送信される第1の実
行プログラム、第1の演算回路用データを第1の不揮発
性記憶回路にそれぞれ記憶し、(3)外部機器からインタ
ーフェイス回路を介して送信される第2の書込みプログ
ラムを通信経路を介して第2の揮発性記憶回路に記憶
し、(4)第2の揮発性記憶回路に記憶された第2の書込
みプログラムを第2の演算回路で実行して外部機器から
インターフェイス回路を介して送信される第2の実行プ
ログラムおよび第2の演算回路用データを通信経路を介
して第2の不揮発性記憶回路にそれぞれ記憶し、通常モ
ード起動時、(1)第1の不揮発性記憶回路に記憶された
第1の実行プログラムを第1の演算回路で実行し、(2)
第1の不揮発性記憶回路に記憶された第1の演算回路用
データを第1の演算回路で使用し、(3)第2の不揮発性
記憶回路に記憶された第2の実行プログラムを第2の演
算回路で実行し、(4)第2の不揮発性記憶回路に記憶さ
れた第2の演算回路用データを第2の演算回路で使用す
るように第1の演算回路および第2の演算回路を制御す
ることを特徴とする。
(1) An electronic control device according to a first aspect of the present invention includes a first non-volatile memory circuit for storing at least a first execution program and a first volatile memory circuit. A first arithmetic circuit that executes the first execution program, a second non-volatile memory circuit that stores at least the second execution program, and a second volatile memory circuit. A second arithmetic circuit that executes the execution program, a communication path that communicates between the first arithmetic circuit and the second arithmetic circuit, and communication between the first arithmetic circuit and an external device. An interface circuit and a control circuit for transferring data and / or an execution program used in the second arithmetic circuit via the interface circuit to the second arithmetic circuit via the first arithmetic circuit and storing the data and / or the execution program By the above To achieve the purpose. (2) The invention according to claim 2 is the electronic control device according to claim 1, wherein the control circuit is
(1) A writing program transmitted from an external device via an interface circuit is stored in a first volatile memory circuit, and (2) a writing program stored in the first volatile memory circuit is a first arithmetic circuit. The first arithmetic circuit data and the second arithmetic circuit data transmitted from the external device through the interface circuit are stored in the first non-volatile memory circuit, respectively. ) First
The execution program of is executed by the first arithmetic circuit, the second arithmetic circuit data stored in the first nonvolatile memory circuit is stored in the second volatile memory circuit via the communication path, and (2 )
The first arithmetic circuit data stored in the first non-volatile memory circuit is used in the first arithmetic circuit, (3) the second execution program is executed in the second arithmetic circuit, and (4) It is characterized in that the first arithmetic circuit and the second arithmetic circuit are controlled so that the second arithmetic circuit data stored in the second volatile memory circuit is used in the second arithmetic circuit. (3) The invention according to claim 3 is the electronic control device according to claim 1, wherein the control circuit is
(1) A first writing program stored in the first volatile memory circuit, which is transmitted from an external device through the interface circuit, and (2) A first writing program stored in the first volatile memory circuit. Is executed by the first arithmetic circuit and transmitted from the external device through the interface circuit, the first arithmetic circuit data, the second arithmetic program, the second arithmetic circuit data, and The second write program is stored in the first non-volatile storage circuit, respectively, and (3) the second write program stored in the first non-volatile storage circuit is transferred to the second volatile storage circuit via a communication path. And (4) the second write program stored in the second volatile storage circuit is executed by the second arithmetic circuit to execute the first
The second execution program and the second arithmetic circuit data stored in the nonvolatile storage circuit of the second storage device via the communication path.
In the non-volatile memory circuit, and when the normal mode is started, (1) the first execution program stored in the first non-volatile memory circuit is executed by the first arithmetic circuit, and (2) the first arithmetic circuit. The first arithmetic circuit data stored in the non-volatile memory circuit is used in the first arithmetic circuit, and (3) the second execution program stored in the second non-volatile memory circuit is used as the second arithmetic circuit. (4) The second non-volatile memory circuit stored in the second non-volatile memory circuit.
The first arithmetic circuit and the second arithmetic circuit are controlled so that the arithmetic circuit data of (1) is used in the second arithmetic circuit. (4) The invention according to claim 4 is the electronic control device according to claim 1, wherein the control circuit is
(1) A first writing program stored in the first volatile memory circuit, which is transmitted from an external device through the interface circuit, and (2) A first writing program stored in the first volatile memory circuit. Is stored in the first non-volatile memory circuit, and the first execution program and the first arithmetic circuit data transmitted from the external device through the interface circuit are stored in the first non-volatile memory circuit. The second writing program transmitted from the external device via the interface circuit is stored in the second volatile memory circuit via the communication path, and (4) the second volatile memory circuit is stored in the second volatile memory circuit. A second non-volatile memory circuit that executes the write program by the second arithmetic circuit and transmits the second execution program and the second arithmetic circuit data transmitted from the external device through the interface circuit through the communication path. Each stored, the normal mode startup, (1) a first executable program stored in the first non-volatile storage circuit is performed in the first arithmetic circuit, (2)
The first arithmetic circuit data stored in the first nonvolatile memory circuit is used in the first arithmetic circuit, and (3) the second execution program stored in the second nonvolatile memory circuit is used as the second execution program. (4) The first arithmetic circuit and the second arithmetic circuit so that the second arithmetic circuit data stored in the second non-volatile memory circuit is used in the second arithmetic circuit. It is characterized by controlling.

【0006】[0006]

【発明の効果】本発明によれば、次のような効果を奏す
る。 (1)請求項1に記載の発明では、第1の演算回路およ
び第2の演算回路を備える電子制御装置において、外部
機器からインターフェイス回路を介して送信されるデー
タおよび/または実行プログラムを第1の演算回路を経
由して第2の演算回路へ転送/格納するようにした。こ
の結果、第2の演算回路にも外部機器と通信するインタ
ーフェイス回路を設ける場合に比べて、安価な構成でデ
ータやプログラムを書き換えることができる。 (2)請求項2に記載の発明では、書込みモード起動時
に外部機器からインターフェイス回路を介して送信され
る第1の演算回路用データおよび第2の演算回路用デー
タを第1の演算回路の第1の不揮発性記憶回路に記憶
し、通常モード起動時に第2の演算回路用データを通信
経路を介して第2の演算回路の第2の揮発性記憶回路に
記憶させるようにした。この結果、安価な構成で演算回
路用データを書き換えることができる。 (3)請求項3に記載の発明では、書込みモード起動時
に外部機器からインターフェイス回路を介して送信され
る第1の演算回路用の第1の実行プログラムおよびデー
タ、ならびに第2の演算回路用の第2の実行プログラム
およびデータをそれぞれ第1の演算回路の第1の不揮発
性記憶回路に記憶し、第2の演算回路用の第2の実行プ
ログラムおよびデータを通信経路を介して第2の演算回
路の第2の不揮発性記憶回路に記憶させるようにした。
この結果、安価な構成で演算回路用実行プログラムおよ
びデータを書き換えることができる。 (4)請求項4に記載の発明では、書込みモード起動時
に外部機器からインターフェイス回路を介して送信され
る第1の演算回路用の第1の実行プログラムおよびデー
タをそれぞれ第1の演算回路の第1の不揮発性記憶回路
に記憶し、外部機器からインターフェイス回路を介して
送信される第2の演算回路用の第2の実行プログラムお
よびデータをそれぞれ通信経路を介して第2の演算回路
の第2の不揮発性記憶回路に記憶させるようにした。こ
の結果、安価な構成で演算回路用実行プログラムおよび
データを書き換えることができる上に、第2の実行プロ
グラムおよびデータを第1の不揮発性記憶回路に記憶さ
せる場合に比べて、記憶回路の使用容量を少なく抑える
ことができる。
The present invention has the following effects. (1) According to the first aspect of the invention, in the electronic control device including the first arithmetic circuit and the second arithmetic circuit, the data and / or the execution program transmitted from the external device via the interface circuit can be the first. The data is transferred to / stored in the second arithmetic circuit via the arithmetic circuit. As a result, it is possible to rewrite the data and the program with an inexpensive structure as compared with the case where the second arithmetic circuit is also provided with the interface circuit for communicating with the external device. (2) In the invention according to claim 2, the first arithmetic circuit data and the second arithmetic circuit data transmitted from the external device via the interface circuit at the time of starting the write mode are stored in the first arithmetic circuit. In the first non-volatile memory circuit, the second arithmetic circuit data is stored in the second volatile memory circuit of the second arithmetic circuit via the communication path at the time of starting the normal mode. As a result, the arithmetic circuit data can be rewritten with an inexpensive structure. (3) In the invention according to claim 3, the first execution program and data for the first arithmetic circuit transmitted from the external device through the interface circuit at the time of starting the write mode, and the second arithmetic circuit for the second arithmetic circuit. The second execution program and the data are respectively stored in the first nonvolatile memory circuit of the first operation circuit, and the second execution program and the data for the second operation circuit are subjected to the second operation via the communication path. The data is stored in the second non-volatile memory circuit of the circuit.
As a result, the arithmetic circuit execution program and data can be rewritten with an inexpensive configuration. (4) In the invention according to claim 4, the first execution program and data for the first arithmetic circuit transmitted from the external device via the interface circuit at the time of starting the write mode are respectively stored in the first arithmetic circuit of the first arithmetic circuit. The second execution program and the data for the second arithmetic circuit, which are stored in the first non-volatile memory circuit and are transmitted from the external device through the interface circuit, are respectively transmitted through the communication path to the second arithmetic circuit of the second arithmetic circuit. The non-volatile memory circuit is stored. As a result, the operating circuit execution program and data can be rewritten with an inexpensive configuration, and the used capacity of the storage circuit can be increased as compared with the case where the second execution program and data are stored in the first nonvolatile storage circuit. Can be kept low.

【0007】[0007]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を説明する。 (第一の実施の形態)図1は、本発明の第一の実施の形
態による電子制御装置の構成を示す図である。図1にお
いて、電子制御装置(ECU)100は、第1のCPU
103と、第二のCPU109と、書き換えインターフ
ェイス102とを有する。電子制御装置100は、セン
サ105から入力される信号に基づいてモータ101に
対する駆動制御を行う。CPU103はメインCPUで
あり、通常、CPU103がモータ101に対する駆動
信号を出力する。CPU103は起動されると、CPU
103自身の初期化処理を行い、初期化処理が終了する
とCPU109に向けてWD(watch dog)信号106
の送信を開始する。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described below with reference to the drawings. (First Embodiment) FIG. 1 is a diagram showing a configuration of an electronic control unit according to a first embodiment of the present invention. In FIG. 1, an electronic control unit (ECU) 100 is a first CPU.
It has 103, the 2nd CPU109, and the rewriting interface 102. The electronic control unit 100 controls the drive of the motor 101 based on the signal input from the sensor 105. The CPU 103 is a main CPU, and normally the CPU 103 outputs a drive signal for the motor 101. When the CPU 103 is activated, the CPU
103 performs initialization processing of itself, and when the initialization processing ends, a WD (watch dog) signal 106 is sent to the CPU 109.
To start sending.

【0008】CPU109はサブCPUであり、CPU
103から送信されるWD信号106を監視する。CP
U103に異常が発生すると、CPU103によるWD
信号106の送信が停止する。CPU109は、WD信
号106が受信されなくなってからの経過時間が、たと
えば、200msecを超える場合にCPU103に向け
てリセット出力107を送信する。これにより、CPU
103がリセットされて再起動する。
The CPU 109 is a sub CPU,
The WD signal 106 transmitted from 103 is monitored. CP
When an abnormality occurs in U103, WD by CPU103
The transmission of signal 106 stops. The CPU 109 transmits the reset output 107 toward the CPU 103 when the elapsed time after the WD signal 106 is no longer received exceeds, for example, 200 msec. This allows the CPU
103 is reset and restarted.

【0009】CPU103は、センサ105から入力さ
れる検出信号xを用いてモータ101に対する駆動信号
yを次式(1)によって演算する。
The CPU 103 uses the detection signal x input from the sensor 105 to calculate the drive signal y for the motor 101 by the following equation (1).

【数1】 y=Ax+B (1) ただし、A,Bはそれぞれ定数である。[Equation 1] y = Ax + B (1) However, A and B are constants.

【0010】センサ105からの入力信号xは、CPU
109にも入力される。CPU109は、CPU103
と同じ演算を上式(1)により行い、演算結果を通信線
108を介してCPU103へ送信する。CPU103
は、CPU103自身で演算した結果(y1とする)と
CPU109から送信された演算結果(y2とする)と
を比較し、両者が一致した場合にのみ駆動信号yをモー
タ101へ出力する。CPU103は、CPU103自
身およびCPU109による演算結果が一致しない場
合、駆動信号yをモータ101へ出力しない。これによ
り、モータ101に対する駆動制御が停止される。
The input signal x from the sensor 105 is the CPU
It is also input to 109. The CPU 109 is the CPU 103
The same calculation as the above is performed by the above equation (1), and the calculation result is transmitted to the CPU 103 via the communication line 108. CPU103
Compares the calculation result of the CPU 103 itself (denoted as y1) with the calculation result transmitted from the CPU 109 (denoted as y2), and outputs the drive signal y to the motor 101 only when both match. The CPU 103 does not output the drive signal y to the motor 101 when the calculation results by the CPU 103 itself and the CPU 109 do not match. As a result, the drive control for the motor 101 is stopped.

【0011】CPU103はその内部に、不揮発性メモ
リ104とRAM120とを有する。不揮発性メモリ1
04は、たとえば、フラッシュメモリで構成される。不
揮発性メモリ104には、CPU103で実行されるア
プリケーションプログラムと、CPU103での演算に
使用される上記A、Bを含むCPU103用定数データ
と、CPU109での演算に使用される上記A、Bを含
むCPU109用定数データとが格納される。RAM1
20は、CPU103による作業領域として使用される
他、後述する書込み制御プログラムが格納される。
The CPU 103 has a non-volatile memory 104 and a RAM 120 inside. Non-volatile memory 1
04 is constituted by a flash memory, for example. The non-volatile memory 104 includes an application program executed by the CPU 103, constant data for the CPU 103 including the above A and B used for the calculation by the CPU 103, and the above A and B used for the calculation by the CPU 109. The constant data for the CPU 109 is stored. RAM1
20 is used as a work area by the CPU 103, and also stores a write control program described later.

【0012】不揮発性メモリ104に対するプログラム
やデータの書き込みは、書き換えインターフェイス10
2に書き換えホストコンピュータ500を接続して行
う。たとえば、不揮発性メモリ104内に格納されてい
るCPU103用の定数データとCPU109用の定数
データとを書き換える場合を例にあげて説明する。書き
換えホストコンピュータ500に書込み制御プログラ
ム、CPU103用の定数データおよびCPU109用
の定数データをそれぞれセットした状態で、書き換えホ
ストコンピュータ500に書き換え命令を入力すると、
書き換えホストコンピュータ500は、書き換え開始信
号を書き換えインターフェイス102を介してCPU1
03へ送信する。
Writing of programs and data to the non-volatile memory 104 is performed by the rewriting interface 10.
2 is performed by connecting the rewriting host computer 500. For example, a case where the constant data for the CPU 103 and the constant data for the CPU 109 stored in the nonvolatile memory 104 are rewritten will be described as an example. When a rewrite command is input to the rewrite host computer 500 with the write control program, the constant data for the CPU 103, and the constant data for the CPU 109 set in the rewrite host computer 500,
The rewrite host computer 500 sends a rewrite start signal to the CPU 1 via the rewrite interface 102.
Send to 03.

【0013】CPU103は、書き換え開始信号を受け
ると書き換えモードに切り替わる。書き換えホストコン
ピュータ500が書込み制御プログラムを書き換えイン
ターフェイス102を介してCPU103へ送信する
と、CPU103は、このプログラムを受信してRAM
120に格納する。CPU103がRAM120内に転
送された書込み制御プログラムを実行することにより、
CPU103用の定数データとCPU109用の定数デ
ータとが書き換えホストコンピュータ500からCPU
103へ書き換えインターフェイス102を介して転送
される。CPU103は、転送されたCPU103用の
定数データとCPU109用の定数データとを不揮発性
メモリ104内にそれぞれ上書き(データ更新)する。
CPU103およびCPU109は、書き換えモードを
終了して通常モードへ戻る。
When the CPU 103 receives the rewrite start signal, it switches to the rewrite mode. When the rewriting host computer 500 transmits the writing control program to the CPU 103 via the rewriting interface 102, the CPU 103 receives this program and the RAM 103
It is stored in 120. By the CPU 103 executing the write control program transferred to the RAM 120,
The constant data for the CPU 103 and the constant data for the CPU 109 are rewritten from the host computer 500 to the CPU.
It is transferred to 103 via the rewriting interface 102. The CPU 103 overwrites (updates data) the transferred constant data for the CPU 103 and the transferred constant data for the CPU 109 in the nonvolatile memory 104, respectively.
The CPU 103 and the CPU 109 end the rewrite mode and return to the normal mode.

【0014】CPU109はその内部に、RAM110
と不揮発性メモリ111とを有する。不揮発性メモリ1
11には、CPU109で実行されるアプリケーション
プログラムが格納される。RAM110は、CPU10
9による作業領域として使用される他、CPU109で
の演算などに使用される上記A、Bを含むCPU109
用定数データが格納される。第一の実施の形態では、C
PU109用定数データが電源オフ時にCPU109内
で保存されない。
The CPU 109 has a RAM 110 inside.
And a non-volatile memory 111. Non-volatile memory 1
An application program executed by the CPU 109 is stored in 11. The RAM 110 is the CPU 10
CPU 109 including the above-mentioned A and B which is used as a work area by CPU 9 and is also used for calculation in CPU 109
Stores constant data for use. In the first embodiment, C
The PU 109 constant data is not saved in the CPU 109 when the power is turned off.

【0015】RAM110に対するデータの書き込み
は、電子制御装置100の通常モード起動時に毎回行わ
れる。CPU103は、起動時の初期化処理が終了する
と、WD信号106の送信開始に先立ってCPU109
用の定数データを通信線108を介してCPU109へ
送信する。CPU109は、入力されたCPU109用
の定数データをRAM110に格納する。
The writing of data to the RAM 110 is performed every time the electronic control unit 100 is activated in the normal mode. When the initialization process at startup is completed, the CPU 103 sends the CPU 109 before starting the transmission of the WD signal 106.
Constant data for transmission to the CPU 109 via the communication line 108. The CPU 109 stores the input constant data for the CPU 109 in the RAM 110.

【0016】CPU109用の定数データには、CPU
103によるCPU103自身の初期化処理に要する時
間を示すデータCも含まれる。また、CPU109がW
D信号106を監視してリセット出力107を送信する
までの経過時間(上述した例では200msec)を示す
データも含まれる。
The constant data for the CPU 109 includes the CPU
Data C indicating the time required for the initialization processing of the CPU 103 itself by the 103 is also included. Also, the CPU 109
It also includes data indicating the elapsed time (200 msec in the above example) until the D signal 106 is monitored and the reset output 107 is transmitted.

【0017】以上の電子制御装置100の双方のCPU
103およびCPU109で通常モード時に実行される
プログラムによる処理の流れを、図2、図3のフローチ
ャートを参照して説明する。図2は、CPU103で行
われる処理を示すフローチャートである。図2のステッ
プS2101において、CPU103は、初期化処理1
を行ってステップS2102へ進む。ステップS210
2において、CPU103は定数データ(A、Bおよび
C)を、それぞれCPU109へ送信してステップS2
103へ進む。ステップS2103において、CPU1
03は、初期化処理2を行ってステップS2104へ進
む。
Both CPUs of the electronic control unit 100 described above
The flow of processing by the program executed in 103 and the CPU 109 in the normal mode will be described with reference to the flowcharts of FIGS. 2 and 3. FIG. 2 is a flowchart showing the processing performed by the CPU 103. In step S2101 of FIG. 2, the CPU 103 executes the initialization process 1
And go to step S2102. Step S210
2, the CPU 103 transmits constant data (A, B, and C) to the CPU 109, respectively, and the step S2
Go to 103. In step S2103, the CPU1
03 performs the initialization process 2, and progresses to step S2104.

【0018】ステップS2104において、CPU10
3は、センサ105からの信号xを入力してステップS
2105へ進む。ステップS2105において、CPU
103は、上式(1)により駆動信号y1を演算してス
テップS2106へ進む。ステップS2106におい
て、CPU103は、CPU109からの駆動信号y2
を受信してステップS2107へ進む。ステップS21
07において、CPU103は、y1=y2が成立する
か否かを判定する。CPU103は、y1=y2が成立
する場合にステップS2107を肯定判定してステップ
S2108へ進み、y1=y2が成立しない場合にステ
ップS2107を否定判定してステップS2109へ進
む。
In step S2104, the CPU 10
3 inputs the signal x from the sensor 105 and performs step S
Proceed to 2105. In step S2105, the CPU
The 103 calculates the drive signal y1 by the above equation (1), and proceeds to step S2106. In step S2106, the CPU 103 causes the drive signal y2 from the CPU 109.
Is received and the process proceeds to step S2107. Step S21
At 07, the CPU 103 determines whether or not y1 = y2 holds. The CPU 103 makes an affirmative decision in step S2107 if y1 = y2 is true to proceed to step S2108, and makes a negative decision in step S2107 if y1 = y2 is not true to proceed to step S2109.

【0019】ステップS2108において、CPU10
3は、駆動信号y(=y1)をモータ101へ出力して
ステップS2104へ戻る。一方、CPU103は、駆
動信号yの出力を停止してステップS2104へ戻る。
In step S2108, the CPU 10
3 outputs the drive signal y (= y1) to the motor 101 and returns to step S2104. On the other hand, the CPU 103 stops the output of the drive signal y and returns to step S2104.

【0020】図3は、CPU109で行われる処理を示
すフローチャートである。図3のステップS2201に
おいて、CPU109は、初期化待ちタイマの計時を開
始してステップS2202へ進む。ステップS2202
において、CPU109は、定数データ(A、Bおよび
C)をCPU103からそれぞれ受信してステップS2
203へ進む。ステップS2203において、CPU1
09は、初期化待ちタイマによる計時がデータCに対応
する時間を経過したか否かを判定する。CPU109
は、タイマによる計時がデータCによる時間を経過した
場合にステップS2203を肯定判定してステップS2
204へ進み、タイマによる計時がデータCによる時間
に満たない場合に判定処理を繰り返す。
FIG. 3 is a flowchart showing the processing performed by the CPU 109. In step S2201 of FIG. 3, the CPU 109 starts counting the time of the initialization waiting timer, and proceeds to step S2202. Step S2202
In step S2, the CPU 109 receives constant data (A, B, and C) from the CPU 103, respectively.
Go to 203. In step S2203, CPU1
At 09, it is determined whether or not the time measured by the initialization waiting timer has passed the time corresponding to the data C. CPU109
Is affirmatively determined in step S2203 when the time measured by the timer has passed the time in the data C, the step S2
In step 204, the determination process is repeated when the time measured by the timer is less than the time measured by the data C.

【0021】ステップS2204において、CPU10
9は、WD信号106を待つタイマの計時を開始してス
テップS2205へ進む。ステップS2205におい
て、CPU109は、WD信号106をCPU103か
ら受信したか否かを判定する。CPU109は、WD信
号106を受信した場合にステップS2205を肯定判
定してステップS2206へ進み、WD信号106が受
信されない場合にステップS2205を否定判定してス
テップS2207へ進む。
In step S2204, the CPU 10
9 starts the counting of the timer waiting for the WD signal 106, and proceeds to step S2205. In step S2205, the CPU 109 determines whether or not the WD signal 106 has been received from the CPU 103. When the WD signal 106 is received, the CPU 109 makes an affirmative decision in step S2205 to proceed to step S2206, and when the WD signal 106 is not received makes a negative decision in step S2205 and proceeds to step S2207.

【0022】ステップS2206において、CPU10
9は、WD信号106を待つタイマの計時をリセットし
てステップS2207へ進む。ステップS2207にお
いて、CPU109は、WD信号106を待つタイマに
よる計時が200msecを経過したか否かを判定する。
CPU109は、タイマによる計時が200msecを経
過した場合にステップS2207を肯定判定してステッ
プS2211へ進み、タイマによる計時が200msec
に満たない場合にステップS2207を否定判定してス
テップS2208へ進む。ステップS2211におい
て、CPU109は、リセット出力107をCPU10
3に送信してステップS2201へ戻る。
In step S2206, the CPU 10
9 resets the clocking of the timer waiting for the WD signal 106 and proceeds to step S2207. In step S2207, the CPU 109 determines whether or not the time measured by the timer waiting for the WD signal 106 has passed 200 msec.
When the timer counts 200 msec, the CPU 109 makes an affirmative decision in step S2207 and advances to step S2211, where the timer counts 200 msec.
If not, step S2207 is denied and the process proceeds to step S2208. In step S2211, the CPU 109 outputs the reset output 107 to the CPU 10.
3 and returns to step S2201.

【0023】ステップS2208において、CPU10
9は、センサ105からの信号xを入力してステップS
2209へ進む。ステップS2209において、CPU
109は、上式(1)により駆動信号y2を演算してス
テップS2210へ進む。ステップS2210におい
て、CPU109は、駆動信号y2をCPU103へ送
信してステップS2205へ戻る。
In step S2208, the CPU 10
9 inputs the signal x from the sensor 105 to perform step S
Proceed to 2209. In step S2209, the CPU
109 calculates the drive signal y2 by the above equation (1), and proceeds to step S2210. In step S2210, CPU 109 transmits drive signal y2 to CPU 103 and returns to step S2205.

【0024】以上説明した第一の実施の形態によれば、
次の作用効果が得られる。 (1)メインCPU103のRAM120内に、書き換
えホストコンピュータ500から書き換えインターフェ
イス102を介してメインCPU103用書込み制御プ
ログラムを格納し、この書込み制御プログラムをメイン
CPU103に実行させる。書込み制御プログラムの実
行により、メインCPU103の不揮発性メモリ104
に格納されているサブCPU109の定数データが通信
線108を介してサブCPU109へ転送され、RAM
110内に書き込まれる。これにより、書き換えインタ
ーフェイスを備えていないサブCPU109での演算に
用いられるサブCPU109用定数データのデータ書き
換えが可能になる。 (2)サブCPU109用定数データをサブCPU10
9内のRAM110に格納するようにしたので、サブC
PU109内に定数データ用の不揮発性メモリを不要に
できる。また、書き換えインターフェイス102が1つ
あればメインCPU103およびサブCPU109の両
方の定数データを書き換えられるので、装置を安価に構
成できる。さらに、メインCPU103用定数データと
サブCPU109用定数データとを複数の書き換えイン
ターフェイスを用いてそれぞれ書き換える場合に比べ
て、書き換えに要する手間や時間も低減できる。 (3)定数A、Bと同様に、サブCPU109の待ち時
間Cを示すデータについても、メインCPU103の不
揮発性メモリ104内に書き込むとRAM110に転送
して待ち時間Cのデータを更新するようにした。この結
果、メインCPU103の初期化時間を変更する場合で
も、変更後の初期化時間に合わせてサブCPU109の
待ち時間Cを容易に変更できる。
According to the first embodiment described above,
The following effects can be obtained. (1) The write control program for the main CPU 103 is stored in the RAM 120 of the main CPU 103 from the rewrite host computer 500 via the rewrite interface 102, and the main CPU 103 is caused to execute this write control program. By executing the write control program, the non-volatile memory 104 of the main CPU 103
The constant data of the sub CPU 109 stored in the sub CPU 109 is transferred to the sub CPU 109 via the communication line 108 and stored in the RAM.
Written in 110. As a result, it becomes possible to rewrite the constant data for the sub CPU 109 used for the calculation in the sub CPU 109 not having the rewriting interface. (2) Sub CPU10 constant data for the sub CPU109
Since the data is stored in the RAM 110 in 9, the sub C
A non-volatile memory for constant data can be eliminated in the PU 109. Further, since there is only one rewriting interface 102, the constant data of both the main CPU 103 and the sub CPU 109 can be rewritten, so that the device can be constructed at low cost. Further, compared with the case where the constant data for the main CPU 103 and the constant data for the sub CPU 109 are respectively rewritten using a plurality of rewriting interfaces, the labor and time required for rewriting can be reduced. (3) Similar to the constants A and B, the data indicating the waiting time C of the sub CPU 109 is also written in the nonvolatile memory 104 of the main CPU 103, transferred to the RAM 110, and the data of the waiting time C is updated. . As a result, even when the initialization time of the main CPU 103 is changed, the waiting time C of the sub CPU 109 can be easily changed according to the changed initialization time.

【0025】上述した説明では、不揮発性メモリ104
内に格納されているCPU103用の定数データとCP
U109用の定数データとを書き換える場合を例に説明
した。CPU103で実行されるアプリケーションプロ
グラムも同様に書き換えを行うことができる。この場合
には、書き換えホストコンピュータ500に書込み制御
プログラム、CPU103用のアプリケーションプログ
ラムをセットした状態で、書き換えホストコンピュータ
500に書き換え命令を入力すればよい。書き換えホス
トコンピュータ500は、書き換え命令が入力されると
書き換え開始信号を書き換えインターフェイス102を
介してCPU103へ送信する。
In the above description, the nonvolatile memory 104
Constant data and CP for CPU103 stored in
The case where the constant data for U109 is rewritten has been described as an example. Similarly, the application program executed by the CPU 103 can be rewritten. In this case, the rewrite command may be input to the rewrite host computer 500 with the write control program and the application program for the CPU 103 set in the rewrite host computer 500. When the rewrite command is input, the rewrite host computer 500 transmits a rewrite start signal to the CPU 103 via the rewrite interface 102.

【0026】メインCPU103は、書き換え開始信号
を受信すると書き換えモードに切り替わり、書き換えホ
ストコンピュータ500から送信される書込み制御プロ
グラムを受信してRAM120に格納する。CPU10
3は、RAM120内に転送された書込み制御プログラ
ムを実行し、CPU103用のアプリケーションプログ
ラムを書き換えホストコンピュータ500から受信す
る。CPU103は、受信したアプリケーションプログ
ラムを不揮発性メモリ104内に上書き(プログラムデ
ータ更新)する。
Upon receiving the rewrite start signal, the main CPU 103 switches to the rewrite mode, receives the write control program transmitted from the rewrite host computer 500, and stores it in the RAM 120. CPU10
3 executes the write control program transferred into the RAM 120 and rewrites the application program for the CPU 103 and receives it from the host computer 500. The CPU 103 overwrites the received application program in the nonvolatile memory 104 (updates the program data).

【0027】(第二の実施の形態)第二の実施の形態
は、メインCPU内の不揮発性メモリにサブCPUのア
プリケーションプログラムを一旦格納し、サブCPUに
対するアプリケーションプログラムの書き換えも行う。
図4は、本発明の第二の実施の形態による電子制御装置
の構成を示す図である。図4において、電子制御装置
(ECU)300は、CPU303と、CPU108
と、書き換えインターフェイス302とを有する。電子
制御装置300は、第一の実施の形態と同様に、不図示
のセンサから入力される信号に基づいて不図示のモータ
に対する駆動制御を行う。CPU303はメインCPU
であり、通常、CPU303がモータに対する駆動信号
を出力する。
(Second Embodiment) In the second embodiment, the application program of the sub CPU is once stored in the non-volatile memory in the main CPU, and the application program for the sub CPU is also rewritten.
FIG. 4 is a diagram showing the configuration of the electronic control device according to the second embodiment of the present invention. In FIG. 4, an electronic control unit (ECU) 300 includes a CPU 303 and a CPU 108.
And a rewrite interface 302. Similar to the first embodiment, the electronic control unit 300 controls the drive of a motor (not shown) based on a signal input from a sensor (not shown). CPU 303 is the main CPU
In general, the CPU 303 outputs a drive signal for the motor.

【0028】CPU303はその内部に、不揮発性メモ
リ304とRAM320とを有する。不揮発性メモリ3
04には、CPU303で実行されるアプリケーション
プログラムと、CPU303での演算に使用される上述
したA、Bを含むCPU303用定数データと、CPU
308用書込み制御プログラムと、CPU308で実行
されるアプリケーションプログラムと、CPU308で
の演算に使用される上述したA、Bを含むCPU308
用定数データとがそれぞれ格納される。RAM320
は、CPU303による作業領域として使用される他、
CPU303用書込み制御プログラムが格納される。
The CPU 303 has a non-volatile memory 304 and a RAM 320 inside. Non-volatile memory 3
Reference numeral 04 denotes an application program executed by the CPU 303, constant data for the CPU 303 including the above-mentioned A and B used for calculation by the CPU 303, and a CPU
A CPU 308 including a write control program for 308, an application program executed by the CPU 308, and the above-described A and B used for calculation in the CPU 308.
And constant data for each are stored. RAM320
Is used as a work area by the CPU 303,
A write control program for the CPU 303 is stored.

【0029】不揮発性メモリ304に対するプログラム
やデータの書き込みは、書き換えインターフェイス30
2に書き換えホストコンピュータ600を接続して行
う。たとえば、不揮発性メモリ304内に格納されてい
るCPU303用のアプリケーションプログラムとCP
U303用定数データ、およびCPU308用のアプリ
ケーションプログラムとCPU308用定数データを書
き換える場合を例にあげて説明する。書き換えホストコ
ンピュータ600にCPU303用のアプリケーション
プログラムと定数データ、CPU308用のアプリケー
ションプログラムと定数データ、CPU303用の書込
み制御プログラム、およびCPU308用の書込み制御
プログラムをそれぞれセットした状態で、書き換えホス
トコンピュータ600に書き換え命令を入力すると、書
き換えホストコンピュータ600は、書き換え開始信号
を書き換えインターフェイス302を介してCPU30
3へ送信する。
Writing of programs and data to the non-volatile memory 304 is performed by the rewriting interface 30.
2 is performed by connecting the rewriting host computer 600. For example, the application program for the CPU 303 and the CP stored in the non-volatile memory 304
An example will be described in which the constant data for U303, the application program for the CPU 308, and the constant data for the CPU 308 are rewritten. Rewrite to the rewrite host computer 600 with the application program and constant data for the CPU 303, the application program and constant data for the CPU 308, the write control program for the CPU 303, and the write control program for the CPU 308 set in the rewrite host computer 600. When a command is input, the rewrite host computer 600 sends a rewrite start signal to the CPU 30 via the rewrite interface 302.
Send to 3.

【0030】CPU303は、書き換え開始信号を受け
ると書き換えモードに切り替わる。書き換えホストコン
ピュータ600がCPU303用書込み制御プログラム
を書き換えインターフェイス302を介してCPU30
3へ送信すると、CPU303は、このプログラムを受
信してRAM320に格納する。CPU303がRAM
320内に転送されたCPU303用書込み制御プログ
ラムを実行することにより、CPU303用のアプリケ
ーションプログラムと定数データ、CPU308用のア
プリケーションプログラムと定数データ、およびCPU
308用の書込み制御プログラムが、書き換えホストコ
ンピュータ600から書き換えインターフェイス302
を介してCPU303へそれぞれ転送される。CPU3
03は、転送されたCPU303用のアプリケーション
プログラムと定数データ、CPU308用のアプリケー
ションプログラムと定数データ、ならびにCPU308
用の書込み制御プログラムを、それぞれ不揮発性メモリ
304内に上書き(データ更新)する。
Upon receiving the rewriting start signal, the CPU 303 switches to the rewriting mode. The rewrite host computer 600 writes the write control program for the CPU 303 to the CPU 30 via the rewrite interface 302.
3, the CPU 303 receives this program and stores it in the RAM 320. CPU303 is RAM
By executing the CPU 303 write control program transferred into 320, the application program and constant data for the CPU 303, the application program and constant data for the CPU 308, and the CPU
The write control program for 308 is transferred from the rewrite host computer 600 to the rewrite interface 302.
Are respectively transferred to the CPU 303 via. CPU3
Reference numeral 03 denotes the transferred application program and constant data for the CPU 303, the application program and constant data for the CPU 308, and the CPU 308.
The write control program for each is overwritten in the nonvolatile memory 304 (data update).

【0031】CPU308はその内部に、RAM309
と不揮発性メモリ310とを有する。不揮発性メモリ3
10には、CPU308で実行されるアプリケーション
プログラムと、CPU308が演算で使用するCPU3
08用定数データとが格納される。RAM309は、C
PU308による作業領域として使用される他、CPU
308用書込み制御プログラムが格納される。
The CPU 308 internally has a RAM 309.
And a non-volatile memory 310. Non-volatile memory 3
Reference numeral 10 denotes an application program executed by the CPU 308 and the CPU 3 used by the CPU 308 for calculation.
08 constant data is stored. RAM309 is C
CPU used in addition to work area by PU308
A write control program for 308 is stored.

【0032】不揮発性メモリ310に対する書き込みは
以下のように行われる。CPU303は、書き換えホス
トコンピュータ600から送信されたCPU308用の
アプリケーションプログラムと定数データ、ならびにC
PU308用書込み制御プログラムを不揮発性メモリ3
04内に書き込むと、書き換え開始信号を通信線307
を介してCPU308へ送信する。
Writing to the non-volatile memory 310 is performed as follows. The CPU 303 is an application program and constant data for the CPU 308 transmitted from the rewriting host computer 600, and C
Write control program for PU308 to non-volatile memory 3
When the data is written in 04, a rewrite start signal is sent to the communication line 307
To the CPU 308 via.

【0033】CPU308は、書き換え開始信号を受け
ると書き換えモードに切り替わる。CPU303が不揮
発性メモリ304内に格納されているCPU308用書
込み制御プログラムを通信線307を介してCPU30
8へ送信すると、CPU308は、このプログラムを受
信してRAM309に格納する。CPU308がRAM
309内に転送されたCPU308用書込み制御プログ
ラムを実行することにより、不揮発性メモリ304内の
CPU308用のアプリケーションプログラムと定数デ
ータとが通信線307を介してCPU308へ転送さ
れ、不揮発性メモリ310内に上書き(データ更新)さ
れる。以上により、CPU303およびCPU308は
書き換えモードを終了して通常モードに戻る。
When the CPU 308 receives the rewriting start signal, it switches to the rewriting mode. The CPU 303 stores the CPU 308 write control program stored in the non-volatile memory 304 via the communication line 307.
8, the CPU 308 receives this program and stores it in the RAM 309. CPU308 is RAM
By executing the CPU 308 write control program transferred to the CPU 309, the application program for the CPU 308 and the constant data in the nonvolatile memory 304 are transferred to the CPU 308 via the communication line 307 and stored in the nonvolatile memory 310. Overwritten (data updated). As described above, the CPU 303 and the CPU 308 end the rewrite mode and return to the normal mode.

【0034】以上説明した第二の実施の形態によれば、
メインCPU303の不揮発性メモリ304内に、書き
換えホストコンピュータ600から書き換えインターフ
ェイス302を介してサブCPU308用書込み制御プ
ログラムを格納し、この書込み制御プログラムを通信線
307を介してサブCPU308のRAM309に転送
し、転送した書込み制御プログラムをサブCPU308
に実行させる。CPU308用書込み制御プログラムの
実行により、書き換えホストコンピュータ600から書
き換えインターフェイス302を介してメインCPU3
03の不揮発性メモリ304に格納されているサブCP
U308のアプリケーションプログラム、サブCPU3
08用の定数データがぞれぞれ通信線307を介してサ
ブCPU308へ転送され、不揮発性メモリ310内に
上書き(データ更新)される。これにより、書き換えイ
ンターフェイスを備えていないサブCPU308内の不
揮発性メモリ310の書き換えが可能になる。
According to the second embodiment described above,
In the non-volatile memory 304 of the main CPU 303, the rewrite host computer 600 stores the write control program for the sub CPU 308 via the rewrite interface 302, and transfers the write control program to the RAM 309 of the sub CPU 308 via the communication line 307. The transferred write control program is stored in the sub CPU 308.
To run. By executing the write control program for the CPU 308, the main CPU 3 from the rewrite host computer 600 via the rewrite interface 302.
03 sub-CP stored in the non-volatile memory 304
U308 application program, sub CPU3
The constant data for 08 is transferred to the sub CPU 308 via the communication line 307, respectively, and is overwritten (updated) in the nonvolatile memory 310. This allows rewriting of the non-volatile memory 310 in the sub CPU 308 that does not have a rewriting interface.

【0035】以上説明した第二の実施の形態によれば、
CPU303内の不揮発性メモリ304内に、サブCP
U308のアプリケーションプログラムや定数データ、
サブCPU308に対する書込み制御プログラムが格納
されたままになるが、これらはサブCPU308への転
送終了後に必要に応じて適宜消去してよい。
According to the second embodiment described above,
The sub CP is stored in the non-volatile memory 304 in the CPU 303.
U308 application program and constant data,
Although the write control program for the sub CPU 308 is still stored, these may be erased as needed after the transfer to the sub CPU 308 is completed.

【0036】(第三の実施の形態)第三の実施の形態
は、メインCPU内の不揮発性メモリに余裕がなく、サ
ブCPU用のアプリケーションプログラムなどを格納す
ることができない場合である。図5は、本発明の第三の
実施の形態による電子制御装置の構成を示す図である。
図5において、電子制御装置(ECU)400は、CP
U403と、CPU408と、書き換えインターフェイ
ス402とを有する。電子制御装置400は、第一の実
施の形態および第二の実施の形態と同様に、不図示のセ
ンサから入力される信号に基づいて不図示のモータに対
する駆動制御を行う。CPU403はメインCPUであ
り、通常、CPU403がモータに対する駆動信号を出
力する。
(Third Embodiment) The third embodiment is a case where the non-volatile memory in the main CPU has no room and cannot store application programs for the sub CPU. FIG. 5 is a diagram showing a configuration of an electronic control device according to a third embodiment of the present invention.
In FIG. 5, the electronic control unit (ECU) 400 is a CP
It has a U403, a CPU 408, and a rewrite interface 402. The electronic control device 400 performs drive control for a motor (not shown) based on a signal input from a sensor (not shown), as in the first and second embodiments. The CPU 403 is a main CPU, and normally the CPU 403 outputs a drive signal for the motor.

【0037】CPU403はその内部に、不揮発性メモ
リ404とRAM420とを有する。不揮発性メモリ4
04には、CPU403で実行されるアプリケーション
プログラムと、CPU403の演算に使用されるCPU
403用定数データとがそれぞれ格納される。RAM4
20は、CPU403による作業領域として使用される
他、CPU403用書込み制御プログラムが格納され
る。
The CPU 403 has a nonvolatile memory 404 and a RAM 420 inside. Non-volatile memory 4
Reference numeral 04 denotes an application program executed by the CPU 403, and a CPU used for calculation by the CPU 403.
The constant data for 403 are stored respectively. RAM4
20 is used as a work area by the CPU 403 and also stores a write control program for the CPU 403.

【0038】不揮発性メモリ404に対するプログラム
やデータの書き込みは、書き換えインターフェイス40
2に書き換えホストコンピュータ700を接続して行
う。たとえば、不揮発性メモリ404内に格納されてい
るCPU403用のアプリケーションプログラムとCP
U403用定数データ、およびCPU408用のアプリ
ケーションプログラムとCPU408用定数データを書
き換える場合を例にあげて説明する。書き換えホストコ
ンピュータ700にCPU403用のアプリケーション
プログラムと定数データ、CPU408用のアプリケー
ションプログラムと定数データ、CPU403用の書込
み制御プログラム、およびCPU408用の書込み制御
プログラムをそれぞれセットした状態で、書き換えホス
トコンピュータ700に書き換え命令を入力すると、書
き換えホストコンピュータ700は、書き換え開始信号
を書き換えインターフェイス402を介してCPU40
3へ送信する。
Writing of programs and data to the non-volatile memory 404 is performed by the rewriting interface 40.
2 is performed by connecting the rewriting host computer 700. For example, the application program for the CPU 403 and the CP stored in the non-volatile memory 404
The case of rewriting the constant data for U403, the application program for the CPU 408 and the constant data for the CPU 408 will be described as an example. Rewrite to the rewrite host computer 700 with the application program and constant data for the CPU 403, the application program and constant data for the CPU 408, the write control program for the CPU 403, and the write control program for the CPU 408 set in the rewrite host computer 700. When a command is input, the rewrite host computer 700 sends a rewrite start signal to the CPU 40 via the rewrite interface 402.
Send to 3.

【0039】CPU403は、書き換え開始信号を受け
ると書き換えモードに切り替わる。書き換えホストコン
ピュータ700がCPU403用書込み制御プログラム
を書き換えインターフェイス402を介してCPU40
3へ送信すると、CPU403は、このプログラムを受
信してRAM420に格納する。CPU403がRAM
420内に転送されたCPU403用書込み制御プログ
ラムを実行することにより、CPU403用のアプリケ
ーションプログラムと定数データとが、書き換えホスト
コンピュータ700から書き換えインターフェイス40
2を介してCPU403へそれぞれ転送される。CPU
403は、転送されたCPU403用のアプリケーショ
ンプログラムと定数データとを、それぞれ不揮発性メモ
リ404内に上書き(データ更新)する。
When the CPU 403 receives the rewriting start signal, it switches to the rewriting mode. The rewrite host computer 700 writes the write control program for the CPU 403 via the rewrite interface 402 to the CPU 40.
3, the CPU 403 receives this program and stores it in the RAM 420. CPU403 is RAM
By executing the CPU 403 write control program transferred in 420, the application program for CPU 403 and constant data are transferred from the rewriting host computer 700 to the rewriting interface 40.
2 to the CPU 403 respectively. CPU
The 403 overwrites (updates the data) the transferred application program for the CPU 403 and the constant data in the nonvolatile memory 404, respectively.

【0040】CPU408はその内部に、RAM409
と不揮発性メモリ410とを有する。不揮発性メモリ4
10には、CPU408で実行されるアプリケーション
プログラムと、CPU408が演算で使用するCPU4
08用定数データとが格納される。RAM409は、C
PU408による作業領域として使用される他、CPU
408用書込み制御プログラムが格納される。
The CPU 408 has a RAM 409 inside.
And a non-volatile memory 410. Non-volatile memory 4
Reference numeral 10 denotes an application program executed by the CPU 408 and the CPU 4 used by the CPU 408 for calculation.
08 constant data is stored. RAM409 is C
In addition to being used as a work area by the PU 408, a CPU
A write control program for 408 is stored.

【0041】不揮発性メモリ410に対する書き込みは
以下のように行われる。CPU403は、書き換えホス
トコンピュータ700から送信されたCPU403用の
アプリケーションプログラムと定数データとを不揮発性
メモリ404内に書き込むと、書き換え開始信号を通信
線407を介してCPU408へ送信する。
Writing to the non-volatile memory 410 is performed as follows. The CPU 403 writes the application program for the CPU 403 and the constant data transmitted from the rewriting host computer 700 in the non-volatile memory 404, and then transmits a rewriting start signal to the CPU 408 via the communication line 407.

【0042】CPU408は、書き換え開始信号を受け
ると書き換えモードに切り替わる。CPU403は、書
き換えホストコンピュータ700と通信し、CPU40
8用書込み制御プログラムを書き換えホストコンピュー
タ700から書き換えインターフェイス402を介して
受信し、受信したプログラムを通信線407を介してC
PU408へ転送する。CPU408は、通信線407
を介して転送されたプログラムをRAM409に格納す
る。CPU408がRAM409内に転送されたCPU
408用書込み制御プログラムを実行することにより、
書き換えホストコンピュータ700内のCPU408用
のアプリケーションプログラムと定数データとが、書き
換えインターフェイス402→CPU403→通信線4
07を介してCPU408へ転送される。
When the CPU 408 receives the rewrite start signal, it switches to the rewrite mode. The CPU 403 communicates with the rewriting host computer 700, and the CPU 40
8 write control program is received from the rewrite host computer 700 via the rewrite interface 402, and the received program is transmitted via the communication line 407 to C
Transfer to PU 408. The CPU 408 is the communication line 407.
The program transferred via is stored in the RAM 409. CPU transferred from CPU 408 to RAM 409
By executing the write control program for 408,
The application program and constant data for the CPU 408 in the rewriting host computer 700 are written in the rewriting interface 402 → CPU 403 → communication line 4
It is transferred to the CPU 408 via 07.

【0043】CPU408は、転送されたCPU408
用のアプリケーションプログラムと定数データとを不揮
発性メモリ410内に上書き(データ更新)する。以上
により、CPU403およびCPU408は書き換えモ
ードを終了して通常モードに戻る。以上説明した動作に
おいて、CPU403は書き換えホストコンピュータ7
00およびCPU408間のゲートウェイとして動作す
る。すなわち、CPU403は、書き換えインターフェ
イス402から入力されるプログラムやデータを所定量
ずつRAM420内に一旦格納し、RAM420内に格
納されたプログラムやデータを所定量ずつ通信線407
からCPU408へ送信する動作を繰り返し行う。
The CPU 408 is the transferred CPU 408.
The application program for use with the constant data is overwritten in the non-volatile memory 410 (data update). As described above, the CPU 403 and the CPU 408 end the rewrite mode and return to the normal mode. In the operation described above, the CPU 403 is the rewriting host computer 7
00 and the CPU 408. That is, the CPU 403 temporarily stores a predetermined amount of programs and data input from the rewriting interface 402 in the RAM 420, and a predetermined amount of programs and data stored in the RAM 420 for each communication line 407.
The operation of transmitting data from the CPU to the CPU 408 is repeated.

【0044】以上説明した第三の実施の形態によれば、
メインCPU403を書き換えホストコンピュータ70
0およびサブCPU408間のゲートウェイとして動作
させ、サブCPU408のRAM409内にサブCPU
408用書込み制御プログラムを転送し、この書込み制
御プログラムをサブCPU408に実行させる。サブC
PU408用書込み制御プログラムの実行により、書き
換えホストコンピュータ700に格納されているサブC
PU408のアプリケーションプログラムとサブCPU
408用の定数データとが、書き換えインターフェイス
402→メインCPU403→通信線407を介してサ
ブCPU408へ転送され、サブCPU408内の不揮
発性メモリ410内に上書き(データ更新)される。こ
れにより、メインCPU403内の不揮発性メモリ40
4に空き容量が少ない状態で、書き換えインターフェイ
スを備えていないサブCPU408内の不揮発性メモリ
410の書き換えが可能になる。
According to the third embodiment described above,
Rewriting the main CPU 403 Host computer 70
0 as a gateway between the sub CPU 408 and the sub CPU 408 in the RAM 409.
The write control program for 408 is transferred and the sub CPU 408 executes this write control program. Sub C
By executing the writing control program for the PU 408, the sub C stored in the rewriting host computer 700
PU408 application program and sub CPU
The constant data for 408 is transferred to the sub CPU 408 via the rewriting interface 402 → main CPU 403 → communication line 407, and is overwritten (data update) in the non-volatile memory 410 in the sub CPU 408. As a result, the non-volatile memory 40 in the main CPU 403
4, it becomes possible to rewrite the non-volatile memory 410 in the sub CPU 408 that does not have a rewriting interface when the free space is small.

【0045】特許請求の範囲における各構成要素と、発
明の実施の形態における各構成要素との対応について説
明する。実行プログラムは、アプリケーションプログラ
ムが対応する。演算回路用データは、定数データが対応
する。第1の演算回路は、たとえば、メインCPUによ
って構成される。第2の演算回路は、たとえば、サブC
PUによって構成される。第1の不揮発性記憶回路は、
たとえば、メインCPU側の不揮発性メモリによって構
成される。第1の揮発性記憶回路は、たとえば、メイン
CPU側のRAMによって構成される。第2の不揮発性
記憶回路は、たとえば、サブCPU側の不揮発性メモリ
によって構成される。第2の揮発性記憶回路は、たとえ
ば、サブCPU側のRAMによって構成される。通信経
路は、たとえば、通信線によって構成される。インター
フェイス回路は、たとえば、書き換えインターフェイス
によって構成される。外部機器は、たとえば、書き換え
ホストコンピュータによって構成される。制御回路は、
たとえば、メインCPUおよびサブCPUによって構成
される。書込みモードは、書き換えモードが対応する。
なお、本発明の特徴的な機能を損なわない限り、各構成
要素は上記構成に限定されるものではない。
Correspondence between each component in the claims and each component in the embodiment of the invention will be described. An application program corresponds to the execution program. The arithmetic circuit data corresponds to constant data. The first arithmetic circuit is composed of, for example, a main CPU. The second arithmetic circuit is, for example, a sub C
It is composed of PU. The first nonvolatile memory circuit is
For example, it is configured by a non-volatile memory on the main CPU side. The first volatile storage circuit is composed of, for example, a RAM on the main CPU side. The second non-volatile memory circuit is composed of, for example, a non-volatile memory on the sub CPU side. The second volatile storage circuit is composed of, for example, a RAM on the sub CPU side. The communication path is composed of, for example, a communication line. The interface circuit is composed of, for example, a rewrite interface. The external device is composed of, for example, a rewriting host computer. The control circuit
For example, it is composed of a main CPU and a sub CPU. The write mode corresponds to the rewrite mode.
Note that each component is not limited to the above configuration as long as the characteristic function of the present invention is not impaired.

【図面の簡単な説明】[Brief description of drawings]

【図1】本発明の第一の実施の形態による電子制御装置
の構成を示す図である。
FIG. 1 is a diagram showing a configuration of an electronic control device according to a first embodiment of the present invention.

【図2】メインCPUで実行されるプログラムによる処
理の流れを示すフローチャートである。
FIG. 2 is a flowchart showing a flow of processing by a program executed by a main CPU.

【図3】サブCPUで実行されるプログラムによる処理
の流れを示すフローチャートである。
FIG. 3 is a flowchart showing a flow of processing by a program executed by a sub CPU.

【図4】本発明の第二の実施の形態による電子制御装置
の構成を示す図である。
FIG. 4 is a diagram showing a configuration of an electronic control device according to a second embodiment of the present invention.

【図5】本発明の第三の実施の形態による電子制御装置
の構成を示す図である。
FIG. 5 is a diagram showing a configuration of an electronic control device according to a third embodiment of the present invention.

【符号の説明】[Explanation of symbols]

100,300,400…電子制御装置、 101…モー
タ、102,302,402…書き換えインターフェイ
ス、103,303,403…メインCPU、 105…
センサ、104,111,304,310,404,410
…不揮発性メモリ、108,307,407…通信線、1
09,308,408…サブCPU、110,120,30
9,320,409,420…RAM
100, 300, 400 ... Electronic control device, 101 ... Motor, 102, 302, 402 ... Rewriting interface, 103, 303, 403 ... Main CPU, 105 ...
Sensor, 104,111,304,310,404,410
... Non-volatile memory, 108, 307, 407 ... Communication line, 1
09,308,408 ... Sub CPU, 110, 120, 30
9,320,409,420 ... RAM

Claims (4)

【特許請求の範囲】[Claims] 【請求項1】少なくとも第1の実行プログラムを記憶す
る第1の不揮発性記憶回路と第1の揮発性記憶回路とを
有し、前記第1の実行プログラムを実行する第1の演算
回路と、 少なくとも第2の実行プログラムを記憶する第2の不揮
発性記憶回路と第2の揮発性記憶回路とを有し、前記第
2の実行プログラムを実行する第2の演算回路と、 前記第1の演算回路と前記第2の演算回路との間で通信
を行う通信経路と、 前記第1の演算回路と外部機器との間で通信を行うイン
ターフェイス回路と、 前記インターフェイス回路を介して前記第2の演算回路
で使用するデータおよび/または実行プログラムを、前
記第1の演算回路を経由して前記第2の演算回路へ転送
して格納する制御回路とを備える電子制御装置。
1. A first arithmetic circuit having at least a first non-volatile memory circuit for storing a first execution program and a first volatile memory circuit, the first arithmetic circuit executing the first execution program, A second arithmetic circuit having at least a second non-volatile memory circuit for storing a second execution program and a second volatile memory circuit for executing the second execution program; and the first arithmetic operation. A communication path for communicating between a circuit and the second arithmetic circuit, an interface circuit for communicating between the first arithmetic circuit and an external device, and the second arithmetic via the interface circuit. An electronic control device comprising: a control circuit that transfers data used in a circuit and / or an execution program to the second arithmetic circuit via the first arithmetic circuit to store the data.
【請求項2】請求項1に記載の電子制御装置において、 前記制御回路は、書込みモード起動時、 (1)前記外部機器から前記インターフェイス回路を介し
て送信される書込みプログラムを前記第1の揮発性記憶
回路に記憶し、 (2)前記第1の揮発性記憶回路に記憶された前記書込み
プログラムを前記第1の演算回路で実行して前記外部機
器から前記インターフェイス回路を介して送信される前
記第1の演算回路用データおよび前記第2の演算回路用
データを前記第1の不揮発性記憶回路にそれぞれ記憶
し、 通常モード起動時、(1)前記第1の実行プログラムを前
記第1の演算回路で実行して前記第1の不揮発性記憶回
路に記憶された前記第2の演算回路用データを前記通信
経路を介して前記第2の揮発性記憶回路に記憶し、(2)
前記第1の不揮発性記憶回路に記憶された前記第1の演
算回路用データを前記第1の演算回路で使用し、(3)前
記第2の実行プログラムを前記第2の演算回路で実行
し、(4)前記第2の揮発性記憶回路に記憶された前記第
2の演算回路用データを前記第2の演算回路で使用する
ように前記第1の演算回路および前記第2の演算回路を
制御することを特徴とする電子制御装置。
2. The electronic control device according to claim 1, wherein the control circuit, when the write mode is activated, (1) writes the write program transmitted from the external device through the interface circuit to the first volatilization device. Stored in a first memory circuit, and (2) the write program stored in the first volatile memory circuit is executed by the first arithmetic circuit and transmitted from the external device through the interface circuit. The first arithmetic circuit data and the second arithmetic circuit data are respectively stored in the first non-volatile memory circuit, and when the normal mode is activated, (1) the first execution program is executed by the first arithmetic circuit. Storing the second arithmetic circuit data, which is executed by a circuit and stored in the first non-volatile memory circuit, in the second volatile memory circuit via the communication path, (2)
The first arithmetic circuit data stored in the first non-volatile memory circuit is used in the first arithmetic circuit, and (3) the second execution program is executed in the second arithmetic circuit. (4) The first arithmetic circuit and the second arithmetic circuit are arranged so that the second arithmetic circuit data stored in the second volatile memory circuit is used in the second arithmetic circuit. An electronic control device characterized by controlling.
【請求項3】請求項1に記載の電子制御装置において、 前記制御回路は、書込みモード起動時、(1)前記外部機
器から前記インターフェイス回路を介して送信される第
1の書込みプログラムを前記第1の揮発性記憶回路に記
憶し、(2)前記第1の揮発性記憶回路に記憶された前記
第1の書込みプログラムを前記第1の演算回路で実行し
て前記外部機器から前記インターフェイス回路を介して
送信される前記第1の実行プログラム、前記第1の演算
回路用データ、前記第2の実行プログラム、前記第2の
演算回路用データ、および第2の書込みプログラムを前
記第1の不揮発性記憶回路にそれぞれ記憶し、(3)前記
第1の不揮発性記憶回路に記憶された前記第2の書込み
プログラムを前記通信経路を介して前記第2の揮発性記
憶回路に記憶し、(4)前記第2の揮発性記憶回路に記憶
された前記第2の書込みプログラムを前記第2の演算回
路で実行して前記第1の不揮発性記憶回路に記憶された
前記第2の実行プログラムおよび前記第2の演算回路用
データを前記通信経路を介して前記第2の不揮発性記憶
回路にそれぞれ記憶し、 通常モード起動時、(1)前記第1の不揮発性記憶回路に
記憶された前記第1の実行プログラムを前記第1の演算
回路で実行し、(2)前記第1の不揮発性記憶回路に記憶
された前記第1の演算回路用データを前記第1の演算回
路で使用し、(3)前記第2の不揮発性記憶回路に記憶さ
れた前記第2の実行プログラムを前記第2の演算回路で
実行し、(4)前記第2の不揮発性記憶回路に記憶された
前記第2の演算回路用データを前記第2の演算回路で使
用するように前記第1の演算回路および前記第2の演算
回路を制御することを特徴とする電子制御装置。
3. The electronic control device according to claim 1, wherein the control circuit, when the write mode is activated, (1) executes the first write program transmitted from the external device via the interface circuit. (1) executing the first write program stored in the first volatile storage circuit on the first arithmetic circuit to execute the interface circuit from the external device. The first execution program, the first arithmetic circuit data, the second execution program, the second arithmetic circuit data, and the second write program transmitted via the first non-volatile (3) storing the second write program stored in the storage circuit, respectively, in the storage circuit, and storing the second write program stored in the first non-volatile storage circuit in the second volatile storage circuit via the communication path; The above The second write program stored in the second volatile storage circuit is executed by the second arithmetic circuit, and the second execution program and the second stored in the first non-volatile storage circuit. The arithmetic circuit data is stored in the second non-volatile memory circuit via the communication path, and when the normal mode is activated, (1) the first execution stored in the first non-volatile memory circuit is performed. Executing a program in the first arithmetic circuit, (2) using the first arithmetic circuit data stored in the first nonvolatile memory circuit in the first arithmetic circuit, (3) the above Executing the second execution program stored in the second non-volatile memory circuit by the second arithmetic circuit, and (4) for the second arithmetic circuit stored in the second non-volatile memory circuit. The first operation so that data is used in the second operation circuit. An electronic control unit controlling a circuit and the second arithmetic circuit.
【請求項4】請求項1に記載の電子制御装置において、 前記制御回路は、書込みモード起動時、(1)前記外部機
器から前記インターフェイス回路を介して送信される第
1の書込みプログラムを前記第1の揮発性記憶回路に記
憶し、(2)前記第1の揮発性記憶回路に記憶された前記
第1の書込みプログラムを前記第1の演算回路で実行し
て前記外部機器から前記インターフェイス回路を介して
送信される前記第1の実行プログラム、前記第1の演算
回路用データを前記第1の不揮発性記憶回路にそれぞれ
記憶し、(3)前記外部機器から前記インターフェイス回
路を介して送信される第2の書込みプログラムを前記通
信経路を介して前記第2の揮発性記憶回路に記憶し、
(4)前記第2の揮発性記憶回路に記憶された前記第2の
書込みプログラムを前記第2の演算回路で実行して前記
外部機器から前記インターフェイス回路を介して送信さ
れる前記第2の実行プログラムおよび前記第2の演算回
路用データを前記通信経路を介して前記第2の不揮発性
記憶回路にそれぞれ記憶し、通常モード起動時、(1)前
記第1の不揮発性記憶回路に記憶された前記第1の実行
プログラムを前記第1の演算回路で実行し、(2)前記第
1の不揮発性記憶回路に記憶された前記第1の演算回路
用データを前記第1の演算回路で使用し、(3)前記第2
の不揮発性記憶回路に記憶された前記第2の実行プログ
ラムを前記第2の演算回路で実行し、(4)前記第2の不
揮発性記憶回路に記憶された前記第2の演算回路用デー
タを前記第2の演算回路で使用するように前記第1の演
算回路および前記第2の演算回路を制御することを特徴
とする電子制御装置。
4. The electronic control device according to claim 1, wherein the control circuit, when the write mode is activated, (1) executes the first write program transmitted from the external device via the interface circuit. (1) executing the first write program stored in the first volatile storage circuit on the first arithmetic circuit to execute the interface circuit from the external device. The first execution program and the data for the first arithmetic circuit, which are transmitted via the interface circuit, are stored in the first non-volatile memory circuit, respectively, and are transmitted from the external device via the interface circuit. Storing a second write program in the second volatile storage circuit via the communication path;
(4) The second execution executed by the second arithmetic circuit to execute the second write program stored in the second volatile storage circuit and transmitted from the external device via the interface circuit. The program and the data for the second arithmetic circuit are respectively stored in the second non-volatile storage circuit via the communication path, and at the time of starting the normal mode, (1) stored in the first non-volatile storage circuit. The first execution program is executed by the first arithmetic circuit, and (2) the first arithmetic circuit data stored in the first nonvolatile memory circuit is used by the first arithmetic circuit. , (3) the second
The second execution program stored in the non-volatile memory circuit is executed by the second arithmetic circuit, and (4) the second arithmetic circuit data stored in the second non-volatile memory circuit is stored. An electronic control device, which controls the first arithmetic circuit and the second arithmetic circuit so as to be used in the second arithmetic circuit.
JP2001333889A 2001-10-31 2001-10-31 Electronic control device Pending JP2003140914A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2001333889A JP2003140914A (en) 2001-10-31 2001-10-31 Electronic control device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2001333889A JP2003140914A (en) 2001-10-31 2001-10-31 Electronic control device

Publications (1)

Publication Number Publication Date
JP2003140914A true JP2003140914A (en) 2003-05-16

Family

ID=19149100

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2001333889A Pending JP2003140914A (en) 2001-10-31 2001-10-31 Electronic control device

Country Status (1)

Country Link
JP (1) JP2003140914A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006031526A (en) * 2004-07-20 2006-02-02 Sony Corp Information processor and method, recording medium and program
JP2007092621A (en) * 2005-09-28 2007-04-12 Aisin Seiki Co Ltd Electronic control unit
JP2008217261A (en) * 2007-03-01 2008-09-18 Delta Electronics Inc Double cpu conversion system and method for the same
JP2015099528A (en) * 2013-11-20 2015-05-28 トヨタ自動車株式会社 Method of rewriting program of sub-microcomputer
JP2017016454A (en) * 2015-07-02 2017-01-19 セイコーエプソン株式会社 Firmware rewriting method and printer
US10540169B2 (en) 2017-06-19 2020-01-21 Clarion Co., Ltd. Electronic device configured to update program stored therein using difference data and program updating method using difference data

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006031526A (en) * 2004-07-20 2006-02-02 Sony Corp Information processor and method, recording medium and program
JP2007092621A (en) * 2005-09-28 2007-04-12 Aisin Seiki Co Ltd Electronic control unit
JP2008217261A (en) * 2007-03-01 2008-09-18 Delta Electronics Inc Double cpu conversion system and method for the same
JP2015099528A (en) * 2013-11-20 2015-05-28 トヨタ自動車株式会社 Method of rewriting program of sub-microcomputer
JP2017016454A (en) * 2015-07-02 2017-01-19 セイコーエプソン株式会社 Firmware rewriting method and printer
US10540169B2 (en) 2017-06-19 2020-01-21 Clarion Co., Ltd. Electronic device configured to update program stored therein using difference data and program updating method using difference data

Similar Documents

Publication Publication Date Title
JP4548601B2 (en) Automotive control unit
JP6227794B2 (en) Vehicle control device, reprogramming system
EP0945770A3 (en) Electronic control unit and method having program rewriting function
US20060155960A1 (en) Programmable controller
JP2003140914A (en) Electronic control device
US6256226B1 (en) Eeprom write device
JP6415990B2 (en) Electronic control unit for automobile
EP1001341B1 (en) Method and apparatus for controlling rewrite of a flash EEPROM in a microcomputer
JP4854995B2 (en) Elevator control device
JP6899719B2 (en) Electronic control device for automobiles
JP2003271420A (en) Electronic control device
JP6408450B2 (en) Electronic control unit for automobile
JP4376526B2 (en) Processing system
JP2001229014A (en) Non-volatile memory rewriting device
JP3551502B2 (en) Camera information setting device
JP3672755B2 (en) Control program rewriting system
JP2007084232A (en) Elevator control program updating device
JPH11161519A (en) Reset device
JPH11274915A (en) Fpga rewriting processor
JP6887277B2 (en) Electronic control device for automobiles
JPH10268914A (en) Programmable controller
JPH037963B2 (en)
JPH117381A (en) On-board writing method for flash memory
JPS5854402A (en) Programmable controller
JPH1011295A (en) Controller