JPS6052459B2 - Microprogram control method - Google Patents
Microprogram control methodInfo
- Publication number
- JPS6052459B2 JPS6052459B2 JP4611680A JP4611680A JPS6052459B2 JP S6052459 B2 JPS6052459 B2 JP S6052459B2 JP 4611680 A JP4611680 A JP 4611680A JP 4611680 A JP4611680 A JP 4611680A JP S6052459 B2 JPS6052459 B2 JP S6052459B2
- Authority
- JP
- Japan
- Prior art keywords
- error
- self
- command
- retry
- microprogram
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/22—Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Test And Diagnosis Of Digital Computers (AREA)
Description
【発明の詳細な説明】
本発明は自己診断プログラムの再試行の結果、マイクロ
プログラムをホールドする必要のない自己診断エラーに
ついてはホールドを回避し、この自己診断エラーを他の
装置に報告、表示するようにしたマイクロプログラム制
御方式に関するものである。[Detailed Description of the Invention] The present invention avoids holding microprograms for self-diagnosis errors that do not require holding as a result of retrying the self-diagnosis program, and reports and displays these self-diagnosis errors to other devices. The present invention relates to a microprogram control method.
従来、自己の装置以外の制御装置からのコマンドにより
所定の動作を遂行し、動作結果を報告して一連の処理を
行なう制御装置、たとえば磁気テープ制御装置、チャン
ネル装置等においては、コマンドによる所定の動作を遂
行していない状態、すなわちアイドル状態中に自己診断
プログラムを実行するようにして信頼性の向上を図つて
いる。Conventionally, in a control device such as a magnetic tape control device, a channel device, etc., which performs a predetermined operation based on a command from a control device other than its own device, reports the operation result, and performs a series of processing, The reliability is improved by executing the self-diagnosis program during the idle state, that is, when no operation is being performed.
この自己診断動作の結果、エラーが検知された場合従来
においてはマイクロプログラムの遂行を停止してしまい
、マイクロプロセッサをホールド状態にしている。一方
、自己診断の対象となるハードウェアにはマイクロプロ
グラムの遂行に直接関連するものと、マイクロプログラ
ムの遂行とは何ら関係はなく、指令処理動作にのみ関連
するものに分けることができる。If an error is detected as a result of this self-diagnosis operation, conventionally execution of the microprogram is stopped and the microprocessor is placed in a hold state. On the other hand, the hardware to be self-diagnosed can be divided into those that are directly related to the execution of microprograms and those that have nothing to do with the execution of microprograms and are only related to command processing operations.
前者の場合にはマイクロプログラムの正常な実行が保証
されないので、マイクロプログラムをホールドすること
が必要である。後者の場合には、マイクロプログラムを
ホールドする必要はないにも拘らず、ホールドされるこ
とになり、エラー原因の分析や自己診断プログラムのエ
ーラー原因表示能力の点で不利となる。また後者のよう
な自己診断エラーが間歇的に発生するとその後のコマン
ド処理を正常に遂行できる余地があるにも拘らず、これ
をホールドしてしまうとスループットすなわち所定時間
内の作業量を減少させる・ことになる。本発明の目的は
マイクロプログラムをホールドする必要のない自己診断
エラーについてはそのホールドを回避し他の装置に報告
、表示するようにしたマイクロプログラム制御方式を提
供することである。In the former case, normal execution of the microprogram is not guaranteed, so it is necessary to hold the microprogram. In the latter case, the microprogram is held even though it is not necessary to hold it, which is disadvantageous in terms of error cause analysis and error cause display ability of the self-diagnosis program. In addition, if a self-diagnosis error like the latter occurs intermittently, there is room for subsequent command processing to be performed normally, but if it is held, the throughput, that is, the amount of work within a predetermined time, will be reduced. It turns out. An object of the present invention is to provide a microprogram control system that avoids holding self-diagnosis errors that do not require holding the microprogram and reports and displays them to other devices.
前記目的を達成するため、本発明のマイクロプログラム
制御方式は他の制御装置からのコマンドによる所定の動
作を遂行しない時には自己診断プログラムを遂行するよ
うにし、自己診断エラーが検知されると自己診断の再試
行が行なわれる。To achieve the above object, the microprogram control system of the present invention executes a self-diagnosis program when a predetermined operation is not performed according to a command from another control device, and executes a self-diagnosis program when a self-diagnosis error is detected. A retry will be attempted.
そして再試行においても自己診断エラーが検知される場
合はマイクロプログラムをホールドし、該マイクロプロ
グラム制御によらない他の手段により他の制御装置に報
告する。一方再試行において自己診断エラーが検知され
ない場合には、その後に起動されるコマンド動作の結果
として蓄えられる情報バイト中に該再試行が行なわれた
ことを示すビツトをセツトするとともに、前記再試行が
行なわれたことにより前記動作結果としてエラーを他の
制御装置に報告するようにしたことを特徴とするもので
ある。以下本発明を実施例につき詳述する。If a self-diagnosis error is detected even in the retry, the microprogram is held and reported to other control devices by other means not controlled by the microprogram. On the other hand, if no self-diagnosis error is detected in the retry, a bit indicating that the retry has occurred is set in the information byte stored as a result of the command operation that is subsequently activated, and the retry is performed. The present invention is characterized in that an error is reported to another control device as a result of the operation. The present invention will be described in detail below with reference to examples.
第1図は本発明の実施例の動作手順を示す流れ図であり
、実施例として磁気テープ制御装置(MTC)のような
マイクロプログラム制御装置の自己診断を含む動作の説
明図である。FIG. 1 is a flowchart showing the operating procedure of an embodiment of the present invention, and is an explanatory diagram of the operation including self-diagnosis of a microprogram control device such as a magnetic tape controller (MTC) as an embodiment.
他の制御装置からのコマンドをMTCで受信した後、コ
マンド起動により動作の実行の可否を報告する。After the MTC receives a command from another control device, it reports whether or not the operation can be executed by activating the command.
これが起動ステータス報告である。実行が可の場合には
起動報告処理終了後、コマンドの実行に移りMTCは種
々の動作を遂行する。所定の動作終了後、実行結果の報
告を行なう。これらのコマンド起動から始まり、実行結
果報告までの.一連のコマンド動作を遂行していない時
、すなわちアイドル状態では自己診断を遂行する。該自
己絆断にエラーが検知されると、再試行が行なわれn回
の再試行失敗の時は従来のようにホールドされる。一方
、再試行成功の時はこの次に起動されするコマンドの実
行結果報告時にエラーとして報告され、センス情報バイ
ト中に再試行発生を表示するセンスビツトがセツトされ
る。このように、コマンド実行結果がエラーとして報告
されると、次にはエラー原因を求めるため、センスコマ
ンドがi起動される。そして、センスコマンドにより自
己診断エラーが生じたことが他の制御装置に認識される
。第2図A,bは第1図の自己診断プログラムの実行時
の上述の動作手順を時間軸で示した詳細説明図である。This is the startup status report. If execution is possible, after the activation report process is completed, the MTC moves on to executing the command and performs various operations. After the predetermined operation is completed, the execution result is reported. From starting these commands to reporting the execution results. Self-diagnosis is performed when a series of command operations are not being executed, that is, in an idle state. If an error is detected in the self-bond disconnection, a retry is performed, and if n retries fail, the system is held as in the conventional case. On the other hand, if the retry is successful, it is reported as an error when reporting the execution result of the next activated command, and a sense bit indicating the occurrence of a retry is set in the sense information byte. In this way, when the command execution result is reported as an error, the sense command is activated next to find the cause of the error. The sense command allows other control devices to recognize that a self-diagnosis error has occurred. FIGS. 2A and 2B are detailed explanatory diagrams showing, on a time axis, the above-mentioned operating procedure when the self-diagnosis program of FIG. 1 is executed.
同図aは自己診断時エラーがない時であり、コマンド起
動1の後、起動ステータス報告2を行ない、コマンド実
行後実行結果報告3を行なう。Figure a shows a time when there is no error during self-diagnosis, and after command activation 1, activation status report 2 is performed, and after command execution, execution result report 3 is performed.
同図bは前述の自己診断時エラーがあり、しかも再試行
成功の場合である。すなわち、自己診断エラーが生じた
時再試行フラグセツト4が行なわれ、次のコマンド動作
1〜3の実行結果報告3にノエラ一5として報告され、
前述のセンスコマンド起動6と同ステータス報告7の後
、センス情報バイトに再試行発生を表示するセンスビツ
ト8をセツトし、実行結果報告9を他の制御装置に送る
。第3図は第2図A,bで説明した動作手順を実現する
ための実施例の構成説明図である。同図において、マイ
クロプロセツサ1はアドレスによりマイクロプログラム
メモリ2からマイク口命令コードを読出し、コマンド処
理、自己診断処理等を行なう。Figure b shows a case where the above-mentioned self-diagnosis error occurred and the retry was successful. That is, when a self-diagnosis error occurs, retry flag set 4 is performed, and it is reported as No error 5 in the execution result report 3 of the next command operations 1 to 3.
After the above-described sense command activation 6 and status report 7, a sense bit 8 indicating the occurrence of a retry is set in the sense information byte, and an execution result report 9 is sent to another control device. FIG. 3 is an explanatory diagram of the configuration of an embodiment for realizing the operating procedure explained in FIGS. 2A and 2B. In the figure, a microprocessor 1 reads a microphone instruction code from a microprogram memory 2 according to an address, and performs command processing, self-diagnosis processing, etc.
図中のその他のハードウエア5を対象とする自己診断中
にエラーが検知されると、第2図A,bのように再試行
が行なわれる。この場合センス情報メモリ(RAM)4
に格納された診断再試行発生ビツト41がセツトされ、
カウンタ42でn回まで再試行される。再試行失敗時に
はホールドレジスタ3でホールド指示ビツト31がセツ
トされ、ホールド信号がプロセツサ1に送られホールド
される。この状態で他の制御装置からのコマンドの起動
信号が起動レジスタ6を介してマイクロプロセツサ1に
入力すると、ホールド信号を入力した割込みステータス
レジスタ10を割込み原因としてAND回路9で割込み
信号を発生し、0R回路8を介して他の制御装置にホー
ルドが報告される。一方、再試行に成功すると、その後
のコマンド起動に対しては割込みステータスレジスタ1
0にエラーを表示するステータスがマイクロプロセツサ
1よりセツトされるとともに、割込みレジスタ7がセツ
トされ、0R回路8を介して割込信号が発生し、起動結
果が報告される。他の制御装置は割込みステータスレジ
スタ11の内容を読取つてエラーが判明すると、第2図
bに示したように、センスコマンドを起動し、センス情
報メモリ4の診断再試行発生ビツト41を含むセンス情
報バイトをデータ送出回路11とデータバスを経由して
受信する。なお、他の制御装置からの指令とデータはデ
ータバスより指令レジスタ12、データ受信回路13を
介してプロセツサリードバスを介してマイクロプロセツ
サ1に入力される。以上説明したように、本発明によれ
ば、他の制御装置からのコマンドによる所定の動作を遂
行しない時には自己診断プログラムを遂行するようにし
、自己診断エラーが検知されると自己診断の再試行が行
なわれる。If an error is detected during self-diagnosis of other hardware 5 in the figure, a retry is performed as shown in FIGS. 2A and 2B. In this case, sense information memory (RAM) 4
The diagnostic retry occurrence bit 41 stored in
The counter 42 retries up to n times. When the retry fails, a hold instruction bit 31 is set in the hold register 3, and a hold signal is sent to the processor 1 and held. In this state, when a command start signal from another control device is input to the microprocessor 1 via the start register 6, the AND circuit 9 generates an interrupt signal using the interrupt status register 10 to which the hold signal was input as the cause of the interrupt. , the hold is reported to other control devices via the 0R circuit 8. On the other hand, if the retry is successful, the interrupt status register 1 will be set to 1 for subsequent command activation.
A status indicating an error is set to 0 by the microprocessor 1, an interrupt register 7 is set, an interrupt signal is generated via the 0R circuit 8, and the activation result is reported. When the other control device reads the contents of the interrupt status register 11 and finds an error, it activates the sense command as shown in FIG. The bytes are received via the data sending circuit 11 and the data bus. Note that commands and data from other control devices are input from a data bus to the microprocessor 1 via a command register 12, a data receiving circuit 13, and a processor read bus. As explained above, according to the present invention, the self-diagnosis program is executed when a predetermined operation is not performed based on a command from another control device, and when a self-diagnosis error is detected, the self-diagnosis is retried. It is done.
再試行の結果マイクロプログラムをホールドする必要の
ない自己診断エラーについてはホールドを回避し、この
自己診断エラーを他の装置に報告表示することにより、
他の制御装置はセンスコマンドを発してエラー原因を求
めるようにしたものである。これによりマイクロプログ
ラムのホールドはマイクロプログラムの遂行に直接関連
するもののみに限定されるからホールド状態の時間を減
少することになり、従つて間歇障害の対処によるスルー
プツトの改善、エラー原因表示能力の向上等を図ること
ができる。For self-diagnosis errors that do not require holding the microprogram as a result of retry, the hold is avoided, and this self-diagnosis error is reported and displayed on other devices.
Other control devices issue sense commands to determine the cause of the error. As a result, the microprogram hold is limited to only those directly related to the execution of the microprogram, which reduces the time in the hold state.Thus, throughput is improved by dealing with intermittent failures, and the ability to display error causes is improved. etc. can be achieved.
第1図は本発明の実施例の動作手順を示す流れ図、第2
図A,bは第1図の要部の詳細説明図、第3図は第2図
の動作手順を実現するための実施例の構成説明図であり
、図中、1はマイクロプロセツサ、2はマイクロプログ
ラムメモリ、3はホールドレジスタ、31はホールド指
示ビツト、4はセンス情報メモリ、41は診断再試行発
生ビツト、5はその他のハードウエア、6は起動レジス
タ、7は割込みレジスタ、8は0R回路、9は,AND
回路、10は割込みステータレジスタ、11はデータ送
出回路、12はコマンドレジスタ、13はデータ受信回
路を示す。FIG. 1 is a flowchart showing the operating procedure of the embodiment of the present invention, and FIG.
Figures A and b are detailed explanatory views of the main parts of Figure 1, and Figure 3 is an explanatory diagram of the configuration of an embodiment for realizing the operating procedure of Figure 2. In the figure, 1 is a microprocessor, 2 is a microprogram memory, 3 is a hold register, 31 is a hold instruction bit, 4 is a sense information memory, 41 is a diagnostic retry generation bit, 5 is other hardware, 6 is a start register, 7 is an interrupt register, 8 is 0R Circuit 9 is AND
10 is an interrupt status register, 11 is a data sending circuit, 12 is a command register, and 13 is a data receiving circuit.
Claims (1)
の動作を遂行するようにし、一方該コマンドによる所定
の動作を遂行しない時には自己の装置の診断プログラム
を遂行するように制御するマイクロプログラム制御方式
において、前記自己診断プログラムによりエラーが検知
された場合には該自己診断プログラムを再試行するよう
にし、該再試行においてもエラーが検知された時にはマ
イクロプログラムの遂行を停止し該マイクロプログラム
制御にはよらない他の手段によりマイクロプログラムの
停止を報告するようにし、また再試行においてエラーが
検知されない時にはその後に起動されるコマンド動作の
結果として蓄えられる情報バイト中に該再試行が行なわ
れたことを示すビットをセットするとともに、前記再試
行が行なわれたことにより前記動作結果としてエラーを
報告するようにしたことを特徴とするマイクロプログラ
ム制御方式。1. In a microprogram control system that performs a predetermined operation based on a command from a control device other than the own device, and when the predetermined operation according to the command is not performed, a diagnostic program for the own device is executed, If an error is detected by the self-diagnosis program, the self-diagnosis program is retried, and when an error is detected in the retry, the execution of the microprogram is stopped and the microprogram control is not relied upon. The termination of the microprogram may be reported by other means, and if no error is detected on a retry, a bit indicating that the retry occurred is included in the information byte stored as a result of a subsequent command operation. , and an error is reported as a result of the operation due to the retry being performed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4611680A JPS6052459B2 (en) | 1980-04-08 | 1980-04-08 | Microprogram control method |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP4611680A JPS6052459B2 (en) | 1980-04-08 | 1980-04-08 | Microprogram control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPS56143054A JPS56143054A (en) | 1981-11-07 |
| JPS6052459B2 true JPS6052459B2 (en) | 1985-11-19 |
Family
ID=12738022
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP4611680A Expired JPS6052459B2 (en) | 1980-04-08 | 1980-04-08 | Microprogram control method |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPS6052459B2 (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US10805243B2 (en) | 2017-09-11 | 2020-10-13 | Fuji Xerox Co., Ltd. | Artificial intelligence conversation interface for receiving and interpreting user input |
| US11496478B2 (en) | 2017-07-28 | 2022-11-08 | Fujifilm Business Innovation Corp. | Information processing device and non-transitory computer readable medium |
| US11510262B2 (en) | 2017-07-28 | 2022-11-22 | Fujifilm Business Innovation Corp. | Information processing device and non-transitory computer readable medium |
| US11657023B2 (en) | 2017-12-01 | 2023-05-23 | Fujifilm Business Innovation Corp. | Information processing apparatus, non-transitory computer readable medium, and information processing method |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2905373B2 (en) * | 1993-10-01 | 1999-06-14 | 富士通株式会社 | Disk control device and control method thereof |
-
1980
- 1980-04-08 JP JP4611680A patent/JPS6052459B2/en not_active Expired
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US11496478B2 (en) | 2017-07-28 | 2022-11-08 | Fujifilm Business Innovation Corp. | Information processing device and non-transitory computer readable medium |
| US11510262B2 (en) | 2017-07-28 | 2022-11-22 | Fujifilm Business Innovation Corp. | Information processing device and non-transitory computer readable medium |
| US10805243B2 (en) | 2017-09-11 | 2020-10-13 | Fuji Xerox Co., Ltd. | Artificial intelligence conversation interface for receiving and interpreting user input |
| US11657023B2 (en) | 2017-12-01 | 2023-05-23 | Fujifilm Business Innovation Corp. | Information processing apparatus, non-transitory computer readable medium, and information processing method |
Also Published As
| Publication number | Publication date |
|---|---|
| JPS56143054A (en) | 1981-11-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US4852092A (en) | Error recovery system of a multiprocessor system for recovering an error in a processor by making the processor into a checking condition after completion of microprogram restart from a checkpoint | |
| JPS6052459B2 (en) | Microprogram control method | |
| US20050060690A1 (en) | Microprocessor system with software emulation processed by auxiliary hardware | |
| JP3315266B2 (en) | Self-diagnosis status display method | |
| JPH0588933A (en) | Parallel processing system with debugging function | |
| JPS62278642A (en) | Retrial control system | |
| JPS62298841A (en) | Firmware debugging system | |
| JPH076103A (en) | Fault processing system for input/output channel | |
| JPS59177660A (en) | Logging system of diagnostic result in electronic computer | |
| JPS59178552A (en) | Self diagnosis controlling system | |
| JPH10240567A (en) | Debugging system | |
| JPS5927357A (en) | Debugging system of computer terminal equipment | |
| JPH02244232A (en) | information processing equipment | |
| JPH04149866A (en) | Magnetic tape subsystem tester | |
| JPH0659941A (en) | Information processor | |
| JPS6156537B2 (en) | ||
| JPS62117054A (en) | Confirmation system for state of input and output device | |
| JPS63191343A (en) | Magnetic tape device | |
| JPS5935455B2 (en) | Seigiyo Souchi | |
| JPS61177548A (en) | Retrying control system | |
| JPH04307637A (en) | Pseudo channel device | |
| JPH0368035A (en) | Information processor | |
| JPS6112585B2 (en) | ||
| JPH05233481A (en) | Program tracing stop device of debugging device | |
| JPH02245853A (en) | Data processor |