JPH0553335B2 - - Google Patents

Info

Publication number
JPH0553335B2
JPH0553335B2 JP60226950A JP22695085A JPH0553335B2 JP H0553335 B2 JPH0553335 B2 JP H0553335B2 JP 60226950 A JP60226950 A JP 60226950A JP 22695085 A JP22695085 A JP 22695085A JP H0553335 B2 JPH0553335 B2 JP H0553335B2
Authority
JP
Japan
Prior art keywords
data transmission
transmission device
firmware
frame
data
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 - Lifetime
Application number
JP60226950A
Other languages
Japanese (ja)
Other versions
JPS6286938A (en
Inventor
Kazuo Yasue
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.)
NEC Corp
Original Assignee
Nippon Electric 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 Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP60226950A priority Critical patent/JPS6286938A/en
Publication of JPS6286938A publication Critical patent/JPS6286938A/en
Publication of JPH0553335B2 publication Critical patent/JPH0553335B2/ja
Granted legal-status Critical Current

Links

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は情報の伝送を行う伝送路と、この伝送
路に接続され上記情報の授受を行う複数のデータ
伝送装置を有するデータ伝送方式におけるフアー
ムウエアのダウンロードに関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a data transmission method comprising a transmission path for transmitting information and a plurality of data transmission devices connected to the transmission path for exchanging the information. Regarding downloading of software.

〔従来の技術〕[Conventional technology]

従来、この種のデータ伝送方式においては、フ
アームウエアをロードする場合、一般には各デー
タ伝送装置は自装置に接続されているプロツピイ
デイスク装置、カセツト磁気テープ装置、磁気テ
ープ装置などを用いて直接、読出書込記憶部にフ
アームウエアをロードするという方式が採られて
いる。
Conventionally, in this type of data transmission system, when loading firmware, each data transmission device generally uses a proprietary disk device, cassette magnetic tape device, magnetic tape device, etc. connected to its own device. A method is adopted in which the firmware is directly loaded into the read/write storage section.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述のような方式では、各データ伝送装置にブ
ートロード専用の装置を接続しなければならない
ため、価格増の原因になる。更に、フアームウエ
アの変更が生じた場合、全データ伝送装置に接続
されているブートロード専用装置の変更を必要と
するため、運用上問題点が多くなるし、多大の工
数がかかるという欠点がある。
In the above-mentioned method, a device dedicated to boot loading must be connected to each data transmission device, which causes an increase in price. Furthermore, if the firmware is changed, it is necessary to change the bootload dedicated device connected to all data transmission devices, which causes many operational problems and requires a large amount of man-hours. .

また、別の方式では、送信側(ホストコンピユ
ータ側)がロードするプログラム((端末毎に予
め決められている)を端末毎に予め準備して、立
ち上げ時にプログラムを各端末にロードする(特
開昭55−121536号公報参照)が、この方式では、
端末側の構成が複雑になればなるほど、ロードす
る側の装置ですべて管理しなければならず、管理
が大変であるという欠点がある。即ち、ロードす
る側の装置で端末単位毎にプログラムのロードす
べき管理を行つているため、プログラムの種類が
増えるとプログラムの組み合わせが多くなり、準
備する端末単位のプログラムの種類が増える。特
に、ロードされる側の装置(端末)が構成変更を
要する場合、端末側の変更だけでなく、ロードす
る側の装置(システム全体のマスタになるのが一
般的である)内の情報も変更する必要があるた
め、システム全体を止めるか、又は操作ミスをし
ないように変更しなければならず、操作が複雑で
運用上問題点が多いという欠点がある。
In another method, the sending side (host computer side) prepares a program (predetermined for each terminal) to be loaded for each terminal in advance, and loads the program into each terminal at startup (special (Refer to Publication No. 121536/1983), but with this method,
The more complex the configuration on the terminal side, the more difficult it is to manage everything on the loading device, which is a drawback. That is, since the loading device manages the loading of programs for each terminal, as the number of types of programs increases, the number of combinations of programs increases, and the number of types of programs to be prepared for each terminal increases. In particular, when the loading device (terminal) requires a configuration change, not only the terminal side but also the information in the loading device (which is generally the master of the entire system) is also changed. Therefore, the entire system must be stopped or changes must be made to prevent operational errors, which has the disadvantage that the operation is complicated and there are many operational problems.

〔問題点を解決するための手段〕[Means for solving problems]

本発明は上記の欠点を除去するもので、情報の
伝送を行う伝送路と、この伝送路に接続され前記
情報の授受を行う複数のデータ伝送装置とを有す
る伝送方式において、 各データ伝送装置は、各データ伝送装置に必要
なすべてのフアームウエアあるいはソフトウエア
がロードされているか否かを示す第1の状態情報
と、各データ伝送装置に必要なすべてのフアーム
ウエアあるいはソフトウエアのうち、ロードされ
ていない前記フアームウエアあるいは前記ソフト
ウエアの種類を指示する第2の状態情報とを格納
する手段を有し、 前記複数のデータ伝送装置のうちの1つは、 あらかじめ決められた時間毎に前記伝送路を介
して他のデータ伝送装置の前記第1及び前記第2
の状態情報を見に行く手段と、 前記第1の状態情報がすべてのフアームウエア
あるいはソフトウエアがロードされていないこと
を示しているデータ伝送装置に対して、前記第2
の状態情報が指示している前記フアームウエアあ
るいは前記ソフトウエアの種類に対応した前記フ
アームウエアあるいは前記ソフトウエアを、ロー
ドする手段とを備えたことを特徴とするデータ伝
送方式である。
The present invention eliminates the above-mentioned drawbacks, and provides a transmission system that includes a transmission path for transmitting information and a plurality of data transmission devices connected to this transmission path for sending and receiving the information. , first status information indicating whether or not all the firmware or software required for each data transmission device is loaded; and second status information indicating the type of the firmware or the software that has not been updated, and one of the plurality of data transmission devices transmits the data at predetermined intervals. the first and second data transmission devices of another data transmission device via a
means for accessing status information of the second data transmission device, wherein the first status information indicates that all firmware or software is not loaded;
This data transmission method is characterized by comprising means for loading the firmware or the software corresponding to the type of the firmware or the software indicated by the status information.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明す
る。
Next, the present invention will be explained with reference to the drawings.

第2図は本発明の適用されるデータ伝送方式の
一例を示す図である。第2図において、1〜4は
データ伝送装置、11〜14は各データ伝送装置
1〜4間のループ状伝送路である。データ伝送シ
ステムは複数のデータ伝送装置1〜4とループ状
伝送路11〜14から構成されている。
FIG. 2 is a diagram showing an example of a data transmission method to which the present invention is applied. In FIG. 2, 1 to 4 are data transmission devices, and 11 to 14 are loop-shaped transmission lines between the data transmission devices 1 to 4. The data transmission system is comprised of a plurality of data transmission devices 1-4 and loop-shaped transmission lines 11-14.

第1図は本発明の一実施例を示すブロツク図で
ある。
FIG. 1 is a block diagram showing one embodiment of the present invention.

この第1図において第2図と同一符号のものは
相当部分を示す。データ伝送装置1は、伝送路制
御回路21、この伝送路制御回路21を制御し各
種情報の授受を行う(フアームウエア制御を行
う)プロセツサ22、そのフアームウエアを格納
しているROM部27、ROM部27をアクセス
するためのアドレスを示すアドレス線81、
ROM部27からフアームウエアを読出すための
データ線82を有する。更に、データ伝送装置1
は、データバス51、伝送路制御回路21を制御
するための制御信号を伝送する信号線群52、割
込信号をプロセツサ22に送出する割込線53を
有する。また、データ伝送装置1は、データ伝送
装置として必要なフアームウエアが書き込まれる
フアームウエア記憶部(即ち、読出書込制御部)
23、フアームウエア記憶部23をアクセスする
ための制御信号およびアドレス信号のための信号
線群61、フアームウエア記憶部23とプロセツ
サ22とを結ぶデータバス71、データ伝送装置
自身のフアームウエアの状態情報を格納しておく
制御記憶部24、制御記憶部24をアクセスする
ための制御信号およびアドレス信号のための信号
線群62を有する。加えて、データ伝送装置1
は、時間監視を行うためタイマ25、タイマ25
を制御するための制御線群54、タイマ25から
プロセツサ22を割込を示す割込線55、ループ
状伝送路以外で他装置との制御を行うI/Oポー
ト26、I/Oポート26をアクセスするための
制御線群56、I/Oポート26からプロセツサ
22への割込を示す割込線57、I/Oポート2
6と他の装置とのインタフエースを示すインタフ
エース線15から構成される。
In FIG. 1, the same reference numerals as in FIG. 2 indicate corresponding parts. The data transmission device 1 includes a transmission path control circuit 21, a processor 22 that controls the transmission path control circuit 21 and sends and receives various information (controls firmware), a ROM unit 27 that stores the firmware, and a ROM. an address line 81 indicating an address for accessing the section 27;
It has a data line 82 for reading firmware from the ROM section 27. Furthermore, the data transmission device 1
has a data bus 51, a signal line group 52 for transmitting control signals for controlling the transmission line control circuit 21, and an interrupt line 53 for transmitting interrupt signals to the processor 22. The data transmission device 1 also includes a firmware storage section (i.e., a read/write control section) into which firmware necessary for the data transmission device is written.
23, a signal line group 61 for control signals and address signals for accessing the firmware storage section 23, a data bus 71 connecting the firmware storage section 23 and the processor 22, state information of the firmware of the data transmission device itself; It has a control storage section 24 for storing therein, and a signal line group 62 for control signals and address signals for accessing the control storage section 24. In addition, data transmission device 1
For time monitoring, timer 25, timer 25
A group of control lines 54 for controlling the processor 22 from the timer 25, an interrupt line 55 for indicating an interrupt, an I/O port 26 for controlling other devices other than the loop-shaped transmission line, A control line group 56 for access, an interrupt line 57 indicating an interrupt from the I/O port 26 to the processor 22, and an I/O port 2
6 and an interface line 15 indicating an interface with other devices.

なお、データ伝送装置12,13,14の各々
も、第1図のデータ伝送装置1と実質的に同じ回
路構成を有する。
Note that each of the data transmission devices 12, 13, and 14 also has substantially the same circuit configuration as the data transmission device 1 of FIG.

第3図は第1図の実施例における伝送路制御回
路21に係る部分を抽出した構成例を示すブロツ
ク図である。
FIG. 3 is a block diagram showing an example of a configuration in which a portion related to the transmission line control circuit 21 in the embodiment of FIG. 1 is extracted.

第3図において、第1図および第2図と同一符
号のものは相当部分を示す。伝送路制御回路21
は、フレームの検出を行うフレーム検出回路3
1、フレーム検出回路31から発生されるフレー
ム受信指示信号41およびフレームの受信の正当
性を報告するFCSOK信号42によりフレームの
受信を行うフレーム受信回路32、フレームの送
信を行うフレーム送信回路33、フレーム受信回
路32において自宛のフレームでなければフレー
ムを通過させるためのデータ線43から構成され
る。
In FIG. 3, the same reference numerals as in FIGS. 1 and 2 indicate corresponding parts. Transmission line control circuit 21
is a frame detection circuit 3 that detects frames.
1. A frame receiving circuit 32 that receives frames based on a frame reception instruction signal 41 generated from a frame detection circuit 31 and an FCSOK signal 42 that reports the validity of frame reception; a frame transmitting circuit 33 that transmits frames; The reception circuit 32 includes a data line 43 for passing frames unless the frame is addressed to itself.

第4図は本発明に適用される一般的なフレーム
の形式(フオーマツト)を示す説明図である。
FIG. 4 is an explanatory diagram showing a general frame format applied to the present invention.

伝送路11〜14(第2図参照)に流れる一般
的なフレームは、“01111110”を示すフラグパタ
ーンF、送信先のアドレスを示す送信先アドレス
DA、送信元のアドレスを示す送信元アドレス
SA、制御情報C,データ情報Iおよびフレーム
チエツクシーケンスで巡回冗長検査を行う検査ビ
ツトFCSから構成されている。なお、上記データ
情報Iはフレームの構成の一部としては省略され
ることもある。
A typical frame flowing through transmission lines 11 to 14 (see Figure 2) has a flag pattern F indicating "01111110" and a destination address indicating the destination address.
DA, source address indicating the address of the source
It consists of SA, control information C, data information I, and a check bit FCS that performs a cyclic redundancy check using a frame check sequence. Note that the data information I may be omitted as part of the frame structure.

第5図は第1図の制御記憶部24に書込まれる
フアームウエア状態情報の形式(フオーマツト)
を示す説明図である。
FIG. 5 shows the format of the firmware status information written in the control storage section 24 of FIG.
FIG.

Q,R,SおよびTはフアームウエアの種別を
示しており、P=0でQ,R,SおよびTのうち
少なくとも一つが1の値になつているときそのフ
アームウエアのロードを必要とし、P=1でQ,
R,SおよびTのうち、少なくとも一つが1の値
になつているときそのフアームウエアが第1図の
フアームウエア記憶部23に格納されていること
を示す。
Q, R, S and T indicate the type of firmware, and when P=0 and at least one of Q, R, S and T has a value of 1, it is necessary to load the firmware, Q at P=1,
When at least one of R, S, and T has a value of 1, it indicates that the firmware is stored in the firmware storage section 23 of FIG. 1.

次に第1図に示す実施例の動作を第2図,第3
図,第4図および第5図を参照して説明する。
Next, the operation of the embodiment shown in Fig. 1 is explained in Figs. 2 and 3.
This will be explained with reference to FIGS. 4 and 5.

今、データ伝送装置1が一定時間間隔でデータ
伝送装置2〜4の状態を見に行くとする。
Suppose now that data transmission device 1 checks the status of data transmission devices 2 to 4 at regular time intervals.

データ伝送装置1において、プロセツサ22は
アドレス線81とデータ線82を通じてROM2
7に格納されている基本フアームウエアを実行し
ている。最初、プロセツサ22はタイマ25に制
御線群54とデータバス51を通してm(mは任
意の値)を設定してタイマ25を起動すると、
「m×n」(nはカウントする周期で任意の値)時
間後プロセツサ22に割込線55を通して割込が
起る。この割込によりプロセツサ22は制御線群
52、データバス51を通して第4図に従つたフ
アーマツトでフレーム送信回路33内の送信バツ
フアに書込む。このときの制御情報Cは制御記憶
部24のフアームウエア状態情報を読出すコマン
ドであり(以降リードコマンドフレームAと称
す)、送信先アドレスDAはデータ伝送装置2、
送信元アドレスSAはデータ伝送装置1である。
次にプロセツサ22は制御線群52を通して送信
起動を行うと、フレーム送信回路33はフレーム
を伝送路11に出す。やがてデータ伝送装置2は
伝送路11から入つてくるフレームをフレーム検
出回路31が自局宛であることを検出し、フレー
ム受信指示41がフレーム受信回路32を起動
し、フレーム受信回路32内の受信バツフアに書
込む。フレーム受信回路32はFCSOK信号42
が出ることにより受信バツフアに正常に入つたと
しても、割込線53を通してデータ伝送装置2の
プロセツサ22に割込を起す。プロセツサ22は
割込により、フレーム受信回路32内の受信バツ
フアを読出すと、リードコマンドフレームAであ
ることがわかり、第4図に従つたフオーマツトで
フレーム送信回路33内の送信バッファに書込
む。このときの制御情報Cは制御記憶部24から
読出したことに対する応答コマンドであり(以下
応答コマンドフレームAと称す)、送信先アドレ
スDAはデータ伝送装置1のアドレス、送信元ア
ドレスSAはデータ伝送装置2のアドレス、デー
タ情報Iはプロセツサ22が信号線群62とデー
タバス51を通して制御記憶部24から読出した
フアームウエア状態情報で、第5図に示したPの
値は0、Qの値は1、R,S,Tは0を示してい
る。更にデータ伝送装置2内のプロセツサ22は
制御線群52を通してフレーム送信回路33を起
動し、伝送路12に送出する。データ伝送装置1
宛の応答コマンドフレームAはデータ伝送装置1
のフレーム受信回路32内の受信バツフアに書込
まれ、データ伝送装置1のプロセツサ22に割込
線53を通して知らせられる。従つてデータ伝送
装置1内のプロセツサ22はフレーム受信回路3
2内の受信バツフアを読出すことにより、データ
伝送装置2がフアームウエアQのロードを要求し
ていることがわかり、すでにフアームウエア記憶
部23に書込まれているフアームウエアQを信号
線61、データバス71を通して読出し、第4図
のフアーマツトに従つてクレーム送信回路33内
の送信バツフアに書込む。このときの制御情報C
はフアームウエアロードを示すものであり(以降
ロードコマンドフレームBと称す)、送信先アド
レスDAはデータ伝送装置2のアドレス、送信元
アドレスSAはデータ伝送装置1のアドレス、デ
ータ情報IはフアームウエアQを示す。次にデー
タ伝送装置1のプロセツサ22は制御線群52を
通してフレーム送信回路33を起動し、伝送路1
1に送出する。データ伝送装置2宛のロードコマ
ンドフレームBはデータ伝送装置2のフレーム受
信回路32内の受信バツフアに書込まれ、データ
伝送装置2のプロセツサ22に割込線53を通し
て知らせられる。従つてデータ伝送装置2のプロ
セツサ22はフレーム受信回路32内の受信バツ
フアを読出すことにより、フアームウエアQが転
送されることを知り、フアームウエア記憶部23
に制御線群52、データバス51、信号線群6
1、データバス71を通してフアームウエアQを
格納する。この後データ伝送装置2のプロセツサ
22は制御記憶部24内フアームウエア状態情報
のPの値を0から1にセツトする。
In the data transmission device 1, the processor 22 connects the ROM 2 through an address line 81 and a data line 82.
I am running the basic firmware stored in 7. Initially, the processor 22 sets m (m is an arbitrary value) to the timer 25 through the control line group 54 and the data bus 51 and starts the timer 25.
After "m×n" (n is an arbitrary value in the counting cycle) time, an interrupt occurs to the processor 22 through the interrupt line 55. This interrupt causes the processor 22 to write into the transmission buffer in the frame transmission circuit 33 through the control line group 52 and the data bus 51 in the format shown in FIG. The control information C at this time is a command to read firmware status information from the control storage unit 24 (hereinafter referred to as read command frame A), and the destination address DA is the data transmission device 2,
The source address SA is the data transmission device 1.
Next, when the processor 22 activates transmission through the control line group 52, the frame transmission circuit 33 outputs the frame to the transmission line 11. Eventually, the frame detection circuit 31 of the data transmission device 2 detects that the frame coming in from the transmission path 11 is addressed to its own station, and the frame reception instruction 41 activates the frame reception circuit 32, and the frame reception circuit 32 starts receiving the frame. Write to Batshua. The frame receiving circuit 32 receives the FCSOK signal 42
Even if the data enters the reception buffer normally due to the output of the data, an interrupt is generated to the processor 22 of the data transmission device 2 through the interrupt line 53. When the processor 22 reads the reception buffer in the frame reception circuit 32 by an interrupt, it finds that it is a read command frame A, and writes it to the transmission buffer in the frame transmission circuit 33 in the format according to FIG. The control information C at this time is a response command for reading from the control storage unit 24 (hereinafter referred to as response command frame A), the destination address DA is the address of the data transmission device 1, and the source address SA is the data transmission device Address No. 2 and data information I are firmware status information read from the control storage unit 24 by the processor 22 through the signal line group 62 and the data bus 51, and the value of P shown in FIG. 5 is 0 and the value of Q is 1. , R, S, and T indicate 0. Further, the processor 22 in the data transmission device 2 activates the frame transmission circuit 33 through the control line group 52 and sends the frame to the transmission line 12. Data transmission device 1
The response command frame A addressed to data transmission device 1
The data is written into the reception buffer in the frame reception circuit 32 of the frame reception circuit 32, and is notified to the processor 22 of the data transmission device 1 through the interrupt line 53. Therefore, the processor 22 in the data transmission device 1 is the frame receiving circuit 3.
By reading the reception buffer in the firmware storage section 23, it is found that the data transmission device 2 requests loading of the firmware Q, and the firmware Q already written in the firmware storage section 23 is transferred to the signal line 61. It is read out through the data bus 71 and written into the transmission buffer in the claim transmission circuit 33 according to the format shown in FIG. Control information C at this time
indicates the firmware load (hereinafter referred to as load command frame B), the destination address DA is the address of the data transmission device 2, the source address SA is the address of the data transmission device 1, and the data information I is the firmware Q. shows. Next, the processor 22 of the data transmission device 1 activates the frame transmission circuit 33 through the control line group 52, and
Send to 1. The load command frame B addressed to the data transmission device 2 is written to the reception buffer in the frame reception circuit 32 of the data transmission device 2, and is notified to the processor 22 of the data transmission device 2 through the interrupt line 53. Therefore, by reading the reception buffer in the frame reception circuit 32, the processor 22 of the data transmission device 2 learns that the firmware Q will be transferred, and reads the reception buffer in the frame reception circuit 32.
Control line group 52, data bus 51, signal line group 6
1. Store the firmware Q through the data bus 71. Thereafter, the processor 22 of the data transmission device 2 sets the value of P in the firmware status information in the control storage section 24 from 0 to 1.

一方、データ伝送装置1がデータ伝送装置2に
ロードコマンドフレームBを送出した後、データ
伝送装置3およびデータ伝送装置4にもデータ伝
送装置2への動作と同様のことを行う。
On the other hand, after the data transmission device 1 sends the load command frame B to the data transmission device 2, the data transmission device 3 and the data transmission device 4 perform the same operations as the data transmission device 2.

上記の例で、データ伝送装置1に送信した応答
コマンドフレームAの内容が、第5図のフオーマ
ツトに従つてPの値が1、Q,R,Sの値が0、
Tの値が1であれば、データ伝送装置1におい
て、そのフレームを受信すると、データ伝送装置
1内のプロセツサ22はフレーム受信回路32内
の受信バツフアを読出すことにより、データ伝送
装置2がPの値が1、Tの値が1のためフアーム
ウエアTがすでにロードされており、新たなフア
ームウエアのロードを要求していないことがわか
り、何もしないで次のデータ伝送装置3への監視
動作に行く。
In the above example, the contents of the response command frame A sent to the data transmission device 1 are such that the value of P is 1, the values of Q, R, and S are 0, and the values of Q, R, and S are 0, according to the format shown in FIG.
If the value of T is 1, when the data transmission device 1 receives the frame, the processor 22 in the data transmission device 1 reads the reception buffer in the frame reception circuit 32, so that the data transmission device 2 Since the value of is 1 and the value of T is 1, it can be seen that the firmware T has already been loaded and there is no request to load new firmware, so monitoring to the next data transmission device 3 is performed without doing anything. Go to action.

上記の様にデータ伝送装置1がデータ伝送装置
2からデータ伝送装置4までの一連の動作が終了
するとデータ伝送装置1内のプロセツサ22が制
御線群54とデータバス51を通してタイマ25
にm(mは任意の値)を設定し、タイマ25を起
動すると、「m×n」(nはカウントする周期で任
意の値)時間後に割込線55を通してプロセツサ
22に割込が発生する。データ伝送装置1のプロ
セツサ22はタイマ25からの割込によりデータ
伝送装置2からデータ伝送装置4まで上記の例と
同じ方法でリードコマンドフレームAを転送する
ことにより監視を行い、フアームウエアのロード
が必要であればロードコマンドフレームBの転送
を行う。この様にして、データ伝送装置1は、一
定間隔で各データ伝送装置を監視する。
As described above, when the data transmission device 1 completes a series of operations from the data transmission device 2 to the data transmission device 4, the processor 22 in the data transmission device 1 transmits the data to the timer 25 through the control line group 54 and the data bus 51.
When m (m is an arbitrary value) is set for , and the timer 25 is started, an interrupt is generated to the processor 22 through the interrupt line 55 after "m x n" (n is an arbitrary value in the counting cycle) time. . The processor 22 of the data transmission device 1 performs monitoring by transmitting the read command frame A from the data transmission device 2 to the data transmission device 4 in the same manner as in the above example in response to an interrupt from the timer 25, and loads the firmware. Load command frame B is transferred if necessary. In this way, the data transmission device 1 monitors each data transmission device at regular intervals.

次に、データ伝送装置内に必要とするフアーム
ウエアがまだロードされていない時に他データ伝
送装置からアクセスしてきた場合の動作を説明す
る。
Next, an explanation will be given of the operation when access is made from another data transmission device when the required firmware has not yet been loaded into the data transmission device.

データ伝送装置4がデータ伝送装置2のI/O
ポート26にインタフエース15を通して接続さ
れている装置にアクセスするためにデータを第4
図のフオーマツトに従つて送信して来た場合デー
タ伝送装置2のフレーム受信回路32内の受信バ
ツフアに格納され、プロセツサ22に割込線53
に従つて割込を発生させる。するとデータ伝送装
置2のプロセツサ22はフレーム受信回路32内
の受信バツフアの中身を読出すことによりI/O
ポート26に接続されている装置宛にデータを送
ることを知り、さらに制御部24内に書込まれて
いるフアームウエア状態情報を読みに行き、フア
ームウエア状態情報のPの値が0、Qの値が1で
あるためI/Oポート26に接続されている装置
にアクセスに必要なフアームウエアQがまだロー
ドされていないことを知ると、第4図のフアーマ
ツトに従つてフレーム送信回路33内の送信バツ
フアに書込む。このときの制御情報Cは必要なフ
アームウエアがまたロードされていないことを示
すものであり(以降コマンドフレームDと称す)、
送信先アドレスDAはデータ伝送装置4のアドレ
ス、送信元アドレスSAはデータ伝送装置2のア
ドレス、データ情報Iはフアームウエア状態情報
(データ伝送装置2内のプロセツサ22が制御記
憶部24から読出した内容)を示す。次にデータ
伝送装置2内のプロセツサ22は制御線群52を
通してフレーム送出回路33を起動し、伝送路1
2に送出する。データ伝送装置4宛のコマンドフ
レームDはデータ伝送装置4のフレーム受信回路
32内の受信バツフアに書込まれ、データ伝送装
置4のプロセツサ22に割込線53を通して知ら
せる。従つてデータ伝送装置4のプロセツサ22
はフレーム受信回路32内の受信バツフアを読出
すことにより、データ伝送装置2にフアームウエ
アQがまだロードされていないことを知る。従つ
て、データ伝送装置4はデータ伝送装置2のI/
Oポート26に接続されている装置にアクセスす
ることのできない原因がわかり、効率よくかつ迅
速に、エラー処理の対応ができる。この場合のエ
ラー処理の対応の一例としてデータ伝送装置1に
データ伝送装置2に対してフアームウエアQをロ
ードしてもらうように通知することができる。こ
の場合の処理として、データ伝送装置4のプロセ
ツサ22が、第4図のフオーマツトに従つてフレ
ーム送信回路33内の送信バツフアに書込む。こ
のときの制御情報Cはデータ情報Iに従つてある
装置へのフアームウエアのロード要求を示すもの
であり(以降コマンドフレームEと称す)、送信
先アドレスDAはデータ伝送装置1のアドレス、
送信元アドレスSAはデータ伝送装置4のアドレ
ス、データ情報Iは第6図に示すフオーマツトで
送信用状態情報を示す。第6図のフオーマツトで
送信先アドレスはフアームウエアをロードする相
手先のアドレス、フアームウエア状態情報は第5
図のフオーマツトである。次にデータ伝送装置4
内のプロセツサ22は制御線群52を通してフレ
ーム送出回路33を起動し、伝送路14に送出す
る。データ伝送装置1宛のコマンドフレームEは
データ伝送装置1のフレーム受信回路32内の受
信バツフアに書込まれ、データ伝送装置1のプロ
セツサ22に割込線53を通して知らせる。従つ
てデータ伝送装置1のプロセツサ22はフレーム
受信回路32内の受信バツフアを読出すことによ
り、データ伝送装置2にフアームウエアQがまだ
ロードされていないことを知る。次にデータ伝送
装置1のプロセツサ22はロードコマンドフレー
ムBをデータ伝送装置2宛に送出する。このロー
ドコマンドフレームBの生成および処理の仕方は
前例で示したデータ伝送装置1がデータ伝送装置
2に監視したときのロードコマンドフレームBの
生成および処理の仕方と全く同じである。
Data transmission device 4 is I/O of data transmission device 2
The data is transferred to the fourth port 26 to access the device connected through the interface 15.
When the data is transmitted according to the format shown in the figure, it is stored in the reception buffer in the frame reception circuit 32 of the data transmission device 2, and sent to the processor 22 via the interrupt line 53.
Generates an interrupt according to. Then, the processor 22 of the data transmission device 2 reads the contents of the reception buffer in the frame reception circuit 32 and performs I/O processing.
Knowing that data is to be sent to the device connected to the port 26, I went to read the firmware status information written in the control unit 24 and found that the value of P in the firmware status information was 0 and the value of Q was 0. Knowing that the firmware Q necessary for accessing the device connected to the I/O port 26 has not been loaded since the value is 1, the frame transmitting circuit 33 executes the process according to the firmware shown in FIG. Write to the sending buffer. Control information C at this time indicates that the necessary firmware has not been loaded (hereinafter referred to as command frame D).
The destination address DA is the address of the data transmission device 4, the source address SA is the address of the data transmission device 2, and the data information I is firmware status information (content read from the control storage unit 24 by the processor 22 in the data transmission device 2). ) is shown. Next, the processor 22 in the data transmission device 2 activates the frame sending circuit 33 through the control line group 52, and
Send to 2. The command frame D addressed to the data transmission device 4 is written to the reception buffer in the frame reception circuit 32 of the data transmission device 4, and is notified to the processor 22 of the data transmission device 4 through the interrupt line 53. Therefore, the processor 22 of the data transmission device 4
By reading the reception buffer in the frame reception circuit 32, the controller learns that the firmware Q has not been loaded into the data transmission device 2 yet. Therefore, the data transmission device 4 is connected to the I/O of the data transmission device 2.
The reason why the device connected to the O port 26 cannot be accessed can be found, and error handling can be handled efficiently and quickly. As an example of error handling in this case, the data transmission device 1 can notify the data transmission device 2 to load the firmware Q. In this case, the processor 22 of the data transmission device 4 writes into the transmission buffer in the frame transmission circuit 33 according to the format shown in FIG. The control information C at this time indicates a request to load firmware to a certain device according to the data information I (hereinafter referred to as command frame E), and the destination address DA is the address of the data transmission device 1.
The source address SA is the address of the data transmission device 4, and the data information I indicates the transmission status information in the format shown in FIG. In the format shown in Figure 6, the destination address is the address of the destination to load the firmware, and the firmware status information is the 5th address.
This is the format of the figure. Next, data transmission device 4
The processor 22 in the frame activates the frame sending circuit 33 through the control line group 52 and sends the frame to the transmission line 14. The command frame E addressed to the data transmission device 1 is written to the reception buffer in the frame reception circuit 32 of the data transmission device 1, and is notified to the processor 22 of the data transmission device 1 through the interrupt line 53. Therefore, by reading the reception buffer in the frame receiving circuit 32, the processor 22 of the data transmission device 1 knows that the firmware Q has not been loaded into the data transmission device 2 yet. Next, the processor 22 of the data transmission device 1 sends the load command frame B to the data transmission device 2. The method of generating and processing this load command frame B is exactly the same as the method of generating and processing the load command frame B when the data transmission device 1 monitors the data transmission device 2 shown in the previous example.

上記の説明でデータ伝送装置1のフアームウエ
ア記憶部23に他データ伝送装置に送出すべきフ
アームウエアをすでに格納している条件のもとで
説明したが、第1図,第3図および第7図を用い
て簡単に説明すると、データ伝送装置1が立上る
と、データ伝送装置1のプロセツサ22が、制御
線群56、データバス51を通じてI/Oポート
26をアクセスし、更にインタフエース15を通
してフロツピイデイスク装置5にアクセスするこ
とでフアームウエアQ,R,SおよびTを読出
し、フアームウエアQ,R,SおよびTがフアー
ムウエア記憶部23に信号線群61およびデータ
バス71を通して書込まれる。このとき、フアー
ムウエア状態情報のP,Q,R,SおよびTの値
を1にセツトし、制御記憶部24に書込む。従つ
て、ロードコマンドフレームBが各データ伝送装
置に送出する場合、すでにフアームウエアQ,
R,SおよびTがフアームウエア記憶部23に書
込まれていることになる。
In the above explanation, the explanation was given under the condition that the firmware to be sent to another data transmission apparatus is already stored in the firmware storage unit 23 of the data transmission apparatus 1. To explain briefly using a diagram, when the data transmission device 1 is started up, the processor 22 of the data transmission device 1 accesses the I/O port 26 through the control line group 56 and the data bus 51, and then accesses the I/O port 26 through the interface 15. The firmware Q, R, S, and T are read by accessing the floppy disk device 5, and the firmware Q, R, S, and T are written into the firmware storage section 23 through the signal line group 61 and the data bus 71. It will be done. At this time, the values of P, Q, R, S, and T of the firmware status information are set to 1 and written into the control storage section 24. Therefore, when load command frame B is sent to each data transmission device, firmware Q,
This means that R, S and T have been written in the firmware storage section 23.

以上、ロードコマンドフレームBをデータ伝送
装置1から送信する場合、フアームウエア記憶部
23からフアームウエアを読出すことにしていた
が、直接フロツピイデイスク装置5にアクセスす
ることにより、ロードコマンドフレームBを生成
しても良い。
As described above, when transmitting the load command frame B from the data transmission device 1, the firmware was read from the firmware storage section 23, but by directly accessing the floppy disk device 5, the load command frame B may be generated.

また、各データ伝送装置の制御記憶部24に書
込まれるフアームウエア状態情報の初期設定はプ
ロセツサ22の内部にDIPスイツチ(人手でビツ
ト単位毎に0又は1の値に設定できる)を設け、
プロセツサ22が立上げのときだけ、“DIP”ス
イツチの内容を読み、制御記憶部24にフアーム
ウエア状態情報として書込むことで容易に実現で
きる。
In addition, a DIP switch (which can be manually set to a value of 0 or 1 for each bit) is provided inside the processor 22 to initialize the firmware status information written to the control storage unit 24 of each data transmission device.
This can be easily realized by reading the contents of the "DIP" switch only when the processor 22 is started up and writing it into the control storage section 24 as firmware status information.

上記の説明のようなデータ伝送装置1が定めら
れた時間単位毎に見るようにしておけば、伝送路
の立上げ順序に影響することなく、例えばデータ
伝送装置1を最後に立上げたとしても確実に各デ
ータ伝送装置に必要なフアームウエアをロードす
ることができる。
If the data transmission device 1 as explained above is configured to monitor the information every predetermined time unit, it will not affect the order in which the transmission lines are started up, even if the data transmission device 1 is started up last. It is possible to reliably load the necessary firmware to each data transmission device.

上述の例では、ループ状伝送路を介したデータ
伝送装置に対する場合を例にとつて説明したが、
本発明はこれに限定されるものではなく、例え
ば、第8図に示すように、データ伝送装置101
がデータ伝送装置102に伝送路511を介して
情報の伝送を行う方法と、第9図に示すように、
データ伝送装置111がデータ伝送装置112に
伝送路611を介して情報の伝送を行う方法と、
第10図に示すように、データ伝送装置711が
データ伝送装置712に情報の伝送を行寸法およ
びデータ伝送装置711がデータ伝送装置721
に情報の伝送を行う方法(コマンド転送途中にあ
るデータ伝送装置の処理はコマンドを変換する処
理があるだけで他は全く上記例と同じ)などが考
えられるが、これらはすべて本発明に含まれる。
In the above example, the case was explained using a data transmission device via a loop-shaped transmission path.
The present invention is not limited to this, but for example, as shown in FIG.
As shown in FIG.
A method for data transmission device 111 to transmit information to data transmission device 112 via transmission path 611;
As shown in FIG.
(The processing of the data transmission device in the middle of command transfer is the same as the above example except for the processing of converting the command), but all of these are included in the present invention. .

なお、上記第9図の113,114はそれぞれ
データ伝送装置を示し、第10図の121〜12
8および713,722〜723はそれぞれデー
タ伝送装置を示す。
Note that 113 and 114 in FIG. 9 above each indicate a data transmission device, and 121 to 12 in FIG.
8, 713, and 722-723 indicate data transmission devices, respectively.

また上記の説明ではフアームウエアをロードに
ついて明記したが、ソフトウエアのロードについ
ても用語が入れ変るだけで本発明の請求範囲に含
まれることは言うまでもない。
Further, in the above description, loading of firmware was specified, but needless to say, loading of software is also included in the scope of the present invention, just by changing the terminology.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は各データ伝送装置
に必要なフアームウエア(あるいはソフトウエ
ア)がロードされているかどうかの判別できる状
態情報を設け、特定のデータ伝送装置から他デー
タ伝送装置の情報をあらかじめ定められた時間毎
に読みに行き、ロードされていなければ必要なフ
アームウエア(あるいはソフトウエア)をロード
することにより、特定のデータ伝送を除き、ブー
トロード専用の装置を接続する必要がなく、又、
運用中でのデータ伝送装置の立上げでも確実に必
要なフアームウエア(あるいはソフトウエア)を
ロードできるいう効果がある。
As explained above, the present invention provides status information that allows it to be determined whether or not the necessary firmware (or software) is loaded on each data transmission device, and allows information on other data transmission devices to be obtained from a specific data transmission device in advance. By reading the data at set intervals and loading the necessary firmware (or software) if it is not loaded, there is no need to connect a dedicated bootload device, except for specific data transmission. ,
This has the advantage that necessary firmware (or software) can be reliably loaded even when starting up a data transmission device during operation.

更に、本発明では、データ伝送装置の一つが、
他のデータ伝送装置の第1及び第2の状態情報を
読むことで他のデータ伝送装置単位毎にロードす
べきフアームウエアあるいはソウトウエアの内容
が種別でき、どのフアームウエアあるいはソフト
ウエアをデータ伝送装置単位毎にロードすべきか
識別できるため、管理が容易である。特に、ロー
ドされる側のデータ伝送装置の構成変更に伴つ
て、システムダウンすることなく、フアームウエ
アあるいはソフトウエアの種別もロードされる側
のデータ伝送装置単独でできるため、ロードされ
る側のデータ伝送装置だけ注目すればよく作業上
効率がよいという効果がある。
Furthermore, in the present invention, one of the data transmission devices is
By reading the first and second status information of other data transmission devices, the content of the firmware or software to be loaded for each other data transmission device can be classified, and which firmware or software should be loaded for each data transmission device. Management is easy because it is possible to identify whether to load each time. In particular, when changing the configuration of the data transmission device on the loaded side, the type of firmware or software can be changed by the data transmission device on the loaded side without system down. The effect is that you only need to pay attention to the transmission device, and the work is more efficient.

【図面の簡単な説明】[Brief explanation of the drawing]

第1図は本発明の一実施例を示すブロツク図、
第2図は本発明の適用されるデータ伝送システム
の例を示すブロツク図、第3図は第1図の伝送路
制御回路に係る部分を抽出した構成例を示すブロ
ツク図、第4図は本発明に適用される一般的なフ
レームの形式を示す説明図、第5図はフアームウ
エア状態情報の形式を示す説明図、第6図は送信
用状態情報の形式を示す説明図、第7図は第1図
のI/Oポートに接続された装置を含むブロツク
図、第8図,第9図および第10図は本発明に適
用されるデータ伝送システムの他の例を示すブロ
ツク図である。 1〜5,101,102,111〜114,1
21〜127,711〜713,721〜723
……データ伝送装置、11〜13,511,61
1……伝送路、21……伝送路制御回路、22…
…プロセツサ、23……フアームウエア記憶部、
24……制御記憶部、25……タイマ、26……
I/Oポート部、27……ROM部、31……フ
レーム検出回路、32……フレーム受信回路、3
3……フレーム送信回路、41〜43……信号
線、53,55,57……割込線、61,61…
…制御およびアドレス線、51,71……データ
バス、82……データ線、52,54,56……
制御線群、81……アドレス線、15……インタ
フエース。
FIG. 1 is a block diagram showing one embodiment of the present invention;
FIG. 2 is a block diagram showing an example of a data transmission system to which the present invention is applied, FIG. 3 is a block diagram showing an example of a configuration in which the portion related to the transmission line control circuit of FIG. 1 is extracted, and FIG. FIG. 5 is an explanatory diagram showing the format of firmware status information; FIG. 6 is an explanatory diagram showing the format of transmission status information; FIG. 7 is an explanatory diagram showing the format of the transmission status information. FIG. 1 is a block diagram including devices connected to the I/O port, and FIGS. 8, 9, and 10 are block diagrams showing other examples of data transmission systems to which the present invention is applied. 1-5, 101, 102, 111-114, 1
21-127, 711-713, 721-723
...Data transmission device, 11-13,511,61
1... Transmission line, 21... Transmission line control circuit, 22...
...Processor, 23... Firmware storage section,
24... Control storage unit, 25... Timer, 26...
I/O port section, 27...ROM section, 31...Frame detection circuit, 32...Frame reception circuit, 3
3... Frame transmission circuit, 41-43... Signal line, 53, 55, 57... Interrupt line, 61, 61...
...Control and address lines, 51, 71...Data bus, 82...Data lines, 52, 54, 56...
Control line group, 81...address line, 15...interface.

Claims (1)

【特許請求の範囲】 1 情報の伝送を行う伝送路と、この伝送路に接
続され前記情報の授受を行う複数のデータ伝送装
置とを有する伝送方式において、 各データ伝送装置は、各データ伝送装置に必要
なすべてのフアームウエアあるいはソフトウエア
がロードされているか否かを示す第1の状態情報
と、各データ伝送装置に必要なすべてのフアーム
ウエアあるいはソフトウエアのうち、ロードされ
ていない前記フアームウエアあるいは前記ソフト
ウエアの種類を指示する第2の状態情報とを格納
する手段を有し、 前記複数のデータ伝送装置のうちの1つは、 あらかじめ決められた時間毎に前記伝送路を介
して他のデータ伝送装置の前記第1及び前記第2
の状態情報を見に行く手段と、 前記第1の状態情報がすべてのフアームウエア
あるいはソフトウエアがロードされていないこと
を示しているデータ伝送装置に対して、前記第2
の状態情報が指示している前記フアームウエアあ
るいは前記ソフトウエアの種類に対応した前記フ
アームウエアあるいは前記ソフトウエアを、ロー
ドする手段とを備えたことを特徴とするデータ伝
送方式。
[Claims] 1. In a transmission system having a transmission path for transmitting information and a plurality of data transmission devices connected to this transmission path for exchanging the information, each data transmission device First status information indicating whether or not all firmware or software required for each data transmission device has been loaded; or second status information indicative of the type of the software, and one of the plurality of data transmission devices transmits the data to the other device via the transmission path at predetermined intervals. said first and said second data transmission device of
means for accessing status information of the second data transmission device, wherein the first status information indicates that all firmware or software is not loaded;
1. A data transmission system comprising means for loading said firmware or said software corresponding to the type of said firmware or said software indicated by the status information.
JP60226950A 1985-10-14 1985-10-14 Data transmission system Granted JPS6286938A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60226950A JPS6286938A (en) 1985-10-14 1985-10-14 Data transmission system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60226950A JPS6286938A (en) 1985-10-14 1985-10-14 Data transmission system

Publications (2)

Publication Number Publication Date
JPS6286938A JPS6286938A (en) 1987-04-21
JPH0553335B2 true JPH0553335B2 (en) 1993-08-09

Family

ID=16853154

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60226950A Granted JPS6286938A (en) 1985-10-14 1985-10-14 Data transmission system

Country Status (1)

Country Link
JP (1) JPS6286938A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55121536A (en) * 1979-03-13 1980-09-18 Omron Tateisi Electronics Co Communication controller
JPS59111528A (en) * 1982-12-17 1984-06-27 Yokogawa Hokushin Electric Corp Decentralized data processor
JPS59123040A (en) * 1982-12-29 1984-07-16 Fujitsu Ltd Down-loading control system
JPS616749A (en) * 1984-06-20 1986-01-13 Fujitsu Ltd Loading method of communication control processor

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS55121536A (en) * 1979-03-13 1980-09-18 Omron Tateisi Electronics Co Communication controller
JPS59111528A (en) * 1982-12-17 1984-06-27 Yokogawa Hokushin Electric Corp Decentralized data processor
JPS59123040A (en) * 1982-12-29 1984-07-16 Fujitsu Ltd Down-loading control system
JPS616749A (en) * 1984-06-20 1986-01-13 Fujitsu Ltd Loading method of communication control processor

Also Published As

Publication number Publication date
JPS6286938A (en) 1987-04-21

Similar Documents

Publication Publication Date Title
JPH0776932B2 (en) Data transmission method
JPH0553335B2 (en)
JPS623361A (en) Status report system
JPH0981533A (en) Inter-processor data transfer system and ring buffer memory for the same
JPH0553334B2 (en)
JPS633351B2 (en)
KR930001588B1 (en) Microprocessor
JPS61165160A (en) Bus controlling system
JPH02210931A (en) Data transmission system
JPS6286939A (en) Data transmission system
JPH0576821B2 (en)
JP3012402B2 (en) Information processing system
JPS6253046A (en) Communication equipment for data of industrial robot
JP2508982B2 (en) In-device control method
JP3594952B2 (en) A link between the central system and the satellite system to perform operations of the central system
JPH01113847A (en) Data transmission system
JPH0315217B2 (en)
JPS6378257A (en) Input-output controller
JPH0237458A (en) Bus control system for redundant bus constitution
JPH0589022A (en) Information processor
JPH0272443A (en) Data processor
JPH0527146B2 (en)
JPS6388644A (en) Central processing unit
JPH11212898A (en) Peripheral storage controller and its data transfer method
JPH01158554A (en) Data processing system providing dma device