JPH07319816A - Method for collecting logging information in cpu system - Google Patents

Method for collecting logging information in cpu system

Info

Publication number
JPH07319816A
JPH07319816A JP6107186A JP10718694A JPH07319816A JP H07319816 A JPH07319816 A JP H07319816A JP 6107186 A JP6107186 A JP 6107186A JP 10718694 A JP10718694 A JP 10718694A JP H07319816 A JPH07319816 A JP H07319816A
Authority
JP
Japan
Prior art keywords
cpu
logging information
storage unit
data
information storage
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.)
Withdrawn
Application number
JP6107186A
Other languages
Japanese (ja)
Inventor
Masaru Mori
勝 森
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 JP6107186A priority Critical patent/JPH07319816A/en
Publication of JPH07319816A publication Critical patent/JPH07319816A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Debugging And Monitoring (AREA)

Abstract

PURPOSE:To provide a method for automatically collecting logging information obtained in the past without requiring manual processing when a CPU generates an alarm and a method for shortening time required up to restart after the reset of the CPU in respect to a method for collecting logging information for a past processing process when a CPU system detects abnormality and generates an alarm. CONSTITUTION:A common RAM 8 for simultaneously executing the writing and reading of lagging information in/from a main storage part 4 by a main CPU 1, a logging information storing part 10 to be a non-volatile memory to which the data of the RAM 8 are to be transferred and a sub-CPU 9 for transferring the data of the RAM 8 to the storing part 10 by a program stored in its own ROM are connected to a system bus 100 in the CPU system, and when the CPU system is turned to an abnormal state, the logging information of a processing process executed by the main CPU 1 up to this time is stored in the storing part 10 without being cleared.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、CPUの制御により或
る動作をするCPUシステムにて、CPUがシステムの
異常を検出しアラームを発生した時に、其のアラーム発
生の原因解析に用いられる処理経過の情報であるロギン
グ情報の収集方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a CPU system which performs a certain operation under the control of the CPU, and when the CPU detects an abnormality of the system and generates an alarm, a process used for analyzing the cause of the alarm occurrence. The present invention relates to a method of collecting logging information that is progress information.

【0002】[0002]

【従来の技術】従来のCPUシステムでは、図11のシス
テム構成図と図12の動作フロー図を参照して、CPU
が行った処理の経過を常に主記憶部内に設けた作業領
域ワークエリアに書き込み、異常検出部(11)がシステム
の異常を検出しアラームを発生した時、その原因解析に
用いられるロギング情報としている。しかし此の場合、
リセット回路がCPUに対しリセットを行うと、図12
の動作フロー図に示す如く、CPUはROMに予め書き
込まれた起動プログラムで始まる初期化シーケンスで動
作してしまうため、主記憶部内に其れ迄に書き込まれ
ていた情報を消去するクリアをしてしまい、先に取得し
た前記ロギング情報が消えてしまう。
2. Description of the Related Art In a conventional CPU system, referring to the system configuration diagram of FIG. 11 and the operation flow diagram of FIG.
The progress of processing performed by is always written in the work area work area provided in the main memory, and when the error detection unit (11) detects a system error and an alarm occurs, it is used as logging information used for cause analysis. . But in this case,
When the reset circuit resets the CPU, FIG.
As shown in the operation flow chart of the above, since the CPU operates in the initialization sequence starting with the start-up program written in advance in the ROM, the information written up to that point in the main memory is erased and cleared. Therefore, the logging information acquired earlier is lost.

【0003】[0003]

【発明が解決しようとする課題】従って,其のロギング
情報をオペレータ等の人的作業により収集したのちに、
CPUのリセットを行う必要がある。その為に、CPU
をリセットしてシステムを通常動作へ復旧する迄に、時
間が掛かるという問題を生じていた。本発明の目的は、
CPUがシステムの異常を検出しアラームを発生した時
に、人的作業を介さずに、自動的に其の時までのロギン
グ情報の収集を行う方法と、CPUのリセット迄の時間
を短縮する方法とを提供することにある。尚、本発明で
は、CPU及びその他の回路に対するリセット信号の送
出のみでなく、電源のオフ/オンによる所謂パワーオン
リセットについても考慮する。従来の主記憶部には、書
き込み速度の向上の為にDRAMまたはSRAM等の揮
発性メモリを使用していたので、電源オフ時にメモリの
内容を保持することが出来ない場合があり、電源オン後
に、そのままメモリの内容のデータを使用しようとして
も、そのデータが既に破壊されている可能性があった。
そのため、CPUはシステムの立上げ時に該メモリをク
リアしている。
Therefore, after collecting the logging information by human work such as an operator,
It is necessary to reset the CPU. Therefore, CPU
There is a problem that it takes time to reset the system and restore the system to the normal operation. The purpose of the present invention is to
When the CPU detects an abnormality of the system and generates an alarm, there is a method of automatically collecting logging information up to that time without any manual work and a method of shortening the time until the CPU is reset. To provide. In the present invention, not only the reset signal is sent to the CPU and other circuits, but also so-called power-on reset by turning off / on the power source is considered. Since a volatile memory such as DRAM or SRAM is used in the conventional main memory unit in order to improve the writing speed, the contents of the memory may not be retained when the power is turned off. , Even if you tried to use the data in the memory contents as it was, there was a possibility that the data was already destroyed.
Therefore, the CPU clears the memory when the system starts up.

【0004】[0004]

【課題を解決するための手段】上記目的を達成するため
の本発明の請求項1の基本構成は、図1の原理図を参照
し、従来のCPUシステムのシステムバス(100) 上に主
CPUにより主記憶部からのロギング情報の書込み
と読出しとを同時に行える共通RAMと、該共通RA
Mのデータが転送される先の不揮発性メモリのロギング
情報記憶部(10)と、該共通RAMのデータを自分のRO
M内のプログラムにより該ロギング情報記憶部(10)へ転
送する副CPUとを備えて、CPUシステムが異常と
なった場合に、其の時までの主CPUによる処理経過
のロギング情報がクリアされずに該ロギング情報記憶部
(10)に保管されるように構成する。
The basic configuration of claim 1 of the present invention for achieving the above object is as follows. Referring to the principle diagram of FIG. 1, a main CPU is installed on a system bus (100) of a conventional CPU system. A common RAM capable of simultaneously writing and reading the logging information from the main memory, and the common RA
The logging information storage unit (10) of the non-volatile memory to which the data of M is transferred and the data of the common RAM are stored in the own RO.
If a CPU system has an abnormality, the logging information of the processing progress by the main CPU up to that time is not cleared, provided with the sub CPU that is transferred to the logging information storage unit (10) by the program in M. The logging information storage unit
Configured to be stored in (10).

【0005】請求項1における副CPU によるソフ
トウェア使用を無くしハードウェアのみの構成とするこ
とを目的とした請求項2の構成は、図2の原理図を参照
し、請求項1の構成における副CPU を削除し、主
CPUが異常検出部(11)にてシステムの異常を検出し
た時に、データ転送のタイミング制御信号c1,c2 を発生
して, 其の時迄に共通RAMに書き込まれたロギング
情報を読み出し、不揮発性メモリのロギング情報記憶部
(10)へデータ転送を行うデータ転送制御部を具えるよ
うに構成する。
The constitution of claim 2 which aims to eliminate the use of software by the sub CPU in claim 1 and to constitute only the hardware, refers to the principle diagram of FIG. 2, and the sub CPU in the constitution of claim 1 When the main CPU detects a system error in the error detection unit (11), the data transfer timing control signals c1 and c2 are generated, and the logging information written in the common RAM up to that time. Read out, logging information storage section of non-volatile memory
It is configured to include a data transfer control unit for transferring data to (10).

【0006】請求項2におけるCPUによる書き込み
と読み出しのタイミング制御が難しい共通RAMを使
用しない回路構成を目的とした請求項3の構成は、図3
の原理図を参照し、通常時はCPUからの書き込みを
順次に受け付け,ロギング情報記憶部(10)へハード的に
読み出して更新された出力を送出するFIFOメモリ
を具え、主CPUが異常検出部(11)にてシステムの
異常を検出した時は、データ転送制御部 からのタイ
ミング制御信号c1,c2 により、該FIFOメモリ へ
の書き込みが不可となり, 出力のロギング情報の更新が
行われず保持されるように構成する。
According to a second aspect of the present invention, which is directed to a circuit configuration which does not use a common RAM in which writing and reading timing control by the CPU is difficult,
Refer to the principle diagram of the above, the main CPU is equipped with a FIFO memory that receives writing from the CPU in sequence under normal conditions and sends the updated output to the logging information storage unit (10) by hardware, and the main CPU has an abnormality detection unit. When the system abnormality is detected in (11), the timing control signals c1 and c2 from the data transfer control unit disable writing to the FIFO memory, and the output logging information is not updated and retained. To configure.

【0007】次に、CPUが再リセットされて主記憶
部の内容がクリアされても,ロギング情報はクリアさ
れずに保持できることを目的とした請求項4の構成は、
図4の原理図を参照し、システムバス(100) に対し、シ
ステムの通常時にはCPUからの書き込みが出来るイ
ネーブル状態とし, システムの異常時には、次にシステ
ムが復旧しても直ぐにはデータの書き込みが出来ないデ
ィセーブル状態とするバスコントロール部 と、異常
発生時までのCPUの処理情報を記憶する不揮発性メ
モリのロギング情報記憶部(10)とを具え、CPUが再
リセットされて主記憶部がクリアされても,ロギング
情報記憶部(10)のロギング情報はクリアされずに保持さ
れるように構成する。
Next, even if the contents of the main memory are cleared by resetting the CPU again, the logging information can be held without being cleared.
Referring to the principle diagram of FIG. 4, the system bus (100) is set to an enable state in which the CPU can write during normal operation of the system, and when the system is abnormal, data can be immediately written even when the system is next restored. It has a bus control unit that disables it and a logging information storage unit (10) of non-volatile memory that stores the processing information of the CPU until the occurrence of an abnormality.The CPU is reset again and the main storage unit is cleared. Even if it is done, the logging information in the logging information storage unit (10) is configured to be retained without being cleared.

【0008】次に、上記の請求項1〜4では、CPUが
システム異常を検出する迄の処理の全てのロギング情報
を収集するの方法に対してであったが、請求項5は、C
PUへの割込み要因(Non Maskable Interruption等) の
詳細情報をロギングする方法を目的とする。請求項5の
構成は、図5の原理図を参照し、予備電源の電源バック
アップ部と、該電源バックアップ部でバックアップさ
れたSRAMと,割込の詳細情報の読出し用レジスタ
(11)と, CPUのリセット用レジスタ(12)と,該レジス
タ(11)からの出力により一定時間のみパルスp を出力す
るタイマ部(13)と, 該SRAM内に割込情報がロギン
グされている事を示すレジスタ(14)とを具え、CPU
がSRAM内の情報を読み出した時に其れが割込情報
であると認識した場合には、CPUがリセット用レジ
スタ(12)に対しリセット信号を書き込むことにより,自
分にリセットを掛けて再起動するように構成する。
Next, in the above claims 1 to 4, the method is to collect all the logging information of the processing until the CPU detects the system abnormality.
It aims at the method of logging detailed information of the interrupt factor (Non Maskable Interruption etc.) to PU. According to the configuration of claim 5, referring to the principle diagram of FIG. 5, a power source backup unit of a standby power source, an SRAM backed up by the power source backup unit, and a register for reading out detailed information of an interrupt.
(11), a reset register (12) for the CPU, a timer section (13) that outputs a pulse p only for a fixed time by the output from the register (11), and interrupt information is logged in the SRAM. With a register (14) indicating that
When the CPU reads the information in the SRAM and recognizes that it is the interrupt information, the CPU writes a reset signal to the reset register (12) to reset itself and restart. To configure.

【0009】[0009]

【作用】図1の請求項1の構成では、CPUはROM
内の主プログラムを起動するとともに、主記憶部内
のロギング情報を, 共通RAMに書き込みを行うが、
其れは、CPUアラームの発生からリセットまで継続さ
れる。共通RAMに書き込まれたロギングデータは、
ロギング情報転送用の副CPUが読み出し、ロギング
情報記憶部(10)へ転送される。この場合、ロギング情報
記憶部(10)が若し電気的書込み/消去型のROM(EEPRO
M)で構成されているならば、書き込みサイクルを考慮し
なければならないので、その処理を副CPUが行う。
しかし、ロギング情報の転送開始/停止は、主CPU
側の異常検出回路(11)が検出したアラーム信号により制
御される。つまり、共通RAMからロギング情報記憶
部(10) へのデータ転送は、主CPUが正常動作をし
ている期間のみとし、CPUアラームの発生中のデータ
は転送しない様にする。これにより,ロギングデータが
書き変わってしまうことを防止している。この本発明の
請求項1の構成により,CPUがリセットされてもロギ
ングデータは保存されるので、システムダウンした場合
に直ちに、システムのリセットを行うことが出来ること
になる。
In the structure of claim 1 of FIG. 1, the CPU is a ROM.
While starting the main program inside, write the logging information in the main memory to the common RAM.
It continues from the occurrence of the CPU alarm to the reset. The logging data written in the common RAM is
The sub CPU for logging information transfer reads out and transfers to the logging information storage unit (10). In this case, if the logging information storage unit (10) is an electrical write / erase type ROM (EEPRO
If it is composed of M), the write cycle must be taken into consideration, and the sub CPU performs the processing.
However, the start / stop of the logging information transfer is started by the main CPU.
It is controlled by an alarm signal detected by the side abnormality detection circuit (11). That is, the data transfer from the common RAM to the logging information storage unit (10) is performed only during the period when the main CPU is operating normally, and the data during the CPU alarm is not transferred. This prevents the logging data from being overwritten. According to the configuration of claim 1 of the present invention, since the logging data is saved even when the CPU is reset, the system can be reset immediately when the system goes down.

【0010】図2の請求項2の構成では、請求項1の構
成にて副CPUのROMのソフトウェアを使用してロ
ギングデータをロギング情報記憶部(10)へ転送していた
ものを、データ転送制御部 というハードウェアにて
行う。データ転送制御部 は共通RAMに対しては
アドレス情報と読出制御信号を、ロギング情報記憶部(1
0)に対してはアドレス情報と書込制御信号をそれぞれ送
出する。これにより、共通RAMからロギング情報記
憶部(10)へデータ転送が行われる。後は、アドレス値を
順次変えて行く事により, データが順次転送されて行く
ことになる。
In the structure of claim 2 of FIG. 2, the data transfer of the logging data transferred to the logging information storage section (10) by using the software of the ROM of the sub CPU in the structure of claim 1 is carried out. This is done by hardware called the control unit. The data transfer control unit sends address information and read control signals to the common RAM, and the logging information storage unit (1
Address information and a write control signal are sent to 0). As a result, data is transferred from the common RAM to the logging information storage unit (10). After that, the data is sequentially transferred by sequentially changing the address value.

【0011】図3の請求項3の構成では、請求項2の構
成の共通RAMをFIFOメモリに置き換えること
により、請求項2の構成では共通RAMで受け渡しを
行っていたアドレス情報を削除することが出来て回路が
簡素化される。
In the configuration of claim 3 of FIG. 3, by replacing the common RAM of the configuration of claim 2 with a FIFO memory, it is possible to delete the address information that was transferred by the common RAM in the configuration of claim 2. It is possible and the circuit is simplified.

【0012】図4の請求項4の構成では、CPUがロ
ギング情報記憶部(10)に対して直接にロギング情報を書
き込むようになるが、CPUアラーム発生後は、CPU
がロギング情報記憶部(10)にアクセスしてデータを破
壊してしまわない様に、バスコントロール部がアラー
ムの発生後は、バスを切り離すようになっている。
In the configuration of claim 4 of FIG. 4, the CPU directly writes the logging information to the logging information storage unit (10), but after the CPU alarm occurs, the CPU
The bus control unit disconnects the bus after the alarm occurs so that the data will not be destroyed by accessing the logging information storage unit (10).

【0013】図5の請求項5の構成は、請求項1〜4が
CPUの処理の履歴のロギング情報の収集について行わ
れているのに対し、異常要因のロギングについて行われ
ている。CPUは、割込みが発生した場合は、書込み
サイクルの信頼性を向上する為に、主記憶部とは別に設
けられたバックアップ電源を持つSRAMに書き込み、
その後、CPUが自分自身にリセットを掛ける。この
場合、単なるレジスタのみで構成すると、リセットが掛
かり続けるので、タイマ回路にて一定時間のみリセット
が掛かる様にする。また、リセット後、CPUがSRA
Mに対して要因の書き込みを行う際に、前に書かれた領
域への上書きを防止するため、要因有無のレジスタ(14)
を設け、CPUが要因をSRAMに書き込むとともに、
要因有無レジスタ(14)に表示ビットを立てる。リセット
後、其の表示ビットが立っている場合には書き込みを行
わない様にすることで、上書きの防止ができる。
The configuration of claim 5 in FIG. 5 is carried out for logging of an abnormal factor, while claims 1 to 4 are carried out for collecting logging information of the history of processing of the CPU. When an interrupt occurs, the CPU writes to an SRAM having a backup power supply provided separately from the main memory to improve the reliability of the write cycle,
After that, the CPU resets itself. In this case, if the configuration is made up of only registers, the reset will continue to take place. Therefore, the timer circuit is made to reset only for a certain period of time. Also, after reset, the CPU
When writing a factor to M, in order to prevent overwriting to the previously written area, the factor presence / absence register (14)
And the CPU writes the factor to the SRAM,
Set the display bit in the factor presence / absence register (14). After the reset, if the display bit is set, writing is not performed to prevent overwriting.

【0014】[0014]

【実施例】図6は請求項1に対応する実施例の構成を示
し、共通RAM は Dual Port RAMで構成され、ロギング
情報記憶部(10)は不揮発性メモリの EEPROM で構成され
ていて、副CPUは、パワーオンリセット回路とソフ
トウェア内蔵のROMとを備えている。
[Embodiment] FIG. 6 shows a structure of an embodiment corresponding to claim 1. The common RAM is composed of Dual Port RAM, and the logging information storage section (10) is composed of EEPROM of nonvolatile memory. The CPU includes a power-on reset circuit and a ROM containing software.

【0015】図7は請求項2に対応する実施例の構成を
示し、共通RAM は Dual Port RAMで構成され、ロギン
グ情報記憶部(10)は不揮発性メモリの EEPROM で構成さ
れていて、データ転送制御部は、アラーム信号入力に
対するタイミング制御回路とクロックのカウンタ回路と
で構成されている。
FIG. 7 shows the configuration of an embodiment corresponding to claim 2, wherein the common RAM is composed of Dual Port RAM, the logging information storage unit (10) is composed of EEPROM of a non-volatile memory, and data transfer is performed. The control unit includes a timing control circuit for inputting an alarm signal and a clock counter circuit.

【0016】図8は請求項3に対応する実施例の構成を
示し、図7の Dual Port RAMの代りに、FIFOメモリ
が使用されている。図9は請求項4に対応する実施例の
構成を示し、バスコントロール部は、アラーム信号入
力と、主記憶部,補助記憶部からのデータ,アドレ
スのレジスタの出力とを入力とするラッチ回路と,其の
出力をイネーブル信号としてバスの制御を行うバッファ
とから構成される。
FIG. 8 shows the configuration of an embodiment corresponding to claim 3, and a FIFO memory is used instead of the Dual Port RAM of FIG. FIG. 9 shows the configuration of an embodiment corresponding to claim 4, wherein the bus control unit is provided with a latch circuit which receives an alarm signal input and outputs of a data register and an address register from the main memory unit and the auxiliary memory unit. , A buffer which controls the bus by using the output as an enable signal.

【0017】図10は請求項5に対応する実施例の構成を
示し、CPUは、割込みが発生した場合には、主記憶
部とは別のバックアップ電源を持つSRAMに書
き込み、その後、自分自身にリセットを掛ける。この場
合、タイマ回路(13)のワンショットパルス生成部にて、
一定時間のみリセットが掛かる様にする。また、リセッ
ト後、CPUがSRAMに対して割込要因の書き込
みを行う際に、前に書かれた領域への上書きを防止する
ため、要因をSRAMに書き込むとともに、要因有無
レジスタ(14)に表示ビットを立てる。リセット後、其の
表示ビットが立っている場合には書き込みを行わない様
にすることで、上書きが防止される。
FIG. 10 shows a configuration of an embodiment corresponding to claim 5, and when an interrupt occurs, the CPU writes to an SRAM having a backup power source different from the main memory unit, and then writes to itself. Apply a reset. In this case, in the one-shot pulse generator of the timer circuit (13),
Make sure that the reset is applied only for a certain period of time. After the reset, when the CPU writes the interrupt factor to the SRAM, in order to prevent the previously written area from being overwritten, the factor is written to the SRAM and displayed in the factor presence / absence register (14). Set a bit After resetting, if the display bit is set, writing is not performed to prevent overwriting.

【0018】[0018]

【発明の効果】以上説明した如く、本発明によれば、C
PUシステムの異常時のロギング情報を確実に入手する
ことが出来て、また、システムを人的作業を介さずに直
ぐに再スタートさせることが可能となるので、CPUシ
ステムを無人局等に設置した場合の異常発生の原因解析
のスピードアップ等の効果が得られる。
As described above, according to the present invention, C
When the CPU system is installed in an unmanned station, it is possible to obtain logging information when the PU system is abnormal, and to restart the system immediately without any human work. The effect of speeding up the cause analysis of the abnormal occurrence of is obtained.

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

【図1】 本発明の請求項1のCPUシステムにおける
ロギング情報の収集方法の基本構成を示す原理図
FIG. 1 is a principle diagram showing a basic configuration of a logging information collecting method in a CPU system according to claim 1 of the present invention.

【図2】 本発明の請求項2のロギング情報の収集方法
の構成を示す原理図
FIG. 2 is a principle diagram showing a configuration of a logging information collecting method according to claim 2 of the present invention.

【図3】 本発明の請求項3のロギング情報の収集方法
の構成を示す原理図
FIG. 3 is a principle diagram showing a configuration of a logging information collecting method according to claim 3 of the present invention.

【図4】 本発明の請求項4のロギング情報の収集方法
の構成を示す原理図
FIG. 4 is a principle diagram showing a configuration of a logging information collecting method according to claim 4 of the present invention.

【図5】 本発明の請求項5のCPUへの割込要因のロ
ギング情報の収集方法の基本構成を示す原理図
FIG. 5 is a principle diagram showing a basic configuration of a method of collecting logging information of an interrupt factor to a CPU according to claim 5 of the present invention.

【図6】 本発明の請求項1に対応する実施例の構成図FIG. 6 is a configuration diagram of an embodiment corresponding to claim 1 of the present invention.

【図7】 本発明の請求項2に対応する実施例の構成図FIG. 7 is a configuration diagram of an embodiment corresponding to claim 2 of the present invention.

【図8】 本発明の請求項3に対応する実施例の構成図FIG. 8 is a configuration diagram of an embodiment corresponding to claim 3 of the present invention.

【図9】 本発明の請求項4に対応する実施例の構成図FIG. 9 is a configuration diagram of an embodiment corresponding to claim 4 of the present invention.

【図10】本発明の請求項5に対応する実施例の構成図FIG. 10 is a configuration diagram of an embodiment corresponding to claim 5 of the present invention.

【図11】従来のCPUシステムにおけるロギング情報
の収集方法の構成図
FIG. 11 is a configuration diagram of a logging information collecting method in a conventional CPU system.

【図12】従来のロギング情報の収集方法の動作フロー
FIG. 12 is an operation flow diagram of a conventional logging information collection method.

【符号の説明】 は主CPU、はリセット回路、はROM、は主
記憶部、は補助記憶部、はI/Oポート、は外部
端末、は共通RAM又はFIFOメモリ又はバスコン
トロール部、は副CPU又はデータ転送制御部、(10)
はロギング情報記憶部、(11)は異常検出部である。
[Explanation of reference symbols] is a main CPU, is a reset circuit, is a ROM, is a main memory unit, is an auxiliary memory unit, is an I / O port, is an external terminal, is a common RAM or FIFO memory or a bus control unit, and is a sub CPU Or data transfer control unit, (10)
Is a logging information storage unit, and (11) is an abnormality detection unit.

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 CPUシステムのシステムバス(100) 上
に主CPU(1)により主記憶部(4)からのロギング情報の
書込みと読出しとを同時に行える共通RAM(8)と、該
共通RAMのデータが転送される先の不揮発性メモリの
ロギング情報記憶部(10)と、該共通RAMのデータを自
ROM内のプログラムにより該ロギング情報記憶部(10)
へ転送する副CPU(9) とを備えて、CPUシステムが
異常となった場合に、其の時までの主CPU(1)による
処理経過のロギング情報がクリアされずに該ロギング情
報記憶部(10)に保管されることを特徴とするCPUシス
テムにおけるロギング情報の収集方法。
1. A common RAM (8) for simultaneously writing and reading logging information from a main memory (4) by a main CPU (1) on a system bus (100) of a CPU system, and a common RAM (8) The logging information storage unit (10) of the non-volatile memory to which the data is transferred, and the logging information storage unit (10) of the data of the common RAM by the program in its own ROM.
When the CPU system becomes abnormal, the logging information of the processing progress by the main CPU (1) up to that time is not cleared, and the logging information storage section ( A method for collecting logging information in a CPU system, characterized by being stored in 10).
【請求項2】 前記の副CPU(9) の代りに、主CPU
(1)が異常検出部(11)にてシステムの異常を検出した時
に、データ転送のタイミング制御信号(c1,c2)を発生し,
其の時迄に共通RAM(8)に書き込まれたロギング情報
を読み出し、不揮発性メモリのロギング情報記憶部(10)
へデータの転送を行うデータ転送制御部(9) を具えたこ
とを特徴とする前記請求項1記載のCPUシステムにお
けるロギング情報の収集方法。
2. The main CPU instead of the sub CPU (9)
When (1) detects a system error in the error detection unit (11), it generates the data transfer timing control signals (c1, c2),
By that time, the logging information written in the common RAM (8) is read and the logging information storage unit (10) of the non-volatile memory is read.
2. The method for collecting logging information in a CPU system according to claim 1, further comprising a data transfer control unit (9) for transferring data to the.
【請求項3】 前記の共通RAM(8)の代りに、通常時
はCPU(1)からの書き込みを順次に受け付け,ロギン
グ情報記憶部(10)へハード的に読み出して更新された出
力を送出するFIFOメモリ(8) を具え、主CPU(1)
が異常検出部(11)にてシステムの異常を検出した時は、
前記データ転送制御部(9) からのタイミング制御信号(c
1,c2) により、該FIFOメモリ(8) への書込み入力が
不可となり, 出力のロギング情報の更新が行われず保持
されることを特徴とする前記請求項1記載のCPUシス
テムにおけるロギング情報の収集方法。
3. Instead of the common RAM (8), normally, writing from the CPU (1) is sequentially accepted, and the updated output is sent to the logging information storage unit (10) by hardware. Main CPU (1) with FIFO memory (8)
Is detected by the abnormality detection unit (11),
Timing control signal (c
2. The collecting of logging information in the CPU system according to claim 1, wherein the writing input to the FIFO memory (8) is disabled by 1, c2) and the logging information of the output is held without being updated. Method.
【請求項4】 前記のシステムバス(100) に対し、通常
時にはCPU(1)からの書き込みが出来るイネーブル状
態とし, 異常時には次にシステムが復旧しても直ぐには
データの書き込みが出来ないディセーブル状態とするバ
スコントロール部(8) と、異常発生時までのCPU(1)
の処理情報を記憶する不揮発性メモリのロギング情報記
憶部(10)とを具え、CPU(1)が再リセットされて主記
憶部(4)がクリアされても,ロギング情報記憶部(10)の
ロギング情報はクリアされずに保持されることを特徴と
する前記請求項1記載のCPUシステムにおけるロギン
グ情報の収集方法。
4. The system bus (100) is set to an enable state in which writing from the CPU (1) can be normally performed, and in the event of an abnormality, data cannot be immediately written even if the system is next restored. Bus control part (8) to be in a state, and CPU (1) until an error occurs
And a logging information storage unit (10) of a non-volatile memory for storing the processing information of the logging information storage unit (10) even if the CPU (1) is reset again and the main storage unit (4) is cleared. 2. The method for collecting logging information in a CPU system according to claim 1, wherein the logging information is held without being cleared.
【請求項5】 前記のCPUシステムにおいて、電源断
に予め備えた電源バックアップ部(9)と、該電源バック
アップ部でバックアップされたSRAM(8)と,CPU
(1)に対し割込み要因発生の通知を行う割込要因検出部
(2)と,割込み要因の詳細情報をCPU(1)に送出する割
込要因レジスタ(11)と, CPUが書き込みを行なえるリ
セット用レジスタ(12)と, 該リセット用レジスタ(12)に
データが書き込まれた時に一定時間だけ動作するタイマ
部(13)と, 該SRAM(8)内に割込情報がロギングされ
ているか否かを示す要因有無レジスタ(14)とを具え、該
CPU(1)がSRAM(8)の内容を読み出し其れが割込情
報であると認識した場合には、CPU(1)がリセット用
レジスタ(12)に対しリセット信号を書き込むことによ
り,自分(1)にリセットを掛けて再起動することを特徴
とするCPUシステムにおけるロギング情報の収集方
法。
5. In the CPU system, a power backup unit (9) prepared in advance for power interruption, an SRAM (8) backed up by the power backup unit, and a CPU
Interrupt factor detector that notifies (1) that an interrupt factor has occurred.
(2), an interrupt factor register (11) that sends detailed information of interrupt factors to the CPU (1), a reset register (12) to which the CPU can write, and data to the reset register (12). The CPU (1) is provided with a timer section (13) that operates for a fixed time when is written, and a factor presence / absence register (14) that indicates whether or not interrupt information is logged in the SRAM (8). ) Reads out the contents of SRAM (8) and recognizes that it is the interrupt information, CPU (1) writes a reset signal to the reset register (12) to notify itself (1). A method of collecting logging information in a CPU system, characterized by resetting and restarting.
JP6107186A 1994-05-20 1994-05-20 Method for collecting logging information in cpu system Withdrawn JPH07319816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6107186A JPH07319816A (en) 1994-05-20 1994-05-20 Method for collecting logging information in cpu system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6107186A JPH07319816A (en) 1994-05-20 1994-05-20 Method for collecting logging information in cpu system

Publications (1)

Publication Number Publication Date
JPH07319816A true JPH07319816A (en) 1995-12-08

Family

ID=14452658

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6107186A Withdrawn JPH07319816A (en) 1994-05-20 1994-05-20 Method for collecting logging information in cpu system

Country Status (1)

Country Link
JP (1) JPH07319816A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009205633A (en) * 2008-02-29 2009-09-10 Nec Infrontia Corp Information processing system, and information processing method
JP2015032249A (en) * 2013-08-06 2015-02-16 富士ゼロックス株式会社 Information processor and program
EP2869189A1 (en) 2013-11-01 2015-05-06 Fujitsu Limited Boot up of a multiprocessor computer

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009205633A (en) * 2008-02-29 2009-09-10 Nec Infrontia Corp Information processing system, and information processing method
JP2015032249A (en) * 2013-08-06 2015-02-16 富士ゼロックス株式会社 Information processor and program
US9501248B2 (en) 2013-08-06 2016-11-22 Fuji Xerox Co., Ltd Information processing apparatus and recording medium
EP2869189A1 (en) 2013-11-01 2015-05-06 Fujitsu Limited Boot up of a multiprocessor computer
US9747114B2 (en) 2013-11-01 2017-08-29 Fujitsu Limited Information processing apparatus, boot up method, and computer-readable storage medium storing boot up program

Similar Documents

Publication Publication Date Title
US6336174B1 (en) Hardware assisted memory backup system and method
KR100444537B1 (en) Data processor
KR960035229A (en) Computer system and its control method
JPH10177563A (en) Microcomputer with built-in flash memory
JPH10240873A (en) Ic card
JP2002062956A (en) Service interruption processing method and service interruption processing device
JPH07319816A (en) Method for collecting logging information in cpu system
JPH10307726A (en) System for firmware recovery at time of start error
US6868510B1 (en) Terminal with corrective maintenance in accordance with selected mode
JP3407021B2 (en) Microcomputer
JP3087650B2 (en) Automatic power recovery method
JP2000322333A (en) Automatic saving/automatic restoration system and method for information specific to computer system
JP3191282B2 (en) Failure information data collection method
JP2019159882A (en) Controller and data storage method
JPH08220198A (en) Battery backup memory unit and backup function testing method
JPH0724917Y2 (en) Backup power supply circuit
JPS61125652A (en) Control system
JP2641996B2 (en) Data retention method
JPH0341538A (en) Main storage device
JPH10133958A (en) Communication device control circuit
JP2000020498A (en) Microcomputer and its restoring method
JPH06282451A (en) System-down recovering method for device equipped with microprocessor
JPH11222365A (en) Elevator control device
JPH096651A (en) Scsi tracer device
JPH06250860A (en) Data processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20010731