JP2000020414A - Method and device for diagnosing fault of shared bus - Google Patents

Method and device for diagnosing fault of shared bus

Info

Publication number
JP2000020414A
JP2000020414A JP10192112A JP19211298A JP2000020414A JP 2000020414 A JP2000020414 A JP 2000020414A JP 10192112 A JP10192112 A JP 10192112A JP 19211298 A JP19211298 A JP 19211298A JP 2000020414 A JP2000020414 A JP 2000020414A
Authority
JP
Japan
Prior art keywords
diagnostic
bus
shared bus
line
pattern
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10192112A
Other languages
Japanese (ja)
Inventor
Toshiyuki Amezutsumi
俊之 雨堤
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
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP10192112A priority Critical patent/JP2000020414A/en
Publication of JP2000020414A publication Critical patent/JP2000020414A/en
Pending legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PROBLEM TO BE SOLVED: To improve the separation performance of a fault position by collating a transmitted diagnostic pattern with a returned diagnostic pattern by a diagnostic module and separating a fault position between a shared bus and a processing module. SOLUTION: A bus diagnosis function part 110 in a diagnostic module 103 outputs a bus diagnosis instruction to a diagnosis return function part 111 in a processing module 104 to be a target through a diagnostic line 102 and sets up a return route between a signal line of a shared bus 101 specified by the function part 111 and the diagnostic line 102. Then the function part 110 sends a diagnostic pattern to the specified signal line of the shared bus 101 or the diagnostic line 102, collates a returned and received diagnostic pattern with the transmitted diagnostic pattern and separates a fault position between the shared bus 101 and each processing module 104.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、共有バス障害診断
方法及び装置に関し、特に共有バスとこれに接続された
処理モジュール間の障害箇所を詳細に切り分け判定する
障害診断方法及び装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method and an apparatus for diagnosing a fault in a shared bus, and more particularly to a method and an apparatus for diagnosing a fault between a shared bus and a processing module connected thereto.

【0002】[0002]

【従来の技術】従来の共有バス障害診断方式としては、
例えば、特開平7−182254号公報記載の「バス障
害試験方式」(図1参照、従来技術(1))が知られて
おり、該公報記載のバス障害試験方式では、共通バスに
接続されるCPU、メモリ及び複数のI/O部に、それ
ぞれ試験パターン発生回路部、試験パターン受信回路
部、照合結果報告回路部及び照合結果収集回路部を設
け、何れかの試験パターン発生回路部から共通バス上に
試験パターンが送信されると、この試験パターンを各々
の試験パターン受信回路部で照合すると共に、その照合
結果のデータは、各々の照合結果報告回路部から試験パ
ターンの送信元の照合結果収集回路部へ送信して収集さ
せるようにしている。また、共通バスの一部として試験
線を設け、この試験線上の制御信号のタイミングに基づ
き試験パターンの送信及び照合結果の送信を行うように
している。
2. Description of the Related Art Conventional shared bus fault diagnosis methods include:
For example, a "bus failure test method" (see FIG. 1, prior art (1)) described in Japanese Patent Application Laid-Open No. 7-182254 is known. In the bus failure test method described in the publication, a bus is connected to a common bus. A test pattern generation circuit, a test pattern reception circuit, a verification result report circuit, and a verification result collection circuit are provided in the CPU, the memory, and the plurality of I / O units, respectively. When the test pattern is transmitted above, this test pattern is collated by each test pattern receiving circuit unit, and the data of the collation result is collected from each collation result report circuit unit by the collation result of the source of the test pattern. The information is transmitted to the circuit unit and collected. In addition, a test line is provided as a part of the common bus, and a test pattern and a verification result are transmitted based on the timing of a control signal on the test line.

【0003】また、特開平2−133848号公報記載
の「共通バス診断方式」(図1参照、従来技術(2))
では、チャネル制御装置等の主装置に、入出力制御装置
等の従装置の接続順番を示す実装テーブルを設けて、共
通バスの診断時にその実装テーブルによる接続順番に従
って従装置を指定して診断プログラムを実装する。ここ
で、従装置への診断プログラムは共通バス上で実行され
る。
A "common bus diagnostic system" described in Japanese Patent Application Laid-Open No. 2-133848 (see FIG. 1, prior art (2))
In the diagnostic program, a master device such as a channel control device is provided with a mounting table indicating the order of connection of slave devices such as an input / output control device. Implement Here, the diagnostic program for the slave device is executed on the common bus.

【0004】[0004]

【発明が解決しようとする課題】従来のバス障害の切り
分け方式では、バス上の各I/Oに対して順番にバスオ
ーダを送出して障害確認を行ったり、また各I/Oが実
施した診断結果の読み取りをバスを介して行っていたた
め、バス故障等の場合に指定以外のI/Oの誤応答やデ
ータ誤などにより正常I/Oとの通信結果が異常となり
障害箇所の判断を誤る可能性があった。
In the conventional bus fault isolation system, a bus order is sent to each I / O on the bus in order to confirm the fault, and a diagnosis performed by each I / O is performed. Since the result was read via the bus, in the event of a bus failure, etc., the result of communication with the normal I / O becomes abnormal due to erroneous response of I / O other than specified or erroneous data. There was sex.

【0005】例えば、従来技術(1)のバス障害試験装
置の場合には、試験パターン照合結果をアドレスバス及
びデータバスを使用して報告しているため、共通バスの
アドレス信号線またはデータ信号線の一部に故障が発生
していた場合、照合結果報告回路から送信された照合結
果情報が誤った内容で照合結果収集回路に受信される可
能性があり、これにより障害箇所の判断を誤るおそれが
ある。
For example, in the case of the bus failure test apparatus of the prior art (1), since the test pattern comparison result is reported using the address bus and the data bus, the address signal line or the data signal line of the common bus is used. If a failure occurs in a part of the verification result, the verification result information transmitted from the verification result reporting circuit may be received by the verification result collection circuit with incorrect contents, which may result in an erroneous determination of the failure location. There is.

【0006】また、従来技術(2)のバス診断方式の場
合には、従装置のアドレス受信回路の故障等により主装
置が指定したアドレスとは別の従装置が誤って応答し、
指定されたアドレスの従装置からの応答が正常に主装置
で受信できなくなる可能性があり、これにより正常な従
装置を誤って故障と判断してしまうおそれがある。
Further, in the case of the bus diagnostic system of the prior art (2), a slave device different from the address designated by the master device erroneously responds due to a failure of the address receiving circuit of the slave device, etc.
There is a possibility that a response from the slave device at the designated address cannot be normally received by the main device, and this may cause a normal slave device to be erroneously determined to have failed.

【0007】(発明の目的)本発明の目的は、共有バス
及びこれに接続される処理装置との間で発生したバス障
害に対する診断において、障害箇所の切り分け性能を向
上させることにある。
(Object of the Invention) It is an object of the present invention to improve the performance of isolating a fault location in a diagnosis of a bus fault occurring between a shared bus and a processing device connected thereto.

【0008】[0008]

【課題を解決するための手段】本発明の共有バス障害診
断方法は、共有バスと診断線に診断モジュールと複数の
処理モジュールとが接続された処理装置の共有バス障害
診断方法であって、前記診断モジュールは、前記共有バ
ス又は診断線を介して各処理モジュールに対して診断制
御情報及び診断パターンを送信し、前記各処理モジュー
ルは、前記共有バス又は前記診断線を介して受信した前
記診断パターンを前記診断線又は共有バスを介して折り
返し、前記診断モジュールは、前記診断線又は前記共有
バスに折り返された診断パターンを受信し、送信した診
断パターンと折り返された診断パターンとを照合するこ
とにより、共有バスと処理モジュール間の障害箇所の切
り分けを行うことを特徴とする。
According to the present invention, there is provided a method for diagnosing a shared bus fault in a processing apparatus in which a diagnostic module and a plurality of processing modules are connected to a shared bus and a diagnostic line. The diagnostic module transmits diagnostic control information and a diagnostic pattern to each processing module via the shared bus or the diagnostic line, and each processing module transmits the diagnostic pattern received via the shared bus or the diagnostic line. The diagnostic module is returned via the diagnostic line or the shared bus, the diagnostic module receives the diagnostic pattern returned to the diagnostic line or the shared bus, and compares the transmitted diagnostic pattern with the returned diagnostic pattern. In addition, a fault location between the shared bus and the processing module is isolated.

【0009】また、前記診断線は、診断線制御ハイウェ
イと診断線折り返しハイウェイ、前記共有バスは、アド
レスバスとデータバスとからなる。各信号線毎のパター
ン折り返し診断を行うことで、前記共有バスと前記各処
理モジュールの障害箇所の切り分けを行う本発明の共有
バス障害診断装置は、共有バスと診断線に診断モジュー
ルと複数の処理モジュールとが接続された処理装置の共
有バス障害診断装置であって、前記診断モジュールは、
前記共有バス又は前記診断線に診断パターンを送出し、
前記診断パターンと前記診断線又は前記共有バスから受
信された診断パターンとを照合することにより共有バス
と処理モジュール間の障害箇所の切り分けを行なうバス
診断機能部を有し、各処理モジュールは、前記共有バス
と前記診断線との間で前記診断パターンの折り返しルー
トを設定して前記診断パターンを折り返す診断折り返し
機能部を有することを特徴とする。
The diagnostic line includes a diagnostic line control highway and a diagnostic line return highway, and the shared bus includes an address bus and a data bus. The shared bus fault diagnostic apparatus of the present invention, which performs a pattern return diagnosis for each signal line to isolate a fault location between the shared bus and each processing module, provides a diagnostic module and a plurality of processing modules for a shared bus and a diagnostic line. A shared bus failure diagnostic device for a processing device connected to a module, wherein the diagnostic module comprises:
Sending a diagnostic pattern to the shared bus or the diagnostic line,
A bus diagnostic function unit that performs isolation of a fault location between the shared bus and the processing module by comparing the diagnostic pattern with the diagnostic line or the diagnostic pattern received from the shared bus, and each processing module includes: The diagnostic pattern is characterized by having a diagnostic return function unit that sets a return route of the diagnostic pattern between a shared bus and the diagnostic line to return the diagnostic pattern.

【0010】(作用)共有バスに診断モジュールと複数
の処理モジュールとが接続された処理装置に、診断線制
御ハイウェイ、診断線折り返しハイウェイ等の診断線を
設け、診断モジュールは、各処理モジュールが診断線と
共有バスとの間で設定した折り返しルートを介して診断
パターンを送受して照合し、障害箇所を切り分け判定す
る。共有バスのアドレスバス及びデータバスの各信号線
毎に折り返しルートを設定して詳細な障害箇所の診断を
行う。
(Operation) In a processing device in which a diagnostic module and a plurality of processing modules are connected to a shared bus, diagnostic lines such as a diagnostic line control highway and a diagnostic line return highway are provided. A diagnostic pattern is transmitted / received via a loopback route set between the line and the shared bus, collated, and a fault location is isolated and determined. A return route is set for each signal line of the address bus and the data bus of the shared bus, and a detailed failure location diagnosis is performed.

【0011】[0011]

【発明の実施の形態】図1は、本発明の共有バス障害診
断方法及び装置の原理を示す構成図である。本発明の共
有バス障害診断方法が実施される複数の処理モジュール
からなるデータ処理装置は、診断モジュール103と複
数の処理モジュール104とが共有バス101及び診断
線102に接続された基本構成を有する。
FIG. 1 is a block diagram showing the principle of a method and apparatus for diagnosing a shared bus fault according to the present invention. A data processing apparatus including a plurality of processing modules for implementing the shared bus failure diagnosis method of the present invention has a basic configuration in which a diagnostic module 103 and a plurality of processing modules 104 are connected to a shared bus 101 and a diagnostic line.

【0012】診断モジュール103は、処理モジュール
104に対する共有バス障害診断の制御を行い、診断パ
ターンの送出と処理モジュール104で折り返される診
断パターンの照合処理を行うバス診断機能部110を有
する。
The diagnostic module 103 has a bus diagnostic function unit 110 for controlling the shared bus failure diagnosis for the processing module 104, transmitting the diagnostic pattern and collating the diagnostic pattern returned by the processing module 104.

【0013】各処理モジュール104は、共有バス10
1を介して情報の転送を行い、また、診断折り返し機能
部111を有し、前記診断線102を介して各処理モジ
ュール104と接続される。診断折り返し機能部111
は、共有バス101と診断線102との間で折り返しル
ートを設定し、バス診断機能部110から送信される診
断パターンをその間で折り返し送信する。
Each processing module 104 includes a shared bus 10
1 and has a diagnostic loopback function unit 111, and is connected to each processing module 104 via the diagnostic line 102. Diagnosis return function unit 111
Sets a return route between the shared bus 101 and the diagnostic line 102, and returns a diagnostic pattern transmitted from the bus diagnostic function unit 110 between them.

【0014】本データ処理装置の基本動作は以下のとお
りである。診断モジュール103がバス診断を実施する
際、バス診断機能部110は診断線102を介して対象
の処理モジュール104の診断折り返し機能部111に
対してバス診断の指示を出し、診断折り返し機能部11
1では指定された共有バス101の一信号線と診断線1
02の間に折り返しルートを設定する。この後、バス診
断機能部110は、指定した共有バス101の前記信号
線または診断線102に対して診断パターンを送出し、
折り返され受信された診断パターンを送信した診断パタ
ーンと照合する。
The basic operation of the data processing device is as follows. When the diagnostic module 103 performs a bus diagnosis, the bus diagnostic function unit 110 issues a bus diagnostic instruction to the diagnostic return function unit 111 of the target processing module 104 via the diagnostic line 102, and the diagnostic return function unit 11
1 is a signal line and a diagnostic line 1 of the designated shared bus 101.
A return route is set between 02. Thereafter, the bus diagnostic function unit 110 sends a diagnostic pattern to the signal line or diagnostic line 102 of the designated shared bus 101,
The returned diagnostic pattern is collated with the transmitted diagnostic pattern.

【0015】バス診断機能部110は、以上の動作を全
処理モジュールの全アドレス信号線及び全データ信号線
について双方向で実施する。これにより、共有バス10
1と処理モジュール104との間の障害箇所を詳細に切
り分けることが可能となる。
The bus diagnostic function unit 110 performs the above operation bidirectionally for all address signal lines and all data signal lines of all processing modules. Thereby, the shared bus 10
1 and the processing module 104 can be separated in detail.

【0016】次に、本発明の共有バス障害診断方法及び
装置のより具体的な一実施の形態について図面を参照し
て詳細に説明する。
Next, a more specific embodiment of the method and apparatus for diagnosing a shared bus fault of the present invention will be described in detail with reference to the drawings.

【0017】図2は、本実施の形態を示す図である。同
図を参照すると、本実施の形態は診断モジュール103
と処理モジュール104とがアドレスバス201及びデ
ータバス202に接続されたデータ処理装置に関する。
診断モジュール103が各処理モジュール104に対し
てバス診断を実施するために、それらのモジュール間を
診断線制御ハイウェイ204と診断線折り返しハイウェ
イ203で接続した構成を有している。
FIG. 2 is a diagram showing the present embodiment. With reference to FIG.
And a processing module 104 connected to an address bus 201 and a data bus 202.
In order for the diagnosis module 103 to perform bus diagnosis for each processing module 104, the modules are connected by a diagnosis line control highway 204 and a diagnosis line return highway 203.

【0018】診断モジュール103のバス診断機能制御
部213は、診断線制御ハイウェイ204を介して各処
理モジュール104にアドレスバス201またはデータ
バス202と診断線折り返しハイウェイ203または診
断線制御ハイウェイ204の間の折り返しルート設定を
指示する。
The bus diagnostic function control unit 213 of the diagnostic module 103 supplies the processing module 104 with the address bus 201 or the data bus 202 and the diagnostic line return highway 203 or the diagnostic line control highway 204 via the diagnostic line control highway 204. Specify return route setting.

【0019】バス診断対象の処理モジュール104で
は、バス診断機能制御部213から指示を受けた診断折
り返し機能制御部215が診断パターン折り返し部21
4に対して折り返しルートの設定を指示する。この折り
返しルートを設定した後、バス診断機能制御部213は
指定したアドレスバス201またはデータバス202ま
たは診断線制御ハイウェイ204に対して診断パターン
送出部211から診断パターンを送出する。この後、処
理モジュールで折り返された診断パターンは診断モジュ
ールの診断パターン照合部212に入力され、送信した
診断パターンとの照合が行なわれる。
In the processing module 104 to be subjected to the bus diagnosis, the diagnostic return function control unit 215 receiving an instruction from the bus diagnostic function control unit 213 replaces the diagnostic pattern return unit 21.
4 is instructed to set a return route. After setting the return route, the bus diagnostic function control unit 213 transmits a diagnostic pattern from the diagnostic pattern transmission unit 211 to the specified address bus 201, data bus 202, or diagnostic line control highway 204. Thereafter, the diagnostic pattern returned by the processing module is input to the diagnostic pattern matching unit 212 of the diagnostic module, and is compared with the transmitted diagnostic pattern.

【0020】次に、本実施の形態のデータ処理装置にお
ける障害箇所等の詳細な診断動作を説明する。
Next, a detailed diagnosis operation of a fault location and the like in the data processing device of the present embodiment will be described.

【0021】診断モジュール103の診断パターン送信
部211は、アドレスバス201、データバス202、
診断線制御ハイウェイ204の任意の信号線に対して診
断パターンを送出することが可能であり、診断パターン
照合部212もアドレスバス201、データバス20
2、診断線折り返しハイウェイ204の任意の信号線か
ら信号を入力することが可能である。また、処理モジュ
ール104の診断パターン折り返し部214も同様に、
アドレスバス201、データバス202と診断線制御ハ
イウェイ204、診断線折り返しハイウェイ203の間
で折り返しルートを設定することが可能である。従っ
て、バス診断機能制御部213は、双方における信号線
との接続箇所を切り替えることにより、アドレスバス2
01及びデータバス202の全ての信号線について双方
向の試験を実施することが可能となる。
The diagnostic pattern transmitting section 211 of the diagnostic module 103 includes an address bus 201, a data bus 202,
It is possible to transmit a diagnostic pattern to any signal line of the diagnostic line control highway 204, and the diagnostic pattern matching unit 212 also performs address bus 201, data bus 20
2. A signal can be input from any signal line of the diagnostic line turning highway 204. Similarly, the diagnostic pattern turn-over unit 214 of the processing module 104 also
A return route can be set between the address bus 201, the data bus 202, the diagnostic line control highway 204, and the diagnostic line return highway 203. Therefore, the bus diagnostic function control unit 213 switches the connection points with the signal lines on both sides so that the address bus 2
01 and all the signal lines of the data bus 202 can be tested in both directions.

【0022】以上の診断処理を全ての処理モジュール1
04に対して実施することにより、共有バスの障害か、
個別の処理モジュールの障害か、あるいは処理モジュー
ルの送信側の障害か、受信側の障害かを詳細に切り分け
ることが可能となる。
The above diagnostic processing is performed for all processing modules 1
04, the failure of the shared bus,
It is possible to determine in detail whether an individual processing module has a fault, a fault on the transmitting side of the processing module, or a fault on the receiving side.

【0023】次に、診断パターン折り返し部214につ
いてその具体的構成及び動作を詳細に説明する。
Next, the specific structure and operation of the diagnostic pattern folding section 214 will be described in detail.

【0024】図3は、処理モジュール104の診断パタ
ーン折り返し部214の構成を示す図である。ここで
は、共有バス101に接続するモジュール外部のモジュ
ール外部アドレス・データ信号線301と、処理モジュ
ール内部のモジュール内部アドレス・データ信号線30
3とを有し、両アドレス・データ信号線301、314
は、バス入出力インタフェース部314により切り離さ
れている。
FIG. 3 is a diagram showing the configuration of the diagnostic pattern turn-back unit 214 of the processing module 104. Here, a module external address / data signal line 301 outside the module connected to the shared bus 101 and a module internal address / data signal line 30 inside the processing module are connected.
3 and both address / data signal lines 301, 314
Are separated by a bus input / output interface unit 314.

【0025】また、診断パターン折り返し部214は、
モジュール内部アドレス・データ信号線303に接続さ
れたバス診断出力選択部313と、バス診断入力選択部
312と、これらを制御するバス入出力インタフェース
部314に接続されたバス診断折り返し制御部311と
を有している。
The diagnostic pattern turning section 214
A bus diagnostic output selecting unit 313 connected to the module internal address / data signal line 303, a bus diagnostic input selecting unit 312, and a bus diagnostic loopback control unit 311 connected to a bus input / output interface unit 314 that controls these units. Have.

【0026】診断線制御ハイウェイ204及びクロック
・フレームパルス信号線302により、当該処理モジュ
ールが診断モジュールからのバス診断指示を受けた場
合、バス診断折り返し制御部311はバス診断入力選択
部312、バス診断出力選択部313、バス入出力イン
タフェース部314を制御して、要求された共通バスの
信号線と、診断線制御ハイウェイ204あるいは診断線
折り返しハイウェイ203との間に折り返しルートを設
定する。
When the processing module receives a bus diagnosis instruction from the diagnosis module via the diagnosis line control highway 204 and the clock / frame pulse signal line 302, the bus diagnosis return control unit 311 sets the bus diagnosis input selection unit 312 and the bus diagnosis The output selection unit 313 and the bus input / output interface unit 314 are controlled to set a return route between the requested common bus signal line and the diagnostic line control highway 204 or the diagnostic line return highway 203.

【0027】図4、5は、2つのバス診断動作例のタイ
ミングチャートを示す図である。動作基準信号を供給す
る診断線クロック及び診断線フレームパルス信号線30
2、バス診断折り返し制御部311にバス診断の指示を
与える診断線制御ハイウェイ204及び診断線折り返し
ハイウェイ203の各信号線上の信号を示している。図
4に示す「バス診断1」の動作例では、診断モジュール
は診断制御ハイウェイ203を介して診断パターンを送
信し、処理モジュールは前記診断パターンをアドレス・
データバスに折り返すようにした例であり、また、図5
に示す「バス診断2」の動作例では、診断モジュールは
アドレス・データバスを介して診断パターンを送信し、
処理モジュールは前記診断パターンを診断線折り返しハ
イウェイ203に折り返すようにした例である。
FIGS. 4 and 5 are timing charts showing two bus diagnostic operation examples. Diagnostic line clock and diagnostic line frame pulse signal line 30 for supplying an operation reference signal
2. Signals on the signal lines of the diagnostic line control highway 204 and the diagnostic line return highway 203 for giving a bus diagnostic instruction to the bus diagnostic return control unit 311 are shown. In the operation example of “bus diagnosis 1” shown in FIG. 4, the diagnosis module transmits a diagnosis pattern via the diagnosis control highway 203, and the processing module transmits the diagnosis pattern to the address
This is an example in which the data is turned back to the data bus.
In the operation example of “bus diagnosis 2” shown in FIG. 7, the diagnosis module transmits a diagnosis pattern via the address / data bus,
The processing module is an example in which the diagnostic pattern is folded back to the diagnostic line folding highway 203.

【0028】クロック・フレームパルス信号線302で
は、診断モジュールからの診断線のクロック信号と処理
モジュール毎のフレームパルス信号が処理モジュールへ
転送される。
On the clock / frame pulse signal line 302, the clock signal of the diagnostic line from the diagnostic module and the frame pulse signal of each processing module are transferred to the processing module.

【0029】診断線制御ハイウェイ204では、前記ク
ロック信号及びフレームパルス信号に同期して、各処理
モジュールに一意に割り当てられたモジュールIDとモ
ジュールIDで指定された処理モジュールに対する診断
指示内容であるコマンドコードの情報が転送され、図4
に示す「バス診断1」では、更にアドレスバスまたはデ
ータバスへ折り返される診断パターンの各情報が各処理
モジュールへ転送される。また、図5に示す「バス診断
2」では、診断パターンはアドレス・データバスを介し
て処理モジュールへ転送される。
In the diagnostic line control highway 204, in synchronization with the clock signal and the frame pulse signal, a module ID uniquely assigned to each processing module and a command code which is a diagnostic instruction content for the processing module specified by the module ID. Is transferred, and FIG.
In the "bus diagnosis 1" shown in (1), each information of the diagnosis pattern which is further looped back to the address bus or the data bus is transferred to each processing module. In "bus diagnosis 2" shown in FIG. 5, the diagnosis pattern is transferred to the processing module via the address / data bus.

【0030】アドレス・データバス又は診断線折り返し
ハイウェイ203では、それぞれ診断線制御ハイウェイ
から折り返す診断パターン又はアドレス・データバスか
ら折り返す診断パターンが処理モジュールから診断モジ
ュールへ転送される。「バス診断1」及び「バス診断
2」をアドレス・データバスに対して、例えば各バスの
信号線単位で交互に実行することにより診断モジュール
と処理モジュールの間の双方向のパターン折り返し診断
が可能となる。
In the address / data bus or the diagnostic line return highway 203, a diagnostic pattern returned from the diagnostic line control highway or a diagnostic pattern returned from the address data bus is transferred from the processing module to the diagnostic module. By alternately executing “bus diagnosis 1” and “bus diagnosis 2” on the address / data bus, for example, in units of signal lines of each bus, bidirectional pattern return diagnosis between the diagnosis module and the processing module is possible. Becomes

【0031】図6は、モジュールIDと各処理モジュー
ルとの対応例を示す図であり、また、図7は、バス診断
時及び通常動作時のコマンドコードと、該コマンドコー
ドに基づくバス診断折り返し制御部311の動作モード
との対応例を示す図である。アドレスバス及びデータバ
スから診断線折り返しハイウェイへのビット線毎の折り
返し診断、診断線制御ハイウェイからの全バスへの折り
返し診断及び通常動作等のコマンドの例を示している。
具体的には、バス診断時のコマンドコード00(H)〜
3F(H)は、処理モジュールにおいてアドレスバス及
びデータバスの各0〜31ビット線毎に診断パターンを
順次抽出し診断線折り返しハイウェイに該診断パターン
を折り返すことを診断モジュールが指示するコマンドで
あり、コマンドコード40(H)は、診断線制御ハイウ
ェイからの診断パターンを全バスのビット線に同時又は
順次折り返し挿入することを診断モジュールが指示する
コマンドである。また、通常動作時のコマンドコード4
1(H)〜は診断モードを解除するコマンドである。な
お、診断モジュールは、コマンドコードにより指定した
折り返しルート及びタイミングで処理モジュールから折
り返された診断パターンと送信した診断パターンとを照
合して障害箇所を判定する。
FIG. 6 is a diagram showing an example of correspondence between module IDs and respective processing modules. FIG. 7 is a diagram showing command codes at the time of bus diagnosis and normal operation, and a bus diagnosis return control based on the command codes. FIG. 6 is a diagram illustrating an example of correspondence with an operation mode of a unit 311. Examples of commands such as return diagnosis for each bit line from the address bus and data bus to the diagnostic line return highway, return diagnosis to all buses from the diagnostic line control highway, and normal operation are shown.
Specifically, command codes 00 (H) to
3F (H) is a command for the diagnostic module to instruct the processing module to sequentially extract a diagnostic pattern for each of the 0-31 bit lines of the address bus and the data bus and to return the diagnostic pattern to the diagnostic line return highway, The command code 40 (H) is a command for the diagnostic module to instruct that the diagnostic pattern from the diagnostic line control highway be folded and inserted simultaneously or sequentially into the bit lines of all buses. Command code 4 during normal operation
1 (H) to are commands for canceling the diagnostic mode. The diagnostic module determines the location of the failure by comparing the diagnostic pattern returned from the processing module with the transmitted diagnostic pattern at the return route and timing specified by the command code.

【0032】[0032]

【発明の効果】本発明の共有バス障害診断によれば、折
り返しルートを切り替えることにより診断モジュールと
各処理モジュールの間の共バスのパターン折り返し診断
を実施することができるので、複数の処理モジュールが
接続された共有バスで障害が発生した場合、障害箇所の
切り分けを詳細に行うことが可能となり、保守者による
障害解析と障害からの復旧を容易に行うことが可能とな
る。
According to the shared bus failure diagnosis of the present invention, the pattern return diagnosis of the common bus between the diagnosis module and each processing module can be performed by switching the return route. When a failure occurs in the connected shared bus, it is possible to isolate the failure part in detail, and it becomes possible for the maintenance person to easily perform the failure analysis and the recovery from the failure.

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

【図1】本発明の共有バス障害診断方法及び装置の原理
を示す図である。
FIG. 1 is a diagram illustrating the principle of a method and an apparatus for diagnosing a shared bus failure according to the present invention.

【図2】本発明に係る共有バス障害診断方法を適用した
装置の一実施の形態を示すブロック図である。
FIG. 2 is a block diagram showing an embodiment of an apparatus to which a shared bus fault diagnosis method according to the present invention is applied.

【図3】診断折り返し機能部の一実施の形態を示すブロ
ック図である。
FIG. 3 is a block diagram illustrating an embodiment of a diagnostic loopback function unit.

【図4】バス診断動作の一例における図3の診断線とア
ドレス・データバスのタイミングチャートを示す図であ
る。
FIG. 4 is a diagram showing a timing chart of a diagnostic line and an address / data bus in FIG. 3 in an example of a bus diagnostic operation.

【図5】バス診断動作の他の例における図3の診断線と
アドレス・データバスのタイミングチャートを示す図で
ある。
FIG. 5 is a diagram showing a timing chart of a diagnostic line and an address / data bus of FIG. 3 in another example of the bus diagnostic operation.

【図6】図4、5における処理モジュールとモジュール
IDの対応例を示す図である。
FIG. 6 is a diagram showing an example of correspondence between processing modules and module IDs in FIGS.

【図7】図4、5におけるバス診断折り返し制御部の動
作とコマンドコードの対応例を示す図である。
FIG. 7 is a diagram showing an example of the correspondence between the operation of the bus diagnosis loopback control unit and command codes in FIGS.

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

