JP2710777B2 - Test circuit for intermediate control unit - Google Patents

Test circuit for intermediate control unit

Info

Publication number
JP2710777B2
JP2710777B2 JP63008465A JP846588A JP2710777B2 JP 2710777 B2 JP2710777 B2 JP 2710777B2 JP 63008465 A JP63008465 A JP 63008465A JP 846588 A JP846588 A JP 846588A JP 2710777 B2 JP2710777 B2 JP 2710777B2
Authority
JP
Japan
Prior art keywords
test
external
pattern
circuit
control circuit
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
JP63008465A
Other languages
Japanese (ja)
Other versions
JPH01184550A (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
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

Description

【発明の詳細な説明】 〔概要〕 ホスト計算機と端末装置との間にあってインタフェー
スの制御機能を有する中間制御装置のテスト回路に関
し、 外部装置のテスト機能を代行するテスト回路を有し、
内部回路のすべてに対してテスト可能な中間制御装置の
テスト回路を提供することを目的とし、 外部装置との間で外部インタフェースを介してデータ
の送受信の可否を制御する制御回路を少なくとも有する
中間制御装置において、前記制御回路に与える折返しテ
スト用のテストパターン及び前記外部インタフェースを
介して外部装置に与える外部テスト用のテストパターン
を一時保持する折返しテストと外部テスト用ライトレジ
スタと、前記折返しテスト用のテストパターンに対する
前記制御回路からの応答パターン及び外部インタフェー
スを介して入力する外部装置からの応答パターンを一時
保持する折返しテストと外部テスト用リードレジスタ
と、通常使用のオンラインモードと試験用の折返しテス
トモードの選択に従って前記外部インタフェースを介し
て入力する外部装置からの入力信号と前記ライトレジス
タからの前記折返しテスト用のテストパターンを選択し
前記制御回路に与える選択回路と、通常使用のオンライ
ンモードと試験用の外部テストモードの選択に従って、
前記制御回路からの制御信号とライトレジスタからの外
部テスト用のテストパターンを選択し前記外部インタフ
ェースを介して外部装置に与える第1の選択回路と、試
験用の折返しテストモードと外部テストモードの選択に
従って前記制御回路からの応答パターンと外部インタフ
ェースを介して入力する外部装置からの応答パターンを
選択し前記リードレジスタに与える第2の選択回路と、
前記ライトレジスタにテスト用のテストパターンをセッ
トしリードレジスタにセットされた応答パターンを読出
し期待パターンと比較するチェック手段を有するように
構成する。
DETAILED DESCRIPTION OF THE INVENTION [Summary] The present invention relates to a test circuit of an intermediate control device having a function of controlling an interface between a host computer and a terminal device, comprising: a test circuit for performing a test function of an external device;
Intermediate control having at least a control circuit for controlling whether data can be transmitted / received to / from an external device via an external interface with a view to providing a test circuit of an intermediate control device capable of testing all of the internal circuits An apparatus for temporarily storing a test pattern for a loopback test to be provided to the control circuit and a test pattern for an external test to be provided to an external device via the external interface; A return test and an external test read register for temporarily holding a response pattern from the control circuit to the test pattern and a response pattern from an external device input via an external interface, a normal use online mode and a test return test mode According to the selection of the external in A selection circuit for selecting an input signal from an external device input through the interface and a test pattern for the loopback test from the write register and providing the selected test pattern to the control circuit; and a normal use online mode and an external test mode for testing. According to your choice,
A first selection circuit for selecting a control signal from the control circuit and a test pattern for an external test from a write register and providing the selected test pattern to an external device via the external interface; and selecting a loopback test mode and an external test mode for the test A second selection circuit that selects a response pattern from the control circuit and a response pattern from an external device input through an external interface according to
A check means is provided for setting a test pattern for testing in the write register and reading the response pattern set in the read register and comparing it with an expected pattern.

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

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

一般に、第3図(a)に示されるように、中間制御装
置1は、ホスト計算機2と複数の端末装置3との中間に
あり、ホスト計算機2から与えられるデータをいずれか
の出力端末装置3に送り、あるいは、いずれかの入力端
末装置3からのデータをホスト計算機に送るため、デー
タマルチプレクサと送受信の制御を行う。
Generally, as shown in FIG. 3 (a), the intermediate control device 1 is located between the host computer 2 and a plurality of terminal devices 3, and transmits data provided from the host computer 2 to one of the output terminal devices 3. Or a data multiplexer and a transmission / reception control to send data from any of the input terminal devices 3 to the host computer.

すなわち、中間制御装置1は、第3図(b)に示され
るように、内部にMPU11を有し、チャネルコントローラ1
0を介してホスト計算機2と、I/Oコントローラ12との間
でデータの送受信の可否を制御するもので、外部装置に
要求信号を送り、その要求に対する応答信号を受ける制
御回路、外部装置からの要求信号を受けその要求に対す
る応答信号を外部装置に送るための制御回路を少なくと
も有する。
That is, as shown in FIG. 3B, the intermediate control device 1 has the MPU 11 therein,
A control circuit that controls whether data can be transmitted and received between the host computer 2 and the I / O controller 12 through the external device 0, sends a request signal to an external device, and receives a response signal to the request. And at least a control circuit for receiving a request signal for the request and sending a response signal to the request to an external device.

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

〔従来の技術〕[Conventional technology]

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

第4図は従来の中間制御装置におけるテスト回路の構
成図である。同図において、全体は中間制御装置1内の
チャネルコントローラ10の一部で、100はデータの送受
信の可否を制御する制御回路、101は外部のホスト計算
機あるいはI/Oコントローラと接続する外部インタフェ
ースで内部にドライバ/レシーバを有するもの、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 intermediate control device 1, 100 is a control circuit for controlling whether data can be transmitted and received, 101 is an external interface connected to an external host computer or I / O controller. With a driver / receiver inside, 102 is a return test write register that temporarily holds a test pattern for a return test given to the control circuit, and 103 is a return test that temporarily holds a response pattern from the control circuit 100 to the test pattern Read register, 104,
105 and 106 are selection circuits for switching the input signal input route to the control circuit 100 in accordance with the selection between the normal use online mode and the test loopback test mode.

オンライン時ではオンラインモード指定信号1040が
“1"で折返しテストモード指定信号1060が“0"であるた
め、外部インタフェース101を介して外部装置からの制
御信号1041がアンドゲート104とオアゲート105を介して
制御回路100に入力され、制御回路100からの応答信号は
外部インタフェース101を介して外部装置に送られ通常
使用となる。一方、テストモード時では、オンラインモ
ード指定信号1040が“0"で折返しテストモード指定信号
1060が“1"となるため、外部装置からの制御信号1041は
アンドゲート104の出力にゲーティングせず、ライトレ
ジスタ102からのテストパターンのテスト用制御信号106
1がアンドゲート106とオアゲート105を介して制御回路1
00に入力される。このテストパターンは、中間制御装置
内のMPU11の制御により内部メモリより読み出されてラ
イトレジスタ102にセットされる。与えられたテストパ
ターンに対する応答パターンが制御回路100から出力さ
れ、その応答パターンの出力制御信号1030がリードレジ
スタ103にセットされる。セットされた応答パターンはM
PU11に入力され、ここで期待パターンと比較され、制御
回路100の動作に対するテストが行われる。
When online, the online mode designation signal 1040 is “1” and the loopback test mode designation signal 1060 is “0”. Therefore, the control signal 1041 from the external device via the external interface 101 is transmitted via the AND gate 104 and the OR gate 105. The response signal input to the control circuit 100 and sent from the control circuit 100 is sent to an external device via the external interface 101 and is normally used. On the other hand, in the test mode, the online mode designating signal 1040 is “0” and the return test mode designating signal is
Since 1060 becomes “1”, the control signal 1041 from the external device is not gated to the output of the AND gate 104, and the test control signal 106 for the test pattern from the write register 102 is output.
1 is a control circuit 1 via an AND gate 106 and an OR gate 105
Input to 00. This test pattern is read from the internal memory under the control of the MPU 11 in the intermediate control device and set in the write register 102. A response pattern to 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. Response pattern set is M
The signal is input to the PU 11, where it is compared with the expected pattern, and a test for the operation of the control circuit 100 is performed.

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

このように、従来、中間制御装置内の制御回路は、自
己診断を行うテスト回路だけを用いて行われていたた
め、装置全体のテストが行えず、特に、外部インタフェ
ース101に関する正常性のチェックにはホスト計算機、
及び端末装置を接続してテストを行う必要があるという
問題が生じていた。また、中間制御装置内に擬似ホスト
回路や擬似端末回路を有するようにテスト回路を構成す
る考えもあるが、冗長回路が大きくなり、装置が高価に
なるといいう問題が生じていた。
As described above, conventionally, the control circuit in the intermediate control device has been performed using only the test circuit that performs the self-diagnosis, so that the entire device cannot be tested. Host computer,
In addition, there is a problem that it is necessary to perform a test by connecting a terminal device. In addition, there is a possibility that a test circuit is configured to include a pseudo host circuit and a pseudo terminal circuit in the intermediate control device. However, there is a problem that a redundant circuit becomes large and the device becomes expensive.

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

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

第1図(a)は本発明の構成図である。本発明は、デ
ータの送受信の可否を制御する制御回路100、外部装置
と接続する外部インタフェース101を少なくとも有する
中間制御装置において、制御回路100に与える折返しテ
ストパターン及び外部インタフェース101を介して外部
装置に与える外部テスト用のテストパターンを一時保持
する折返しテストと外部テスト用ライトレジスタ102′
と、折返しテスト用のテストパターンに対する制御回路
100からの応答パターン及び外部インタフェース101を介
して入力する外部装置からの応答パターンを一時保持す
る折返しテストと外部テスト用リードレジスタ103′
と、通常使用のオンラインモードと試験用の折返しテス
トモードの選択に従って外部インタフェース101を介し
て入力する外部装置からの入力信号と前記ライトレジス
タ102′からの折返しテスト用のテストパターンを選択
し制御回路100に与える選択回路15と、通常使用のオン
ラインモードと試験用の外部テストモードの選択に従っ
て、制御回路100からの制御信号とライトレジスタ102′
からの外部テスト用のテストパターンを選択し外部イン
タフェース101を介して外部装置に与える第1の選択回
路13と、試験用の折返しテストモードと外部テストモー
ドの選択に従って制御回路100からの応答パターンと外
部インタフェース101を介して入力する外部装置からの
応答パターンを選択しリードレジスタ103′に与える第
2の選択回路14と、ライトレジスタ102′にテスト用の
テストパターンをセットしリードレジスタ103′にセッ
トされた応答パターンを読み出し期待パターンと比較す
るチェック手段11を有する。
FIG. 1A is a configuration diagram of the present invention. The present invention provides a control circuit 100 for controlling the transmission / reception of data, an intermediate control device having at least an external interface 101 connected to an external device, and a return test pattern to be given to the control circuit 100 and an external device via the external interface 101. A loopback test for temporarily holding a test pattern for an external test to be given and a write register for external test 102 '
And control circuit for test pattern for loopback test
A return test and an external test read register 103 ′ for temporarily holding a response pattern from the external device 101 and a response pattern input from the external device 101 via the external interface 101.
A control circuit for selecting an input signal from an external device to be input via the external interface 101 and a test pattern for a loopback test from the write register 102 'according to selection of a normal use online mode and a loopback test mode for testing; The control signal from the control circuit 100 and the write register 102 'are selected according to the selection circuit 15 applied to the control circuit 100 and the selection between the normal use online mode and the test external test mode.
A first selection circuit 13 for selecting a test pattern for an external test from the control circuit 100 and providing the same to an external device via an external interface 101; a response pattern from the control circuit 100 according to the selection of a test loopback test mode and an external test mode; A second selection circuit 14 for selecting a response pattern from an external device input via the external interface 101 and supplying the response pattern to the read register 103 ', and setting a test pattern for testing in the write register 102' and setting in the read register 103 ' There is a checking means 11 for comparing the read response pattern with the read expected pattern.

〔作用〕[Action]

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

〔実施例〕〔Example〕

次に本発明の実施例を図面を参照して説明する。第1
図(b)は本発明の中間制御装置におけるテスト回路の
構成を示す実施例図である。同図において、第1図
(a)、第4図と同じものは同じ番号で示されている。
全体は中間制御装置(第3図の1)内のチャネルコント
ローラ10の一部で、100はデータの送受信の可否を制御
する制御回路、101は外部のホスト計算機あるいはI/Oコ
ントローラと接続する外部インタフェースで内部にドラ
イバ/レシーバを有するもの、102′は制御回路100に与
える折返しテスト用のテストパターン及び外部インタフ
ェース101を介して外部装置に与える外部テスト用のテ
ストパターンを一時保持する折返しテストと外部テスト
用ライトレジスタ、103′はその折返しテストパターン
に対する制御回路100からの応答パターン及び外部イン
タフェース101を介して外部装置からの応答パターンを
一時保持する折返しテストと外部テスト用リードレジス
タ、104,105,106は通常使用のオンラインモードと試験
用の折返しテストモードの選択に従って制御回路100へ
の入力信号に対する入力ルートを切換える選択回路、13
は通常使用のオンラインモードと試験用の外部テストモ
ードの選択に従って外部インタフェース101への入力信
号に対する入力ルートを切換える第1の選択回路、14は
試験用の折返しテストモードと外部テストモードの選択
に従ってリードレジスタ103′への入力信号に対する入
力ルートを切換える第2の選択回路である。
Next, an embodiment of the present invention will be described with reference to the drawings. First
FIG. 2B is an embodiment diagram showing a configuration of a test circuit in the intermediate control device of the present invention. In the figure, the same components as those in FIGS. 1A and 4 are denoted by the same reference numerals.
The whole is a part of the channel controller 10 in the intermediate controller (1 in FIG. 3), 100 is a control circuit for controlling whether data can be transmitted and received, and 101 is an external circuit connected to an external host computer or I / O controller. An interface having an internal driver / receiver; 102 ', a loopback test for temporarily holding a loopback test pattern to be given to the control circuit 100 and an external test pattern to be given to an external device via the external interface 101; The test write register 103 'is a return register for temporarily storing the response pattern from the control circuit 100 to the return test pattern and the response pattern from the external device via the external interface 101, and the read register for external test is used, and 104, 105 and 106 are normally used. According to the choice of online mode and wrap test mode for testing A selection circuit for switching an input route for an input signal to the control circuit 100, 13
Is a first selection circuit for switching an input route for an input signal to the external interface 101 in accordance with a selection between a normal use online mode and an external test mode for testing, and 14 is a read circuit in accordance with the selection of a loopback test mode for testing and an external test mode. This is a second selection circuit for switching an input route for an input signal to the register 103 '.

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

一方、テストモード時では、オンラインモード指定信
号1040が“0"であり、折返しテストモード指定信号1060
または外部テストモード指定信号1310のいずれか一方が
“1"となる。そのため、外部装置からの制御回路1041は
アンドゲート104の出力にゲーティングしない。ところ
が、本発明では、その制御信号1041は第2の選択回路14
内のアンドゲート141に入力され、外部テストモード信
号1310が“1"であれば、オアゲート142を介してリード
レジスタ103′にその信号状態がセットできる。また、
外部テストモード信号1310が“1"であれば、ライトレジ
スタ102′からの出力信号1061が第1の選択回路13内の
アンドゲート131をゲーティングし、オアゲート132を介
して外部インタフェース101に入力され、そのため、ラ
イトレジスタ102′内のテストパターンを外部インタフ
ェース101を介して外部装置に与えることが可能とな
る。従って、中間制御装置内のMPU11は、ライトレジス
タ102′を介して外部装置にテストパターンを与え、そ
の外部装置から外部インタフェース101を介して入力さ
れる応答パターンをリードレジスタ103′を介して観測
することが可能で、期待パターンと比較することによ
り、少なくとも外部インタフェース101内のドライバと
レシーバの正常性をチェックすることが可能となる。
On the other hand, in the test mode, the online mode designating signal 1040 is “0” and the loopback test mode designating signal 1060
Alternatively, one of the external test mode designating signals 1310 becomes “1”. Therefore, the control circuit 1041 from the external device does not gate the output of the AND gate 104. However, in the present invention, the control signal 1041 is supplied to the second selection circuit 14.
If the external test mode signal 1310 is "1", the signal state can be set in the read register 103 'via the OR gate 142. Also,
If the external test mode signal 1310 is “1”, 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. Therefore, the test pattern in the write register 102 'can be given to an external device via the external interface 101. Therefore, the MPU 11 in the intermediate control device gives a test pattern to the external device via the write register 102 ', and observes a 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 at least the normality of the driver and the receiver in the external interface 101.

さらに、本発明ではテストモード時で折返しテストモ
ード指定信号1060が“1"であるならば,ライトレジスタ
102′からのテストパターンのテスト制御信号1061がア
ンドゲート106とオアゲート105を介して制御回路100に
入力される。このテストパターンは中間制御装置内のMP
U11の制御により内部メモリより読み出されてライトレ
ジスタ102′にセットされるもので、ライトパターンに
対する制御回路100からの応答パターンが制御信号1030
として出力され、第2の選択回路のアンドゲート140に
入力される。折返しテストモード指定信号1060が“1"で
あるから、制御信号1030の論理状態はアンドゲート140
とオアゲート142を介してリードレジスタ103′にセット
される。セットされた応答パターンはMPU11に入力さ
れ、ここで期待パターンと比較され、制御回路100の動
作に対する正常性もチェックすることが可能となる。
Further, in the present invention, if the loopback test mode designating signal 1060 is "1" in the test mode, the write register
A test control signal 1061 of the test pattern from 102 ′ is input to the control circuit 100 via the AND gate 106 and the OR gate 105. This test pattern is the MP in the intermediate control unit.
The data is read from the internal memory under the control of U11 and is set in the write register 102 '. A response pattern from the control circuit 100 to the write pattern is a control signal 1030.
And input to the AND gate 140 of the second selection circuit. Since the loopback test mode designating signal 1060 is “1”, the logic state of the control signal 1030 is determined by the AND gate 140.
Is set in the read register 103 'via the OR gate 142. The set response pattern is input to the MPU 11, where it is compared with the expected pattern, and the normality of the operation of the control circuit 100 can be checked.

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

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

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

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

〔発明の効果〕〔The invention's effect〕

従って、本発明は、ホスト計算機及び端末装置にテス
ト機能がない場合でも中間制御装置の内部回路がそれら
を代行することができ、外部接続の部分を含み制御装置
全体のテストを簡単な回路で、しかも高速に実行できる
ことが可能となる。
Therefore, according to the present invention, even when the host computer and the terminal device do not have the test function, the internal circuit of the intermediate control device can substitute for the test function, and the test of the entire control device including the external connection portion is performed by a simple circuit. Moreover, it can be executed at high speed.

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

第1図(a)は本発明の構成図、 第1図(b)は本発明の中間制御装置におけるテスト回
路の構成図、 第2図は本発明の中間制御装置と外部装置とのインタフ
ェースを示す構成図、 第3図は(a),(b)は計算機システム構成図、 第4図は従来の中間制御装置におけるテスト回路の構成
図である。 11……チェック手段、 13……第1の選択回路、 14……第2の選択回路、 15……選択回路、 100……制御回路、 101……外部インタフェース、 102′……ライトレジスタ、 103′……リードレジスタ.
1 (a) is a block diagram of the present invention, FIG. 1 (b) is a block diagram of a test circuit in the intermediate control device of the present invention, and FIG. 2 is an interface between the intermediate control device of the present invention and an external device. FIG. 3 is a configuration diagram of a computer system, and FIG. 3 is a configuration diagram of a test circuit in a conventional intermediate control device. 11 ... checking 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 (3)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】制御装置内の自己診断機能の内部テスト機
能で設定されたテストデータを外部装置に供給し、前記
外部装置から戻ってきた折り返しデータと前記テストデ
ータとを前記制御装置の自己診断機能の内部テスト機能
で比較することにより、前記外部装置のテストを行うこ
とを特徴とする制御装置。
1. A test data set by an internal test function of a self-diagnosis function in a control device is supplied to an external device, and the return data returned from the external device and the test data are subjected to a self-diagnosis of the control device. A control device for testing the external device by comparing the functions with an internal test function.
【請求項2】前記内部テスト機能は、折り返しテスト用
ライトレジスタを外部インタフェース回路の制御信号に
変換する変換手段と前記外部インタフェース回路の応答
信号を折り返しテスト用リードレジスタに設定する設定
手段とを備えることを特徴とする請求項1記載の制御装
置。
2. The internal test function includes a conversion unit for converting a write-back test register into a control signal of an external interface circuit, and a setting unit for setting a response signal of the external interface circuit in a read register for loop test. The control device according to claim 1, wherein:
【請求項3】外部装置との間で外部インタフェース(10
1)を介してデータの送受信の可否を制御する制御回路
(100)を少なくとも有する中間制御装置において、 前記制御回路(100)に与える折返しテスト用のテスト
パターン及び前記外部インタフェース(101)を介して
外部装置に与える外部テスト用のテストパターンを一時
保持する折返しテストと外部テスト用ライトレジスタ
(102′)と、 前記折返しテスト用のテストパターンに対する前記制御
回路(100)からの応答パターン及び外部インタフェー
ス(101)を介して入力する外部装置からの応答パター
ンを一時保持する折返しテストと外部テスト用リードレ
ジスタ(103′)と、 通常使用のオンラインモードと試験用の折返しテストモ
ードの選択に従って前記外部インタフェース(101)を
介して入力する外部装置からの入力信号と前記ライトレ
ジスタ(102′)からの前記折返しテスト用のテストパ
ターンを選択し前記制御回路(100)に与える選択回路
(15)と、通常使用のオンラインモードと試験用の外部
テストモードの選択に従って、前記制御回路(100)か
らの制御信号とライトレジスタ(102′)からの外部テ
スト用のテストパターンを選択し前記外部インタフェー
ス(101)を介して外部装置に与える第1の選択回路(1
3)と、 試験用の折返しテストモードと外部テストモードの選択
に従って前記制御回路(100)からの応答パターンと外
部インタフェース(101)を介して入力する外部装置か
らの応答パターンを選択し前記リードレジスタ(10
3′)に与える第2の選択回路(14)と、 前記ライトレジスタ(102′)にテスト用のテストパタ
ーンをセットしリードレジスタ(103′)にセットされ
た応答パターンを読出し期待パターンと比較するチェッ
ク手段(11)を有することを特徴とする中間制御装置の
テスト回路。
3. An external interface (10) with an external device.
1) An intermediate control device having at least a control circuit (100) for controlling whether data can be transmitted and received via the external interface (101) and a loopback test pattern to be given to the control circuit (100). A return test and an external test write register (102 ') for temporarily holding a test pattern for an external test given to an external device; a response pattern from the control circuit (100) to the test pattern for the return test; 101), a return test and an external test read register (103 ') for temporarily holding a response pattern from an external device input through the external interface (101') according to the selection between a normal use online mode and a test return test mode. 101) and an input signal from an external device through the light register. The control circuit (15) selects a test pattern for the loopback test from the master (102 ') and supplies it to the control circuit (100), and the control circuit (15) selects the normal use online mode and the external test mode for testing. A first selection circuit (1) which selects a control signal from the circuit (100) and a test pattern for an external test from the write register (102 ') and supplies the same to an external device via the external interface (101).
3) selecting a response pattern from the control circuit (100) and a response pattern from an external device input via an external interface (101) according to selection of a loopback test mode for test and an external test mode; (Ten
3 ') and a test pattern for testing in the write register (102'), and a response pattern set in the read register (103 ') is read and compared with an expected pattern. A test circuit for an intermediate control device, characterized by having a check 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 JPH01184550A (en) 1989-07-24
JP2710777B2 true 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
WO2012127692A1 (en) * 2011-03-24 2012-09-27 富士通株式会社 Information processing device, transmission device, and information processing device control method

Families Citing this family (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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS599304Y2 (en) * 1982-10-14 1984-03-23 富士通株式会社 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
WO2012127692A1 (en) * 2011-03-24 2012-09-27 富士通株式会社 Information processing device, transmission device, and information processing device control method

Also Published As

Publication number Publication date
JPH01184550A (en) 1989-07-24

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
JPH07181231A (en) Circuit board test system and method thereof
US4429362A (en) Data buffer operating in response to computer halt signal
JP2710777B2 (en) Test circuit for intermediate control unit
US4066883A (en) Test vehicle for selectively inserting diagnostic signals into a bus-connected data-processing system
US4462029A (en) Command bus
JP2917275B2 (en) Test system for device with CPU
JP2776679B2 (en) Information processing system
JPH0619810A (en) Duplex device
JPS5844523A (en) Interface adaptor device
JP3008914B2 (en) Semiconductor integrated circuit
JPH0376352A (en) Simulating test equipment
JPH0662114A (en) Inter-processor diagnostic processing system
JP2599795B2 (en) Test method for circuits with microprocessor
JPS6019271A (en) Data channel device
JPS6315621B2 (en)
JPS6123263A (en) Test system
KR19980021249A (en) Parallel interface unit
JPS6123250A (en) Test system
JPH0319055A (en) Data transfer device
JPH04329378A (en) Automatic test system for power source control device
JPS6156819B2 (en)
JPS6230456B2 (en)
JPH0512063A (en) Logic circuit design device
JPH07141268A (en) Direct memory access control circuit and data transfer testing method for the circuit

Legal Events

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