JP2929975B2 - Fault Diagnosis Method for Bus Interface Circuit - Google Patents

Fault Diagnosis Method for Bus Interface Circuit

Info

Publication number
JP2929975B2
JP2929975B2 JP7182319A JP18231995A JP2929975B2 JP 2929975 B2 JP2929975 B2 JP 2929975B2 JP 7182319 A JP7182319 A JP 7182319A JP 18231995 A JP18231995 A JP 18231995A JP 2929975 B2 JP2929975 B2 JP 2929975B2
Authority
JP
Japan
Prior art keywords
data
test data
bidirectional
bus
buffer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
JP7182319A
Other languages
Japanese (ja)
Other versions
JPH0934749A (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.)
NEC Corp
Original Assignee
Nippon Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nippon Electric Co Ltd filed Critical Nippon Electric Co Ltd
Priority to JP7182319A priority Critical patent/JP2929975B2/en
Publication of JPH0934749A publication Critical patent/JPH0934749A/en
Application granted granted Critical
Publication of JP2929975B2 publication Critical patent/JP2929975B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、バスインタフェー
ス回路の障害診断方法に係わり、詳細には半導体集積回
路装置に搭載されたバスインタフェース回路の障害を診
断するに好適なバスインタフェース回路の障害診断方法
に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus interface circuit fault diagnosis method, and more particularly to a bus interface circuit fault diagnosis method suitable for diagnosing a bus interface circuit fault mounted in a semiconductor integrated circuit device. About.

【0002】[0002]

【従来の技術】従来、バスインタフェース回路を8ビッ
トの回路で構成するに際しては、図2に示すように、一
方の半導体集積回路50に双方向バッファ51〜58を
設け、他方の半導体集積回路60に双方向バッファ61
〜68を設け、各双方向バッファ51〜58をデータバ
ス71〜78を介してそれぞれ双方向バッファ61〜6
8に接続する構成が採用されている。
2. Description of the Related Art Conventionally, when a bus interface circuit is constituted by an 8-bit circuit, one semiconductor integrated circuit 50 is provided with bidirectional buffers 51 to 58 and the other semiconductor integrated circuit 60 as shown in FIG. Bidirectional buffer 61
To 68, and the bidirectional buffers 51 to 58 are connected to the bidirectional buffers 61 to 6 via data buses 71 to 78, respectively.
8 is adopted.

【0003】上記バスインタフェース回路の障害を診断
するに際しては、半導体集積回路50にテストデータ送
出回路80を設け、他方の半導体集積回路60に障害検
出回路81を設け、テストデータ送出回路80と障害検
出回路81とを障害通知信号線82を介して接続するよ
うになっている。
When diagnosing a fault in the bus interface circuit, a test data sending circuit 80 is provided in the semiconductor integrated circuit 50, a fault detecting circuit 81 is provided in the other semiconductor integrated circuit 60, and the test data sending circuit 80 and the fault detecting The circuit 81 is connected via a failure notification signal line 82.

【0004】次に、上記バスインタフェース回路におけ
るバスの障害診断方法に説明する。まず、テストデータ
送出回路80から双方向バッファ51〜58の内部側に
テストデータを入力し、このテストデータを双方向バッ
ファ51〜58、データバス71〜78を介して双方向
バッファ61〜68へ伝送する。そして双方向バッファ
61〜68から出力されるテストデータに関するテスト
としてパリティチェックなどを障害検出回路81で行
い、データに誤りがあったときには、障害通知信号線8
2を介してテストデータ送出回路80へ障害の内容を伝
送するようになっている。
Next, a method of diagnosing a bus fault in the bus interface circuit will be described. First, test data is input from the test data transmission circuit 80 to the inside of the bidirectional buffers 51 to 58, and the test data is transmitted to the bidirectional buffers 61 to 68 via the bidirectional buffers 51 to 58 and the data buses 71 to 78. Transmit. As a test on test data output from the bidirectional buffers 61 to 68, a parity check or the like is performed by the failure detection circuit 81. If there is an error in the data, the failure notification signal line 8
2, the contents of the fault are transmitted to the test data transmission circuit 80.

【0005】また特開平2─41540号公報に記載さ
れているように、受信側から送信側へデータを送信し、
送信側でデータを保持したあと、保持したデータを反転
し、反転したデータを受信側へ送信し、受信側が反転さ
れたデータを受信したか否かによって障害が発生したか
否かを判定する方法が提案されている。
[0005] Further, as described in Japanese Patent Application Laid-Open No. 2-41540, data is transmitted from a receiving side to a transmitting side.
A method for holding a data at a transmitting side, inverting the held data, transmitting the inverted data to a receiving side, and determining whether a failure has occurred based on whether or not the receiving side has received the inverted data. Has been proposed.

【0006】[0006]

【発明が解決しようとする課題】しかし、従来の障害診
断方法では、送信側から送信したテストデータが受信側
で正確に受信できたか否かを判定することはできるが、
障害が発生した場合、どの箇所で障害が発生したかを特
定することが困難である。
However, in the conventional fault diagnosis method, it is possible to determine whether the test data transmitted from the transmission side has been correctly received by the reception side.
When a failure occurs, it is difficult to specify where the failure has occurred.

【0007】そこで本発明の目的は、バスインタフェー
ス回路で障害が発生したときに、テストデータを用いて
障害の箇所を判定することができるバスインタフェース
回路の障害診断方法を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide a bus interface circuit fault diagnosis method which can determine the location of a fault using test data when a fault occurs in the bus interface circuit.

【0008】[0008]

【課題を解決するための手段】請求項1記載の発明で
は、(イ)一方の双方向バッファと他方の双方向バッフ
ァとを結ぶデータバスの異常時に、一方の双方向バッフ
ァの内部側にテストデータを入力し、(ロ)このテスト
データと一方の双方向バッファのデータバス側から出力
されたテストデータとを比較し、(ハ)さらにテストデ
ータの発生タイミングとは異なるタイミングで他方の双
方向バッファの内部側にテストデータを入力し、(ニ)
このテストデータと他方の双方向バッファのデータバス
側から出力されたテストデータとを比較し、(ホ)各比
較結果を判定し、(ヘ)これらの比較結果が全て正常で
あるときには、データバスの切断と診断し、これらの比
較結果が全て異常であるときにはデータバスの短絡と診
断するバスインタフェース回路の障害診断方法を採用す
る。
According to the first aspect of the present invention, (a) when a data bus connecting one bidirectional buffer and the other bidirectional buffer is abnormal, a test is performed inside the one bidirectional buffer. (B) comparing the test data with the test data output from the data bus side of one bidirectional buffer, and (c) further comparing the test data with the other bidirectional buffer at a timing different from the test data generation timing. Input test data into the buffer, and (d)
This test data is compared with the test data output from the data bus side of the other bidirectional buffer, (e) each comparison result is determined, and (f) all these comparison results are normal.
In some cases, the data bus is diagnosed as disconnected and the ratio
If all the comparison results are abnormal, it is diagnosed that the data bus is short-circuited.
The failure diagnosis method of the bus interface circuit to be disconnected is adopted.

【0009】すなわち請求項1記載の発明では、データ
バスに異常が発生したときには、一方の双方向バッファ
と他方の双方向バッファの内部側にそれぞれタイミング
をずらしてテストデータを入力し、各双方向バッファの
内部側のテストデータとデータバス側のテストデータと
を比較し、この比較結果を判定し、各判定結果が全て正
常であるときには、データバスの切断と診断し、各判定
結果が全て異常であるときにはデータバスの短絡と診断
することを特徴としている。
In other words, according to the first aspect of the present invention, when an abnormality occurs in the data bus, test data is input to the inside of one of the two-way buffers and the other of the two-way buffers at different timings. comparing the test data of the internal side test data and the data bus side of the buffer, to determine the result of the comparison, the determination result is all positive
If normal, diagnose that the data bus is disconnected and
Diagnose data bus short if all results are abnormal
It is characterized in that.

【0010】[0010]

【0011】[0011]

【0012】[0012]

【0013】[0013]

【0014】[0014]

【0015】[0015]

【発明の実施の形態】以下実施例につき本発明を詳細に
説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS The present invention will be described in detail below with reference to embodiments.

【0016】図1は本発明の一実施例におけるバスイン
タフェース回路の全体構成図である。図1において、8
ビットで構成されたバスインタフェース回路は、半導体
集積回路10に搭載された双方向バッファ11〜18、
半導体集積回路20に搭載された双方向バッファ21〜
28を備えており、各双方向11〜18がデータバス3
1〜38を介して双方向バッファ21〜28にそれぞれ
接続されている。さらに半導体集積回路10には方向制
御回路40と障害検出回路41が設けられており、半導
体集積回路20には方向制御回路42と障害検出回路4
4が設けられている。方向制御回路40は双方向バッフ
ァ11〜18の方向性を制御し、方向制御回路42は双
方向バッファ21〜28の方向性を制御するようになっ
ている。
FIG. 1 is an overall configuration diagram of a bus interface circuit according to an embodiment of the present invention. In FIG. 1, 8
The bus interface circuit composed of bits includes bidirectional buffers 11 to 18 mounted on the semiconductor integrated circuit 10,
Bidirectional buffers 21 to 21 mounted on semiconductor integrated circuit 20
28, and each bidirectional 11 to 18 is connected to the data bus 3
They are connected to bidirectional buffers 21 to 28 via 1 to 38, respectively. Further, the semiconductor integrated circuit 10 is provided with a direction control circuit 40 and a failure detection circuit 41, and the semiconductor integrated circuit 20 is provided with a direction control circuit 42 and a failure detection circuit 4.
4 are provided. The direction control circuit 40 controls the directionality of the bidirectional buffers 11 to 18, and the direction control circuit 42 controls the directionality of the bidirectional buffers 21 to 28.

【0017】障害検出回路41は双方向バッファ11〜
18の内部側とデータバス側にそれぞれ接続されてお
り、双方向バッファ11〜18の内部側またはデータバ
ス側へテストデータを送出し、送出したデータの内容を
比較し、比較結果を判定し、この判定結果から障害箇所
を診断するようになっている。また障害検出回路44は
双方向バッハ21〜28の内部側とデータバス側にそれ
ぞれ接続されており、内部側またはデータバス側へテス
トデータを送出し、送出したデータと受信したデータと
を比較し、比較結果を判定し、判定結果から障害箇所を
診断するようになっている。さらに障害検出回路41と
障害検出回路44とは障害通知信号線45を介して接続
されており、一方の双方向バッファから他方の双方向バ
ッファへデータバス31〜38を介してデータが伝送さ
れないときには、データバス31〜38で異常が発生し
た旨を障害通知信号線45を介して伝送するようになっ
ている。
The failure detection circuit 41 includes two-way buffers 11 to
The test data is transmitted to the internal side of the bidirectional buffers 11 to 18 or to the data bus side, the contents of the transmitted data are compared, and the comparison result is determined. The failure location is diagnosed from the result of this determination. The fault detection circuit 44 is connected to the inside of the bidirectional bachs 21 to 28 and to the data bus side, sends test data to the inside or the data bus side, and compares the sent data with the received data. , A comparison result is determined, and a failure point is diagnosed from the determination result. Further, the failure detection circuit 41 and the failure detection circuit 44 are connected via a failure notification signal line 45, and when data is not transmitted from one bidirectional buffer to the other bidirectional buffer via the data buses 31 to 38. The fact that an abnormality has occurred in the data buses 31 to 38 is transmitted via the fault notification signal line 45.

【0018】次に図1に示すバスインタフェース回路の
障害診断方法について説明する。
Next, a method for diagnosing a fault in the bus interface circuit shown in FIG. 1 will be described.

【0019】ここで、データバス31〜38に故障が生
じたときに、例えば、データバス31〜38を介して正
確なデータが伝送されなかったことを例に説明する。す
なわちデータバス31〜38の異常時には、障害検出回
路41は、双方向バッファ11〜18の内部側にテスト
データを送出し、各双方向バッファ11〜18のデータ
バス側から出力されるテストデータを入力し、送出した
データと入力したデータとを比較する。
Here, an example will be described in which accurate data is not transmitted via the data buses 31 to 38 when a failure occurs in the data buses 31 to 38, for example. That is, when the data buses 31 to 38 are abnormal, the failure detection circuit 41 sends test data to the internal sides of the bidirectional buffers 11 to 18 and transmits the test data output from the data buses of the bidirectional buffers 11 to 18. The input and transmitted data is compared with the input data.

【0020】次に、障害検出回路41からテストデータ
を送出したタイミングとは異なるタイミングで、障害検
出回路44から双方向バッファ21〜28の内部側へテ
ストデータを送出し、双方向バッファ21〜28のデー
タバス側から出力されるテストデータを入力する。そし
て送出したデータと入力したデータとを比較する。そし
て障害検出回路41、44でそれぞれ比較結果を判定
し、一方の判定結果を障害通知信号線45を介して他方
の信号検出回路へ伝送し、各判定結果から障害箇所を診
断する。このとき、各障害検出回路41、44の判定結
果が全て正常であればデータバス31〜38が切断され
ていると診断することができる。また障害検出回路4
1、44の全ての比較結果が異常となったときにはデー
タバス31〜38が短絡であると診断することができ
る。
Next, the test data is transmitted from the failure detection circuit 44 to the inside of the bidirectional buffers 21 to 28 at a timing different from the timing at which the test data is transmitted from the failure detection circuit 41, and the bidirectional buffers 21 to 28 are transmitted. The test data output from the data bus side of is input. Then, the transmitted data is compared with the input data. Then, the failure detection circuits 41 and 44 determine the comparison result, respectively, and transmit one determination result to the other signal detection circuit via the failure notification signal line 45, and diagnose a failure location from each determination result. At this time, if the determination results of the failure detection circuits 41 and 44 are all normal, it can be diagnosed that the data buses 31 to 38 are disconnected. Fault detection circuit 4
When all the comparison results of Nos. 1 and 44 become abnormal, it can be diagnosed that the data buses 31 to 38 are short-circuited.

【0021】一方、データバス31〜38が正常時に、
双方向バッファ11〜18と双方向バッファ21〜28
との間でデータの授受が正確にできないときには、前述
したと同じ方法で各双方向バッファ11〜18、21〜
28にそれぞれテストデータを入力し、入力したテスト
データに基づいたデータの判定を行う。そして障害検出
回路41、44の判定結果が異常と判定されたときに
は、異常の判定された双方向バッファの故障であること
を診断することができる。
On the other hand, when the data buses 31 to 38 are normal,
Bidirectional buffers 11-18 and bidirectional buffers 21-28
When data cannot be exchanged accurately between the bidirectional buffers 11 to 18 and 21 to 21 in the same manner as described above.
Test data is input to each of the test data, and data determination is performed based on the input test data. When the results of the determination by the failure detection circuits 41 and 44 are determined to be abnormal, it can be diagnosed that the two-way buffer has been determined to have failed.

【0022】データバス31〜38の正常時に、障害検
出回路41、44からそれぞれ異なるタイミングで双方
向バッファ11〜18、21〜28のデータバス側から
内部側へテストデータを送出し、送出したデータと内部
側へ伝送されたテストデータとを比較し、各比較結果を
判定し、いずれかの判定結果が異常となったときには、
異常と判定された双方向バッファの内部側に障害がある
ことを診断することができる。
When the data buses 31 to 38 are normal, the test data is transmitted from the data buses of the bidirectional buffers 11 to 18 and 21 to 28 to the internal side at different timings from the failure detection circuits 41 and 44, respectively. Is compared with the test data transmitted to the internal side, each comparison result is determined, and when any of the determination results becomes abnormal,
It can be diagnosed that there is a failure inside the bidirectional buffer determined to be abnormal.

【0023】[0023]

【発明の効果】以上説明したように請求項1記載の発明
によれば、データバスに異常が発生したときには、一方
の双方向バッファと他方の双方向バッファの内部側にそ
れぞれタイミングをずらしてテストデータを入力し、各
双方向バッファの内部側のテストデータとデータバス側
のテストデータとを比較し、この比較結果を判定し、
判定結果が全て正常であるときには、データバスの切断
と診断し、各判定結果が全て異常であるときにはデータ
バスの短絡と診断することにしたため、データバスの異
常時にインタフェース回路の障害箇所を診断することが
できる。
As described above, according to the first aspect of the present invention, when an abnormality occurs in the data bus, the test is performed with the timing shifted to the internal side of one bidirectional buffer and the internal side of the other bidirectional buffer. enter the data, compared with the test data of the internal side test data and the data bus side of each bidirectional buffers, to determine the result of the comparison, the
If all judgment results are normal, disconnect the data bus
Is diagnosed, and when all the judgment results are abnormal,
Since it is determined that the bus is short-circuited, it is possible to diagnose a faulty portion of the interface circuit when the data bus is abnormal.

【0024】[0024]

【0025】[0025]

【0026】[0026]

【0027】[0027]

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

【図1】本発明の一実施例におけるバスインタフェース
回路の全体構成図である。
FIG. 1 is an overall configuration diagram of a bus interface circuit according to an embodiment of the present invention.

【図2】従来例のバスインタフェース回路の全体構成図
である。
FIG. 2 is an overall configuration diagram of a conventional bus interface circuit.

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

10、20 半導体集積回路 11〜18、21〜28 双方向バッファ 31〜38 データバス 40、42 方向制御回路 41、44 障害検出回路 10, 20 Semiconductor integrated circuit 11 to 18, 21 to 28 Bidirectional buffer 31 to 38 Data bus 40, 42 Direction control circuit 41, 44 Fault detection circuit

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 一方の双方向バッファと他方の双方向バ
ッファとを結ぶデータバスの異常時に、前記一方の双方
向バッファの内部側にテストデータを入力し、 このテストデータと前記一方の双方向バッファのデータ
バス側から出力されたテストデータとを比較し、 さらに前記テストデータの発生タイミングとは異なるタ
イミングで前記他方の双方向バッファの内部側にテスト
データを入力し、 このテストデータと前記他方の双方向バッファのデータ
バス側から出力されたテストデータとを比較し、 前記各比較結果を判定し、これらの比較結果が全て正常であるときには、前記デー
タバスの切断と診断し、これらの比較結果が全て異常で
あるときには前記データバスの短絡と診断する ことを特
徴とするバスインタフェース回路の障害診断方法。
When an error occurs in a data bus connecting one of the two-way buffers to another one of the two-way buffers, test data is input to the inside of the one-way buffer, and the test data is input to the one-way buffer. Comparing the test data output from the data bus side of the buffer with the test data and inputting the test data to the internal side of the other bidirectional buffer at a timing different from the test data generation timing; The test data output from the data bus side of the bidirectional buffer is compared with each other, and the respective comparison results are determined. When all the comparison results are normal, the data
Diagnosis of disconnection of tabus, all of these comparison results are abnormal
A method for diagnosing a fault in a bus interface circuit, comprising diagnosing a short circuit of the data bus at some time .
JP7182319A 1995-07-19 1995-07-19 Fault Diagnosis Method for Bus Interface Circuit Expired - Lifetime JP2929975B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7182319A JP2929975B2 (en) 1995-07-19 1995-07-19 Fault Diagnosis Method for Bus Interface Circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7182319A JP2929975B2 (en) 1995-07-19 1995-07-19 Fault Diagnosis Method for Bus Interface Circuit

Publications (2)

Publication Number Publication Date
JPH0934749A JPH0934749A (en) 1997-02-07
JP2929975B2 true JP2929975B2 (en) 1999-08-03

Family

ID=16116235

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7182319A Expired - Lifetime JP2929975B2 (en) 1995-07-19 1995-07-19 Fault Diagnosis Method for Bus Interface Circuit

Country Status (1)

Country Link
JP (1) JP2929975B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7610526B2 (en) * 2005-01-24 2009-10-27 Hewlett-Packard Development Company, L.P. On-chip circuitry for bus validation
JP5467925B2 (en) * 2010-05-10 2014-04-09 株式会社日立製作所 Security device equipped with parallel bus sanity check function
JP6243145B2 (en) * 2013-06-12 2017-12-06 Necプラットフォームズ株式会社 Method for relieving important lines in pattern wiring for realizing high-density mounting and high-density mounting apparatus
JP2019096960A (en) 2017-11-20 2019-06-20 富士通株式会社 Transmission equipment and transmission method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5996610U (en) * 1982-12-21 1984-06-30 日本電気株式会社 Bus abnormality detection circuit
JPH0241540A (en) * 1988-08-02 1990-02-09 Nec Corp Interface diagnosing system

Also Published As

Publication number Publication date
JPH0934749A (en) 1997-02-07

Similar Documents

Publication Publication Date Title
JP2929975B2 (en) Fault Diagnosis Method for Bus Interface Circuit
US7310746B2 (en) Method for transmitting messages between bus users
JPS5833330A (en) Checking system for cable transmission line
JP2778625B2 (en) Failure assessment method
CN112526979A (en) Serial communication interface diagnosis system and method of multiple redundancy architecture
JPS6032374B2 (en) data transmission equipment
JPH04305748A (en) Highly reliable bus
CN112291128B (en) Bus-based communication system, system on chip and method therefor
JP3549702B2 (en) Bus control circuit and test method thereof
JPH10133903A (en) Data transfer controller and loop back test system
JP3678265B2 (en) Crossbar switch device and diagnostic method thereof
JPH02305037A (en) Abnormality detecting system for data transmission system
KR0161163B1 (en) The duplex architecture for global bus about duplex gate-way mode in the full electronic switching system
JPH04359166A (en) Cable connection condition diagnostic device
JPH06290070A (en) Cable misconnection detecting system
JPH01248729A (en) Loopback testing equipment for start-stop type rs-232c line
JP2002305525A (en) Communication diagnostic device
JPH0588998A (en) Bus diagnostic system
JPH03138745A (en) System bus diagnosing method
JPH0822397A (en) Mechanism for detecting fault of signal line
JPH0221747A (en) Network fault diagnostic device
JPS63142741A (en) Duplex control system
JPH0612290A (en) Control data monitor system
JP2003008525A (en) Fault diagnostic circuit for transmitter
JPS61208335A (en) Data transmission system