JPH04337849A - Memory dump method - Google Patents

Memory dump method

Info

Publication number
JPH04337849A
JPH04337849A JP3110258A JP11025891A JPH04337849A JP H04337849 A JPH04337849 A JP H04337849A JP 3110258 A JP3110258 A JP 3110258A JP 11025891 A JP11025891 A JP 11025891A JP H04337849 A JPH04337849 A JP H04337849A
Authority
JP
Japan
Prior art keywords
memory
dump
memory dump
program
cpu
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
JP3110258A
Other languages
Japanese (ja)
Inventor
Toshio Araki
敏夫 荒木
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.)
Mitsubishi Electric Corp
Original Assignee
Mitsubishi Electric 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 Mitsubishi Electric Corp filed Critical Mitsubishi Electric Corp
Priority to JP3110258A priority Critical patent/JPH04337849A/en
Publication of JPH04337849A publication Critical patent/JPH04337849A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To eliminate a futile dump processing so as to save a memory dump sheet by inputting a command designating the type of a memory to be dumped. CONSTITUTION:When CPU 2 is started, it is judged whether the memory dump sheet is installed on an FDD installation part 7 or not (S1). Usually, it is not installed and therefore OS is loaded from HDD (S2). An operator inputs the command by K/B 10 (S3). OS executes a program instructed by the command (S4). When a fault occurs while S4 is operated, the operator installs the memory dump sheet, starts CPU 2, loads the memory dump program on a standard memory 3 and executes a processing. (S5). The operator inputs the type of the memory becoming the object of dump from K/B 10 (S6). The memory dump program judges whether all the memories are the standard memory 3 or a two ports memory (S7) and dumps only the necessary memories.

Description

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

【0001】0001

【産業上の利用分野】本発明は、CPUを用いた制御装
置で障害が発生した場合、その障害発生の原因を探究す
る等の目的のため障害発生時点におけるメモリの内容を
保存するメモリ・ダンプ方法に関するものである。
[Industrial Application Field] When a failure occurs in a control device using a CPU, the present invention provides a memory dump system that saves the contents of memory at the time of failure for the purpose of investigating the cause of the failure. It is about the method.

【0002】0002

【従来の技術】図2は、本発明の対象であるコンピュー
タのハードウェアを示すブロック図で、図において、1
はコンピュータの主要部分を搭載するシステム・ボード
、2はシステム・ボード1内のCPU、3は標準メモリ
(容量は例えば640KB)、4は増設メモリ(容量は
例えば0.5〜10MB)、5はディスク制御部、6は
ハードディスク(HDDと略記する)装着部、7はフレ
キシブルディスク(FDDと略記する)装着部、8は表
示装置やキーボードを制御する表示,K/B制御部、9
は表示装置(CRTと略記する)、10はキーボード(
K/Bと略記する)、11は2ポートメモリ制御部であ
る。
2. Description of the Related Art FIG. 2 is a block diagram showing the hardware of a computer, which is the object of the present invention.
is the system board on which the main parts of the computer are mounted, 2 is the CPU in system board 1, 3 is the standard memory (capacity is e.g. 640KB), 4 is the expansion memory (capacity is e.g. 0.5 to 10MB), and 5 is the A disk control section, 6 a hard disk (abbreviated as HDD) mounting section, 7 a flexible disk (abbreviated as FDD) mounting section, 8 a display and K/B control section for controlling a display device and a keyboard, 9
10 is a display device (abbreviated as CRT), and 10 is a keyboard (
(abbreviated as K/B), 11 is a 2-port memory control unit.

【0003】また、12は通信制御装置、13は通信制
御装置12内のCPU、14はローカルメモリ、15は
通信回線、16は通信制御部、17は2ポートメモリ(
容量は例えば256KB)であり、表示,K/B制御部
8,CRT9,K/B10で対話的入力手段を構成して
いる。
Further, 12 is a communication control device, 13 is a CPU in the communication control device 12, 14 is a local memory, 15 is a communication line, 16 is a communication control unit, and 17 is a 2-port memory (
The capacity is, for example, 256 KB), and the display, K/B control unit 8, CRT 9, and K/B 10 constitute interactive input means.

【0004】このコンピュータを通信網を介してホスト
・コンピュータ(図示せず)と接続して端末として利用
する場合、操作員がK/B10から端末エミュレータ起
動コマンドをキー入力すると、標準メモリ3に格納され
ているオペレーティング・システム(OSと略記する)
が端末エミュレータ・プログラムをHDD6から標準メ
モリ3へロードして起動する。
[0004] When this computer is used as a terminal by connecting it to a host computer (not shown) via a communication network, when an operator inputs a terminal emulator startup command from the K/B 10, the command is stored in the standard memory 3. operating system (abbreviated as OS)
loads the terminal emulator program from the HDD 6 to the standard memory 3 and starts it.

【0005】そして、起動された端末エミュレータ・プ
ログラムが、2ポートメモリ17へ送信データと送信要
求とを書き込むと、CPU13が通信制御部16を介し
通信回線15へ当該送信データを送信する。また、通信
回線15からデータを受信すると、CPU13は2ポー
トメモリ17へ受信データと受信要求とを書き込み、C
PU2が当該受信データを読み取り処理する。
[0005] Then, when the activated terminal emulator program writes transmission data and a transmission request to the two-port memory 17, the CPU 13 transmits the transmission data to the communication line 15 via the communication control section 16. Further, when receiving data from the communication line 15, the CPU 13 writes the received data and a reception request to the 2-port memory 17, and
PU2 reads and processes the received data.

【0006】2ポートメモリ17には、その他に通信規
約に基づいた通信制御に使用するコマンド/応答の通信
実行トレースや回線エラーや通信規約エラーの統計情報
がCPU13により書き込まれる。
In addition, the CPU 13 writes into the 2-port memory 17 communication execution traces of commands/responses used for communication control based on the communication protocol, and statistical information on line errors and communication protocol errors.

【0007】このコンピュータをオフィス・オートメー
ション(OAと略記する)業務に使用する場合は、操作
員は端末エミュレータ・プログラムの実行を終了させ、
OAプログラム起動コマンドをキー入力する。OAプロ
グラムは標準メモリ3にロードされ起動される。OAプ
ログラムがその作業用に大きなメモリ容量を必要とする
場合、増設メモリ4を使用する。
[0007] When using this computer for office automation (abbreviated as OA) work, the operator terminates the execution of the terminal emulator program,
Key-in the OA program start command. The OA program is loaded into the standard memory 3 and started. If the OA program requires a large memory capacity for its work, the additional memory 4 is used.

【0008】図3は図2のCPU2から見たメモリアド
レスを示す図であり、アドレスは16進数で表してある
。例えば、640KBの標準メモリ3はアドレス0番地
から9FFFF番地に割り付けられ、0.5〜10MB
の増設メモリ4は100000番地から割り付けられ、
この領域はOAプログラムの作業用に使用する。256
KBの2ポートメモリ17はF80000番地からFB
0000番地に割り付けられる。
FIG. 3 is a diagram showing memory addresses seen from the CPU 2 in FIG. 2, and the addresses are expressed in hexadecimal. For example, standard memory 3 of 640KB is allocated from address 0 to address 9FFFF, and has a size of 0.5 to 10MB.
The additional memory 4 of is allocated from address 100000,
This area is used for OA program work. 256
KB 2-port memory 17 is from address F80000 to FB
Allocated to address 0000.

【0009】図4は従来の方法における動作を示すフロ
ーチャートであって、図において、S1〜S5およびS
9はそれぞれ各ステップを示す。CPU2をスタートさ
せると、メモリダンプ・プログラムを格納したFDDで
あるメモリダンプ・シートがFDD装着部7に装着され
ているか否かを判定する(S1)。通常の動作の場合に
は、メモリダンプ・シートが装着されてないので、S2
に移り、HDDからOSをロードする。
FIG. 4 is a flowchart showing the operation of the conventional method. In the figure, S1 to S5 and S
9 indicates each step. When the CPU 2 is started, it is determined whether a memory dump sheet, which is an FDD storing a memory dump program, is attached to the FDD attachment section 7 (S1). In normal operation, the memory dump sheet is not installed, so S2
, and load the OS from the HDD.

【0010】OSが起動されるとK/B10からのコマ
ンド入力待ちとなる(S2)。操作員はK/B10によ
って端末エミュレータ・プログラムを起動するか、OA
プログラムを起動するかのコマンドを入力する(S3)
。OSは入力されたコマンドで指示されるプログラムを
HDD6から読み出して標準メモリ3に入力してこれを
実行する(S4)。この実行が終了すると再びコマンド
入力待ちとなる。
[0010] When the OS is started, it waits for command input from the K/B 10 (S2). The operator can use the K/B10 to launch a terminal emulator program or use the OA
Enter the command to start the program (S3)
. The OS reads the program specified by the input command from the HDD 6, inputs it to the standard memory 3, and executes it (S4). Once this execution is complete, the program will wait for command input again.

【0011】端末エミュレータ・プログラムの実行のた
めの作業メモリとしては,標準メモリ3内の記憶領域を
使用することができるが、OAプログラム実行のための
作業メモリには,広いメモリ領域を必要とする場合があ
るので、標準メモリ3の他に増設メモリ4をも使用する
[0011] Although the storage area in the standard memory 3 can be used as the working memory for executing the terminal emulator program, a wide memory area is required for the working memory for executing the OA program. In some cases, an additional memory 4 is used in addition to the standard memory 3.

【0012】ステップS4の動作中に障害が発生した場
合、操作員はメモリダンプ・シートをFDD装着部7に
装着して、CPU2を再スタートさせる。この再スター
トに際しては標準メモリ3,増設メモリ4,2ポートメ
モリ17の内容が蒸発しないように配慮されている。ス
テップS1からS5に移り、メモリダンプ・シートから
メモリダンプ・プログラムを標準メモリ3にロードして
これを実行する。メモリダンプ・プログラムの実行によ
り、標準メモリ3,増設メモリ4,2ポートメモリ17
の全部のメモリの内容がメモリダンプ・シートにダンプ
され(S9)、発生した障害の解析に用いられる。
[0012] If a failure occurs during the operation of step S4, the operator attaches the memory dump sheet to the FDD mounting section 7 and restarts the CPU 2. At this restart, care is taken to prevent the contents of the standard memory 3, additional memory 4, and 2-port memory 17 from evaporating. Moving from step S1 to S5, a memory dump program is loaded from the memory dump sheet into the standard memory 3 and executed. By executing the memory dump program, standard memory 3, expansion memory 4, 2-port memory 17
The contents of all memories are dumped onto a memory dump sheet (S9) and used for analyzing the fault that has occurred.

【0013】[0013]

【発明が解決しようとする課題】解決しようとする問題
点は、上記のような従来のメモリ・ダンプ方法は、ステ
ップS9において全メモリがダンプされるが、端末エミ
ュレータ・プログラムを実行中は増設メモリ4が使用さ
れておらず、これをダンプする必要はないにも係わらず
、端末エミュレータ・プログラムを実行中に障害が発生
した場合でも全メモリがダンプされてしまうという無駄
が発生する点にある。すなわち、増設メモリ4の容量が
3MBの場合、メモリダンプ・シートの容量は通常1M
B程度であるので、増設メモリ4をダンプするだけで3
枚のメモリダンプ・シートを必要とし、それだけ長い時
間を無駄にする等の問題点があった。
[Problems to be Solved by the Invention] The problem to be solved is that in the conventional memory dump method as described above, all memory is dumped in step S9, but while the terminal emulator program is running, the additional memory is 4 is not used and there is no need to dump it, but even if a failure occurs while the terminal emulator program is being executed, the entire memory will be dumped, which is wasteful. In other words, if the capacity of the additional memory 4 is 3MB, the capacity of the memory dump sheet is usually 1MB.
Since it is about B, just dumping the additional memory 4 will save 3
This method requires multiple memory dump sheets, which leads to problems such as wasting a lot of time.

【0014】本発明はかかる課題を解決するためになさ
れたもので、障害の解析に必要なメモリ内容だけをダン
プするメモリ・ダンプ方法を提供することを目的として
いる。
The present invention has been made to solve the above problems, and an object of the present invention is to provide a memory dump method that dumps only the memory contents necessary for failure analysis.

【0015】[0015]

【課題を解決するための手段】本発明に係わるメモリ・
ダンプ方法は、メモリダンプ・シートからメモリダンプ
・プログラムをロードしてその実行を開始するに際し、
どのメモリ内容をダンプすべきかというコマンドを対話
的入力装置を使用して入力することを最も主要な特徴と
している。なお、メモリ・ダンプに関する先行技術とし
ては、特開昭64−25255号公報,特開平2−28
2838号公報,特開平2−280239号公報などに
開示されたものがあるが、これらの先行技術にはメモリ
ダンプ・プログラムの実行の都度操作員からコマンドを
入力する方法がなく、本発明の方法のように、状況の変
化に対して良好に適応することができないと言う問題点
が残る。
[Means for solving the problems] A memory device according to the present invention
The dump method is to load the memory dump program from the memory dump sheet and start its execution.
The main feature is that a command indicating which memory contents should be dumped is input using an interactive input device. Prior art related to memory dumps include Japanese Patent Application Laid-Open No. 64-25255 and Japanese Patent Application Laid-Open No. 2-28.
There are methods disclosed in Japanese Patent Application Laid-open No. 2838 and Japanese Patent Application Laid-Open No. 2-280239, but these prior arts do not have a method for inputting a command from an operator each time a memory dump program is executed, and the method of the present invention does not have a method. However, the problem remains that they are unable to adapt well to changes in the situation.

【0016】[0016]

【作用】本発明においては、メモリダンプ・シートから
メモリダンプ・プログラムを読み出し、標準メモリの特
定領域に当該プログラムをロード後に起動されたメモリ
ダンプ・プログラムに対し、操作員がダンプの対象とな
るメモリの種別を指定することにより、障害発生の原因
調査に必要なメモリ内容だけダンプできる。
[Operation] In the present invention, the operator reads the memory dump program from the memory dump sheet, loads the program into a specific area of standard memory, and then starts the memory dump program. By specifying the type, you can dump only the memory contents necessary for investigating the cause of the failure.

【0017】[0017]

【実施例】図1は本発明の一実施例を示すフローチャー
トであって、図において、図4と同一符号は同一または
相当ステップを示し、S6,S7,S8は、それぞれこ
の実施例で追加されたステップを示す。なお、図4と同
一ステップでは従来のメモリ・ダンプ方法と同一または
相当の動作が実行されるので、ここではその説明は省略
する。
[Embodiment] FIG. 1 is a flowchart showing an embodiment of the present invention. In the figure, the same reference numerals as in FIG. 4 indicate the same or corresponding steps, and S6, S7, and S8 are added in this embodiment. The following steps are shown below. Note that in the same steps as in FIG. 4, the same or equivalent operations as those in the conventional memory dump method are executed, so the explanation thereof will be omitted here.

【0018】ステップS5が実行されると、CRT9上
にダンプ対象メモリ種別の入力を待つ表示がなされる。 操作員はダンプの対象となるメモリ種別をK/B10か
ら入力する(S6)。メモリダンプ・プログラムはK/
B10から入力されたメモリ種別が、全メモリか、ある
いは標準メモリと2ポートメモリかを判定する(S7)
。そして、この判定結果に従ってステップS8かステッ
プS9へ移る。
When step S5 is executed, a display is displayed on the CRT 9 to wait for input of the type of memory to be dumped. The operator inputs the memory type to be dumped from the K/B 10 (S6). Memory dump program is K/
Determine whether the memory type input from B10 is all memory, standard memory or 2-port memory (S7)
. Then, the process moves to step S8 or step S9 according to this determination result.

【0019】ステップS8では標準メモリ3と2ポート
メモリ17の内容だけがダンプされるが、端末エミュレ
ータ・プログラムを実行中に発生した障害の解析には増
設メモリ4のダンプが必要なくなる。
Although only the contents of the standard memory 3 and the two-port memory 17 are dumped in step S8, the dump of the additional memory 4 is no longer necessary to analyze a failure that occurs during execution of the terminal emulator program.

【0020】なお、ダンプすべきメモリの種類別にメモ
リダンプ・プログラムを作っておき、ステップS6でど
のプログラムを実行するかを指定してもよい。
Note that memory dump programs may be created for each type of memory to be dumped, and which program is to be executed may be specified in step S6.

【0021】[0021]

【発明の効果】以上説明したように本発明のメモリ・ダ
ンプ方法は、メモリダンプ・プログラムにメモリ・ダン
プの対象となるメモリ領域を、操作員が指定,選択でき
るようにしたので、障害の解析に必要なメモリ内容だけ
をダンプでき、無駄なダンプ処理を無くしメモリダンプ
・シートの節約が図れる等の利点がある。
[Effects of the Invention] As explained above, the memory dump method of the present invention allows the operator to specify and select the memory area to be dumped in the memory dump program, so that trouble analysis is possible. This method has advantages such as being able to dump only the memory contents necessary for the process, eliminating unnecessary dump processing, and saving memory dump sheets.

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

【図1】本発明の一実施例を示すフローチャートである
FIG. 1 is a flowchart showing one embodiment of the present invention.

【図2】本発明の対象であるコンピュータのハードウェ
アを示すブロック図である。
FIG. 2 is a block diagram showing the hardware of a computer that is the subject of the present invention.

【図3】図2のCPUから見たメモリアドレスを示す図
である。
FIG. 3 is a diagram showing memory addresses seen from the CPU in FIG. 2;

【図4】従来の方法における動作を示すフローチャート
である。
FIG. 4 is a flowchart showing operations in a conventional method.

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

3  標準メモリ 4  増設メモリ 17  2ポートメモリ 3 Standard memory 4. Expansion memory 17 2-port memory

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】  端末エミュレータとして通信制御装置
を介しデータの送受信を実行するときはCPUが標準メ
モリおよび上記通信制御装置とのインタフェースとなる
2ポートメモリを使用し、オフィス・オートメーション
の制御を実行するときは上記CPUが上記標準メモリと
増設メモリとを使用する場合のメモリ・ダンプ方法にお
いて、メモリ・ダンプの必要を認めた場合、メモリ・ダ
ンプ用の不揮発性記憶装置であるメモリダンプ・シート
を装着した上で上記CPUを再スタートさせる段階、上
記CPUが上記メモリダンプ・シートからメモリダンプ
・プログラムを上記標準メモリにロードする段階、上記
CPUで上記メモリダンプ・プログラムの実行を開始す
るに当たり、当該CPUと操作員との間の対話的入力手
段を介し上記メモリダンプ・シートへダンプすべきメモ
リ範囲を指示する段階、上記CPUが上記メモリダンプ
・プログラムを実行し、指示された範囲のメモリを上記
メモリダンプ・シートへダンプする段階、を備えたこと
を特徴とするメモリ・ダンプ方法。
[Claim 1] When transmitting and receiving data via a communication control device as a terminal emulator, a CPU uses a standard memory and a 2-port memory serving as an interface with the communication control device to control office automation. In the memory dump method when the above CPU uses the above standard memory and additional memory, if the need for memory dump is recognized, a memory dump sheet, which is a non-volatile storage device for memory dump, is installed. a step in which the CPU loads the memory dump program from the memory dump sheet into the standard memory; a step in which the CPU starts executing the memory dump program; a step of instructing a memory range to be dumped to the memory dump sheet through an interactive input means between the CPU and the operator; A memory dump method comprising the step of dumping to a dump sheet.
【請求項2】  メモリダンプ・プログラムはダンプす
べきメモリ範囲に応じて複数種類作成されてメモリダン
プ・シートに格納されており、CPUの再スタートに際
しては複数種類のメモリダンプ・プログラムが全部標準
メモリにロードされ、操作員は対話的入力手段を介しど
のメモリダンプ・プログラムを実行するかを指示するこ
とを特徴とする請求項1のメモリ・ダンプ方法。
[Claim 2] Multiple types of memory dump programs are created according to the memory range to be dumped and stored in a memory dump sheet, and when the CPU is restarted, all of the multiple types of memory dump programs are transferred to the standard memory. 2. A memory dump method according to claim 1, wherein the memory dump program is loaded into a memory dump program and an operator instructs which memory dump program to execute through interactive input means.
JP3110258A 1991-05-15 1991-05-15 Memory dump method Pending JPH04337849A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3110258A JPH04337849A (en) 1991-05-15 1991-05-15 Memory dump method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3110258A JPH04337849A (en) 1991-05-15 1991-05-15 Memory dump method

Publications (1)

Publication Number Publication Date
JPH04337849A true JPH04337849A (en) 1992-11-25

Family

ID=14531133

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3110258A Pending JPH04337849A (en) 1991-05-15 1991-05-15 Memory dump method

Country Status (1)

Country Link
JP (1) JPH04337849A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08263331A (en) * 1995-03-22 1996-10-11 Kofu Nippon Denki Kk Information processing system
JP2015102903A (en) * 2013-11-21 2015-06-04 キヤノン株式会社 Information processor and control method therefor, and program

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08263331A (en) * 1995-03-22 1996-10-11 Kofu Nippon Denki Kk Information processing system
JP2015102903A (en) * 2013-11-21 2015-06-04 キヤノン株式会社 Information processor and control method therefor, and program

Similar Documents

Publication Publication Date Title
US7007077B1 (en) Remote maintenance method of an information processing apparatus
US20110179407A1 (en) Information processing device and a firmware updating method of the information processing device
JPH0644056A (en) Method for loading program
JPH0664538B2 (en) A method for interrupting batch task processing in a virtual machine data processing system
US6275930B1 (en) Method, computer, and article of manufacturing for fault tolerant booting
JPH04337849A (en) Memory dump method
JPH1139143A (en) Arithmetic unit, control method therefor, storage medium storing control program of the unit, electronic circuit device utilizing arithmetic unit, control method therefor and storage medium storing control program of the device
JPH10187454A (en) Bios reloading system
JPH11134204A (en) Stack protecting device
JP2009217709A (en) Virtual machine management system and computer, and program
JP2006039763A (en) Guest os debug supporting method and virtual computer manager
JP2001075810A (en) Computer system, extension board and method for updating extension board function in computer system
KR920003279B1 (en) Method for loading os & nos in data processing device
KR100477138B1 (en) Personal computer systems
KR20000025197A (en) Computer booting method for system diagnosis
JPH04243431A (en) Evaluation system for fault processing function
JPS6116098B2 (en)
JPH06250865A (en) Corresponding method to fault in window system
JP2661447B2 (en) I / O device test method
JPH056318A (en) Dynamic loading system for application program in pos controller
JPH1153215A (en) Server diagnostic method of remote control terminal
JP2001014013A (en) Numerical controller
JP2000215042A (en) In-operation update system for control program
JP2008257576A (en) Virtual machine execution device and backup program
JPH0497389A (en) Display control method for crt display device