JPS61262951A - Fault recovery system for microprogram memory by service processor - Google Patents

Fault recovery system for microprogram memory by service processor

Info

Publication number
JPS61262951A
JPS61262951A JP60103933A JP10393385A JPS61262951A JP S61262951 A JPS61262951 A JP S61262951A JP 60103933 A JP60103933 A JP 60103933A JP 10393385 A JP10393385 A JP 10393385A JP S61262951 A JPS61262951 A JP S61262951A
Authority
JP
Japan
Prior art keywords
register
address
microprogram
command
service processor
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
JP60103933A
Other languages
Japanese (ja)
Inventor
Toshikatsu Nagasawa
長澤 敏勝
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 JP60103933A priority Critical patent/JPS61262951A/en
Publication of JPS61262951A publication Critical patent/JPS61262951A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To avoid a system breakdown state due to the incapability of fault recovery of a control memory by using a device processor for the correction of the fault of the control memory. CONSTITUTION:When a parity check circuit 14 detects a parity check error, an R-SFF 15 is set through a signal line 105. Thus gates 16-18 are closed to suppress a replacement. At the same time, the trouble of a control memory 12 is informed to a service processor 2 through a communication control line 107. The processor 2 reads out the values of a CM register 10, a CM address register 11 and a CM address history register 13 via a scan bus 108 and checks te fault generating address of the memory 12 from the value of the register 11 to write the correct value of a microprogram command to a service processor maintenance area on the memory 12. While the address branching out to the fault generating address is checked from the value of the register 13 for the correction of the branch field of the microprogram command. Then the corrected field is branched out to the device processor maintenance area and written to the present address of the memory 12.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明は、マイクロプログラムメモリ(一般には制御メ
モリと呼ばれる)の障害回復方式に関し、特にサービス
プロセッサによる制御メモリ(以下、 CMと呼ぶ場合
あり)の障害回復方式〔従来の技術〕 近年、 LSI、VLSIと集積化の進んでいる時代に
おいては、制御メモリに使われるスタティックRAMの
フィツト数は、装置全体のフィツト数に比べて割合が大
きくなりつつある。マイクロプログラム制御装置では、
制御メモリのスタティックRAMのフィツト数の割合が
5割程度の装置もめずらしくなくなった。従って、シス
テムダウンするケースのなかで、スタティックRAMの
破壊による割合が増加する傾向にある。
[Detailed Description of the Invention] [Field of Industrial Application] The present invention relates to a failure recovery method for microprogram memory (generally referred to as control memory), and particularly to control memory (hereinafter sometimes referred to as CM) by a service processor. Failure recovery method [Conventional technology] In recent years, in the era of increasing integration with LSI and VLSI, the number of fits in static RAM used for control memory has been increasing as a proportion of the number of fits in the entire device. be. In a microprogram controller,
It is no longer rare to find devices in which the proportion of static RAM in the control memory is about 50%. Therefore, among the cases where the system goes down, the percentage of static RAM destruction tends to increase.

〔発明が解決しようとする問題点〕[Problem that the invention seeks to solve]

従来、この種の装置は、小型システムではパリティチェ
ックが行なわれていたが、パリティエラーによりシステ
ムダウンにつながっていた。
Conventionally, this type of device has performed a parity check in small systems, but parity errors have led to system downtime.

また中型、大型システムではハミングコードを使い1ビ
ツトエラーを修正していたが、ハードウェアの増加をも
たらした。しかも、制御メモリの2ビツトエラーではシ
ステムダウンになった。そして、システムダウンすると
、保守者が障害パッケージを交換するまで装置は立上が
ら々かった。
In addition, medium-sized and large-sized systems used Hamming codes to correct single-bit errors, but this resulted in an increase in hardware. Moreover, a 2-bit error in the control memory caused the system to go down. When the system went down, the equipment would not start up until a maintenance person replaced the faulty package.

本発明の目的は、制御メモlJ[障害回復不能エラーが
発生した場合(例えばパリティチェックは1ビツトエラ
ー、  ECCは2ビツトエラーが発生した場合)、す
・−ビスプロセッサにより障害発生したマイクロプログ
ラムコマンドを制御メモリの保守エリアに書込み、前記
マイクロプログラムコマンドに分岐するマイクロプログ
ラムコマンドを分岐先アドレスを修正して制御メモリに
書込むことにより、上記欠点を解決して制御メモリの障
害回復不能によるシステムダウンをさける方式を提供す
ることにある。
The object of the present invention is to control the faulty microprogram command by the control memory processor when an unrecoverable error occurs (for example, a 1-bit error in parity check or a 2-bit error in ECC). By writing to the maintenance area of the memory, modifying the branch destination address of the microprogram command that branches to the microprogram command, and writing it to the control memory, the above-mentioned drawbacks are solved and system down due to unrecoverable failure of the control memory is avoided. The purpose is to provide a method.

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

本発明は、サービスプロセッサを有したマイクロプログ
ラム制御装置において、前記サービスプロセソザ保守エ
リアを持った制御メモリと。
The present invention provides a microprogram control device having a service processor, and a control memory having a service processor maintenance area.

該制御メモリのアドレスレジスタと、1つ以上の制御メ
モリアドレスの履歴を保持するアドレス履歴レジスタと
、前記アドレスレジスタによって示された制御メモリの
出力を格納するマイクロフログラムコマンドレジスタと
、該レジスタに格納されたマイクロプログラムコマンド
の障害検出を行なう障害検出回路と、該障害検出回路で
障害が検出されるとセットされるフリップフロップと、
該フリップフロップがセットされると前記制御メモリア
ドレスレジスタと前記アドレス履歴レジスタと前記制御
メモリコマンドレジスタの更新を抑止する手段と、前記
サービスプロセッサに障害発生を通知する通信手段とを
有し、該通信手段の信号によりサービスプロセッサは前
記制御メモリアドレスレジスタと前記アドレス履歴レジ
スタと前記制御メモリコマンド用レジスタの内容を読出
すと共に、障害発生したマイクロプログラムコマンドを
避けて制御メモリの保守エリアに前記障害発生したマイ
クロプログラムコマンドと前記障害発生した= 4− マイクロプログラムコマンドに分岐するように修正した
マイクロプログラムコマンドとを書込む制御を行うこと
を特徴とするマイクロプログラムメモリ障害回復方式で
ある。
an address register of the control memory; an address history register that holds a history of one or more control memory addresses; a microphrogram command register that stores the output of the control memory indicated by the address register; a fault detection circuit that detects a fault in a microprogram command; a flip-flop that is set when a fault is detected by the fault detection circuit;
means for inhibiting updating of the control memory address register, the address history register, and the control memory command register when the flip-flop is set; and a communication means for notifying the service processor of the occurrence of a failure; The service processor reads the contents of the control memory address register, the address history register, and the control memory command register in response to a signal from the means, and also reads out the contents of the control memory address register, the address history register, and the control memory command register, and avoids the faulty microprogram command and stores the faulty area in the control memory maintenance area. This is a microprogram memory failure recovery method characterized by performing control to write a microprogram command and a microprogram command modified to branch to the =4-microprogram command in which the failure occurred.

〔実施例〕〔Example〕

次に1本発明の実施例について図面を参照して詳細に説
明する。
Next, one embodiment of the present invention will be described in detail with reference to the drawings.

本発明の第一の実施例を示す第1図において。In FIG. 1 showing a first embodiment of the invention.

本発明の障害回復装置は中央処理装置(以下。The failure recovery device of the present invention is a central processing unit (hereinafter referred to as a central processing unit).

CPUと略称する)1とサービスプロセッサ2とから構
成されている。マイクロプログラム制御装置のアドレシ
ング方式は、 CMレジスタ1oの一部のフィールドに
よって次に実行するマイクロプログラムのアドレスを制
御線100全通して指定する。前記アドレスは、CMア
ドレスレジスタ11にセントされる。CMアドレスレジ
スタ11のアドレス線101 Kより制御メモリ12が
読出され。
It consists of a CPU (abbreviated as "CPU") 1 and a service processor 2. In the addressing system of the microprogram control device, the address of the next microprogram to be executed is specified through the entire control line 100 by some fields of the CM register 1o. The address is written to the CM address register 11. The control memory 12 is read from the address line 101K of the CM address register 11.

次に実行するマイクロプログラムコマンドカテータ線1
02全通してCMレジスタ10にセットされる。また、
以前に実行したマイクロプログラムアドレスがアドレス
線103ヲ通してCMアドレス履歴レジスタ13にセッ
トされる。
Microprogram command cutter line 1 to be executed next
02 is set in the CM register 10 throughout. Also,
The previously executed microprogram address is set in the CM address history register 13 through the address line 103.

パリティチェックのみによって制御メモリの正箔性をチ
ェックしている場合、CMレジスタ10のデータはデー
タ線104ヲ通ってパリティチェック回路14でパリテ
ィチェックが行なわれる。パリティチェックエラーが検
出されると、パリティエラー信号線105全通してR−
Sフリップフロップ15がセットされる。フリップフロ
ップ15が七ノドされることによって即座に制御線10
6によってCMレジスタ川用0Mアドレスレジスタ】1
゜CMアドレス履歴レジスタ13のセットを行なうそれ
ぞれのゲート回路16.ゲート回路17.ゲート回路1
8ヲ閉じて更新を抑止する。また9通信制御1107に
よってサービスプロセ:y ”j 2 VC制御メモリ
の障害“発生を知らせる。
When checking the correctness of the control memory only by a parity check, the data in the CM register 10 passes through the data line 104 and is subjected to a parity check in the parity check circuit 14. When a parity check error is detected, the entire parity error signal line 105 is
S flip-flop 15 is set. As soon as the flip-flop 15 is turned on, the control line 10 becomes
0M address register for CM register by 6]1
゜Each gate circuit 16 for setting the CM address history register 13. Gate circuit 17. Gate circuit 1
Close 8 and prevent updates. In addition, the service process 9 is notified by the communication control 1107 of the occurrence of a ``j2 VC control memory failure''.

サービスプロセッサ2は、直ちにスキャンパス108に
よってCMレジスタ10. CMアドレスレジスタ11
. CMアドレス履歴レジスタ13の値を読出す。CM
アドレスレジスタ11の値より制御メモリの障害発生ア
ドレスを調べ、マイクロプログラムコマンドの正しい値
を制御メモリ上のサービスプロセッサ保守エリアに書込
む。また、 CMアドレス履歴レジスタ13の値より障
害発生アドレスに分岐するアドレスを調ベマイクロプロ
グラムコマンドの分岐フィールドを修正して前記サービ
スプロセッサ保守エリアに分岐するように修正して制御
メモリの現アドレスに書込む。
Service processor 2 immediately scans CM register 10 . CM address register 11
.. Read the value of CM address history register 13. CM
The failure address in the control memory is checked from the value of the address register 11, and the correct value of the microprogram command is written into the service processor maintenance area on the control memory. In addition, the branch field of the check microprogram command is modified so that the address that branches to the failure address is written to the current address of the control memory based on the value of the CM address history register 13, so that the address branches to the service processor maintenance area. It's crowded.

最後に、CMレジスタ10の値はす・−ビスプロセッサ
2のログデータとして定期保守時に交換するICの障害
情報として残しておく。
Finally, the value of the CM register 10 is saved as log data of the bus processor 2 as failure information of the IC to be replaced during regular maintenance.

第2図は、マイクロプログラムコマンドA、B。Figure 2 shows microprogram commands A and B.

Cと順次実行している途中、マイクロプログラムコマン
ドBで障害が発生したためサービスプロセッサによりマ
イクロプログラムを修正したフローである。
This is a flow in which the microprogram was modified by the service processor because a failure occurred in the microprogram command B while it was being executed sequentially.

また、第5図は第2図のケースのタイミングチャートで
ある。0MアドレスレジスタのアドレスAは制御メモリ
のコマンドAとなってCMレジスタにセットされる。C
MレジスタのコマンドAの一部のフィールドによってア
ドレスBが0Mアドレスレジスタにセットされると同時
に、CMアドレス履歴レジスタにアドレスAがセントさ
れる。0MアドレスレジスタのアドレスBによってコマ
ンドBがCMレジスタに読出されるが、パリティエラー
が検出されるためR−8フリツプフロツプがセットされ
、0Mアドレスレジスタ、CMレジスタ、CMアドレス
履歴レジスタの更新が抑止される。
Further, FIG. 5 is a timing chart for the case of FIG. 2. Address A of the 0M address register becomes command A of the control memory and is set in the CM register. C
Address B is set in the 0M address register by some fields of command A in the M register, and at the same time, address A is placed in the CM address history register. Command B is read to the CM register by address B of the 0M address register, but since a parity error is detected, the R-8 flip-flop is set and updates of the 0M address register, CM register, and CM address history register are inhibited. .

最後に、第4図はマイクロプログラムの分岐が制御メモ
リのページ間にまたがるケースを示した制御メモリのマ
ツプ図である。各ページ内にサービスプロセッサの保守
エリアを設け、第4図のようにコマンドBに障害が発生
した場合。
Finally, FIG. 4 is a control memory map diagram showing a case where a microprogram branch spans between pages of the control memory. In the case where a service processor maintenance area is provided in each page and a failure occurs in command B as shown in FIG.

サービスプロセッサが同一ページ内の保守エリアにコマ
ンドBi書込む。このようにすることによりコマンドA
のアドレス修正が楽になるととを示した。” 〔発明の効果〕 本発明には以上説明したように、サービスプロセッサに
よ多制御メモリの障害時の修正を行なうように構成する
ことにより、マイクロプログラム装置のシステムダウン
の可能性を少なくできるという効果がある。
The service processor writes command Bi to the maintenance area within the same page. By doing this, command A
It has been shown that it will be easier to correct addresses. ” [Effects of the Invention] As explained above, the present invention has the advantage that by configuring the service processor to perform correction in the event of a failure in the multi-control memory, the possibility of system failure of the microprogram device can be reduced. effective.

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

第1図は本発明の一実施例を示すブロック図。 第2図はマイクロプログラムのフロー図、第3図は第2
図のマイクロプログラムフローの障害発生時のタイムチ
ャート図、第4図は第2図の制御メモリマツプ図である
。 】・・・中央処理装置、2・・・サービスプロセッサ。 10・・・CMレジスタ、11・・・0Mアドレスレジ
スタ。 12・・・制御メモリ、13・・・CMアドレス履歴レ
ジスタ。 14・・・パリティチェック回路。 15・・・R−Sフリップフロップ。
FIG. 1 is a block diagram showing one embodiment of the present invention. Figure 2 is a flow diagram of the microprogram, Figure 3 is the flow diagram of the microprogram.
FIG. 4 is a time chart when a failure occurs in the microprogram flow shown in FIG. 4, and FIG. 4 is a control memory map diagram of FIG. ]...Central processing unit, 2...Service processor. 10...CM register, 11...0M address register. 12...Control memory, 13...CM address history register. 14...Parity check circuit. 15...R-S flip-flop.

Claims (1)

【特許請求の範囲】[Claims] 1、サービスプロセッサを有したマイクロプログラム制
御装置において、前記サービスプロセッサの保守エリア
を持ったマイクロプログラムの記憶回路と、該記憶回路
のマイクロプログラムアドレスレジスタと、1つ以上の
マイクロプログラムアドレスの履歴を保持するアドレス
履歴レジスタと、前記アドレスレジスタによって示され
た前記記憶回路の出力を格納するマイクロプログラムコ
マンドレジスタと、該コマンドレジスタに格納されたマ
イクロプログラムコマンドの障害検出を行なう障害検出
回路と、該障害検出回路で障害が検出されるとセットさ
れるフリップフロップと、該フリップフロップがセット
されると前記アドレスレジスタと前記アドレス履歴レジ
スタと前記コマンドレジスタの更新を抑止する手段と、
前記サービスプロセッサに障害発生を通知する通信手段
とを有し、該通信手段の信号によりサービスプロセッサ
は前記アドレスレジスタと前記アドレス履歴レジスタと
前記コマンドレジスタとの内容を読出すと共に、障害発
生したマイクロプログラムコマンドを避けて前記記憶回
路の保守エリアに前記障害発生したマイクロプログラム
コマンドと前記障害発生したマイクロプログラムコマン
ドに分岐するようにマイクロプログラムコマンドの分岐
フィールドを修正したマイクロプログラムコマンドとを
書くことにより、前記記憶回路の障害時の回復を行うよ
うにしたことを特徴とするマイクロプログラムメモリ障
害回復方式。
1. In a microprogram control device having a service processor, a microprogram storage circuit having a maintenance area for the service processor, a microprogram address register of the storage circuit, and a history of one or more microprogram addresses are retained. an address history register that stores an output of the storage circuit indicated by the address register; a fault detection circuit that detects a fault in a microprogram command stored in the command register; a flip-flop that is set when a fault is detected in the circuit; and means for inhibiting updating of the address register, the address history register, and the command register when the flip-flop is set;
and communication means for notifying the service processor of the occurrence of a fault, and in response to the signal from the communication means, the service processor reads the contents of the address register, the address history register, and the command register, and also reads out the contents of the microprogram in which the fault has occurred. By writing the faulty microprogram command and a microprogram command in which the branch field of the microprogram command is modified so as to branch to the faulty microprogram command in the maintenance area of the storage circuit, avoiding the command. A microprogram memory failure recovery method characterized in that recovery is performed in the event of a failure in a memory circuit.
JP60103933A 1985-05-17 1985-05-17 Fault recovery system for microprogram memory by service processor Pending JPS61262951A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP60103933A JPS61262951A (en) 1985-05-17 1985-05-17 Fault recovery system for microprogram memory by service processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP60103933A JPS61262951A (en) 1985-05-17 1985-05-17 Fault recovery system for microprogram memory by service processor

Publications (1)

Publication Number Publication Date
JPS61262951A true JPS61262951A (en) 1986-11-20

Family

ID=14367235

Family Applications (1)

Application Number Title Priority Date Filing Date
JP60103933A Pending JPS61262951A (en) 1985-05-17 1985-05-17 Fault recovery system for microprogram memory by service processor

Country Status (1)

Country Link
JP (1) JPS61262951A (en)

Similar Documents

Publication Publication Date Title
KR920001104B1 (en) Address line error test method
JPS61262951A (en) Fault recovery system for microprogram memory by service processor
KR860002027B1 (en) Key memory error processing system
JPH0314054A (en) Electronic disk device
US4759020A (en) Self-healing bubble memories
EP4379553A1 (en) Memory fault recovery method, system, and memory
JPS6356751A (en) Memory patrol control system
JPH0434632A (en) Memory system
JP2001167002A (en) Method and device for controlling write/read for electronic disk device
JPH04111032A (en) Multiplexed storage device
JPH0922387A (en) Memory unit
JPS63271555A (en) Storage control system
JPH02297235A (en) Memory data protecting circuit
JPS58188398A (en) Memory error detection and correction device
JPH0365743A (en) Fault finding method for main storage device
JPH01134646A (en) Exchanging memory control system
JPS6269342A (en) Semiconductor disk device
JPH02143352A (en) Memory error detection and correction system
JPS60225941A (en) Microprogram control device
JPH04252344A (en) Computer system
JPS61208672A (en) Control system for memory device
JPS58224500A (en) Method for relieving intermittent trouble of memory
JPH01222357A (en) Soft error identifying method
JPS59168997A (en) Method of main memory patrolling of computer
JPH0460851A (en) Computer system