JPS62272335A - Trouble monitor circuit - Google Patents

Trouble monitor circuit

Info

Publication number
JPS62272335A
JPS62272335A JP61116782A JP11678286A JPS62272335A JP S62272335 A JPS62272335 A JP S62272335A JP 61116782 A JP61116782 A JP 61116782A JP 11678286 A JP11678286 A JP 11678286A JP S62272335 A JPS62272335 A JP S62272335A
Authority
JP
Japan
Prior art keywords
decoder
output
value
monitoring
address
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
JP61116782A
Other languages
Japanese (ja)
Inventor
Haruko Inoue
治子 井上
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 JP61116782A priority Critical patent/JPS62272335A/en
Publication of JPS62272335A publication Critical patent/JPS62272335A/en
Pending legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To improve the trouble monitor capability by raising alarm when an interval of occurrence between an address value for monitor and a data value for monitor is longer than a certain time. CONSTITUTION:At the time of normalcy, the address value for monitor is inputted to an address bus 6, and the output of a decoder 2 is an active value, and the data value for monitor is inputted to a data bus 7 simultaneously, and the output of a decoder 3 is an active value, and the time of a timer circuit 4 does not expire because the timer is reset when two inputs are simultaneously active, and an alarm signal output 8 is not outputted. In case of runaway of a microprocessor itself or trouble of the address bus, the address value for monitor is not inputted to the address bus 6 and the output of the decoder 2 is not active. In case of trouble of the data bus, the output of the decoder 3 is not active. The timer is not reset in any case because two inputs are not simultaneously active, and the time of the timer circuit 4 expires to output the alarm signal output 8.

Description

【発明の詳細な説明】 発明の詳細な説明 〔産業上の利用分野〕 本発明は、マイクロプロセッサを動作させる周辺回路に
関し、特にマイクロプロセッサ動作異常の検出を行う障
害監視回路に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a peripheral circuit that operates a microprocessor, and more particularly to a fault monitoring circuit that detects an abnormality in the operation of a microprocessor.

〔従来の技術〕[Conventional technology]

従来、この種の障害監視・回路は、任意のアドレスを一
定周期でアクセスするプログラムと、任意のアドレスが
一定時間以上アクセスされない場合に警報を出力するタ
イマー回路にて構成されていた。
Conventionally, this type of fault monitoring circuit has consisted of a program that accesses an arbitrary address at a fixed period, and a timer circuit that outputs an alarm if the arbitrary address is not accessed for a fixed period of time or more.

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

上述した従来の障害監視回路は、任意のアドレスのアク
セスのみでタイマー回路を動かし、障害の判断を行って
いたため、マイクロプロセッサの暴走は監視出来るが、
データバスの障害は、検出出来ないという欠点がある。
The conventional fault monitoring circuit described above operates a timer circuit only by accessing an arbitrary address to determine a fault, so it is possible to monitor for runaway microprocessors.
A drawback is that failures in the data bus cannot be detected.

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

本発明の障害監視回路は、周期的に監視用の任意のアド
レス値と任意のデータ値を一定周期で発生するプログラ
ムと、監視用のアドレス値をデコードする第1のデコー
ドと、監視用のデータ値をデコードする第2のデコーダ
と、第1のデコーダの出力と第2のデコーダの出力を入
力し、監視用アドレス値と監視用データ値の発生間隔が
一定時間以上となった場合に警報を発生するタイマー回
路を有している。
The fault monitoring circuit of the present invention includes a program that periodically generates an arbitrary address value and an arbitrary data value for monitoring at a constant cycle, a first decode that decodes the address value for monitoring, and a program that decodes the monitoring data. A second decoder decodes the value, the output of the first decoder, and the output of the second decoder are input, and an alarm is issued when the interval between occurrences of the monitoring address value and the monitoring data value exceeds a certain time. It has a timer circuit that generates.

〔実施例〕〔Example〕

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

第1図は、本発明の一実施例のブロック図である。第1
図中、1は障害監視回路である。2は、アドレスバス6
を入力し、監視用のアドレス値をデコードするデコーダ
で、3はデータバス7を入力し、監視用のデータ値をデ
コードするデコーダで、4はデコーダ2の出力とデコー
ダ3の出力を入力し、警報信号を出力するタイマー回路
である。
FIG. 1 is a block diagram of one embodiment of the present invention. 1st
In the figure, 1 is a fault monitoring circuit. 2 is address bus 6
3 is a decoder that inputs the data bus 7 and decodes the monitoring data value, 4 inputs the output of decoder 2 and the output of decoder 3, This is a timer circuit that outputs an alarm signal.

正常にマイクロプロセッサ5及びその周辺回路が動作し
ている際は、マイクロプロセッサ周辺回路に搭載された
手段にて、周期的に監視用の任意のアドレスをアクセス
し、同時に監視用の任意のブタバスに出力することで、
アドレスバス6に監視用アドレス値が入力され、デコー
ダ2の出力がアクティブ値になり、同時にデータバス7
にも監視用データ値が入力され、デコーダ3の出力がア
クティブ値になり、タイマー回路4では、同時に2つの
入力がアクティブになるときにタイマーがリセットされ
るので、タイムアウトにならず、8の警報信号出力は、
発出されないようにすることができる。
When the microprocessor 5 and its peripheral circuits are operating normally, a means installed in the microprocessor peripheral circuitry periodically accesses any address for monitoring, and at the same time accesses any address for monitoring. By outputting
The monitoring address value is input to the address bus 6, the output of the decoder 2 becomes an active value, and at the same time the data bus 7
The monitoring data value is input to , and the output of decoder 3 becomes the active value, and in timer circuit 4, the timer is reset when two inputs become active at the same time, so there is no timeout and alarm 8 is activated. The signal output is
You can prevent it from being issued.

ところが、マイクロプロセッサ自体の暴走時及びアドレ
スバス障害時には、アドレスバス6が監視用アドレス値
とはならず、デコーダ2の出力はアクティブにならない
。さらに、データバス障害時には、デコーダ3の出力が
アクティブにならない。どちらの場合も同時に2つの入
力がアクティブにならないことで、タイマーは、リセッ
トされずに、タイマー回路4は、タイムアウトとなり警
報信号出力8が発出される。
However, when the microprocessor itself goes out of control or when an address bus failure occurs, the address bus 6 does not become the monitoring address value, and the output of the decoder 2 does not become active. Furthermore, in the event of a data bus failure, the output of the decoder 3 will not become active. In either case, since the two inputs are not active at the same time, the timer is not reset and the timer circuit 4 times out and the alarm signal output 8 is issued.

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

以上説明したように本発明は、監視用のアドレス値と監
視用のデータ値の発生間隔が一定時間以上となったとき
に警報を発生することにより、マイクロプロセッサ自体
の暴走を監視する他にアドレスバス、データバスの監視
も行うことができて、従来の障害監視回路より障害監視
能力が向上するという効果がある。
As explained above, the present invention generates an alarm when the interval between occurrences of a monitoring address value and a monitoring data value exceeds a certain period of time. Buses and data buses can also be monitored, and the fault monitoring capability is improved over conventional fault monitoring circuits.

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

第1図は、本発明の一実施例のブロック図である。 1・・・障害監視回路、2・・・デコーダ、3・・・デ
コーダ、4・・・タイマー回路、5・・・マイクロプロ
セッサ、6・・・アドレスバス、7・・・データバス、
8・・・警報信$ 1 図
FIG. 1 is a block diagram of one embodiment of the present invention. DESCRIPTION OF SYMBOLS 1... Fault monitoring circuit, 2... Decoder, 3... Decoder, 4... Timer circuit, 5... Microprocessor, 6... Address bus, 7... Data bus,
8...Alarm signal $1 Figure

Claims (1)

【特許請求の範囲】[Claims] 周期的に監視用の任意のアドレス値と任意のデータ値を
一定周期で発生する手段と、監視用のアドレス値をデコ
ードする第1のデコーダと、監視用のデータ値をデコー
ドする第2のデコーダと、前記第1のデコーダの出力と
前記第2のデコーダの出力を入力し、監視用アドレス値
と監視用データ値の発生間隔が一定時間以上となった場
合に警報を発生するタイマー回路より構成される障害監
視回路。
Means for periodically generating an arbitrary address value and an arbitrary data value for monitoring at a constant cycle, a first decoder that decodes the address value for monitoring, and a second decoder that decodes the data value for monitoring. and a timer circuit that inputs the output of the first decoder and the output of the second decoder and generates an alarm when the interval between occurrences of the monitoring address value and the monitoring data value exceeds a certain time. fault monitoring circuit.
JP61116782A 1986-05-20 1986-05-20 Trouble monitor circuit Pending JPS62272335A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61116782A JPS62272335A (en) 1986-05-20 1986-05-20 Trouble monitor circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61116782A JPS62272335A (en) 1986-05-20 1986-05-20 Trouble monitor circuit

Publications (1)

Publication Number Publication Date
JPS62272335A true JPS62272335A (en) 1987-11-26

Family

ID=14695575

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61116782A Pending JPS62272335A (en) 1986-05-20 1986-05-20 Trouble monitor circuit

Country Status (1)

Country Link
JP (1) JPS62272335A (en)

Similar Documents

Publication Publication Date Title
JPS5868163A (en) System trouble detection system
JPS62272335A (en) Trouble monitor circuit
JPH10105422A (en) Control circuit of protecting device
JP3164360B2 (en) Microprocessor circuit device having watchdog circuit and method of monitoring flow of processor program
JPH064301A (en) Time division interruption control system
JPS63224446A (en) Communication system
JPS6290068A (en) Auxiliary monitor system
JPS6361337A (en) Automatic resetting method
JPH04148246A (en) Watchdog timer
JPS6373343A (en) Self-supervisory circuit for microprocessor
JP2744113B2 (en) Computer system
JP2542355Y2 (en) Operation monitoring device
JPH04236637A (en) Microprocessor fault detecting circuit
JPS61241848A (en) Fault detecting circuit for electronic computer
JPH05257748A (en) Microprocessor device
JP2731386B2 (en) Control device
JP2749994B2 (en) Numerical control unit
JPH04123145A (en) Microcomputer
JPH0458340A (en) Processor monitor circuit
JPS6327930A (en) Interruption control circuit
JPH0271357A (en) Processor circuit
JPS62123531A (en) Cpu supervisory unit
JPH01185742A (en) Program runaway detection circuit
JPH11242617A (en) Cpu abnormality detecting circuit
JPS61241847A (en) Fault detecting circuit for electronic computer