Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3246302B2 - Automotive electronic control unit - Google Patents
[go: Go Back, main page]

JP3246302B2 - Automotive electronic control unit - Google Patents

Automotive electronic control unit

Info

Publication number
JP3246302B2
JP3246302B2 JP30707095A JP30707095A JP3246302B2 JP 3246302 B2 JP3246302 B2 JP 3246302B2 JP 30707095 A JP30707095 A JP 30707095A JP 30707095 A JP30707095 A JP 30707095A JP 3246302 B2 JP3246302 B2 JP 3246302B2
Authority
JP
Japan
Prior art keywords
serial communication
communication protocol
protocol
control unit
address
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.)
Expired - Fee Related
Application number
JP30707095A
Other languages
Japanese (ja)
Other versions
JPH09149096A (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.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial 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 Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP30707095A priority Critical patent/JP3246302B2/en
Publication of JPH09149096A publication Critical patent/JPH09149096A/en
Application granted granted Critical
Publication of JP3246302B2 publication Critical patent/JP3246302B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Communication Control (AREA)
  • Mobile Radio Communication Systems (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、自動車用の電子制
御装置に関し、特に、シリアル通信でデータ通信を行う
自動車用電子制御装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic control unit for a vehicle, and more particularly, to an electronic control unit for a vehicle that performs data communication by serial communication.

【0002】[0002]

【従来の技術】図1は、自動車用の電子制御装置のシリ
アル通信システムの構成を示すブロック図で、図2は、
プログラム内に設定されているアドレステーブルの構成
を示すものである。
2. Description of the Related Art FIG. 1 is a block diagram showing a configuration of a serial communication system of an electronic control unit for a vehicle, and FIG.
It shows the configuration of an address table set in a program.

【0003】図1の自動車用電子制御装置(Elect
oronic ContorolUnit:以下ECU
で表す)1では、外部モニタから入力される任意のアド
レス入力をシリアル通信インタフェースの受信部6で受
信し、制御部3を介してそのアドレスに定義されたメモ
リ(RAM5およびROM4)の内容をシリアル通信イ
ンタフェースモニタの送信部7を用いて外部モニタに出
力するシリアル通信プロトコル1と、シリアル通信イン
タフェースの受信部6の使用を停止し、プログラム内に
設定されている図2のアドレステーブルにしたがってア
ドレス[1]からアドレス[n]のメモリの内容を順に
シリアル通信インタフェースの送信部7を用いて出力す
るシリアル通信プロトコル2を有している。
FIG. 1 shows an electronic control unit (Elect) for a vehicle.
oronic ControlUnit: ECU
In (1), an arbitrary address input from an external monitor is received by the receiving unit 6 of the serial communication interface, and the contents of the memory (RAM 5 and ROM 4) defined at the address are serially transmitted via the control unit 3. The use of the serial communication protocol 1 to be output to the external monitor using the transmission unit 7 of the communication interface monitor and the reception unit 6 of the serial communication interface is stopped, and the address [ 1] to [n] are sequentially output using the transmission unit 7 of the serial communication interface.

【0004】このようなシリアル通信プロトコルのう
ち、シリアル通信プロトコル1はECUの開発時に、ソ
フトウェアのデバッグや機能チェックの際に主として用
いられるものであり、シリアル通信プロトコル2は量産
時にソフトウェアを組み込んだ後の確認やハードウェア
のチェックやソフトウェアの入れ替え更新等の場合に主
として用いられる。
[0004] Among such serial communication protocols, serial communication protocol 1 is mainly used for debugging software and checking functions when developing an ECU, and serial communication protocol 2 is used after software is installed during mass production. It is mainly used for confirmation of hardware, checking of hardware, replacement of software, and updating.

【0005】この通信プロトコルの切り替えには、RO
M4内の1バイトのデータをスイッチ(以下データスイ
ッチという)として使用し、例えば、ECUの開発時
は、プロトコル1を使用して外部モニタとの通信を行
い、ECUの量産時ではプロトコル2を使用して、製造
ラインでECUハードウェアのチェックを行う自動検査
装置へCPU2内で処理された入出力信号値やROMデ
ータ等を送信する。
[0005] To switch the communication protocol, RO
1-byte data in M4 is used as a switch (hereinafter referred to as a data switch). For example, when developing an ECU, communication with an external monitor is performed using protocol 1, and during mass production of the ECU, protocol 2 is used. Then, the input / output signal values, ROM data, and the like processed in the CPU 2 are transmitted to the automatic inspection device that checks the ECU hardware on the production line.

【0006】[0006]

【発明が解決しようとする課題】しかしながら、通常、
ECUの量産時ではマスクROM4を使用して検査を行
うため、データスイッチの変更を行うことができず、量
産ECUの解析時には自動検査装置のみがECUを使用
可能であり、図2のアドレステーブルに設定されたアド
レス[1]からアドレス[n]のメモリ内容以外のRO
M4およびRAM5の内容に外部からアクセスすること
はできない。
However, usually,
At the time of mass production of the ECU, the inspection is performed using the mask ROM 4. Therefore, the data switch cannot be changed. When analyzing the mass production ECU, only the automatic inspection device can use the ECU. ROs other than the memory contents from the set address [1] to address [n]
The contents of M4 and RAM 5 cannot be accessed from outside.

【0007】従来の自動車用の電子制御装置において
は、量産時には予め指定されたアドレスのメモリ内容以
外のメモリ内容に外部からアクセスすることができず、
指定されたアドレスのメモリ内容も自動検査装置からし
かアクセスできなかった。
In a conventional electronic control unit for a vehicle, during mass production, it is impossible to externally access memory contents other than the memory contents of a pre-designated address.
The memory contents at the specified address could also be accessed only from the automatic inspection device.

【0008】本発明はこの点を解決するもので、量産時
に自動検査装置がアクセスしている場合でも、ソフトウ
ェアでモニタからの受信状況を監視し、受信データの有
無によってシリアル通信プロトコルを切り替えること
で、マスクROMを使用していても2つの異なる仕様の
シリアル通信を自動的に切り替えて実行できる自動車用
電子制御装置を提供することを課題とする。
The present invention solves this problem. Even when an automatic inspection device is accessed during mass production, the reception status from a monitor is monitored by software, and the serial communication protocol is switched according to the presence or absence of reception data. It is another object of the present invention to provide an electronic control unit for a vehicle which can automatically switch and execute serial communication of two different specifications even when a mask ROM is used.

【0009】[0009]

【課題を解決するための手段】上記目的を達成するた
め、本発明は、自動車の各部の制御を行う中央制御装置
と、前記中央制御装置を駆動するソフトウェア手段と、
RAMとマスクROMからなり前記ソフトウェア手段お
よび前記中央制御装置の制御動作に関するデータを記憶
する記憶手段と、外部装置とのシリアル通信を行うシリ
アル通信手段と、前記シリアル通信手段を制御して前記
記憶手段に記憶された前記ソフトウェア手段および前記
データを外部に出力する複数のシリアル通信プロトコル
手段と、前記中央制御装置の計数に用いられるオーバー
フロー計数手段とを有する自動車用電子制御装置におい
て、前記複数のシリアル通信プロトコル手段は外部から
前記シリアル通信手段を介して入力されるアドレスにし
たがって該当するアドレスの前記記憶手段の内容を読み
出す第1のシリアル通信プロトコル手段と、予め前記記
憶手段に記憶されているアドレス順にしたがって前記記
憶手段の内容を読み出す第2のシリアル通信プロトコル
手段とからなり、前記ソフトウェア手段は外部装置から
のアドレスの入力の有無を判断する判断手段と前記判断
手段の判断結果に応じて前記第1のシリアル通信プロト
コル手段または前記第2のシリアル通信プロトコル手段
のいずれかに設定するプロトコル設定手段とを有する
リアル通信プロトコル選択手段を備えることを特徴とす
る。
To achieve the above object, according to an aspect of the present invention includes a central control unit for controlling each part of an automobile, and software means for driving the central control unit,
Storage means for storing data related to the control operation of the a RAM and a mask ROM software means and said central controller, a serial communication means for performing serial communication with an external device, the storage means and controls the serial communication unit the electronic control unit for a motor vehicle having an overflow counter means for using said software means and said data stored in a plurality of serial communication protocol means for outputting to the outside, the count in the central control device, the plurality of serial communication Protocol means from outside
Address to be input via the serial communication means.
Therefore, the contents of the storage means at the corresponding address are read.
Outgoing serial communication protocol means, and
In accordance with the order of the addresses stored in the storage means,
Second serial communication protocol for reading the contents of storage means
Means, and the software means is provided from an external device.
Determining means for determining the presence or absence of the input of the address of the user and said determination
The first serial communication protocol according to the determination result of the means.
Col means or said second serial communication protocol means
And a protocol setting means for setting any one of the following.

【0010】この発明によれば、自動車用電子制御装置
は複数のシリアル通信手段の機能のうち、目的に適った
機能を自動的に選択可能になる。
According to the present invention, the electronic control unit for a vehicle can automatically select a function suitable for the purpose from among a plurality of functions of the serial communication means.

【0011】ここで、前記複数のシリアル通信プロトコ
ル手段は外部から前記シリアル通信手段を介して入力さ
れるアドレスにしたがって該当するアドレスの前記記憶
手段の内容を読み出す第1のシリアル通信プロトコル手
段と、予め前記記憶手段に記憶されているアドレス順に
したがって前記記憶手段の内容を読み出す第2のシリア
ル通信プロトコル手段とであることを特徴とする。
Here, the plurality of serial communication protocol means includes a first serial communication protocol means for reading out the contents of the storage means at a corresponding address according to an address inputted from the outside via the serial communication means, The second serial communication protocol means reads out the contents of the storage means in the order of addresses stored in the storage means.

【0012】この発明によれば、外部から指定されたア
ドレスにしたがってメモリ内容を読み出す開発時に適し
た機能を有する第1のシリアル通信プロトコル手段と、
予め設定されたメモリブロックを順に読み出す量産時に
必要な機能を有する第2のシリアル通信プロトコル手段
とのいずれかを自動的に選択することができる。
According to the present invention, first serial communication protocol means having a function suitable for development for reading memory contents in accordance with an externally designated address,
It is possible to automatically select any one of the second serial communication protocol means having a function required at the time of mass production for sequentially reading out preset memory blocks.

【0013】また、前記シリアル通信プロトコル選択手
段は前記シリアル通信手段に入力される割り込みと、前
記オーバフロー計数手段が発生するオーバフロー割り込
みによって前記第1または第2のシリアル通信プロトコ
ル手段の選択を行うことを特徴とする。
Further, the serial communication protocol selecting means selects the first or second serial communication protocol means by an interrupt input to the serial communication means and an overflow interrupt generated by the overflow counting means. Features.

【0014】この発明によれば、特別な操作を必要とせ
ずに、電源が入力されてから一定時間内に外部から前記
シリアル通信手段を介してアドレスを入力すると自動的
に第1のシリアル通信プロトコル手段が選択され、さも
ないと自動的に第2のシリアル通信プロトコル手段が選
択されて、選択のための操作を不要にし、取扱が簡便に
なる。
According to the present invention, the first serial communication protocol is automatically provided when an address is externally input via the serial communication means within a predetermined time after the power is input, without requiring any special operation. The means is selected, otherwise the second serial communication protocol means is automatically selected, eliminating the need for an operation for selection and simplifying handling.

【0015】[0015]

【発明の実施の形態】本発明の請求項1の発明は、自動
車の各部の制御を行う中央制御装置と、該中央制御装置
を駆動するソフトウェア手段と、該ソフトウェア手段お
よび該中央制御装置の制御動作に関するデータを記憶す
る記憶手段と、該記憶手段に記憶された前記ソフトウェ
ア手段および前記データを外部にシリアル通信するシリ
アル通信手段と、該シリアル通信手段を制御する複数の
シリアル通信プロトコル手段と、前記中央制御装置の計
数に用いられるオーバフロー計数手段とを有する自動車
用電子制御装置において、前記複数のシリアル通信プロ
トコル手段の選択を自動的に行うシリアル通信プロトコ
ル選択手段を具備することを特徴とするもので、マスク
ROMに記憶されたプログラムを使用した検査中におい
ても、状況に応じて異なる仕様のシリアル通信を自動的
に切り替えて通信が可能になる。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The first aspect of the present invention is a central control device for controlling each part of an automobile, software means for driving the central control device, and control of the software means and the central control device. Storage means for storing data relating to operation, serial communication means for serially communicating the software means and the data stored in the storage means to the outside, a plurality of serial communication protocol means for controlling the serial communication means, An electronic control unit for a vehicle having an overflow counting unit used for counting by a central control unit, comprising a serial communication protocol selecting unit for automatically selecting the plurality of serial communication protocol units. Depending on the situation, even during the inspection using the program stored in the mask ROM It is possible to automatically switch the communication of the serial communication of different specifications.

【0016】また、本発明の請求項2の発明は、前記複
数のシリアル通信プロトコル手段は外部から前記シリア
ル通信手段を介して入力されるアドレスにしたがって該
当するアドレスの前記記憶手段の内容を読み出す第1の
シリアル通信プロトコル手段と、予め前記記憶手段に記
憶されているアドレス順にしたがって前記記憶手段の内
容を読み出す第2のシリアル通信プロトコル手段とであ
ることを特徴とするもので、マスクROMを使用した検
査中においても、開発時に適する通信方式と、量産時に
適する通信方式を自動選択することができる。
According to a second aspect of the present invention, the plurality of serial communication protocol units read out the contents of the storage unit at a corresponding address in accordance with an address input from the outside via the serial communication unit. A serial communication protocol means, and a second serial communication protocol means for reading out the contents of the storage means in accordance with the order of addresses previously stored in the storage means, wherein a mask ROM is used. Even during the inspection, a communication method suitable for development and a communication method suitable for mass production can be automatically selected.

【0017】また、本発明の請求項3の発明は、前記シ
リアル通信プロトコル選択手段が前記シリアル通信手段
に入力される割り込みと、前記オーバフロー計数手段が
発生するオーバフロー割り込みによって前記第1または
第2のシリアル通信プロトコル手段の選択を行うことを
特徴とするもので、前記オーバフロー計数手段がオーバ
フロー割り込みを発生する前に外部から前記シリアル通
信手段を介してアドレスが入力されると、自動的に第1
のシリアル通信プロトコル手段が選択され、特別な手続
きを必要とせず操作が簡単である。
Further, the invention according to claim 3 of the present invention is characterized in that the serial communication protocol selecting means uses the first or second interrupt by the interrupt input to the serial communication means and the overflow interrupt generated by the overflow counting means. The serial communication protocol means is selected, and if an address is externally input via the serial communication means before the overflow counting means generates an overflow interrupt, the first automatically occurs.
The serial communication protocol means is selected, and the operation is simple without any special procedure.

【0018】以下、本発明にかかる自動車用電子制御装
置を添付図面を参照にして詳細に説明する。
Hereinafter, an electronic control unit for a vehicle according to the present invention will be described in detail with reference to the accompanying drawings.

【0019】図3、図4および図5に本発明のシリアル
通信プロトコル自動切り替え処理の一実施例のフローチ
ャートを示した。
FIGS. 3, 4 and 5 show flowcharts of an embodiment of the serial communication protocol automatic switching process according to the present invention.

【0020】電子制御装置(ECU)のシリアル通信シ
ステムの構成は図1に示した従来のものと同じである。
The configuration of the serial communication system of the electronic control unit (ECU) is the same as the conventional one shown in FIG.

【0021】この実施例の処理について図3、図4およ
び図5と図1を参照して説明する。CPU3に電源が入
ると、内蔵されている16ビットフリーランニングカウ
ンタ8がカウントアップを開始し、それと同時に図3の
イニシャル処理がスタートする。
The processing of this embodiment will be described with reference to FIGS. 3, 4, 5 and 1. When the power is supplied to the CPU 3, the built-in 16-bit free running counter 8 starts counting up, and at the same time, the initial processing of FIG. 3 starts.

【0022】このイニシャル処理では、先ずシリアル通
信プロトコルをプロトコル1に設定し(ステップ1
0)、外部モニタ等からのアドレス入力を待つために受
信割り込みを許可する(ステップ11)。
In this initial processing, first, the serial communication protocol is set to protocol 1 (step 1).
0), a reception interrupt is permitted to wait for an address input from an external monitor or the like (step 11).

【0023】次に、通信プロトコル選択フラグ F M
ONITORを1とセットし(ステップ12)、バック
グラウンド処理を開始する(ステップ13)。
Next, a communication protocol selection flag FM
ONITOR is set to 1 (step 12), and background processing is started (step 13).

【0024】この状態で、外部モニタ等からのアドレス
入力をシリアル通信インタフェース受信部6に受信する
と(ステップ14)、受信割り込み処理を実行し(ステ
ップ15)、その後再びバックグラウンド処理に戻る。
In this state, when an address input from an external monitor or the like is received by the serial communication interface receiver 6 (step 14), a reception interrupt process is executed (step 15), and thereafter, the process returns to the background process again.

【0025】受信割り込み処理は図4に示すような通信
プロトコル選択フラグ F MONITORを0にクリ
アする(ステップ20)。
In the reception interruption processing, a communication protocol selection flag F MONITOR as shown in FIG. 4 is cleared to 0 (step 20).

【0026】一方、16ビットフリーランニングカウン
タ8が最初にオーバフローした時、そのオーバフロー信
号によって図5に示すタイムオーバフロー処理が実行さ
れる。
On the other hand, when the 16-bit free-running counter 8 overflows for the first time, a time overflow process shown in FIG. 5 is executed by the overflow signal.

【0027】この処理では、先ず、この最初のオーバフ
ローするまでの時間に外部モニタ等からのアドレス入力
があったかどうかを F MONITORを参照して判
断する(ステップ30)。 F MONITORが0で
あれば、外部モニタ等からのアドレス入力があったと判
断し、通信方法をプロトコル1のイニシャル処理での設
定のままに保持するため、以後の処理をパスする。
In this process, first, it is determined by referring to F MONITOR whether or not an address has been input from an external monitor or the like before the first overflow (step 30). If F MONITOR is 0, it is determined that an address has been input from an external monitor or the like, and the subsequent processing is passed to maintain the communication method as set in the initial processing of protocol 1.

【0028】逆に F MONITORが1であると、
外部モニタ等からのアドレス入力がなかったと判断す
る。このばあいは通信方法をプロトコル2にするべきも
のと判断し、先ず通信プロトコル選択フラグ F MO
NITORを0にクリアする(ステップ31)。次にシ
リアル通信プロトコルをプロトコル2に設定し(ステッ
プ32)、受信割り込みを禁止する(ステップ33)。
従って、これ以後は外部モニタ等からのアドレス入力は
受け付けない。
Conversely, if F MONITOR is 1,
It is determined that there is no address input from an external monitor or the like. In this case, it is determined that the communication method should be protocol 2, and the communication protocol selection flag F MO
NITOR is cleared to 0 (step 31). Next, the serial communication protocol is set to protocol 2 (step 32), and the reception interrupt is prohibited (step 33).
Therefore, after this, address input from an external monitor or the like is not accepted.

【0029】次回以降の16ビットフリーランニングカ
ウンタ8のオーバフロー処理では、通信プロトコルがど
ちらであっても、 F MONITORがすでに0にな
っているので、通信プロトコルの設定変更は行われず、
現在の通信プロトコルがそのまま保持される。
In the overflow process of the 16-bit free-running counter 8 from the next time on, F MONITOR has already been set to 0 regardless of the communication protocol, so that the communication protocol setting is not changed.
The current communication protocol is kept as it is.

【0030】以上のような方法によって、本発明の自動
車用電子制御装置(ECU)は、CPUの初期設定時に
は通信プロトコルを通信プロトコル1に設定して受信お
よび受信割り込みを許可しておき、電源投入後、16ビ
ットフリーランニングカウンタ8が1回目のオーバフロ
ーをしたときに、例えば、カウント1ビツトが3.2μ
sの場合には209ms後に、発生する割り込み処理
で、それまでにシリアル通信インタフェース受信部6に
データ受信があった場合には通信プロトコル1を保持す
るようにし、受信がなかった場合には通信プロトコル2
に切り替えて、シリアル通信インタフェース受信部6で
の受信を停止して受信割り込みを禁止する。
According to the above-described method, the vehicle electronic control unit (ECU) of the present invention sets the communication protocol to the communication protocol 1 at the time of initial setting of the CPU, permits reception and reception interruption, and turns on the power. Thereafter, when the 16-bit free running counter 8 overflows for the first time, for example, the count 1 bit becomes 3.2 μm.
In the case of s, in the interrupt processing that occurs after 209 ms, the communication protocol 1 is held if data has been received by the serial communication interface receiving unit 6 until then, and if no data has been received, the communication protocol is held. 2
To stop reception at the serial communication interface receiver 6 and prohibit reception interrupt.

【0031】したがってシリアル通信インタフェース受
信部6にデータ受信があったかなかったかでマスクRO
Mを使用している場合でも自動的に通信プロトコルが選
択され、特別な手続きを必要とせず簡単な操作で処理で
きる。
Therefore, the mask RO is determined based on whether or not data has been received by the serial communication interface receiver 6.
Even when M is used, a communication protocol is automatically selected, and processing can be performed by a simple operation without requiring a special procedure.

【0032】[0032]

【発明の効果】以上説明したように本発明は、外部装置
からのアドレスの入力の有無を判断する判断手段と判断
手段の判断結果に応じて第1のシリアル通信プロトコル
手段または前記第2のシリアル通信プロトコル手段のい
ずれかに設定するプロトコル設定手段とを有するシリア
ル通信プロトコル選択手段を用いてシリアル通信プロト
コルの切り替えを行うので、マスクROMを使用してい
る場合でも、外部から前記シリアル通信手段を介して入
力されるアドレスにしたがって該当するアドレスの前記
記憶手段の内容を読み出す第1のシリアル通信プロトコ
ル手段と、予め前記記憶手段に記憶されているアドレス
順にしたがって前記記憶手段の内容を読み出す第2のシ
リアル通信プロトコル手段とを自動的に選択して使用す
ることができる自動車用電子制御装置を提供することが
できる。
As described above, the present invention provides an external device
Judgment means to judge the presence or absence of an address input from
A first serial communication protocol according to the determination result of the means;
Means or said second serial communication protocol means.
Serial having protocol setting means for setting any
Serial communication protocol using the
Since the switching of colors is performed , even when a mask ROM is used, it is input externally via the serial communication means.
According to the input address
First serial communication protocol for reading the contents of the storage means
And an address previously stored in the storage means.
A second system for reading the contents of the storage means in order.
It is possible to provide an electronic control unit for a vehicle which can automatically select and use a real communication protocol means .

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

【図1】本発明が用いられる電子制御装置のシリアル通
信システムのブロック図
FIG. 1 is a block diagram of a serial communication system of an electronic control unit to which the present invention is applied.

【図2】プログラム内に設定されているアドレステーブ
ルの構成図
FIG. 2 is a configuration diagram of an address table set in a program;

【図3】本発明の一実施例におけるイニシャル処理プロ
グラムのフロー図
FIG. 3 is a flowchart of an initial processing program according to an embodiment of the present invention.

【図4】本発明の一実施例における受信割り込み処理プ
ログラムのフロー図
FIG. 4 is a flowchart of a reception interrupt processing program according to an embodiment of the present invention.

【図5】本発明の一実施例における16ビツトフリーラ
ンニングカウンタオーバフロー割り込み処理プログラム
のフロー図
FIG. 5 is a flowchart of a 16-bit free-running counter overflow interrupt processing program according to an embodiment of the present invention.

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

1 電子制御装置本体 2 CPU 3 制御部 4 ROMまたはマスクROM 5 RAM 6 シリアル通信インタフェース受信部 7 シリアル通信インタフェース送信部 8 16ビットフリーランニングカウンタ DESCRIPTION OF SYMBOLS 1 Electronic control apparatus main body 2 CPU 3 Control part 4 ROM or mask ROM 5 RAM 6 Serial communication interface receiving part 7 Serial communication interface transmitting part 8 16-bit free running counter

───────────────────────────────────────────────────── フロントページの続き (58)調査した分野(Int.Cl.7,DB名) H04L 29/06 ──────────────────────────────────────────────────続 き Continued on the front page (58) Field surveyed (Int.Cl. 7 , DB name) H04L 29/06

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 自動車の各部の制御を行う中央制御装置
と、前記中央制御装置を駆動するソフトウェア手段と、
RAMとマスクROMからなり前記ソフトウェア手段お
よび前記中央制御装置の制御動作に関するデータを記憶
する記憶手段と、外部装置とのシリアル通信を行うシリ
アル通信手段と、前記シリアル通信手段を制御して前記
記憶手段に記憶された前記ソフトウェア手段および前記
データを外部に出力する複数のシリアル通信プロトコル
手段と、前記中央制御装置の計数に用いられるオーバー
フロー計数手段とを有する自動車用電子制御装置におい
て、前記複数のシリアル通信プロトコル手段は外部から
前記シリアル通信手段を介して入力されるアドレスにし
たがって該当するアドレスの前記記憶手段の内容を読み
出す第1のシリアル通信プロトコル手段と、予め前記記
憶手段に記憶されているアドレス順にしたがって前記記
憶手段の内容を読み出す第2のシリアル通信プロトコル
手段とからなり、前記ソフトウェア手段は外部装置から
のアドレスの入力の有無を判断する判断手段と前記判断
手段の判断結果に応じて前記第1のシリアル通信プロト
コル手段または前記第2のシリアル通信プロトコル手段
のいずれかに設定するプロトコル設定手段とを有する
リアル通信プロトコル選択手段を備えることを特徴とす
る自動車用電子制御装置。
1. A central control device for controlling each part of an automobile, software means for driving the central control device,
Storage means for storing data related to the control operation of the a RAM and a mask ROM software means and said central controller, a serial communication means for performing serial communication with an external device, the storage means and controls the serial communication unit the electronic control unit for a motor vehicle having an overflow counter means for using said software means and said data stored in a plurality of serial communication protocol means for outputting to the outside, the count in the central control device, the plurality of serial communication Protocol means from outside
Address to be input via the serial communication means.
Therefore, the contents of the storage means at the corresponding address are read.
Outgoing serial communication protocol means, and
In accordance with the order of the addresses stored in the storage means,
Second serial communication protocol for reading the contents of storage means
Means, and the software means is provided from an external device.
Determining means for determining the presence or absence of the input of the address of the user and said determination
The first serial communication protocol according to the determination result of the means.
Col means or said second serial communication protocol means
An electronic control unit for a vehicle , comprising: a serial communication protocol selecting unit having a protocol setting unit that sets the protocol to one of the following .
【請求項2】 前記シリアル通信プロトコル選択手段は
前記シリアル通信手段に入力される割り込みと、前記オ
ーバーフロー計数手段が発生するオーバーフロー割り込
みによって前記第1または第2のシリアル通信プロトコ
ル手段の選択を行うことを特徴とする請求項1記載の自
動車用電子制御装置。
2. The serial communication protocol selecting means according to claim 1, wherein
An interrupt input to the serial communication means;
-Overflow interrupt generated by overflow counting means
The first or second serial communication protocol
2. The self-selecting means according to claim 1, wherein the selecting means selects
Electronic control unit for moving vehicles.
JP30707095A 1995-11-27 1995-11-27 Automotive electronic control unit Expired - Fee Related JP3246302B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP30707095A JP3246302B2 (en) 1995-11-27 1995-11-27 Automotive electronic control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP30707095A JP3246302B2 (en) 1995-11-27 1995-11-27 Automotive electronic control unit

Publications (2)

Publication Number Publication Date
JPH09149096A JPH09149096A (en) 1997-06-06
JP3246302B2 true JP3246302B2 (en) 2002-01-15

Family

ID=17964688

Family Applications (1)

Application Number Title Priority Date Filing Date
JP30707095A Expired - Fee Related JP3246302B2 (en) 1995-11-27 1995-11-27 Automotive electronic control unit

Country Status (1)

Country Link
JP (1) JP3246302B2 (en)

Also Published As

Publication number Publication date
JPH09149096A (en) 1997-06-06

Similar Documents

Publication Publication Date Title
US5524213A (en) Method of structuring messages for exchanging data and/or for synchronizing processes in a data processing system wherein at least two stations are connected to each other via a serial bus
EP0619548B1 (en) Interface circuit between a control bus and an integrated circuit suitable for two different protocol standards
DE69515147T2 (en) Multiple protocol data bus system
US7038798B2 (en) Method and apparatus for multi-function processing capable of performing a program downloading using a common single connection, and a medium storing the method
US5311510A (en) Data storing system for a communication control circuit
US6760789B2 (en) Microcomputer having temporary storage for received data and method of processing received data
JP3246302B2 (en) Automotive electronic control unit
JP3490719B2 (en) Digital data bus system including arbitration function
JPH09331370A (en) Data communication device
JP2003209591A (en) Vehicle failure diagnosis device
WO2020217697A1 (en) Serial data communication device
JP3154626B2 (en) Serial transmission device
KR100703450B1 (en) General purpose input / output controller and method of wireless terminal to reduce C.P.
JP3124105B2 (en) Switch operation signal generation circuit
JP2861385B2 (en) Multiplexer
JP3916446B2 (en) Communication system for device controller development
JP3168702B2 (en) Communication method for transmission I/O terminal
JP3161174B2 (en) Key telephone equipment
JPS62190544A (en) Higher link unit for programmable controller
JP2003271541A (en) Dma transfer device and its control method
JPH10269199A (en) Instruction passing processing circuit
CN113886296A (en) Data transmission method, device, equipment and storage medium
JPH05300156A (en) Communication method between a plurality of terminal devices
JPH0471019A (en) Data processor
JPH06314261A (en) Communication method between central processing units

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20071102

Year of fee payment: 6

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20081102

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091102

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20091102

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20101102

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees