JPH07168768A - Initial self-diagnosing method - Google Patents

Initial self-diagnosing method

Info

Publication number
JPH07168768A
JPH07168768A JP5312426A JP31242693A JPH07168768A JP H07168768 A JPH07168768 A JP H07168768A JP 5312426 A JP5312426 A JP 5312426A JP 31242693 A JP31242693 A JP 31242693A JP H07168768 A JPH07168768 A JP H07168768A
Authority
JP
Japan
Prior art keywords
cache memory
self
diagnosis
failure
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.)
Withdrawn
Application number
JP5312426A
Other languages
Japanese (ja)
Inventor
Yoshihisa Omoto
能久 大本
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.)
NEC Software Shikoku Ltd
Original Assignee
NEC Software Shikoku 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 NEC Software Shikoku Ltd filed Critical NEC Software Shikoku Ltd
Priority to JP5312426A priority Critical patent/JPH07168768A/en
Publication of JPH07168768A publication Critical patent/JPH07168768A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Memory System Of A Hierarchy Structure (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

PURPOSE:To shorten a time required for initial self-diagnosis and to improve the accuracy of fault detection. CONSTITUTION:Self-diagnosis on all the functions of instruction cache memory 4 and secondary cache memory 6 can be performed again after the execution of a self-diagnosis program 8 is continued by diagnosing only the self-diagnosis program fetch function of the instruction cache memory 4 and the secondary cache memory 6 simply, executing the self-diagnosis program 8 by using the self-diagnosis program fetch function of the instruction cache memory 4 and that of the secondary cache memory 6, and interrupting the use of the instruction cache memory 4 and the secondary cache memory 6 even when a fault occurs in the instruction cache memory 4 and the secondary cache memory 6 while the self-diagnosis program 8 is being executed.

Description

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

【0001】[0001]

【産業上の利用分野】本発明は初期自己診断方法、特に
キャッシュメモリを接続したマイクロプロセッサを持つ
データ処理装置における初期自己診断方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an initial self-diagnosis method, and more particularly to an initial self-diagnosis method in a data processor having a microprocessor connected to a cache memory.

【0002】[0002]

【従来の技術】従来のこの種の初期自己診断機能は、図
3のフローチャートに示すように、自己診断プログラム
がキャッシュメモリの全機能を自己診断する以前にキャ
ッシュメモリを初期化するのみでキャッシュメモリを使
用し、自己診断プログラムを実行している為、自己診断
プログラム実行中にキャッシュメモリにおいて障害が発
生した場合、自己診断プログラムの実行の継続は不可能
と判断し停止するか、もしくは、図4のフローチャート
に示すように自己診断プログラムはキャッシュメモリの
全機能を自己診断した後、キャッシュメモリを使用して
いた。
2. Description of the Related Art A conventional initial self-diagnosis function of this type, as shown in the flow chart of FIG. 3, requires only initializing the cache memory before the self-diagnosis program self-diagnoses all the functions of the cache memory. 4 is used to execute the self-diagnosis program, and if a failure occurs in the cache memory during execution of the self-diagnosis program, it is judged that the continuation of the self-diagnosis program cannot be continued and is stopped, or The self-diagnosis program uses the cache memory after self-diagnosing all the functions of the cache memory as shown in the flowchart of FIG.

【0003】[0003]

【発明が解決しようとする課題】上述した従来の初期自
己診断方法のうちの第一の例では、キャッシュメモリが
外付け回路としてマイクロプロセッサのLSIに接続さ
れており、データ処理装置を実際に動作させてみないと
キャッシュメモリが正常に動作することが確認できない
場合には、キャッシュメモリが障害を発生する可能性が
あり、キャッシュメモリの障害が表示装置を初期化する
以前に発生した場合には自己診断プログラムが障害情報
を表示できずに停止してしまう。また、キャッシュメモ
リでの障害の有無にかかわらず実施できる自己診断機能
が、キャッシュメモリで障害が発生することで中断さ
れ、診断結果が得られないという欠点もある。
In the first example of the above-mentioned conventional initial self-diagnosis methods, the cache memory is connected to the LSI of the microprocessor as an external circuit, and the data processing device actually operates. If you can not confirm that the cache memory operates normally without doing so, there is a possibility that the cache memory will fail.If the cache memory failure occurs before initializing the display device, The self-diagnosis program stops because it cannot display the failure information. In addition, the self-diagnosis function, which can be executed regardless of the presence or absence of a failure in the cache memory, is interrupted by the occurrence of a failure in the cache memory, and the diagnostic result cannot be obtained.

【0004】そして、上述した従来の初期自己診断方法
のうちの第二の例では、キャッシュメモリを自己診断す
るまでは使用しないので、自己診断に要する時間が多大
になる欠点がある。
In the second example of the above-mentioned conventional initial self-diagnosis methods, since the cache memory is not used until it is self-diagnosed, there is a drawback that the self-diagnosis takes a lot of time.

【0005】本発明の目的は、キャッシュメモリが正常
動作する場合には自己診断に要する時間を短縮し、キャ
ッシュメモリに障害がある場合には、障害内容を表示で
きるまで自己診断プログラムの実行を継続することによ
り、上記の欠点を解消した初期自己診断方法を提供する
ことにある。
An object of the present invention is to reduce the time required for self-diagnosis when the cache memory operates normally, and to continue execution of the self-diagnosis program until the contents of the failure can be displayed when the cache memory has a failure. By doing so, it is to provide an initial self-diagnosis method that solves the above-mentioned drawbacks.

【0006】[0006]

【課題を解決するための手段】本発明の方法は、キャッ
シュメモリを接続したマイクロプロセッサを持つデータ
処理装置における初期自己診断方法において、自己診断
プログラムがキャッシュメモリの全機能を自己診断する
以前にキャッシュメモリの自己診断プログラム取り込み
機能のみを簡易的に診断し、キャッシュメモリの自己プ
ログラム取り込み機能を使用して自己診断プログラムを
実行し、自己診断プログラム実行中にキャッシュメモリ
において障害が発生した場合でもキャッシュメモリの使
用を中止して診断プログラムを再実行する事により、自
己診断プログラムの実行を接続した後、改めてキャッシ
ュメモリの全機能を自己診断することを特徴とする。
The method of the present invention is an initial self-diagnosis method in a data processing device having a microprocessor to which a cache memory is connected, in which a cache is executed before a self-diagnosis program self-diagnoses all the functions of the cache memory. Even if only the self-diagnosis program loading function of the memory is simply diagnosed and the self-diagnosis program of the cache memory is used to execute the self-diagnosis program, even if a failure occurs in the cache memory during execution of the self-diagnosis program, the cache memory Is stopped and the diagnostic program is re-executed to connect the execution of the self-diagnostic program, and then self-diagnose all the functions of the cache memory again.

【0007】[0007]

【実施例】次に、本発明の実施例について図面を参照し
て説明する。
Embodiments of the present invention will now be described with reference to the drawings.

【0008】図1は本発明の初期自己診断方法の一実施
例を示すデータ処理装置のブロック図であり、図2は本
実施例の動作を示すフローチャートである。
FIG. 1 is a block diagram of a data processing apparatus showing an embodiment of the initial self-diagnosis method of the present invention, and FIG. 2 is a flow chart showing the operation of this embodiment.

【0009】図1に示すデータ処理装置は、マイクロプ
ロセッサ1、2次キャッシュメモリ6、読み出し専用メ
モリ7(以下ROM7と記す)、主記憶部10、I/O
制御部11、表示装置12で構成される。
The data processing apparatus shown in FIG. 1 includes a microprocessor 1, a secondary cache memory 6, a read-only memory 7 (hereinafter referred to as ROM 7), a main storage unit 10, and an I / O.
The control unit 11 and the display device 12 are included.

【0010】マイクロプロセッサ1は命令実行部2、転
送制御部3、命令キャッシュメモリ4およびデータキャ
ッシュメモリ5で構成される。マイクロプロセッサ1は
2次キャッシュメモリ6と直接接続され、システムバス
15を介してROM7、主記憶部10、I/O制御部1
1、表示装置12と接続される。
The microprocessor 1 comprises an instruction execution unit 2, a transfer control unit 3, an instruction cache memory 4 and a data cache memory 5. The microprocessor 1 is directly connected to the secondary cache memory 6, and via the system bus 15, the ROM 7, the main storage unit 10, the I / O control unit 1
1. Connected to the display device 12.

【0011】マイクロプロセッサ1の内部にある命令実
行部2は、転送制御部3を介して命令を取り込み、実行
する。また、データの書き込み、読み出しを転送制御部
3を介して行う。転送制御部3は命令実行部2からの要
求に応じて、システムバス15、命令キャッシュメモリ
4、データキャッシュメモリ5、2次キャッシュメモリ
6の命令およびデータの転送を制御する部分である。命
令キャッシュメモリ4は、命令実行部2が実行する命令
を一時的に記憶する高速の小容量メモリであり、データ
キャッシュメモリ5は命令実行部2が必要とするデータ
を一時的に記憶する高速の小容量メモリであり、共に転
送制御部3と2次キャッシュメモリ6に接続される。
The instruction execution unit 2 inside the microprocessor 1 fetches and executes an instruction via the transfer control unit 3. Further, writing and reading of data are performed via the transfer control unit 3. The transfer control unit 3 is a unit that controls transfer of instructions and data in the system bus 15, the instruction cache memory 4, the data cache memory 5, and the secondary cache memory 6 in response to a request from the instruction execution unit 2. The instruction cache memory 4 is a high-speed small-capacity memory that temporarily stores the instructions executed by the instruction execution unit 2, and the data cache memory 5 is a high-speed memory that temporarily stores the data required by the instruction execution unit 2. It is a small-capacity memory, and both are connected to the transfer control unit 3 and the secondary cache memory 6.

【0012】2次キャッシュメモリ6はマイクロプロセ
ッサ1に接続され、マイクロプロセッサ1内の命令実行
部2が実行する命令と必要データを一時的に記憶する中
速の中容量メモリであり、マイクロプロセッサ1内の転
送制御部3により制御され、システムバス15との間で
命令およびデータを取り込み、データの書き出しを行
う。また、必要な命令を命令キャッシュメモリ4に供給
し、必要なデータをデータキャッシュメモリ5に供給す
る。
The secondary cache memory 6 is a medium-speed medium-capacity memory which is connected to the microprocessor 1 and temporarily stores instructions executed by the instruction execution unit 2 in the microprocessor 1 and necessary data. It is controlled by the transfer control unit 3 therein to fetch instructions and data with the system bus 15 and write data. Further, it supplies necessary instructions to the instruction cache memory 4 and supplies necessary data to the data cache memory 5.

【0013】ROM7にはマイクロプロセッサ1が初期
自己診断を行うのに必要な命令の並びである自己診断プ
ログラム8と、自己診断プログラム8を含むテストデー
タ9が記憶されており、システムバス15からの要求に
よりこれらの命令、データをシステムバス15に出力す
る。
The ROM 7 stores a self-diagnosis program 8 which is a sequence of instructions necessary for the microprocessor 1 to perform an initial self-diagnosis, and test data 9 including the self-diagnosis program 8. These instructions and data are output to the system bus 15 in response to a request.

【0014】主記憶部10は低速の大容量メモリであ
り、初期自己診断により初期化、診断される対象とな
り、I/O制御部11は各I/O装置を制御する部分で
あり、初期自己診断により初期化、診断される対象とな
り、また表示装置12は表示メモリ部13とCRTディ
スプレイ14から構成される。表示装置12はシステム
バス15から表示メモリ部13に書き込まれたデータを
CRTディスプレイ14に映し出すことにより表示を行
う。
The main storage unit 10 is a low-speed, large-capacity memory and is a target to be initialized and diagnosed by the initial self-diagnosis. The I / O control unit 11 is a part for controlling each I / O device, The display device 12 is an object to be initialized and diagnosed by the diagnosis, and the display device 12 includes a display memory unit 13 and a CRT display 14. The display device 12 displays by displaying the data written in the display memory unit 13 from the system bus 15 on the CRT display 14.

【0015】続いて、本発明の初期診断方法について説
明する。
Next, the initial diagnosis method of the present invention will be described.

【0016】図1のデータ処理装置では、図2に示すス
テップ(以下Sと記す)101で電源投入またはリセッ
トを行うと、マイクロプロセッサ1に内蔵された命令実
行部2は転送制御部3を通してROM7より自己診断プ
ログラム8を実行すべき命令として読み出しを開始す
る。なお、このとき命令キャッシュ使用禁止状態であ
り、命令キャッシュメモリ4と2次キャッシュメモリ6
は使用されない。
In the data processing apparatus of FIG. 1, when the power is turned on or reset at step (hereinafter referred to as S) 101 shown in FIG. 2, the instruction execution unit 2 built in the microprocessor 1 passes through the transfer control unit 3 to the ROM 7 Further, reading is started as an instruction to execute the self-diagnosis program 8. At this time, the instruction cache use is disabled, and the instruction cache memory 4 and the secondary cache memory 6 are
Is not used.

【0017】次にS102において、命令実行部2は自
己診断プログラム8を実行するのに必要な設定を行う初
期化処理を行い、S103において、初期化処理での障
害の有無を判断し、障害ありと判断した場合はS121
にて診断処理動作を停止する。障害なしと判断した場合
にはS104へ進む。
Next, in step S102, the instruction execution section 2 performs an initialization process for making settings necessary for executing the self-diagnosis program 8. In step S103, it is determined whether or not there is a failure in the initialization process, and there is a failure. If it is determined that S121
Stops the diagnostic processing operation. If it is determined that there is no failure, the process proceeds to S104.

【0018】S104においては、命令キャッシュメモ
リ4と2次キャッシュメモリ6が自己診断プログラム8
の取り込みに使用する準備として、命令キャッシュメモ
リ4と2次キャッシュメモリ6の各キャッシュメモリの
初期化を行う。なお、データキャッシュメモリ5は自己
診断プログラム8の取り込みに必要では無いので、ここ
では初期化を行わない。
In S104, the instruction cache memory 4 and the secondary cache memory 6 are stored in the self-diagnosis program 8
In preparation for use in fetching, the respective cache memories of the instruction cache memory 4 and the secondary cache memory 6 are initialized. Since the data cache memory 5 is not necessary for loading the self-diagnosis program 8, it is not initialized here.

【0019】次にS105において、自己診断プログラ
ム8の格納されているROM7の試験を行う。このと
き、命令実行部2はROM7に格納されている自己診断
プログラム8を含むテストデータ9を2次キャッシュメ
モリ6、命令キャッシュメモリ4、転送制御部3を介し
て読み出し試験を行う。これにより、命令キャッシュメ
モリ4と2次キャッシュメモリ6から成るキャッシュメ
モリの自己診断プログラム取り込み機能の動作を確認で
きる。
Next, in S105, the ROM 7 in which the self-diagnosis program 8 is stored is tested. At this time, the instruction execution unit 2 performs a read test of the test data 9 including the self-diagnosis program 8 stored in the ROM 7 via the secondary cache memory 6, the instruction cache memory 4, and the transfer control unit 3. Thus, the operation of the self-diagnosis program loading function of the cache memory including the instruction cache memory 4 and the secondary cache memory 6 can be confirmed.

【0020】次にS106において、上述したS105
での障害の有無を判断し、障害ありと判断した場合はS
114へ進み、障害なしと判断した場合にはS107へ
進む。まず、上述したS106へ障害なしと判断した場
合について説明する。S106で障害なしと判断した場
合、S107において命令キャッシュ使用許可状態にす
る。これにより、命令実行部2は命令キャッシュメモリ
4、2次キャッシュメモリ6を使用して、ROM7に格
納されている自己診断プログラム8を読み出し、S10
8以降の処理を実行する。
Next, in S106, the above-mentioned S105 is performed.
If there is a fault in S
When it is determined that there is no failure, the procedure proceeds to S114. First, a case where it is determined that there is no failure in S106 described above will be described. If it is determined that there is no failure in S106, the instruction cache use permission state is set in S107. As a result, the instruction executing section 2 uses the instruction cache memory 4 and the secondary cache memory 6 to read the self-diagnosis program 8 stored in the ROM 7, and S10
The processing after 8 is executed.

【0021】S106で障害ありと判断した場合、S1
14において再度ROM7試験を行う。このとき、命令
実行部2は命令キャッシュメモリ4、2次キャッシュメ
モリ6を介さずに、ROM7に格納されているテストデ
ータ9を転送制御部3を通して読み出し試験を行う。次
にS115においてS114での障害の有無を判断し、
障害ありと判断した場合はS121へ進み、障害なしと
判断した場合にはS108へ進む。
If it is determined that there is a failure in S106, S1
At 14, the ROM7 test is performed again. At this time, the instruction execution section 2 performs a read test of the test data 9 stored in the ROM 7 through the transfer control section 3 without passing through the instruction cache memory 4 and the secondary cache memory 6. Next, in S115, it is determined whether or not there is a failure in S114,
If it is determined that there is a fault, the process proceeds to S121, and if it is determined that there is no fault, the process proceeds to S108.

【0022】これにより、S106で検出された障害に
より命令キャッシュメモリ4または2次キャッシュメモ
リ6に発生した障害なのか、ROM7に発生した障害な
のかを判断する。つまり、S115にて障害ありと判断
した場合はROM7に障害があるとしてS121にて診
断処理動作を停止する。またS115にて障害なしと判
断した場合にはS108へ進むことによりS107は実
行されない。よって、命令キャッシュ使用禁止状態でS
108以降の処理を継続し、実行する事になる。
As a result, it is determined whether the failure detected in S106 has occurred in the instruction cache memory 4 or the secondary cache memory 6 or in the ROM 7. That is, if it is determined that there is a failure in S115, it is determined that the ROM 7 has a failure, and the diagnosis processing operation is stopped in S121. If it is determined in S115 that there is no failure, the process proceeds to S108 and S107 is not executed. Therefore, when the instruction cache is disabled, S
The process after 108 is continued and executed.

【0023】次にS108より、表示装置12の試験を
行う。表示装置12は表示メモリ部13とCRTディス
プレイ14から成り、表示メモリ部12を初期化しない
とCRTディスプレイ14に障害内容などを表示する事
が出来ない。従って、表示メモリ部13の初期化を行
い、試験を行う。S109においては、上述したS10
8での障害の有無を判断し、障害ありと判断した場合は
S116へ進み。障害なしと判断した場合にはS110
へ進む。
Next, in S108, the display device 12 is tested. The display device 12 includes a display memory unit 13 and a CRT display 14, and the CRT display 14 cannot display the contents of a failure unless the display memory unit 12 is initialized. Therefore, the display memory unit 13 is initialized and tested. In S109, the above-mentioned S10
It is determined whether or not there is a failure in 8, and if it is determined that there is a failure, the process proceeds to S116. If it is determined that there is no obstacle, S110
Go to.

【0024】S109で障害ありと判断した場合、S1
16において発生した障害が命令キャッシュメモリ4ま
たは2次キャッシュメモリ6で発生したのかを判断し、
命令キャッシュメモリ4または2次キャッシュメモリ6
の障害なしと判断した場合はS121へ進み。障害あり
と判断した場合にはS117へ進む。
When it is determined that there is a failure in S109, S1
It is judged whether the failure occurred in 16 occurs in the instruction cache memory 4 or the secondary cache memory 6,
Instruction cache memory 4 or secondary cache memory 6
If it is determined that there is no obstacle, the process proceeds to S121. If it is determined that there is a failure, the process proceeds to S117.

【0025】これにより、S109で検出された障害が
命令キャッシュメモリ4または2次キャッシュメモリ6
に発生した障害の場合にはS117により命令キャッシ
ュ使用禁止状態にすることにより、命令キャッシュメモ
リ4と2次キャッシュメモリ6の使用を中止し、S10
8を再実行する。これにより、命令キャッシュメモリ4
または2次キャッシュメモリ6の障害に依存する事なく
表示装置12の診断を行う事ができる。また、S109
で検出された障害が命令キャッシュメモリ4または2次
キャッシュメモリ6以外で発生した障害の場合には表示
装置12に障害があるとしてS121にて診断処理動作
を停止する。
As a result, the fault detected in S109 is the instruction cache memory 4 or the secondary cache memory 6
In the case of the failure that occurred in S1, the use of the instruction cache memory 4 and the secondary cache memory 6 is stopped by setting the instruction cache use disabled state in S117, and S10
Re-execute 8. As a result, the instruction cache memory 4
Alternatively, the display device 12 can be diagnosed without depending on the failure of the secondary cache memory 6. In addition, S109
If the failure detected in step 1 is a failure that occurs in a memory other than the instruction cache memory 4 or the secondary cache memory 6, it is determined that there is a failure in the display device 12, and the diagnostic processing operation is stopped in step S121.

【0026】次にS110より、主記憶部10の試験を
行い、S111において、上述したS110での障害の
有無を判断し、障害ありと判断した場合はS118へ進
み、障害なしと判断した場合にはS112へ進む。S1
11で障害ありと判断した場合、S118において発生
した障害が命令キャッシュメモリ4または2次キャッシ
ュメモリ6で発生したのかを判断し、命令キャッシュメ
モリ4または2次キャッシュメモリ6の障害なしと判断
した場合はS120へ進み、障害ありと判断した場合に
はS119へ進む。
Next, in S110, the main memory 10 is tested, and in S111, it is determined whether or not there is a fault in S110. If it is determined that there is a fault, the process proceeds to S118, and if it is determined that there is no fault. Advances to S112. S1
When it is determined that there is a failure in S11, it is determined whether the failure that occurred in S118 has occurred in the instruction cache memory 4 or the secondary cache memory 6, and it is determined that there is no failure in the instruction cache memory 4 or the secondary cache memory 6. Advances to S120, and when it is determined that there is a failure, advances to S119.

【0027】これにより、S111で検出された障害が
命令キャッシュメモリ4または2次キャッシュメモリ6
に発生した障害の場合にはS119により命令キャッシ
ュ使用禁止状態にすることにより、命令キャッシュメモ
リ4と2次キャッシュメモリ6の使用を中止しS110
を再実行する。これにより、命令キャッシュメモリ4ま
たは2次キャッシュメモリ6の障害に依存する事なく主
記憶部10の診断を行う事ができる。また、S111で
検出された障害が命令キャッシュメモリ4または2次キ
ャッシュメモリ6以外で発生した障害の場合には主記憶
部10に障害があるとしてS120にて障害内容を表示
装置12に表示した後、S121にて診断処理動作を停
止する。
As a result, the failure detected in S111 is the instruction cache memory 4 or the secondary cache memory 6
In the case of a failure that occurred in S1, the use of the instruction cache memory 4 and the secondary cache memory 6 is stopped by setting the instruction cache use disabled state in S119, S110
Re-execute. As a result, the main memory 10 can be diagnosed without depending on the failure of the instruction cache memory 4 or the secondary cache memory 6. If the fault detected in S111 is a fault other than the instruction cache memory 4 or the secondary cache memory 6, it is determined that there is a fault in the main storage unit 10 and the fault content is displayed on the display device 12 in S120. , S121, the diagnosis processing operation is stopped.

【0028】次にS112により、命令キャッシュメモ
リ4、データキャッシュメモリ5、2次キャッシュメモ
リ6の診断を行い、キャッシュメモリの全機能の試験を
行う。次にS113において、上述したS112での障
害の有無を判断し、障害ありと判断した場合はS120
へ進み。障害なしと判断した場合には自己診断プログラ
ム8を継続実行し、I/O制御部11等の自己診断を行
う。
Next, in S112, the instruction cache memory 4, the data cache memory 5, and the secondary cache memory 6 are diagnosed, and all the functions of the cache memory are tested. Next, in S113, it is determined whether or not there is a failure in S112, and if it is determined that there is a failure, S120
Go to. When it is determined that there is no failure, the self-diagnosis program 8 is continuously executed, and the self-diagnosis of the I / O control unit 11 and the like is performed.

【0029】S113で障害ありと判断した場合、S1
20にて障害内容を表示装置12に表示した後、S12
1にて診断処理動作を停止する。
When it is determined that there is a failure in S113, S1
After displaying the content of the failure on the display device 12 at 20, S12
At 1, the diagnostic processing operation is stopped.

【0030】本実施例と図3の第一の従来の初期自己診
断方法と比較した場合、図3におけるS306,S30
8でキャッシュメモリの障害が発生すると、従来の方法
では障害内容を表示出来ずに診断プログラムが停止して
しまうが、本発明の初期自己診断方法では該当するS1
05,S108でキャッシュメモリの障害が発生しても
診断を継続できる。また、S310でキャッシュメモリ
の障害が発生した場合、主記憶部の障害と区別できない
が、本発明の初期自己診断方法ではキャッシュメモリを
使用せずに再実行するため、障害発生箇所の区別が行え
る。また、正常動作時の自己診断の実行時間はキャッシ
ュメモリを使用しているので、図3における従来の方式
と同等である。
When this embodiment is compared with the first conventional initial self-diagnosis method of FIG. 3, S306 and S30 in FIG.
When a failure of the cache memory occurs in No. 8, the conventional method cannot display the failure content and the diagnostic program stops. However, in the initial self-diagnosis method of the present invention, the corresponding S1
The diagnosis can be continued even if a cache memory failure occurs in 05 and S108. Further, when a failure of the cache memory occurs in S310, it cannot be distinguished from the failure of the main storage unit. However, since the initial self-diagnosis method of the present invention re-executes without using the cache memory, the location of the failure can be distinguished. . Further, the execution time of the self-diagnosis at the time of normal operation is the same as that of the conventional method in FIG. 3 because the cache memory is used.

【0031】次に、本実施例と図4の第二の従来の初期
自己診断方法と比較した場合、図4におけるS406,
S408でキャッシュメモリを使用していないのでキャ
ッシュメモリの障害は発生しない。しかし、従来の方法
では正常動作時にもS406,S408でキャッシュメ
モリを使用しないので、命令を実行する度にROM7か
ら新しい命令を読み出す必要があるため実行時間が長
い。本発明の初期自己診断方法ではキャッシュメモリを
使用しているので、命令はほとんどが命令キャッシュメ
モリ4より取り出せるので、図4の従来方法より高速で
ある。
Next, when this embodiment is compared with the second conventional initial self-diagnosis method of FIG. 4, S406 in FIG.
Since the cache memory is not used in S408, no failure occurs in the cache memory. However, in the conventional method, since the cache memory is not used in S406 and S408 even in the normal operation, it is necessary to read a new instruction from the ROM 7 every time the instruction is executed, so that the execution time is long. Since the cache memory is used in the initial self-diagnosis method of the present invention, most of the instructions can be fetched from the instruction cache memory 4, which is faster than the conventional method of FIG.

【0032】[0032]

【発明の効果】以上説明したように、本発明の初期自己
診断方法は、キャッシュメモリが正常動作する場合には
自己診断に要する時間を短縮し、キャッシュメモリに障
害がある場合には、障害内容を表示できるまで自己診断
プログラムの実行を継続することにより、キャッシュメ
モリの障害内容を詳細に表示出来る効果を有している。
As described above, according to the initial self-diagnosis method of the present invention, the time required for self-diagnosis is shortened when the cache memory operates normally, and the content of the fault is detected when the cache memory has a fault. By continuing the execution of the self-diagnosis program until the message can be displayed, the failure content of the cache memory can be displayed in detail.

【0033】[0033]

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

【図1】本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

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

【図3】従来の第一の初期自己診断方式のフローチャー
トである。
FIG. 3 is a flowchart of a first conventional initial self-diagnosis method.

【図4】従来の第二の初期自己診断方式のフローチャー
トである。
FIG. 4 is a flowchart of a second conventional initial self-diagnosis method.

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

1 マイクロプロセッサ 2 命令実行部 3 転送制御部 4 命令キャッシュメモリ 5 データキャッシュメモリ 6 2次キャッシュメモリ 7 読み出し専用メモリ(ROM) 8 自己診断プログラム 9 テストデータ 10 主記憶部 11 I/O制御部 12 表示装置 13 表示メモリ部 14 CRTディスプレイ 15 システムバス 1 Microprocessor 2 Instruction Execution Unit 3 Transfer Control Unit 4 Instruction Cache Memory 5 Data Cache Memory 6 Secondary Cache Memory 7 Read Only Memory (ROM) 8 Self-Diagnosis Program 9 Test Data 10 Main Storage Unit 11 I / O Control Unit 12 Display Device 13 Display memory unit 14 CRT display 15 System bus

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】 キャッシュメモリを接続したマイクロプ
ロセッサを持つデータ処理装置における初期自己診断方
法において、 自己診断プログラムがキャッシュメモリの全機能を自己
診断する以前にキャッシュメモリの自己診断プログラム
取り込み機能のみを簡易的に診断し、キャッシュメモリ
の自己プログラム取り込み機能を使用して自己診断プロ
グラムを実行し、自己診断プログラム実行中にキャッシ
ュメモリにおいて障害が発生した場合でもキャッシュメ
モリの使用を中止して診断プログラムを再実行する事に
より、自己診断プログラムの実行を接続した後、改めて
キャッシュメモリの全機能を自己診断することを特徴と
する初期自己診断方法。
1. An initial self-diagnosis method in a data processing device having a microprocessor to which a cache memory is connected, wherein only a self-diagnosis program loading function of the cache memory is simplified before the self-diagnosis program self-diagnoses all the functions of the cache memory. Diagnostics, execute the self-diagnosis program using the self-program loading function of the cache memory, and stop the use of the cache memory and restart the diagnosis program even if a failure occurs in the cache memory during the self-diagnosis program execution. An initial self-diagnosis method characterized by performing self-diagnosis on all the functions of the cache memory again after connecting the execution of the self-diagnosis program by executing the program.
【請求項2】 使用中のキャッシュメモリに障害が発生
した時点で表示装置が未初期化の場合にはキャッシュメ
モリを使用せずに診断プログラムの実行を継続し、表示
装置の初期化が終了した後にキャッシュメモリを診断
し、障害内容を表示する事を特徴とする初期自己診断方
法。
2. If the display device is uninitialized at the time when a failure occurs in the cache memory being used, the diagnostic program is continuously executed without using the cache memory, and the initialization of the display device is completed. An initial self-diagnosis method characterized by diagnosing the cache memory later and displaying the details of the failure.
JP5312426A 1993-12-14 1993-12-14 Initial self-diagnosing method Withdrawn JPH07168768A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP5312426A JPH07168768A (en) 1993-12-14 1993-12-14 Initial self-diagnosing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP5312426A JPH07168768A (en) 1993-12-14 1993-12-14 Initial self-diagnosing method

Publications (1)

Publication Number Publication Date
JPH07168768A true JPH07168768A (en) 1995-07-04

Family

ID=18029076

Family Applications (1)

Application Number Title Priority Date Filing Date
JP5312426A Withdrawn JPH07168768A (en) 1993-12-14 1993-12-14 Initial self-diagnosing method

Country Status (1)

Country Link
JP (1) JPH07168768A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018139344A1 (en) * 2017-01-24 2018-08-02 Necプラットフォームズ株式会社 Information processing system, information processing device, peripheral device, data tansfer method, and non-transitory storage medium storing data transfer program
US10056156B2 (en) 2016-01-06 2018-08-21 Fujitsu Limited Information processing apparatus and method of controlling arithmetic processing apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10056156B2 (en) 2016-01-06 2018-08-21 Fujitsu Limited Information processing apparatus and method of controlling arithmetic processing apparatus
WO2018139344A1 (en) * 2017-01-24 2018-08-02 Necプラットフォームズ株式会社 Information processing system, information processing device, peripheral device, data tansfer method, and non-transitory storage medium storing data transfer program
JP2018120323A (en) * 2017-01-24 2018-08-02 Necプラットフォームズ株式会社 Information processing system, information processing apparatus, peripheral device, data transfer method and data transfer program
US10936515B2 (en) 2017-01-24 2021-03-02 Nec Platforms, Ltd. Information processing system including data classification unit for reconstructing transfer data based on defined transfer codes

Similar Documents

Publication Publication Date Title
JPH07219809A (en) Apparatus and method for data processing
JPH07168768A (en) Initial self-diagnosing method
JPS6112297B2 (en)
US10818374B2 (en) Testing read-only memory using memory built-in self-test controller
JPH04362755A (en) Shared extension storage test system
JPS6034132B2 (en) programmable controller
JPH0652012A (en) Information processor having diagnostic function for peripheral part of device
JP2684966B2 (en) I / O processor debug device
JP2000298599A (en) Automatic testing system for exchange software
JPH02244232A (en) Information processor
JPH0644095A (en) System for diagnosing fixed time power source on/off function
JPH05165737A (en) Memory test system
JPH04243431A (en) Evaluation system for fault processing function
JPH11203174A (en) State supervisory information processor
JPS63282852A (en) Stand-by system diagnosing system in duplex processing system
JPH04357534A (en) Automatic self-diagnostic function system
JP2000181762A (en) Microprocessor
JPH11175366A (en) Electronic circuit analysis device, electronic circuit analysis method, medium recording electronic circuit analysis program and electronic circuit analysis system
JPH081607B2 (en) Pseudo-fault occurrence method in information processing system
JPS62107354A (en) Microprogram control device
JPS59195751A (en) Diagnostic system of information processing device
JPS6091458A (en) Program debug device of microprocessor
JPS60124747A (en) Debug control system of computer
JPH04239331A (en) Evaluation system for fault processing function
JPH05181781A (en) Input/output control device

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: 20010306