JPS62241042A - Fault processing system for microprogram control - Google Patents

Fault processing system for microprogram control

Info

Publication number
JPS62241042A
JPS62241042A JP61083552A JP8355286A JPS62241042A JP S62241042 A JPS62241042 A JP S62241042A JP 61083552 A JP61083552 A JP 61083552A JP 8355286 A JP8355286 A JP 8355286A JP S62241042 A JPS62241042 A JP S62241042A
Authority
JP
Japan
Prior art keywords
ram
microprogram
fault
information
circuit
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
JP61083552A
Other languages
Japanese (ja)
Inventor
Masaaki Chinju
鎮守 正昭
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 JP61083552A priority Critical patent/JPS62241042A/en
Publication of JPS62241042A publication Critical patent/JPS62241042A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To search the contents of such a fault that makes it impossible to read a 1st RAM out of an external device, by using a state control circuit as well as a 2nd RAM which stores the fault information on the 1st RAM in an initialization mode. CONSTITUTION:A reset control circuit 10 reads out the contents of a state control circuit 11 to decide a fault state in response to an external initialization indication. If the abnormality of a microprogram itself is detected, a CPU 1 writes data and the control information to the fault areas following an address X of the 1st RAM 3 and at the same time stores the abnormality also in the circuit 11. In a reloading mode, the circuit 10 reads the state information cut of the circuit 11 and activates initialization signals 31-33. While the CPU 1 shifts the data on those areas following the address X of the RAM 3 to the 2nd RAM 4 by the instruction of the circuit 10. Thus the contents of the fault can be searched and analyzed via the RAM 4 since the fault information on the RAM 3 is loaded after it is shifted to the RAM 4 when the microprogram is loaded again.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はマ・イクロプログラム制御の障害処理方式に関
する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a fault handling method for microprogram control.

〔従来の技術〕[Conventional technology]

従来マイクロプログラム制御による論理装置診断制御回
路は、他の制御回路の障害情報の解析及び状態管理を行
っており、他の制御回路が障害時には障害状態を外部に
知らせ、外部からの5CAN命令によって障害となった
制御回路をアクセスすることにより障害内容を出力し、
障害探索を行なっていた。
Conventionally, logic device diagnostic control circuits based on microprogram control analyze fault information and manage the status of other control circuits, and when other control circuits fail, they notify the outside of the fault status and detect the fault using a 5CAN command from the outside. Outputs the details of the fault by accessing the control circuit that has become
I was searching for obstacles.

しかし、マイクロプログラム制御自身に異常を検出した
場合は従来のマイクロプログラム制御の障害処理方式に
おいては、異常を検出までのトレース情報としてマイク
ロプログラムの格納されているランダムアクセスメモリ
(以下RAMといっ)−1−の特定の番地(以下X番地
とする)以降に7’ [?グラムカウンタのスタックエ
リア情報及び障害時のステータスレジスタ情報及び制御
情報を格i’+’+ L−1外部装置からRA M内を
読み出すことによドア)障害を解析していた。
However, when an abnormality is detected in the microprogram control itself, in the conventional fault handling method of microprogram control, trace information up to the detection of the abnormality is stored in the random access memory (hereinafter referred to as RAM) in which the microprogram is stored. 7' [? The fault was analyzed by reading out the stack area information of the gram counter, the status register information at the time of the fault, and the control information in the RAM from an external device.

!光明が解決しようとする問題点、1 ト述のように従来のマイクロプログラム制御のli ’
h処理方式では自マイクロプログラム制御に異常発生し
た場きは、その障害の1−レース情報をRA3.1内に
格納しているがマイクロプログラムがスト−ル状態等で
RA M内を読み出してトレース情報を外部装置に供給
できないときにはトレース情報を読み出さないままイニ
シャライズを行っており、IIa書探索が行なえないと
いう問題点がありノ、二4 外部′A置から1−レース情報を読み出す過程には、R
,M A内のトレース情報を読出す機能と、読、・鷺出
1−た内容を外部に出力する機能とがあるが、一般には
後者の機能障害が多い。
! Problems that Komei is trying to solve: 1. As mentioned above, conventional microprogram control
In the h processing method, when an abnormality occurs in the control of the own microprogram, the 1-race information of the failure is stored in RA3.1, but if the microprogram is in a stalled state, etc., the RAM is read out and traced. When the information cannot be supplied to the external device, initialization is performed without reading the trace information, and there is a problem that the IIa book search cannot be performed. R
There are two functions: a function to read the trace information in the .MA, and a function to output the read contents to the outside, but the latter function is generally more likely to be malfunctioning.

本発明の目的は後者の機能障害でもトレース情報を外部
に出力出来障害探索が行なえるマイ′り0フ゛ログラム
制御の障害処理方式を提供ず−ることにある。
It is an object of the present invention to provide a fault handling method for my-zero program control that can output trace information to the outside and search for faults even in the case of the latter functional fault.

〔問題点を解決するだめの手段〕[Failure to solve the problem]

本発明の方式は、マイクロプログラム自身の障害時に前
記障害の探索に必要なトレース情報を前記マイクロプロ
グラムを格納し°Cいる第1の記憶部に収納し外部から
前記収納されたトレース情報を読み出し障害探索を行な
うマイクロプログラム制御の障害処理方式において、情
報を格納する第2の記憶部と、前記マイクロプログラム
自身の障害であることを記憶する状態記憶手段と、外部
からのイニシャライズ指示に応答して前記状態記憶手段
を調べ前記マイクロプログラム自身の障害であるときに
は前記第1の記憶部に収納されている1−レース情報を
前記第2の記憶部に移送した後前記マイクロプログラム
を前記第1の記憶部へ再ロードする初期化手段とを含ん
で構成される。
The system of the present invention stores trace information necessary for searching for the failure in the case of a failure in the microprogram itself in a first storage unit that stores the microprogram, and reads out the stored trace information from the outside to detect the failure. In a fault handling method controlled by a microprogram that performs a search, a second storage section stores information, a state storage means stores information indicating that the fault is in the microprogram itself, and a state storage means stores the fault in the microprogram itself in response to an initialization instruction from the outside. The status storage means is checked, and if the fault is in the microprogram itself, the 1-race information stored in the first storage section is transferred to the second storage section, and then the microprogram is transferred to the first storage section. and initialization means for reloading the file.

〔実施1]] 次に、本発明の実施例について図面を参照して説明する
[Embodiment 1] Next, an embodiment of the present invention will be described with reference to the drawings.

第1図は本発明の一実施例を示すブロック図で、bる。FIG. 1 is a block diagram showing one embodiment of the present invention.

1はマイクロプログラムを制御するマイクロプロセッサ
−(以下CPUと呼ぶ)であり、2はマイクロプログラ
ムをロードするイニシャライズ用の読出し専用メモリ(
以下ROMという)である。3はマイクロプログラムを
格納する制御用のR,AM、4はマイクロプログラム制
御が外部よりイニシA・ライズ指示を受けた場合にRA
 M 3のX番地以降の障害情報を格納するRAMであ
る。5は入出力制御アダプタで、6はマイクロプログラ
ムが記憶されている外部の記憶媒体を示す。10はリセ
ット制御回路部で外部からの電源投入及びマスクリセッ
ト命令等のイニシャライズ指示により初期化信号30,
31,32.33を活性化する回路である。35はRA
M3からRAM4へX番地以降のデータを移行させる信
号である。11は状態制御回路でR,AM3より転送さ
れる自マイク1コブログラムの異常状態を記憶している
回路である。20.21はアドレスバス、データバスで
ある。
1 is a microprocessor (hereinafter referred to as CPU) that controls the microprogram, and 2 is a read-only memory (hereinafter referred to as CPU) for initializing the microprogram.
(hereinafter referred to as ROM). 3 is R and AM for control that stores the microprogram, and 4 is RA when the microprogram control receives an initial A/rise instruction from the outside.
This is a RAM that stores failure information starting from address X of M3. 5 is an input/output control adapter, and 6 is an external storage medium in which a microprogram is stored. Reference numeral 10 denotes a reset control circuit unit which outputs initialization signals 30,
This is a circuit that activates 31, 32, and 33. 35 is RA
This is a signal for transferring data from address X onward from M3 to RAM4. Reference numeral 11 denotes a state control circuit that stores the abnormal state of the own microphone 1 coprogram that is transferred from R and AM3. 20.21 is an address bus and a data bus.

本実施例の動作について説明する。The operation of this embodiment will be explained.

外部から電源投入指示またはマスクリセット命令等のイ
ニシャライズ指示を受けるとリセット制御回路10で状
態制御回路11の内容を読み出し障害状態かどうか判断
する。もし障害状態でなければ初期化信号30.31と
32とを活性化する。CPUIはROM2を0番地より
スタートさせ、ROM2に格納されているロードプログ
ラムにより入出力アダプタ5が起動され外部の記憶媒体
6に格納されているRAM4を読出す機能を含むマイク
ロプログラムがRAM3ヘロードされロード終了後RA
M3に制御を移行してRAM3によるマイクロプログラ
ム制御を行う。
When a power-on instruction or an initialization instruction such as a mask reset instruction is received from the outside, the reset control circuit 10 reads the contents of the state control circuit 11 and determines whether there is a failure state. If there is no failure state, initialization signals 30, 31 and 32 are activated. The CPU starts the ROM2 from address 0, starts the input/output adapter 5 by the load program stored in the ROM2, and loads the microprogram including the function of reading the RAM4 stored in the external storage medium 6 into the RAM3. RA after completion
Control is transferred to M3 and microprogram control is performed by RAM3.

マイクロプログラム自身に異常を検出した場合、CPU
1はプログラムカウンタのスタックエリアのデータ及び
、他の制御レジスタの情報をRAMB上のX番地以降の
障害情報エリアへ書き込むとともに、状態制御回路11
へもマイクロブロダラム自身の異常であることを記憶さ
せる。
If an abnormality is detected in the microprogram itself, the CPU
1 writes data in the stack area of the program counter and information in other control registers to the fault information area starting from address
It also makes me remember that there is an abnormality in the microbroderum itself.

ついで、外部からのイニシャライズ指示によりマイクロ
プログラムを再ロードする。この場合イニシャライズ指
示を受けたリセット制御回路10は状態制御回路11よ
り状態情報を読み出し障害状態であることを認識し初期
化信号31.32に加え33をも活性化する。その場合
CPULへは初期化信号30とともにRAM3からRA
M4へ移行させる指示35を出力する。該信号を受けた
CPU1はRAM3上のX番地以降の障害情報エリアの
データをRAM4に移行するプログラムをRAM3から
読出してアドレスバス、データバスを用いてデータをR
AM3からRAM4へ移行させ、しかるのちにROM2
をO番地よりスタートさせる。これによりマイクロプロ
グラムの再ロード時にはRAM3のX番地以降の障害情
報をRAM4へ移行してからマイクロプログラムをロー
ドすることとなり新たにロードされた障害のないマイク
ロプログラムによりRAM4から障害情報を読みだして
マイクロプログラム身の障害時の障害の探索を行なうこ
とができる。
Then, the microprogram is reloaded by an external initialization instruction. In this case, the reset control circuit 10 that has received the initialization instruction reads the state information from the state control circuit 11, recognizes that there is a failure state, and activates the initialization signals 31 and 33 in addition to 32. In that case, the initialization signal 30 is sent to the CPU from RAM3 to RA.
An instruction 35 to move to M4 is output. Upon receiving this signal, the CPU 1 reads a program from RAM 3 to transfer the data in the fault information area from address
Move from AM3 to RAM4, then ROM2
Start from address O. As a result, when reloading a microprogram, the fault information from address It is possible to search for failures when the program itself fails.

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

以上説明しなように本発明にはマイクロプログラムの格
納されている第一のRAM内の障害情報を第二のRAM
にイニシャライズ時に移行することにより他の外部装置
から第一のRAMを読み出せないような障害発生時に第
一のRAM内のマイクロプログラムが第二のYtAM内
を読み出すことによって該障害の内容を知り解析が可能
となるという効果がある。
As explained above, in the present invention, the failure information in the first RAM in which the microprogram is stored is transferred to the second RAM.
When a failure occurs such as when the first RAM cannot be read from another external device, the microprogram in the first RAM reads the contents of the second YtAM to know and analyze the contents of the failure. This has the effect of making it possible.

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

第1図は本発明の一実施例を示すブロック図である。 l・・・cpu、2・・・ROM、3.4・・・RAM
、5・・・入出力制御アダプタ、6・・・記憶媒体、1
0・・・リセット制御回路、11・・・状態制御回路。
FIG. 1 is a block diagram showing one embodiment of the present invention. l...cpu, 2...ROM, 3.4...RAM
, 5... input/output control adapter, 6... storage medium, 1
0...Reset control circuit, 11...State control circuit.

Claims (1)

【特許請求の範囲】 マイクロプログラム自身の障害時に前記障害の探索に必
要なトレース情報を前記マイクロプログラムを格納して
いる第1の記憶部に収納し外部から前記収納されたトレ
ース情報を読み出し障害探索を行なうマイクロプログラ
ム制御の障害処理方式において、 情報を格納する第2の記憶部と、 前記マイクロプログラム自身の障害であることを記憶す
る状態記憶手段と、 外部からのイニシャライズ指示に応答して前記状態記憶
手段を調べ前記マイクロプログラム自身の障害であると
きには前記第1の記憶部に収納されているトレース情報
を前記第2の記憶部に移送した後前記マイクロプログラ
ムを前記第1の記憶部へ再ロードする初期化手段とを含
むことを特徴とするマイクロプログラム制御の障害処理
方式。
[Scope of Claims] When the microprogram itself has a failure, trace information necessary for searching for the failure is stored in a first storage unit storing the microprogram, and the stored trace information is read from the outside to search for the failure. A microprogram-controlled fault handling method that performs the following: a second storage section for storing information; a state storage means for storing that the fault is in the microprogram itself; Checking the storage means and if the fault is in the microprogram itself, transferring the trace information stored in the first storage to the second storage, and then reloading the microprogram to the first storage. 1. A microprogram-controlled fault handling method, characterized in that it includes initialization means for:
JP61083552A 1986-04-11 1986-04-11 Fault processing system for microprogram control Pending JPS62241042A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP61083552A JPS62241042A (en) 1986-04-11 1986-04-11 Fault processing system for microprogram control

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP61083552A JPS62241042A (en) 1986-04-11 1986-04-11 Fault processing system for microprogram control

Publications (1)

Publication Number Publication Date
JPS62241042A true JPS62241042A (en) 1987-10-21

Family

ID=13805672

Family Applications (1)

Application Number Title Priority Date Filing Date
JP61083552A Pending JPS62241042A (en) 1986-04-11 1986-04-11 Fault processing system for microprogram control

Country Status (1)

Country Link
JP (1) JPS62241042A (en)

Similar Documents

Publication Publication Date Title
US4127768A (en) Data processing system self-test enabling technique
US6862645B2 (en) Computer system
JPH02156357A (en) Program destruction preventing method
JPS62241042A (en) Fault processing system for microprogram control
JPS6025624Y2 (en) Equipment for information processing equipment development
CN113535494B (en) Equipment debugging method and electronic equipment
JPH0317760A (en) Data write confirming system
CA2128595C (en) Shared memory with benign failure modes
JP2003288215A (en) Information processing apparatus
JP2527964B2 (en) Backup system initial startup control method
JPS61195444A (en) Computer system
JP2000353109A (en) Emulator and emulation system
JP3060376U (en) Memory device
JPH06103220A (en) Data processing system
JP2531112B2 (en) Information processing device
JPS62166451A (en) History analyzing device for logical unit
JPS61213938A (en) Generation system for address coincidence signal
JPS6130296B2 (en)
JPS6316338A (en) Microprogram control system
JPS62241041A (en) Information processor
JPS6158049A (en) Error detection
JPH03211619A (en) Data processor
JPH06149609A (en) Diagnostic system for electronic computer
JPS62166449A (en) History storage device for logical unit
JPS60201437A (en) Microprocessor