JPS62221043A - Monitor circuit for logical unit - Google Patents

Monitor circuit for logical unit

Info

Publication number
JPS62221043A
JPS62221043A JP61063604A JP6360486A JPS62221043A JP S62221043 A JPS62221043 A JP S62221043A JP 61063604 A JP61063604 A JP 61063604A JP 6360486 A JP6360486 A JP 6360486A JP S62221043 A JPS62221043 A JP S62221043A
Authority
JP
Japan
Prior art keywords
circuit
memory
monitor
processor
monitoring
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
JP61063604A
Other languages
Japanese (ja)
Inventor
Yasutomo Konishi
康友 小西
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
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 Corp filed Critical NEC Corp
Priority to JP61063604A priority Critical patent/JPS62221043A/en
Publication of JPS62221043A publication Critical patent/JPS62221043A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To obtain a monitor circuit for logical unit that can easily collect the sufficient data for study of the factor of abnormality, by connecting a monitor circuit containing a monitor processor, a local memory, a trace memory, a communication adaptor, etc. directly to the main bus of a device to be monitored. CONSTITUTION:The optimum monitor items are set by a microprogram in response to the hardware constitution of a logical unit 1. A WDT circuit 16 receives an access when a main processor 21 carries out a specific instruction in a working mode of the unit 1. If no access is supplied to the circuit 16 within a fixed time and no occurrence of abnormality is detected, the circuit 16 applies interruption to a monitor processor 11. While a trace memory control circuit 15 stops the tracing action to a trace memory 14 and outputs the data stored in the memory 14 to an external device 2 via a communication adaptor 13 and a communication line 19. The data output of the memory 14 is carried out via the circuit 19 and the unit 1 continues its working with no discontinuation of the normal operation.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は論理装置の監視回路に関し、特に情報処理装置
で使用される論理装置の監視回路に関す〔従来の技術〕 従来、論理装置を監視する方法としては、論理装置を制
御する命令群またはマイクロ命令群を使って組まれた監
視プログラムにより、あらかじめ定められた監視動作を
実行させる方法が一般的に採用されている。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a monitoring circuit for a logic device, and particularly to a monitoring circuit for a logic device used in an information processing device [Prior Art] Conventionally, the present invention relates to a monitoring circuit for a logic device used in an information processing device. A commonly used method for this is to execute a predetermined monitoring operation using a monitoring program created using a group of instructions or a group of microinstructions that control the logic device.

監視プログラムは、被監視装置がソフトウェアまたはフ
ァームウェアによって一定時間毎にアクセスされるよう
にし、被監視装置へのアクセスがあらかじめ設定された
時間以内になかった場合に異常発生を上位装置に報告し
たり、自装置に表示したり、再立上げを起動したりする
。しかし、異常発生の原因を究明するのに必要なデータ
収集は、部分的に各110デバイス制御プログラムに組
み込まれたログ機能に依存している。
The monitoring program allows the monitored device to be accessed at regular intervals by software or firmware, and if the monitored device is not accessed within a preset period of time, reports the occurrence of an abnormality to the higher-level device, Display it on the own device or initiate a restart. However, the data collection necessary to determine the cause of the abnormal occurrence relies in part on logging functionality built into each 110 device control program.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

上述した従来の論理装置の監視方式では、異常発生の原
因を究明するのに必要なデータ収集が部分的に各I10
デバイス制御プログラムに組み込まれたログ機能に依存
しているため、十分なデータ収集ができず、問題解決ま
でに多大な時間を要することがあるという欠点がある。
In the conventional logical device monitoring method described above, data collection necessary to investigate the cause of abnormality is partially performed on each I10.
Since it relies on the logging function built into the device control program, it has the disadvantage that it cannot collect sufficient data and it may take a long time to resolve the problem.

また、異常発生の箇所によっては被監視装置のメモリに
格納されたログ情報が取り出せないという不具合がしば
しば発生するという欠点がある。
Another disadvantage is that depending on the location where the abnormality occurs, log information stored in the memory of the monitored device cannot be retrieved.

なお、各被監視装置を制御するファームウェア毎に内部
状態の遷移を詳細にログできることが理想であるが、既
設計品細部にかかる改造の困難性やファームウェア容量
および性能面から各被監視装置自体を変更することは不
可能となっている。
Ideally, it would be possible to log detailed internal state transitions for each firmware that controls each monitored device, but due to the difficulty of modifying the details of already designed products, firmware capacity, and performance, it is difficult to log each monitored device itself. It is impossible to change.

本発明の目的は、上述の点に鑑み、論理装置の異常発生
の原因究明のために十分なデータを容易に収集すること
ができる論理装置の監視回路を提供することにある。
SUMMARY OF THE INVENTION In view of the above, an object of the present invention is to provide a logic device monitoring circuit that can easily collect sufficient data to investigate the cause of an abnormality in a logic device.

〔問題点を解決するための手段〕[Means for solving problems]

本発明の論理装置の監視回路は、プロセッサ、メモリお
よび外部装置間の通信手段と、この通信手段を介して監
視機能を任意にプログラムするプログラミング手段と、
このプログラミング手段によってプログラムされた監視
機能に従って被監視装置のバスのトレース動作および被
監視装置の保守診断動作を制御する制御手段と、前記ト
レース動作および前記保守診断動作の結果を前記通信手
段を介して外部装置に送出する出力手段とを含む。
A monitoring circuit for a logic device according to the present invention includes a communication means between a processor, a memory, and an external device, and a programming means for arbitrarily programming a monitoring function via this communication means.
a control means for controlling a bus trace operation of the monitored device and a maintenance diagnosis operation of the monitored device according to the monitoring function programmed by the programming means; and a control means for controlling a bus trace operation of the monitored device and a maintenance diagnosis operation of the monitored device; and output means for sending to an external device.

〔実施例〕〔Example〕

次に、本発明について図面を参照して説明する。 Next, the present invention will be explained with reference to the drawings.

第2図は本発明の一実施例の監視回路を配設する論理装
置のブロック構成図である。この論理装置1は、監視回
路10と、メインプロセッサ21と、メインメモリ22
と、I10デバイス群23と、メンテナンスパネル24
と、メインバス25とを含んで構成されており、監視回
路10は通信回線19を介して外部装置2 (例えば、
パーソナルコンピュータ)に接続されている。
FIG. 2 is a block diagram of a logic device in which a monitoring circuit according to an embodiment of the present invention is installed. This logic device 1 includes a monitoring circuit 10, a main processor 21, and a main memory 22.
, I10 device group 23, and maintenance panel 24
and a main bus 25, and the monitoring circuit 10 is connected to an external device 2 (for example,
connected to a personal computer).

監視回路10は、メインバス25に直接接続され、メイ
ンプロセッサ21からは1つのI10デバイスと見なさ
れる。また、監視回路10は、既設計装置に追加可能な
ようにパッケージに収容され、論理装置1は監視回路1
0が実装されない場合は従来通りの動作を行う。
The monitoring circuit 10 is directly connected to the main bus 25 and is viewed by the main processor 21 as one I10 device. Further, the monitoring circuit 10 is housed in a package so that it can be added to an already designed device, and the logic device 1 is connected to the monitoring circuit 1.
If 0 is not implemented, the conventional operation is performed.

メインプロセッサ21は、上位装置からのコマンドまた
はメインメモリ22に格納されたコマンドに従って配下
のI10デバイス群23をメインバス25を介して制御
する。
The main processor 21 controls the subordinate I10 device group 23 via the main bus 25 in accordance with commands from a host device or commands stored in the main memory 22 .

メンテナンスパネル24は、論理装置1の保守診断動作
をマニュアルで制御する。
The maintenance panel 24 manually controls maintenance and diagnostic operations of the logical device 1.

外部装置2は、監視回路10のプログラムおよびその監
視結果を格納するための装置である。
The external device 2 is a device for storing the program of the monitoring circuit 10 and its monitoring results.

第1図を参照すると、第2図中に示した本実施例の監視
回路10は、監視回路10を制御する監視プロセッサ1
1と、監視プロセッサ11のプログラムを格納するロー
カルメモリ12と、外部装置2との通信のための通信ア
ダプタ13と、被監視装置である論理装置1のメインバ
ス25のトレースデータを格納するためのトレースメモ
リ14と、トレースメモ1月4へのデータ入出力を制御
するトレースメモリ制御回路15と、WDT (ウォチ
ドクタイマ)回路16と、論理装置1のメインバス25
と監視回路10のローカルバス18との間を制御するバ
ス制御回路17とから構成されている。
Referring to FIG. 1, the monitoring circuit 10 of the present embodiment shown in FIG.
1, a local memory 12 for storing the program of the monitoring processor 11, a communication adapter 13 for communicating with the external device 2, and a communication adapter 13 for storing the trace data of the main bus 25 of the logical device 1, which is the monitored device. A trace memory 14, a trace memory control circuit 15 that controls data input/output to the trace memo 1/4, a WDT (watchdog timer) circuit 16, and a main bus 25 of the logic device 1.
and a bus control circuit 17 that controls the communication between the monitoring circuit 10 and the local bus 18 of the monitoring circuit 10.

監視回路10は、ローカルメモリ12に格納されたマイ
クロプログラムにより制御されるが、このローカルメモ
リ12に格納されるマイクロプログラムは通信アダプタ
13および通信回線19を介して外部装置2から任意に
設定および変更可能である。
The monitoring circuit 10 is controlled by a microprogram stored in the local memory 12, but the microprogram stored in the local memory 12 can be arbitrarily set and changed by the external device 2 via the communication adapter 13 and communication line 19. It is possible.

WDT回路16は、メインプロセッサ21が特定命令実
行時にアクセスするように設定され、一定時間以内にア
クセスが行われない場合には論理装置1または上位装置
の異常発生として監視プロセッサ11に割込みを発生す
る。
The WDT circuit 16 is set to be accessed when the main processor 21 executes a specific instruction, and if it is not accessed within a certain period of time, it generates an interrupt to the monitoring processor 11 as an abnormality has occurred in the logic device 1 or the host device. .

トレースメモリ制御回路15は、メインバス25上のト
レースのタイミングを制御し、ファームウェア命令のフ
ェッチ時、メインメモリ22のアクセス時、I10デバ
イス群23のアクセス時等のタイミングでメインバス2
5上のアドレス信号、データ信号、バス制御信号等をト
レースメモリ14にリアルタイムで格納していき、WD
T回路16による異常検出時または監視プロセッサ11
によって指定されたトレース動作終了時にはトレースを
停止させ、通信アダプタ13および通信回線19を介し
てトレースメモリ14に格納されたデータを外部装置2
に出力する。
The trace memory control circuit 15 controls the timing of trace on the main bus 25, and controls the trace timing on the main bus 25 at timings such as when fetching firmware instructions, accessing the main memory 22, and accessing the I10 device group 23.
Address signals, data signals, bus control signals, etc. on 5 are stored in trace memory 14 in real time, and
When an abnormality is detected by the T circuit 16 or the monitoring processor 11
When the trace operation specified by
Output to.

異常発生時の原因究明手段としての監視プロセッサ11
は、バス制御回路17を制御してメインメモl722に
格納されたログ情報を読み出したり、論理装置1にあら
かじめ組み込まれている保守診断のためのプログラムを
起動し、その結果を通信回線19を介して外部装置2に
出力する。
Monitoring processor 11 as a means of investigating the cause when an abnormality occurs
controls the bus control circuit 17 to read log information stored in the main memory 1722, starts a program for maintenance diagnosis that is pre-installed in the logic device 1, and sends the results via the communication line 19. and output it to the external device 2.

次に、このように構成された本実施例の論理装置の監視
回路の動作について説明する。
Next, the operation of the monitoring circuit of the logic device of this embodiment configured as described above will be explained.

まず、外部装置t2から監視回路10の監視機能を決定
するマイクロプログラムの設定が行われる。
First, a microprogram that determines the monitoring function of the monitoring circuit 10 is set from the external device t2.

これは外部装置2から通信回線19および通信アダプタ
13を介してローカルメモリ12にマイクロプログラム
を格納することによって行われる。このローカルメモ1
月2へのプログラム入力は、通信回線19を介して行わ
れるので、論理装置1は通常動作を中断することなく動
作を続行する。マイクロプログラムでは、被監視装置で
ある論理装置1のハードウェア構成にあわせて最適な監
視項目が設定される。
This is done by storing a microprogram from the external device 2 into the local memory 12 via the communication line 19 and the communication adapter 13. This local memo 1
Since the program input to month 2 is made via communication line 19, logic device 1 continues to operate without interrupting normal operation. In the microprogram, optimal monitoring items are set according to the hardware configuration of the logical device 1, which is the monitored device.

論理装置1の動作状態でメインプロセッサ21が特定命
令を実行すると、WDT回路16がアクセスされる。
When the main processor 21 executes a specific instruction while the logic device 1 is in operation, the WDT circuit 16 is accessed.

一方、トレースメモリ制御回路15ば、ファームウェア
命令のフェッチ時、メインメモリ22のアクセス時、I
10デバイス群23のアクセス時等のタイミングでメイ
ンバス25上のアドレス信号、データ信号、バス制御信
号等をトレースメモリ14にリアルタイムで格納してい
く。トレースメモリ14へのデータ格納は、メインバス
25から直接行われ、論理装置1の通常動作の性能は低
下しない。
On the other hand, when the trace memory control circuit 15 fetches a firmware instruction or accesses the main memory 22,
Address signals, data signals, bus control signals, etc. on the main bus 25 are stored in the trace memory 14 in real time at timings such as when the 10 device groups 23 access. Data storage in the trace memory 14 is performed directly from the main bus 25, and the performance of normal operation of the logic device 1 is not degraded.

WDT回路16が一定時間以内にアクセスされず異常発
生が検出されると、WDT回路16は監視プロセッサ1
1に割込みをかける。また、トレースメモリ制御回路1
5は、トレースメモリ14へのトレースを停止さ、せ、
通信アダプタ13および通信回線19を介してトレース
メモリ14に格納されたデータを外部装置2に出力させ
る。トレースメモリ14のデータ出力は、通信回線19
を介して行われ、論理装置1は通常動作を中断すること
なく動作を続行する。
If the WDT circuit 16 is not accessed within a certain period of time and an abnormality is detected, the WDT circuit 16
Interrupt 1. In addition, the trace memory control circuit 1
5 stops and causes tracing to the trace memory 14;
The data stored in the trace memory 14 is outputted to the external device 2 via the communication adapter 13 and the communication line 19. The data output of the trace memory 14 is transmitted through the communication line 19.
, and the logic device 1 continues operating without interrupting normal operation.

なお、監視プロセッサ11によって指定されたトレース
動作終了時にも、同様にトレースメモリ14に格納され
たデータが通信アダプタ13および通信回線19を介し
て外部装置2に出力される。
Note that when the trace operation specified by the monitoring processor 11 ends, the data stored in the trace memory 14 is similarly output to the external device 2 via the communication adapter 13 and the communication line 19.

また、監視プロセッサ11は、バス制御回路17を制御
してメインメモリ22に格納されたログ情報を読み出し
たり、論理装置1にあらかじめ組み込まれている保守診
断のためのプログラムを起動したりして、その結果を通
信回線19を介して外部装置2に出力する。
Further, the monitoring processor 11 controls the bus control circuit 17 to read log information stored in the main memory 22, starts a program for maintenance diagnosis that is pre-installed in the logical device 1, etc. The results are output to the external device 2 via the communication line 19.

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

以上説明したように本発明は、監視プロセッサ、ローカ
ルメモリ、トレースメモリ、通信アダプタ等から構成さ
れた監視回路を被監視装置のメインバスに直接追加接続
することにより、既設計装置への監視機能の強化が容易
に行えるとともに、異常発生時の原因の究明をメインバ
スの任意タイミングでのリアルタイムトレース、メイン
メモリ内のログ情報の読出し、あらかじめ組み込まれて
いる保守診断プログラムの起動等を被監視装置のメイン
プロセッサに依存せず外部RWからのプログラム掻作で
実行でき、論理装置の信頼性の向上および異常発生の原
因究明のためのデータ収集が容易に行えるという効果が
ある。
As explained above, the present invention enables monitoring functions to be added to an already designed device by directly connecting a monitoring circuit composed of a monitoring processor, local memory, trace memory, communication adapter, etc. to the main bus of the monitored device. In addition to easily strengthening the system, it is possible to investigate the cause of an abnormality by real-time tracing of the main bus at any timing, reading log information in the main memory, and starting a pre-installed maintenance/diagnosis program on the monitored device. It can be executed by programming from an external RW without depending on the main processor, and has the advantage of improving the reliability of the logical device and easily collecting data for investigating the cause of abnormalities.

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

第1図は本発明の一実施例を示すブロック構成図、 第2図は第1図に示した監視回路を含む被監視装置とし
ての論理装置を示すブロック図である。 図において、 1・・・論理装置、 2・・・外部装置、 10・・・監視回路、 11・・・監視プロセッサ、 12・・・ローカルメモリ、 13・・・通信アダプタ、 14・ ・ ・トレースメモリ、 15・・・トレースメモリ制御回路、 16・・・WDT回路、 17・・・バス制御回路、 18・・・ローカルバス、 19・・・通信回線、 21・・・メインプロセッサ、 22・・・メインメモリ、 23・・・I10デバイス群、 24・・・メンテナンスパネル、 25・・・メインバスである。
FIG. 1 is a block diagram showing an embodiment of the present invention, and FIG. 2 is a block diagram showing a logic device as a monitored device including the monitoring circuit shown in FIG. In the figure, 1...Logic device, 2...External device, 10...Monitoring circuit, 11...Monitoring processor, 12...Local memory, 13...Communication adapter, 14...Trace Memory, 15... Trace memory control circuit, 16... WDT circuit, 17... Bus control circuit, 18... Local bus, 19... Communication line, 21... Main processor, 22... - Main memory, 23...I10 device group, 24...Maintenance panel, 25...Main bus.

Claims (1)

【特許請求の範囲】 プロセッサ、メモリおよび外部装置間の通信手段と、 この通信手段を介して監視機能を任意にプログラムする
プログラミング手段と、 このプログラミング手段によってプログラムされた監視
機能に従って被監視装置のバスのトレース動作および被
監視装置の保守診断動作を制御する制御手段と、 前記トレース動作および前記保守診断動作の結果を前記
通信手段を介して外部装置に送出する出力手段と、 を含むことを特徴とする論理装置の監視回路。
[Scope of Claims] A communication means between a processor, a memory and an external device; a programming means for arbitrarily programming a monitoring function via the communication means; and a bus of a monitored device according to the monitoring function programmed by the programming means. a control means for controlling a tracing operation and a maintenance diagnosis operation of the monitored device; and an output means for sending the results of the tracing operation and the maintenance diagnosis operation to an external device via the communication means. Monitoring circuit for logic devices.
JP61063604A 1986-03-20 1986-03-20 Monitor circuit for logical unit Pending JPS62221043A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61063604A JPS62221043A (en) 1986-03-20 1986-03-20 Monitor circuit for logical unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61063604A JPS62221043A (en) 1986-03-20 1986-03-20 Monitor circuit for logical unit

Publications (1)

Publication Number Publication Date
JPS62221043A true JPS62221043A (en) 1987-09-29

Family

ID=13234053

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61063604A Pending JPS62221043A (en) 1986-03-20 1986-03-20 Monitor circuit for logical unit

Country Status (1)

Country Link
JP (1) JPS62221043A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01135552U (en) * 1988-03-08 1989-09-18
JPH08339313A (en) * 1995-06-14 1996-12-24 Nec Corp Logic circuit monitoring device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01135552U (en) * 1988-03-08 1989-09-18
JPH08339313A (en) * 1995-06-14 1996-12-24 Nec Corp Logic circuit monitoring device

Similar Documents

Publication Publication Date Title
JPS62221043A (en) Monitor circuit for logical unit
CN112015600A (en) Log information processing system, log information processing method and device and switch
JPS6231447A (en) Bus analyzer
JP2614866B2 (en) Self-diagnosis method
JPS6363935B2 (en)
JPH0496832A (en) Fault information gathering device
JPH0619746A (en) Fault diagnostic device
JPH05298199A (en) Input/output control device
JPS63118964A (en) Information processor
JP2584466B2 (en) Disk controller self-diagnosis method
JPS62298841A (en) Firmware debugging system
JP2000187621A (en) Scsi controller
KR890003489B1 (en) Programed inspection and control system
JPH0553934A (en) Bus line monitoring system
JPH07230432A (en) Calculating device
JPH11134261A (en) Input and output controller
JPS62241041A (en) Information processor
JPH01309138A (en) In-circuit emulator
JPH02220143A (en) Personal computer system
JPH05183966A (en) Centralized monitor system
JP2000267946A (en) General purpose computer device
JPS63158650A (en) Information processor
JPS6222156A (en) Program execution state supervisory system
JPH02150931A (en) Information processor
JPH04151701A (en) Process input and output controlling system