JPH0319038A - Data transmission/reception device - Google Patents

Data transmission/reception device

Info

Publication number
JPH0319038A
JPH0319038A JP1152364A JP15236489A JPH0319038A JP H0319038 A JPH0319038 A JP H0319038A JP 1152364 A JP1152364 A JP 1152364A JP 15236489 A JP15236489 A JP 15236489A JP H0319038 A JPH0319038 A JP H0319038A
Authority
JP
Japan
Prior art keywords
data
circuit
microprogram
test
processing
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.)
Pending
Application number
JP1152364A
Other languages
Japanese (ja)
Inventor
Nobuo Akeura
明浦 伸夫
Takashi Nito
隆 仁藤
Nobuhiro Seto
瀬戸 信博
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.)
Hitachi Ltd
Hitachi Computer Engineering Co Ltd
Original Assignee
Hitachi Ltd
Hitachi Computer Engineering 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 Hitachi Ltd, Hitachi Computer Engineering Co Ltd filed Critical Hitachi Ltd
Priority to JP1152364A priority Critical patent/JPH0319038A/en
Publication of JPH0319038A publication Critical patent/JPH0319038A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To inprove the test coverage for an abnormality check function and its after-process by adding a data conversion means to a return circuit means and converting the data to send it to a reception circuit when a return test is carried out by a transmission/ reception device. CONSTITUTION:A data conversion means is added to a return circuit means 1A. When a return test is carried out between a transmission circuit 18 and a reception circuit 19, the data conversion means converts the data received from the circuit 18 and sends it to the circuit 19 with an instruction of a host processor (CPU) 11. In this case, the abnormal result of comparison is produced by the function of a circuit 1A. Thus the operation can be shifted to the process of an abnormal system with no intervention given to the process of a microprogram from the CPU 11. Thus the test coverage is improved together with improvement of the reliability for the processes of the abnormal system such as the recovery of the retry and data, the analysis of the error factor, etc.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はデータ送受信装置に係り、特に折返しテストに
よるその構成要素の動作確認の改善に関する。
DETAILED DESCRIPTION OF THE INVENTION [Industrial Field of Application] The present invention relates to a data transmitting/receiving device, and particularly to improving the operation confirmation of its components by repeating tests.

〔従来の技術〕[Conventional technology]

従来、データの送受信において、外部装置とシステム装
置のインタフェース機能部(以後これをアダプタと呼ぶ
)の制御は、システム装置の中央処理装置(以後これを
CPUと呼ぶ)に依存していた。しかし近年では、CP
U制御を軽減しより高機能なシステム装置にするといっ
た背景から分散処理指向が強まっている。すなわち外部
装置とのインタフェースとしてのアダプタの高インテリ
ジェンス化が進み、これを制御する専用の処理装置(以
後システム装置のCPUと対比するためローカルプロセ
ッサ:LPUと呼ぶ)及びLPU16が使用するメモリ
(主記憶と区別するため以後ローカルメモリ17と呼ぶ
)を持つアーキテクチャが主流となっている。そしてこ
れらハードウェアを実際に制御するのはLPUのマイク
ロプログラムであり、ROM14内に常駐するか、シス
テム立上げ時にシステム装置よりRAM15にロードす
るかのいずれかによってLPU16に与えられる。
Conventionally, in data transmission and reception, control of an interface function unit (hereinafter referred to as an adapter) between an external device and a system device has relied on a central processing unit (hereinafter referred to as a CPU) of the system device. However, in recent years, CP
The trend towards distributed processing is increasing due to the need to reduce U-control and create more highly functional system devices. In other words, the intelligence of adapters as interfaces with external devices has progressed, and a dedicated processing unit (hereinafter referred to as a local processor: LPU to compare with the CPU of a system unit) that controls the adapter and a memory (main memory) used by the LPU 16 have been developed. (hereinafter referred to as local memory 17 to distinguish it from the local memory 17) has become mainstream. What actually controls these hardware is the LPU microprogram, which is provided to the LPU 16 by either residing in the ROM 14 or loading it into the RAM 15 from the system device at the time of system startup.

近年の傾向ではこのマイクロプログラムの規模が増大し
、より複雑かつ細かい制御を行えるようになってきてお
り、これらマイクロプログラムによるLPU制御の検証
が重要になってきた。
In recent years, the scale of these microprograms has increased, making it possible to perform more complex and detailed control, and it has become important to verify LPU control using these microprograms.

このようなアダプタの高インテリジェンス化が進む以前
は、マイクロプログラムの規模も小さかったためハード
ウェアの論理の正当性に検証の重点が置かれていた。し
たがってこれらをテストするプログラムは、アダプタの
動作に深く介入し、現在ではマイクロプログラムが行う
ような処理を代行するような形が主流であった。しかし
大規模なマイクロプログラムを持つ近年のアダプタの検
証に対して、従来のコンセプトで作成されたテストプロ
グラムは、ハードウェア論理の検証はできてもマイクロ
プログラムの検証はできない。
Before such adapters became highly intelligent, the scale of microprograms was small, so verification was focused on the validity of the hardware's logic. Therefore, the programs used to test these devices deeply intervened in the adapter's operation, and the mainstream was to take over the processing that is currently performed by microprograms. However, in contrast to the verification of recent adapters that have large-scale microprograms, test programs created using conventional concepts can verify hardware logic but cannot verify microprograms.

このようなアダプタを動作させるCPU側のO8及びア
プリケーションプログラムは、マイクロプログラムにア
ダプタ制御の大半をまかせている。したがってテスト実
行時と上記実際の動作環境が大きく異なってしまいこれ
も重大な問題である。
The O8 and application program on the CPU side that operate such an adapter leave most of the adapter control to the microprogram. Therefore, the actual operating environment described above differs greatly from the time of test execution, which is also a serious problem.

以下マイクロプログラム検証について1つの例を挙げる
。現在主流の高インテリジェンスアダプタのLPU16
及びマイクロプログラムは、CPUII側すなわちテス
トプログラムからの指示(工10命令など)によってデ
ータ折返しテストモードで動作しなければならないこと
をL&識するようになっている。
An example of microprogram verification will be given below. LPU16, the currently mainstream high intelligence adapter
The microprogram and microprogram are designed to recognize that they must operate in the data loop test mode based on instructions from the CPU II side, that is, the test program (such as a 10 command).

第2図はこのテストモードをCPUIIによって指定さ
れたときの、マイクロプログラム処理の概略フローチャ
ートである。マイクロプログラムは第1に処理21によ
ってCPUII側より与えられた送信データすなわちテ
ストデータに対し、パリティ、CRCなどのデータチエ
ツク処理を行う、実際には処理20をコールする形で行
うことになる。第2に処理22によって送信回路18゜
受信回路19の動作制御を行い、受信データをローカル
メモリ17内に格納する。処理23は処理20によって
受信データに対し同様のデータチエツク処理を行う1次
に処理24は送受信データチエツク演算が一致するかを
比較し、処理25による判定処理にて受信データの異常
等を検出する。
FIG. 2 is a schematic flowchart of microprogram processing when this test mode is designated by the CPU II. The microprogram first performs data check processing such as parity and CRC on the transmission data, ie, test data, given from the CPU II side in process 21.Actually, this is done by calling process 20. Second, in process 22, the operations of the transmitting circuit 18 and the receiving circuit 19 are controlled, and the received data is stored in the local memory 17. Process 23 performs the same data check process on the received data as in process 20. First process 24 compares whether the sent and received data check calculations match, and a judgment process in process 25 detects abnormalities in the received data. .

このとき処理25により異常ありと判定された場合、処
理27によりエラー要因の分析、リトライなどが行われ
る。このようなマイクロプログラムのデータチエツク処
理である処理20は、上記実際の動作環境下で動作する
ときのものと同じである。ところでこれらマイクロプロ
グラムによるテスト機能に対し、特開昭63−6133
6号。
At this time, if it is determined in process 25 that there is an abnormality, analysis of the cause of the error, retry, etc. are performed in process 27. Processing 20, which is data check processing of such a microprogram, is the same as that when operating under the above-mentioned actual operating environment. By the way, regarding the test function using these microprograms, Japanese Patent Application Laid-Open No. 63-6133
No. 6.

63−66642号公報等に記載された考え方によって
テストを行うと以下の問題が発生する。
If a test is conducted based on the concept described in Publication No. 63-66642, the following problems occur.

すなわち、上記公知例では送信データがショート線IB
を経由しそのまま受信データとなる。これはアダプタの
実際の動作環境にテストプログラムが介入しなくてもよ
い、しかし、マイクロプログラムのテストカバレージの
立場から見ると、処理20によるデータチエツク演算、
及び処理24゜25による比較9判定では必ず正常と判
定されるため、異常系処理27に入ることがない、した
がって公知例による技術では、マイクロプログラムのテ
ストカバレージを100%にすることはできない、実際
、マイクロプログラムはこの処理27がその規模の大半
を占めており、この部分へのカバレージが向上しないと
マイクロプログラムとしての信頼性も十分とはならない
。従来はこの異常系処理27のカバレージ向上のため、
長時間のヒートランテストを行い、突発的に受信データ
異常が発生するのを待つ方法が一般的であった。または
処理24.25実行時にテストプログラムが介入を行う
しかなく、結局マイクロプログラムのアダプタ制御をテ
スト時特有のものにせざるを得なかった。
That is, in the above-mentioned known example, the transmission data is transmitted through the short line IB.
The data will be received as is. This does not require the test program to intervene in the actual operating environment of the adapter. However, from the standpoint of microprogram test coverage, the data check calculation by process 20,
Since the comparison 9 judgment by processing 24 and 25 always determines normality, abnormality processing 27 is never entered. Therefore, with the technique according to the known example, it is not possible to achieve 100% test coverage of the microprogram. This processing 27 occupies most of the scale of a microprogram, and unless the coverage of this part is improved, the reliability of the microprogram will not be sufficient. Conventionally, in order to improve the coverage of this abnormal system processing 27,
The common method was to perform a long heat run test and wait for a sudden abnormality in the received data to occur. Alternatively, the test program had no choice but to intervene during the execution of processes 24 and 25, and in the end, the adapter control of the microprogram had to be unique to testing.

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

以上データチエツク機能を例にマイクロプログラム自体
の検証について述べたものである。これより、上記従来
技術は次の2点について問題がある。
The above has described the verification of the microprogram itself using the data check function as an example. Therefore, the above-mentioned conventional technology has the following two problems.

第1にマイクロプログラムの処理にCPUI 1側から
介入しなければ、データチエツク機能を中心とする異常
系処理27などのカバレージが向上できないこと、さら
にCPUI 1側から介入の度合いが深まる程、実際の
O8及びアプリケーションプログラム下での動作環境か
ら離れていくこと。
First, unless the CPU 1 intervenes in microprogram processing, the coverage of abnormality processing 27 centered on the data check function cannot be improved. Moving away from the operating environment under O8 and application programs.

第2に上記公知例では送信したデータと受信したデータ
が同じであるため、CPUII側からマイクロプログラ
ムへ介入を行わないとすると、異常系処理27のカバレ
ージの向上は全く不可能であること。
Second, in the above-mentioned known example, since the transmitted data and the received data are the same, it is completely impossible to improve the coverage of the abnormality processing 27 unless the CPU II intervenes in the microprogram.

本発明は、マイクロプログラムの処理にCPU11側か
ら介入することなく、すなわちアダプタ全体を1つのブ
ラックボックスと見ても十分検証精度が上がるデータ送
受信装置の提供を第1の目的とする。第2の目的として
上記第2の問題解決に必要となる送信データの自動変換
を、LPU16及びマイクロプログラムに認識させるこ
となく、CPUII側から直接有効にできる手段を提供
することを目的とする。これによってデータ折返しテス
トのため、送受信データのチエツク結果が一致すると設
定されているマイクロプロゲラムダラムへの介入なしに
異常系処理27に入れるようにすることができる。
A first object of the present invention is to provide a data transmitting/receiving device that can sufficiently improve verification accuracy without intervening from the CPU 11 side in microprogram processing, that is, even when the entire adapter is viewed as one black box. A second object is to provide a means that enables automatic conversion of transmission data, which is necessary for solving the second problem, directly from the CPU II side without making the LPU 16 and the microprogram recognize it. As a result, for the data return test, it is possible to enter the abnormal system processing 27 without intervening in the microprogram module, which is set to match the check results of transmitted and received data.

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

上記目的は、上位処理装置と回線との間に接続されデー
タ送受信を行うものであって、マイクロプログラムと、
該マイクロプログラムの制御により動作するローカル処
理装置と、送信回路と、受信回路と、該送信回路と該受
信回路間の折返し回路手段を有する送受信装置において
、該折返し回路手段にデータ変換手段を設け、上記送受
信装置による折返しテストの際、上記上位処理装置の指
示により該データ変換手段は該送信回路からのデータを
変換して該受信回路に伝送することを特徴とするデータ
送受信装置を構成することによって達成される。
The above purpose is to be connected between the upper processing unit and the line to send and receive data, and to
In a transmitting/receiving device having a local processing device operated under the control of the microprogram, a transmitting circuit, a receiving circuit, and a folding circuit between the transmitting circuit and the receiving circuit, the folding circuit means is provided with data conversion means, By configuring the data transmitting/receiving device, the data converting means converts data from the transmitting circuit and transmits the converted data to the receiving circuit according to an instruction from the higher-level processing device when performing a return test by the transmitting/receiving device. achieved.

〔作用〕[Effect]

データ折返しテストモードをアダプタすなわちマイクロ
プログラムに指示するのに先立ち、CPU1l側のテス
トプログラムはインタフェース算回路IAを有効にする
。これによってLPU16側すなわちマイクロプログラ
ムがデータ送信を開始すると送信データの本体であるテ
キスト部が回路IAによって変換される。変換されたデ
ータはショート線ICを経由して受信データとなり、受
信回路19によって受信される。マイクロプログラムは
受信データのチエツク演算の結果と送信データのそれを
処理24によって比較する。このとき回路IAの作用に
より、比較結果は異常となるので、マイクロプログラム
の処理にCPUII側から介入したすせずに異常系処理
27に処理を移すことができる。したがってリトライや
データの回復、エラー要因の分析などを行う異常系処理
27に対するテストカバレージを向上し、償頼性を上げ
ることができる。CPU11側のテストプログラムでは
、受信データ異常の報告を受けると、処理32によって
送信データに対し回路IAと同様の論理演算を行う、こ
の演算結果と受信データがすべて一致すれば、テストプ
ログラムとしては正常とする。これによって、マイクロ
プログラムの異常系処理27の正当性に加えて、送受信
回路18.19の正当性をアダプタ10の動作に介入す
ることなく同時に検証できるものである。
Prior to instructing the adapter, ie, the microprogram, to enter the data loopback test mode, the test program on the CPU 1l side enables the interface arithmetic circuit IA. As a result, when the LPU 16 side, ie, the microprogram, starts data transmission, the text part, which is the main body of the transmission data, is converted by the circuit IA. The converted data becomes reception data via the short line IC, and is received by the reception circuit 19. The microprogram compares the result of the check operation of the received data with that of the transmitted data in a process 24. At this time, the comparison result becomes abnormal due to the action of the circuit IA, so that the processing can be transferred to the abnormality processing 27 without intervening in the processing of the microprogram from the CPU II side. Therefore, test coverage for the abnormality processing 27 that performs retries, data recovery, error cause analysis, etc. can be improved, and reliability can be improved. When the test program on the CPU 11 side receives a report of an abnormality in the received data, it performs the same logical operation on the transmitted data as in circuit IA in process 32. If the result of this operation and the received data all match, the test program is normal. shall be. Thereby, in addition to the validity of the abnormality processing 27 of the microprogram, the validity of the transmitting/receiving circuits 18 and 19 can be verified at the same time without interfering with the operation of the adapter 10.

〔実施例〕〔Example〕

以下、本発明の一実施例を、図面を用いて詳細に説明す
る。第1図はそのハードウェア構成を示すブロック図で
ある。このうち、10はテストの対象となるアダプタ、
11はCPU、12は主記憶、13はCPUIIとアダ
プタ10のインタフェース回路、14はROM、15は
RAMでマイクロプログラムはここに格納される。また
16は10を制御するLPU、17は送受信データを格
納するためのローカルメモリ、18.19は送受信回路
、IAは本発明のポイントとなる送信データ変換のため
の論理演算回路、IB、Icはそれぞれ送受信回路を短
絡するショート線でIBは上記公知例による従来のもの
、ICは本発明によるものである。
Hereinafter, one embodiment of the present invention will be described in detail using the drawings. FIG. 1 is a block diagram showing the hardware configuration. Of these, 10 are the adapters to be tested,
11 is a CPU, 12 is a main memory, 13 is an interface circuit between the CPU II and the adapter 10, 14 is a ROM, and 15 is a RAM in which the microprogram is stored. Further, 16 is an LPU that controls 10, 17 is a local memory for storing transmitted and received data, 18.19 is a transmitting and receiving circuit, IA is a logic operation circuit for transmitting data conversion which is the key point of the present invention, IB and Ic are The shorting wires for shorting the transmitting and receiving circuits are the conventional one according to the above-mentioned known example, and the IC according to the present invention.

IAが持つ論理演算は、LPU16及びマイクロプログ
ラムが行うデータチエツク処理20がどのチエツク方式
を採用しているかによって適切なものを付加すべきであ
る。
Appropriate logical operations should be added to the IA depending on which check method is adopted by the data check processing 20 performed by the LPU 16 and the microprogram.

これより本発明の動作シーケンスを述べる。The operation sequence of the present invention will now be described.

CPUI 1及びテストプログラムはまず、インタフェ
ース回路13を経由し、送信データ変換のための論理演
算回路IAを有効にする1次にデータ折返しによるテス
トを行うことを13を経由しLPUI6及びマイクロプ
ログラムに知らせる。
First, the CPU 1 and the test program inform the LPUI 6 and the microprogram via the interface circuit 13 that a test will be performed by primary data loopback, which will enable the logical operation circuit IA for converting the transmitted data. .

そして送信データすなわちテストデータを指定する。Then, transmit data, that is, test data is specified.

LPUI e側では送信データをローカルメモリ17の
ある領域に(格納)する6次に処理21により処理20
を起動し、送信データに対してデータチエツク演算を行
い、その結果を17に格納する。これが終了すると処理
22により送受信動作を行う、このとき、送信回路18
から出力されたデータはIAによっである論理演算をか
けられているため、送信データすなわちテストデータと
は異なるデータとなって受信回路19に入ってくる。
On the LPUI e side, the transmission data is (stored) in a certain area of the local memory 17.
is activated, performs a data check operation on the transmitted data, and stores the result in 17. When this is completed, the transmitting/receiving operation is performed in process 22. At this time, the transmitting circuit 18
Since the data output from the IA has been subjected to a certain logical operation by the IA, it enters the receiving circuit 19 as data different from the transmission data, that is, the test data.

LPUI6は受信したデータを送信時と同様17内のあ
る領域に格納する。マイクロプログラムはここまでのL
PUI6によるアダプタ10の制御が終了すると、処理
23により処理20を起動しデータチエツク演算を行い
、結果を17に格納する0次に処理24によって送信及
び受信データのデータチエツク演算結果を比較する。そ
して一致するかどうかの判定処理25により、一致して
いれば、受信成功の報告を処理26によりCPUl1 
側に対して行う1本発明では送受信回路18゜19が正
常ならばIAによりデータが変換されているため、従来
不可能であった異常系の処理27に入る。ここでエラー
要因の解析、リトライの実行などを行い、回復不可能な
らばCPU11側に対し受信データの異常を報告する。
The LPUI 6 stores the received data in a certain area within the LPUI 17 as in the case of transmission. The micro program is L so far.
When the control of the adapter 10 by the PUI 6 is completed, a process 23 activates the process 20 to perform a data check operation, and the result is stored in 17.A next process 24 compares the results of the data check operation of the transmitted and received data. Then, in a process 25 to determine whether or not they match, if they match, a process 26 reports successful reception to the CPU11.
In the present invention, if the transmitting/receiving circuits 18 and 19 are normal, the data has been converted by the IA, so abnormality processing 27, which was previously impossible, is entered. Here, the cause of the error is analyzed, a retry is executed, and if recovery is not possible, the abnormality of the received data is reported to the CPU 11 side.

CPUII側すなわちテストプログラムでは、LPUI
6側より受信動作終了報告を受けると、報告内容が受信
データ異常かどうかを処理31によって判定する0本発
明はこの実施例の場合、マイクロプログラムに受信デー
タが変わっている。
On the CPUII side, that is, in the test program, the LPUI
When receiving a reception completion report from the 6 side, it is determined in a process 31 whether the report content indicates that the received data is abnormal.In the case of this embodiment of the present invention, the received data has been changed to a microprogram.

すなわち異常があることを指摘させることが目的の1つ
である。したがって受信データ異常であれば、第1のチ
エツクは正常であり第2のチエツク。
In other words, one of the purposes is to point out that there is an abnormality. Therefore, if the received data is abnormal, the first check is normal and the second check is performed.

処理32以降に入る。処理32では、LPUI6に対し
て送信データとして与えたテストデータをIAと同じ論
理演算により変換する。次に処理33はローカルメモリ
17内に格納されている受信データを読み出し、32に
よって変換したデータと比較を行う、そして判定処理3
4により、比較したデータがすべて一致するとなれば、
マイクロプログラムによるデータチエツクの異常系を中
心とする処理、かつ送受信回路18.19の動作とも正
常に機能したことになる。ここにテストプログラムは処
理35によりテストが正常に終了したことをCRTなど
に表示し、処理を終了する。
Process 32 and subsequent steps are entered. In process 32, the test data given as transmission data to the LPUI 6 is converted by the same logical operation as the IA. Next, a process 33 reads the received data stored in the local memory 17 and compares it with the data converted by 32, and a determination process 3
According to 4, if all the compared data match, then
This means that the processing centered on the abnormal data check by the microprogram and the operation of the transmitting/receiving circuits 18 and 19 functioned normally. At this point, the test program displays on a CRT or the like that the test has been successfully completed in step 35, and ends the process.

また処理31によって、受信動作終了による報告内容が
上記以外であると判定されたとき、または処理34によ
って変換後の送信データと受信データに不一致があった
ときは、エラーの要因を詳細に分析するため、要因分析
処理36に入る。これにより処理37はエラーの発生と
その要因を表示し、その処理を終了する。
In addition, when it is determined in process 31 that the report content due to the end of the reception operation is other than the above, or when there is a mismatch between the transmitted data and received data after conversion in process 34, the cause of the error is analyzed in detail. Therefore, the factor analysis process 36 is entered. As a result, the process 37 displays the occurrence of the error and its cause, and ends the process.

要因分析処理36では、マイクロプログラムによる受信
終了報告の内容のチエツク及び処理32゜33.34を
行い、エラー要因を分析するものである。第4図はその
結果とエラー原因の関係をまとめたマトリックス図であ
る。すなわち、受信データの異常をマイクロプログラム
が指摘かっ、送受信データの比較処理33の結果すべて
一致のときのみを正常終了とする。比較処理33は正常
かつ受信データ異常ではないとマイクロプログラムが報
告したケースでは、マイクロプログラムによるデータチ
エツク処理21及び23,24,27内に不良があると
断定できる。また処理33により送受信データの不整合
を、マイクロプログラムは受信データの異常を報告した
ケースでは、処理21及び23,24.27は正しく動
作したと考えられる。ここでは送受信動作の制御処理2
2に不良があると思われる。さらに処理33でデータの
不整合、マイクロプログラムでは受信データ異常ではな
いというケースでも、処理22に不良があると思われる
In the factor analysis process 36, the microprogram checks the contents of the reception completion report and performs processes 32, 33, and 34 to analyze the cause of the error. FIG. 4 is a matrix diagram summarizing the relationship between the results and error causes. That is, only when the microprogram points out an abnormality in the received data and all the results of the comparison process 33 of the transmitted and received data match, the process is considered to have ended normally. In the case where the microprogram reports that the comparison process 33 is normal and the received data is not abnormal, it can be determined that there is a defect in the data check processes 21, 23, 24, and 27 by the microprogram. Furthermore, in the case where the process 33 reports an inconsistency in the transmitted and received data, and the microprogram reports an abnormality in the received data, it is considered that processes 21, 23, 24, and 27 have operated correctly. Here, control processing 2 of transmission/reception operation
2 seems to be defective. Furthermore, even in a case where the process 33 indicates that there is a data mismatch and the microprogram indicates that there is no abnormality in the received data, it is likely that the process 22 is defective.

このように本実施例によれば、異常系処理27へのカバ
レージを広げるとともに、それ以外のマイクロプログラ
ム処理全体に要因の切分けが展開できることがわかる。
As described above, it can be seen that according to this embodiment, the coverage of the abnormal process 27 can be expanded, and the cause can be isolated for all other microprogram processes.

したがって上記4つのケースと処理27.及びローカル
メモリ17を分析すれば、不良動作の原因をより詳細に
分析できることになる。よってマイクロプログラムへ介
入しないで、十分にアダプタ10の制御機能の検証に効
果を上げられる。
Therefore, the above four cases and processing 27. By analyzing the data and local memory 17, the cause of the malfunction can be analyzed in more detail. Therefore, the control function of the adapter 10 can be verified effectively without interfering with the microprogram.

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

本発明の送受信装置は以上説明したように構成されてい
るので、以下に記載されているような効果を奏する。
Since the transmitting/receiving device of the present invention is configured as described above, it produces the effects described below.

第1にアダプタ制御を行うマイクロプログラムの処理に
介入する必要がないので、実際の動作環境に極めて近い
形でテストが実行できること。
First, there is no need to intervene in the processing of the microprogram that controls the adapter, so tests can be executed in a form that closely resembles the actual operating environment.

第2にマイクロプログラムの異常チエツク機能及びその
後処理についてのテストカバレージを向上することがで
き、その動作に対する信頼性を高めることができること
Second, it is possible to improve the test coverage of the microprogram abnormality check function and subsequent processing, and to increase the reliability of its operation.

第3にマイクロプログラムが受信データの異常を指摘し
たかという従来とは逆の判定処理をテストプログラムに
付加することにより、不良原因の切分けがより細かく行
えるようになったこと。
Third, by adding to the test program a process to determine whether the microprogram has pointed out an abnormality in the received data, which is the opposite of the conventional method, it has become possible to more precisely isolate the cause of the failure.

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

第1図は本発明にかかる送受信動作確認方法を説明する
ための装置のブロック図、第2図はマイクロプログラム
処理の流れ図、第3図はテストプログラム処理の流れ図
、第4図はテストプログラムによる判定とエラー原因と
の関係を示すマトリックス図である。 11・・・CPU、12・・・メインメモリ(主記憶)
。 13・・・CPUとアダプタ10とのインタフェース回
路。 14・・・RAM、15・・・ROM。 16・・・アダプタ10を制御するローカルプロセッサ
。 17・・・アダプタ10のためのメモリ(ローカルメモ
リ)。 8・・・送信回路、19・・・受信回路。 A・・・本発明にかかる送信データ変換回路。 B・・・従来技術によるショート線。 C・・・本発明にかかるショート線。 第 囚 発 2 目 晃 国
Fig. 1 is a block diagram of a device for explaining the transmission/reception operation confirmation method according to the present invention, Fig. 2 is a flow chart of microprogram processing, Fig. 3 is a flow chart of test program processing, and Fig. 4 is a judgment based on the test program. FIG. 3 is a matrix diagram showing the relationship between error causes and error causes. 11...CPU, 12...Main memory (main memory)
. 13... An interface circuit between the CPU and the adapter 10. 14...RAM, 15...ROM. 16...Local processor that controls the adapter 10. 17...Memory (local memory) for the adapter 10. 8... Transmission circuit, 19... Receiving circuit. A... Transmission data conversion circuit according to the present invention. B: Short line according to conventional technology. C: Short line according to the present invention. 2nd Prisoner Akikuni

Claims (1)

【特許請求の範囲】[Claims] 1、上位処理装置と回線との間に接続されデータ送受信
を行うものであって、マイクロプログラムと、該マイク
ロプログラムの制御により動作するローカル処理装置と
、送信回路と、受信回路と、該送信回路と該受信回路間
の折返し回路手段を有する送受信装置において、該折返
し回路手段にデータ変換手段を設け、上記送受信装置に
よる折返しテストの際、上記上位処理装置の指示により
該データ変換手段は該送信回路からのデータを変換して
該受信回路に伝送することを特徴とするデータ送受信装
置。
1. A microprogram, a local processing device that operates under the control of the microprogram, a transmitting circuit, a receiving circuit, and the transmitting circuit, which are connected between a host processing device and a line and perform data transmission and reception. and a loopback circuit between the receiver circuit, the loopback circuit means is provided with data conversion means, and when a loopback test is performed by the transmitter and receiver, the data conversion means converts the data between the transmitter circuit and the receiver circuit according to an instruction from the higher-level processing device. A data transmitting/receiving device characterized by converting data from and transmitting the converted data to the receiving circuit.
JP1152364A 1989-06-16 1989-06-16 Data transmission/reception device Pending JPH0319038A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP1152364A JPH0319038A (en) 1989-06-16 1989-06-16 Data transmission/reception device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP1152364A JPH0319038A (en) 1989-06-16 1989-06-16 Data transmission/reception device

Publications (1)

Publication Number Publication Date
JPH0319038A true JPH0319038A (en) 1991-01-28

Family

ID=15538919

Family Applications (1)

Application Number Title Priority Date Filing Date
JP1152364A Pending JPH0319038A (en) 1989-06-16 1989-06-16 Data transmission/reception device

Country Status (1)

Country Link
JP (1) JPH0319038A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9445177B2 (en) 2013-11-18 2016-09-13 3M Innovative Properties Company Hearing device tether with acoustic decoupling section
JP2018535580A (en) * 2015-09-23 2018-11-29 クゥアルコム・インコーポレイテッドQualcomm Incorporated Self-error injection technique on point-to-point interconnections to increase test coverage

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9445177B2 (en) 2013-11-18 2016-09-13 3M Innovative Properties Company Hearing device tether with acoustic decoupling section
JP2018535580A (en) * 2015-09-23 2018-11-29 クゥアルコム・インコーポレイテッドQualcomm Incorporated Self-error injection technique on point-to-point interconnections to increase test coverage

Similar Documents

Publication Publication Date Title
US4979108A (en) Task synchronization arrangement and method for remote duplex processors
CN113255271B (en) Automatic verification system and method for IO pin of chip
JPH0319038A (en) Data transmission/reception device
JP3313308B2 (en) Dual electronic interlocking device
US5968137A (en) Method of testing a protocol converter with the help of an identical converter and deactivating selection means for preventing asymmetry conversion
US4964036A (en) Channel hardware diagnostic apparatus and method
JPS608964A (en) Interface inspector
CN108494628B (en) Automated test tool for assisting switch to verify compliance with IEEE802.3 standard specification
CN112463172A (en) Data burning method and system
CN111459730A (en) PCH (physical channel) end parameter adjusting method and system under Whitley platform
JPH0619810A (en) Duplex device
KR0130418B1 (en) Method for auto-self diagnosis and decovery of dual common bus resource and processor in the full electronic switching system
JP3245552B2 (en) Transfer control system
JPS58172729A (en) Diagnosing circuit of input and output controller
CA1269141A (en) Task synchronization arrangement and method for remote duplex processors
CN117172202A (en) Core particle self-checking and inter-core particle communication recovery method and device
JPS60122432A (en) Interruption function diagnostic system in computer system
JPH01184550A (en) Test circuit for intermediate controller
CN116978441A (en) Chip burn-in test method and test circuit
JPS581251A (en) Remotely controlled device
KR100204056B1 (en) Method for testing protocol by interrupt in remote tester
JPS6272046A (en) Communication interface card testing equipment
CN113655773A (en) Vehicle machine system communication serial port pressure testing system and method
JPS6065642A (en) Redundant data communication system
JPH02305037A (en) Abnormality detecting system for data transmission system