Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JP3372192B2 - Bus interface test method and recording medium storing the processing program - Google Patents
[go: Go Back, main page]

JP3372192B2 - Bus interface test method and recording medium storing the processing program - Google Patents

Bus interface test method and recording medium storing the processing program

Info

Publication number
JP3372192B2
JP3372192B2 JP22245897A JP22245897A JP3372192B2 JP 3372192 B2 JP3372192 B2 JP 3372192B2 JP 22245897 A JP22245897 A JP 22245897A JP 22245897 A JP22245897 A JP 22245897A JP 3372192 B2 JP3372192 B2 JP 3372192B2
Authority
JP
Japan
Prior art keywords
parity check
bus
parity
data
bus interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP22245897A
Other languages
Japanese (ja)
Other versions
JPH1165879A (en
Inventor
悦夫 増田
浩一 清水
孝夫 村上
浩士 西井
裕一 平野
保 田原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Hitachi Ltd
NEC Corp
Oki Electric Industry Co Ltd
NTT Inc
NTT Inc USA
Original Assignee
Fujitsu Ltd
Hitachi Ltd
NEC Corp
Nippon Telegraph and Telephone Corp
Oki Electric Industry Co Ltd
NTT Inc USA
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 Fujitsu Ltd, Hitachi Ltd, NEC Corp, Nippon Telegraph and Telephone Corp, Oki Electric Industry Co Ltd, NTT Inc USA filed Critical Fujitsu Ltd
Priority to JP22245897A priority Critical patent/JP3372192B2/en
Publication of JPH1165879A publication Critical patent/JPH1165879A/en
Application granted granted Critical
Publication of JP3372192B2 publication Critical patent/JP3372192B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【発明の属する技術分野】本発明は、情報処理システム
においてシステムバスに接続された各装置のバスインタ
フェース部の試験技術に係り、特に、バスインタフェー
ス部のバスドライバ素子およびバスレシーバ素子の不具
合を効率良く検出するのに好適なバスインタフェース試
験方法およびその処理プログラムを記録した記録媒体に
関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a test technique for a bus interface unit of each device connected to a system bus in an information processing system, and more particularly, to efficiently solve problems of a bus driver element and a bus receiver element of the bus interface unit. The present invention relates to a bus interface test method suitable for good detection and a recording medium recording a processing program therefor.

【0002】[0002]

【従来の技術】長期に渡って稼働する必要のある情報処
理システムを構成する装置に故障が発生した場合、この
装置をプログラムによりシステムから切り離した後、保
守員が、予備の装置と交換する。この場合、交換時間の
短縮化と、交換作業負荷の軽減化のために、装置の交換
を、電源を入れたままの状態で行う、活線装着と呼ばれ
る技術が用いられている。このような活線装着を可能と
するシステムでは、CPU(Central Processing Uni
t;中央処理装置)と周辺装置を接続する通常のシステ
ムバスの他に、保守バスと呼ばれる、オンラインから切
り離された状態の装置とCPUとの通信を可能とするた
めの保守情報転送用の信号線が設けられる。
2. Description of the Related Art When a device constituting an information processing system that needs to operate for a long period of time fails, the device is disconnected from the system by a program, and then a maintenance person replaces it with a spare device. In this case, in order to reduce the replacement time and the replacement work load, a technique called hot line mounting is used in which the device is replaced while the power is on. In a system that enables such live line mounting, a CPU (Central Processing Uni
(t; central processing unit) In addition to the normal system bus that connects peripheral devices, a maintenance information transfer signal called the maintenance bus that enables communication between the device disconnected from online and the CPU Lines are provided.

【0003】保守バスを用いたシステムでの活線装着
は、次のような手順で行われる。 (i)故障が発生した装置をシステムから切り離す(プ
ログラム処理)。 (ii)故障した装置をシステムから抜き取る(保守員作
業)。 (iii)抜き取った装置に替えて、予備装置を装着する
(保守員作業)。この時、装着した装置(予備装置)に
電源が入り、自動的に装置の自己診断が行われる(予備
装置の内部処理)。この予備装置の自己診断は、現用運
転中の他の装置に影響を与えないように、システムバス
と予備装置とは、電気的に切り離された状態、すなわ
ち、電気的アイソレーション状態で行われる。
The hot line mounting in the system using the maintenance bus is performed in the following procedure. (I) The device in which the failure has occurred is separated from the system (program processing). (Ii) Pull out the failed device from the system (maintenance staff work). (Iii) Replace the removed device with a spare device (maintenance staff work). At this time, the attached device (spare device) is turned on, and self-diagnosis of the device is automatically performed (internal processing of the spare device). The self-diagnosis of the spare device is performed in a state where the system bus and the spare device are electrically separated from each other, that is, in an electrically isolated state, so as not to affect other devices in the current operation.

【0004】(iv)この自己診断の結果は、保守バスを
介して、予備装置から上位のCPUへ通知される。 (v)この通知を受けたCPUは、診断結果が正常の場
合、保守バス経由で、電気的アイソレーション状態を解
除し、システムバスとのインタフェースの試験を行う
(プログラム処理)。 (vi)このバスインタフェース試験の結果が正常の場
合、予備装置が運用に供し得ると判断し、システムに組
み込む(プログラム処理)。
(Iv) The result of this self-diagnosis is notified from the spare device to the host CPU via the maintenance bus. (V) If the diagnosis result is normal, the CPU that has received this notification releases the electrical isolation state via the maintenance bus and tests the interface with the system bus (program processing). (Vi) If the result of this bus interface test is normal, it is judged that the spare device can be used for operation, and it is installed in the system (program processing).

【0005】上記(v)におけるシステムバスとのイン
タフェースの試験に関して、さらに、図を用いて説明す
る。図2は、活線装着を行う情報処理システムの構成例
を示すブロック図である。本例の情報処理システムにお
いて、CPU1と装置A(図中、「周辺装置A」と記
載)10とは、システムバス3および保守バス2によっ
て接続されている。システムバス3にはパリティチェッ
ク用の信号線が設けられている。このシステムバス3に
は、各種の他の装置が接続されているが、それらの1つ
を装置Aを代表して以下の説明を行なう。また、CPU
1も他の装置の1つとして含まれ、同様の構成を有す
る。
The test of the interface with the system bus in (v) will be further described with reference to the drawings. FIG. 2 is a block diagram showing an example of the configuration of an information processing system for hot-line mounting. In the information processing system of this example, the CPU 1 and the device A (described as “peripheral device A” in the figure) 10 are connected by a system bus 3 and a maintenance bus 2. The system bus 3 is provided with a signal line for parity check. Various other devices are connected to the system bus 3, one of which will be described below on behalf of the device A. Also, CPU
1 is also included as one of the other devices and has a similar configuration.

【0006】システムバス3は、主にCPU1と装置A
10との間の情報転送用に使用され、また、保守バス2
は、主にCPU1と、システム(オンラインプログラ
ム)から切り離された状態の装置A10との通信目的で
使用される。装置A10は、バスドライバやバスレシー
バー等からなるシステムバスインタフェース部4と、こ
のシステムバスインタフェース部4を介してシステムバ
ス3経由の通信を制御するシステムバス制御部8、およ
び、保守バス2経由の通信を制御する保守バス制御部
5、装置A10の主機能を実現する主回路部9により構
成されている。
The system bus 3 is mainly composed of the CPU 1 and the device A.
Used for information transfer to and from the maintenance bus 2
Is mainly used for the purpose of communication between the CPU 1 and the device A10 which is separated from the system (online program). The device A10 includes a system bus interface unit 4 including a bus driver and a bus receiver, a system bus control unit 8 that controls communication via the system bus 3 via the system bus interface unit 4, and a maintenance bus 2 via It is composed of a maintenance bus control unit 5 for controlling communication and a main circuit unit 9 for realizing main functions of the device A10.

【0007】システムバス制御部8は、内部に、レジス
タ6とパリティチェック部7を具備している。また、保
守バス制御部5は、システムバスインタフェース部4内
のバスドライバやバスレシーバに対して電気的アイソレ
ーションを設定する機能を有している。パリティチェッ
ク部7は、システムバス3の内のパリティチェック用の
信号線から送られてくるパリティチェック用のデータを
用いて、レジスタ6に書き込まれるデータのパリティエ
ラーチェックを行なう。以下、図6を用いて、このよう
な構成のシステムでの活線装着時における従来のバスイ
ンタフェース試験に関して説明する。
The system bus control unit 8 has a register 6 and a parity check unit 7 inside. Further, the maintenance bus control unit 5 has a function of setting electrical isolation for the bus driver and the bus receiver in the system bus interface unit 4. The parity check unit 7 uses the data for parity check sent from the signal line for parity check in the system bus 3 to check the parity error of the data written in the register 6. The conventional bus interface test at the time of hot-line mounting in the system having such a configuration will be described below with reference to FIG.

【0008】図6は、従来のバスインタフェース試験の
手順例を示すシーケンス図である。故障時や版数更新時
等には、装置Aの活線装着が必要となる。この活線装着
を行うと、その装置Aの電源が投入され、主回路が起動
され、自動的に自己診断を開始する。この自己診断処理
は、主回路自身だけでなく、保守バス制御部や、システ
ムバス制御部に対しても通常行われる。尚、電源投入
時、保守バス制御部は、アイソレーション(iSOL)
制御により、システムバスと装置Aとの接続を電気的に
切断、すなわち、ハイインピーダンス状態にし、システ
ムバスを介して装置A自身が、CPUやその他の装置に
擾乱を与えないようにする。
FIG. 6 is a sequence diagram showing a procedure example of a conventional bus interface test. In the case of a failure or update of the version number, it is necessary to install the device A in a hot line. When this hot line mounting is performed, the power of the device A is turned on, the main circuit is activated, and self-diagnosis is automatically started. This self-diagnosis process is usually performed not only on the main circuit itself but also on the maintenance bus control unit and the system bus control unit. When the power is turned on, the maintenance bus control unit is set to the isolation (iSOL)
By the control, the connection between the system bus and the device A is electrically disconnected, that is, brought into a high impedance state so that the device A itself does not disturb the CPU and other devices via the system bus.

【0009】自己診断処理が終了すると、装置Aは、そ
の結果と共に、活線装着された旨の通知を保守バスを介
してCPU側へ送出する。この通知を受けるとCPU
は、診断結果のチェックを行い、正常でない場合には保
守員へのメッセージの出力等を行う。また、結果が正常
な場合には、内部に故障や異常がないものと判断し、C
PUは、保守バス経由で装置Aに対し、システムバスの
電気的アイソレーションの解除を指示する。
When the self-diagnosis processing is completed, the apparatus A sends a notification indicating that the hot-line is attached to the CPU side through the maintenance bus together with the result. CPU receives this notification
Checks the diagnosis result and, if not normal, outputs a message to maintenance personnel. If the result is normal, it is judged that there is no internal failure or abnormality, and C
The PU instructs the device A via the maintenance bus to cancel the electrical isolation of the system bus.

【0010】この段階で、即座にシステムに組み込んで
運用に供する場合もあるが、試験の完全を期するため
に、図2における装置Aのシステムバスインタフェース
部4、すなわち、バスドライバ素子、バスレシーバ素子
に故障がないかを確認するために、インタフェース試験
を行う場合がある。従来、このインタフェース試験は、
システムバス制御部8内のレジスタ6に任意パターンを
書き込み、この書き込み直後に読み出してパターンの照
合を行い、その照合結果により良否を判断するものであ
った。
At this stage, the system may be immediately incorporated into the system for operation, but in order to complete the test, the system bus interface section 4 of the device A in FIG. 2, that is, the bus driver element, the bus receiver, is used. An interface test may be performed to confirm that the device has no failure. Traditionally, this interface test
The arbitrary pattern is written in the register 6 in the system bus control unit 8, the pattern is read out immediately after this writing, and the pattern is checked.

【0011】しかし、このような従来のインタフェース
試験技術では、図2のシステムバスインタフェース部4
における、ある信号線のバスドライバやバスレシーバの
「0」スタック故障や「1」スタック故障が、レジスタ
にライトするデータのパターンと一致している場合、パ
リティチェック部7によるシステムバス3上のパリティ
チェックによっても、読み出し後のデータ照合によって
も検出されずに見逃され、正常と誤って判断されてしま
う場合が生じ得る。このような例を図7を用いて説明す
る。
However, in such a conventional interface test technique, the system bus interface unit 4 of FIG. 2 is used.
When the "0" stack fault or the "1" stack fault of the bus driver or the bus receiver of a certain signal line in the above coincides with the pattern of the data to be written in the register, the parity on the system bus 3 by the parity check unit 7 is checked. There is a possibility that it may be overlooked without being detected by the check or the data collation after reading, and may be erroneously determined to be normal. Such an example will be described with reference to FIG.

【0012】図7は、従来のバスインタフェース試験技
術における不具合例を示す説明図である。例えば、デー
タ第iビット目に対応するレシーバ素子4aが「0」ス
タック故障している場合に、書き込みデータ11のパタ
ーンの第iビット目の値がたまたま「0」の場合には、
パリティチェック部7で生成されたパリティビットも、
受信されたパリティビットと一致(ここでは、共に
「1」)してしまい、故障が見逃されてしまう。その結
果、活線装着された装置Aの故障が潜在したままシステ
ムに組み込まれ、その後の思わぬシステム異常を引き起
こす結果となる可能性がある。
FIG. 7 is an explanatory view showing a defect example in the conventional bus interface test technique. For example, when the receiver element 4a corresponding to the i-th bit of data has a "0" stack failure and the value of the i-th bit of the pattern of the write data 11 happens to be "0",
The parity bit generated by the parity check unit 7 is also
The received parity bit matches (here, both are “1”), and the failure is overlooked. As a result, there is a possibility that the failure of the hot-wired device A is latently incorporated into the system, resulting in an unexpected system abnormality thereafter.

【0013】[0013]

【発明が解決しようとする課題】解決しようとする問題
点は、従来の技術では、バスインタフェース部のバスド
ライバやバスレシーバの故障を十分に確認することがで
きない点である。本発明の目的は、これら従来技術の課
題を解決し、インタフェース試験の故障検出精度を向上
させることを可能とするバスインタフェース試験方法お
よびその処理プログラムを記録した記録媒体を提供する
ことである。
The problem to be solved is that the prior art cannot sufficiently confirm the failure of the bus driver and the bus receiver of the bus interface section. An object of the present invention is to provide a bus interface test method and a recording medium having a processing program therefor, which can solve the problems of the conventional techniques and improve the failure detection accuracy of the interface test.

【0014】[0014]

【課題を解決するための手段】上記目的を達成するた
め、本発明のバスインタフェース試験方法では、従来の
バスインタフェース試験に用いていた「ライト(書き込
み)」と「リード(読み出し)」を、例えばオール
「1」とオール「0」のようにそれぞれ同じ位置のビッ
トが逆になる二つの書き込みパターンを切替えて行い、
それぞれのパターンに対してのライト時とリード時にお
けるパリティチェックを行う。このことにより、バスイ
ンタフェース部のドライバ素子とレシーバ素子の1ビッ
トスタック故障を検出することができる。尚、試験対象
の信号線が偶数であれば、パターンも偶数個のビットか
らなり、この場合には、二つの書き込みパターンに対す
るパリティチェック用に付加する値が同じであり、パリ
ティ信号線のドライバ素子とレシーバ素子の1ビットス
タック故障を見逃す可能性があるので、逆のパリティ値
となる第3のパターンを用いた「ライト」/「リード」
を行なう。さらに、それぞれのパターンでの書き込み時
のパターンと読み出し時のパターンとを照合することに
より、パリティエラー以外の不具合も検出することがで
きる。尚、このような処理プログラムは、光ディスク
(Optical Disk)や、フロッピディスク(FD)等の記
録媒体に記録しておき、試験時に主メモリにロードされ
実行される。
In order to achieve the above object, in the bus interface test method of the present invention, "write (write)" and "read (read)" used in the conventional bus interface test are performed, for example. Switching is performed by switching between two writing patterns in which bits at the same position are reversed, such as all "1" and all "0".
A parity check is performed for each pattern when writing and reading. This makes it possible to detect a 1-bit stack fault in the driver element and the receiver element of the bus interface unit. If the signal line to be tested is an even number, the pattern is also composed of an even number of bits. In this case, the value added for parity check for the two write patterns is the same, and the driver element of the parity signal line is the same. And 1-bit stack failure of the receiver element may be missed, so "write" / "read" using the third pattern with the opposite parity value
Do. Furthermore, by comparing the pattern at the time of writing and the pattern at the time of reading in each pattern, a defect other than the parity error can be detected. It should be noted that such a processing program is recorded in a recording medium such as an optical disk or a floppy disk (FD), and is loaded and executed in the main memory during the test.

【0015】[0015]

【発明の実施の形態】以下、本発明の実施例を、図面に
より詳細に説明する。図1は、本発明のバスインタフェ
ース試験方法の本発明に係る処理の一実施例を示すフロ
ーチャートであり、図2は、本発明のバスインタフェー
ス試験方法を適用する情報処理システムの構成例を示す
ブロック図である。図2に示す情報処理システムは、上
述の従来の技術の説明で例示したものであり、CPU1
と装置A(図中、「周辺装置A」と記載)10が、保守
バス2とシステムバス3を介して接続されており、装置
A10には、システムバス3に接続されたシステムバス
インタフェース部4と、保守バス2に接続された保守バ
ス制御部5と、レジスタ6とパリティチェック部7を具
備したシステムバス制御部8、および、装置A10の全
体動作を制御する主回路9が設けられている。
BEST MODE FOR CARRYING OUT THE INVENTION Embodiments of the present invention will be described in detail below with reference to the drawings. FIG. 1 is a flow chart showing an embodiment of processing according to the present invention of a bus interface test method of the present invention, and FIG. 2 is a block showing a configuration example of an information processing system to which the bus interface test method of the present invention is applied. It is a figure. The information processing system shown in FIG. 2 is the one exemplified in the above description of the conventional technique.
And a device A (indicated as “peripheral device A” in the figure) 10 are connected via a maintenance bus 2 and a system bus 3, and the device A 10 includes a system bus interface unit 4 connected to the system bus 3. A maintenance bus control unit 5 connected to the maintenance bus 2, a system bus control unit 8 including a register 6 and a parity check unit 7, and a main circuit 9 for controlling the overall operation of the device A10. .

【0016】また、システムバス3には、本発明のバス
インタフェース試験に係る処理プログラムを格納した光
ディスク(図中、「OD」と記載)20を駆動するOD
駆動装置21が接続され、光ディスク20からのプログ
ラムがCPU1にロードされ実行される。さらに、シス
テムバス3にはパリティチェック用の信号線が設けられ
ており、装置A10のパリティチェック部7では、シス
テムバス3の内のパリティチェック用の信号線で送られ
てくるパリティチェック用のデータを用いて、レジスタ
6に書き込まれるデータのパリティエラーチェックを行
なう。本例では、このパリティエラーチェックを利用す
ることにより、情報処理システムの活線装着時における
上述したような自己診断処理を行なった後のシステムバ
スインタフェース部4の試験を、高信頼に行なうことが
できる。
On the system bus 3, an OD for driving an optical disc (described as "OD" in the figure) 20 storing a processing program for the bus interface test of the present invention.
The drive unit 21 is connected, and the program from the optical disc 20 is loaded into the CPU 1 and executed. Further, the system bus 3 is provided with a signal line for parity check, and in the parity check unit 7 of the device A10, the data for parity check sent by the signal line for parity check in the system bus 3 is sent. Is used to check the parity error of the data written in the register 6. In this example, by using this parity error check, the test of the system bus interface unit 4 after performing the above-described self-diagnosis processing at the time of hot-line mounting of the information processing system can be performed with high reliability. it can.

【0017】この本発明に係るインタフェース試験を説
明する前に、情報処理システムのバス信号線に関して、
図3、図4を用いて説明する。図3は、図2における情
報処理システムのバスの信号線の構成例を示す説明図で
ある。ここでは、「トロン標準システムバス TOXB
US Ver. 1.00.00.00」(1991年
10月、トロン協会発行)に示されている、トロン標準
システムバスを例としている。
Before explaining the interface test according to the present invention, regarding the bus signal lines of the information processing system,
This will be described with reference to FIGS. 3 and 4. FIG. 3 is an explanatory diagram showing a configuration example of a signal line of a bus of the information processing system in FIG. Here, "Toron standard system bus TOXB
US Ver. 1.00.00.00 "(October 1991, published by the TRON Association) as an example.

【0018】本例で示す信号線は合計89本であるが、
このうちの以下に示す72本の信号線に対応するバスイ
ンタフェース部のスタック故障が試験対象となる。 (a)「項番9」の「CAD00−63」:コントロー
ル情報とアドレス情報およびデータ情報が時分割的に転
送される64ビット幅の双方向の情報転送バス。 (b)「項番10」の「CADP0−7」:CAD00
−63のバイト(8ビット)毎のパリティ信号である。
奇数パリティを表す。 このバスの基本動作を図4で説明する。
Although there are a total of 89 signal lines in this example,
Of these, stack failures in the bus interface section corresponding to the following 72 signal lines are to be tested. (A) "CAD00-63" of "No. 9": A bidirectional information transfer bus of 64-bit width in which control information, address information and data information are transferred in a time division manner. (B) "CADP0-7" of "No. 10": CAD00
It is a parity signal for each −63 bytes (8 bits).
Represents odd parity. The basic operation of this bus will be described with reference to FIG.

【0019】図4は、図3におけるバス信号線の動作例
を示す説明図である。本例では、情報転送バス8バイト
分をフルに使用するモード(8バイトモード)の場合を
示している。このバスの機能として、上記刊行物にも記
載のように、情報転送バス8バイトの内、半分の4バイ
ト分を使用する4バイトモードも備えているが、同様の
動作であり、ここでは説明は省略する。本図では、装置
iが装置jに対し、バスを介してデータ転送する場合の
動作例を示している。尚、ここで示されているバスハン
ドラ(BH)は、バス要求の調停を行なう機能を有して
いる回路であり、バスに接続された装置内、または、独
立装置として設けられ、本発明とは直接係りはなく、こ
こでのバスの動作の説明のために記載したものである。
FIG. 4 is an explanatory diagram showing an operation example of the bus signal line in FIG. This example shows the case of a mode (8-byte mode) in which 8 bytes of the information transfer bus are fully used. As a function of this bus, as described in the above publication, it also has a 4-byte mode in which half of the 8 bytes of the information transfer bus is used, but the operation is similar, and is explained here. Is omitted. This figure shows an operation example in which the device i transfers data to the device j via the bus. Note that the bus handler (BH) shown here is a circuit having a function of arbitrating bus requests, and is provided in a device connected to the bus or as an independent device, and is the same as the present invention. Are not directly related, but are described here for explaining the operation of the bus.

【0020】以下、各信号線の変化タイミングを示す番
号(1)〜(14)に従って動作を説明する。 (1)装置iは、装置jに対して情報転送を行なうため
に、バス使用要求信号(BRQL−i)を駆動して、B
H(バスハンドラ)に対してバス獲得要求を行なう。 (2)BHは、バス使用要求信号が受付可能になると、
装置iに対するバス使用許可信号(BGRM−i)を駆
動して、装置iに対しバス使用権を与える。 (3)バス使用権を獲得した装置iは、バス使用許可信
号により、バス使用要求信号の駆動を停止する。
The operation will be described below according to the numbers (1) to (14) indicating the change timing of each signal line. (1) The device i drives the bus use request signal (BRQL-i) in order to transfer information to the device j, and B
A bus acquisition request is issued to H (bus handler). (2) When the BH can accept the bus use request signal,
The bus right is given to the device i by driving the bus use permission signal (BGRM-i) for the device i. (3) The device i that has acquired the bus use right stops driving the bus use request signal in response to the bus use permission signal.

【0021】(4)また、同時に、装置iは、バス使用
許可信号を受けて、情報転送バスを有効化し、情報をバ
スに送出する。最初の情報転送時には、転送制御信号の
BS*信号(バスサイクルスタート信号、*記号は負論
理であることを示す)を駆動する。 (5)BS*と同時にBLK*信号(ブロック信号)を
駆動して、ブロック転送の開始を他の装置に通知する。
尚、BLK*信号は、バス上で情報転送期間中駆動され
る。但し、転送終結の1バスサイクル前に駆動を停止
し、1バスサイクル後にバスが開放されることをBHに
予告する。 (6)転送制御信号のBLK*信号の駆動停止を検出し
たBHは、1クロック後に、バス使用許可信号の駆動を
停止する。
(4) At the same time, the device i receives the bus use permission signal, validates the information transfer bus, and sends information to the bus. At the time of the first information transfer, the BS * signal (bus cycle start signal, * symbol indicates negative logic) of the transfer control signal is driven. (5) At the same time as BS *, the BLK * signal (block signal) is driven to notify the other devices of the start of block transfer.
The BLK * signal is driven on the bus during the information transfer period. However, the drive is stopped one bus cycle before the end of the transfer, and the BH is informed that the bus will be released after one bus cycle. (6) The BH, which has detected the driving stop of the BLK * signal of the transfer control signal, stops driving the bus use permission signal after one clock.

【0022】(7)オーダコマンド(Co)の送出後、
2サイクル後にステータス有効信号(STVLD*信
号)が駆動され、このサイクルに、転送先装置である装
置jは、オーダコマンドの受信状態を、転送元である装
置iに報告する。 (8)コマンド以下の転送では、転送先装置jは、情報
転送バスの1転送毎に、受信情報に対して、データ転送
の成否のチェックを行ない、その結果をまとめてステー
タスバスにより、ステータスコード(4ビット)として
転送元装置iに返送する。この返送は、最終データ転送
後、2サイクル後に、ステータス有効信号が駆動された
タイミングで行なわれる。
(7) After sending the order command (Co),
After two cycles, the status valid signal (STVLD * signal) is driven, and in this cycle, the transfer destination device, device j, reports the order command reception state to the transfer source device i. (8) In the transfer after the command, the transfer destination device j checks the success or failure of the data transfer with respect to the received information for each transfer of the information transfer bus, and collects the results together with the status code on the status bus. It is returned to the transfer source device i as (4 bits). This return is performed at the timing when the status valid signal is driven, two cycles after the final data transfer.

【0023】以上で、1回のバスオペレーションが完了
する。本実施例の説明に用いているTOXBUSは、情
報の転送の都度、バス権の獲得/開放を行なうスプリッ
ト転送型の技術を採用しているため、転送先装置jから
アンサ情報やデータの返送が必要な場合には、転送先装
置j自身が新たにバスの使用権を獲得し、転送元装置i
に対してのアンサ情報やデータの返送が行なわれる。こ
の動作を示したものが、図中の(9)〜(14)である
が、本発明と直接の係りはないので、この部分の説明は
省略する。
With the above, one bus operation is completed. The TOXBUS used in the description of this embodiment employs a split transfer type technology in which the bus right is acquired / released each time information is transferred. Therefore, answer information or data can be returned from the transfer destination device j. When necessary, the transfer destination device j itself newly acquires the right to use the bus, and the transfer source device i
Answer information and data will be returned to. This operation is shown in (9) to (14) in the figure, but since it is not directly related to the present invention, the description of this part will be omitted.

【0024】以上、説明したバスの動作において、64
ビット(8バイト)の情報転送バスを介してコマンド情
報Cとアドレス情報Aおよび実際のデータDが転送され
る。この転送動作を用いて、次の図5に示すようにし
て、図2における装置Aのレジスタ6への試験データパ
ターンの書き込みと読み出しを行う。図5は、図2にお
ける情報処理システムでの本発明に係わる情報の転送動
作例を示すシーケンス図である。
In the operation of the bus described above, 64
Command information C, address information A, and actual data D are transferred via a bit (8 bytes) information transfer bus. Using this transfer operation, the test data pattern is written into and read from the register 6 of the device A in FIG. 2 as shown in FIG. FIG. 5 is a sequence diagram showing an example of an information transfer operation according to the present invention in the information processing system in FIG.

【0025】本図5に示すように、CPUは、バス要求
に対応したBHからのバス使用許可を受信すると、試験
用データの装置Aのレジスタへの書き込みを行う。ここ
で、転送される情報の内、コマンド情報Cは、転送元装
置番号や転送先装置番号、およびバスの転送モード(4
バイトモード(4B)/8バイトモード(8B))等を
保持しており、情報のパターンを任意に変更することは
できない。また、アドレス情報Aも、転送先装置のデー
タ格納手段、すなわち、レジスタ等の番地を指定するも
のであり、任意パターンを設定することは困難である。
As shown in FIG. 5, when the CPU receives the bus use permission from the BH corresponding to the bus request, the CPU writes the test data into the register of the device A. Here, of the information to be transferred, the command information C includes the transfer source device number, the transfer destination device number, and the transfer mode (4
Since the byte mode (4B) / 8 byte mode (8B) and the like are held, the information pattern cannot be arbitrarily changed. Further, the address information A also designates the data storage means of the transfer destination device, that is, the address of the register or the like, and it is difficult to set an arbitrary pattern.

【0026】このように、バスを転送される情報のう
ち、任意のパターンの変更が可能なのはデータDであ
り、本例は、このデータDのパターンを変更することに
より、インタフェース試験の故障検出精度を向上させ
る。すなわち、CPUからBHを介して装置Aにコマン
ド情報Coとアドレス情報Aおよび8バイトデータ(D
0またはD1)を送出し、レジスタに書き込む。装置A
は、アドレスAにデータD0(D1)を格納した後、B
Hにバス要求を送出し、BHからのバス使用許可を受信
した後、アンサーコマンドCAWをCPUに返す。
As described above, of the information transferred through the bus, it is the data D that can be changed in an arbitrary pattern. In this example, by changing the pattern of the data D, the failure detection accuracy of the interface test can be improved. Improve. That is, the command information Co, the address information A and the 8-byte data (D
0 or D1) is sent and written to the register. Device A
Stores data D0 (D1) at address A, and then stores B
After sending the bus request to H and receiving the bus use permission from BH, the answer command CAW is returned to the CPU.

【0027】CPUは、このアンサーコマンドCAWを
受信すると、バス要求、バス使用許可のシーケンス後、
装置AのレジスタのデータD0(D1)の読み出しコマ
ンドをBHを介して装置Aに送出する。この読み出しコ
マンドに対応して装置Aは、アンサ−コマンドCAWと
共に、データD0(D1)をCPUに送出する。同様の
処理をデータのパターンを変更して繰り返す。以下、こ
のデータD0(D1)のパターンを変更することによる
インタフェース試験の例を図1を用いて説明する。
When the CPU receives this answer command CAW, after the sequence of bus request and bus use permission,
The read command of the data D0 (D1) of the register of the device A is sent to the device A via BH. In response to this read command, the device A sends the data D0 (D1) to the CPU together with the answer command CAW. The same process is repeated by changing the data pattern. Hereinafter, an example of the interface test by changing the pattern of the data D0 (D1) will be described with reference to FIG.

【0028】図1における例では、TOXBUSは、8
バイトモードで動作し、装置Aのシステムバス制御部内
のレジスタが64ビット幅、パリティチェック用の信号
線(パリティ線)が1バイト(8ビット)の構成として
説明する。すなわち、偶数のビット幅の信号線に対する
バスインタフェース試験となる。そのため、本例のバス
インタフェース試験は、例えば、以下の3つのパターン
を用いて、書き込み(ステップ101,102)と読み
出し(ステップ103,104)および照合(ステップ
105,106)の各処理を繰り返し(ステップ10
0,200,201,300,301)行うことによ
り、情報転送バス(64本)またはパリティ線(8本)
の合計72本内の1本に発生している0スタック故障ま
たは1スタック故障を検出する。尚、チェック処理に用
いるパターンの順番は、ここで示した順番である必要は
なく任意で良い。
In the example in FIG. 1, TOXBUS is 8
It is assumed that the register operates in the byte mode, the register in the system bus control unit of the device A has a 64-bit width, and the parity check signal line (parity line) has 1 byte (8 bits). That is, the bus interface test is performed on the signal line having an even bit width. Therefore, in the bus interface test of the present example, each process of writing (steps 101 and 102) and reading (steps 103 and 104) and collating (steps 105 and 106) is repeated (for example, using the following three patterns). Step 10
0, 200, 201, 300, 301) to perform information transfer bus (64 lines) or parity lines (8 lines)
The 0 stack fault or the 1 stack fault occurring in one of the total 72 is detected. The order of the patterns used for the checking process does not have to be the order shown here and may be arbitrary.

【0029】(I)パターン1(=D1):64ビット
が全て「1」のパターンであり、ステップ100の処理
で用いる。この場合、正常であれば、情報転送バス(8
バイト)CAD00−63の各1バイト(8ビット)毎
のビット「1」の数が「8」個でり、奇数パリティ方式
により、パリティ線上CADP0−7の8ビットも全て
「1」のパターンとなる。すなわち、情報転送バス上の
1バイト(8ビット)毎のビット「1」の数と、パリテ
ィ線上の1ビット毎のビットとの合計が奇数(9個)と
なる。しかし、情報転送バスCAD00−63またはパ
リティ線CADP0−7に、1ビットの0スタック故障
が発生していると、情報転送バス+パリティ線上のビッ
ト「1」が偶数となり、パリティエラーが発生し、異常
が検出される。つまり、このパターン1により、情報転
送バスCAD00−63またはパリティ線CADP0−
7における1ビットの0スタック故障を見逃すことなく
検出できる。
(I) Pattern 1 (= D1): A pattern in which 64 bits are all "1" and is used in the processing of step 100. In this case, if normal, the information transfer bus (8
Bytes) The number of bits "1" for each byte (8 bits) of CAD00-63 is "8", and all the 8 bits of CADP0-7 on the parity line have a pattern of "1" by the odd parity method. Become. That is, the total of the number of bits "1" for each byte (8 bits) on the information transfer bus and the number of bits for each bit on the parity line is an odd number (9). However, if a 1-bit 0 stack fault occurs in the information transfer bus CAD00-63 or the parity lines CADP0-7, the bit "1" on the information transfer bus + parity line becomes an even number, and a parity error occurs, Abnormality is detected. That is, according to this pattern 1, the information transfer bus CAD00-63 or the parity line CADP0-
It is possible to detect without missing the 1-bit 0-stuck fault in 7.

【0030】(II)パターン2(=D0):64ビット
が全て「0」のパターンであり、ステップ200の処理
で用いる。この場合、正常であれば、情報転送バス(8
バイト)CAD00−63の各1バイト(8ビット)毎
のビット「1」の数が「0」個でり、奇数パリティ方式
により、パリティ線上CADP0−7の8ビットは全て
「1」のパターンとなる。すなわち、情報転送バス上の
1バイト(8ビット)毎のビット「1」の数と、パリテ
ィ線上の1ビット毎のビットとの合計が奇数(1個)と
なる。しかし、情報転送バスCAD00−63に1ビッ
トの1スタック故障が、また、パリティ線CADP0−
7に1ビットの0スタック故障が発生していると、情報
転送バス+パリティ線上のビット「1」が偶数となり、
パリティエラーが発生し、異常が検出される。つまり、
このパターン2により、情報転送バスCAD00−63
における1ビットの1スタック故障、または、パリティ
線CADP0−7における1ビットの0スタック故障を
見逃すことなく検出できる。
(II) Pattern 2 (= D0): A pattern in which 64 bits are all "0", which is used in the processing of step 200. In this case, if normal, the information transfer bus (8
The number of bits "1" for each 1 byte (8 bits) of CAD00-63 is "0", and all 8 bits of CADP0-7 on the parity line have a pattern of "1" by the odd parity method. Become. That is, the sum of the number of bits "1" for each byte (8 bits) on the information transfer bus and the bit for each bit on the parity line is an odd number (one). However, the information transfer bus CAD00-63 has a 1-bit 1-stack fault, and the parity line CADP0-
If a 1-bit 0 stack failure occurs in 7, the bit "1" on the information transfer bus + parity line becomes an even number,
A parity error occurs and an anomaly is detected. That is,
According to this pattern 2, the information transfer buses CAD00-63
Can be detected without missing the 1-bit 1-stack fault in 1 or the 1-bit 0-stack fault in the parity lines CADP0-7.

【0031】これらのパターン1とパターン2により、
情報転送バスCAD00−63においては1ビットの0
スタック故障と1スタック故障の両方がチェックされた
こととなるが、パリティ線CADP0−7においては1
ビットの0スタック故障がチェックされだけで、1スタ
ック故障に関しては未だ不明であり、次のパターン3に
よるチェックが必要である。
By these pattern 1 and pattern 2,
1 bit of 0 in the information transfer bus CAD00-63
Both the stack failure and the one-stack failure have been checked, but it is 1 in the parity lines CADP0-7.
Only the 0 stack failure of the bit is checked, and the 1 stack failure is still unknown, and the check according to the following pattern 3 is necessary.

【0032】(III)パターン3:64ビットが「H
(16進コード)5454・・・54」のパターンであ
り、ステップ300の処理で用いる。このパターンは、
2進コードでは「01010100/01010100
/・・・」であり、1バイト毎のビット「1」の数は
「3」で奇数となり、奇数パリティ方式により、正常時
には、パリティ線上の信号(CADP0−7)は全て
「0」となる。しかし、パリティ線CADP0−7の1
ビットに1スタック故障が発生していると、情報転送バ
ス+パリティ線上のビット「1」の数が、「3」+
「1」=「4」で偶数となるため、パリティエラーが発
生し、異常が検出される。つまり、このパターン3によ
り、パリティ線CADP0−7における1ビットの1ス
タック故障を見逃すことなく検出できる。
(III) Pattern 3: 64 bits are "H"
(Hexadecimal code) 5454 ... 54 ”and is used in the process of step 300. This pattern is
The binary code is "01010100/01010100
/ ... ", and the number of bits" 1 "for each byte is" 3 ", which is an odd number, and all signals (CADP0-7) on the parity line are" 0 "during normal operation by the odd parity method. . However, 1 of parity lines CADP0-7
If one stack fault occurs in a bit, the number of bits “1” on the information transfer bus + parity line becomes “3” +
Since “1” = “4” is an even number, a parity error occurs and an abnormality is detected. That is, according to this pattern 3, a 1-bit 1-stack fault in the parity lines CADP0-7 can be detected without missing.

【0033】尚、ここで用いた各パターンは、シンプル
なものであり、バスインタフェース試験用のプログラム
の作成時のミスを少なくするために用いたものであり、
本発明に使用するパターンは、上述の3パターンに限定
されるものではない。すなわち、情報転送バス(64
本)+パリティ線(8本)上の1ビットスタック故障の
発生によって、ビット「1」の数が偶数になるようなも
のであって(尚、ここではTOXBUSが奇数パリティ
処理のために偶数であるが、偶数パリティ処理のバスの
場合には奇数となる)、かつ、1ビットスタック故障を
漏れなく検出できるようなものであれば、どのようなも
のでも良い。例えば、パターン3の「H(16進コー
ド)5454・・・54」の代わりに、1バイト毎のビ
ット「1」の数が奇数となる「H(16進コード)57
57・・・57」や「H(16進コード)1313・・
・13」等を用いても、パリティ線CADP0−7の1
ビットの1スタック故障による異常を検出できる。
Each pattern used here is simple and is used to reduce mistakes when creating a program for a bus interface test.
The patterns used in the present invention are not limited to the above three patterns. That is, the information transfer bus (64
The number of bits "1" becomes an even number due to the occurrence of a 1-bit stack fault on the (+ line) + parity lines (8 lines) (here, TOXBUS is an even number for odd parity processing). However, it may be an odd number in the case of a bus of even parity processing), and any one can be used as long as it can detect a 1-bit stack fault without omission. For example, instead of "H (hexadecimal code) 5454 ... 54" in pattern 3, "H (hexadecimal code) 57" in which the number of bits "1" for each byte is an odd number
57 ... 57 "and" H (hexadecimal code) 1313 ...
Even if "13" is used, the parity line CADP0-7 is set to 1
It is possible to detect anomalies due to a one-stack failure of bits.

【0034】次に、各パターンを用いた各ステップ10
0,200,300の処理で行なうステップ101〜1
06の処理を説明する。ステップ101の処理は、指定
パターンの装置A内のレジスタ(8バイト)への書き込
みであり、この処理でパリティエラーが検出されると
(ステップ102)、「試験NG」で終了し、エラーな
しの場合には次のステップ103の処理を行なう。尚、
この場合のパリティエラーは、装置Aのバスインタフェ
ース部の、あるビットのバスレシーバ素子の故障による
ものである。
Next, each step 10 using each pattern
Steps 101 to 1 performed in processing 0, 200, 300
The processing of 06 will be described. The process of step 101 is the writing of the designated pattern to the register (8 bytes) in the device A. When a parity error is detected in this process (step 102), the process ends with “test NG” and no error occurs. In that case, the process of the next step 103 is performed. still,
The parity error in this case is due to the failure of the bus receiver element of a certain bit in the bus interface unit of the device A.

【0035】ステップ103の処理は、ステップ101
の処理で書き込んだデータの、レジスタからの読み出し
であり、この処理でパリティエラーが検出されると(ス
テップ104)、試験NGで終了し、エラーなしの場合
には次のステップ105の処理を行なう。この場合のパ
リティエラーは、装置Aのバスインタフェース部のある
ビットのバスドライバ素子の故障によるものである。ス
テップ105の処理は、ステップ101の処理で書き込
んだデータのパターンと、ステップ103で読み出した
データのパターンとを照合する処理であり、不一致なら
(この場合はパリティエラーとは関係のない別の原因に
よる)(ステップ104)、本パターンについてのチェ
ック処理はNGで終了し、一致するなら、同チェック処
理は正常終了となる。
The process of step 103 is the same as step 101.
The data written in the process is read from the register. If a parity error is detected in this process (step 104), the test ends in NG, and if there is no error, the process in the next step 105 is performed. . The parity error in this case is due to the failure of the bus driver element of a certain bit in the bus interface unit of the device A. The process of step 105 is a process of collating the pattern of the data written in the process of step 101 with the pattern of the data read in step 103, and if they do not match (in this case, another cause unrelated to the parity error). (Step 104), the check process for this pattern ends with NG, and if they match, the check process ends normally.

【0036】以上、図1〜図5を用いて説明したよう
に、本実施例のバスインタフェース試験方法では、デー
タパターンを3通りに変更しながら(オール「1」、オ
ール「0」、「5454・・54(16進コー
ド)」)、システムバスが有するパリティチェック機能
を利用して、各パターンでのパリティチェック結果およ
び書き込みパターンと読み出しパターンとの照合結果に
よる試験を繰返す。このことにより、装置Aのシステム
バスとのインタフェース部分のバスドライバやバスレシ
ーバ素子のスタック故障のスタック値(0または1)
と、システムバス上を転送されるデータのパターンとが
たまたま一致した場合に、従来のバスインタフェース試
験技術では見逃しが起こり得た、1ビットのスタック故
障を確実に検出することができる。
As described above with reference to FIGS. 1 to 5, in the bus interface test method of this embodiment, the data pattern is changed in three ways (all "1", all "0", "5454". 54 (hexadecimal code) "), the parity check function of the system bus is used to repeat the test based on the parity check result of each pattern and the collation result of the write pattern and the read pattern. As a result, the stack value (0 or 1) of the stack fault of the bus driver or the bus receiver element in the interface portion with the system bus of the device A
And a pattern of data transferred on the system bus happen to coincide with each other, it is possible to reliably detect a 1-bit stack failure that may have been missed by the conventional bus interface test technique.

【0037】尚、本発明は、図1〜図5を用いて説明し
た実施例に限定されるものではなく、その要旨を逸脱し
ない範囲において種々変更可能である。例えば、本実施
例では、3種類のデータパターンを用いているが、これ
は、偶数の信号線に対する試験であるためであり、奇数
の信号線に対する試験の場合は、それぞれビットパター
ンが逆(同じ位置のビット値が逆)の2つのデータパタ
ーンを用いることで良い。すなわち、データパターンが
奇数桁であり、相互に反転したビット値を有する2つの
データパターンでは、パリティチェック用に付加される
パリティ値(「1」,「0」)は必ず逆になる。
The present invention is not limited to the embodiments described with reference to FIGS. 1 to 5, and various modifications can be made without departing from the scope of the invention. For example, in the present embodiment, three types of data patterns are used, but this is because the test is performed on even-numbered signal lines, and in the case of the test on odd-numbered signal lines, the bit patterns are reversed (same). It is sufficient to use two data patterns whose position bit values are opposite). That is, in two data patterns in which the data pattern has an odd number of digits and the bit values are mutually inverted, the parity values (“1” and “0”) added for the parity check are always reversed.

【0038】例えば、奇数パリティで、データパターン
「01101(5桁)」であれば、パリティ値は「0」
となり、そのビット値が反転した(逆の)データパター
ン「10010」ではパリティ値は「1」となる。ま
た、偶数パリティで、データパターンが「101101
1(7桁)」であれば、パリティ値は「1」となり、そ
のビット値が反転した(逆の)データパターン「010
0100」ではパリティ値は「0」となる。このことに
より、データパターンが奇数桁であれば、相互に反転し
たビット値を有する二つのパターンだけで、情報転送バ
スCADにおける1ビットの0スタック故障と1スタッ
ク故障の両方がチェックできると同時に、パリティ線C
ADPにおける1ビットの0スタック故障と1スタック
故障の両方をチェックすることができる。
For example, if the data pattern is "01101 (5 digits)" with odd parity, the parity value is "0".
Therefore, the parity value becomes “1” in the data pattern “10010” in which the bit value is inverted (reverse). Also, with even parity, the data pattern is “101101
1 (7 digits) ", the parity value is" 1 ", and the bit value is inverted (reverse) data pattern" 010 ".
The parity value of "0100" is "0". As a result, if the data pattern has an odd number of digits, it is possible to check both the 1-bit 0-stack fault and the 1-bit fault in the information transfer bus CAD by using only two patterns having mutually inverted bit values. Parity line C
Both 1-bit 0-stack and 1-stack faults in ADP can be checked.

【0039】また、本実施例では、TOXBUSが8バ
イトモードで動作し、装置Aのシステムバス制御部内の
レジスタが64ビット幅の構成として説明したが、4バ
イトモードの場合で、装置A内のレジスタが32ビット
幅の場合についても同様の処理で目的を達成することが
できる。この4バイトモードの場合には、図5におい
て、コマンド情報Coとアドレス情報Aが同時でなく、
コマンド情報Co、アドレス情報Aの順に直列に転送さ
れ、かつ、レジスタが4バイト幅の場合には、データD
0のみが転送される。
In this embodiment, the TOXBUS operates in the 8-byte mode, and the register in the system bus control unit of the device A has a 64-bit width. However, in the case of the 4-byte mode, the device in the device A has the same structure. Even when the register has a 32-bit width, the same processing can achieve the purpose. In the case of the 4-byte mode, in FIG. 5, the command information Co and the address information A are not at the same time,
When the command information Co and the address information A are transferred serially in this order, and the register has a 4-byte width, the data D
Only 0 is transferred.

【0040】さらに、このようなトロン標準システムバ
スTOXBUSに限定されるものではなく、パリティチ
ェック機能を有しているものであれば、どのようなバス
にも適用でき、同様の効果を期待できる。また、本例で
は、CPUと装置Aとがシステムバスに接続された構成
例を取り上げて説明したが、同一システム内のシステム
バス以外のバスを介して接続されている装置間であって
も同様に適用することができる。また、本例では、CP
Uと装置Aとがシステムバスに接続された構成例を取り
上げて説明したが、CPUと装置Aはバス線で直接接続
されている必要は無く、バス拡張装置等を介して接続さ
れていても、同様に適用することができる。
Further, the present invention is not limited to the TRON standard system bus TOXBUS, but can be applied to any bus as long as it has a parity check function, and the same effect can be expected. Further, in this example, the configuration example in which the CPU and the device A are connected to the system bus has been described, but the same applies to devices connected via a bus other than the system bus in the same system. Can be applied to. In this example, CP
The configuration example in which the U and the device A are connected to the system bus has been described. However, the CPU and the device A do not need to be directly connected by a bus line, and may be connected via a bus expansion device or the like. , Can be applied as well.

【0041】また、本例では、活線装着時の場合での適
用を例として説明したが、ある装置のバスインタフェー
ス部が疑わしい場合に、保守員が診断を実施してOKの
場合に保守員が保守コマンドを投入して実施するような
場合にも、本発明の技術を適用することができる。ま
た、本例では、1ビットのスタック故障を検出するもの
であるが、各データパターンでの書き込みデータと読み
取りデータとの照合も行なっているので、複数個のスタ
ック故障も或る程度は検出することができる。また、本
例では、バスインタフェース試験方法に係る処理プログ
ラムを光ディスクに記録しているが、FDや磁気テープ
等、容量に見合った記録媒体を用いることができる。
In this example, the application in the case of hot-line installation is explained as an example. However, when the bus interface part of a certain device is suspicious, the maintenance staff performs diagnosis and if the maintenance staff is OK. The technique of the present invention can also be applied to the case where the maintenance command is input and executed. Further, in this example, a 1-bit stack failure is detected, but since write data and read data in each data pattern are also collated, a plurality of stack failures are also detected to some extent. be able to. Further, in the present example, the processing program relating to the bus interface test method is recorded on the optical disc, but a recording medium suitable for the capacity such as an FD or a magnetic tape can be used.

【0042】[0042]

【発明の効果】本発明によれば、バスインタフェース部
のバスドライバ素子やバスレシーバ素子の故障、すなわ
ち、1ビットのスタック故障を確実に検出することがで
き、インタフェース試験の故障検出精度を向上させ、バ
スインタフェース部を具備した情報処理システムの信頼
性の向上を図ることが可能である。
According to the present invention, a failure of a bus driver element or a bus receiver element of a bus interface unit, that is, a 1-bit stack failure can be detected with certainty, and the failure detection accuracy of an interface test can be improved. It is possible to improve the reliability of the information processing system including the bus interface unit.

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

【図1】本発明のバスインタフェース試験方法の本発明
に係る処理の一実施例を示すフローチャートである。
FIG. 1 is a flowchart showing an embodiment of a process according to the present invention of a bus interface test method according to the present invention.

【図2】本発明のバスインタフェース試験方法を適用す
る情報処理システムの構成例を示すブロック図である。
FIG. 2 is a block diagram showing a configuration example of an information processing system to which the bus interface test method of the present invention is applied.

【図3】図2における情報処理システムのバスの信号線
の構成例を示す説明図である。
3 is an explanatory diagram showing a configuration example of a signal line of a bus of the information processing system in FIG.

【図4】図3におけるバス信号線の動作例を示す説明図
である。
FIG. 4 is an explanatory diagram showing an operation example of a bus signal line in FIG.

【図5】図2における情報処理システムでの本発明に係
わる情報の転送動作例を示すシーケンス図である。
5 is a sequence diagram showing an example of an information transfer operation according to the present invention in the information processing system in FIG.

【図6】従来のバスインタフェース試験の手順例を示す
シーケンス図である。
FIG. 6 is a sequence diagram showing a procedure example of a conventional bus interface test.

【図7】従来のバスインタフェース試験技術における不
具合例を示す説明図である。
FIG. 7 is an explanatory diagram showing a defect example in the conventional bus interface test technique.

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

1:CPU、2:保守バス、3:システムバス、4:シ
ステムバスインタフェース部、4a:レシーバ素子、
5:保守バス制御部、6:レジスタ、7:パリティチェ
ック部、8:システムバス制御部、9:主回路、10:
装置A、11:書き込みデータ、20:光ディスク、2
1:OD駆動装置。
1: CPU, 2: maintenance bus, 3: system bus, 4: system bus interface unit, 4a: receiver element,
5: maintenance bus control unit, 6: register, 7: parity check unit, 8: system bus control unit, 9: main circuit, 10:
Device A, 11: write data, 20: optical disc, 2
1: OD drive device.

───────────────────────────────────────────────────── フロントページの続き (73)特許権者 000000295 沖電気工業株式会社 東京都港区虎ノ門1丁目7番12号 (72)発明者 増田 悦夫 東京都新宿区西新宿三丁目19番2号 日 本電信電話株式会社内 (72)発明者 清水 浩一 東京都新宿区西新宿三丁目19番2号 日 本電信電話株式会社内 (72)発明者 村上 孝夫 神奈川県川崎市中原区上小田中4丁目1 番1号 富士通株式会社内 (72)発明者 西井 浩士 神奈川県横浜市戸塚区戸塚町216番地 株式会社日立製作所情報通信事業部内 (72)発明者 平野 裕一 東京都港区芝五丁目7番1号 日本電気 株式会社内 (72)発明者 田原 保 東京都港区虎ノ門1丁目7番12号 沖電 気工業株式会社内 (56)参考文献 特開 平5−158843(JP,A) 特開 平5−12133(JP,A) 特開 平8−179013(JP,A) 特開 平5−342117(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 11/22 - 11/26 ─────────────────────────────────────────────────── ─── Continuation of the front page (73) Patent holder 000000295 1-7-12 Toranomon, Minato-ku, Tokyo Oki Electric Industry Co., Ltd. (72) Etsue Masuda Etsuo Masuda 3-19-2 Nishishinjuku, Shinjuku-ku, Tokyo Date Main Telegraph and Telephone Corporation (72) Inventor Koichi Shimizu 3-19-2 Nishishinjuku, Shinjuku-ku, Tokyo Japan Telegraph and Telephone Corporation (72) Inventor Takao Murakami 4-chome Kamiodachu, Nakahara-ku, Kawasaki-shi, Kanagawa No. 1 in Fujitsu Limited (72) Inventor Hiroshi Nishii 216 Totsuka-cho, Totsuka-ku, Yokohama-shi, Kanagawa Hitachi, Ltd. Information & Communication Division (72) Inventor Yuichi Hirano 5-7-1, Shiba, Minato-ku, Tokyo Inside NEC Corporation (72) Inventor Tamotsu Tahara 1-7-12 Toranomon, Minato-ku, Tokyo Inside Oki Electric Industry Co., Ltd. (56) Reference JP-A-5-158843 (J , A) JP flat 5-12133 (JP, A) JP flat 8-179013 (JP, A) JP flat 5-342117 (JP, A) (58 ) investigated the field (Int.Cl. 7, DB Name) G06F 11/22-11/26

Claims (5)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 情報転送用バスとパリティチェック用信
号線からなるバスに接続された、パリティチェック機能
を有する装置のバスインタフェースを試験するバスイン
タフェース試験方法であって、 任意の奇数桁のビットパターンの第1のデータを上記バ
スインタフェースを介して上記装置の記憶手段書き込
む第1のステップと、 該第1のステップで上記記憶手段に書き込む第1のデー
タに対して上記パリティチェック機能により パリティチ
ェックを行なう第のステップと、該第2のステップでの上記パリティチェック機能による
パリティチェック結果がパリティエラーであれば、上記
バスインタフェースのバスレシーバ素子が故障であると
検出する第3のステップと、 上記第2のステップでの上記パリティチェック機能によ
るパリティチェック結果がパリティエラーでなければ、
上記記憶手段に書込んだ上記第1のデータを上記バスイ
ンタフェースを介して読み出す第4のステップと、 該第4のステップで読み出した上記第1のデータに対し
て上記パリティチェック機能によりパリティチェックを
行う第5のステップと、 該第5のステップでの上記パリティチェック機能による
パリティチェック結果がパリティエラーであれば、上記
バスインタフェースのバスドライバ素子が故障であると
検出する第6のステップと、 上記第5のステップでの上記パリティチェック機能によ
るパリティチェック結果がパリティエラーでなければ、
上記第1のデータと逆のビットパターンの第2のデータ
を上記バスインタフェースを介して上記記憶手段書き
む第7のステップと、 該第7のステップで上記記憶手段に書き込む第2のデー
タに対して上記パリティチェック機能により パリティチ
ェックを行なう第のステップと 該第8のステップでの上記パリティチェック機能による
パリティチェック結果がパリティエラーであれば、上記
バスレシーバ素子が故障であると検出する第9のステッ
プとを有し、上記パリティチェック機能での上記第1の
データおよび上記第2のデー タを用いたパリティチェッ
クの結果に基づき、上記情報転送用バスおよび上記パリ
ティチェック用信号線のそれぞれに接続された上記 バス
ドライバ素子と上記バスレシーバ素子の1ビットスタッ
ク故障の検出を行なうことを特徴とするバスインタフェ
ース試験方法。
1. An information transfer bus and a parity check signal.
Connected to a bus consisting Line, a bus interface method for testing a bus interface that equipment having a parity check function, the server of the first data in any odd digits of a bit pattern
Write to the storage means of the above device through the interface
The first step and the first data written in the storage means in the first step.
A second step of performing a parity check on the data by the parity check function and a parity check function on the second step .
If the parity check result is a parity error, above
If the bus receiver element of the bus interface is defective
By the third step of detecting and the parity check function in the second step.
If the parity check result is a parity error,
The first data written in the storage means is transferred to the bus controller.
The fourth step of reading through the interface and the first data read in the fourth step .
Check the parity with the above parity check function.
According to the fifth step to be performed and the parity check function described above in the fifth step
If the parity check result is a parity error, above
If the bus driver element of the bus interface is defective
The sixth step of detecting and the parity check function of the fifth step
If the parity check result is a parity error,
Second data having a bit pattern opposite to that of the first data
Second data writing and writing <br/> write non seventh step in the storage means via the bus interface, in the storage means in step said 7
An eighth step of performing a parity check with the parity check function relative to data, due to the parity check function in step said 8
If the parity check result is a parity error, above
The ninth step to detect that the bus receiver element is defective
And the first in the parity check function.
Parity check using the data and the second data
Based on the results of
A bus interface test method, comprising detecting a 1-bit stack fault of the bus driver element and the bus receiver element connected to each of the T-check signal lines .
【請求項2】 情報転送用バスとパリティチェック用信
号線からなるバスに接続された、パリティチェック機能
を有する装置のバスインタフェースを試験するバスイン
タフェース試験方法であって、 任意の偶数桁のビットパターンの第1のデータを上記バ
スインタフェースを介して上記装置の記憶手段書き込
む第1のステップと、 該第1のステップで上記記憶手段に書き込む第1のデー
タに対して上記装置に予め設けられたパリティチェック
機能により パリティチェックを行なう第のステップ
と、該第2のステップでの上記パリティチェック機能による
パリティチェック結果がパリティエラーであれば、上記
バスインタフェースのバスレシーバ素子が故障であると
検出する第3のステップと、 上記第2のステップでの上記パリティチェック機能によ
るパリティチェック結果がパリティエラーでなければ、
上記記憶手段に書込んだ上記第1のデータを上記バスイ
ンタフェースを介して読み出す第4のステップと、 該第4のステップで読み出した上記第1のデータに対し
て上記パリティチェック機能によりパリティチェックを
行う第5のステップと、 該第5のステップでの上記パリティチェック機能による
パリティチェック結果がパリティエラーであれば、上記
バスインタフェースのバスドライバ素子が故障であると
検出する第6のステップと、 上記第5のステップでの上記パリティチェック機能によ
るパリティチェック結果がパリティエラーでなければ、
上記第1のデータと逆のビットパターンの第2のデータ
を上記バスインタフェースを介して上記記憶手段書き
む第7のステップと、 該第7のステップで上記記憶手段に書き込む第2のデー
タに対して上記パリティチェック機能により パリティチ
ェックを行なう第のステップと、該第8のステップでの上記パリティチェック機能による
パリティチェック結果がパリティエラーであれば、上記
バスレシーバ素子が故障であると検出する第9のステッ
プと、 上記第8のステップでの上記パリティチェック機能によ
るパリティチェック結果がパリティエラーでなければ、
上記パリティチェック用に付加されるパリティ値が上記
第1,第2のデータと逆となるビットパターンの第3の
データを上記バスインタフェースを介して上記記憶手段
書き込む第10のステップと、 該第10テップで上記記憶手段に書き込む第3データに
対して上記パリティチェック機能により パリティチェッ
クを行なう第11のステップと 該第11のステップでの上記パリティチェック機能によ
るパリティチェック結果がパリティエラーであれば、上
記パリティチェック用信号線に接続された上記バスレシ
ーバ素子が故障であると検出する第12のステップと、 上記第11のステップでの上記パリティチェック機能に
よるパリティチェック結果がパリティエラーでなけれ
ば、上記記憶手段に書込んだ上記第3のデータを上記バ
スインタフェースを介して読み出す第13のステップ
と、 該第13のステップで読み出した上記第3のデータに対
して上記パリティチェック機能によりパリティチェック
を行う第14のステップと、 該第14のステップでの上記パリティチェック機能によ
るパリティチェック結果がパリティエラーであれば、上
記パリティチェック用信号線に接続された上記バスドラ
イバ素子が故障であると検出する第15のステップとを
有し、上記パリティチェック機能での上記第1から第3
のデータを用いたパリティチェックの結果に基づき、上
記情報転送用バスおよび上記パリティチェック用信号線
のそれぞれに接続された 上記バスドライバ素子と上記バ
スレシーバ素子の1ビットスタック故障の検出を行なう
ことを特徴とするバスインタフェース試験方法。
2. An information transfer bus and a parity check signal.
Connected to a bus consisting Line, a bus interface method for testing a bus interface that equipment having a parity check function, the server of the first data in any of the even digits of a bit pattern
Write to the storage means of the above device through the interface
The first step and the first data written in the storage means in the first step.
Parity check preset in the above device
A second step of performing a parity check by the function, according to the parity check function in the second step
If the parity check result is a parity error, above
If the bus receiver element of the bus interface is defective
By the third step of detecting and the parity check function in the second step.
If the parity check result is a parity error,
The first data written in the storage means is transferred to the bus controller.
The fourth step of reading through the interface and the first data read in the fourth step .
Check the parity with the above parity check function.
According to the fifth step to be performed and the parity check function described above in the fifth step
If the parity check result is a parity error, above
If the bus driver element of the bus interface is defective
The sixth step of detecting and the parity check function of the fifth step
If the parity check result is a parity error,
Second data having a bit pattern opposite to that of the first data
Second data writing and writing <br/> write non seventh step in the storage means via the bus interface, in the storage means in step said 7
An eighth step of performing a parity check with the parity check function relative to data, due to the parity check function in step said 8
If the parity check result is a parity error, above
The ninth step to detect that the bus receiver element is defective
And the parity check function in the eighth step above.
If the parity check result is a parity error,
The storage unit stores the third data having a bit pattern in which the parity value added for the parity check is opposite to that of the first and second data via the bus interface.
A write non-tenth step written to, the third data written in the memory means at said 10 step
An eleventh step of performing a parity check with the parity check function for, in the parity check function in step said 11
If the parity check result is a parity error,
The above-mentioned bus receiver connected to the parity check signal line.
The twelfth step of detecting that the server device has a failure, and the parity check function in the eleventh step.
The parity check result must be a parity error.
For example, the third data written in the storage means is stored in the buffer.
Thirteenth step of reading through the interface
And the third data read in the 13th step.
Then, the parity check function is used to check the parity.
And a parity check function in the fourteenth step.
If the parity check result is a parity error,
The above bus driver connected to the parity check signal line.
And a fifteenth step of detecting that the aver element is defective.
The first to the third in the parity check function
Based on the result of the parity check using the data of
Information transfer bus and signal line for parity check
A bus interface test method for detecting a 1-bit stack fault of the bus driver element and the bus receiver element connected to each of the above.
【請求項3】 請求項1、もしくは、請求項2のいずれ
かに記載のバスインタフェース試験方法において、 上記第1のデータのビットパターンは、オール「1」も
しくはオール「0」のいずれか一方からなることを特徴
とするバスインタフェース試験方法。
3. The bus interface test method according to claim 1 or 2, wherein the bit pattern of the first data is either all "1" or all "0". Bus interface test method characterized by the following.
【請求項4】 請求項1から請求項3のいずれかに記載
のバスインタフェース試験方法において、各データの上記記憶手段からの読み出し毎に、パリティ
エラーがなければ、 上記記憶手段へ書き込んだデータと
該記憶手段から読み出したデータとのパターン照合を行
なうことを特徴とするバスインタフェース試験方法。
4. The bus interface test method according to claim 1, wherein the parity is read every time each data is read from the storage means.
If there are no errors, the bus interface test wherein the line <br/> Nau pattern matching and data read from the written data and said storage means to the storage means.
【請求項5】 請求項1から請求項4のいずれかに記載
のバスインタフェース試験方法でのそれぞれの処理プロ
グラムを記録した記録媒体。
5. A recording medium in which each processing program in the bus interface test method according to claim 1 is recorded.
JP22245897A 1997-08-19 1997-08-19 Bus interface test method and recording medium storing the processing program Expired - Fee Related JP3372192B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22245897A JP3372192B2 (en) 1997-08-19 1997-08-19 Bus interface test method and recording medium storing the processing program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22245897A JP3372192B2 (en) 1997-08-19 1997-08-19 Bus interface test method and recording medium storing the processing program

Publications (2)

Publication Number Publication Date
JPH1165879A JPH1165879A (en) 1999-03-09
JP3372192B2 true JP3372192B2 (en) 2003-01-27

Family

ID=16782739

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22245897A Expired - Fee Related JP3372192B2 (en) 1997-08-19 1997-08-19 Bus interface test method and recording medium storing the processing program

Country Status (1)

Country Link
JP (1) JP3372192B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114966366B (en) * 2022-04-29 2025-07-25 北京时代民芯科技有限公司 Test system and test method for information processing micro-system bus interface

Also Published As

Publication number Publication date
JPH1165879A (en) 1999-03-09

Similar Documents

Publication Publication Date Title
US6886116B1 (en) Data storage system adapted to validate error detection logic used in such system
EP0068108B1 (en) System and process for diagnosing and correcting errors in a remote data processing equipment
US7069477B2 (en) Methods and arrangements to enhance a bus
JPS6134639A (en) Electronic circuit tester
JPH01188953A (en) Data protection apparatus and method with allowable range of disturbance
US3911402A (en) Diagnostic circuit for data processing system
US6938188B1 (en) Method for verifying functional integrity of computer hardware, particularly data storage devices
JP3372192B2 (en) Bus interface test method and recording medium storing the processing program
US7155636B2 (en) Method for detecting faults between storage devices and storage devices using the same
JP2006277079A (en) Fault detection apparatus and fault detection method
JP3638773B2 (en) Disk array device
US6642733B1 (en) Apparatus for indentifying defects in electronic assemblies
JP2011070284A (en) End cover, programmable logic controller device including the same, end cover mounting presence/absence confirmation method and failure diagnostic method for the programmable logic controller device
JPH05324950A (en) Logical card for information processor
JP3624051B2 (en) Information processing device
JPH08278924A (en) Adapter diagnostic system
JP3385928B2 (en) Redundant distributed controller
JP2868003B1 (en) Magnetic disk drive
KR950015087A (en) Memory Diagnostic Device and Method
JP2871966B2 (en) Fault detection circuit inspection system
JPH079636B2 (en) Bus diagnostic device
JPH07118831B2 (en) control method
JPH0426500B2 (en)
JPS58172729A (en) Diagnosing circuit of input and output controller
JPS63174141A (en) Diagnosing system for test of information processor

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20021025

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20071122

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20081122

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20091122

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20101122

Year of fee payment: 8

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313115

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

Free format text: PAYMENT UNTIL: 20101122

Year of fee payment: 8

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20101122

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20111122

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20111122

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20121122

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20121122

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20131122

Year of fee payment: 11

S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313531

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313117

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees