JPH02165310A - Method for processing reset of microprocessor - Google Patents

Method for processing reset of microprocessor

Info

Publication number
JPH02165310A
JPH02165310A JP63321290A JP32129088A JPH02165310A JP H02165310 A JPH02165310 A JP H02165310A JP 63321290 A JP63321290 A JP 63321290A JP 32129088 A JP32129088 A JP 32129088A JP H02165310 A JPH02165310 A JP H02165310A
Authority
JP
Japan
Prior art keywords
reset
microprocessor
level
reset level
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.)
Granted
Application number
JP63321290A
Other languages
Japanese (ja)
Other versions
JPH0782407B2 (en
Inventor
Kiyonari Kitagawa
聖也 喜多川
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 JP63321290A priority Critical patent/JPH0782407B2/en
Publication of JPH02165310A publication Critical patent/JPH02165310A/en
Publication of JPH0782407B2 publication Critical patent/JPH0782407B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Abstract

PURPOSE:To execute reset operation while keeping an operation state at the time of generating reset during the operation of an electronic apparatus by setting up set data in a reset level setting circuit before resetting an MPU, and after releasing the reset executing reset operation corresponding to the reset level. CONSTITUTION:At the time of receiving a reset signal, the microprocessor(MPU) stops its operation, and when the reset is released, accesses an address obtained at the time of reset by a reset level accessing means 101. As the result of the access, a reset level reading means 102 is driven to read out the contents of the reset setting circuit 13. An execution address setting means 103 sets up an execution address corresponding to the read reset level and branches the operation to a routine corresponding to the reset level to execute the processing. Thereby, the reset operation can be executed while keeping the operation state even at the time of generating reset during the operation of the electronic apparatus.

Description

【発明の詳細な説明】 [概要コ マイクロプロセッサを用いて制御を行う電子機器におけ
るマイクロプロセッサのリセット処理方法に関し、 電子機器の動作中にリセットが発生した時に動作状態を
保持したままでリセット動作を行うことができるマイク
ロプロセッサのリセット処理方法を提供することを目的
とし、 リセットを実行すべき異常状態を表す信号の発生に応じ
て各信号に対して割当てられたリセットレベル情報をリ
セットレベル設定回路に設定し、続いてリセット信号を
マイクロプロセッサに出力するリセット制御回路を備え
、マイクロプロセッサはリセ・ノドレベルアクセス手段
によりリセットレベルアドレスにアクセスし、リセット
レベル読取手段によりリセットレベルを読取り、実行ア
ト[産業上の利用分野] 本発明はマイクロプロセッサを用いて制御を行う電子機
器におけるマイクロプロセッサのリセット処理方法に関
する。
[Detailed Description of the Invention] [Summary] Regarding a microprocessor reset processing method in an electronic device controlled using a microprocessor, when a reset occurs while the electronic device is operating, the reset operation is performed while maintaining the operating state. The purpose of this invention is to provide a microprocessor reset processing method that can perform a reset, and in response to the occurrence of a signal representing an abnormal state in which a reset should be executed, reset level information assigned to each signal is sent to a reset level setting circuit. The microprocessor accesses the reset level address by the reset node level access means, reads the reset level by the reset level reading means, and then outputs the reset signal to the microprocessor. FIELD OF THE INVENTION The present invention relates to a microprocessor reset processing method in an electronic device controlled using a microprocessor.

近年、マイクロプログラムにより制御を行う技術は、産
業用から家庭用までの各種の電子機器において広く利用
されている。そのようなマイクロプロセッサによる制御
を行う機器において、マイクロプロセッサ(MPUと略
称される)に異常が発生した場合、そのMPUにリセッ
ト行い、MPUを初期化する動作が行われる。MPUは
、そのリセットを終了すると、RAM (ランダムアク
セスメモリ)および外部レジスタの内容を全てクリアし
てその後制御開始する。
In recent years, technology for controlling using microprograms has been widely used in various electronic devices from industrial to home use. In devices controlled by such a microprocessor, when an abnormality occurs in the microprocessor (abbreviated as MPU), the MPU is reset and initialized. When the MPU completes its reset, it clears all the contents of RAM (random access memory) and external registers, and then starts control.

このため、リセットが行われるような異常が発生すると
、リセット動作によりMPUの内部状態が全て失われる
という不都合が発生しており、その改善が望まれている
For this reason, when an abnormality that causes a reset occurs, there is a problem in that the entire internal state of the MPU is lost due to the reset operation, and there is a desire to improve this problem.

[従来の技術] 機器の状態や、環境状態を表す信号を入力して対応する
制御信号を出力する機能をマイクロプロセッサにより行
う電子機器においては、MPUの異常状G(例えば、入
力データのパリティエラー発生など)が検出された時に
MPUのリセット端子にリセット信号が入力される構成
がとられている。その場合、MPUには通常リセット端
子が1つしか設けられてなく、リセット端子にリセット
入力が到来するとMPUの動作を停止させる。すなわち
、アドレスバスやデータバスを高インピーダンス状態に
し、割り込みを受付不能とし出力制御信号を不動作状態
とする。
[Prior Art] In electronic equipment in which a microprocessor performs the function of inputting a signal representing the equipment status or environmental status and outputting a corresponding control signal, an abnormality G of the MPU (for example, a parity error of input data) A configuration is adopted in which a reset signal is input to the reset terminal of the MPU when an event (such as the occurrence of an error) is detected. In that case, the MPU is usually provided with only one reset terminal, and when a reset input arrives at the reset terminal, the operation of the MPU is stopped. That is, the address bus and data bus are brought into a high impedance state, interrupts cannot be accepted, and output control signals are rendered inactive.

そして、リセットした信号が解除されると、MPUは自
動的に初期化動作を行い、無条件に主舵′t!装置であ
るRAM (ランダムアクセスメモ1月や外部レジスタ
などの内容をクリアしてイニシアルプログラムローディ
ング動作を行う構成となっており、この動作は電源オン
時に実行される処理と同様の内容である。
Then, when the reset signal is released, the MPU automatically performs an initialization operation and unconditionally sends the main rudder't! The device is configured to clear the contents of the RAM (random access memo, external registers, etc.) and perform an initial program loading operation, and this operation is similar to the process executed when the power is turned on.

[発明が解決しようとする課題] 上記したように従来の技術によれば、マイクロプロセッ
サはセント信号が入力されると、リセットされてRAM
やレジスタの内容を全てクリアしてしまうため、MPL
Jにより制御される電子機器がダウンして動作停止する
ことになり、その後リセットが解除しても、MPUは電
源オンと同様の初期化処理の過程を経て動作を再開する
必要がある。
[Problem to be Solved by the Invention] As described above, according to the conventional technology, when the microprocessor receives the cent signal, it is reset and the RAM is
MPL
Even if the electronic device controlled by J goes down and stops operating, and the reset is subsequently released, the MPU needs to resume operation through the same initialization process as when the power is turned on.

そのため、リセット動作によりMPUで制御される電子
機器への信頼性が損なわれるという問題があった。
Therefore, there is a problem in that the reset operation impairs the reliability of electronic devices controlled by the MPU.

本発明は電子機器の動作中にリセ7)が発生した時に動
作状態を保持したままでリセット動作を行うことができ
るマイクロプロセッサのリセット処理方法を提供するこ
とを目的とする。
SUMMARY OF THE INVENTION An object of the present invention is to provide a microprocessor reset processing method that can perform a reset operation while maintaining the operating state when a reset 7) occurs during the operation of an electronic device.

[課題を解決するための手段」 第1図は発明1の原理的構成図、第2図は発明2の原理
的構成図である。
[Means for Solving the Problems] FIG. 1 is a diagram showing the basic configuration of invention 1, and FIG. 2 is a diagram showing the basic configuration of invention 2.

第1図において、lOはマイクロプロセッサ(以下MP
Uという)、llはリセット制御回路、12はMPU異
常検出回路、13はリセットレベル設定回路、101は
リセットレベルアクセス手段、102はリセットレベル
読取手段、103は実行アドレス設定手段を表す。
In Figure 1, lO is a microprocessor (MP
11 is a reset control circuit, 12 is an MPU abnormality detection circuit, 13 is a reset level setting circuit, 101 is a reset level access means, 102 is a reset level reading means, and 103 is an execution address setting means.

第2図において、20はマイクロプロセッサ2(以下M
PU2という)、21はマイクロプロセッサl (以下
MPUIという)、220,221は異常検出回路、2
30,231はリセットレベル設定回路、240,24
1はリセット指示回路を表し、MPUIの211はリセ
ットレベル設定手段、212はリセット指示手段、MP
U2の201〜203は上記第1図の101−103と
同様の手段である。
In FIG. 2, 20 is a microprocessor 2 (hereinafter M
21 is a microprocessor l (hereinafter referred to as MPUI), 220 and 221 are abnormality detection circuits, 2
30, 231 are reset level setting circuits, 240, 24
1 represents a reset instruction circuit, 211 of MPUI is a reset level setting means, 212 is a reset instruction means, MPUI
201 to 203 of U2 are the same means as 101 to 103 in FIG. 1 above.

本発明はMPUの異常に対応じてリセットレベルが設定
される回路を設け、MPUにリセットをかける前にリセ
ットレベル設定回路に設定データをセットし、MPLI
はリセット解除後にそのリセットレベルに対応したリセ
ット動作を行うものである。
The present invention provides a circuit for setting a reset level in response to an abnormality in the MPU, and sets setting data in the reset level setting circuit before resetting the MPU.
After the reset is released, a reset operation corresponding to the reset level is performed.

[作用] 第1図に示す発明1の構成の作用を説明する。[Effect] The operation of the configuration of invention 1 shown in FIG. 1 will be explained.

MPUl0に異常が発生すると異常を表す複数の信号の
中の1つがMPU異常検出回路12に供給され、その信
号はリセット制御回路11へ出力される。リセット制御
回路11はMPU異常検出回路12からの異常信号に応
じてレベルを識別して、リセットレベル設定回路13に
レベルデータを設定して、MPUl0に供給し、続けて
MPU1Oのリセット端子にリセット信号を出力する。
When an abnormality occurs in MPU10, one of the plurality of signals representing the abnormality is supplied to the MPU abnormality detection circuit 12, and that signal is output to the reset control circuit 11. The reset control circuit 11 identifies the level according to the abnormal signal from the MPU abnormality detection circuit 12, sets the level data in the reset level setting circuit 13, supplies it to the MPU10, and then sends a reset signal to the reset terminal of the MPU10. Output.

MPLIIOはリセット信号を受は取ると、動作を停止
し、リセット解除されるとリセットレベルアクセス手段
101によりリセット時のアドレスにアクセスする。そ
のアクセスの結果リセットレベル読取手段102が動作
し、リセットレベル設定回路13の読取りが行われる。
When the MPLIIO receives a reset signal, it stops operating, and when the reset is released, the reset level access means 101 accesses the address at the time of reset. As a result of the access, the reset level reading means 102 operates, and the reset level setting circuit 13 is read.

次に実行アドレス設定手段103は、この読取られたリ
セットレベルに対応した実行アドレスを設定し、リセッ
トレベルに対応したルーチンに分岐して、処理が行われ
る。
Next, the execution address setting means 103 sets an execution address corresponding to the read reset level, branches to a routine corresponding to the reset level, and performs processing.

第2図に示す発明2の原理的構成は、第1図の構成にお
いてリセット制御図Illで行われる機RがMPU1(
21)により実行される点と、MPUIとMPU2はそ
れぞれ相手装置からの異常信号を受は取った時にリセッ
ト動作のための制御を互いに実行する構成を備える点に
特徴がある。
The principle configuration of the second invention shown in FIG. 2 is that the machine R performed in the reset control diagram Ill in the configuration of FIG.
21), and that the MPUI and MPU2 each have a configuration in which they mutually execute control for the reset operation when they each receive an abnormal signal from a partner device.

ただし、第2図には、MPU2に異常が発生した時に、
MPUIがリセットレベル設定などの制御の動作を行い
、MPU2がリセット処理を実行する場合における、各
MPUの技術手段が示されている。
However, in Figure 2, when an abnormality occurs in MPU2,
The technical means of each MPU is shown when the MPUI performs control operations such as reset level setting and the MPU 2 executes reset processing.

第2図の作用を説明すると、MPLI2に異常が発生す
ると、その異常信号はバスを介して異常検出回路221
にセットされる。その異常検出回路221は+fAPU
 lにより読取られる。
To explain the operation of FIG. 2, when an abnormality occurs in MPLI2, the abnormality signal is sent to the abnormality detection circuit 222 via the bus.
is set to The abnormality detection circuit 221 is +fAPU
read by l.

MPtJlは異常検出回路221の内容に応じて異常レ
ベルを識別し、リセ7)レベル設定手段211によりリ
セットレベル設定回路231にレベルデータを設定する
。次いで、リセット指示手段212が動作して、リセッ
ト指示回路241をセットする。リセット指示回路24
1がセットされると、その出力はMPU2のリセット端
子へのリセット入力信号となる。MPU2はこれにより
、動作を停止し、リセットが解除されると、以後第1図
のMPU (10)と同様の各手段201〜203によ
り処理が行われる。その際、リセットレベル読取手段2
02は、MPUIにより設定されたリセットレベル設定
回路231の内容を読取る。
MPtJl identifies the abnormal level according to the contents of the abnormality detection circuit 221, and sets the level data in the reset level setting circuit 231 by the reset level setting means 211. Next, the reset instruction means 212 operates to set the reset instruction circuit 241. Reset instruction circuit 24
When set to 1, its output becomes a reset input signal to the reset terminal of MPU2. The MPU 2 thereby stops its operation, and when the reset is released, processing is thereafter performed by each means 201 to 203 similar to the MPU (10) in FIG. At that time, reset level reading means 2
02 reads the contents of the reset level setting circuit 231 set by the MPUI.

なお、MPUIに障害が発生した場合は、異常検出回路
220に異常信号が決定され、MPLI2によりリセッ
トレベル設定回路230にレベルが設定され、リセ・ノ
ド指示回路240にリセット指示がセントされることに
なる。
Note that when a failure occurs in the MPUI, an abnormality signal is determined in the abnormality detection circuit 220, a level is set in the reset level setting circuit 230 by the MPLI 2, and a reset instruction is sent to the recess/node instruction circuit 240. Become.

[実施例] 第3図は発明lの実施例構成図、第4図は実施例の処理
フロー図、第5図はリセット制御回路の構成例を示す図
、第6図は発明2の実施例構成図、第7図は相手MPU
の処理フロー図である。
[Example] Fig. 3 is a configuration diagram of an embodiment of invention 1, Fig. 4 is a processing flow diagram of the embodiment, Fig. 5 is a diagram showing a configuration example of a reset control circuit, and Fig. 6 is an embodiment of invention 2. Configuration diagram, Figure 7 is the partner MPU
FIG. 2 is a processing flow diagram.

第3図において、30はMPU (マイクロプロセッサ
)、31はMPUのリセット制御回路、32はMPUの
異常検出回路、33はリセットレベルレジスタ、36は
インクフェース(IFで表示)、37は制御対象である
電子機器を表す。
In Fig. 3, 30 is an MPU (microprocessor), 31 is an MPU reset control circuit, 32 is an MPU abnormality detection circuit, 33 is a reset level register, 36 is an ink face (indicated by IF), and 37 is a control target. Represents a certain electronic device.

第3図の実施例の動作を第4図に示す処理フロー図を参
照しながら説明する。
The operation of the embodiment shown in FIG. 3 will be explained with reference to the processing flow diagram shown in FIG.

第3図のMPU30において、内部回路の何れかで異常
が発生すると、対応する異常状態を表す出力がMPUの
異常検出回路32に入力される。
In the MPU 30 of FIG. 3, when an abnormality occurs in any of the internal circuits, an output representing the corresponding abnormal state is input to the abnormality detection circuit 32 of the MPU.

MPUの異常検出回路32はその異常入力に対応する信
号をMPUのリセット制御回路31に出力する。
The abnormality detection circuit 32 of the MPU outputs a signal corresponding to the abnormal input to the reset control circuit 31 of the MPU.

MPUリセット制御回路31はその信号を受は取ると、
リセットレベルを識別して、識別結果に応じてリセット
レベル(1〜k)の1つの出力線を“1”にしてリセッ
トレベルレジスタ33にセットする。次いで、MPUの
リセット制御回路31はリセット信号をMPU30に出
力する。 第4図において、MPU30はリセット信号
が入力されてす七ノド状態(停止状態)になった後、リ
セット解除される(ステップ41)。すると直ちにリセ
ットレベルにジャンプする(ステップ42)。このリセ
ットレベルはメモリの予め設定されたアドレス(通常F
FFE()l)〜FFFF(II):(H)は16進数
を表す)である。
When the MPU reset control circuit 31 receives the signal,
The reset level is identified, and one output line of the reset levels (1 to k) is set to "1" in the reset level register 33 according to the identification result. Next, the MPU reset control circuit 31 outputs a reset signal to the MPU 30. In FIG. 4, the reset signal is input to the MPU 30 and the MPU 30 enters the seven-step state (stopped state), and then the reset is released (step 41). Then, it immediately jumps to the reset level (step 42). This reset level is set at a preset address in memory (usually F
FFE()l) to FFFF(II): (H) represents a hexadecimal number).

次にこのリセットレベルのアドレスの命令をアクセスす
ると(ステ・ンブ43)、そこにリセ・ントレベルレジ
スタ33をリードする命令が格納されており、その命令
を実行する(ステップ44)。
Next, when the instruction at this reset level address is accessed (step 43), an instruction to read the reset level register 33 is stored there, and that instruction is executed (step 44).

リードされた内容によりテーブル(図示されない)を参
照すると、テーブルにはリセットレベルに対応じて分岐
先のアドレスが格納されており、リードされたリセット
レベルに対応したアドレスが出力される(ステップ45
)。次にそのテーブルから得られたアドレスに分岐して
プログラムを実行する(ステップ46)。
When a table (not shown) is referred to based on the read contents, branch destination addresses corresponding to the reset level are stored in the table, and the address corresponding to the read reset level is output (step 45).
). Next, the program branches to the address obtained from the table and executes the program (step 46).

この分岐先は、プログラムのルーチンが第4図に示すよ
うにイニシアルルーチン471がら通常ルーチンA47
2乃至通常ルーチンc474まで存在して、イニシアル
ルーチンの後は通常ルーチンA−Cがループとなって実
行している例をとると、レベルに応じてイニシアルルー
チンの先頭(リセット状態になる前のRAM、  レジ
スタなどの全てをクリアする)に分岐する場合や、通常
ルーチンA、B、C(リセット状態になる前の状態が一
部または全部保存される)に分岐することになる。
As shown in FIG. 4, the branch destination is the initial routine 471 and the normal routine A47.
If we take an example in which there are routines 2 to c474 and normal routines A to C are executed in a loop after the initial routine, the beginning of the initial routine (RAM before entering the reset state) , to clear all registers, etc.), or to normal routines A, B, and C (in which part or all of the state before entering the reset state is saved).

第5図は、第3図のMPUのリセット制御回路(31)
の構成例を示し、その動作を説明すると。
Figure 5 shows the reset control circuit (31) of the MPU in Figure 3.
I will show an example of the configuration and explain its operation.

MPUの異常検出回路(第3図32)に接続された異常
信号線の中の1つの異常信号出力は、オア回路52を通
ってフリップフロップ回路50にセットされる。一方、
異常検出回路から入力した信号はレベルが識別され、本
例ではハードウェア的に識別され、オア回路53は異常
検出回路の信号線1または信号NiA2からの信号が入
力するとレベルlの出力を発生し、リセットレベルレジ
スタ33に入力する。
An abnormal signal output from one of the abnormal signal lines connected to the abnormality detection circuit (FIG. 3, 32) of the MPU is set to the flip-flop circuit 50 through an OR circuit 52. on the other hand,
The level of the signal input from the abnormality detection circuit is identified, and in this example, it is identified by hardware, and the OR circuit 53 generates an output of level l when a signal from the signal line 1 or signal NiA2 of the abnormality detection circuit is input. , is input to the reset level register 33.

他の異常検出回路からの人力線も対応するレベル信号に
変換されリセットレベルレジスタに出力される。フリッ
プフロップ回路50にセントされた信号はタイミング信
号人力が与えられるとアンド回路51から出力されMP
Uリセント信号としてMPUに供給される。
Human power lines from other abnormality detection circuits are also converted into corresponding level signals and output to the reset level register. The signal sent to the flip-flop circuit 50 is outputted from the AND circuit 51 when a timing signal is applied to the MP.
It is supplied to the MPU as a U recent signal.

発明2の実施例構成図を第6図により説明する。A configuration diagram of an embodiment of invention 2 will be explained with reference to FIG.

第6図において60.61はそれぞれMPUI。In FIG. 6, 60 and 61 are MPUI, respectively.

MPU2.630,631はレジスタ、640゜641
は各MPU1.2の異常検出回路、650゜651はリ
セット信号を発生するフリップフロップ回路(以下リセ
ットF、F、という)、660゜661はリセットレベ
ルレジスタを表す。この第6図の構成は、MPUIとM
PU2のそれぞれが別の電子機器の制御を行うものであ
り、異常信号の発生時のリセットの制御を相互に実行す
る構成を備えている。
MPU2.630,631 are registers, 640°641
650.degree. 651 is a flip-flop circuit that generates a reset signal (hereinafter referred to as reset F, F), and 660.degree. 661 is a reset level register. The configuration shown in Figure 6 consists of MPUI and M
Each of the PUs 2 controls another electronic device, and is configured to mutually execute reset control when an abnormal signal occurs.

第6図の動作を第7図の相手MPUの処理フロー図を参
照しながら説明する。
The operation shown in FIG. 6 will be explained with reference to the process flow diagram of the partner MPU shown in FIG.

MPU2から異常信号が発生すると、MPU2の異常検
出回路640に異常信号が入力し、その出力はレジスタ
630にセットされる。
When an abnormal signal is generated from the MPU 2, the abnormal signal is input to the abnormality detection circuit 640 of the MPU 2, and its output is set in the register 630.

ここで、MPUIでは第7図のような処理を実行してお
り、レジスタ630を読取ってデータが有るかどうかを
判別し、ある場合はそのデータにより異常レベルを識別
する(ステップ72)。次に、識別したレベルデータを
リセノトレベルレジスク660にセットする(ステップ
73)。その後、リセットF、F、650をセットする
(ステップ74)。
Here, the MPUI executes the process shown in FIG. 7, reads the register 630 to determine whether there is data, and if so, identifies the abnormality level based on the data (step 72). Next, the identified level data is set in the recessed level register 660 (step 73). Thereafter, reset F, F, 650 is set (step 74).

MPUIのリセットF、F、650のセントによりリセ
ット信号が第6図に示すようにMPU2のリセット端子
に入力すると、MPU2は第4図に示す処理を実行し、
リセット解除後にリセットレベルレジスタ660の内容
をリードしてレベルに対応するアドレスに分岐する。
When a reset signal is input to the reset terminal of the MPU2 as shown in FIG. 6 by reset F, F, and 650 cents of the MPUI, the MPU2 executes the process shown in FIG.
After the reset is released, the contents of the reset level register 660 are read and branched to the address corresponding to the level.

第6図のMPUIとMPU2はそれぞれ電子機器につい
て独立した制御を実行し、異常信号の発生時には互いに
リセット制御の動作を行うものである。従って、第4図
および第7図に示す処理フa−を実行する機能を備えて
いる。
The MPUI and MPU2 in FIG. 6 each execute independent control of the electronic equipment, and mutually perform reset control operations when an abnormal signal occurs. Therefore, it has the function of executing the process a shown in FIGS. 4 and 7.

[発明の効果] 本発明によれば、処理装置(マイクロプロセッサ)はリ
セット後の処理を的確に判断できリセットレベルによっ
て動作状態を保持したまま処理装置の異常状態から通常
の動作状態に復帰することができ、制御対象である電子
機器をダウンさせることなく通常動作に戻すことができ
、信頼性を向上することができる。
[Effects of the Invention] According to the present invention, the processing device (microprocessor) can accurately determine the processing after being reset, and the reset level allows the processing device to return to the normal operating state from an abnormal state while maintaining the operating state. It is possible to return to normal operation without shutting down the electronic device being controlled, and improve reliability.

また、発明2によれば、上記の効果の他に、処理装置が
互いに監視することにより、異常状態の程度をより細分
化して判断する処理を効率的に実行でき、高い信頼性を
実現することができる。
Further, according to invention 2, in addition to the above-mentioned effects, by mutually monitoring the processing devices, it is possible to efficiently execute processing for determining the degree of abnormality in more detailed manner, thereby achieving high reliability. Can be done.

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

第1図は発明lの原理的構成図、第2図は発明2の原理
的構成図、第3図は発明1の実施例構成図、第4図は実
施例の処理フロー図、第5図はリセット制御回路の構成
図、第6図は発明2の実施例構成図、第7図は相手MP
Uの処理フロー図である。 第1図中、 10:MPU ll:リセット制御回路 12:MPU異常検出回路 13:リセットレベル設定回路 101 : IJ上セツトベルアクセス手段102:リ
セットレベル読取手段 103;実行アドレス設定手段 特許出願人   冨士通株式会社 復代理人弁理士  穂坂 和雄 リでット剥脣紳匡■令Q44〜図 $ 5 図 卆8呼MPUつた理フロー図。 茶 7 口
Fig. 1 is a diagram of the principle configuration of invention 1, Fig. 2 is a diagram of the principle configuration of invention 2, Fig. 3 is a diagram of the embodiment of invention 1, Fig. 4 is a processing flow diagram of the embodiment, and Fig. 5 6 is a configuration diagram of the reset control circuit, FIG. 6 is a configuration diagram of an embodiment of invention 2, and FIG. 7 is a diagram of the counterpart MP.
It is a processing flow diagram of U. In Figure 1, 10: MPU 11: Reset control circuit 12: MPU abnormality detection circuit 13: Reset level setting circuit 101: IJ upper set level access means 102: Reset level reading means 103; Execution address setting means Patent applicant: Fujitsu Kazuo Hosaka, Patent Attorney Sub-Agent, Co., Ltd., Rieditto, Genma, Q44 - Diagram $ 5 Diagram 8 MPU flow diagram. 7 cups of tea

Claims (2)

【特許請求の範囲】[Claims] (1)マイクロプロセッサを用いて制御を行う電子機器
におけるマイクロプロセッサのリセット処理方法におい
て、 リセットを実行すべき異常状態を表す信号の発生に応じ
て各信号に対して割当てられたリセットレベル情報をリ
セットレベル設定回路(13)に設定し、続いてリセッ
ト信号をマイクロプロセッサに出力するリセット制御回
路(11)を備え、マイクロプロセッサはリセットレベ
ルアクセス手段(101)によりリセットレベルアドレ
スにアクセスし、リセットレベル読取手段(102)に
よりリセットレベルを読取り、実行アドレス設定手段(
103)により読取ったリセットレベルに応じて分岐先
アドレスが設定されることを特徴とするマイクロプロセ
ッサのリセット処理方法。
(1) In a microprocessor reset processing method for electronic equipment controlled using a microprocessor, reset level information assigned to each signal is reset in response to the occurrence of a signal representing an abnormal state that requires a reset. It is equipped with a reset control circuit (11) that sets the level setting circuit (13) and then outputs a reset signal to the microprocessor, and the microprocessor accesses the reset level address by the reset level access means (101) and reads the reset level. The reset level is read by the means (102), and the execution address setting means (
A microprocessor reset processing method characterized in that a branch destination address is set according to a reset level read by 103).
(2)マイクロプロセッサを用いて制御を行う電子機器
におけるマイクロプロセッサのリセット処理方法であっ
て、 それぞれが電子機器の制御を行うマイクロプロセッサを
2つ備え、 各マイクロプロセッサはリセットを実行すべき異常状態
を表す信号が発生すると信号を保持する異常検出回路(
220、221)を備え、 一方のマイクロプロセッサは他のマイクロプロセッサか
らの異常信号を異常検出回路(221)により検出する
と対応する異常レベルを識別してリセットレベル設定手
段(211)によりリセットレベルを設定するとともに
リセット指示手段(212)によりリセット指示を行い
、 前記他のマイクロプロセッサはリセットレベルアクセス
手段(201)によりリセットレベルアドレスにアクセ
スし、リセットレベル読取手段(202)によりリセッ
トレベルを読取り、実行アドレス設定手段(203)に
より読取ったリセットレベルに応じて分岐先アドレスが
設定されることを特徴とするマイクロプロセッサのリセ
ット処理方法。
(2) A method for resetting a microprocessor in an electronic device controlled using a microprocessor, wherein each microprocessor is provided with two microprocessors that control the electronic device, and each microprocessor is in an abnormal state in which it should be reset. An abnormality detection circuit that holds the signal when it occurs (
220, 221), when one microprocessor detects an abnormal signal from the other microprocessor by an abnormality detection circuit (221), it identifies the corresponding abnormal level and sets a reset level by a reset level setting means (211). At the same time, the reset instruction means (212) issues a reset instruction, and the other microprocessor accesses the reset level address using the reset level access means (201), reads the reset level using the reset level reading means (202), and reads the execution address. A microprocessor reset processing method, characterized in that a branch destination address is set according to a reset level read by a setting means (203).
JP63321290A 1988-12-20 1988-12-20 Reset processing method for microprocessor Expired - Lifetime JPH0782407B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP63321290A JPH0782407B2 (en) 1988-12-20 1988-12-20 Reset processing method for microprocessor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP63321290A JPH0782407B2 (en) 1988-12-20 1988-12-20 Reset processing method for microprocessor

Publications (2)

Publication Number Publication Date
JPH02165310A true JPH02165310A (en) 1990-06-26
JPH0782407B2 JPH0782407B2 (en) 1995-09-06

Family

ID=18130917

Family Applications (1)

Application Number Title Priority Date Filing Date
JP63321290A Expired - Lifetime JPH0782407B2 (en) 1988-12-20 1988-12-20 Reset processing method for microprocessor

Country Status (1)

Country Link
JP (1) JPH0782407B2 (en)

Also Published As

Publication number Publication date
JPH0782407B2 (en) 1995-09-06

Similar Documents

Publication Publication Date Title
NO170113B (en) CONTROL LOGIC FOR PARITY INTEGRITY
JPH02224140A (en) Interruption testing device
JPH04220744A (en) Function testing method of cache tag ram in limited access processor system
JPH02165310A (en) Method for processing reset of microprocessor
US7194401B2 (en) Configuration for in-circuit emulation of a program-controlled unit
KR940001558B1 (en) Processor board state checking apparatus
JP2765659B2 (en) Self-test method for data processing equipment
JPS5911452A (en) Test system of parity check circuit
JP2502185B2 (en) Processor
JPH0652013A (en) Tracing circuit
JPH05224999A (en) Runaway processor
JP3019336B2 (en) Microprocessor development support equipment
JPS59133654A (en) Program debugging device
JPS60101649A (en) Diagnosis device of electronic computer
CN112052132A (en) Method, device, equipment and medium for debugging plug-in chip through SDIO interface
JPH04107670A (en) Microprocessor system
JPH01321539A (en) Circuit for checking connecting state of bus connector
JPS62241041A (en) Information processor
JPH0553934A (en) Bus line monitoring system
JPS59226950A (en) Information processor
JPS648381B2 (en)
JPS5917465B2 (en) Check device
JPS61131128A (en) Self-diagnosis system
JPH01232454A (en) Test system for address bus
JPH01187660A (en) Interface diagnosing system for peripheral equipment