JPH01184550A - Test circuit for intermediate controller - Google Patents

Test circuit for intermediate controller

Info

Publication number
JPH01184550A
JPH01184550A JP63008465A JP846588A JPH01184550A JP H01184550 A JPH01184550 A JP H01184550A JP 63008465 A JP63008465 A JP 63008465A JP 846588 A JP846588 A JP 846588A JP H01184550 A JPH01184550 A JP H01184550A
Authority
JP
Japan
Prior art keywords
test
external
pattern
circuit
external 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.)
Granted
Application number
JP63008465A
Other languages
Japanese (ja)
Other versions
JP2710777B2 (en
Inventor
Hiromi Uchikawa
内川 博己
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
Original Assignee
Fujitsu 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 Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP63008465A priority Critical patent/JP2710777B2/en
Publication of JPH01184550A publication Critical patent/JPH01184550A/en
Application granted granted Critical
Publication of JP2710777B2 publication Critical patent/JP2710777B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PURPOSE:To test an internal circuit entirely by converting the internal loop back test function of a self-diagnosing function in an intermediate controller to the control function of an external interface. CONSTITUTION:In a loop back test circuit, first and second selection circuits 13 and 14 which select a signal with respect to the control function of the external interface are added. And on a write register 102' being used for an external test similarly as a loop back test, the control signal of operating sequence for an external device is set as a test pattern via the external interface 101. Then, its response pattern is set at a read register 103' being used for the external test, and an MPU 11 reads it, then, executes the check of the action.

Description

【発明の詳細な説明】 〔(既   要〕 ホスト計算機と端末装置との間にあってインタフェース
の制御機能を有する中間制御装置のテスト回路に関し、 外部装置を代行するテスト回路を有し、内部回路のすべ
てに対してテスト可能な中間制御装置のテスト回路を提
供することを目的とし、外部装置との間で外部インタフ
ェースを介してデータの送受信の可否を制御する制御回
路を少なくとも有する中間制御装置において、前記i1
J御回路に与える折返しテスト用のテストパターン及び
前記外部インタフェースを介して外部装置に与える外部
テスト用のテストパターンを一時保持する折返しテスト
と外部テスト用ライトレジスタと、前記折返しテスト用
のテストパターンに対する前記制御回路からの応答パタ
ーン及び外部インタフェースを介して入力する外部装置
からの応答パターンを一時保持する折返しテストと外部
テスト用リードレジスタと、通常使用のオンラインモー
ドと試験用の折返しテストモードの選択に従って前記外
部インタフェースを介して入力する外部装置からの入力
信号と前記ライトレジスタからの前記折返しテスト用の
テストパターンを選択し前記制御回路に与える選択回路
と、通常使用のオンラインモードと試験用の外部テスト
モードの選択に従って、前記制御回路からの制御信号と
ライトレジスタからの外部テスト用のテストパターンを
選択し前記外部インタフェースを介して外部装置に与え
る第1の選択回路と、試験用の折返しテストモードと外
部テストモーどの選択に従って前記制御回路からの応答
パターンと外部インタフェースを介して入力する外部装
置からの応答パターンを選択し前記リードレジスタに与
える第2の選択回路と、前記ライトレジスタにテスト用
のテストパターンをセットしリードレジスタにセットさ
れた応答パターンを読出し期待パターンと比較するチェ
ック手段を有するように構成する。
[Detailed Description of the Invention] [(Already required)] Regarding a test circuit for an intermediate control device that is located between a host computer and a terminal device and has an interface control function, it has a test circuit that acts as an external device, and has a test circuit that acts on behalf of an external device, The purpose of the intermediate control device is to provide a test circuit for an intermediate control device that can be tested for the above-mentioned intermediate control device, which has at least a control circuit that controls whether or not data can be transmitted and received between an external device and an external device via an external interface. i1
A write register for a loop test and an external test that temporarily holds a test pattern for a loop test applied to the J control circuit and a test pattern for an external test applied to an external device via the external interface, and a write register for the loop test for the test pattern for the loop test. According to the selection of the return test and external test read register that temporarily holds the response pattern from the control circuit and the response pattern from the external device input via the external interface, and the online mode for normal use and the return test mode for testing. a selection circuit that selects an input signal from an external device inputted through the external interface and a test pattern for the loopback test from the write register and supplies it to the control circuit; and an online mode for normal use and an external test for testing. According to the mode selection, a first selection circuit selects a control signal from the control circuit and a test pattern for external testing from the write register and supplies it to an external device via the external interface; and a return test mode for testing. a second selection circuit that selects a response pattern from the control circuit and a response pattern from an external device input via an external interface according to a selection of an external test mode, and supplies the selected circuit to the read register; and a test pattern for testing to the write register. The response pattern set in the read register is read out and is compared with an expected pattern.

〔産業上の利用分野〕[Industrial application field]

本発明は、ホスト計算機と端末装置との間にあってイン
タフェースの制御機能を有する中間制御装置のテスト回
路に関する。
The present invention relates to a test circuit for an intermediate control device that is located between a host computer and a terminal device and has an interface control function.

一般に、第3図(alに示されるように、中間制御装置
1は、ホスト計算機2と複数の端末装置3との中間にあ
り、ホスト計算機2から与えられるデータをいずれかの
出力端末装置3に送り、あるいは、いずれかの入力端末
装置3からのデータをホスト計算機に送るため、データ
マルチプレクサと送受信の制御を行う。
Generally, as shown in FIG. In order to send or send data from one of the input terminal devices 3 to the host computer, it controls transmission and reception with the data multiplexer.

すなわち、中間制御装置lは、第3図(b)に示される
ように、内部にMPUIIを有し、チャネルコントロー
ラIOを介してホスト計算機2と、【10コントローラ
12との間でデータの送受信の可否を制御するもので、
外部装置に要求信号を送り、その要求に対する応答信号
を受ける制御回路、外部装置か・らの要求信号を受けそ
の要求に対する応答信号を外部装置に送るための制御回
路を少なくとも有する。
That is, as shown in FIG. 3(b), the intermediate control device l has an MPU II inside, and transmits and receives data between the host computer 2 and the [10 controller 12] via the channel controller IO. It controls whether or not
It has at least a control circuit for sending a request signal to an external device and receiving a response signal to the request, and a control circuit for receiving a request signal from the external device and sending a response signal to the request to the external device.

システム全体の信頼性を向上させるために、この中間制
御装置が正しく動作するかどうかをチェックする必要が
あり、その試験は要求時に高速かつ正確に実施されるこ
とがきわめて重要となる。
In order to improve the reliability of the entire system, it is necessary to check whether this intermediate control device operates correctly, and it is extremely important that the test be performed quickly and accurately when required.

〔従来の技術〕[Conventional technology]

従来、中間制御装置の試験は、装置内の制御回路にテス
トパターンを与えその応答パターンを出力するテスト回
路を有し、その応答パターンと期待値パターンとを装置
内のMPUで比較する自己診断方式が利用されていた。
Conventionally, testing of intermediate control devices has been carried out using a self-diagnosis method that includes a test circuit that applies a test pattern to a control circuit within the device and outputs a response pattern, and compares the response pattern with an expected value pattern using an MPU within the device. was being used.

第4図は従来の中間制御装置におけるテスト回路の構成
図である。同図において、全体は中間制1卸装置1内の
チャネルコントローラ10の一部で、100はデータの
送受信の可否を制御する制御回路、101は外部のホス
ト計算機あるいは!10コントローラと接続する外部イ
ンタフェースで内部にドライバ/レシーバを有するもの
、102は制御回路に与える折返しテスト用のテストパ
ターンを一時保持する折返しテスト用ライトレジスタ、
103はそのテストパターンに対する制御回路100か
らの応答パターンを一時保持する折返しテスト用リード
レジスタ、104,105.106は通常使用のオンラ
インモードと試験用の折返しテストモードの選択に従っ
て制御回路100への大信号の入力ルートを切換える選
択回路である。
FIG. 4 is a configuration diagram of a test circuit in a conventional intermediate control device. In the figure, the whole is a part of the channel controller 10 in the intermediary wholesaler 1, 100 is a control circuit that controls whether or not data can be sent and received, and 101 is an external host computer or! 10 is an external interface connected to the controller and has a driver/receiver inside; 102 is a return test write register that temporarily holds a return test test pattern to be applied to the control circuit;
Reference numeral 103 indicates a return test read register that temporarily holds a response pattern from the control circuit 100 for the test pattern, and reference numerals 104, 105, and 106 indicate the return test read register for temporarily holding the response pattern from the control circuit 100 for the test pattern. This is a selection circuit that switches the input route of a signal.

オンライン時ではオンラインモード指定信号1040が
“1″で折返しテストモード指定信号1060が“θ″
であるため、外部インタフェース101を介して外部装
置からの制御信号1041がアンドゲート104とオア
ゲート105を介して制御回路100に入力され、制御
回路100からの応答信号は外部インタフェース101
を介して外部装置に送られ通常使用となる。一方、テス
トモード時では、オンラインモード指定信号1040が
“θ″で折返しテストモード指定信号1060が“1”
となるため、外部装置からの制御信号1041はアンド
ゲート104の出力にゲーティングせず、ライトレジス
タ102からのテストパターンのテスト用制御信号10
61がアントゲ−)106とオアゲー)105を介して
制御回路100に入力される。このテストパターンは、
中間制御装置内のMPUIIの制御により内部メモリよ
り読み出されてライトレジスタ102にセットされる。
When online, the online mode designation signal 1040 is "1" and the return test mode designation signal 1060 is "θ".
Therefore, a control signal 1041 from an external device is input to the control circuit 100 via the AND gate 104 and the OR gate 105 via the external interface 101, and a response signal from the control circuit 100 is input to the external interface 101.
is sent to an external device for normal use. On the other hand, in the test mode, the online mode designation signal 1040 is "θ" and the return test mode designation signal 1060 is "1".
Therefore, the control signal 1041 from the external device is not gated to the output of the AND gate 104, and the control signal 1041 for testing the test pattern from the write register 102 is gated.
61 is input to the control circuit 100 via the (Ant-game) 106 and (Or-Game) 105. This test pattern is
The data is read from the internal memory and set in the write register 102 under the control of the MPU II in the intermediate control device.

与えられたテストパターンに対する応答パターンが制御
回路100から出力され、その応答パターンの出力制御
信号1030がリードレジスタ103にセットされる。
A response pattern for the given test pattern is output from the control circuit 100, and an output control signal 1030 of the response pattern is set in the read register 103.

セットされた応答パターンはMPUIIに入力され、こ
こで期待パターンと比較され、制御回路100の動作に
対するテストが行われる。
The set response pattern is input to the MPU II, where it is compared with the expected pattern to test the operation of the control circuit 100.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

このように、従来、中間制御装置内の制御回路は、自己
診断を行うテスト回路だけを用いて行われていたため、
装置全体のテストが行えず、特に、外部インタフェース
101に関する正常性のチェックにはホスト計算機、及
び端末装置を接続してテストを行う必要があるという問
題が生じていた。
In this way, conventionally, the control circuit in the intermediate control device used only a test circuit for self-diagnosis.
A problem has arisen in that it is not possible to test the entire device, and in particular, to check the normality of the external interface 101, it is necessary to connect the host computer and the terminal device.

また、中間制御装置内に擬似ホスト回路や擬似端末回路
を有するようにテスト回路を構成する考えもあるが、冗
長回路が大きくなり、装置が高価になるという問題が生
じていた。
There is also an idea of configuring the test circuit to include a pseudo host circuit or a pseudo terminal circuit within the intermediate control device, but this poses a problem in that the redundant circuit becomes large and the device becomes expensive.

本発明は、外部装置を代行するテスト回路を有し、内部
回路のすべてに対してテスト可能な中間制御装置のテス
ト回路を提供することを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a test circuit for an intermediate control device that has a test circuit that acts as an external device and can test all internal circuits.

〔課題を解決するための手段〕[Means to solve the problem]

第1図(a)は本発明の構成図である。本発明は、デー
タの送受信の可否を制御する制御回路100、外部装置
と接続する外部インタフェース101を少なくとも有す
る中間制御装置において、制御回路100に与える折返
しテスト用のテストパターン及び外部インタフェース1
01を介して外部装置に与える外部テスト用のテストパ
ターンを一時保持する折返しテストと外部テスト用ライ
トレジスタ102′と、折返しテストパターンに対する
制御回路100からの応答パターン及び外部インタフェ
ース101を介して入力する外部装置からの応答パター
ンを一時保持する折返しテストと外部テスト用リードレ
ジスタ103′と、通常使用のオンラインモードと試験
用の折返しテストモードの選択に従って外部インタフェ
ース101を介して入力する外部’A’llからの入力
信号とライトレジスタ102′からの折返しテスト用の
テストパターンを選択し制御回路100に与える選択回
路15と、通常使用のオンラインモードと試験用の外部
テストモードの選択に従って、制御回路100からの制
御信号とライトレジスタ102′からの外部テスト用の
テストパターンを選択し外部インタフェース101を介
して外部装置に与える第1の選択回路13と、試験用の
折返しテストモードと外部テストモードの選択に従って
制御回路100からの応答パターンと外部インタフェー
ス101を介して入力する外部装置からの応答パターン
を選択しリードレジスタ103′に与える第2の選択回
路14と、ライトレジスタ102’にテスト用のテスト
パターンをセットしリードレジスタ103′にセットさ
れた応答パターンを読み出し期待パターンと比較するチ
ェック手段11を有する。
FIG. 1(a) is a block diagram of the present invention. The present invention provides an intermediate control device that includes at least a control circuit 100 that controls whether or not data can be transmitted and received, and an external interface 101 that connects to an external device.
A return test and external test write register 102' temporarily holds a test pattern for external testing given to an external device via 01, and a response pattern from the control circuit 100 to the return test pattern is input via the external interface 101. A return test and external test read register 103' that temporarily holds the response pattern from an external device, and an external 'A'll that is input via the external interface 101 according to the selection of the online mode for normal use and the return test mode for testing. The selection circuit 15 selects the input signal from the input signal from the write register 102' and the test pattern for the loopback test and supplies it to the control circuit 100. A first selection circuit 13 selects a test pattern for an external test from a control signal and a write register 102' and supplies it to an external device via an external interface 101, and according to the selection of a return test mode for testing and an external test mode. A second selection circuit 14 selects a response pattern from the control circuit 100 and a response pattern from an external device inputted via the external interface 101 and supplies it to the read register 103', and a test pattern for testing is sent to the write register 102'. A check means 11 is provided for comparing the response pattern set in the read register 103' with the read expected pattern.

〔作   用〕[For production]

本発明では中間制御装置内の自己診断機能の内部折返し
テスト機能を外部インタフェースの制御機能に変換する
ことで、外部インタフェースを含む外部接続部分のテス
トを実行できるようにしている。
In the present invention, by converting the internal return test function of the self-diagnosis function in the intermediate control device into the control function of the external interface, it is possible to test the external connection part including the external interface.

〔実  施  例〕〔Example〕

次に本発明の実施例を図面を参照して説明する。 Next, embodiments of the present invention will be described with reference to the drawings.

第1図(b)は本発明の中間制御装置におけるテスト回
路の構成を示す実施例図である。同図において、第1図
(a)、第4図と同じものは同じ記号で示されている。
FIG. 1(b) is an embodiment diagram showing the configuration of a test circuit in an intermediate control device of the present invention. In this figure, the same parts as in FIGS. 1(a) and 4 are indicated by the same symbols.

全体は中間制御装置(第3図の1)内のチャネルコント
ローラ10の一部で、100はデータの送受信の可否を
制御する制御回路、101は外部のホスト計算機あるい
はI10コントローラと接続する外部インタフェースで
内部にドライバ/レシーバを有するもの、102′は制
御回路100に与える折返しテスト用のテストパターン
及び外部インタフェース101を介して外部装置に与え
る外部テスト用のテストパターンを一時保持する折返し
テストと外部テスト用ライトレジスタ、103′はその
折返しテストパターンに対する制御回路100からの応
答パターン及び外部・インタフェース101を介して外
部装置からの応答パターンを一時保持する折返しテスト
と外部テスト用リードレジスタ、104,105.10
6は通常使用のオンラインモードと試験用の折返しテス
トモードの選択に従って制御回路100への入力信号に
対する入力ルートを切換える選択回路、13は通常使用
のオンラインモードと試験用の外部テストモードの選択
に従って外部インタフェース101への入力信号に対す
る入力ルートを切換える第1の選択回路、14は試験用
の折返しテストモードと外部テストモードの選択に従っ
てリードレジスタ103’への入力信号に対する入力ル
ートを切換える第2の選択回路である。
The whole is a part of the channel controller 10 in the intermediate control device (1 in Figure 3), 100 is a control circuit that controls whether data can be sent and received, and 101 is an external interface that connects to an external host computer or I10 controller. 102' has a driver/receiver inside; 102' is used for loopback tests and external tests that temporarily holds test patterns for loopback tests given to the control circuit 100 and test patterns for external tests given to external devices via the external interface 101; A write register 103' is a read register for loopback tests and external tests that temporarily holds response patterns from the control circuit 100 and response patterns from external devices via the external interface 101 for the loopback test patterns, 104, 105.10
6 is a selection circuit for switching the input route for the input signal to the control circuit 100 according to the selection of the online mode for normal use and the loopback test mode for testing; 13 is the selection circuit for switching the input route for the input signal to the control circuit 100 according to the selection of the online mode for normal use and the external test mode for testing A first selection circuit 14 switches the input route for the input signal to the interface 101, and a second selection circuit 14 switches the input route for the input signal to the read register 103' according to the selection of the loop test mode for testing and the external test mode. It is.

オンライン時では、オンラインモード指定信号1040
が“1”で折返しテストモード指定信号1060と外部
テストモード指定信号131Oが共に“0”となるため
、外部装置から外部インタフェース101を介して入力
する制御信号1041はアンドゲート104とオアゲー
ト105を介して制御回路100に入力され、制御11
回路100からの応答信号は外部インタフェース101
を介して外部装置に送られ、通常使用となる。
When online, online mode designation signal 1040
is “1” and both the return test mode designation signal 1060 and the external test mode designation signal 131O are “0”. Therefore, the control signal 1041 input from the external device through the external interface 101 is inputted through the AND gate 104 and the OR gate 105. is input to the control circuit 100, and the control 11
The response signal from the circuit 100 is sent to the external interface 101.
is sent to an external device for normal use.

一方、テストモード時では、オンラインモード指定信号
1040が“0”であり、折返しテストモード指定信号
1060または外部テストモード指定信号1310のい
ずれか一方が“l”となる。
On the other hand, in the test mode, the online mode designation signal 1040 is "0", and either the return test mode designation signal 1060 or the external test mode designation signal 1310 is "1".

そのため、外部装置からの制御信号1041はアンドゲ
ート104の出力にゲーティングしない。
Therefore, the control signal 1041 from the external device is not gated to the output of the AND gate 104.

ところが、本発明では、その制御信号1041は第2の
選択回路14内のアンドゲート141に入力され、外部
テストモード信号131・Oが“l”であれば、オアゲ
ート142を介してリードレジスタ103’にその信号
状態がセットできる。また、外部テストモード信号13
10が“l”であれば、ライトレジスタ102′からの
出力信号1061が第1の選択回路13内のアンドゲー
ト131をゲーティングし、オアゲート132を介して
外部インタフェース101に人力され、そのため、ライ
トレジスタ102′内のテストパターンを外部インタフ
ェース101を介して外部装置に与えることが可能とな
る。従って、中間制御装置内のMPUIIは、ライトレ
ジスタ102′を介して外部装置にテストパターンを与
え、その外部装置から外部インタフェース101を介し
て入力される応答パターンをリードレジスタ103′を
介して観測することが可能で、期待パターンと比較する
ことにより、少なくとも外部インクフェース101内の
ドライバとレシーバの正常性をチェックすることが可能
となる。
However, in the present invention, the control signal 1041 is input to the AND gate 141 in the second selection circuit 14, and if the external test mode signal 131.O is "L", the control signal 1041 is input to the read register 103' via the OR gate 142. The signal state can be set to . In addition, external test mode signal 13
10 is "L", the output signal 1061 from the write register 102' gates the AND gate 131 in the first selection circuit 13 and is input to the external interface 101 via the OR gate 132, so that the write It becomes possible to provide the test pattern in the register 102' to an external device via the external interface 101. Therefore, the MPU II in the intermediate control device gives a test pattern to the external device via the write register 102', and observes the response pattern input from the external device via the external interface 101 via the read register 103'. By comparing with the expected pattern, it is possible to check the normality of at least the driver and receiver in the external ink face 101.

さらに、本発明ではテストモード時で折返しテストモー
ド指定信号1060が1′″であるならば、ライトレジ
スタ102′からのテストパターンのテスト制御信号1
061がアンドゲート106とオアゲート105を介し
て制御回路100に入力される。このテストパターンは
中間制御装置内のMPU11の制御により内部メモリよ
り読み出されてライトレジスタ102′にセットされる
もので、テストパターンに対する制御回路lOOからの
応答バクーンが制御信号1030として出力され、第2
の選択回路のアンドゲート140に入力される。折返し
テストモード指定信号1060が“1”であるから、制
御信号1030の論理状態はアンドゲート140とオア
ゲート142を介してリードレジスタ103′にセット
される。
Furthermore, in the present invention, if the return test mode designation signal 1060 is 1'' in the test mode, the test pattern test control signal 1 from the write register 102' is
061 is input to the control circuit 100 via the AND gate 106 and the OR gate 105. This test pattern is read out from the internal memory and set in the write register 102' under the control of the MPU 11 in the intermediate control device, and a response back from the control circuit lOO to the test pattern is output as a control signal 1030. 2
is input to the AND gate 140 of the selection circuit. Since the return test mode designation signal 1060 is "1", the logic state of the control signal 1030 is set in the read register 103' via the AND gate 140 and the OR gate 142.

セットされた応答パターンはMPUIIに入力され、こ
こで期待パターンと比較され、制御回路100の動作に
対する正常性もチェックすることが可能となる。
The set response pattern is input to the MPU II, where it is compared with the expected pattern, making it possible to check the normality of the operation of the control circuit 100.

このように、本発明では特に、外部テストモード指定信
号を“1”にすることにより、ライトレジスタ102′
からのテストパターンを外部装置に与え、その応答パタ
ーンをリードレジスタ103′に入力することが可能で
ある。
In this way, in the present invention, by setting the external test mode designation signal to "1", the write register 102'
It is possible to apply a test pattern from the external device to an external device and input the response pattern to the read register 103'.

第2図は、本発明の外部テストモード時の中間制御装置
と外部装置とのインタフェースを示す構成図である。同
図において、第1図tb)と同じものは同じ記号で示さ
れている。ライトレジスタ102′からのテストパター
ンを外部装置に与える場合、外部テストモード指定信号
1310を“1”にすることにより、そのテストパター
ンの信号はアンドゲート131、オアゲート132を通
り外部インタフェース101を介して外部装置2′の外
部インタフェース20に入力される。そして、外部装置
内では、オンラインモード指定信号24を“1”にして
おけば、通常使用となり、入力されたその信号はアント
ゲ−)21を介して制御回路23に与えられる。制御回
路23からの応答信号はアンドゲート22をゲーティン
グし、外部インタフェース20を介して、中間制御装置
側の外部インタフェース101に与えられ、さらにアン
ドゲート141、オアゲート142を介してリードレジ
スタ103’に読み込まれ、装置内のMPIllでチェ
ック′される。従って、本発明では、外部インタフェー
ス101の出力から外部装置を介して再び外部インタフ
ェース101に入力されるルートの正常性を外部テスト
モードの指定によりチェックすることが可能となる。
FIG. 2 is a configuration diagram showing an interface between an intermediate control device and an external device in an external test mode of the present invention. In this figure, the same parts as in FIG. 1 tb) are indicated by the same symbols. When giving the test pattern from the write register 102' to an external device, by setting the external test mode designation signal 1310 to "1", the test pattern signal passes through the AND gate 131 and the OR gate 132 and is sent to the external interface 101. It is input to the external interface 20 of the external device 2'. In the external device, if the online mode designation signal 24 is set to "1", the device is used normally, and the input signal is given to the control circuit 23 via the computer 21. The response signal from the control circuit 23 is gated to the AND gate 22, is given to the external interface 101 on the intermediate control device side via the external interface 20, and is further sent to the read register 103' via the AND gate 141 and the OR gate 142. The data is read and checked by the MPIll in the device. Therefore, in the present invention, it is possible to check the normality of the route that is input from the output of the external interface 101 to the external interface 101 via the external device by specifying the external test mode.

