JPH0553334B2 - - Google Patents

Info

Publication number
JPH0553334B2
JPH0553334B2 JP60226949A JP22694985A JPH0553334B2 JP H0553334 B2 JPH0553334 B2 JP H0553334B2 JP 60226949 A JP60226949 A JP 60226949A JP 22694985 A JP22694985 A JP 22694985A JP H0553334 B2 JPH0553334 B2 JP H0553334B2
Authority
JP
Japan
Prior art keywords
data transmission
transmission device
firmware
frame
processor
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
JP60226949A
Other languages
Japanese (ja)
Other versions
JPS6286937A (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 JP60226949A priority Critical patent/JPS6286937A/en
Publication of JPS6286937A publication Critical patent/JPS6286937A/en
Publication of JPH0553334B2 publication Critical patent/JPH0553334B2/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. This invention relates to the loading of software, and particularly to the procedure when accessing a data transmission device on which firmware is not loaded.

〔従来の技術〕[Conventional technology]

従来、この種のデータ伝送方式においては、あ
る伝送装置が、必要とするフアームウエアがロー
ドされていないデータ伝送装置にアクセスしたと
き、アクセスの送信先のデータ伝送装置は、誤動
作したり、アクセスの送信元のデータ伝送装置に
何の報告もなしに無視していた。
Conventionally, in this type of data transmission system, when a certain transmission device accesses a data transmission device that is not loaded with the required firmware, the data transmission device to which the access is sent may malfunction or the access may be interrupted. It was ignored without any report being sent to the data transmission device of the sender.

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

上述のような従来の方式では、必要とするフア
ームウエアがロードされていないアクセスの送信
先のデータ伝送装置が誤動作したり、アクセスの
送信先のデータ伝送装置に何の報告もなしに無視
するために、アクセスの送信元のデータ伝送装置
に何の報告もなしに無視するために、アクセスの
送信元のデータ伝送装置は無応答(タイムアウト
による検出)としてしか判別がつかないようにな
つているので、一種のハードウエア障害と見え、
更にその原因追求にも時間がかかるという欠点が
ある。
With the conventional method described above, the data transmission device at the destination of the access may malfunction because the required firmware is not loaded, or the data transmission device at the destination of the access may ignore it without any report. In addition, since the data transmission device that is the source of the access is ignored without any report, the data transmission device that is the source of the access can only be determined as a non-response (detection due to timeout). , it appears to be a kind of hardware failure.
Another drawback is that it takes time to find the cause.

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

本発明は上記欠点を除去するもので、本発明に
よれば、情報の伝送を行う伝送路と、この伝送路
に接続され前記情報の授受を行う複数のデータ伝
送装置とを有する伝送方式において、前記複数の
データ伝送装置の各々は、前記複数のデータ伝送
装置のうちの他の一つから前記情報の授受のため
にアクセスされたとき、データ伝送装置として必
要とするフアームウエアあるいはソフトウエアが
ロードされていなければ、前記複数のデータ伝送
装置のうちの前記他の一つに、前記アクセスに対
する応答として、前記フアームウエアあるいは前
記ソフトウエアがロードされていないことを、フ
アームウエアあるいはソフトウエアの種別毎に通
知する手段を備えていることを特徴するデータ伝
送方式が得られる。
The present invention aims to eliminate the above-mentioned drawbacks.According to the present invention, in a transmission system having a transmission path for transmitting information and a plurality of data transmission devices connected to this transmission path for sending and receiving the information, Each of the plurality of data transmission devices is loaded with firmware or software required as a data transmission device when accessed by another one of the plurality of data transmission devices to exchange the information. If not, in response to the access, the other one of the plurality of data transmission devices is notified for each type of firmware or software that the firmware or software is not loaded. A data transmission method is obtained, which is characterized in that it includes means for notifying the user.

〔実施例〕〔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ポート2
6、I/Oポート26をアクセスするための制御
線群56、I/Oポート26からプロセツサ22
への割込を示す割込線57、I/Oポート26と
他の装置とのインタフエースを示すインタフエー
ス線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, 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, the data transmission device 1 includes a timer 25 for time monitoring, a control line group 54 for controlling the timer 25, an interrupt line 55 indicating an interrupt from the timer 25 to the processor 22, and other lines other than the loop-shaped transmission line. I/O port 2 for controlling the device
6. Control line group 56 for accessing the I/O port 26, from the I/O port 26 to the processor 22
It consists of an interrupt line 57 that indicates an interrupt to the I/O port 26, and an interface line 15 that indicates an interface between the I/O port 26 and 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 goes to check 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 a frame into the transmission buffer in the 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
When the signal is output, it is assumed that the data has entered the reception buffer normally, and 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 frame 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, the processor 22 of the data transmission device 2 reads the reception buffer in the frame reception circuit 32, learns that the firmware Q has been 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 interrupt line 53 in the processor 22.
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の値
をIにセツトし、制御記憶部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 I 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.

また上述の例では他データ伝送装置からフアー
ムウエアをロードしたときにフアームウエア状態
情報のPの値を0から1にしていたが、第7図の
構成例のようにフロツピイデイスク装置5からデ
ータ伝送装置1に必要なフアームウエアをロード
したときにフアームウエア状態情報のPの値を0
から1にしたとしても、本発明の請求の範囲に含
まれることは言うまでもない。
Furthermore, in the above example, when firmware was loaded from another data transmission device, the value of P in the firmware status information was changed from 0 to 1, but as in the configuration example shown in FIG. When the firmware required for data transmission device 1 is loaded, the value of firmware status information P is set to 0.
It goes without saying that even if it is reduced from 1 to 1, it is within the scope of the claims of the present invention.

更に上述の説明ではフアームウエアのロードに
ついて説明したが、ソフトウエアのロードについ
ても用語が入れ変るだけで本発明の請求の範囲に
含まれることは言うまでもない。
Further, in the above description, loading of firmware has been described, but it goes without saying that loading of software is also included within the scope of the claims 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. When accessing a data transmission device on which the required firmware (or software) has not been loaded, it is possible to detect the reason why the data transmission device that is the source of the access cannot be accessed by notifying that the required firmware (or software) has not been loaded yet. This has the effect of making it possible to handle errors efficiently and quickly.

【図面の簡単な説明】[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)

【特許請求の範囲】[Claims] 1 情報の伝送を行う伝送路と、この伝送路に接
続され前記情報の授受を行う複数のデータ伝送装
置とを有する伝送方式において、前記複数のデー
タ伝送装置の各々は、前記複数のデータ伝送装置
のうちの他の一つから前記情報の授受のためにア
クセスされたとき、データ伝送装置として必要と
するフアームウエアあるいはソフトウエアがロー
ドされていなければ、前記複数のデータ伝送装置
のうちの前記他の一つに、前記アクセスに対する
応答として、前記フアームウエアあるいは前記ソ
フトウエアがロードされていないことを、フアー
ムウエアあるいはソフトウエアの種別毎に通知す
る手段を備えていることを特徴とするデータ伝送
方式。
1. In a transmission method having a transmission path for transmitting information and a plurality of data transmission devices connected to this transmission path for sending and receiving the information, each of the plurality of data transmission devices is connected to the plurality of data transmission devices. If the firmware or software necessary for the data transmission device is not loaded when the other one of the plurality of data transmission devices is accessed for sending and receiving the information, the other one of the plurality of data transmission devices One of the data transmission methods is characterized in that the data transmission method includes means for notifying each type of firmware or software that the firmware or software is not loaded as a response to the access. .
JP60226949A 1985-10-14 1985-10-14 Data transmission system Granted JPS6286937A (en)

Priority Applications (1)

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

Applications Claiming Priority (1)

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

Publications (2)

Publication Number Publication Date
JPS6286937A JPS6286937A (en) 1987-04-21
JPH0553334B2 true JPH0553334B2 (en) 1993-08-09

Family

ID=16853137

Family Applications (1)

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

Country Status (1)

Country Link
JP (1) JPS6286937A (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
JPS6286937A (en) 1987-04-21

Similar Documents

Publication Publication Date Title
US4777595A (en) Apparatus for transferring blocks of information from one node to a second node in a computer network
US7383377B2 (en) Method and apparatus for transferring data
JPH053024B2 (en)
EP0094177B1 (en) Apparatus for direct memory-to-memory intercomputer communication
JPH0553334B2 (en)
JPH0553335B2 (en)
US5592680A (en) Abnormal packet processing system
JPS6286939A (en) Data transmission system
JPS6412144B2 (en)
JPS6253046A (en) Communication equipment for data of industrial robot
JPH0324601A (en) Control method
JPH0152774B2 (en)
JP5076348B2 (en) Shared memory access method
JPH0576821B2 (en)
JPS6159944A (en) Sequence number check system
JPH02210931A (en) Data transmission system
JPH06103222A (en) Bus transfer system
JPS61165160A (en) Bus controlling system
JPS6273843A (en) Test method for data transmission equipment
JPS6257337A (en) Data transmission equipment
JPS605099B2 (en) Local station destination address control method
JPH02201565A (en) Remote ipl control system
JPH01158554A (en) Data processing system providing dma device
JPS6145423B2 (en)
JPH0315217B2 (en)