JPS59119453A - Cpu run-away monitoring circuit - Google Patents

Cpu run-away monitoring circuit

Info

Publication number
JPS59119453A
JPS59119453A JP57226612A JP22661282A JPS59119453A JP S59119453 A JPS59119453 A JP S59119453A JP 57226612 A JP57226612 A JP 57226612A JP 22661282 A JP22661282 A JP 22661282A JP S59119453 A JPS59119453 A JP S59119453A
Authority
JP
Japan
Prior art keywords
circuit
cpu
abnormal signal
output
wdt
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
JP57226612A
Other languages
Japanese (ja)
Other versions
JPH0218503B2 (en
Inventor
Hidenori Hayashi
秀紀 林
Satoru Tsushima
悟 津島
Noriyuki Suzuki
紀之 鈴木
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Ltd
Original Assignee
Fujitsu Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Fujitsu Ltd filed Critical Fujitsu Ltd
Priority to JP57226612A priority Critical patent/JPS59119453A/en
Publication of JPS59119453A publication Critical patent/JPS59119453A/en
Publication of JPH0218503B2 publication Critical patent/JPH0218503B2/ja
Granted legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0754Error or fault detection not based on redundancy by exceeding limits
    • G06F11/0757Error or fault detection not based on redundancy by exceeding limits by exceeding a time limit, i.e. time-out, e.g. watchdogs

Abstract

PURPOSE:To prevent the malfunction of a CPU run-away monitoring circuit by providing a gate circuit in the output side of a watchdog timer circuit, thereby preventing sending out of an abnormal signal from this circuit. CONSTITUTION:The power source is turned on and the system is started. The CPU18 performs processing normally, and long time initial processing is performed at a software reset time. Accordingly, as an access time to the first watchdog timer WDT circuit 13 exceeds the reference time; an abnormal signal is given by a monostable multivibrator of the WDT circuit 13 due to the noise of a power source. However, data stored in an ROM 19 is held in a controlling register 16 by the output of the second address decoding circuit 12 through a data bus interface circuit 17 and an interface circuit 15. Accordingly, a gate circuit 14 is retained in a closed state, and the abnormal signal US is not outputted.

Description

【発明の詳細な説明】 (1)発明の技術分野 本発明はCPU暴走監視回路、特にウォッチドッグタイ
マ回路を用いたCPU暴走監視回路に関する。
DETAILED DESCRIPTION OF THE INVENTION (1) Technical Field of the Invention The present invention relates to a CPU runaway monitoring circuit, and particularly to a CPU runaway monitoring circuit using a watchdog timer circuit.

(2)従来技術と問題点 一般に、CP U (Central Process
ing Unit:中央処理・装置)が暴走したか否か
を監視する場合に、ウオッチドックタイマ(WatCh
DOgTimer;以下WDTと称する)回路が使用さ
れることがある。
(2) Prior art and problems In general, CPU (Central Process
When monitoring whether a central processing unit (Central Processing Unit) has gone out of control, the watchdog timer (WatCh
A DOgTimer (hereinafter referred to as WDT) circuit may be used.

との〜V iD T回路は、第1のアクセスと第2のア
クセスとのインターバル時間を測定し、このインターバ
ル時間が所定の基準時間の下限以下または上限以上の場
合K、異常検出信号を出力するようになっている。
The ~ViD T circuit measures the interval time between the first access and the second access, and outputs an abnormality detection signal if this interval time is less than or equal to the lower limit or more than the upper limit of a predetermined reference time. It looks like this.

しかし、このWDT回路はモノステーブルマルチバイブ
レータにより4成されている。従って、従来のようにW
DT回路だけでCPU暴走監視回路を組み立てた場合、
電源のノイズ等が原因でWDT回路が一度もアクセスさ
れていないのに異常信号を発生することがある。
However, this WDT circuit is made up of four monostable multivibrators. Therefore, W
When a CPU runaway monitoring circuit is assembled using only DT circuits,
Due to power supply noise or the like, an abnormal signal may be generated even though the WDT circuit has never been accessed.

また、CPUによるソフトウェア処理時間中のイニシャ
ルプログラム処理が長くなるとWDT回路のアクセスイ
ンターバル時間が長くなり、CPUが暴走していないに
も拘らずWDT回路から異常信号が出力することがある
Furthermore, if the initial program processing during the software processing time by the CPU becomes longer, the access interval time of the WDT circuit becomes longer, and an abnormal signal may be output from the WDT circuit even though the CPU is not out of control.

f3i  発明の目的 本発明の目的は、WDT回路の出力側にゲート回路を設
けることにより正常処理時に1はこのゲート回路を閉じ
てWDT回路から異常信号が送出されないようにしてC
PU暴走監視回路の誤動作を防止することにある。
f3i Object of the Invention An object of the present invention is to provide a gate circuit on the output side of the WDT circuit so that during normal processing, 1 closes this gate circuit and prevents abnormal signals from being sent out from the WDT circuit.
The purpose is to prevent malfunction of the PU runaway monitoring circuit.

(4)発明の構成 本発明によれば、バスを介してCPUとウォッチドッグ
回路を相互接続し、ウォッチドッグ回路から出力される
異常信号の有無によりCPUの暴走を監視する回路にお
いて、ウォッチドッグ回路の出力側にゲート回路が設け
られていると共に該ゲート回路の入力側と上記バス間に
は制御レジスタが設けられ、CPUが暴走した場合には
制御レジスタによりゲート回路が開かれて異常信号が出
力されCPUが暴走しない場合には制御レジスタにより
ゲート回路が閉鎖されて異常信号が出力されないように
なっていることを特徴とするCPU暴走監視回路が提供
される。
(4) Structure of the Invention According to the present invention, in a circuit that interconnects a CPU and a watchdog circuit via a bus and monitors runaway of the CPU based on the presence or absence of an abnormal signal output from the watchdog circuit, the watchdog circuit A gate circuit is provided on the output side of the CPU, and a control register is provided between the input side of the gate circuit and the bus, and when the CPU goes out of control, the gate circuit is opened by the control register and an abnormal signal is output. Provided is a CPU runaway monitoring circuit characterized in that when the CPU does not runaway, a gate circuit is closed by a control register so that an abnormal signal is not output.

15)発明の実施例 以下、本発明を実施例により添付図面を参照して説明1
−る。
15) Embodiments of the Invention The present invention will be explained below by way of embodiments with reference to the accompanying drawings.
-ru.

図は本発明に係るCPU暴走監視回路の構成図である。The figure is a configuration diagram of a CPU runaway monitoring circuit according to the present invention.

図の回路は、WDT回路13の出力側にゲート回路14
が設けられこのゲート回路14を制御レジスタ16で制
御することにより、正常時であってもWDT回路を所定
の基準時間内にアクセスできない場合には異常信号US
が出力されないようにしたものである。
The circuit shown in the figure has a gate circuit 14 on the output side of the WDT circuit 13.
By controlling this gate circuit 14 with a control register 16, if the WDT circuit cannot be accessed within a predetermined reference time even under normal conditions, an abnormality signal US is generated.
This is so that it is not output.

CP018は、例えばマ・fクロプロセッサであす、該
CP U 18 idマイクロプロセッサバス17を介
して1%OM 19 、 RAM20と接続されている
。−上記マイクロプロセッサパス17にはアドレスバス
インタフェイス回路10及びデータバスインタフz−(
ス回路15が接続されてCPU側とWD’T回路13側
との間で相互接続が確保されている。
The CPU 18 is, for example, a macroprocessor, and is connected to the 1% OM 19 and the RAM 20 via the CPU 18 id microprocessor bus 17. - The microprocessor path 17 includes an address bus interface circuit 10 and a data bus interface z-(
A bus circuit 15 is connected to ensure interconnection between the CPU side and the WD'T circuit 13 side.

アドレスバスインタフェイス回路10の出力は第1アド
レスデコード回路11と第2アドレスデコード回路12
へ供給される。廿たデコード回路11の出力はWDT回
路13へ、他方デコード回路12の出力は制御レジスタ
16へ供給される。
The output of the address bus interface circuit 10 is a first address decode circuit 11 and a second address decode circuit 12.
supplied to The output of the decode circuit 11 is supplied to the WDT circuit 13, and the output of the decode circuit 12 is supplied to the control register 16.

制御レジスタ16Fiデータパスインタフヱイス回路1
5を介して供給されるデータを上記デコード回路12の
出力により保持し、ゲート回路14を制御する役割を有
する。
Control register 16Fi data path interface circuit 1
It has the role of holding the data supplied via the decoding circuit 5 by the output of the decoding circuit 12 and controlling the gate circuit 14.

上記の構成を有する本発明に係るC P U暴走監視回
路は次のように動作する。
The CPU runaway monitoring circuit according to the present invention having the above configuration operates as follows.

今、電源が投入されてシステムが起動し、CPUは正常
に処理を行なっている。しかし、ソフトウェアリセット
時で非常に長い時間イニシャル処理が行なわれている。
Now, the power has been turned on, the system has started up, and the CPU is processing normally. However, initial processing is performed for a very long time during software reset.

従って最初のWDT回路16へのアクセス時間が基準時
間を越えるので電源ノイズによりWDT回路13のモノ
マルチが異常信号を発する。
Therefore, since the first access time to the WDT circuit 16 exceeds the reference time, the monomulti of the WDT circuit 13 issues an abnormal signal due to power supply noise.

ところがROM19に予め格納されたデータがデータバ
スインクフェイス回路17、インタフェイス回路15を
経由してデコード回路2の出力により制御レジスタ16
に保持されてbる。従ってゲート回路14は閉鎖された
状態を維持し、異常信号USは出力されない。
However, the data previously stored in the ROM 19 is transferred to the control register 16 via the data bus ink face circuit 17 and the interface circuit 15 by the output of the decode circuit 2.
It is held in b. Therefore, the gate circuit 14 remains closed and the abnormal signal US is not output.

(6)発明の効果 上記のJJfl、b、不発明によればWDT回路の出力
側にゲート回路が設けられ該ゲート回路が制御レジスタ
により制御されることにより、正常処理時にはWDT回
路から異常信号が送出されずCPU暴走監視回路の誤動
作が防止される。
(6) Effects of the Invention According to JJfl, b, and the non-invention described above, a gate circuit is provided on the output side of the WDT circuit and the gate circuit is controlled by a control register, so that an abnormal signal is generated from the WDT circuit during normal processing. This prevents the CPU runaway monitoring circuit from malfunctioning.

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

図1−j本発明に係るCPU暴走監視回路の構成図であ
る。
FIG. 1-j is a configuration diagram of a CPU runaway monitoring circuit according to the present invention.

Claims (1)

【特許請求の範囲】[Claims] パスを介してCPUとウォッチドッグ回路を相互接続し
、ウォッチドッグ回路から出力される異常信号の有無に
よりCPUの暴走を監視する回路において、ウォッチド
ッグ回路の出力側にゲート回路が設けられていると共に
該ゲート回路の入力側と上記バス間には制御レジスタが
設けられ、CPUが暴走した場合には制御レジスタによ
りゲート回路が開かれて異常信号が出力されCPUが暴
走しない場合には制御レジスタによりゲート回路が閉鎖
されて異常信号が出力されないようになっていることを
特徴とするCPU暴走監視回路。
In a circuit that interconnects a CPU and a watchdog circuit via a path and monitors runaway of the CPU based on the presence or absence of an abnormal signal output from the watchdog circuit, a gate circuit is provided on the output side of the watchdog circuit. A control register is provided between the input side of the gate circuit and the bus, and when the CPU goes out of control, the control register opens the gate circuit and outputs an abnormal signal.If the CPU does not go out of control, the control register opens the gate. A CPU runaway monitoring circuit characterized in that the circuit is closed so that no abnormal signal is output.
JP57226612A 1982-12-27 1982-12-27 Cpu run-away monitoring circuit Granted JPS59119453A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP57226612A JPS59119453A (en) 1982-12-27 1982-12-27 Cpu run-away monitoring circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP57226612A JPS59119453A (en) 1982-12-27 1982-12-27 Cpu run-away monitoring circuit

Publications (2)

Publication Number Publication Date
JPS59119453A true JPS59119453A (en) 1984-07-10
JPH0218503B2 JPH0218503B2 (en) 1990-04-25

Family

ID=16847923

Family Applications (1)

Application Number Title Priority Date Filing Date
JP57226612A Granted JPS59119453A (en) 1982-12-27 1982-12-27 Cpu run-away monitoring circuit

Country Status (1)

Country Link
JP (1) JPS59119453A (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61296443A (en) * 1985-06-24 1986-12-27 Mitsubishi Electric Corp Watchdog timer
JPS6260038A (en) * 1985-09-10 1987-03-16 Hochiki Corp Watchdog circuit
JPS6310248A (en) * 1986-06-30 1988-01-16 Nec Corp Detecting system for abnormal state of microprocessor
JPH01211138A (en) * 1988-02-19 1989-08-24 Fujitsu Ltd Resetting circuit for supervising circuit of computer system
JPH01172152U (en) * 1988-05-24 1989-12-06
JPH0325943U (en) * 1989-07-24 1991-03-18
JP2007095688A (en) * 2005-09-27 2007-04-12 Xerox Corp Wire assembly removing/housing tool for dicorotron unit
JP2012155454A (en) * 2011-01-25 2012-08-16 Nec Corp System monitoring device and system monitoring method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56103723A (en) * 1980-01-23 1981-08-19 Nippon Denso Co Ltd Automatic reset method for computer

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS56103723A (en) * 1980-01-23 1981-08-19 Nippon Denso Co Ltd Automatic reset method for computer

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61296443A (en) * 1985-06-24 1986-12-27 Mitsubishi Electric Corp Watchdog timer
JPH0519738B2 (en) * 1985-06-24 1993-03-17 Mitsubishi Electric Corp
JPS6260038A (en) * 1985-09-10 1987-03-16 Hochiki Corp Watchdog circuit
JPS6310248A (en) * 1986-06-30 1988-01-16 Nec Corp Detecting system for abnormal state of microprocessor
JPH01211138A (en) * 1988-02-19 1989-08-24 Fujitsu Ltd Resetting circuit for supervising circuit of computer system
JPH01172152U (en) * 1988-05-24 1989-12-06
JPH0325943U (en) * 1989-07-24 1991-03-18
JP2007095688A (en) * 2005-09-27 2007-04-12 Xerox Corp Wire assembly removing/housing tool for dicorotron unit
JP2012155454A (en) * 2011-01-25 2012-08-16 Nec Corp System monitoring device and system monitoring method

Also Published As

Publication number Publication date
JPH0218503B2 (en) 1990-04-25

Similar Documents

Publication Publication Date Title
EP0497380B1 (en) Microcomputer having a watchdog timer
JPS59119453A (en) Cpu run-away monitoring circuit
JPH07210472A (en) I/o interface control method and computer system
JPS592152A (en) Resetting system in case of fault
JP2998804B2 (en) Multi-microprocessor system
JPS63191245A (en) Resetting control system for device being in runaway state
JPS5946001B2 (en) Momentary power outage handling method for process control equipment
JPH03228160A (en) Bus lock releasing system for information processing system
JP2706027B2 (en) Programmable controller
JPS61145617A (en) Power supply disconnection circuit
JPS6152752A (en) Fault display circuit
JPH01116739A (en) Monitor equipment for cpu
JPH01319834A (en) Data processor
JPH09212201A (en) Control circuit for production facility
JP3177794B2 (en) Bus access error handling method
JPH04305758A (en) Information processor
JPH0651827A (en) Abnormality monitor system for program controller
JPS5935216A (en) Multiple information processing system
JPH04217035A (en) Cpu control circuit
JPS62209627A (en) Data processor
JPS63231555A (en) I/o interface resetting system
JPH03252831A (en) Method for collecting ras information by dma transfer
JPS5935217A (en) Multiple information processing system
JPH0477910A (en) Constituent device detaching system
JPH01310460A (en) Scsi bus monitoring device