本発明では、通常の自己診断機能の内部折返しテスト機
能ももちろん有し、ライトレジスタ102′に外部イン
タフェースと同様の動作シーケンスで制御信号をテスト
パターンとしてセットし、制御回路100を動作させ、
その応答パターンをリードレジスタ103′に読み取り
、MPUIIでその動作のチェックも実行できる。
The present invention also has an internal feedback test function as a normal self-diagnosis function, sets a control signal as a test pattern in the write register 102' in the same operation sequence as the external interface, operates the control circuit 100,
The response pattern can be read into the read register 103' and its operation can be checked using the MPU II.

本発明ではこの折返しテスト回路に外部インタフェース
の制御機能に関する信号を選択する第1と第2の選択回
路13.14を追加している。そして、折返しテストと
同様に外部テスト用としても利用されるライトレジスタ
102′に外部インクフェース101を介して外部装置
への動作シーケンスの制御信号をテストパターンとして
セットし、その応答パターンは外部テスト用としても利
用されるリードレジスタ103′にセットされ、MPU
IIがそれを読取って動作のチェックを実行する。
In the present invention, first and second selection circuits 13 and 14 for selecting signals related to the control function of the external interface are added to this loopback test circuit. Then, the control signal of the operation sequence to the external device is set as a test pattern via the external ink face 101 in the write register 102', which is also used for external testing as in the loopback test, and the response pattern is used for external testing. It is set in the read register 103' which is also used as
II reads it and performs operational checks.

〔発明の効果〕〔Effect of the invention〕

従って、本発明は、ホスト計算機及び端末装置がない場
合でも中間制御装置の内部回路がそれらを代行すること
ができ、外部接続の部分を含み制御装置全体のテストを
簡単な回路で、しかも高速に実行できることが可能とな
る。
Therefore, even if there is no host computer or terminal device, the internal circuit of the intermediate control device can act for them, and the entire control device, including the external connection part, can be tested with a simple circuit and at high speed. What can be done becomes possible.

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

第1図(a)は本発明の構成図、 第1図中)は本発明の中間制御装置におけるテスト回路
の構成図、 第2図は本発明の中間制御装置と外部装置とのインタフ
ェースを示す構成図、 第3図はlad、 (b)は計算機システム構成図、第
4図は従来の中間制御装置におけるテスト回路の構成図
である。 11・・・チェック手段、 13・・・第1の選択回路、 14・・・第2の選択回路、 15・・・選択回路、 100・・・制御回路、 101・・・外部インタフェース、 102’ ・・・ライトレジスタ、 103′・・・リードレジスタ。
FIG. 1(a) is a block diagram of the present invention, FIG. 1 (inside) is a block diagram of a test circuit in the intermediate control device of the present invention, and FIG. 3 is a configuration diagram of a computer system, and FIG. 4 is a configuration diagram of a test circuit in a conventional intermediate control device. 11... Check means, 13... First selection circuit, 14... Second selection circuit, 15... Selection circuit, 100... Control circuit, 101... External interface, 102' ...Write register, 103'...Read register.

Claims (1)

【特許請求の範囲】 1)制御装置内の自己診断機能の内部テスト機能を外部
インタフェースの制御機能に変換することで、外部接続
の制御装置のテストを行うことを特徴とする外部テスト
機能をもった制御装置。 2)外部装置との間で外部インタフェース(101)を
介してデータの送受信の可否を制御する制御回路(10
0)を少なくとも有する中間制御装置において、 前記制御回路(100)に与える折返しテスト用のテス
トパターン及び前記外部インタフェース(101)を介
して外部装置に与える外部テスト用のテストパターンを
一時保持する折返しテストと外部テスト用ライトレジス
タ(102′)と、前記折返しテスト用のテストパター
ンに対する前記制御回路(100)からの応答パターン
及び外部インタフェース(101)を介して入力する外
部装置からの応答パターンを一時保持する折返しテスト
と外部テスト用リードレジスタ(103′)と、 通常使用のオンラインモードと試験用の折返しテストモ
ードの選択に従って前記外部インタフェース(101)
を介して入力する外部装置からの入力信号と前記ライト
レジスタ(102′)からの前記折返しテスト用のテス
トパターンを選択し前記制御回路(100)に与える選
択回路(15)と、通常使用のオンラインモードと試験
用の外部テストモードの選択に従って、前記制御回路(
100)からの制御信号とライトレジスタ(102′)
からの外部テスト用のテストパターンを選択し前記外部
インタフェース(101)を介して外部装置に与える第
1の選択回路(13)と、 試験用の折返しテストモードと外部テストモードの選択
に従って前記制御回路(100)からの応答パターンと
外部インタフェース(101)を介して入力する外部装
置からの応答パターンを選択し前記リードレジスタ(1
03′)に与える第2の選択回路(14)と、 前記ライトレジスタ(102′)にテスト用のテストパ
ターンをセットしリードレジスタ(103′)にセット
された応答パターンを読出し期待パターンと比較するチ
ェック手段(11)を有することを特徴とする中間制御
装置のテスト回路。
[Claims] 1) An external test function characterized in that an externally connected control device is tested by converting an internal test function of a self-diagnosis function within the control device into a control function of an external interface. control device. 2) A control circuit (10) that controls whether or not data can be transmitted and received with an external device via an external interface (101).
0), a loopback test that temporarily holds a loopback test test pattern given to the control circuit (100) and an external test test pattern given to the external device via the external interface (101). and an external test write register (102'), which temporarily holds a response pattern from the control circuit (100) to the test pattern for the return test and a response pattern from an external device input via the external interface (101). a lead register (103') for loopback testing and external testing; and the external interface (101) according to the selection of online mode for normal use and loopback test mode for testing.
a selection circuit (15) which selects an input signal from an external device inputted via the write register (102') and a test pattern for the loopback test and supplies it to the control circuit (100); According to the selection of mode and external test mode for testing, the control circuit (
Control signals from (100) and write register (102')
a first selection circuit (13) which selects a test pattern for an external test from the computer and supplies it to an external device via the external interface (101); The response pattern from the read register (100) and the response pattern from the external device inputted via the external interface (101) are selected and the read register (100) is selected.
03'), sets a test pattern for testing in the write register (102'), reads out the response pattern set in the read register (103'), and compares it with the expected pattern. A test circuit for an intermediate control device, characterized in that it has a checking means (11).
JP63008465A 1988-01-20 1988-01-20 Test circuit for intermediate control unit Expired - Fee Related JP2710777B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63008465A JP2710777B2 (en) 1988-01-20 1988-01-20 Test circuit for intermediate control unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63008465A JP2710777B2 (en) 1988-01-20 1988-01-20 Test circuit for intermediate control unit

Publications (2)

Publication Number Publication Date
JPH01184550A true JPH01184550A (en) 1989-07-24
JP2710777B2 JP2710777B2 (en) 1998-02-10

Family

ID=11693882

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63008465A Expired - Fee Related JP2710777B2 (en) 1988-01-20 1988-01-20 Test circuit for intermediate control unit

Country Status (1)

Country Link
JP (1) JP2710777B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004287526A (en) * 2003-03-19 2004-10-14 Denso Corp Testing device and method for arbitration circuit

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012127692A1 (en) * 2011-03-24 2012-09-27 富士通株式会社 Information processing device, transmission device, and information processing device control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5890423U (en) * 1982-10-14 1983-06-18 富士通株式会社 I/O device diagnostic equipment
JPS6170640A (en) * 1984-09-14 1986-04-11 Hitachi Ltd Terminal controller with self-diagnosing function

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5890423U (en) * 1982-10-14 1983-06-18 富士通株式会社 I/O device diagnostic equipment
JPS6170640A (en) * 1984-09-14 1986-04-11 Hitachi Ltd Terminal controller with self-diagnosing function

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004287526A (en) * 2003-03-19 2004-10-14 Denso Corp Testing device and method for arbitration circuit

Also Published As

Publication number Publication date
JP2710777B2 (en) 1998-02-10

Similar Documents

Publication Publication Date Title
US7536597B2 (en) Apparatus and method for controlling power, clock, and reset during test and debug procedures for a plurality of processor/cores
US4429362A (en) Data buffer operating in response to computer halt signal
JPH01184550A (en) Test circuit for intermediate controller
JPH1164450A (en) Semiconductor-testing device
JP2776679B2 (en) Information processing system
JP2637653B2 (en) Redundant controller
JPH0619810A (en) Duplex device
JPH04329378A (en) Automatic test system for power source control device
JPH0376352A (en) Simulating test equipment
JPS6123250A (en) Test system
JPH02197912A (en) Clock skew adjusting system
JPH0364895B2 (en)
JPS6123263A (en) Test system
JPS60243731A (en) Self-diagnosis device of magnetic disc control device
JP2599795B2 (en) Test method for circuits with microprocessor
JPH0512063A (en) Logic circuit design device
JPS59121519A (en) Clock stop control system of input and output controller
JP2944729B2 (en) Remote channel device
KR19980021249A (en) Parallel interface unit
JPH04227131A (en) Transmission/reception test circuit
JPH0319055A (en) Data transfer device
JPH0587850B2 (en)
JPH05160879A (en) Diagnostic method for data transfer equipment
JP2000112838A (en) Data transfer testing device
JPS6019271A (en) Data channel device

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees