JPH08297594A - Diagnostic device - Google Patents

Diagnostic device

Info

Publication number
JPH08297594A
JPH08297594A JP7102481A JP10248195A JPH08297594A JP H08297594 A JPH08297594 A JP H08297594A JP 7102481 A JP7102481 A JP 7102481A JP 10248195 A JP10248195 A JP 10248195A JP H08297594 A JPH08297594 A JP H08297594A
Authority
JP
Japan
Prior art keywords
port
signal
diagnosis
diagnostic
processor
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
JP7102481A
Other languages
Japanese (ja)
Other versions
JP2723822B2 (en
Inventor
Akira Mikami
明 三神
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Computertechno Ltd
Original Assignee
NEC Computertechno 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 NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP7102481A priority Critical patent/JP2723822B2/en
Publication of JPH08297594A publication Critical patent/JPH08297594A/en
Application granted granted Critical
Publication of JP2723822B2 publication Critical patent/JP2723822B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE: To diagnose all ports from one unit of main body system device having a diagnostic process without reconnecting a cable when a device to be diagnosed which has plural ports is diagnosed. CONSTITUTION: With a diagnostic start signal from the main body system device 200, an acceptance register 1A is set and the number of a port which begins to be diagnosed is set in an initial value register 3 and a counter 9. With a diagnosis end signal from the main body system device, the counter 9 is made to count up and ports to be diagnosed are selected in order. A decoder 8 decodes the value of the counter 9 to generate and send a report correspondence diagnosis signal to the device to be diagnosed. When the value of the counter 9 reaches a value of the initial value register 3, a comparing circuit 12 generates an end signal and informs a device 300 to be diagnosed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は診断対象装置を診断する
場合に使用される診断用装置に関し、特に診断プロセッ
サを有する本体系装置から複数のアクセス用ポートを有
する診断対象装置を診断する場合に使用される診断用装
置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a diagnostic device used when diagnosing a device to be diagnosed, and particularly to a device to be diagnosed having a plurality of access ports from a main system device having a diagnostic processor. It relates to a diagnostic device used.

【0002】[0002]

【従来の技術】従来、診断プロセッサを有する本体系装
置から複数のアクセス用ポートを有する診断対象装置を
診断する場合には、本体系装置を1台設置し、本体系装
置と診断対象装置の個々のポートとをケーブルの繋ぎ替
えにより順次接続し、診断を実施している。あるいは、
本体系装置を複数台設置し、各本体系装置を診断対象装
置の異なるポートに接続し診断を実施している。
2. Description of the Related Art Conventionally, when diagnosing a diagnostic target device having a plurality of access ports from a main system device having a diagnostic processor, one main system device is installed and each of the main system device and the diagnostic target device is installed. The diagnostics are carried out by sequentially connecting the ports to and by connecting the cables. Alternatively,
A plurality of main system devices are installed, and each main system device is connected to a different port of the device to be diagnosed for diagnosis.

【0003】また、特開平01−183751号公報記
載の技術(図4に示す。)では、診断対象装置内の全ポ
ートを診断対象装置内で直列接続しかつ診断対象装置外
でポート間をケーブルで接続し、全ポートの直列接続さ
れたポートの先頭入力端へデータ制御部からデータを書
込み、次のポートで読み取るように書込みと読み込みを
繰り返し本体系装置の端末装置から診断を実施してい
る。
Further, in the technique described in Japanese Patent Laid-Open No. 01-183751 (shown in FIG. 4), all the ports in the device to be diagnosed are connected in series in the device to be diagnosed and a cable is provided between the ports outside the device to be diagnosed. The data control unit writes data to the head input end of all ports connected in series, and the writing and reading are repeated to read at the next port, and diagnosis is performed from the terminal device of the main system device. .

【0004】[0004]

【発明が解決しようとする課題】上述した従来の診断方
法においては、診断プロセッサを有する1台の本体系装
置から診断対象装置の全ポートを診断するためには、全
ポート分のケーブルの繋ぎ替えが必要であり診断時間が
長いという欠点がある。
In the above-mentioned conventional diagnostic method, in order to diagnose all the ports of the device to be diagnosed from one main system device having the diagnostic processor, the cables for all the ports are reconnected. Is required and the diagnosis time is long.

【0005】また、ポートの数だけ本体系装置を設置
し、それらを各ポートに接続して診断する場合、設置面
積が増大し、診断費用も増大するという欠点がある。
In addition, when the main system devices are installed by the number of ports and the devices are connected to each port for diagnosis, the installation area increases and the diagnosis cost also increases.

【0006】また、特開平01−183751号公報記
載の技術では、実際に診断対象装置が稼働する場合とは
異なる接続で診断を実施するため、診断できないハード
ウェアの部分が残るという欠点がある。
Further, the technique disclosed in Japanese Patent Laid-Open No. 01-183751 has a drawback in that a portion of the hardware that cannot be diagnosed remains because the diagnosis is performed by a connection different from the case where the device to be diagnosed actually operates.

【0007】[0007]

【課題を解決するための手段】本発明の第1の診断用装
置は、(a)複数の診断プロセッサからのプロセッサポ
ート診断開始信号の各々に対応し設けられたこれら信号
によりセットされ前記各診断プロセッサからのプロセッ
サポート診断終了信号の各々によりリセットされポート
診断実行中信号をそれぞれ出力する複数の受付けレジス
タと、(b)前記ポート診断実行中信号を入力し最初に
診断されるべきポート番号を示す第1の初期ポート信号
を出力するエンコーダと、(c)前記第1の初期ポート
信号を入力し第2の初期ポート信号を出力する初期値レ
ジスタと、(d)前記プロセッサポート診断終了信号の
全ての論理和を生成しポート診断終了論理和信号として
出力する第1の論理和回路と、(e)前記第2の初期ポ
ート信号と加算信号とのいずれかを前記ポート診断終了
論理和信号により選択しカウンタ入力信号として出力す
るカウンタ選択回路と、(f)前記カウンタ入力信号を
前記ポート診断終了論理和信号により取り込み診断実行
ポート信号として出力するカウンタと、(g)前記診断
実行ポート信号を入力しこれに1を加算した信号を前記
加算信号として出力する加算器と、(h)前記診断実行
ポート信号をデコードしポート対応診断実行中信号とし
て出力するデコーダと、(i)前記診断プロセッサから
のプロセッサポート診断実行中信号の全ての論理和を生
成しポート診断実行中論理和信号を出力する第2の論理
和回路と、(j)前記ポート対応診断実行中信号の各々
と前記ポート診断実行中論理和信号との論理積を生成し
ポート対応診断信号を被診断装置に出力する第1の論理
積回路と、(k)前記ポート診断終了論理和信号により
セットされ比較回路有効信号を出力するレジスタと、
(l)前記比較回路有効信号がセットされている場合前
記第2の初期ポート信号と前記診断実行ポート信号との
比較を行い結果を全ポート診断終了信号として被診断装
置に出力する比較回路と、(m)前記各診断プロセッサ
からのプロセッサ診断データのいずれかを前記第1の初
期ポート信号により選択し診断データとして被診断装置
に出力する診断データ選択回路と、を備える。
The first diagnostic device of the present invention comprises: (a) each of the diagnostics set by these signals provided corresponding to each of the processor port diagnostic start signals from a plurality of diagnostic processors. A plurality of acceptance registers which are reset by each of the processor port diagnosis end signals from the processor and output a port diagnosis execution signal respectively, and (b) indicate the port number to be first diagnosed by inputting the port diagnosis execution signal. An encoder that outputs a first initial port signal, (c) an initial value register that inputs the first initial port signal and outputs a second initial port signal, and (d) all of the processor port diagnostic end signals A first logical sum circuit that generates a logical sum of the above and outputs it as a port diagnosis end logical sum signal; and (e) the second initial port signal and the addition signal. And (f) the counter input signal is selected by the port diagnosis end logical sum signal and output as a counter input signal, and (f) the counter input signal is fetched by the port diagnosis end logical sum signal and output as a diagnosis execution port signal. A counter, (g) an adder that inputs the diagnosis execution port signal and outputs a signal obtained by adding 1 to the signal as the addition signal, and (h) decodes the diagnosis execution port signal as a port corresponding diagnosis execution signal. A decoder for outputting, (i) a second logical sum circuit for generating a logical sum of all of the processor port diagnosis execution signals from the diagnosis processor and outputting a port diagnosis execution logic sum signal, and (j) the port A logical product of each of the corresponding diagnosis execution signals and the port diagnosis execution logical sum signal is generated, and the port correspondence diagnosis signal is transmitted to the device under diagnosis. A first AND circuit which forces, the register for outputting a comparison circuit valid signal is set by the (k) said port diagnosis end logical sum signal,
(L) When the comparison circuit valid signal is set, a comparison circuit that compares the second initial port signal with the diagnosis execution port signal and outputs the result as an all-ports diagnosis end signal to the device under diagnosis, (M) A diagnostic data selection circuit that selects one of the processor diagnostic data from each diagnostic processor according to the first initial port signal and outputs it as diagnostic data to the device under diagnosis.

【0008】本発明の第2の診断用装置は、第1の診断
用装置に加え、前記全ポート診断終了信号の反転信号を
生成するインバータ回路と、前記インバータ回路の出力
と前記各々のポート診断実行中信号との論理積を生成し
診断未終了信号を各診断プロセッサに出力する第2の論
理積回路とを備える。
A second diagnostic device of the present invention is, in addition to the first diagnostic device, an inverter circuit for generating an inverted signal of the all-port diagnostic end signal, an output of the inverter circuit and each of the port diagnostics. A second AND circuit that generates a logical product with the running signal and outputs a non-diagnostic signal to each diagnostic processor.

【0009】[0009]

【実施例】次に、本発明について図面を参照して詳細に
説明する。
The present invention will be described in detail with reference to the drawings.

【0010】図1は本発明の一実施例のブロック図であ
る。
FIG. 1 is a block diagram of an embodiment of the present invention.

【0011】図1を参照すると、受付けレジスタ1A、
1B、1Cおよび1Dは診断プロセッサを有する本体系
装置と接続される。エンコーダ2は受付けレジスタの出
力をエンコードし、初期値レジスタ3はエンコーダの出
力を保持する。第1の論理和回路4は、本体系装置20
0に接続され、その出力はセレクタ5(選択回路)、カ
ウンタ6を制御する。セレクタ5は、エンコーダ2と加
算回路7との出力のいずれかを選択し、カウンタ6はセ
レクタ5の出力を保持し、加算器7は、カウンタ6の出
力に‘1’を加算する。第2の論理和回路9は本体系装
置からの信号の論理和を作成し、その出力は第1の論理
積回路10A、10B、10Cおよび10Dでデコーダ
8の各出力と論理積がとられ診断対象装置300に出力
される。レジスタ11は第1の論理和回路4の出力によ
りセットされ、その出力は、比較回路12のイネーブル
信号となる。比較回路12は初期値レジスタ3とカウン
タ6との出力を比較し、結果を診断対象装置300に出
力する。インバータ回路13は、比較回路12の出力を
反転しその出力と受付けレジスタ1A、1B、1Cおよ
び1Dの出力とは第2の論理積回路14A、14B、1
4Cおよび14Dで論理積がとられ本体系装置200に
出力される。本体系装置200からのプロセッサ診断デ
ータはセレクタ15により選択されて診断対象装置30
0に出力される。
Referring to FIG. 1, the acceptance register 1A,
1B, 1C and 1D are connected to a main body device having a diagnostic processor. The encoder 2 encodes the output of the acceptance register, and the initial value register 3 holds the output of the encoder. The first OR circuit 4 is connected to the main body device 20.
It is connected to 0, and its output controls the selector 5 (selection circuit) and the counter 6. The selector 5 selects one of the outputs of the encoder 2 and the adder circuit 7, the counter 6 holds the output of the selector 5, and the adder 7 adds "1" to the output of the counter 6. The second logical sum circuit 9 creates a logical sum of the signals from the main system device, and the output thereof is logically ANDed with the respective outputs of the decoder 8 by the first logical product circuits 10A, 10B, 10C and 10D to perform diagnosis. It is output to the target device 300. The register 11 is set by the output of the first OR circuit 4, and its output becomes the enable signal of the comparison circuit 12. The comparison circuit 12 compares the outputs of the initial value register 3 and the counter 6 and outputs the result to the diagnosis target device 300. The inverter circuit 13 inverts the output of the comparison circuit 12, and the output of the inverter circuit 13 and the outputs of the reception registers 1A, 1B, 1C and 1D are second AND circuits 14A, 14B, 1
The logical product is taken by 4C and 14D and output to the main system device 200. The processor diagnostic data from the main system device 200 is selected by the selector 15 and the diagnostic target device 30 is selected.
It is output to 0.

【0012】図2は、図1に示された本発明の診断用装
置100と、本体系200と、診断対象装置300との
接続を示すシステム構成図である。
FIG. 2 is a system configuration diagram showing the connection between the diagnostic device 100 of the present invention shown in FIG. 1, the main system 200, and the device 300 to be diagnosed.

【0013】図3は、本発明の実施例の動作を示すタイ
ミング図である。
FIG. 3 is a timing diagram showing the operation of the embodiment of the present invention.

【0014】次に、図1、図2、図3を用いて、本発明
の実施例の動作を説明する。
Next, the operation of the embodiment of the present invention will be described with reference to FIGS. 1, 2 and 3.

【0015】便宜上本体系装置が診断用装置の受付けレ
ジシタ1Aに接続されている場合について説明する。
For the sake of convenience, a case where the main system device is connected to the acceptance register 1A of the diagnostic device will be described.

【0016】診断プロセッサを有する本体系装置200
からプロセッサポート診断開始信号20Aが出力される
と、受付けレジスタ1Aが‘1’にセットされる。1A
の出力であるポート診断実行中信号24Aはエンコーダ
2に出力される。
Main system device 200 having a diagnostic processor
When the processor port diagnosis start signal 20A is output from the CPU, the acceptance register 1A is set to "1". 1A
The port diagnosis in-progress signal 24A, which is the output of, is output to the encoder 2.

【0017】エンコーダ2はポート診断実行中信号24
A、24B、24Cおよび24Dの値から診断を開始す
る診断対象装置300のポート番号をエンコードする。
この場合、24Aのみが‘1’であり、エンコーダ2か
らは‘0’が第1の初期ポート信号25として出力され
る。この第1の初期ポート信号は初期値レジスタ3で受
け取られ、保持される。
The encoder 2 has a port diagnostic execution signal 24.
The port number of the diagnosis target device 300 that starts the diagnosis is encoded from the values of A, 24B, 24C, and 24D.
In this case, only 24A is "1", and "0" is output from the encoder 2 as the first initial port signal 25. This first initial port signal is received and held by the initial value register 3.

【0018】また、セレクタ5では、エンコーダ2から
の第1の初期ポート信号25が選択されカウンタ入力信
号26が出力される。このカウンタ入力信号26は初期
値レジスタ3がセットされるのと同時にカウンタ6にセ
ットされ、診断実行ポート信号27が出力される。
The selector 5 selects the first initial port signal 25 from the encoder 2 and outputs the counter input signal 26. The counter input signal 26 is set in the counter 6 at the same time when the initial value register 3 is set, and the diagnostic execution port signal 27 is output.

【0019】診断実行ポート信号27はデコーダ8に入
力され、デコードされる。デコーダ8の出力であるポー
ト対応診断実行中信号28A、28B、28Cおよび2
8Dは診断対象装置300の各ポートに対応しており、
診断を実施するポートの番号の対応するものだけが
‘1’になるようにデコードされる。
The diagnostic execution port signal 27 is input to the decoder 8 and decoded. Port corresponding diagnostic execution signals 28A, 28B, 28C and 2 which are outputs of the decoder 8
8D corresponds to each port of the diagnosis target device 300,
Only the corresponding port number of the diagnosis is decoded to be "1".

【0020】次に、本体系装置200はプロセッサポー
ト診断開始信号20Aを出力してから適当な時間の後に
プロセッサ診断実行中信号20Cを出力する。この信号
は、ポートの診断を実行中の間出力される。第2の論理
積和回路9において、全ての本体系装置からのプロセッ
サ診断実行中信号20C、21C、22Cおよび23C
の論理和がとられる。この場合20Cの値がそのままポ
ート診断実行中論理和信号29として出力される。
Next, the main body system device 200 outputs the processor diagnostic execution signal 20C after an appropriate time from outputting the processor port diagnostic start signal 20A. This signal is output while performing diagnostics on the port. In the second AND-OR circuit 9, processor diagnostic execution signals 20C, 21C, 22C and 23C from all the main system devices
The logical sum of is taken. In this case, the value of 20C is directly output as the logical sum signal 29 during the port diagnosis execution.

【0021】デコーダ8からのポート対応診断実行中信
号28A、28B、28Cおよび28Dのそれぞれとポ
ート診断実行中論理和信号29の論理積が第1の論理積
回路10A、10B、10C、10Dでとられポート対
応診断信号32A、32B、32Cおよび32Dが出力
される。この32Aから32Dは診断するポートに対応
しており、診断対象装置300はこの信号をそれぞれの
対応するポートで受け取り診断を実施する。この場合、
10Aのみが‘1’となり、ポート0が診断される。診
断データは、本体系装置200からのプロセッサ診断デ
ータ20Dが第1の初期ポート信号25により診断デー
タ選択回路15で選択されて、診断データ35として診
断対象装置300に出力される。診断対象装置300は
この診断データ35によりポート部および内部の診断を
実施する。
The logical product of each of the port-corresponding diagnosis execution signals 28A, 28B, 28C and 28D from the decoder 8 and the port-diagnosis execution logic sum signal 29 is obtained by the first AND circuit 10A, 10B, 10C, 10D. Then, the port corresponding diagnostic signals 32A, 32B, 32C and 32D are output. These 32A to 32D correspond to the ports to be diagnosed, and the device to be diagnosed 300 receives this signal at the corresponding ports and carries out the diagnosis. in this case,
Only 10A becomes "1" and port 0 is diagnosed. As the diagnostic data, the processor diagnostic data 20D from the main body device 200 is selected by the diagnostic data selection circuit 15 by the first initial port signal 25, and is output as diagnostic data 35 to the diagnostic target device 300. The diagnosis target device 300 performs the diagnosis of the port section and the inside by using the diagnosis data 35.

【0022】次に、ポート0の診断が終了すると、本体
系装置200はプロセッサ診断実行中信号20Cをオフ
にする。これにより、ポート対応診断信号32Aがオフ
になる。診断対象装置はこれを認識してそのポートの診
断を終了する。
Next, when the diagnosis of the port 0 is completed, the main body device 200 turns off the processor diagnosis execution signal 20C. As a result, the port corresponding diagnostic signal 32A is turned off. The diagnosis target device recognizes this and finishes the diagnosis of the port.

【0023】その後適当な時間の後に本体系装置200
はプロセッサポート診断終了信号20Bを出力する。受
付けレジスタ1Aは、この20Bによりリセットされポ
ート診断実行中信号24Aは‘0’になる。また、本体
系装置からのプロセッサ診断終了信号20B、21B、
22Bおよび23Bの論理和が第1の論理和回路4によ
ってとられポート診断終了論理和信号30として出力さ
れる。
After a suitable time, the main unit 200
Outputs the processor port diagnosis end signal 20B. The acceptance register 1A is reset by this 20B, and the port diagnosis in-progress signal 24A becomes "0". In addition, processor diagnosis end signals 20B, 21B from the main system device,
The logical sum of 22B and 23B is taken by the first logical sum circuit 4 and output as the port diagnosis end logical sum signal 30.

【0024】診断受付けレジスタ1Aがリセットされる
のと同時に、セレクタ5において、ポート診断終了論理
和信号30により加算器7の出力の加算信号31、すな
わちカウンタに‘1’を加算した値が選択されカウンタ
6にセットされる。
At the same time that the diagnosis acceptance register 1A is reset, the selector 5 selects the addition signal 31 of the output of the adder 7, that is, the value obtained by adding "1" to the counter, by the port diagnosis end logical sum signal 30. The counter 6 is set.

【0025】また、同時にレジスタ11もセットされ、
レジスタ11の出力の比較回路有効信号34が‘1’と
なり、比較回路12が有効となる。この時点で、初期値
レジスタ3の出力第2の初期ポート信号33は‘0’で
あり、カウンタ6の出力の診断実行ポート信号27は
‘1’である。したがって、比較回路12の出力の全ポ
ート診断終了信号は‘0’であり、まだ診断が終了して
いないポートが存在することを示す。
At the same time, the register 11 is set,
The comparison circuit valid signal 34 output from the register 11 becomes "1", and the comparison circuit 12 becomes valid. At this point, the output second initial port signal 33 of the initial value register 3 is "0", and the diagnostic execution port signal 27 of the output of the counter 6 is "1". Therefore, the all-port diagnosis end signal of the output of the comparison circuit 12 is "0", which indicates that there is a port whose diagnosis has not been completed yet.

【0026】次に、本体系装置200はポート1の診断
を開始するために、プロサッサポート診断開始信号20
Aを出力する。これにより、ポート0の場合と同様ポー
ト1の診断が開始される。この場合カウンタ6の値は
‘1’であるためポート対応診断信号32Bが出力され
る。診断が終了すると、本体系装置200はプロセッサ
ポート診断終了信号20Bを出力し、カウンタ6がカウ
ントアップされ‘2’になる。
Next, the main body system device 200 starts the diagnosis of the port 1 by using the process support diagnosis start signal 20.
Output A. As a result, the diagnosis of port 1 is started as in the case of port 0. In this case, since the value of the counter 6 is "1", the port corresponding diagnostic signal 32B is output. When the diagnosis is completed, the main body system device 200 outputs the processor port diagnosis end signal 20B and the counter 6 is counted up to "2".

【0027】以下同様にポート2、ポート3の診断が実
行される。ポート3の診断の終了のプロセッサポート診
断終了信号20Bにより、カウンタ6は‘0’に戻る。
ここで比較回路12において一致が検出され全ポート診
断終了信号30が診断対象装置300に出力される。こ
れにより診断対象装置300は全ポートの診断の終了を
認識する。
Similarly, the diagnosis of port 2 and port 3 is executed. The counter 6 returns to "0" by the processor port diagnosis end signal 20B indicating the end of the diagnosis of the port 3.
Here, a match is detected in the comparison circuit 12, and the all-port diagnosis end signal 30 is output to the diagnosis target device 300. As a result, the diagnosis target device 300 recognizes the end of diagnosis of all ports.

【0028】また、インバータ回路13の出力であるイ
ンバータ出力信号36が‘0’になり、第2の論理積回
路14Aでポート診断実行中信号24Aと論理積がとら
れポート診断未実行信号20Eが‘0’となる。この信
号は本体系装置200で受け取られ本体系装置200が
全てのポートの診断を終了したことを認識する。
Further, the inverter output signal 36 which is the output of the inverter circuit 13 becomes "0", and the second AND circuit 14A is ANDed with the port diagnostic execution signal 24A to obtain the port diagnostic non-execution signal 20E. It becomes "0". This signal is received by the main system device 200 and recognizes that the main system device 200 has completed the diagnosis of all ports.

【0029】以上受付けレジスタ1Aに本体系装置が接
続された場合について説明したが、受付けレジスタ1
B、1C、1Dに接続された場合も同様に全てのポート
の診断が可能である。1B、1C、1Dに接続された場
合には、エンコーダ2の出力であるポート診断実行中信
号はそれぞれ‘1’、‘2’、‘3’となり診断を開始
するポートはそれぞれ、ポート1、ポート2、ポート3
となる。
The case where the main system device is connected to the reception register 1A has been described above.
Even when connected to B, 1C, and 1D, diagnosis of all ports is possible in the same manner. When connected to 1B, 1C, and 1D, the port diagnosis in-progress signals that are the outputs of the encoder 2 become "1", "2", and "3", respectively, and the ports that start diagnosis are port 1 and port, respectively. 2, port 3
Becomes

【0030】[0030]

【発明の効果】以上説明したように、本発明の診断用装
置は、本体系装置からのプロセッサ診断開始信号、プロ
セッサ診断終了信号で診断するポートを自動変更するよ
うに制御したことにより、1台の本体系装置でケーブル
の繋ぎ替え無しに診断対象装置の全てのポートを診断で
きるため、診断時間の短縮が図れるという効果がある。
As described above, the diagnostic device of the present invention is controlled by the processor diagnostic start signal and the processor diagnostic end signal from the main system device so that the diagnostic port is automatically changed. Since all the ports of the diagnosis target device can be diagnosed in the main body system device without connecting cables, there is an effect that the diagnosis time can be shortened.

【0031】また、1台の本体系装置で診断できるた
め、設置面積の縮小、本体系装置の金額の削減が図れる
という効果がある。
Further, since the diagnosis can be made with one main body apparatus, there is an effect that the installation area can be reduced and the amount of the main body apparatus can be reduced.

【0032】また、実際の稼働状態と同一の接続を行う
ので、診断対象装置のハードウェアが漏れなく全て診断
できるという効果がある。
Further, since the same connection as in the actual operating state is made, there is an effect that all the hardware of the device to be diagnosed can be diagnosed without omission.

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

【図1】本発明の一実施例のブロック図である。FIG. 1 is a block diagram of one embodiment of the present invention.

【図2】本発明の一実施例のシステム構成図である。FIG. 2 is a system configuration diagram of an embodiment of the present invention.

【図3】本発明の一実施例の動作を示すタイミング図で
ある。
FIG. 3 is a timing diagram showing the operation of the embodiment of the present invention.

【図4】従来技術を示すブロック図である。FIG. 4 is a block diagram showing a conventional technique.

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

1A、1B、1C、1D 受付けレジスタ 2 エンコーダ 3 初期値レジスタ 4、9 論理和回路 5、15 セレクタ 6 カウンタ 7 加算器 8 デコーダ 10A、10B、10C、10D 論理積回路 11 レジスタ 12 比較回路 13 インバータ回路 14A、14B、14C、14D 論理積回路 20A、21A、22A、23A プロセッサポート
診断開始信号 20B、21B、22B、23B プロセッサポート
診断終了信号 20C、21C、22C、23C プロセッサポート
診断実行中信号 20D、21D、22D、23D プロセッサ診断デ
ータ信号 20E、21E、22E、23E ポート診断未実行
信号 24A、24B、24C、24D ポート診断実行中
信号 25、27 初期ポート信号 26 カウンタ入力信号 28A、28B、28C、28D ポート対応診断実
行中信号 29 ポート診断実行中論理和信号 30 ポート診断終了論理和信号 31 加算信号 32A、32B、32C、32D ポート対応診断信
号 33 第2の初期ポート信号 34 比較回路有効信号 35 診断データ 36 インバータ出力信号 100 診断用装置 200、201、202、203 本体系装置 300 診断対象装置
1A, 1B, 1C, 1D Reception register 2 Encoder 3 Initial value register 4, 9 Logical sum circuit 5, 15 Selector 6 Counter 7 Adder 8 Decoder 10A, 10B, 10C, 10D Logical product circuit 11 Register 12 Comparison circuit 13 Inverter circuit 14A, 14B, 14C, 14D AND circuit 20A, 21A, 22A, 23A Processor port diagnostic start signal 20B, 21B, 22B, 23B Processor port diagnostic end signal 20C, 21C, 22C, 23C Processor port diagnostic in-progress signal 20D, 21D , 22D, 23D Processor diagnosis data signal 20E, 21E, 22E, 23E Port diagnosis non-execution signal 24A, 24B, 24C, 24D Port diagnosis execution signal 25, 27 Initial port signal 26 Counter input signal 28A, 28B, 2 C, 28D port corresponding diagnostic execution signal 29 Port diagnostic under execution logical sum signal 30 Port diagnostic end logical sum signal 31 Addition signal 32A, 32B, 32C, 32D Port corresponding diagnostic signal 33 Second initial port signal 34 Comparison circuit valid signal 35 diagnostic data 36 inverter output signal 100 diagnostic device 200, 201, 202, 203 main system device 300 diagnostic target device

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】(a)複数の診断プロセッサからのプロセ
ッサポート診断開始信号の各々に対応し設けられたこれ
ら信号によりセットされ前記各診断プロセッサからのプ
ロセッサポート診断終了信号の各々によりリセットされ
ポート診断実行中信号をそれぞれ出力する複数の受付け
レジスタと、(b)前記ポート診断実行中信号を入力し
最初に診断されるべきポート番号を示す第1の初期ポー
ト信号を出力するエンコーダと、(c)前記第1の初期
ポート信号を入力し第2の初期ポート信号を出力する初
期値レジスタと、(d)前記プロセッサポート診断終了
信号の全ての論理和を生成しポート診断終了論理和信号
として出力する第1の論理和回路と、(e)前記第2の
初期ポート信号と加算信号とのいずれかを前記ポート診
断終了論理和信号により選択しカウンタ入力信号として
出力するカウンタ選択回路と、(f)前記カウンタ入力
信号を前記ポート診断終了論理和信号により取り込み診
断実行ポート信号として出力するカウンタと、(g)前
記診断実行ポート信号を入力しこれに1を加算した信号
を前記加算信号として出力する加算器と、(h)前記診
断実行ポート信号をデコードしポート対応診断実行中信
号として出力するデコーダと、(i)前記診断プロセッ
サからのプロセッサポート診断実行中信号の全ての論理
和を生成しポート診断実行中論理和信号を出力する第2
の論理和回路と、(j)前記ポート対応診断実行中信号
の各々と前記ポート診断実行中論理和信号との論理積を
生成しポート対応診断信号を被診断装置に出力する第1
の論理積回路と、(k)前記ポート診断終了論理和信号
によりセットされ比較回路有効信号を出力するレジスタ
と、(l)前記比較回路有効信号がセットされている場
合前記第2の初期ポート信号と前記診断実行ポート信号
との比較を行い結果を全ポート診断終了信号として被診
断装置に出力する比較回路と、(m)前記各診断プロセ
ッサからのプロセッサ診断データのいずれかを前記第1
の初期ポート信号により選択し診断データとして被診断
装置に出力する診断データ選択回路と、を備えたことを
特徴とする診断用装置。
(A) Port diagnosis is set by these signals provided corresponding to each of the processor port diagnostic start signals from a plurality of diagnostic processors and reset by each of the processor port diagnostic end signals from each of the diagnostic processors. (C) a plurality of acceptance registers that respectively output running signals; (b) an encoder that inputs the port diagnostic running signal and outputs a first initial port signal indicating a port number to be diagnosed first; An initial value register for inputting the first initial port signal and outputting a second initial port signal, and (d) generating all logical sums of the processor port diagnosis end signals and outputting them as port diagnosis end logical sum signals. A first logical sum circuit, and (e) one of the second initial port signal and the addition signal, the port diagnosis end logical sum signal A counter selection circuit for selecting and outputting as a counter input signal, (f) a counter for fetching the counter input signal by the port diagnosis end logical sum signal and outputting as a diagnosis execution port signal, and (g) the diagnosis execution port signal. An adder that outputs a signal that is input and adds 1 to this as the addition signal; (h) a decoder that decodes the diagnosis execution port signal and outputs it as a port corresponding diagnosis execution signal; and (i) from the diagnosis processor No. 2 that generates a logical sum of all the processor port diagnosis in progress signals and outputs the port diagnosis in progress logic sum signal
And (j) a logical product of each of the port-corresponding diagnostic execution signals and the port-diagnostic executing logical sum signal is generated, and the port-corresponding diagnostic signal is output to the device under diagnosis.
AND circuit, (k) a register for outputting a comparison circuit valid signal which is set by the port diagnosis end logical sum signal, and (l) when the comparison circuit valid signal is set, the second initial port signal Of the processor diagnostic data from each of the diagnostic processors, and a comparison circuit for comparing the result with the diagnostic execution port signal and outputting the result as an all-port diagnostic end signal to the device under diagnosis.
And a diagnostic data selection circuit which outputs the diagnostic data to the device to be diagnosed as a diagnostic data by the initial port signal.
【請求項2】 前記全ポート診断終了信号の反転信号を
生成するインバータ回路と、前記インバータ回路の出力
と前記各々のポート診断実行中信号との論理積を生成し
診断未終了信号を各診断プロセッサに出力する第2の論
理積回路とを有することを特徴とする請求範囲の請求項
1に記載の診断用装置。
2. An inverter circuit for generating an inversion signal of the all-port diagnosis end signal, and a logical product of an output of the inverter circuit and each of the port diagnosis execution signals to generate a diagnosis non-completion signal for each diagnostic processor. 2. The diagnostic device according to claim 1, further comprising:
JP7102481A 1995-04-26 1995-04-26 Diagnostic device Expired - Fee Related JP2723822B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7102481A JP2723822B2 (en) 1995-04-26 1995-04-26 Diagnostic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7102481A JP2723822B2 (en) 1995-04-26 1995-04-26 Diagnostic device

Publications (2)

Publication Number Publication Date
JPH08297594A true JPH08297594A (en) 1996-11-12
JP2723822B2 JP2723822B2 (en) 1998-03-09

Family

ID=14328653

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7102481A Expired - Fee Related JP2723822B2 (en) 1995-04-26 1995-04-26 Diagnostic device

Country Status (1)

Country Link
JP (1) JP2723822B2 (en)

Also Published As

Publication number Publication date
JP2723822B2 (en) 1998-03-09

Similar Documents

Publication Publication Date Title
EP0295646A3 (en) Arithmetic operation processing apparatus of the parallel processing type and compiler which is used in this apparatus
JPH05143323A (en) Method and apparatus for executing type-1 diadic instruction
JPH08297594A (en) Diagnostic device
JP2594130B2 (en) Semiconductor circuit
JP2806075B2 (en) Microcomputer
US5630158A (en) Central processing unit including inhibited branch area
JPH103404A (en) Data sampling method/device for hardware
KR0167307B1 (en) Program branch control circuit
JP2734382B2 (en) In-circuit emulator and debugging method thereof
JPS6015969B2 (en) Microinstruction address generation method
SU1439564A1 (en) Test action generator
JPH0668055A (en) Digital signal processor
JP2793526B2 (en) Super scalar processor
KR940006818B1 (en) Gate array internal logic scan system
JP2972190B1 (en) CPU high-speed processing circuit
JPS58169243A (en) Instruction processor
JPH04276826A (en) Instruction processor
JPH05158853A (en) Channel connecting mechanism
JPH05158872A (en) Data processor
JPH09114779A (en) Wait control system for information processor
JPH04355864A (en) Processor
JPH0772788A (en) Programmable controller and module discriminating method
JPS5931800B2 (en) Control memory diagnostic method
JPH05334113A (en) Microcomputer
JPS6122820B2 (en)

Legal Events

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

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19971028

LAPS Cancellation because of no payment of annual fees