JPH04340149A - Failure diagnostic system - Google Patents

Failure diagnostic system

Info

Publication number
JPH04340149A
JPH04340149A JP3032638A JP3263891A JPH04340149A JP H04340149 A JPH04340149 A JP H04340149A JP 3032638 A JP3032638 A JP 3032638A JP 3263891 A JP3263891 A JP 3263891A JP H04340149 A JPH04340149 A JP H04340149A
Authority
JP
Japan
Prior art keywords
bus
conversion module
control unit
data
diagnostic
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.)
Granted
Application number
JP3032638A
Other languages
Japanese (ja)
Other versions
JPH0776947B2 (en
Inventor
Naoki Tsukamoto
尚樹 塚本
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.)
PFU Ltd
Original Assignee
PFU 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 PFU Ltd filed Critical PFU Ltd
Priority to JP3032638A priority Critical patent/JPH0776947B2/en
Publication of JPH04340149A publication Critical patent/JPH04340149A/en
Publication of JPH0776947B2 publication Critical patent/JPH0776947B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To obtain a failure diagnostic system capable of easily and rapidly executing the failure diagnosis of a bus conversion module, the division of a fault position, etc., only by the bus conversion module alone without connecting an adaptor or the like to an extended bus. CONSTITUTION:In the failure diagnostic system of the bus conversion module 3 connected between a basic bus 2 for connecting a CPU 1 to a memory 6 and the extended bus 4 connected to an adaptor 5 so as to extend the bus, a bus control part on the extended bus side in the module 3 is separated into a master control part 35 and a slave control part 36 so as to independently operate them and an address and diagnostic data from the master control part 35 are sent to the slave control part 36 through the extended bus 4 and the diagnostic data are sent to the memory 6 by means of DMA transfer to execute the failure diagnosis of the bus conversion module 3.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は故障診断方式に関し、特
に、バス変換モジュールの故障診断に際して、拡張バス
側にアダプタを接続することなくバス変換モジュール単
独で故障診断できるようにした故障診断方式に関する。 このような故障診断は通常、システムの立上がり時や装
置の異常時に行われる。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a fault diagnosis method, and more particularly to a fault diagnosis method that allows failure diagnosis of a bus conversion module by itself without connecting an adapter to the expansion bus side. . Such a failure diagnosis is usually performed when the system is started up or when an abnormality occurs in the device.

【0002】0002

【従来の技術】図4は従来の構成図である。図中、1は
CPU、2は基本バス、3はバス変換モジュール、4は
拡張バス、5はアダプタである。このような構成におい
て、バス変換モジュール3の故障診断を行うには2つの
形態がある。1つはCPU1から基本バス2を経てバス
変換モジュール3内のレジスタにアクセスし、正常に応
答しているか否かを診断する。この場合では特に診断用
のデータを用いずに通常のデータでバス変換モジュール
3の入力側(基本バス側)について診断することができ
る。2つはバス変換モジュール3の出力側(拡張バス側
)の診断である。この場合は、拡張バス4にアダプタ5
を接続し、CPU1からアダプタ5をアクセスし、アダ
プタ5を動作させて正常に動作すれば、システムを含め
てバス変換モジュール3は正常であると判断する。
2. Description of the Related Art FIG. 4 is a diagram showing a conventional configuration. In the figure, 1 is a CPU, 2 is a basic bus, 3 is a bus conversion module, 4 is an expansion bus, and 5 is an adapter. In such a configuration, there are two ways to diagnose the failure of the bus conversion module 3. One is to access the register in the bus conversion module 3 from the CPU 1 via the basic bus 2, and diagnose whether or not it is responding normally. In this case, the input side (basic bus side) of the bus conversion module 3 can be diagnosed using normal data without using any particular diagnostic data. The second diagnosis is for the output side (expansion bus side) of the bus conversion module 3. In this case, connect adapter 5 to expansion bus 4.
If the CPU 1 connects the adapter 5, accesses the adapter 5 from the CPU 1, and operates the adapter 5 normally, it is determined that the bus conversion module 3 including the system is normal.

