JPH04338842A - Information processor with error detecting function - Google Patents

Information processor with error detecting function

Info

Publication number
JPH04338842A
JPH04338842A JP3111788A JP11178891A JPH04338842A JP H04338842 A JPH04338842 A JP H04338842A JP 3111788 A JP3111788 A JP 3111788A JP 11178891 A JP11178891 A JP 11178891A JP H04338842 A JPH04338842 A JP H04338842A
Authority
JP
Japan
Prior art keywords
cpu
memory
error
data
operation monitoring
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
JP3111788A
Other languages
Japanese (ja)
Inventor
Kazuhiro Horie
堀江 一宏
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP3111788A priority Critical patent/JPH04338842A/en
Publication of JPH04338842A publication Critical patent/JPH04338842A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To obtain an information processor containing an error detecting function which can analyze the factor of a system down in an accurate and extremely simple way. CONSTITUTION:A CPU 1 is connected to a memory 2 via the buses 3-5. The CPU 1 outputs the address information and a control. signal to the memory 2 and carries out the reading/writing operations of the memory 2. Then the system down processing is carried out with occurrence of an error. In such a constitution of an information processor containing an error detecting function, the signal states are traced on the buses 3-5 and the data on the processing contents of the CPU 1 are stored in an operation monitoring circuit 10. Thus it is possible to prevent the data stored in the circuit 10 from being reset in a starting state set after the error is detected.

Description

【発明の詳細な説明】[Detailed description of the invention]

【0001】0001

【産業上の利用分野】本発明は、ソフトウエア,ハード
ウエアに発生したエラーを検出して、CPUの動作を停
止させるエラー検出機能付き情報処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an information processing apparatus with an error detection function that detects errors occurring in software or hardware and stops the operation of a CPU.

【0002】0002

【従来の技術】一般に使用されている情報処理装置は、
図3に示すように、CPU1とメモリ2とが、コントロ
ールバス3,アドレスバス4,データバス5を介して接
続された構成となっている。例えば、CPU1はアドレ
ス情報と共に書込み/読出し信号等の各種制御信号をコ
ントロールバス3,アドレスバス4に出力し、メモリ2
の所定領域から命令を呼び出して実行したり、所定領域
にデータを書込んだりする。
[Prior Art] Generally used information processing devices are
As shown in FIG. 3, a CPU 1 and a memory 2 are connected via a control bus 3, an address bus 4, and a data bus 5. For example, the CPU 1 outputs various control signals such as write/read signals together with address information to the control bus 3 and address bus 4, and outputs various control signals such as write/read signals to the memory 2.
It calls and executes instructions from a predetermined area of the computer, or writes data to a predetermined area.

【0003】この様な情報処理装置では、ソフトウエア
によって種々のエラー検出が行われている。例えば、ハ
ードウエアの故障やソフトウエアの異常によって、読込
んだ命令が正しいものでなかったり(Invalid 
Opcode)、アクセスできない領域にアクセスしよ
うとする(General Protection) 
等のエラーが発生している場合には、そのエラーを検出
してシステムダウンさせている。
[0003] In such an information processing apparatus, various error detections are performed using software. For example, the read instructions may be incorrect due to hardware failure or software abnormality (Invalid).
Opcode), attempting to access an inaccessible area (General Protection)
If an error such as that occurs, the error is detected and the system is brought down.

【0004】ところが、上記したようなソフトウエアに
よる処理では、エラー検出によってシステムダウンして
しまうと、CPU1が具体的に何の処理を実行していた
のか、何の処理を実行しようとしてエラーとなったのか
を知るための十分な情報が残らないので、エラーの解析
には多大な時間と労力が必要であった。
[0004] However, in the above-mentioned software processing, if the system goes down due to error detection, it is difficult to find out what process the CPU 1 was specifically executing and what process it was trying to execute that caused an error. Because there is not enough information left to know what happened, analyzing errors required a great deal of time and effort.

【0005】[0005]

【発明が解決しようとする課題】このように、従来のエ
ラー検出機能付き情報処理装置は、エラー発生時の情報
がほとんど残らないので、エラーの解析が極めて困難で
あるといった問題があった。
SUMMARY OF THE INVENTION As described above, the conventional information processing apparatus with an error detection function has a problem in that it is extremely difficult to analyze errors because almost no information remains when an error occurs.

【0006】本発明は以上のような実情に鑑みてなされ
たもので、システムダウン時のCPUの動作状態を記憶
してエラー情報を保存でき、システムダウン時の原因分
析を極めて簡単かつ正確に行い得るエラー検出機能付き
情報処理装置を提供することを目的とする。
The present invention has been made in view of the above-mentioned circumstances, and it is possible to memorize the operating state of the CPU at the time of a system down, save error information, and to analyze the cause of a system down extremely easily and accurately. An object of the present invention is to provide an information processing device with an error detection function that can be used to detect errors.

【0007】[0007]

【課題を解決するための手段】本発明は上記目的を達成
するために、CPUとメモリとがバスを介して接続され
、前記CPUから前記メモリに対してアドレス情報と共
に制御信号を出力して、前記メモリに対してデータの読
出し/書込みを行うと共に、エラーが発生した時にはシ
ステムダウン処理を実行するエラー検出機能付き情報処
理装置において、前記バス上の信号状態を前記制御信号
に基づいて順次取込んで前記CPUの処理内容に関する
データとして記憶する動作監視手段と、エラー検出後の
再立ち上げ時に、前記動作監視手段に記憶されているデ
ータがリセットされるのを防止する手段とを具備した構
成とした。
[Means for Solving the Problems] In order to achieve the above object, the present invention connects a CPU and a memory via a bus, and outputs a control signal together with address information from the CPU to the memory, In an information processing device with an error detection function that reads/writes data to/from the memory and executes system down processing when an error occurs, the signal states on the bus are sequentially captured based on the control signal. an operation monitoring means for storing data regarding processing contents of the CPU; and means for preventing the data stored in the operation monitoring means from being reset when restarting after an error is detected. did.

【0008】[0008]

【作用】以上のような手段が講じられた本発明によれば
、CPUの動作を示すバス上の信号が、CPUの動作タ
イミングを示す制御信号に基づいて逐次動作監視手段に
記憶される。そして、エラーが発生してシステムダウン
したときには、システムダウン時のCPUの動作状態が
動作監視手段に記憶される。立ち上げ時、一般にはメモ
リにリセットがかかるが、動作監視手段はリセットが防
止されるために、記憶されているデータが保存される。 したがって、再立ち上げ時、動作監視手段にはシステム
ダウン時のCPUの動作状態が記憶されていることにな
り、このデータを読出すことによってシステムダウンの
原因分析を行うことができる。
According to the present invention, in which the above measures are taken, the signals on the bus indicating the operation of the CPU are sequentially stored in the operation monitoring means based on the control signal indicating the operation timing of the CPU. When an error occurs and the system goes down, the operating state of the CPU at the time of the system down is stored in the operation monitoring means. At startup, the memory is generally reset, but since the operation monitoring means is prevented from being reset, the stored data is saved. Therefore, at the time of restart, the operation monitoring means stores the operating state of the CPU at the time of the system down, and by reading this data, it is possible to analyze the cause of the system down.

【0009】[0009]

【実施例】以下、本発明の一実施例について図1および
図2を参照しながら説明する。
Embodiment An embodiment of the present invention will be described below with reference to FIGS. 1 and 2.

【0010】図1には一実施例に係るエラー検出機能を
備えた情報処理装置の概略的な機能ブロックが示されて
いる。本実施例では、CPU1とメモリ2間を接続して
いるコントロールバス3,アドレスバス4,データバス
5が、さらにCPU1の動作を監視する動作監視回路1
0に接続された構成となっている。図2には動作監視回
路10の構成が示されている。
FIG. 1 shows a schematic functional block diagram of an information processing apparatus having an error detection function according to an embodiment. In this embodiment, a control bus 3, an address bus 4, and a data bus 5 that connect the CPU 1 and the memory 2 are further connected to an operation monitoring circuit 1 that monitors the operation of the CPU 1.
The configuration is connected to 0. FIG. 2 shows the configuration of the operation monitoring circuit 10.

【0011】動作監視回路10は、コントロールバス3
がラッチタイミング制御部11およびメモリ制御部12
にそれぞれ接続され、アドレスバス4およびデータバス
5がデータラッチ部13に接続され、さらにデータラッ
チ部13がエラートレースメモリ14に接続されている
The operation monitoring circuit 10 has a control bus 3
is the latch timing control section 11 and the memory control section 12
The address bus 4 and the data bus 5 are connected to a data latch unit 13, and the data latch unit 13 is further connected to an error trace memory 14.

【0012】ラッチタイミング制御部11は、データラ
ッチ部13に対してCPU1の制御信号群に基づいてラ
ッチタイミング信号を出力するものである。データラッ
チ部13は、ラッチタイミング信号によってアドレスバ
ス4およびデータバス5上の信号をラッチし、またエラ
ートレースメモリ14から読み出されたデータをシステ
ムバス4,5上に出力する機能を有する。メモリ制御部
12は、エラートレースメモリ14の書き込み/読出し
を制御する機能を有する。
The latch timing control section 11 outputs a latch timing signal to the data latch section 13 based on a group of control signals from the CPU 1. The data latch unit 13 has a function of latching signals on the address bus 4 and data bus 5 according to a latch timing signal, and outputting data read from the error trace memory 14 onto the system buses 4 and 5. The memory control unit 12 has a function of controlling writing/reading of the error trace memory 14.

【0013】以上のように構成された本実施例では、C
PU1からメモリ2に対して出力された制御信号群,ア
ドレス情報およびデータが、同時に動作監視回路10に
も入力される。動作監視回路10のラッチタイミング制
御部11では、制御信号群を監視して、CPU1のアク
セス開始やアクセス終了を検知し、そのタイミングに基
づいてアドレスバス4およびデータバス5上の信号をラ
ッチするラッチタイミング信号をデータラッチ部13に
出力する。データラッチ部13では、そのラッチタイミ
ング信号によってアドレスバス4およびデータバス5上
の信号をラッチして一時的に内部に蓄える。
In this embodiment configured as above, C
The control signal group, address information, and data output from the PU 1 to the memory 2 are also input to the operation monitoring circuit 10 at the same time. The latch timing control unit 11 of the operation monitoring circuit 10 monitors a group of control signals, detects the start or end of access by the CPU 1, and latches the signals on the address bus 4 and data bus 5 based on the timing. A timing signal is output to the data latch unit 13. The data latch section 13 latches the signals on the address bus 4 and data bus 5 according to the latch timing signal and temporarily stores them internally.

【0014】一方、メモリ制御部12からエラートレー
スメモリ14に対して書込み命令を出力することにより
、データラッチ部13に蓄えられているアドレスバス4
およびデータバス5上の信号がエラートレースメモリ1
4に書込まれる。
On the other hand, by outputting a write command from the memory control section 12 to the error trace memory 14, the address bus 4 stored in the data latch section 13 is
and the signal on the data bus 5 is the error trace memory 1
Written to 4.

【0015】なお、エラートレースメモリ14の容量は
、実際にはシステム構成により制限があるので、立ち上
げ時からの全データをトレースして記憶することはでき
ない。このため、本実施例では、メモリ領域を複数領域
に分割して使用し、新しく取込まれたデータは最も古い
データの上に書込み、メモリをサイクリックに使用する
ようにメモリ制御部12によって書込み制御する。
Note that the capacity of the error trace memory 14 is actually limited by the system configuration, so that it is not possible to trace and store all data from startup. For this reason, in this embodiment, the memory area is divided into a plurality of areas and used, and the memory controller 12 writes newly imported data over the oldest data so that the memory is used cyclically. Control.

【0016】CPU1がソフト的にエラーを検知した場
合には、CPU1はソフトウエアによって動作監視回路
10の動作を停止させ、それまでの動作状態をエラート
レースメモリ14に記憶させたまま、再立ち上げ時に不
動作となるシャットダウン処理を行う。
When the CPU 1 detects an error using software, the CPU 1 uses software to stop the operation of the operation monitoring circuit 10 and restart the CPU 1 while storing the previous operation state in the error trace memory 14. Performs shutdown processing that sometimes becomes inoperable.

【0017】次に、システムを再び立ち上げたときには
、動作監視回路10は動作しないので、エラートレース
メモリ14の内容がリセットされずに、エラー発生前ま
でのCPU1の動作状態が保存されている。したがって
、CPU1から動作監視回路10のシャットダウン状態
を解除して、エラートレースメモリ14をリードイネー
ブル状態にして、例えば最新のトレースデータから順に
システムバス4,5上に出力させる。これによって、オ
ペレータはCPU1の動作状態をエラー発生時から一定
期間過去に遡って知ることができる。
Next, when the system is started up again, the operation monitoring circuit 10 does not operate, so the contents of the error trace memory 14 are not reset, and the operating state of the CPU 1 before the occurrence of the error is preserved. Therefore, the CPU 1 releases the shutdown state of the operation monitoring circuit 10, puts the error trace memory 14 in a read-enabled state, and outputs trace data onto the system buses 4 and 5 in order, for example, starting from the latest trace data. This allows the operator to know the operating state of the CPU 1 retroactively for a certain period of time from the time the error occurred.

【0018】この様に本実施例によれば、コントロール
バス3,アドレスバス4,データバス5を監視してCP
U1の動作状態をエラートレースメモリ14に逐次記憶
していき、システムダウン時には動作監視回路10をシ
ャットダウン処理して、再立ち上げ時には、エラートレ
ースメモリ14にCPU1の動作状態がエラー発生時か
ら一定期間過去に遡って保存されているようにしたので
、システムダウン時の原因分析を極めて簡単かつ正確に
行うことができる。
As described above, according to this embodiment, the control bus 3, address bus 4, and data bus 5 are monitored and the CP
The operating state of U1 is sequentially stored in the error trace memory 14, and when the system goes down, the operation monitoring circuit 10 is shut down, and when the system is restarted, the operating state of the CPU 1 is stored in the error trace memory 14 for a certain period of time from when the error occurred. Since the information is saved retroactively in the past, it is possible to analyze the cause of a system failure extremely easily and accurately.

【0019】[0019]

【発明の効果】以上詳記したように本発明によれば、シ
ステムダウン時のCPUの動作状態を記憶してエラー情
報を保存でき、システムダウン時の原因分析を極めて簡
単かつ正確に行い得るエラー検出機能付き情報処理装置
を提供できる。
Effects of the Invention As detailed above, according to the present invention, the operating state of the CPU at the time of system down can be memorized and error information can be saved, and the cause of system down can be analyzed extremely easily and accurately. An information processing device with a detection function can be provided.

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

【図1】本発明の一実施例に係るエラー検出機能付き情
報処理装置の概略的な機能ブロック図。
FIG. 1 is a schematic functional block diagram of an information processing device with an error detection function according to an embodiment of the present invention.

【図2】一実施例に係るエラー検出機能付き情報処理装
置の動作監視回路の機能ブロック図。
FIG. 2 is a functional block diagram of an operation monitoring circuit of an information processing device with an error detection function according to an embodiment.

【図3】従来のエラー検出機能付き情報処理装置の概略
的な機能ブロック図。
FIG. 3 is a schematic functional block diagram of a conventional information processing device with an error detection function.

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

1…CPU、2…メモリ、3…コントロールバス、4…
アドレスバス、5…データバス、10…動作監視回路、
11…ラッチタイミング制御部、12…メモリ制御部、
13…データラッチ部、14…エラートレースメモリ。
1...CPU, 2...Memory, 3...Control bus, 4...
address bus, 5...data bus, 10...operation monitoring circuit,
11...Latch timing control section, 12...Memory control section,
13...Data latch unit, 14...Error trace memory.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】  CPUとメモリとがバスを介して接続
され、前記CPUから前記メモリに対してアドレス情報
と共に制御信号を出力して、前記メモリに対してデータ
の読出し/書込みを行うと共に、エラーが発生した時に
はシステムダウン処理を実行するエラー検出機能付き情
報処理装置において、前記バス上の信号状態を前記制御
信号に基づいて順次取込んで前記CPUの処理内容に関
するデータとして記憶する動作監視手段と、エラー検出
後の再立ち上げ時に、前記動作監視手段に記憶されてい
るデータがリセットされるのを防止する手段と、を具備
したことを特徴とするエラー検出機能付き情報処理装置
1. A CPU and a memory are connected via a bus, and the CPU outputs a control signal together with address information to the memory to read/write data to the memory, and also to prevent errors. In an information processing device with an error detection function that executes system down processing when a system down process occurs, an operation monitoring unit that sequentially captures signal states on the bus based on the control signal and stores the data as data related to the processing content of the CPU; An information processing device with an error detection function, comprising: means for preventing data stored in the operation monitoring means from being reset when restarting after error detection.
JP3111788A 1991-05-16 1991-05-16 Information processor with error detecting function Pending JPH04338842A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3111788A JPH04338842A (en) 1991-05-16 1991-05-16 Information processor with error detecting function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3111788A JPH04338842A (en) 1991-05-16 1991-05-16 Information processor with error detecting function

Publications (1)

Publication Number Publication Date
JPH04338842A true JPH04338842A (en) 1992-11-26

Family

ID=14570174

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3111788A Pending JPH04338842A (en) 1991-05-16 1991-05-16 Information processor with error detecting function

Country Status (1)

Country Link
JP (1) JPH04338842A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9003212B2 (en) 2011-07-28 2015-04-07 Fujitsu Limited Information processing device, non-transitory, computer readable storage medium, and method of controlling information processing device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5739453A (en) * 1980-08-18 1982-03-04 Nec Corp Information processing equipment
JPH01232448A (en) * 1988-03-11 1989-09-18 Nec Corp Acquiring system for fault information on microprocessor system
JPH01261742A (en) * 1988-04-13 1989-10-18 Fujitsu Ltd Method for processing error in system controller

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5739453A (en) * 1980-08-18 1982-03-04 Nec Corp Information processing equipment
JPH01232448A (en) * 1988-03-11 1989-09-18 Nec Corp Acquiring system for fault information on microprocessor system
JPH01261742A (en) * 1988-04-13 1989-10-18 Fujitsu Ltd Method for processing error in system controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9003212B2 (en) 2011-07-28 2015-04-07 Fujitsu Limited Information processing device, non-transitory, computer readable storage medium, and method of controlling information processing device

Similar Documents

Publication Publication Date Title
US5257269A (en) Error controller for use in debugging microprocessor
JPH04338842A (en) Information processor with error detecting function
JPH10228395A (en) Abnormality diagnostic device for controller
JP2870202B2 (en) Method and apparatus for mutual monitoring between processors
JP2754899B2 (en) Return address monitoring circuit of debug device
JP2000353109A (en) Emulator and emulation system
JPH0581087A (en) Processor monitoring system
JPS62278642A (en) Retrial control system
JPS61269746A (en) Information processor
JPH0149975B2 (en)
JPH04233041A (en) Error recovery device
JPH11203174A (en) State supervisory information processor
JPH0314148A (en) Program breakdown detecting device
JP2000089969A (en) Data processor
JPH0665941U (en) Program operating device
JPS63193241A (en) Information processor
JPH01161544A (en) Program tracing system
JPS6146535A (en) Pseudo error setting control system
JPH03130835A (en) Restarting device for information processor
JPH01114947A (en) Tracing system for data processor
JPS59229658A (en) Information processor
JP2001265619A (en) Data tracing system
JPH02148340A (en) System for controlling writing in control storage
JPS6112585B2 (en)
JPH08123734A (en) Methods for checking occurrence of data destruction in data storing area and program runaway and methods for searching causes of data destruction occurrence and program runaway