Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /home/zhenxiangba/zhenxiangba.com/public_html/phproxy-improved-master/index.php on line 456
JPH0218503B2 - - Google Patents
[go: Go Back, main page]

JPH0218503B2 - - Google Patents

Info

Publication number
JPH0218503B2
JPH0218503B2 JP57226612A JP22661282A JPH0218503B2 JP H0218503 B2 JPH0218503 B2 JP H0218503B2 JP 57226612 A JP57226612 A JP 57226612A JP 22661282 A JP22661282 A JP 22661282A JP H0218503 B2 JPH0218503 B2 JP H0218503B2
Authority
JP
Japan
Prior art keywords
circuit
cpu
output
control register
abnormal signal
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.)
Expired - Lifetime
Application number
JP57226612A
Other languages
Japanese (ja)
Other versions
JPS59119453A (en
Inventor
Hidenori Hayashi
Satoru Tsushima
Noryuki 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 OR CALCULATING; 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Emergency Alarm Devices (AREA)
  • Alarm Systems (AREA)
  • Debugging And Monitoring (AREA)

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) 従来技術と問題点 一般に、CPU(Central Processing Unit;中
央処理装置)が暴走したか否かを監視する場合
に、ウオツチドツグタイマ(Watch Dog
Timer;以下WDTと称する)回路が使用される
ことがある。
(2) Prior Art and Problems In general, a watchdog timer is used to monitor whether a CPU (Central Processing Unit) has run out of control.
Timer (hereinafter referred to as WDT) circuit may be used.

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

しかし、このWDT回路はモノステーブルマル
チバイブレータにより構成されている。従つて、
従来のようにWDT回路だけでCPU暴走監視回路
を組み立てた場合、電源のノイズ等が原因で
WDT回路が一度もアクセスされていないのに異
常信号を発生することがある。
However, this WDT circuit is composed of a monostable multivibrator. Therefore,
If you assemble a CPU runaway monitoring circuit using only the WDT circuit as in the past, power supply noise etc.
An abnormal signal may be generated even though the WDT circuit has never been accessed.

また、CPUによるソフトウエア処理時間中の
イニシヤルプログラム処理が長くなるとWDT回
路のアクセスインターバル時間が長くなり、
CPUが暴走していないにも拘らずWDT回路から
異常信号が出力することがある。
Additionally, 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.
An abnormal signal may be output from the WDT circuit even though the CPU is not running out of control.

(3) 発明の目的 本発明の目的は、WDT回路の出力側にゲート
回路を設けることにより正常処理時にはこのゲー
ト回路を閉じてWDT回路から異常信号が送出さ
れないようにしてCPU暴走監視回路の誤動作を
防止することにある。
(3) Purpose of the Invention The purpose of the present invention is to prevent malfunction of the CPU runaway monitoring circuit by providing a gate circuit on the output side of the WDT circuit and closing this gate circuit during normal processing to prevent abnormal signals from being sent from the WDT circuit. The goal is to prevent

(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, A gate circuit is provided, and a control register is provided between the input side of the gate circuit and the bus, and immediately after the CPU is reset, the control register is reset and no abnormal signal is output, and the initial operation of the CPU is There is provided a CPU runaway monitoring circuit characterized in that, after completion of the process, the gate circuit is opened by the control register so that an abnormal signal can be output.

(5) 発明の実施例 以下、本発明を実施例により添付図面を参照し
て説明する。
(5) Embodiments of the Invention The present invention will now be described by way of embodiments with reference to the accompanying drawings.

図は本発明に係る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が出力されないよう
にしたものである。
In the circuit shown in the figure, a gate circuit 14 is provided on the output side of the WDT circuit 13, and this gate circuit 14 is controlled by a control register 16, so that the WDT circuit cannot be accessed within a predetermined reference time even in normal conditions. This prevents the abnormal signal US from being output.

CPU18は、例えばマイクロプロセツサであ
り、該CPU18はマイクロプロセツサバス17
を介してROM19,RAM20と接続されてい
る。上記マイクロプロセツサバス17にはアドレ
スバスインタフエイス回路10及びデータバスイ
ンタフエイス回路15が接続されてCPU側と
WDT回路13側との間で相互接続が確保されて
いる。
The CPU 18 is, for example, a microprocessor, and the CPU 18 is connected to a microprocessor bus 17.
It is connected to ROM 19 and RAM 20 via. An address bus interface circuit 10 and a data bus interface circuit 15 are connected to the microprocessor bus 17 and communicate with the CPU side.
Interconnection with the WDT circuit 13 side is ensured.

アドレスバスインタフエイス回路10の出力は
第1アドレスデコード回路11と第2アドレスデ
コード回路12へ供給される。またデコード回路
11の出力はWDT回路13へ、他方デコード回
路12の出力は制御レジスタ16へ供給される。
制御レジスタ16はデータバスインタフエイス回
路15を介して供給されるデータを上記デコード
回路12の出力により保持し、ゲート回路14を
制御する役割を有する。
The output of the address bus interface circuit 10 is supplied to a first address decode circuit 11 and a second address decode circuit 12. Further, the output of the decoding circuit 11 is supplied to the WDT circuit 13, and the output of the decoding circuit 12 is supplied to the control register 16.
The control register 16 has the role of holding data supplied via the data bus interface circuit 15 using the output of the decoding circuit 12, and controlling the gate circuit 14.

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

制御レジスタ16はCPU18のリセツト直後
はリセツトされて異常信号が出力されず、前記
CPU18の初期動作終了後に前記制御レジスタ
16により前記ゲート回路が開かれて異常信号が
出力可能となるようになつている。
Immediately after the CPU 18 is reset, the control register 16 is reset and no abnormal signal is output, and the above-mentioned
After the initial operation of the CPU 18 is completed, the control register 16 opens the gate circuit so that an abnormal signal can be output.

今、電源が投入されてシステムが起動し、
CPUは正常に処理を行なつているが、ソフトウ
エアリセツト時で非常に長い時間イニシヤル処理
が行なわれていると仮定する。そうすると最初の
WDT回路13へのアクセス時間が基準時間を越
えるので電源ノイズによりWDT回路13のモノ
マルチが異常信号を発する。
Now, the power is turned on and the system starts,
Assume that the CPU is processing normally, but initial processing is being performed for a very long time at software reset. Then the first
Since the access time to the WDT circuit 13 exceeds the reference time, the monomulti of the WDT circuit 13 issues an abnormal signal due to power supply noise.

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

(6) 発明の効果 上記の通り、本発明によればWDT回路の出力
側にゲート回路が設けられ該ゲート回路が制御レ
ジスタにより制御されることにより、正常処理時
にはWDT回路から異常信号が送出されずCPU暴
走監視回路の誤動作が防止される。
(6) Effects of the Invention As described above, according to the present invention, 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 not sent from the WDT circuit during normal processing. This prevents the CPU runaway monitoring circuit from malfunctioning.

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

図は本発明に係るCPU暴走監視回路の構成図
である。 10……アドレスバスインタフエイス回路、1
1……第1アドレスデコード回路、12……第2
アドレスデコード回路、13……WDT回路、1
4……ゲート回路、15……データバスインタフ
エイス回路、16……制御レジスタ、17……マ
イクロプロセツサバス、18……CPU、19…
…ROM、20……RAM。
The figure is a configuration diagram of a CPU runaway monitoring circuit according to the present invention. 10...address bus interface circuit, 1
1...First address decoding circuit, 12...Second
Address decoding circuit, 13...WDT circuit, 1
4...Gate circuit, 15...Data bus interface circuit, 16...Control register, 17...Microprocessor bus, 18...CPU, 19...
...ROM, 20...RAM.

Claims (1)

【特許請求の範囲】[Claims] 1 バスを介してCPUとウオツチドツグ回路を
相互接続し、ウオツチドツグ回路から出力される
異常信号の有無によりCPUの暴走を監視する回
路において、ウオツチドツグ回路の出力側にゲー
ト回路が設けられていると共に該ゲート回路の入
力側と上記バス間には制御レジスタが設けられ、
前記CPUのリセツト直後は前記制御レジスタは
リセツトされ異常信号が出力されず、前記CPU
の初期動作終了後に前記制御レジスタにより前記
ゲート回路が開かれて異常信号が出力可能となる
ようになつていることを特徴とするCPU暴走監
視回路。
1. 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, a gate circuit is provided on the output side of the watchdog circuit, and a gate circuit is provided on the output side of the watchdog circuit. A control register is provided between the input side of the circuit and the above bus,
Immediately after resetting the CPU, the control register is reset and no abnormal signal is output, and the CPU
2. A CPU runaway monitoring circuit, wherein the gate circuit is opened by the control register after the initial operation of the CPU is completed, so that an abnormal signal can be 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 JPS59119453A (en) 1984-07-10
JPH0218503B2 true 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)

Families Citing this family (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
US7432504B2 (en) * 2005-09-27 2008-10-07 Xerox Corporation Dicorotron wire assembly removal and storage tool
JP5625949B2 (en) * 2011-01-25 2014-11-19 日本電気株式会社 System monitoring apparatus and system monitoring method

Family Cites Families (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

Also Published As

Publication number Publication date
JPS59119453A (en) 1984-07-10

Similar Documents

Publication Publication Date Title
JP2696511B2 (en) Return method from power down mode
JPH0218503B2 (en)
JPS63191245A (en) Resetting control system for device being in runaway state
JP2998804B2 (en) Multi-microprocessor system
JPS6363935B2 (en)
JP3161444B2 (en) Fault logging system, method, and storage medium storing program
JPS5878239A (en) Operation controlling circuit
JP3214079B2 (en) CPU abnormality detection device
JPH0756774A (en) Watching timer
JPH0430245A (en) Multiprocessor control system
JP2814587B2 (en) Watchdog timer
JPS60220448A (en) Mutual checking method of multi-cpu system
JP2583617B2 (en) Multiprocessor system
KR200183293Y1 (en) recovery device of abnormality occurrence for persnal computer
JPS6033474Y2 (en) Computer abnormality detection circuit
JP3058306B2 (en) Printed board for data input / output
JPS61145617A (en) Power supply disconnection circuit
JPS62209627A (en) Data processor
JPS622684Y2 (en)
JPS6029856A (en) Access control system for local memory of multiprocessor system
JPS60164852A (en) Monitor system of program runaway
JPS6336431Y2 (en)
JPS63200254A (en) Memory write control circuit
JPS5839321A (en) Storage device
JPH0748198B2 (en) Multiprocessor system