【0003】従来のこのような故障診断方式は、バス変
換モジュール3内の拡張バス側のバス制御部の機能に起
因するもので、従来、拡張バス4に対してマスタとして
データを送出する制御と、拡張バス4からスレーブとし
てデータを受け取る機能を単一のバス制御部で行ってい
たためである。
[0003] Such a conventional fault diagnosis method originates from the function of the bus control unit on the expansion bus side in the bus conversion module 3, and conventionally, it has been used to control and send data to the expansion bus 4 as a master. This is because a single bus control unit performs the function of receiving data from the expansion bus 4 as a slave.

【0004】0004

【発明が解決しようとする課題】このように従来方式で
は、バス変換モジュールの故障診断を行う場合に、その
拡張バス側の診断では常に拡張バスにアダプタを接続し
て行い、バス変換モジュール単独では行うことができな
い。従って、特に、複数のバス変換モジュールの診断を
行う場合には、その都度アダプタを接続することになり
、そのため故障診断に手間がかかり、異常時の異常箇所
の切り分けにも手間がかかるという問題があった。
[Problems to be Solved by the Invention] In this way, in the conventional method, when diagnosing a failure of a bus conversion module, the diagnosis on the expansion bus side is always performed with an adapter connected to the expansion bus, and the bus conversion module alone cannot be used. can't do it. Therefore, especially when diagnosing multiple bus conversion modules, an adapter must be connected each time, which causes trouble in diagnosing failures and in isolating the location of the abnormality in the event of an error. there were.

【0005】本発明の目的は、拡張バスにアダプタ等を
接続しなくとも、バス変換モジュール単独でその故障診
断及び障害箇所の切り分け等を容易かつ迅速に行うこと
ができる故障診断方式を提供することにある。
[0005] An object of the present invention is to provide a fault diagnosis method that can easily and quickly perform fault diagnosis and isolation of a fault location using a bus conversion module alone, without connecting an adapter or the like to an expansion bus. It is in.

【0006】[0006]

【課題を解決するための手段】図1は本発明の基本構成
図である。図1において、31は基本バス側のバス制御
部、32はPモードアクセスバッファ、33は診断レジ
スタ、34はDMAバッファ、35は拡張バス側マスタ
制御部、36は拡張バス側スレーブ制御部である。図示
のように、本発明では拡張バス側のバス制御部をマスタ
制御部35とスレーブ制御部36に分離し、マスタとし
てデータを送出する機能と、スレーブとしてデータを受
ける機能を分離している。
[Means for Solving the Problems] FIG. 1 is a basic configuration diagram of the present invention. In FIG. 1, 31 is a bus control unit on the basic bus side, 32 is a P mode access buffer, 33 is a diagnostic register, 34 is a DMA buffer, 35 is a master control unit on the expansion bus side, and 36 is a slave control unit on the expansion bus side. . As shown in the figure, in the present invention, the bus control section on the expansion bus side is separated into a master control section 35 and a slave control section 36, and the function of transmitting data as a master and the function of receiving data as a slave are separated.

【0007】[0007]

【作用】本発明では、上述のように、バス変換モジュー
ル内の拡張バス側のバス制御部をマスタ制御部35とス
レーブ制御部36に分離し、拡張バス4にアダプタ5を
接続しなくてもバス変換モジュール3内の自己ボード内
でアクセスできるようにする。そして、診断用データを
診断レジスタに書き込むと、自動的に拡張バス4を経由
して、あたかも拡張バス4に接続されているアダプタ5
からデータが転送されたように見せ、基本バス側のメモ
リ6へデータを送出するようにしている。このように構
成すると、拡張バス4にアダプタ等を接続しなくともバ
ス変換モジュール単独で故障診断できるため、故障診断
及び障害箇所の切り分け等が従来よりも著しく容易にな
る。
[Operation] In the present invention, as described above, the bus control section on the expansion bus side in the bus conversion module is separated into the master control section 35 and the slave control section 36, and the adapter 5 is not connected to the expansion bus 4. It allows access within the own board within the bus conversion module 3. When the diagnostic data is written to the diagnostic register, it is automatically sent to the adapter 5 connected to the expansion bus 4 via the expansion bus 4.
The data is sent to the memory 6 on the basic bus side, making it appear as if the data has been transferred from the main bus. With this configuration, failure diagnosis can be performed by the bus conversion module alone without connecting an adapter or the like to the expansion bus 4, making failure diagnosis and isolation of the fault location much easier than in the past.

【0008】[0008]

【実施例】図2は本発明のバス変換モジュールの一実施
例構成図である。図中、図1と同一構成要素には同一番
号を付す。37は診断制御部、38は拡張バスアービタ
38、39はシステムアービタ、40はレジスタ・リー
ド/ライト制御部である。診断レジスタ3はアドレスレ
ジスタ331とデータレジスタ332を有する。診断制
御部37は制御フラグa,b,cを格納するレジスタを
有する。
Embodiment FIG. 2 is a block diagram of an embodiment of the bus conversion module of the present invention. In the figure, the same components as in FIG. 1 are given the same numbers. 37 is a diagnostic control section, 38 is an expansion bus arbiter 38, 39 is a system arbiter, and 40 is a register read/write control section. The diagnostic register 3 has an address register 331 and a data register 332. The diagnostic control unit 37 has registers that store control flags a, b, and c.

【0009】診断レジスタ33は図2に示すようにアド
レス用のアドレスレジスタとデータ用のデータレジスタ
を有している。診断レジスタ33はアドレスレジスタの
アドレスを拡張バスのアドレスとして出力し、データレ
ジスタのデータを拡張バスのデータとして出力する。ア
ドレスレジスタのアドレスは基本バス2に接続されてい
るメモリ(MSU)6のアドレスを指定する。スレーブ
制御部36はアドレスを見てデータの取り込みを行う。 スレーブ制御部36はデータを取り込むとDMAバッフ
ァ34と基本バス側のバス制御部31を経てメモリ6に
対してデータのDMA転送を行う。
As shown in FIG. 2, the diagnostic register 33 has an address register for addresses and a data register for data. The diagnostic register 33 outputs the address of the address register as the address of the expansion bus, and outputs the data of the data register as the data of the expansion bus. The address of the address register specifies the address of the memory (MSU) 6 connected to the basic bus 2. The slave control unit 36 reads the address and takes in the data. When the slave control section 36 takes in the data, it performs DMA transfer of the data to the memory 6 via the DMA buffer 34 and the bus control section 31 on the basic bus side.

【0010】本発明の処理ステップを以下に詳細に説明
する。CPUは診断データDAとアドレスADDを用意
し、これらは、Pモードアクセスバッファ32を経て、
診断レジスタ33のアドレスレジスタ331とデータレ
ジスタ332へ書き込まれる。診断制御部37の図示し
ない検出部は、アドレスレジスタ331にアドレス情報
ADDが書き込まれたことを検出し、レジスタaの診断
起動フラグを「1」にする。このフラグが「1」になる
と拡張バスアービタ38にバスリクエストBRQを送出
する。診断レジスタ33のアドレスADDとデータDA
はマスタ制御部35に送られ、さらに拡張バス4を経て
スレーブ制御部36に送られ、DMAバッファ34に取
り込まれる。
The processing steps of the present invention will now be described in detail. The CPU prepares diagnostic data DA and address ADD, which are passed through the P mode access buffer 32,
It is written to the address register 331 and data register 332 of the diagnostic register 33. A detection unit (not shown) of the diagnostic control unit 37 detects that address information ADD has been written to the address register 331, and sets the diagnostic activation flag of register a to “1”. When this flag becomes "1", a bus request BRQ is sent to the expansion bus arbiter 38. Address ADD and data DA of diagnostic register 33
is sent to the master control section 35, further sent to the slave control section 36 via the expansion bus 4, and taken into the DMA buffer 34.

【0011】次に、DMAバファ34から基本バス2を
経てメモリ6にアドレスADDとデータDAが転送され
る。DMAバッファ34からメモリ6へのデータ転送が
完了したならば完了通知S1を診断制御部37のレジス
タbに送り、レジスタbから正常終了通知S2をPモー
ドアクセスバッファ32に送る。Pモードバッファ32
はCPUとのアクセスを行うためのバッファであり、一
時的にバスを開放するスプリットアクセスである。Pモ
ードバッファはDMAバッファ34がCPUを経ないで
直接メモリアクセスを行うのと対比している。従って、
Pモードバッファ32は正常終了通知S2と異常終了通
知S3を受けると、スプリット応答サイクルで正常、異
常をCPUへ通知する。また、DMAバッファ34はシ
ステムアービタ39に対してバスリクエストBRQを送
る。
Next, the address ADD and data DA are transferred from the DMA buffer 34 to the memory 6 via the basic bus 2. When the data transfer from the DMA buffer 34 to the memory 6 is completed, a completion notification S1 is sent to the register b of the diagnostic control unit 37, and a normal completion notification S2 is sent from the register b to the P mode access buffer 32. P mode buffer 32
is a buffer for accessing the CPU, and is a split access that temporarily releases the bus. The P-mode buffer is in contrast to the DMA buffer 34, which performs direct memory access without going through the CPU. Therefore,
When the P mode buffer 32 receives the normal end notification S2 and the abnormal end notification S3, it notifies the CPU of normality and abnormality in a split response cycle. Further, the DMA buffer 34 sends a bus request BRQ to the system arbiter 39.

【0012】診断制御部37のレジスタcはDMAバッ
ファ34、マスタ制御部35、スレーブ制御部36等か
らのエラーERを受け異常処理通知S3をPモードバッ
ファ32に送る。そして、CPUはメモリ6に予め書き
込まれた診断データと、診断レジスタ33に書き込まれ
マスタ制御部35、スレーブ制御部36、DMAバッフ
ァ34を経て戻ってきたデータを比較して故障診断を行
う。なお、レジスタ・リード/ライト制御部はPモード
バッファとレジスタの間でレジスタを制御するために設
けられる。
Register c of the diagnostic control section 37 receives the error ER from the DMA buffer 34, master control section 35, slave control section 36, etc. and sends an abnormal processing notification S3 to the P mode buffer 32. Then, the CPU compares the diagnostic data written in advance in the memory 6 with the data written in the diagnostic register 33 and returned via the master control unit 35, slave control unit 36, and DMA buffer 34 to perform failure diagnosis. Note that a register read/write control section is provided between the P mode buffer and the register to control the register.

【0013】図3は本発明の処理シーケンス図である。 図示のように、基本バスを経てCPUからPモードバッ
ファへアドレスと診断データの取り込みがあり、バス変
換モジュール内ではPモードバッファから診断レジスタ
へアドレスと診断データが取り込まれ、拡張バスを経て
診断レジスタからDMAバッファに取り込まれ、基本バ
スを経てDMAバッファからメモリに取り込まれる。一
方、正常終了と異常終了はPモードバッファを経てCP
Uへ応答される。
FIG. 3 is a processing sequence diagram of the present invention. As shown in the figure, addresses and diagnostic data are fetched from the CPU to the P-mode buffer via the basic bus, and within the bus conversion module, addresses and diagnostic data are fetched from the P-mode buffer to the diagnostic register, and then via the expansion bus to the diagnostic register. from the DMA buffer, and from the DMA buffer to the memory via the basic bus. On the other hand, normal termination and abnormal termination are transferred to the CP via the P mode buffer.
A response is sent to U.

【0014】[0014]

【発明の効果】以上説明したように、本発明の構成によ
ば、拡張バスにアダプタ等を接続しなくともバス変換モ
ジュール単独で故障診断できるため、故障診断及び障害
箇所の切り分け等が著しく容易になり、特に、複数のバ
ス変換モジュールを接続するようなシステムでは故障診
断に要する時間を大幅に低減することができる。
[Effects of the Invention] As explained above, according to the configuration of the present invention, failure diagnosis can be performed by the bus conversion module alone without connecting an adapter or the like to the expansion bus, making it extremely easy to diagnose the failure and isolate the location of the failure. This can significantly reduce the time required for fault diagnosis, especially in systems that connect multiple bus conversion modules.

【0015】また、個々の動作、即ち、Pモードバッフ
ァのアクセス、DMAバッファのアクセス、マスタ制御
部の転送、スレーブ制御部の転送、等を診断することも
容易にできる。
Furthermore, individual operations, ie, P-mode buffer access, DMA buffer access, master control unit transfer, slave control unit transfer, etc., can be easily diagnosed.

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

【図1】本発明の基本構成図である。FIG. 1 is a basic configuration diagram of the present invention.

【図2】本発明の一実施例構成図である。FIG. 2 is a configuration diagram of an embodiment of the present invention.

【図3】本発明の処理シーケンス図である。FIG. 3 is a processing sequence diagram of the present invention.

【図4】一般的なシステム構成図である。FIG. 4 is a general system configuration diagram.

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

1…CPU、 2…基本バス、 3…バス変換モジュール、 4…拡張バス、 5…アダプタ 31…バス制御部、 32…Pモードバッファ、 33…診断レジスタ、 34…DMAバッファ、 35…マスタ制御部、 36…スレーブ制御部、 37…診断制御部、 38…拡張バスアービタ、 39…システムバスアービタ。 1...CPU, 2...Basic bus, 3...Bus conversion module, 4...Expansion bus, 5...Adapter 31...bus control unit, 32...P mode buffer, 33...Diagnostic register, 34...DMA buffer, 35...Master control unit, 36...Slave control unit, 37...Diagnosis control unit, 38...Expansion bus arbiter, 39...System bus arbiter.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】  CPUとメモリを接続する基本バス(
1)とアダプタを接続する拡張バス(4)の間に接続さ
れ、バスの拡張を行うバス変換モジュール(3)の故障
診断方式において、該バス変換モジュール内の拡張バス
側のバス制御部をマスタ制御部(35)とスレーブ制御
部(36)に分離して各々独立に動作可能とし、該マス
タ制御部からのアドレス及び診断データを拡張バスを経
て該スレーブ制御部へ送出し、DMA転送により該メモ
リに診断データを送出することにより、該バス変換モジ
ュールの故障診断を行うようにしたことを特徴とする故
障診断方式。
[Claim 1] A basic bus (
In a fault diagnosis method for a bus conversion module (3) that is connected between the expansion bus (4) that connects the bus conversion module 1) and the adapter and that expands the bus, the bus control unit on the expansion bus side in the bus conversion module is mastered. The control unit (35) and the slave control unit (36) are separated and can operate independently, and the address and diagnostic data from the master control unit are sent to the slave control unit via the expansion bus, and the data are transferred by DMA transfer. A fault diagnosis method characterized in that a fault diagnosis of the bus conversion module is performed by sending diagnostic data to a memory.
【請求項2】  該バス変換モジュール内に診断レジス
タ(33)を設け、該診断レジスタはCPUからのアド
レスとデータを受けるアドレスレジスタ及びデータレジ
スタを有する請求項1に記載の故障診断方式。
2. The fault diagnosis method according to claim 1, wherein a diagnostic register (33) is provided in the bus conversion module, and the diagnostic register has an address register and a data register for receiving addresses and data from the CPU.
【請求項3】  該バス変換モジュール内に診断制御部
(37)を設け、該診断制御部は、DMA転送が全て完
了したならば、正常/異常の判断が下せるようにCPU
へ通知する請求項1に記載の故障診断方式。
3. A diagnostic control unit (37) is provided in the bus conversion module, and the diagnostic control unit controls the CPU so that it can determine whether the DMA transfer is normal or abnormal after all DMA transfers are completed.
2. The fault diagnosis method according to claim 1, wherein the fault diagnosis method notifies the user.
【請求項4】  該CPUから該マスタ制御部まではス
プリットアクセスによるPモードでアドレス及びデータ
を転送し、該スレーブ制御部から該メモリへはDMA転
送を行う請求項1に記載の故障診断方式。
4. The failure diagnosis method according to claim 1, wherein addresses and data are transferred from the CPU to the master control unit in P mode using split access, and DMA transfer is performed from the slave control unit to the memory.
【請求項5】  該バス変換モジュールと、該マスタ制
御部及び該スレーブ制御部を単一の基板上に構成した請
求項1に記載の故障診断方式。
5. The failure diagnosis method according to claim 1, wherein the bus conversion module, the master control section, and the slave control section are configured on a single board.
JP3032638A 1991-02-27 1991-02-27 Failure diagnosis method Expired - Lifetime JPH0776947B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3032638A JPH0776947B2 (en) 1991-02-27 1991-02-27 Failure diagnosis method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3032638A JPH0776947B2 (en) 1991-02-27 1991-02-27 Failure diagnosis method

Publications (2)

Publication Number Publication Date
JPH04340149A true JPH04340149A (en) 1992-11-26
JPH0776947B2 JPH0776947B2 (en) 1995-08-16

Family

ID=12364396

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3032638A Expired - Lifetime JPH0776947B2 (en) 1991-02-27 1991-02-27 Failure diagnosis method

Country Status (1)

Country Link
JP (1) JPH0776947B2 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5835624A (en) * 1981-08-26 1983-03-02 Nec Corp Diagnostic method for two-way bus
JPS58149529A (en) * 1982-03-02 1983-09-05 Hitachi Ltd Turning-back and diagnosing system of channel status word
JPH02245850A (en) * 1989-03-20 1990-10-01 Fujitsu Ltd Bus diagnostic system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5835624A (en) * 1981-08-26 1983-03-02 Nec Corp Diagnostic method for two-way bus
JPS58149529A (en) * 1982-03-02 1983-09-05 Hitachi Ltd Turning-back and diagnosing system of channel status word
JPH02245850A (en) * 1989-03-20 1990-10-01 Fujitsu Ltd Bus diagnostic system

Also Published As

Publication number Publication date
JPH0776947B2 (en) 1995-08-16

Similar Documents

Publication Publication Date Title
JP2996440B2 (en) Diagnosis method of data processing system
JP3052857B2 (en) Inter-cluster shared memory access method
JP2002269029A (en) Highly reliable information processor, information processing method used for the same and program therefor
JPH06259343A (en) Multiple bus control method and system using the same
JPH04340149A (en) Failure diagnostic system
JPH07182253A (en) Bus adaptor and bus multiplexing system
JPH079636B2 (en) Bus diagnostic device
JPS583246B2 (en) data processing system
JPH0399337A (en) Diagnostic method for data processing unit, data processing unit and data processing system
JP3012402B2 (en) Information processing system
JPH07114521A (en) Multimicrocomputer system
JP2876676B2 (en) Communication control method between processors
JPH0574110B2 (en)
JPS5938607B2 (en) diagnostic expansion device
JP2896206B2 (en) On-line diagnostics for multiplexed memory devices.
JPH08137788A (en) Information processing system
JP2000305864A (en) Method for diagnosing bus interface circuit and bus interface circuit
JP2001022710A (en) System with plural bus controllers
JPS5847055B2 (en) Failure diagnosis method for information processing equipment
JPS5918741B2 (en) Automatic diagnosis method
JPS61296457A (en) Data transfer controller
JPS59221131A (en) Data transmission station
JPH07244633A (en) Interface device
JP2001109672A (en) Scsi bus controller
JPH11143817A (en) Information processing system, system bus testing method and storage medium recording its processing program