101 共有バス 102 診断線 103 診断モジュール 104 処理モジュール 110 バス診断機能部 111 診断折り返し機能部 201 アドレスバス 202 データバス 203 診断線折り返しハイウェイ 204 診断線制御ハイウェイ 211 診断パターン送出部 212 診断パターン照合部 213 バス診断機能制御部 214 診断パターン折り返し部 215 診断折り返し機能制御部 301 モジュール外部アドレス・データ信号線 302 クロック・フレームパルス信号線 303 モジュール内部アドレス・データ信号線 311 バス診断折り返し制御部 312 バス診断入力選択部 313 バス診断出力選択部 314 バス入出力インタフェース部 DESCRIPTION OF SYMBOLS 101 Shared bus 102 Diagnostic line 103 Diagnostic module 104 Processing module 110 Bus diagnostic function unit 111 Diagnostic return function unit 201 Address bus 202 Data bus 203 Diagnostic line return highway 204 Diagnostic line control highway 211 Diagnostic pattern sending unit 212 Diagnostic pattern matching unit 213 Bus Diagnostic function control unit 214 Diagnostic pattern return unit 215 Diagnostic return function control unit 301 Module external address / data signal line 302 Clock / frame pulse signal line 303 Module internal address / data signal line 311 Bus diagnostic return control unit 312 Bus diagnostic input selection unit 313 bus diagnostic output selector 314 bus input / output interface

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】 共有バスと診断線に診断モジュールと複
数の処理モジュールとが接続された処理装置の共有バス
障害診断方法であって、 前記診断モジュールは、前記共有バス又は診断線を介し
て各処理モジュールに対して診断制御情報及び診断パタ
ーンを送信し、前記各処理モジュールは、前記共有バス
又は前記診断線を介して受信した前記診断パターンを前
記診断線又は共有バスを介して折り返し、前記診断モジ
ュールは、前記診断線又は前記共有バスに折り返された
診断パターンを受信し、送信した診断パターンと折り返
された診断パターンとを照合することにより、共有バス
と処理モジュール間の障害箇所の切り分けを行うことを
特徴とする共有バス障害診断方法。
1. A method of diagnosing a shared bus fault in a processing device in which a diagnostic module and a plurality of processing modules are connected to a shared bus and a diagnostic line, wherein the diagnostic module is configured to perform each of the diagnostic modules via the shared bus or a diagnostic line. The diagnostic module transmits diagnostic control information and a diagnostic pattern to a processing module, and the processing modules return the diagnostic pattern received via the shared bus or the diagnostic line via the diagnostic line or the shared bus, and The module receives the diagnostic pattern looped back to the diagnostic line or the shared bus, and compares the transmitted diagnostic pattern with the looped-back diagnostic pattern to isolate a fault location between the shared bus and the processing module. A method for diagnosing a shared bus failure, characterized in that:
【請求項2】 前記診断線は、診断線制御ハイウェイと
診断線折り返しハイウェイとからなり、前記診断モジュ
ールは、前記共有バス又は前記診断線制御ハイウェイに
前記診断パターンを送信し、前記各処理モジュールは、
共有バスから受信した前記診断パターンを診断線折り返
しハイウェイに又は前記診断線制御ハイウェイから受信
した前記診断パターンを前記共有バスへ折り返すことを
特徴とする請求項1記載の共有バス障害診断方法。
2. The diagnostic line includes a diagnostic line control highway and a diagnostic line return highway. The diagnostic module transmits the diagnostic pattern to the shared bus or the diagnostic line control highway. ,
The diagnostic method according to claim 1, wherein the diagnostic pattern received from the shared bus is returned to a diagnostic line return highway or the diagnostic pattern received from the diagnostic line control highway is returned to the shared bus.
【請求項3】 前記共有バスはアドレスバスとデータバ
スとからなり、前記診断モジュールが前記各処理モジュ
ールの折り返しルートを切り替えることにより、前記診
断モジュールと前記各処理モジュール間の前記アドレス
バス及び前記データバスの各信号線毎のパターン折り返
し診断を行い、前記共有バスと前記各処理モジュールの
障害箇所の切り分けを行うことを特徴とする請求項1又
は2記載の共有バス障害診断方法。
3. The shared bus comprises an address bus and a data bus, and the diagnostic module switches a return route of each of the processing modules, so that the address bus and the data between the diagnostic module and each of the processing modules are switched. 3. The shared bus fault diagnosis method according to claim 1, wherein a pattern loopback diagnosis is performed for each signal line of the bus, and a fault location of the shared bus and each of the processing modules is isolated.
【請求項4】 共有バスと診断線に診断モジュールと複
数の処理モジュールとが接続された処理装置の共有バス
障害診断装置であって、 前記診断モジュールは、前記共有バス又は前記診断線に
診断パターンを送出し、前記診断パターンと前記診断線
又は前記共有バスから受信された診断パターンとを照合
することにより共有バスと処理モジュール間の障害箇所
の切り分けを行なうバス診断機能部を有し、各処理モジ
ュールは、前記共有バスと前記診断線との間で前記診断
パターンの折り返しルートを設定して前記診断パターン
を折り返す診断折り返し機能部を有することを特徴とす
る共有バス障害診断装置。
4. A shared bus fault diagnostic device for a processing device in which a diagnostic module and a plurality of processing modules are connected to a shared bus and a diagnostic line, wherein the diagnostic module includes a diagnostic pattern on the shared bus or the diagnostic line. And a bus diagnostic function unit for isolating a fault location between the shared bus and the processing module by comparing the diagnostic pattern with the diagnostic pattern received from the diagnostic line or the shared bus. The shared bus fault diagnostic device, wherein the module has a diagnostic return function unit that sets a return route of the diagnostic pattern between the shared bus and the diagnostic line and returns the diagnostic pattern.
【請求項5】 前記診断線は、診断線制御ハイウェイと
診断線折り返しハイウェイとからなり、前記バス診断機
能部は、前記共有バス又は前記診断線制御ハイウェイに
診断パターンを送出し、前記診断折り返し機能部は、前
記共有バスから受信した前記診断パターンを前記診断線
折り返しハイウェイに又は前記診断線制御ハイウェイか
ら受信した前記診断パターンを前記共有バスに折り返す
ように前記折り返しルートを設定することを特徴とする
請求項4記載の共有バス障害診断装置。
5. The diagnostic line includes a diagnostic line control highway and a diagnostic line loopback highway, wherein the bus diagnostic function unit sends a diagnostic pattern to the shared bus or the diagnostic line control highway, and the diagnostic loopback function. The unit sets the return route so that the diagnostic pattern received from the shared bus is returned to the diagnostic line return highway or the diagnostic pattern received from the diagnostic line control highway is returned to the shared bus. The shared bus fault diagnosis device according to claim 4.
【請求項6】 前記共有バスはアドレスバスとデータバ
スとからなり、前記診断モジュールが前記診断折り返し
機能部の折り返しルートを切り替えることにより、バス
診断機能部と各処理モジュール間の前記アドレスバス及
びデータバスの各信号線毎のパターン折り返し診断を行
い、前記共有バスと前記各処理モジュールの障害箇所の
切り分けを行うことを特徴とする請求項4又は5記載の
共有バス障害診断装置。
6. The address bus and the data bus between the bus diagnostic function unit and each processing module by the diagnostic module switching a return route of the diagnostic return function unit, wherein the shared bus comprises an address bus and a data bus. 6. The shared bus fault diagnosis apparatus according to claim 4, wherein a pattern loopback diagnosis is performed for each signal line of the bus, and a fault location of the shared bus and each processing module is separated.
JP10192112A 1998-07-07 1998-07-07 Method and device for diagnosing fault of shared bus Pending JP2000020414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10192112A JP2000020414A (en) 1998-07-07 1998-07-07 Method and device for diagnosing fault of shared bus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10192112A JP2000020414A (en) 1998-07-07 1998-07-07 Method and device for diagnosing fault of shared bus

Publications (1)

Publication Number Publication Date
JP2000020414A true JP2000020414A (en) 2000-01-21

Family

ID=16285873

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10192112A Pending JP2000020414A (en) 1998-07-07 1998-07-07 Method and device for diagnosing fault of shared bus

Country Status (1)

Country Link
JP (1) JP2000020414A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007514216A (en) * 2003-11-14 2007-05-31 インテル コーポレイション Lane inspection with variable mapping
JP2008046074A (en) * 2006-08-21 2008-02-28 Advantest Corp Testing device
CN103326271A (en) * 2013-06-03 2013-09-25 江苏银佳企业集团有限公司 Drawer-type switch cabinet

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007514216A (en) * 2003-11-14 2007-05-31 インテル コーポレイション Lane inspection with variable mapping
JP2008046074A (en) * 2006-08-21 2008-02-28 Advantest Corp Testing device
CN103326271A (en) * 2013-06-03 2013-09-25 江苏银佳企业集团有限公司 Drawer-type switch cabinet

Similar Documents

Publication Publication Date Title
JPS63171051A (en) Device diagnosing method
US5726638A (en) Method and device for serial communication
US20030101384A1 (en) Data bus arrangement and control method for efficiently compensating for faulty signal lines
JP2000020414A (en) Method and device for diagnosing fault of shared bus
JP3591383B2 (en) Apparatus and method for diagnosing shared bus failure
JPS5941620B2 (en) Loopback method of dual loop transmission system
JPH096943A (en) Fault diagnosing method for image processor
JP2550896B2 (en) Fault diagnosis device
JP2000224210A (en) Monitor control system
JP2636610B2 (en) Backup method
JPS58103250A (en) Data communication controller
JPH06282454A (en) Automatic fault diagnostic system
JPH07182254A (en) Bus fault testing system
JPH10154971A (en) Multiplex communication equipment
JPH06290070A (en) Cable misconnection detecting system
JPS6260860B2 (en)
JPH0652075A (en) Communication emulator device
JPS63227234A (en) Bus fault detecting and diagnosing circuit
JPS61224538A (en) Test system for data communication equipment
JPS62180441A (en) Diagnosis system for transmission bus
JPH04172249A (en) Clinical inspection apparatus
JPS62245463A (en) Data transfer system
JPH11306477A (en) Sensor terminal equipment
JPH05284166A (en) Information transmitting device
JPS6039954A (en) Multiplex communication device for travelling subject