JPH0934802A - Error display method in check program - Google Patents

Error display method in check program

Info

Publication number
JPH0934802A
JPH0934802A JP7182958A JP18295895A JPH0934802A JP H0934802 A JPH0934802 A JP H0934802A JP 7182958 A JP7182958 A JP 7182958A JP 18295895 A JP18295895 A JP 18295895A JP H0934802 A JPH0934802 A JP H0934802A
Authority
JP
Japan
Prior art keywords
ram
error
error display
program
display program
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
JP7182958A
Other languages
Japanese (ja)
Inventor
Tadashi Ito
忠 伊藤
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.)
Kyocera Corp
Original Assignee
Kyocera 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 Kyocera Corp filed Critical Kyocera Corp
Priority to JP7182958A priority Critical patent/JPH0934802A/en
Publication of JPH0934802A publication Critical patent/JPH0934802A/en
Pending legal-status Critical Current

Links

Landscapes

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

Abstract

PROBLEM TO BE SOLVED: To provide the error display method in which error indication at RAM access is ensured. SOLUTION: The method employs a ROM 4 storing an error check program for a RAM 3 and an error display program for the RAM 3, a CPU 1 allows the RAM 3 to read the error display program of the RAM 3 and uses the error display program for the RAM 3 to conduct read/write of the RAM 3, and when the read/write of the RAM 3 is not normally operated, the error display program is moved to other area than the area having stored the error display program and a display means 5 conducts error display of access of the RAM 3.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、ダイアグ等のよう
なチェックプログラムにおけるエラー表示方法に関す
る。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method of displaying an error in a check program such as a diagnosis.

【0002】[0002]

【従来の技術】従来のチェックプログラムにおけるエラ
ーの表示方法は、エラー表示をするためのプログラムで
使用するワークエリアにエラー表示が発生した場合に、
CPUのレジスタの退避、復元が正常に行えないため
に、エラー表示ができないという問題があった。
2. Description of the Related Art A conventional error display method in a check program is such that when an error display occurs in a work area used by the program for displaying an error,
There is a problem that an error cannot be displayed because the CPU registers cannot be saved and restored normally.

【0003】図4に、従来のRAMチェックの説明図を
示す。
FIG. 4 shows an explanatory view of a conventional RAM check.

【0004】11はCPU、12はRAMである。CP
U11の中にレジスタが16個あるとする。つぎに表示
を行おうとすると、16個以上のレジスタを使用するた
めに、レジスタの情報をいったんRAM12のエリアに
セーブして退避しようとする。しかし、RAM12がこ
われると、CPU11にレジスタの情報が復元ができず
表示ルーチンに移行することが出来ない。
Reference numeral 11 is a CPU, and 12 is a RAM. CP
It is assumed that there are 16 registers in U11. When the next display is performed, the information of the register is once saved and saved in the area of the RAM 12 in order to use 16 or more registers. However, if the RAM 12 is damaged, the information in the register cannot be restored in the CPU 11 and the display routine cannot be started.

【0005】[0005]

【発明が解決しようとする課題】したがって、従来の方
法では、ユーザやサービスマンにRAMにエラーが発生
したことを表示できない。そのため、修理等の対応に長
時間を要した。またエラーの原因がわからず、かつエラ
ーしたプログラムもわからないということになる。まし
て、そのエラーが表示のプログラムがこわれたエラーで
あった場合には、皆目見当がつかず、その修理等の対応
に多大の労力と時間を費やすことになる。
Therefore, the conventional method cannot display to the user or service person that the error has occurred in the RAM. Therefore, it took a long time to deal with repairs and the like. It also means that you do not know the cause of the error and the program that made the error. Furthermore, if the error is an error in which the displayed program is broken, everyone has no clue, and a great deal of labor and time are spent to deal with the repair.

【0006】[0006]

【課題を解決するための手段】本発明は、従来技術のこ
れらの問題点を解決することを目的とし、RAMアクセ
ス時のエラー表示を確実に行うようにしたエラー表示方
法を提供することにある。
SUMMARY OF THE INVENTION It is an object of the present invention to provide an error display method for surely displaying an error when a RAM is accessed, with the object of solving these problems of the prior art. .

【0007】上記問題点を解決するために、本発明は、
RAMのエラーチェックプログラムと、RAMのエラー
表示プログラムとを格納したROMを用い、CPUによ
りRAMが前記RAMのエラー表示プログラムを読み込
み、前記RAMのエラー表示プログラムによりRAMの
リード/ライトを行い、RAMのリード/ライトが正常
に動作しない場合に、前記エラー表示プログラムを格納
したエリアとは別のエリアにエラー表示プログラムを移
動して格納し、表示手段によりRAMアクセスのエラー
表示を行うようにした。
In order to solve the above problems, the present invention provides
A ROM that stores a RAM error check program and a RAM error display program is used. The RAM reads the RAM error display program by the CPU, and the RAM read / write is performed by the RAM error display program. When the read / write does not operate normally, the error display program is moved and stored in an area different from the area in which the error display program is stored, and the RAM access error display is performed by the display means.

【0008】[0008]

【発明の実施の形態】以下、図面を用いて本発明の実施
の形態を説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0009】図1は、本発明のブロック図であり、図2
は、フローチャートである。
FIG. 1 is a block diagram of the present invention.
Is a flowchart.

【0010】1はCPUであり、2はデータをコード化
してCPU1に読み込ませる表示プログラムである。3
はRAMであり、4はRAM3のエラー表示のプログラ
ム及びRAM3のチェックプログラムを格納しているR
OMであり、5はエラーメッセージ等を表示する表示手
段、6は、周辺デバイス7との入出力デバイスである。
図3は、RAM3のメモリエリアを示す図である。エリ
アは、エラー表示プログラムワークエリア3aと、移動
後のエラー表示プログラムのワークエリア3bがある。
これは、リード/ライトエラーの発生場所を避けるため
に設けている。図2のフローチャートに従って本発明の
動作を説明する。
Reference numeral 1 is a CPU, and 2 is a display program for coding data and reading it by the CPU 1. 3
Is a RAM, and 4 is an R storing an error display program of the RAM3 and a check program of the RAM3.
Reference numeral 5 is a display means for displaying an error message and the like, and 6 is an input / output device for the peripheral device 7.
FIG. 3 is a diagram showing a memory area of the RAM 3. Areas include an error display program work area 3a and an error display program work area 3b after movement.
This is provided to avoid a place where a read / write error occurs. The operation of the present invention will be described with reference to the flowchart of FIG.

【0011】まず、CPU1がRAM3に特定のパター
ンをリード/ライトすることによりチェックを行う(ス
テップ1)。RAM3が正常にリード/ライトできるか
どうかをチェックし(ステップ2)、正常に動作してい
れば、正常動作中であることを表す”Ready”の表
示を表示手段5で行い、以降正常に動作する(ステップ
3)。ステップ2で、RAM3が正常に動作していなけ
れば、エラー表示プログラム2で使用するワークエリア
4a内にRAM3のリード/ライトエラーが発生してい
るかどうかを判別する(ステップ4)。そして、リード
/ライトエラーが発生している場合は、エラー表示プロ
グラム2が、使用するワークエリア3aにオフセットを
設定して、リード/ライトエラーが発生していないエリ
ア3bに自動的に探査して移動する(ステップ5)。そ
して、ユーザ又はサービスマンにRAM3にエラーが発
生したことを通知するために、LCD等の表示手段5に
エラーメッセージを表示して動作を停止する(ステップ
6)。
First, the CPU 1 checks by reading / writing a specific pattern in the RAM 3 (step 1). It is checked whether or not the RAM 3 can be normally read / written (step 2). If the RAM 3 is operating normally, the display means 5 displays "Ready" indicating that the RAM 3 is operating normally. (Step 3). If the RAM 3 is not operating normally in step 2, it is determined whether or not a read / write error of the RAM 3 has occurred in the work area 4a used by the error display program 2 (step 4). If a read / write error has occurred, the error display program 2 sets an offset in the work area 3a to be used and automatically searches the area 3b in which no read / write error has occurred. Move (step 5). Then, in order to notify the user or service person that an error has occurred in the RAM 3, an error message is displayed on the display means 5 such as an LCD and the operation is stopped (step 6).

【0012】[0012]

【発明の効果】以上説明したように、本発明の構成なら
びに方法によれば、ユーザやサービスマンにRAMアク
セスエラーを直ちに知らせることが出来る。そのため迅
速な修理等の対応が可能となる。
As described above, according to the configuration and method of the present invention, the user or service person can be immediately notified of the RAM access error. Therefore, quick repairs can be taken.

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

【図1】本発明のブロック図。FIG. 1 is a block diagram of the present invention.

【図2】本発明の動作を示すフローチャート図。FIG. 2 is a flowchart showing the operation of the present invention.

【図3】RAM3のメモリエリアを示す図。FIG. 3 is a diagram showing a memory area of a RAM3.

【図4】従来のRAMチェックの動作説明図。FIG. 4 is an operation explanatory diagram of a conventional RAM check.

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

1 CPU 2 表示プログラム 3 RAM 3a エリア 3b エリア 4 ROM 5 表示手段 6 入出力デバイス 7 周辺デバイス 11 CPU 12 RAM 1 CPU 2 display program 3 RAM 3a area 3b area 4 ROM 5 display means 6 input / output device 7 peripheral device 11 CPU 12 RAM

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】RAMのエラーチェックプログラムと、R
AMのエラー表示プログラムとを格納したROMを用
い、CPUによりRAMが前記RAMのエラー表示プロ
グラムを読み込み、前記RAMのエラー表示プログラム
によりRAMのリード/ライトを行い、RAMのリード
/ライトが正常に動作しない場合に、前記エラー表示プ
ログラムを格納したエリアとは別のエリアにエラー表示
プログラムを移動して格納し、表示手段によりRAMア
クセスのエラー表示を行うようにしたことを特徴とする
チェックプログラムにおけるエラー表示方法。
1. An error check program for RAM and R
Using the ROM storing the AM error display program, the RAM reads the RAM error display program by the CPU, and the RAM read / write is performed by the RAM error display program, and the RAM read / write operates normally. If not, the error display program is moved to and stored in an area different from the area in which the error display program is stored, and the error display of the RAM access is performed by the display means. Display method.
JP7182958A 1995-07-19 1995-07-19 Error display method in check program Pending JPH0934802A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP7182958A JPH0934802A (en) 1995-07-19 1995-07-19 Error display method in check program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP7182958A JPH0934802A (en) 1995-07-19 1995-07-19 Error display method in check program

Publications (1)

Publication Number Publication Date
JPH0934802A true JPH0934802A (en) 1997-02-07

Family

ID=16127321

Family Applications (1)

Application Number Title Priority Date Filing Date
JP7182958A Pending JPH0934802A (en) 1995-07-19 1995-07-19 Error display method in check program

Country Status (1)

Country Link
JP (1) JPH0934802A (en)

Similar Documents

Publication Publication Date Title
US6279104B1 (en) Debugging system for parallel processed program and debugging method thereof
JPH0934802A (en) Error display method in check program
JPS60181947A (en) Memory diagnosing system
JPS6285347A (en) Information processor
JPH0478938A (en) Computer operation supporting system
JPH0793225A (en) Memory check system
JPH0293847A (en) Memory test system at time of initial diagnosis
JPH0326561A (en) Printing device
JP2635637B2 (en) In-system memory test equipment
JPH04245076A (en) System for copying magnetic disk
JP2766097B2 (en) Monitor device
JPS6356696A (en) Display device
JPH08263223A (en) Computer system
JPH01150569A (en) Printer
JPS60238946A (en) Processing system of snap shot dump
JPH01229342A (en) Device for checking runaway of micro-processor
JPH05334135A (en) Error information display system for abnormal end of program
JPH0628131A (en) Method and device for noticing abnormality in output device
JPH0619764A (en) Utility processor
JPH06202890A (en) Error processing method for electronic device
JPH05257823A (en) Information processor
JPS61138344A (en) Debugging system
JPS6336328A (en) Testing system for keyboard
JPS6120088A (en) Display status control system
JPS61260500A (en) Address history display system