JPH0535368A - Reset circuit - Google Patents

Reset circuit

Info

Publication number
JPH0535368A
JPH0535368A JP3214757A JP21475791A JPH0535368A JP H0535368 A JPH0535368 A JP H0535368A JP 3214757 A JP3214757 A JP 3214757A JP 21475791 A JP21475791 A JP 21475791A JP H0535368 A JPH0535368 A JP H0535368A
Authority
JP
Japan
Prior art keywords
reset
circuit
microprocessor
reset circuit
state
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
JP3214757A
Other languages
Japanese (ja)
Other versions
JP2697393B2 (en
Inventor
Nobumasa Kurihara
宣昌 栗原
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 JP3214757A priority Critical patent/JP2697393B2/en
Publication of JPH0535368A publication Critical patent/JPH0535368A/en
Application granted granted Critical
Publication of JP2697393B2 publication Critical patent/JP2697393B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Retry When Errors Occur (AREA)

Abstract

PURPOSE:To obtain the reset circuit which can recognize a fault or can analyze it even when resetting a circuit equipped with a microprocessor or a system. CONSTITUTION:This circuit is equipped with a first reset circuit system to reset only a microprocessor 7 and the circuit related to this microprocessor according to a state holding reset signal 1 and a second reset circuit system to reset the entire circuit or system equipped with the microprocessor according to a full system reset signal 2 and in the first reset circuit system, the fault state of the unreset circuit can be detected by the reset microprocessor.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は制御回路、電子計算機等
のマイクロプロセッサを使用する回路又はシステムに関
し、特にそのリセット回路に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a circuit or system using a microprocessor such as a control circuit or an electronic computer, and more particularly to a reset circuit thereof.

【0002】[0002]

【従来の技術】一般に、マイクロプロセッサを使用した
回路やシステムには、障害が発生したときに回路又はシ
ステムを初期状態に戻すリセット回路が設けられる。こ
の従来のリセット回路では、マイクロプロセッサを含む
制御部を始めとし、入出力回路等の周辺回路の全てに対
してリセットをかけるように構成されている。
2. Description of the Related Art Generally, a circuit or system using a microprocessor is provided with a reset circuit for returning the circuit or system to an initial state when a failure occurs. This conventional reset circuit is configured to reset all peripheral circuits such as an input / output circuit including a control unit including a microprocessor.

【0003】[0003]

【発明が解決しようとする課題】上述した従来のリセッ
ト回路は、リセットをかけると回路又はシステムの全て
を障害状態から正常状態に復帰させてしまうため、リセ
ット後に障害を起こした場所や状態を知り、或いは解析
することができなくなるという問題がある。本発明の目
的は、リセットを行っても障害箇所を知り、或いは解析
することを可能にしたリセット回路を提供することにあ
る。
The above-mentioned conventional reset circuit resets the entire circuit or system from a faulty state to a normal state when resetting is performed, so that it is possible to know the place or state where a fault has occurred after resetting. Or, there is a problem that analysis becomes impossible. An object of the present invention is to provide a reset circuit capable of knowing or analyzing a failure point even after resetting.

【0004】[0004]

【課題を解決するための手段】本発明のリセット回路
は、状態保持リセット信号によりマイクロプロセッサ及
びこれと関係の深い回路のみをリセットする第1のリセ
ット回路系と、全系リセット信号によりマイクロプロセ
ッサを含む全ての回路又はシステムをリセットする第2
のリセット回路系とを備えており、第1のリセット回路
系では、リセットされたマイクロプロセッサによりリセ
ットされない回路の障害状態を検出し得るように構成す
る。
The reset circuit of the present invention includes a first reset circuit system for resetting only a microprocessor and circuits closely related to it by a state holding reset signal, and a microprocessor by a whole system reset signal. Second to reset all circuits or systems including
And the first reset circuit system is configured so that the fault condition of the circuit which is not reset by the reset microprocessor can be detected.

【0005】[0005]

【作用】本発明によれば、第1のリセット回路系を用い
ることで、リセットされたマイクロプロセッサによりリ
セットされない回路の障害状態を検出し、障害状態の確
認及び解析が可能となる。
According to the present invention, by using the first reset circuit system, it is possible to detect the fault condition of the circuit which is not reset by the reset microprocessor and confirm and analyze the fault condition.

【0006】[0006]

【実施例】次に、本発明について図面を参照して説明す
る。図1は本発明の一実施例の構成図である。制御部は
マイクロプロセッサ7と、これにアドレス,データの各
バス10を介して接続されるポート6、RAM8、RO
M9を有している。前記マイクロプロセッサ7にはオア
ゲート3を通して状態保持リセット信号1と全系リセッ
ト信号2が夫々入力される。又、ポート6にはフリップ
フロップ4,5が夫々接続され、これらのフリップフロ
ップ4,5には夫々前記信号1,2が入力される。更
に、前記制御部外では、前記バス10を介して複数個の
I/O回路11が接続される。これらI/O回路11は
夫々バッファ12が設けられ、かつ前記信号のうち、全
系リセット信号2が入力される。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, the present invention will be described with reference to the drawings. FIG. 1 is a block diagram of an embodiment of the present invention. The control unit includes a microprocessor 7, a port 6 connected to the microprocessor 7 via respective address and data buses 10, a RAM 8 and an RO.
It has M9. A state hold reset signal 1 and a system reset signal 2 are input to the microprocessor 7 through an OR gate 3, respectively. Flip-flops 4 and 5 are connected to the port 6, respectively, and the signals 1 and 2 are input to the flip-flops 4 and 5, respectively. Further, outside the control unit, a plurality of I / O circuits 11 are connected via the bus 10. Each of these I / O circuits 11 is provided with a buffer 12 and receives the whole system reset signal 2 of the signals.

【0007】この構成によれば、状態保持リセット信号
1、及び全系リセット信号2のいずれが入力されても、
マイクロプロセッサ7はリセットされる。システム全体
に及ぶ障害が発生したときには、先ず状態保持リセット
信号1を使用して制御部だけを初期化し、これと同時に
フリップフロップ4をセットする。状態保持リセット信
号1により、マイクロプロセッサ7は使用可能状態にさ
れるため、このマイクロプロセッサ7を使用し、ROM
9に記憶されているプログラムによりポート6を読み出
して、フリップフロップ4及びフリップフロップ5の状
態を確認し、状態保持リセットが行われたことを知る。
その後、RAM8をクリアする。次に、マイクロプロセ
ッサ7は、各I/O11の障害状態を知るために、バス
10を通して夫々のバッファ12の障害状態を読み出
し、障害状態を記憶するRAM8のエリアへ転送しマイ
クロプロセッサ7の処理は終了する。
According to this configuration, even if either the state holding reset signal 1 or the system reset signal 2 is input,
The microprocessor 7 is reset. When a failure occurs in the entire system, the state holding reset signal 1 is first used to initialize only the control section, and at the same time, the flip-flop 4 is set. Since the microprocessor 7 is enabled by the state-holding reset signal 1, the microprocessor 7 is used and the ROM
The port 6 is read by the program stored in 9 to check the states of the flip-flops 4 and 5 to know that the state-holding reset has been performed.
After that, the RAM 8 is cleared. Next, the microprocessor 7 reads the fault status of each buffer 12 through the bus 10 in order to know the fault status of each I / O 11, transfers it to the area of the RAM 8 which stores the fault status, and the processing of the microprocessor 7 is performed. finish.

【0008】次に、全系リセット信号2をシステム全体
にかけ、全体の初期化を行う。制御部では、全系リセッ
ト信号2が入力されると、マイクロプロセッサ7がリセ
ットされ、それとともにフリップフロップ5に全系リセ
ット信号2がラッチされる。初期化されたマイクロプロ
セッサ7により、ポート6を読み出してフリップフロッ
プ4及びフリップフロップ5の状態を確認し、全系リセ
ットが行われたことを知る。マイクロプロセッサ7は、
制御部及びシステム全体の初期化を行う。この時、各I
/O11の障害状態を記憶しているRAM8のエリアは
クリアしない。
Next, the system reset signal 2 is applied to the entire system to initialize the entire system. In the control unit, when the system reset signal 2 is input, the microprocessor 7 is reset, and the system reset signal 2 is latched in the flip-flop 5 at the same time. The initialized microprocessor 7 reads the port 6 and checks the states of the flip-flops 4 and 5 to know that the system reset has been performed. The microprocessor 7
Initializes the control unit and the entire system. At this time, each I
The area of the RAM 8 that stores the failure status of / O11 is not cleared.

【0009】図2は、図1のリセット回路の動作を示す
フローチャートである。マイクロプロセッサとしては、
リセットされるとすぐに、状態保持リセットなのか、全
系リセットなのかを判断する。状態保持リセットが入力
されたならば、マイクロプロセッサはRAMをクリア
し、各I/Oの障害状態をRAMへ書き込む。全系リセ
ットの場合は、障害状態を記憶したRAMのエリア以外
をクリアし、各ハードの初期処理を行う。その後、シス
テムのプログラムへ戻る。
FIG. 2 is a flow chart showing the operation of the reset circuit of FIG. As a microprocessor,
As soon as it is reset, it is determined whether it is a state holding reset or a system reset. When the state hold reset is input, the microprocessor clears the RAM and writes the fault status of each I / O to the RAM. In the case of resetting the entire system, the areas other than the RAM area in which the failure status is stored are cleared and the initial processing of each hardware is performed. Then return to the system program.

【0010】[0010]

【発明の効果】以上説明したように本発明は、マイクロ
プロセッサを使用している回路やシステムに障害が発生
した場合に、第1のリセット回路系によりマイクロプロ
セッサとこれに関係の深い回路だけをリセットし、使用
可能とされたマイクロプロセッサを用いて障害箇所を確
認することができる。又、この障害をメモリに記憶し、
第2のリセット回路系で障害を記憶したメモリエリア以
外の回路をリセットする事により、正常化された回路や
システムにより障害発生の状態を知ることができるとい
う効果がある。
As described above, according to the present invention, when a failure occurs in the circuit or system using the microprocessor, the first reset circuit system allows only the microprocessor and the circuits closely related thereto. A faulty location can be identified using a microprocessor that has been reset and enabled. Also, store this fault in memory,
By resetting the circuits other than the memory area in which the failure is stored in the second reset circuit system, it is possible to know the failure occurrence state from the normalized circuit or system.

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

【図1】本発明のリセット回路の回路構成図である。FIG. 1 is a circuit configuration diagram of a reset circuit of the present invention.

【図2】本発明にかかるリセット動作を示すフローチャ
ートである。
FIG. 2 is a flowchart showing a reset operation according to the present invention.

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

1 状態保持リセット信号 2 全系リセット信号 4,5 フリップフロップ 6 ポート 7 マイクロプロセッサ 8 RAM 9 ROM 10 バス 11 I/O 1 state hold reset signal 2 whole system reset signal 4,5 flip-flop 6 port 7 microprocessor 8 RAM 9 ROM 10 bus 11 I / O

Claims (1)

【特許請求の範囲】 【請求項1】 マイクロプロセッサを含む回路又はシス
テムをリセットするためのリセット回路において、状態
保持リセット信号によりマイクロプロセッサ及びこれと
関係の深い回路のみをリセットする第1のリセット回路
系と、全系リセット信号によりマイクロプロセッサを含
む全ての回路又はシステムをリセットする第2のリセッ
ト回路系とを備え、第1のリセット回路系では、リセッ
トされたマイクロプロセッサによりリセットされない回
路の障害状態を検出し得るように構成したことを特徴と
するリセット回路。
Claim: What is claimed is: 1. A reset circuit for resetting a circuit or system including a microprocessor, wherein a first reset circuit resets only the microprocessor and a circuit deeply related thereto by a state holding reset signal. System, and a second reset circuit system for resetting all circuits or systems including the microprocessor by a reset signal for the entire system, in the first reset circuit system, a failure state of the circuit not reset by the reset microprocessor A reset circuit characterized in that it is configured to detect
JP3214757A 1991-07-31 1991-07-31 Reset circuit Expired - Fee Related JP2697393B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3214757A JP2697393B2 (en) 1991-07-31 1991-07-31 Reset circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3214757A JP2697393B2 (en) 1991-07-31 1991-07-31 Reset circuit

Publications (2)

Publication Number Publication Date
JPH0535368A true JPH0535368A (en) 1993-02-12
JP2697393B2 JP2697393B2 (en) 1998-01-14

Family

ID=16661055

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3214757A Expired - Fee Related JP2697393B2 (en) 1991-07-31 1991-07-31 Reset circuit

Country Status (1)

Country Link
JP (1) JP2697393B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100747327B1 (en) * 2006-05-17 2007-08-07 엘지전자 주식회사 Method for self diagnosis in digital video recorder

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62127918A (en) * 1985-11-28 1987-06-10 Oki Electric Ind Co Ltd Logic circuit
JPH02232713A (en) * 1989-03-06 1990-09-14 Nec Corp Microcomputer
JPH03125208A (en) * 1989-10-11 1991-05-28 Canon Inc Information processor

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS62127918A (en) * 1985-11-28 1987-06-10 Oki Electric Ind Co Ltd Logic circuit
JPH02232713A (en) * 1989-03-06 1990-09-14 Nec Corp Microcomputer
JPH03125208A (en) * 1989-10-11 1991-05-28 Canon Inc Information processor

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100747327B1 (en) * 2006-05-17 2007-08-07 엘지전자 주식회사 Method for self diagnosis in digital video recorder

Also Published As

Publication number Publication date
JP2697393B2 (en) 1998-01-14

Similar Documents

Publication Publication Date Title
US20030041290A1 (en) Method for monitoring consistent memory contents in redundant systems
US6728906B1 (en) Trace buffer for a configurable system-on-chip
US6393558B1 (en) Peripheral component interconnect (PCI) card for selectively processing a PCI bus reset signal and method for resetting the PCI card
US6289470B1 (en) Data monitor circuit
EP0945810A2 (en) Pipeline-type multi-processor system
JPH0535368A (en) Reset circuit
EP0556138A1 (en) A bus for connecting extension cards to a data processing system and test method
JPS6127778B2 (en)
JP3109573B2 (en) Fault LSI detection method
JPH02173852A (en) Bus diagnostic device
JP2704062B2 (en) Information processing device
JP3173648B2 (en) Failure detection method
US7673177B2 (en) Circuit and method for providing PCB power-on self test capability for peripheral devices
JP2685289B2 (en) Write enable signal check method
JP2725680B2 (en) Bus error detection circuit
JPS5816487B2 (en) Multiple selection detection device in computer system
JPH07160521A (en) Information processor with anti-fault function
JPH02271448A (en) Address control circuit
JPH05233846A (en) Microprocessor
JPH09190387A (en) Information processor and main storage device
JPS5917465B2 (en) Check device
JPS6346458B2 (en)
JPH0612346A (en) Bus stack detection system
JP2000293278A (en) Noise detecting circuit
JPH01130233A (en) Bus diagnostic data acquisition system

Legal Events

Date Code Title Description
LAPS Cancellation because of no payment of annual fees