JP2958609B2 - Calculator test method - Google Patents

Calculator test method

Info

Publication number
JP2958609B2
JP2958609B2 JP6285668A JP28566894A JP2958609B2 JP 2958609 B2 JP2958609 B2 JP 2958609B2 JP 6285668 A JP6285668 A JP 6285668A JP 28566894 A JP28566894 A JP 28566894A JP 2958609 B2 JP2958609 B2 JP 2958609B2
Authority
JP
Japan
Prior art keywords
firmware
execution
cpu
ipl
monitor
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.)
Expired - Fee Related
Application number
JP6285668A
Other languages
Japanese (ja)
Other versions
JPH08147180A (en
Inventor
聡志 松下
裕次 上田
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.)
PII EFU YUU KK
Original Assignee
PII EFU YUU KK
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 PII EFU YUU KK filed Critical PII EFU YUU KK
Priority to JP6285668A priority Critical patent/JP2958609B2/en
Publication of JPH08147180A publication Critical patent/JPH08147180A/en
Application granted granted Critical
Publication of JP2958609B2 publication Critical patent/JP2958609B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)
  • Stored Programmes (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】本発明は、ファームウェア制御の
計算機のハードウェア及びファームウェアをテストする
方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for testing hardware and firmware of a firmware-controlled computer.

【0002】[0002]

【従来の技術】図15は従来例を示す図である。計算機
のI/O装置などのテストを行う場合には、先ずファー
ムウェアをIMPLし、次にシステム・モニタをIPL
し、次にシステム・モニタの制御下で各テストプログラ
ムを実行する。アドレス変換テーブルの設定,記憶保護
機構の設定,その他の設定(割込み処理等)は、システ
ム・モニタによって行われる。CPU系(中央処理装
置)のテストを行う場合には、ファームウェアをIMP
Lし、次に簡易モニタをIPLし、次に簡易モニタ制御
下でCPU系TP(テストプログラム)を実行する。C
PU系テストプログラムは、複数個の論理アドレス(テ
スト対象となる)を用意し、正常に変換されること、期
待するアドレス変換例外が発生すること等を確認する。
CPU系テストプログラムは、予め作成されたアドレス
変換テーブルをデータとして持っている。
2. Description of the Related Art FIG. 15 shows a conventional example. When performing a test on an I / O device of a computer, the firmware is first IMPLed, and then the system monitor is IPLed.
Then, each test program is executed under the control of the system monitor. The setting of the address conversion table, the setting of the storage protection mechanism, and other settings (such as interrupt processing) are performed by the system monitor. When testing the CPU (Central Processing Unit), the firmware must be IMP
L, then IPL the simple monitor, and then execute the CPU TP (test program) under the simple monitor control. C
The PU test program prepares a plurality of logical addresses (to be tested), and confirms that the addresses are normally converted and that an expected address conversion exception occurs.
The CPU test program has an address conversion table created in advance as data.

【0003】図16は従来のIPLローダ内シーク・ア
ドレスを説明する図である。主記憶メモリのX’000
0’番地から256バイトの領域はBOOTの格納領域
とされ、X’0A00’番地から512バイトの領域は
IPLローダの領域とされ、X’1000’番地からの
領域はMIPLプログラム領域とされている。
FIG. 16 illustrates a conventional seek address in an IPL loader. X'000 of main memory
The area from address 0 'to 256 bytes is a BOOT storage area, the area from address X'0A00' to 512 bytes is an IPL loader area, and the area from address X'1000 'is a MIPL program area. .

【0004】IMPL終了後、ファームウェアはBOO
T(IPLローダをメモリにロードするプログラム)を
メモリの0番地にローディングし、実行する(IPLロ
ーダをメモリ上にロードし、制御を渡す)。IPLロー
ダ(IPLプログラムをメモリ上にロードするプログラ
ム)は、IPLローダ内相対アドレスの506番地に記
述されているサイズ/アドレスに従って、IPLプログ
ラムを磁気ディスク装置から読み出してメモリ上のX’
1000’番地にローディングし、IPLプログラムに
制御を渡す。
After the IMPL is completed, the firmware is
T (a program for loading the IPL loader into the memory) is loaded at address 0 of the memory and executed (loading the IPL loader onto the memory and passing control). The IPL loader (a program for loading the IPL program into the memory) reads the IPL program from the magnetic disk device in accordance with the size / address described at the relative address 506 in the IPL loader, and reads X 'on the memory.
It loads to address 1000 'and passes control to the IPL program.

【0005】CPU系TPとは、ハードウェア及びファ
ームウェアによって実現されるアーキテクチャのうち、
動的アドレス変換機構(仮想記憶方式を実現),記憶保
護機構(実行中のプログラムが他のプログラムやデータ
領域を誤ってアクセスした時に他のプログラムやデータ
領域の破壊を防ぐ),割込み機構(機械,スーパバイ
ザ,プログラム,入出力),命令セットの各命令などが
仕様通りに動作することを確認するためのプログラムで
ある。
[0005] The CPU system TP is an architecture realized by hardware and firmware.
Dynamic address translation mechanism (realizes virtual memory system), memory protection mechanism (prevents the destruction of other programs and data areas when a running program accesses other programs and data areas by mistake), interrupt mechanism (machine , Supervisor, program, input / output), and instructions in the instruction set, etc., to confirm that they operate as specified.

【0006】図17はアドレス変換を説明する図であ
る。動的アドレス変換機構において、セグメント・テー
ブル及びぺージ・テーブルの参照によるぺージ・サイズ
が2Kぺージと16Kぺージの場合について説明する。
図17(a) は2Kぺージ・モードのファームウェアの場
合を示す図である。2Kぺージ・モードの場合は、論理
アドレスのビット0〜15がセグメント番号とされ、ビ
ット16〜20がぺージ番号とされ、ビット21〜31
がぺージ内変位とされる。セグメント・テーブルの各エ
ントリには、ぺージ・テーブル先頭アドレスなどが書か
れている。ぺージ・テーブルの各エントリには、ぺージ
・アドレスが書かれている。
FIG. 17 is a diagram for explaining address conversion. The case where the page size in the dynamic address translation mechanism by referring to the segment table and the page table is 2K page and 16K page will be described.
FIG. 17A is a diagram showing the case of the firmware in the 2K page mode. In the 2K page mode, bits 0 to 15 of the logical address are used as the segment number, bits 16 to 20 are used as the page number, and bits 21 to 31 are used.
Is the displacement in the page. In each entry of the segment table, a page table start address and the like are written. A page address is written in each entry of the page table.

【0007】論理アドレスのセグメント番号によって、
セグメント・テーブルの対応するエントリの内容を読み
出し、ぺージ・テーブルの先頭アドレスを得る。得られ
たぺージ・テーブルの先頭アドレス及び論理アドレスの
ぺージ番号に基づいて、該当するぺージ・テーブル内の
対応するエントリの内容を読み出し、ぺージ・アドレス
を得る。得られたぺージ・アドレスと論理アドレスのぺ
ージ内変位とを合わせたものが実アドレスとなる。
According to the segment number of the logical address,
The contents of the corresponding entry in the segment table are read, and the start address of the page table is obtained. Based on the obtained start address of the page table and the page number of the logical address, the contents of the corresponding entry in the corresponding page table are read to obtain the page address. The sum of the obtained page address and the displacement of the logical address within the page is the real address.

【0008】図17(b) は16Kぺージ・モードのファ
ームウェアの場合を示す図である。16Kぺージ・モー
ドの場合は、論理アドレスのビット0〜11がセグメン
ト番号とされ、ビット12〜17がぺージ番号とされ、
ビット18〜31がぺージ内変位とされる。セグメント
・テーブルの各エントリには、ぺージ・テーブル先頭ア
ドレスなどが書かれており、ぺージ・テーブルの各エン
トリには、ぺージ・アドレスが書かれている。論理アド
レスを実アドレスに変換する過程は、2Kぺージの場合
と同じである。
FIG. 17B is a diagram showing the case of firmware in the 16K page mode. In the 16K page mode, bits 0 to 11 of the logical address are used as the segment number, bits 12 to 17 are used as the page number,
Bits 18 to 31 are set as in-page displacement. In each entry of the segment table, a page table head address and the like are written, and in each page table entry, a page address is written. The process of converting a logical address to a real address is the same as in the case of 2K pages.

【0009】上記のように、サポートするぺージ・サイ
ズが2Kと16Kのファームウェアでは、セグメント番
号およびぺージ番号を表現するビット範囲が違う(テー
ブルの最大エントリ数も違う)ため、作成するアドレス
変換テーブルも違う。したがって、それぞれに対するC
PU系TPが必要である。
As described above, in the firmware of the supported page sizes of 2K and 16K, the bit ranges for expressing the segment number and the page number are different (the maximum number of entries in the table is also different). The table is also different. Therefore, C for each
PU-based TP is required.

【0010】システム・モニタは、CPU系TPによっ
て保障された前記のような機能を使用して(正常に動作
するものとして)、各装置(I/O装置など)を診断す
るテストプログラムを制御する環境を作成している(シ
ステムが正常に動作することで間接的に前記のような機
能の診断を行う目的もある)。
The system monitor controls a test program for diagnosing each device (such as an I / O device) by using the above functions guaranteed by the CPU system TP (assuming that it operates normally). An environment is created (the purpose is to indirectly diagnose the above functions by operating the system normally).

【0011】簡易モニタは、前記のような機能を診断す
るために簡易モニタ自身は前記のような機能を使用せず
に、CPU系TP(前記のような機能を診断す)を実行
する(ロード/スタートなど)ためだけの環境を作成し
ている(モニタが使用していると、TPはその部分を診
断できない)。
The simple monitor executes the CPU system TP (diagnoses the above functions) without using the above functions in order to diagnose the above functions (loading). / Start, etc.) (the TP cannot diagnose that part if the monitor is using it).

【0012】従って、システム・モニタではCPU系T
Pを実行することが出来ず(一部可能)、簡易モニタで
は各装置を診断するテストプログラムを制御する環境を
作成できない。
Therefore, in the system monitor, the CPU T
P cannot be executed (partially possible), and a simple monitor cannot create an environment for controlling a test program for diagnosing each device.

【0013】従来のCPU系TPは、システム・モニタ
(主に磁気ディスク装置からローディング)制御下で動
作するものと、簡易モニタ(フロッピー・ディスク装置
からローディング)制御下で動作するものとがあり、そ
れぞれのモニタは独立している。また、プログラムの動
作環境が異なる複数のファームウェアを診断する方法が
なかった。
The conventional CPU system TP includes one that operates under control of a system monitor (mainly loading from a magnetic disk device) and one that operates under control of a simple monitor (loading from a floppy disk device). Each monitor is independent. Further, there is no method for diagnosing a plurality of firmwares having different operating environments of the program.

【0014】[0014]

【発明が解決しようとする課題】従来の技術では、シス
テム・モニタ上で動作するCPU系TPは、モニタプロ
グラムの動作環境および資源を破壊するような診断を行
うことが出来ず、前記のような診断を行うCPU系TP
は簡易モニタ上で動作させなければならない。
In the prior art, the CPU system TP operating on the system monitor cannot make a diagnosis that destroys the operating environment and resources of the monitor program. Diagnosis CPU TP
Must be operated on a simple monitor.

【0015】しかし、簡易モニタはCPU系TPを動作
させるための最低限の機能しか持っていないため、オペ
レータの操作が必要であり、フロッピー・ディスクの容
量が少ないため、複数本のCPU系TPを連続実行でき
なかった。また、複数本のファームウェアを診断する場
合、ファームウェアを切り替えて、再IMPLする必要
がある。本発明は、CPU系TPの診断レベルを落とす
ことなく、複数のファームウェアを切り替えて診断を行
い、自動試験を可能にすることを目的としている。
However, since the simple monitor has only a minimum function for operating the CPU system TP, an operator's operation is necessary, and since the capacity of the floppy disk is small, a plurality of CPU systems TP are required. Could not run continuously. Further, when diagnosing a plurality of firmware, it is necessary to switch the firmware and perform the IMPL again. SUMMARY OF THE INVENTION It is an object of the present invention to perform diagnostics by switching a plurality of firmwares without lowering the diagnostic level of the CPU TP, thereby enabling an automatic test.

【0016】[0016]

【課題を解決するための手段】そしてそのため、請求項
1の計算機のテスト方法は、IMPLすべきファームウ
ェアを指定するファームウェア指定情報を記憶するファ
ームウェア指定情報域と、ファームウェア指定情報域の
内容で指定されるファームウェアをローディングするI
MPL実行手段と、簡易モニタまたはシステム・モニタ
が格納されている外部記憶装置上の位置およびサイズを
示す情報を記憶するIPL情報域と、IMPLが完了し
た後に起動され、IPL情報域の内容にしたがって簡易
モニタ又はシステム・モニタをローディングして制御を
渡すIPL実行手段と、主メモリと、中央処理装置と、
を具備するファームウェア制御の計算機のテスト方法で
あって、CPU系テストプログラム名が書き込まれる実
行テーブルと、CPU系テストプログラムを実行するか
否かを示す実行情報フラグと、実行情報フラグをオン
し、オペレータによって指示されたCPU系テストプロ
グラム名を実行テーブルに記入するための実行テーブル
作成プログラムと、複数個のファームウェアと、各ファ
ームウェアに対応するCPU系テストプログラムの複数
個と、通常動作時におけるシステムの監視および制御を
行うためのシステム・モニタと、実行情報フラグがオフ
の場合には、システム・モニタがIPLされるようにI
PL情報域の内容を更新し、IPL実行手段を起動し、
実行情報フラグがオンである場合には、実行テーブルに
記入されたCPU系テストプログラム名に対応するCP
U系テストプログラムをローディングして制御を渡し、
CPU系テストプログラムの終了後に次実行のCPU系
テストプログラムが存在するか否かを調べ、次実行のC
PU系テストプログラムが存在する場合には、次実行の
CPU系テストプログラムに対応するファームウェアを
指定するようにファームウェア指定情報域の内容を更新
し、IMPL実行手段を起動し、次実行のCPU系テス
トプログラムの無い場合には、実行情報フラグをオフ
し、システム・モニタがローディングされるようにIP
L情報域の内容を更新し、IMPL実行手段を起動する
ための簡易モニタとをあらかじめ外部記憶装置に格納し
ておき、 ファームウェアのIMPLを行い、簡易モニタのI
PLを行い、システム・モニタのIPLを行い、システ
ム・モニタの制御下で実行テーブル作成プログラムを実
行し、 の処理の終了後に、ファームウェアのIMPLを
行い、簡易モニタのIPLを行い、簡易モニタの制御下
でCPU系テストプログラムを実行する一連の処理をn
回(n=1,2,…)繰り返し、 の処理の終了後に、ファームウェアのIMPLを
行い、簡易モニタのIPLを行い、システム・モニタの
IPLを行い、システム・モニタの制御下で中央処理装
置以外の装置をテストするテストプログラムを実行する
ことを特徴とするものである。
According to a first aspect of the present invention, there is provided a computer test method comprising: a firmware specification information area for storing firmware specification information for specifying firmware to be IMPLed; and a content of the firmware specification information area. I to load firmware
MPL execution means, an IPL information area for storing information indicating a position and a size on an external storage device in which a simple monitor or a system monitor is stored, and an IPL information area which is started after the IMPL is completed, and is executed according to the contents of the IPL information area. An IPL executing means for transferring a control by loading a simple monitor or a system monitor, a main memory, a central processing unit,
A firmware-controlled computer test method comprising: an execution table in which a CPU-based test program name is written; an execution information flag indicating whether to execute the CPU-based test program; and an execution information flag turned on. An execution table creation program for writing the CPU test program name designated by the operator in the execution table; a plurality of firmware; a plurality of CPU test programs corresponding to each firmware; A system monitor for monitoring and control, and an I / O so that the system monitor is IPLed when the execution information flag is off.
Update the contents of the PL information area, start the IPL execution means,
If the execution information flag is on, the CP corresponding to the CPU-based test program name written in the execution table
Load U system test program and pass control,
After the CPU-based test program ends, it is checked whether or not the next-executed CPU-based test program exists.
If the PU test program exists, the contents of the firmware specification information area are updated so as to specify the firmware corresponding to the CPU test program of the next execution, the IMPL execution means is started, and the CPU test of the next execution is executed. When there is no program, the execution information flag is turned off and the IP is set so that the system monitor is loaded.
The contents of the L information area are updated, a simple monitor for activating the IMPL execution means is stored in an external storage device in advance, the firmware is IMPLed, and the IMON of the simple monitor is executed.
PL, performs IPL of the system monitor, executes the execution table creation program under the control of the system monitor, performs IMPL of the firmware, performs IPL of the simple monitor, and controls the simple monitor A series of processes for executing the CPU test program under
(N = 1, 2,...), After the processing of, the IMPL of the firmware is performed, the IPL of the simple monitor is performed, the IPL of the system monitor is performed, and other than the central processing unit under the control of the system monitor. And executing a test program for testing the device.

【0017】請求項2の計算機のテスト方法は、請求項
1の計算機のテスト方法において、簡易モニタが、CP
U系テストプログラムの実行時にエラーが検出された時
には、エラー情報フラグをオンし、エラー情報をエラー
情報域に書き込む機能を持ち、システム・モニタが、エ
ラー情報フラグがオンか否かを調べ、オンの場合にはエ
ラー情報を出力する機能を持つことを特徴とするもので
ある。
A computer test method according to a second aspect of the present invention is the computer test method according to the first aspect, wherein the simple monitor comprises a CP.
When an error is detected during the execution of a U-system test program, the system has a function of turning on the error information flag and writing the error information to the error information area. The system monitor checks whether the error information flag is on and turns it on. In the case of (1), it has a function of outputting error information.

【0018】[0018]

【実施例】図1は本発明の概要を説明するための図であ
る。同図において、1は中央処理装置、2は主メモリ、
3はI/O装置、4は操作パネル、5は磁気ディスク装
置をそれぞれ示している。
FIG. 1 is a diagram for explaining the outline of the present invention. In the figure, 1 is a central processing unit, 2 is a main memory,
Reference numeral 3 denotes an I / O device, 4 denotes an operation panel, and 5 denotes a magnetic disk device.

【0019】磁気ディスク装置5のディスク・ボリュー
ムの中には、BOOT,SSW(System Status Word),
IPLローダ、簡易モニタ、IPLプログラム,システ
ム・モニタ,CPU系TP実行プログラム,複数のファ
ームウェア,複数のテストプログラム,ファームウェア
情報格納メンバ,TP実行情報フラグ,CPU系TP実
行テーブル,エラー情報格納域などが存在する。
In the disk volume of the magnetic disk device 5, BOOT, SSW (System Status Word),
IPL loader, simple monitor, IPL program, system monitor, CPU TP execution program, multiple firmware, multiple test programs, firmware information storage member, TP execution information flag, CPU TP execution table, error information storage area, etc. Exists.

【0020】BOOTは、IPLローダをローディング
するものである。SSWの中には、IMPLすべきファ
ームウェアを特定する情報が存在する。IPLローダ
は、ローディングすべきプログラムのシーク・アドレス
及びサイズを記憶するIPL情報領域を有しており、I
PL情報域の値に応じて簡易モニタ又はIPLプログラ
ムをローディングする。
The BOOT is for loading an IPL loader. The SSW contains information for specifying firmware to be IMPLed. The IPL loader has an IPL information area for storing a seek address and a size of a program to be loaded.
The simple monitor or the IPL program is loaded according to the value of the PL information area.

【0021】簡易モニタは、CPU系TPを実行する場
合にローディングされる。IPLプログラムは、システ
ム・モニタをローディングするためのものである。CP
U系のテスト以外のテストは、システム・モニタの制御
下で行われる。通常動作時にもシステム・モニタがロー
ディングされる。CPU系TP実行プログラムは、CP
U系TP実行テーブルを作成するためのものである。
The simple monitor is loaded when the CPU system TP is executed. The IPL program is for loading a system monitor. CP
Tests other than the U-system test are performed under the control of the system monitor. The system monitor is loaded during normal operation. The CPU-based TP execution program is CP
This is for creating a U-system TP execution table.

【0022】例えば、ファームウェア1は2Kページの
動的アドレス変換機構のためのものであり、ファームウ
ェア2は16Kページの動的アドレス変換機構のための
ものである。テストプログラム1はファームウェア1お
よびハードウェアのテストを行うためのCPU系TPで
あり、テストプログラム2はファームウェア2およびハ
ードウェアのテストを行うためのCPU系TPである。
For example, firmware 1 is for a 2K page dynamic address translation mechanism, and firmware 2 is for a 16K page dynamic address translation mechanism. The test program 1 is a CPU TP for testing the firmware 1 and the hardware, and the test program 2 is a CPU TP for testing the firmware 2 and the hardware.

【0023】ファームウェア情報格納メンバは、複数の
ファームウェアの先頭シーク・アドレス,各ファームウ
ェアのサポート・ページ・サイズ,各ファームウェアの
サイズなどを有している。
The firmware information storage member has a head seek address of a plurality of firmware, a support page size of each firmware, a size of each firmware, and the like.

【0024】TP実行情報フラグは、CPU系TPを実
行するか否かを示すビットを有している。CPU系TP
実行テーブルには、実行すべきCPU系TPの名前が順
番に並んで書き込まれている。エラー情報格納域には、
CPU系TPの実行中に検出されたエラーの詳細を示す
エラー情報が格納される。
The TP execution information flag has a bit indicating whether or not to execute the CPU TP. CPU system TP
The names of the CPU TPs to be executed are written in the execution table in order. In the error information storage area,
Error information indicating details of an error detected during execution of the CPU TP is stored.

【0025】図1のシステムの動作を簡単に説明する。
最初にIMPLローダ(図示せず)が動作し、ディスク
・ボリューム上のSSWが読み込まれる。IMPLロー
ダはSSWで指定されたファームウェアをIMPLす
る。IMPL後にファームウェアの制御によりBOOT
がローディングされ、BOOTに制御が渡される。BO
OTは、IPLローダをローディングする。
The operation of the system shown in FIG. 1 will be briefly described.
First, an IMPL loader (not shown) operates to read the SSW on the disk volume. The IMPL loader IMPLs the firmware specified by the SSW. BOOT by firmware control after IMPL
Is loaded, and control is passed to the BOOT. BO
The OT loads the IPL loader.

【0026】IPLローダは、IPL情報域の値が簡易
モニタを指示している場合には簡易モニタをローディン
グして制御を渡し、IPL情報域の値がIPLプログラ
ムを指示している場合にはIPLプログラムをローディ
ングして制御を渡す。初期時においては、IPL情報域
には簡易モニタのサイズ及びシーク・アドレスが書きこ
まれる。
The IPL loader loads the simple monitor when the value of the IPL information area indicates the simple monitor, and passes the control. When the value of the IPL information area indicates the IPL program, the IPL loader transfers the control. Load the program and pass control. At the initial stage, the size and seek address of the simple monitor are written in the IPL information area.

【0027】簡易モニタは、TP実行情報フラグがCP
U系TPの実行を指示している場合には、CPU系TP
実行テーブルに登録されているCPU系TPをローディ
ングして制御を渡し、TP実行情報フラグがCPU系T
Pの実行を指示していない場合には、IPLローダのI
PL情報域の内容をIPLプログラムのシーク・アドレ
ス/サイズに書き換え、IPLローダに制御を渡す。ま
た、簡易モニタは、CPU系TPの実行が終了した時、
次に実行すべきCPU系TPに対応するファームウェア
をファームウェア情報格納メンバの内容を参照して求
め、SSWの中のファームウェア指定情報を書き換え、
IMPLローダを起動する。
In the simple monitor, the TP execution information flag is set to CP
If the execution of the U system TP is instructed, the CPU system TP
The CPU system TP registered in the execution table is loaded and control is passed, and the TP execution information flag is
When the execution of P is not instructed, the IPL loader I
The contents of the PL information area are rewritten to the seek address / size of the IPL program, and control is passed to the IPL loader. In addition, when the execution of the CPU TP is completed, the simple monitor
Next, the firmware corresponding to the CPU TP to be executed is obtained by referring to the contents of the firmware information storage member, and the firmware designation information in the SSW is rewritten.
Start the IMPL loader.

【0028】CPU系TP実行プログラムは、システム
・モニタの制御下で動作する。オペレータが操作パネル
4からCPU系TP実行プログラムの実行を指示する
と、CPU系TP実行プログラムがローディングされ、
起動される。CPU系TP実行プログラムは、TP実行
情報フラグをCPU系TPを実行する値に変更し、CP
U系TP実行テーブルを作成するための表示画面を操作
パネル4の画面上に表示する。オペレータは、実行すべ
きCPU系TPの名前を入力し、実行キーを押下する
と、CPU系TP実行テーブルにCPU系TPの名前が
登録される。
The CPU TP execution program operates under the control of the system monitor. When the operator instructs the execution of the CPU TP execution program from the operation panel 4, the CPU TP execution program is loaded,
Is activated. The CPU TP execution program changes the TP execution information flag to a value for executing the CPU TP,
A display screen for creating a U-system TP execution table is displayed on the screen of the operation panel 4. When the operator inputs the name of the CPU TP to be executed and presses the execution key, the name of the CPU TP is registered in the CPU TP execution table.

【0029】図2は本発明におけるIPLローダ内シー
ク・アドレスの変更を説明する図である。IMPL終了
後、ファームウェアはBOOT(IPLローダをメモリ
上にロードするプログラム)をメモリ上の0番地にロー
ディングし、実行する(IPLローダをメモリ上にロー
ドし、制御を渡す)。
FIG. 2 is a diagram for explaining the change of the seek address in the IPL loader according to the present invention. After the completion of the IMPL, the firmware loads the BOOT (a program for loading the IPL loader on the memory) to address 0 on the memory and executes it (loads the IPL loader on the memory and passes control).

【0030】IPLローダ内相対アドレスの506番地
から6バイトの領域がIPL情報域となる。IPLロー
ダ(MIPLまたはMCPUMONプログラムをメモリ
上にロードするプログラム)は、IPLローダ内相対ア
ドレスの506番地に記述されているサイズ/アドレス
に従ってMCPUMONプログラム(簡易モニタと同
義)をメモリ上のX’1000’番地にローディング
し、制御を渡す。
An area of 6 bytes from the relative address 506 in the IPL loader is an IPL information area. The IPL loader (a program for loading the MIPL or MCPUMON program into the memory) executes an MCPUMON program (synonymous with a simple monitor) according to the size / address described in the relative address 506 in the IPL loader in X'1000 'on the memory. Load at address and pass control.

【0031】簡易モニタ(MCPUMONプログラム)
は、ディスク内の情報メンバのTP実行フラグがCPU
系TPの実行を指示しているか否かを調べ、CPU系T
Pの実行が指示されている場合はそのまま処理を続け、
CPU系TPの実行が指示されていない場合は、メモリ
上のMIPLプログラム(システム・モニタをIPLす
るIPLプログラム)のサイズ/アドレス(IPLロー
ダ内相対アドレスで500番地から6バイト)をIPL
ローダ内相対アドレスの506番地から6バイトに複写
し、IPLローダに再び制御を渡す。IPLローダは、
IPLローダ内相対アドレスの506番地に記述されて
いるサイズ/アドレスに従ってMIPLプログラムをメ
モリ上のX’1000’番地にローディングし、制御を
渡す。
Simple monitor (MCPUMON program)
Means that the TP execution flag of the information member in the disk is CPU
Check whether or not the execution of the system TP is instructed.
If the execution of P is instructed, the process is continued,
If the execution of the CPU TP is not instructed, the size / address of the MIPL program (IPL program for IPL for the system monitor) on the memory (6 bytes from address 500 in the IPL loader relative address) is set to IPL.
Copy from the address 506 of the relative address in the loader to 6 bytes, and transfer control to the IPL loader again. The IPL loader is
In accordance with the size / address described at the relative address 506 in the IPL loader, the MIPL program is loaded to the address X'1000 'on the memory, and the control is passed.

【0032】図3はSSW内におけるファームのアドレ
ス/サイズを説明する図である。ディスク・ボリューム
の0セクタは図3(a) に示すような構造になっている。
0セクタの先頭から63バイト位置までの領域にはBO
OTが格納され、102(16進表示で70)バイト位
置から159バイト位置までの領域にはSSWが格納さ
れる。
FIG. 3 is a view for explaining the address / size of the firmware in the SSW. The zero sector of the disk volume has a structure as shown in FIG.
In the area from the beginning of sector 0 to the 63-byte position, BO
The OT is stored, and the SSW is stored in the area from the 102 (70 in hexadecimal) byte position to the 159 byte position.

【0033】図3(b) はSSWの構成を示す図である。
SSWの16(16進表示で10)バイト位置から23
バイト位置までの領域はファーム領域とされる。ファー
ム領域には、ファームウェアが格納されている外部記憶
装置の物理機番,ファームウェアのサイズ,ファームウ
ェアが格納されている領域の先頭物理アドレスが格納さ
れている。SSWにおけるファーム領域以外の領域は本
発明と関係がないので説明を省略する。ファーム領域
は、簡易モニタによって書き換えられる。
FIG. 3B is a diagram showing the configuration of the SSW.
23 from 16 (10 in hexadecimal) byte position of SSW
The area up to the byte position is a firm area. The firmware area stores the physical machine number of the external storage device in which the firmware is stored, the size of the firmware, and the starting physical address of the area in which the firmware is stored. Regions other than the firmware region in the SSW are not relevant to the present invention, and thus description thereof is omitted. The firmware area is rewritten by the simple monitor.

【0034】IMPLは、ディスク・ボリュームの固定
域(0セクタ)の情報に従って実行される。ファームウ
ェアの情報(ファームウェアのアドレス/サイズ,サポ
ート・ページ)は、後述のファームウェア情報格納メン
バ(MSYSEVLメンバ) から知ることが出来る。SSWのフ
ァーム領域の内容を変更して再IMPLすると、サポー
ト・ページが違うファームウェアで立ち上げることが出
来る。
The IMPL is executed according to the information of the fixed area (0 sector) of the disk volume. Firmware information (firmware address / size, support page) can be known from a firmware information storage member (MSYSEVL member) described later. If the contents of the firmware area of the SSW are changed and re-IMPL is performed, the support page can be started with different firmware.

【0035】図4はファームウェア情報格納メンバ(MSY
SEVLメンバ) の構成例を示す図である。図示の例では、
ファームウェア・エンティティ0の先頭シーク・アドレ
ス,ファームウェア・エンティティ1の先頭シーク・ア
ドレス,ファームウェア・エンティティ2の先頭シーク
・アドレス,ファームウェア・エンティティ3の先頭シ
ーク・アドレス,サポート・ページ・サイズ0,サポー
ト・ページ・サイズ1,サポート・ページ・サイズ2,
サポート・ページ・サイズ3,ファームウェア0のサイ
ズ,ファームウェア1のサイズ,ファームウェア2のサ
イズ,ファームウェア3のサイズが格納されている。そ
の他のデータについては本発明と関係がないので、説明
を省略する。
FIG. 4 shows a firmware information storage member (MSY).
FIG. 3 is a diagram showing a configuration example of a SEVL member). In the example shown,
Start seek address of firmware entity 0, start seek address of firmware entity 1, start seek address of firmware entity 2, start seek address of firmware entity 3, support page size 0, support page・ Size 1, support page size 2,
Support page size 3, firmware 0 size, firmware 1 size, firmware 2 size, and firmware 3 size are stored. The other data is not relevant to the present invention, and thus the description is omitted.

【0036】図5はディスク内の情報メンバの構成例を
示す図である。ディスク内の情報メンバは、MCPUI
NFメンバと呼ばれる。TP実行情報フラグの構成は図
6に示されている。TP実行情報フラグは1バイトの大
きさを持つ。ビット0はCPU系TP実行テーブルで指
定されたTPを実行するか否かを示すものであり、0で
実行しないを示し、1で実行するを示す。ビット1はエ
ラー情報ありか否かを示すものであり、0でエラー情報
なし、1でエラー情報ありを示す。ビット6は16Kペ
ージ・テストが終了したか否か(実行するかしないか)
を示すものであり、0で終了していない(実行する)を
示し、1で終了した(実行しない)を示す。ビット7は
2Kページ・テストが終了したか否か(実行するかしな
いか)を示すものであり、0で終了していない(実行す
る)を示し、1で終了した(実行しない)を示す。
FIG. 5 is a diagram showing a configuration example of an information member in a disk. The information members in the disk are
Called NF member. FIG. 6 shows the configuration of the TP execution information flag. The TP execution information flag has a size of one byte. Bit 0 indicates whether or not to execute the TP specified in the CPU-based TP execution table. 0 indicates no execution and 1 indicates execution. Bit 1 indicates whether or not there is error information. 0 indicates no error information and 1 indicates error information. Bit 6 indicates whether the 16K page test has been completed (whether to execute or not)
0 indicates no end (execute) and 1 indicates end (no execution). Bit 7 indicates whether or not the 2K page test has been completed (whether to execute or not). 0 indicates that the test has not been completed (executed), and 1 indicates that it has been completed (not executed).

【0037】実行経過メッセージ表示フラグは、実行経
過を示すメッセージを操作パネル上に表示するか否かを
示すフラグである。実行経過メッセージ表示フラグがオ
ンである場合には、何本目のCPU系TPが現在実行中
であるかを示すメッセージが操作パネル上に表示され
る。
The execution progress message display flag is a flag indicating whether or not a message indicating the execution progress is displayed on the operation panel. When the execution progress message display flag is on, a message indicating which CPU TP is currently being executed is displayed on the operation panel.

【0038】CPU系TP実行テーブル(メンバ)名
は、CPU系TP実行テーブルを指定する。CPU系T
P実行テーブルは、一つのメンバとして作成され、SY
SCPUと呼ばれるファイルの中に存在する。
The CPU TP execution table (member) name designates a CPU TP execution table. CPU system T
The P execution table is created as one member and SY
It exists in a file called SCPU.

【0039】CPU系TP実行テーブルの構成は、図7
に示される。CPU系TP実行テーブルは、実行テーブ
ル判断フラグ(TBLFLG)と、2Kページ・テスト・エント
リ数(ETNUM2K) と、16Kページ・テスト・エントリ数
(ETNUM16K)と、複数のテストプログラム名(TPNAME)とを
有している。
The structure of the CPU TP execution table is shown in FIG.
Is shown in The CPU TP execution table includes an execution table determination flag (TBLFLG), a 2K page test entry number (ETNUM2K), and a 16K page test entry number.
(ETNUM16K) and a plurality of test program names (TPNAME).

【0040】実行テーブル判断フラグ(TBLFLG)は、8バ
イトの大きさを持ち、SYSCPUファイルに格納され
ているメンバがCPU系TP実行テーブルか否かを示
す。CPU系TP実行テーブルである場合には、実行テ
ーブル判断フラグ(TBLFLG)の領域にCPUTABLEと
言う文字列が書き込まれる。
The execution table determination flag (TBLFLG) has a size of 8 bytes, and indicates whether or not the member stored in the SYSCPU file is a CPU system TP execution table. In the case of the CPU system TP execution table, a character string “CPUTABLE” is written in the area of the execution table determination flag (TBLFLG).

【0041】2Kページ・テスト・エントリ数(ETNUM2
K) は、2Kページの動的アドレス変換機構をテストす
るCPU系TPの名前がCPU系TP実行テーブル中に
何個登録されているかを示す。16Kページ・テスト・
エントリ数(ETNUM16K)は、16Kページの動的アドレス
変換機構をテストするCPU系TPの名前がCPU系T
P実行テーブル中に何個登録されているかを示す。
The number of 2K page test entries (ETNUM2
K) indicates how many names of the CPU TP for testing the dynamic address translation mechanism of the 2K page are registered in the CPU TP execution table. 16K page test
The number of entries (ETNUM16K) indicates that the name of the CPU TP for testing the dynamic address translation mechanism of 16K pages is the CPU T
Indicates how many are registered in the P execution table.

【0042】テストプログラム名(TPNAME)の領域には、
実行するCPU系テストプログラムのメンバ名が格納さ
れている。必ず2Kページのテストのエントリ(行)か
ら始まる。16Kページのテストのエントリから始まる
場合は、2Kページのテストのエントリが無い(2Kペ
ージのエントリ数0)のときである。
In the area of the test program name (TPNAME),
The member name of the CPU test program to be executed is stored. Always starts with a 2K page test entry (row). The case of starting from the 16K page test entry is when there is no 2K page test entry (the number of 2K page entries is 0).

【0043】CPU系TP実行テーブル(図7)は簡易
モニタがメモリ上に読み込み、再IMPLするまでは常
駐している。簡易モニタは、CPU系TP実行テーブル
の12番地以降に格納されているテストプログラム名
(8バイト)のメンバを1つずつ順にローディングし、
実行する。1つのテストプログラムの実行が終了する
と、簡易モニタ自身が持っているデータ領域(2バイ
ト)にカウントする(初期状態は0であり、TPが終了
する毎に1ずつUPする)。
The CPU system TP execution table (FIG. 7) is resident until the simple monitor reads the data into the memory and performs the IMPL again. The simple monitor loads the members of the test program name (8 bytes) stored after the address 12 in the CPU TP execution table one by one in order.
Execute. When the execution of one test program is completed, the count is counted in the data area (2 bytes) held by the simple monitor itself (the initial state is 0, and is incremented by 1 every time the TP ends).

【0044】CPU系TP実行プログラムの処理につい
て説明する。CPU系TP実行プログラムは、オペレー
タから入力されたCPU系TP実行テーブル・メンバ名
を図5の4バイトメモリから8バイトの領域に格納し、
0バイト目からのTP実行情報フラグ(詳細は図6)の
0ビットをONにする。次いで、システム・リセット命
令を実行する。システム・リセット命令が実行される
と、IMPLが実行され、次いで簡易モニタへ制御が渡
される。
The processing of the CPU TP execution program will be described. The CPU TP execution program stores the CPU TP execution table member name input from the operator in the 8-byte area from the 4-byte memory in FIG.
From the 0th byte, the 0 bit of the TP execution information flag (details in FIG. 6) is turned ON. Next, a system reset instruction is executed. When the system reset instruction is executed, the IMPL is executed, and then control is passed to the simple monitor.

【0045】図5に示すディスク内の情報メンバにおけ
るエラー情報格納域には、簡易モニタとMIPLプログ
ラム(システム・モニタをIPLするIPLプログラ
ム)との間で受け渡すエラー情報が格納される。
The error information storage area in the information member in the disk shown in FIG. 5 stores error information passed between the simple monitor and the MIPL program (IPL program for IPL of the system monitor).

【0046】システム・モニタ制御下で動作するプログ
ラムがエラーを検出した場合、自動試験対策としてディ
スプレイ,ディスク,プリンタ等にエラー出力可能であ
る。簡易モニタは、CPU系TPを動作させる最低限の
機能しか持たないため、エラー出力はディスプレイのみ
であり、その出力内容にも違いがあった。
When a program operating under the control of the system monitor detects an error, an error can be output to a display, a disk, a printer or the like as an automatic test measure. Since the simple monitor has only a minimum function of operating the CPU TP, the error output is only the display, and the output contents are different.

【0047】本発明では、簡易モニタ制御下で動作する
CPU系TPがエラーを検出した場合、ディスク内の情
報メンバ(MCPUINF) 内のエラー情報格納域にいったん格
納し、簡易モニタがシステム・モニタのIPLを行う前
にシステム・モニタ制御下で表示するエラー情報にフォ
ーマットを変更し、システム・モニタに情報を受け渡
す。システム・モニタは、IPL終了後にエラーを出力
する。
According to the present invention, when the CPU TP operating under the simple monitor control detects an error, the error is temporarily stored in the error information storage area in the information member (MCPUINF) in the disk, and the simple monitor is used by the system monitor. Before performing the IPL, the format is changed to error information to be displayed under the control of the system monitor, and the information is transferred to the system monitor. The system monitor outputs an error after the end of the IPL.

【0048】図8ないし図11は初期処理の詳細を示す
図である。これらの処理は簡易モニタによって行われ
る。ステップS1では、BOOT(メモリ上の0番地か
ら256バイト)を退避する。ステップS2では、TE
AMSエンティティ(IPLローダ)の先頭アドレスと
IPL装置アドレスを退避する。
FIGS. 8 to 11 are diagrams showing details of the initial processing. These processes are performed by a simple monitor. In step S1, the BOOT (256 bytes from address 0 on the memory) is saved. In step S2, TE
The head address of the AMS entity (IPL loader) and the IPL device address are saved.

【0049】ステップS3では、ISF(Integrated Se
rvic Facility)からのCPU監視を停止する。ISFは
不揮発性メモリを有しており、このメモリの中にコンピ
ュータにとって必要な情報が保存されている。ステップ
S4では、システム情報を獲得する。この処理はMCD
命令によって行われる。システム情報とは、現在のファ
ームウェアのサポート・ページサイズなどを意味してい
る。
In step S3, an ISF (Integrated Se
Stop CPU monitoring from rvic Facility). The ISF has a non-volatile memory, in which information necessary for the computer is stored. In step S4, system information is obtained. This process is MCD
Performed by instruction. The system information means the current support page size of the firmware and the like.

【0050】ステップS5では、IPL装置がDISK
か,FPDかを判断する。DISKの場合はステップS
6に進む。ステップS6では、BOOTとSSWを読み
込むと共に、MSYSEVLを読み込む。
In step S5, the IPL device sets the DISK
Or FPD. Step S for DISK
Proceed to 6. In step S6, BOOT and SSW are read, and MSYSEVL is read.

【0051】ステップS7では、ISF内の拡張システ
ム情報から、CPU系TPを実行するか否かを判断す
る。実行しない(MIPLの起動)の場合はステップS
8に進み、実行する場合はステップS13に進む。ステ
ップS8では、R0を0クリアする。
In step S7, it is determined from the extended system information in the ISF whether or not to execute the CPU TP. If not executed (MIPL activation), step S
Then, the process proceeds to step S13. In step S8, R0 is cleared to zero.

【0052】ステップS9では、メモリ上(X‘A0
0’番地)のIPLローダ内の簡易モニタのシーク・ア
ドレスをMIPLのシーク・アドレスに書き換える。ス
テップS10では、退避したBOOTを復元する。ステ
ップS11では、IPLローダ(X‘A00’番地)に
分岐する。ステップS12では、MIPLを実行する。
In step S9, the data (X'A0
The seek address of the simple monitor in the IPL loader (address 0 ') is rewritten to the seek address of MIPL. In step S10, the saved BOOT is restored. In step S11, the process branches to an IPL loader (address X'A00 '). In step S12, MIPL is executed.

【0053】ステップS13では、MCPUINF内の
フラグでテストを実行するか否かを判断する。実行しな
い場合はステップS14に進み、実行する場合はステッ
プS16に進む。ステップS14では、MCPUINF
内のフラグでエラー情報があるか否かを判断する。なし
の場合はステップS8に進み、ありの場合はステップS
15に進む。ステップS15では、MCPUINF内の
エラー情報をメモリにロードし、R0に総サイズをセッ
トする。次にステップS9に進む。
In step S13, it is determined whether or not to execute a test using a flag in MCPUINF. If not, the process proceeds to step S14. If the process is to be executed, the process proceeds to step S16. In step S14, MCPUINF
It is determined whether or not there is error information based on the flag in. If no, go to step S8; if yes, go to step S8.
Proceed to 15. In step S15, the error information in MCPUINF is loaded into the memory, and the total size is set in R0. Next, the process proceeds to step S9.

【0054】ステップS16では、メモリ上(X‘1
0’〜X‘2F’)の各割り込み新PSWをセットす
る。ステップS17では、メモリ上(X‘68’〜X
‘6F’)の変換例外情報退避データ内の退避域アドレ
スを実アドレスでセットする。なお、ステップS16と
S17の処理は、簡易モニタの動作環境を作成するため
の処理である。ステップS18では、MCD命令で現在
のファームウェアのサポート・ページサイズを判断す
る。2Kの場合はステップS19に進み、16Kの場合
はステップS24に進む。
In the step S16, (X'1
0 'to X'2F') are set. In step S17, the memory (X'68 'to X
The save area address in the conversion exception information save data of '6F') is set by the real address. The processing in steps S16 and S17 is processing for creating an operation environment of the simple monitor. In step S18, the support page size of the current firmware is determined by the MCD instruction. In the case of 2K, the process proceeds to step S19, and in the case of 16K, the process proceeds to step S24.

【0055】ステップS19では、MCPUINF内の
2Kページテスト終了フラグがONか否かを判断する。
ONの場合はステップS22に進み、OFFの場合はス
テップS20に進む。ステップS20では、MCPUI
NF内に格納されているテーブル名のメンバをロード
し、その内容に従って2Kページのテストを実行する。
エラーなしの場合はステップS21に進み、エラーあり
の場合はステップS29に進む。
In step S19, it is determined whether or not the 2K page test end flag in MCPUINF is ON.
If it is ON, the process proceeds to step S22, and if it is OFF, the process proceeds to step S20. In step S20, the MCPI
The member of the table name stored in the NF is loaded, and a 2K page test is executed according to the contents.
If there is no error, the process proceeds to step S21, and if there is an error, the process proceeds to step S29.

【0056】ステップS21では、MCPUINF内の
2Kページテスト終了フラグをONする。ステップS2
2では、MCPUINF内の16Kページテスト終了フ
ラグがONか否かを判断する。ONの場合はステップS
30に進み、OFFの場合はステップS23に進む。ス
テップS23では、SSWに16Kファームのアドレス
/サイズを設定する。次に再IMPLを行う。
In step S21, the 2K page test end flag in MCPUINF is turned on. Step S2
In step 2, it is determined whether the 16K page test end flag in MCPUINF is ON. Step S if ON
The process advances to step S30, and if it is OFF, the process advances to step S23. In step S23, the address / size of the 16K firmware is set in the SSW. Next, the IMPL is performed again.

【0057】ステップS24では、MCPUINF内の
16Kページテスト終了フラグがONか否かを判断す
る。ONの場合はステップS27に進み、OFFの場合
はステップS25に進む。ステップS25では、MCP
UINF内に格納されているテーブル名のメンバをロー
ドし、その内容に従って16Kページのテストを実行す
る。エラーなしの場合はステップS26に進み、エラー
ありの場合はステップS29に進む。
In step S24, it is determined whether the 16K page test end flag in MCPUINF is ON. If it is ON, the process proceeds to step S27, and if it is OFF, the process proceeds to step S25. In step S25, the MCP
The table name members stored in UINF are loaded, and a test of 16K pages is executed according to the contents. If there is no error, the process proceeds to step S26, and if there is an error, the process proceeds to step S29.

【0058】ステップS26では、MCPUINF内の
16Kページテスト終了フラグをONする。ステップS
27では、MCPUINF内の2Kページテスト終了フ
ラグがONか否かを判断する。ONの場合はステップS
30に進み、OFFの場合はステップS28に進む。ス
テップS28では、SSWに2Kファームのアドレス/
サイズを設定する。次に再IMPLを行う。
In step S26, the 16K page test end flag in MCPUINF is turned on. Step S
At 27, it is determined whether the 2K page test end flag in MCPUINF is ON. Step S if ON
The process proceeds to step S30, and if it is OFF, the process proceeds to step S28. In step S28, the address of the 2K firmware /
Set the size. Next, the IMPL is performed again.

【0059】ステップS29では、MCPUINF内に
エラー情報を格納し、エラー情報フラグをONし、2K
/16Kテスト終了フラグをONする。ステップS30
では、MCPUINF内のTP実行フラグをOFFす
る。そして、SSWに&SIPL発行時のファーム(M
SYSEVLのファームウェア番号)のアドレス/サイ
ズを設定し、次いで再IMPLを行う。
In step S29, error information is stored in MCPUINF, the error information flag is turned on, and 2K
Turn on the / 16K test end flag. Step S30
Then, the TP execution flag in MCPUINF is turned off. Then, the firmware (M
The address / size of the firmware (SYSEVENTL) is set, and then the IMPL is performed again.

【0060】図12は本発明の動作例を説明するための
図である。この動作例は、CPU系TP実行テーブルに
1個のCPU系TP名しか登録されていないことを条件
としている。本発明では、予めディスク・ボリュームに
格納されているIPLローダ内のサイズ/アドレスを簡
易モニタのものに変更し、ファームウェアのIMPL終
了後、簡易モニタのIPLを行うようにする。簡易モニ
タは、ディスクに格納されている情報メンバ(MCPUINF)
のTP実行情報フラグの値(この値は初期時には0にセ
ット)を参照し、CPU系TPを実行せずに、システム
・モニタのIPLを行う。
FIG. 12 is a diagram for explaining an operation example of the present invention. This operation example is based on the condition that only one CPU TP name is registered in the CPU TP execution table. In the present invention, the size / address in the IPL loader stored in the disk volume in advance is changed to that of the simple monitor, and the IPL of the simple monitor is performed after the completion of the IMPL of the firmware. The simple monitor is an information member (MCPUINF) stored on the disk.
Of the TP execution information flag (this value is initially set to 0), and executes the IPL of the system monitor without executing the CPU TP.

【0061】システム・モニタのIPL終了後、各装置
に対するテストプログラムが動作可能となる。この時
に、オペレータはCPU系TP実行プログラムを起動し
て、ディスク内の情報メンバ(MCPUINF) の内容をCPU
系TPを実行するように変更する。ディスク内の情報メ
ンバ(MCPUINF) を変更した後、再びファームウェアのI
MPLを行う。
After the end of the IPL of the system monitor, the test program for each device becomes operable. At this time, the operator starts the CPU-based TP execution program, and stores the contents of the information member (MCPUINF) in the disk into the CPU.
Change to execute system TP. After changing the information member (MCPUINF) in the disk,
Perform MPL.

【0062】ファームウェアのIMPL終了後、簡易モ
ニタはディスク内の情報メンバ(MCPUINF) のCPU系T
P実行テーブル名で指定されるCPU系TP実行テーブ
ルの内容に従ってCPU系TPを実行し、テスト終了
後、ディスク内の情報メンバ(MCPUINF) のTP実行情報
フラグの値をシステム・モニタのIPLを行うように変
更し、再びファームウェアのIMPLを行う。
After the completion of the firmware IMPL, the simple monitor displays the CPU member T of the information member (MCPUINF) in the disk.
The CPU TP is executed in accordance with the contents of the CPU TP execution table specified by the P execution table name. After the test is completed, the value of the TP execution information flag of the information member (MCPUINF) in the disk is IPLed by the system monitor. And perform IMPL of the firmware again.

【0063】ファームウェアのIMPL終了後、簡易モ
ニタはディスク内の情報メンバ(MCPUINF) のTP実行情
報フラグの値を参照し、CPU系TPを実行せずに、シ
ステム・モニタのIPLを行い、システム・モニタの制
御下で各装置に対するテストプログラムを実行する。
After completion of the firmware IMPL, the simple monitor refers to the value of the TP execution information flag of the information member (MCPUINF) in the disk, executes the IPL of the system monitor without executing the CPU TP, and executes the system monitor IPL. A test program for each device is executed under the control of the monitor.

【0064】図13及び図14は本発明の他の動作例を
説明する図である。この動作例は、CPU系TP実行テ
ーブルに複数個のCPU系TP名が登録されていること
を条件としている。プログラムの動作環境が異なる複数
のファームウェアを診断する場合、ファーム1がIMP
Lされた時にはファーム1を診断するCPU系TPを動
作させなければならず(ファーム2を診断するCPU系
TPは動作不可)、ファーム2がIMPLされた時には
ファーム2を診断するCPU系TPを動作させなければ
ならない(ファーム1を診断するCPU系TPは動作不
可)。例えば、ファーム1とは2Kぺージ・モードの動
的アドレス変換を行うためのファームウェアであり、フ
ァーム2とは16Kぺージ・モードの動的アドレス変換
を行うためのファームウェアである。
FIGS. 13 and 14 are diagrams for explaining another operation example of the present invention. This operation example is based on the condition that a plurality of CPU TP names are registered in the CPU TP execution table. When diagnosing a plurality of firmwares having different operating environments of the program, the firmware 1
The CPU system TP for diagnosing the firmware 1 must be operated when L is activated (the CPU system TP for diagnosing the firmware 2 cannot operate), and the CPU system TP for diagnosing the firmware 2 is operated when the firmware 2 is IMPLed. (The CPU TP for diagnosing the firmware 1 cannot operate). For example, firmware 1 is firmware for performing dynamic address translation in 2K page mode, and firmware 2 is firmware for performing dynamic address translation in 16K page mode.

【0065】そのため、簡易モニタは、ディスク内の情
報メンバ(MCPUINF) のTP実行情報フラグの値を参照
し、CPU系TPの実行またはシステム・モニタのIP
Lを行う。また、簡易モニタは、ファーム1を診断する
CPU系TP実行後、ディスク内の固定番地(セクタ
0)に書かれているファーム1のアドレス/サイズをフ
ァーム2のものに書き替えて再びIMPLを行い、ファ
ーム2を診断するCPU系TP実行後、ディスク内の固
定番地に書かれているファーム2のアドレス/サイズを
フアーム1のものに書き替えて再びIMPLを行う。
For this reason, the simple monitor refers to the value of the TP execution information flag of the information member (MCPUINF) in the disk and executes the CPU TP or the IP of the system monitor.
Perform L. After executing the CPU TP for diagnosing the firmware 1, the simple monitor rewrites the address / size of the firmware 1 written at a fixed address (sector 0) in the disk to that of the firmware 2 and performs the IMPL again. After the execution of the CPU TP for diagnosing the firmware 2, the address / size of the firmware 2 written at a fixed address in the disk is rewritten to that of the firmware 1, and the IMPL is performed again.

【0066】[0066]

【発明の効果】以上の説明から明らかなように、本発明
によれば、CPUを診断するテストプログラムの診断レ
ベルを落とすことなく、複数のファームウェアの診断を
可能とし、且つ複数本のCPU系TPの連続実行が可能
であり、オペレータの手操作が不要となるため、自動試
験によって試験工数を削減できると言う効果がある。
As is clear from the above description, according to the present invention, a plurality of firmware can be diagnosed without lowering the diagnostic level of a test program for diagnosing a CPU, and a plurality of CPU TPs can be diagnosed. Can be continuously executed, and the manual operation of the operator is not required, so that there is an effect that the number of test steps can be reduced by the automatic test.

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

【図1】本発明の概要を説明する図である。FIG. 1 is a diagram illustrating an outline of the present invention.

【図2】本発明におけるIPLローダ内シーク・アドレ
スの変更を説明するための図である。
FIG. 2 is a diagram for explaining a change of a seek address in an IPL loader according to the present invention.

【図3】SSW内のファームのアドレス/サイズを説明
するための図である。
FIG. 3 is a diagram for explaining addresses / sizes of firmware in an SSW.

【図4】ファームウェア情報格納メンバの構成例を示す
図である。
FIG. 4 is a diagram illustrating a configuration example of a firmware information storage member.

【図5】ディスク内の情報メンバの構成例を示す図であ
る。
FIG. 5 is a diagram showing a configuration example of an information member in a disc.

【図6】TP実行情報フラグの構成例を示す図である。FIG. 6 is a diagram illustrating a configuration example of a TP execution information flag.

【図7】CPU系TP実行テーブルの構成例を示す図で
ある。
FIG. 7 is a diagram illustrating a configuration example of a CPU TP execution table.

【図8】初期処理の詳細(その1)を示す図である。FIG. 8 is a diagram illustrating details of an initial process (1).

【図9】初期処理の詳細(その2)を示す図である。FIG. 9 is a diagram illustrating details of an initial process (part 2);

【図10】初期処理の詳細(その3)を示す図である。FIG. 10 is a diagram illustrating details of an initial process (part 3).

【図11】初期処理の詳細(その4)を示す図である。FIG. 11 is a diagram illustrating details of an initial process (part 4).

【図12】本発明の動作例を説明するための図である。FIG. 12 is a diagram for explaining an operation example of the present invention.

【図13】本発明の他の動作例を説明するための図であ
る。
FIG. 13 is a diagram for explaining another operation example of the present invention.

【図14】本発明の他の動作例(続き)を説明する図で
ある。
FIG. 14 is a diagram illustrating another operation example (continued) of the present invention.

【図15】従来例を説明する図である。FIG. 15 is a diagram illustrating a conventional example.

【図16】従来のIPLローダ内シーク・アドレスを示
す図である。
FIG. 16 is a diagram showing a seek address in a conventional IPL loader.

【図17】アドレス変換を説明する図である。FIG. 17 is a diagram illustrating address conversion.

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

1 中央処理装置 2 主メモリ 3 I/O装置 4 操作パネル 5 磁気ディスク装置 DESCRIPTION OF SYMBOLS 1 Central processing unit 2 Main memory 3 I / O device 4 Operation panel 5 Magnetic disk device

フロントページの続き (58)調査した分野(Int.Cl.6,DB名) G06F 11/22 G06F 9/06 Continuation of the front page (58) Field surveyed (Int.Cl. 6 , DB name) G06F 11/22 G06F 9/06

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 IMPLすべきファームウェアを指定す
るファームウェア指定情報を記憶するファームウェア指
定情報域と、 ファームウェア指定情報域の内容で指定されるファーム
ウェアをローディングするIMPL実行手段と、 簡易モニタまたはシステム・モニタが格納されている外
部記憶装置上の位置およびサイズを示す情報を記憶する
IPL情報域と、 IMPLが完了した後に起動され、IPL情報域の内容
にしたがって簡易モニタ又はシステム・モニタをローデ
ィングして制御を渡すIPL実行手段と、 主メモリと、 中央処理装置と、を具備するファームウェア制御の計算
機のテスト方法であって、 CPU系テストプログラム名が書き込まれる実行テーブ
ルと、 CPU系テストプログラムを実行するか否かを示す実行
情報フラグと、 実行情報フラグをオンし、オペレータによって指示され
たCPU系テストプログラム名を実行テーブルに記入す
るための実行テーブル作成プログラムと、 複数個のファームウェアと、 各ファームウェアに対応するCPU系テストプログラム
の複数個と、 通常動作時におけるシステムの監視および制御を行うた
めのシステム・モニタと、 実行情報フラグがオフの場合には、システム・モニタが
IPLされるようにIPL情報域の内容を更新し、IP
L実行手段を起動し、実行情報フラグがオンである場合
には、実行テーブルに記入されたCPU系テストプログ
ラム名に対応するCPU系テストプログラムをローディ
ングして制御を渡し、CPU系テストプログラムの終了
後に次実行のCPU系テストプログラムが存在するか否
かを調べ、次実行のCPU系テストプログラムが存在す
る場合には、次実行のCPU系テストプログラムに対応
するファームウェアを指定するようにファームウェア指
定情報域の内容を更新し、IMPL実行手段を起動し、
次実行のCPU系テストプログラムの無い場合には、実
行情報フラグをオフし、システム・モニタがローディン
グされるようにIPL情報域の内容を更新し、IMPL
実行手段を起動するための簡易モニタとをあらかじめ外
部記憶装置に格納しておき、 ファームウェアのIMPLを行い、簡易モニタのI
PLを行い、システム・モニタのIPLを行い、システ
ム・モニタの制御下で実行テーブル作成プログラムを実
行し、 の処理の終了後に、ファームウェアのIMPLを
行い、簡易モニタのIPLを行い、簡易モニタの制御下
でCPU系テストプログラムを実行する一連の処理をn
回(n=1,2,…)繰り返し、 の処理の終了後に、ファームウェアのIMPLを
行い、簡易モニタのIPLを行い、システム・モニタの
IPLを行い、システム・モニタの制御下で中央処理装
置以外の装置をテストするテストプログラムを実行する
ことを特徴とするファームウェア制御の計算機システム
のテスト方法。
1. A firmware specification information area for storing firmware specification information for specifying firmware to be IMPL, IMPL execution means for loading firmware specified by the content of the firmware specification information area, and a simple monitor or a system monitor. An IPL information area for storing the information indicating the stored position and size on the external storage device; and a control which is started after the IMPL is completed and is loaded by loading a simple monitor or a system monitor according to the contents of the IPL information area. A test method for a firmware-controlled computer comprising: an IPL executing means to be passed; a main memory; and a central processing unit, wherein: an execution table in which a CPU test program name is written; and whether or not to execute the CPU test program Execution information flag An execution table creation program for turning on the execution information flag and writing the CPU test program name specified by the operator in the execution table; a plurality of firmware; and a plurality of CPU test programs corresponding to each firmware A system monitor for monitoring and controlling the system during normal operation; and, when the execution information flag is off, update the contents of the IPL information area so that the system monitor is IPLed.
If the execution information flag is on, the CPU execution program is loaded with the CPU test program corresponding to the name of the CPU test program entered in the execution table, and control is passed to the L execution means. Thereafter, it is checked whether or not the next execution CPU test program exists. If the next execution CPU test program exists, the firmware designation information is specified so as to designate the firmware corresponding to the next execution CPU test program. Update the contents of the area, activate the IMPL execution means,
When there is no CPU test program to be executed next, the execution information flag is turned off, the contents of the IPL information area are updated so that the system monitor is loaded, and the IMPL is updated.
A simple monitor for starting the execution means is stored in an external storage device in advance, and the firmware is IMPLed.
PL, perform IPL of the system monitor, execute the execution table creation program under the control of the system monitor, perform IMPL of the firmware, perform IPL of the simple monitor, and control the simple monitor A series of processes for executing the CPU test program under
(N = 1, 2,...), After the processing of, the IMPL of the firmware is performed, the IPL of the simple monitor is performed, the IPL of the system monitor is performed, and other than the central processing unit under the control of the system monitor. A method for testing a firmware-controlled computer system, which executes a test program for testing a device.
【請求項2】 簡易モニタが、CPU系テストプログラ
ムの実行時にエラーが検出された時には、エラー情報フ
ラグをオンし、エラー情報をエラー情報域に書き込む機
能を持ち、 システム・モニタが、エラー情報フラグがオンか否かを
調べ、オンの場合にはエラー情報を出力する機能を持つ
ことを特徴とする請求項1の計算機のテスト方法。
2. The simple monitor has a function of turning on an error information flag when an error is detected during execution of a CPU-based test program, and writing error information to an error information area. 2. The computer test method according to claim 1, further comprising a function of checking whether or not the computer is on and outputting error information when the computer is on.
JP6285668A 1994-11-18 1994-11-18 Calculator test method Expired - Fee Related JP2958609B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6285668A JP2958609B2 (en) 1994-11-18 1994-11-18 Calculator test method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6285668A JP2958609B2 (en) 1994-11-18 1994-11-18 Calculator test method

Publications (2)

Publication Number Publication Date
JPH08147180A JPH08147180A (en) 1996-06-07
JP2958609B2 true JP2958609B2 (en) 1999-10-06

Family

ID=17694514

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6285668A Expired - Fee Related JP2958609B2 (en) 1994-11-18 1994-11-18 Calculator test method

Country Status (1)

Country Link
JP (1) JP2958609B2 (en)

Also Published As

Publication number Publication date
JPH08147180A (en) 1996-06-07

Similar Documents

Publication Publication Date Title
US5463766A (en) System and method for loading diagnostics routines from disk
US7203831B2 (en) System and method for performing remote BIOS updates
US6085318A (en) Computer system capable of booting from CD-ROM and tape
US8037291B2 (en) Master boot record management
US20080010446A1 (en) Portable apparatus supporting multiple operating systems and supporting method therefor
EP0909416B1 (en) Method and apparatus for providing improved diagnostic functions in a computer system
JPH0812605B2 (en) Operational interface loading device and method, and computer system
JPH0786835B2 (en) Computer system
JPH04233624A (en) Apparatus for protecting system utility in personal computer system
JPH0754463B2 (en) BIOS protection device and method, system protection program protection device, and access prevention device
US20030069999A1 (en) Method for providing a single preloaded software image with an ability to support multiple hardware configurations and multiple types of computer systems
JP3230005B2 (en) Option board PROM
JPH0391034A (en) Personal computer system for loading bios from diskette
JPH0391839A (en) Personal computer system
US4520440A (en) Test verification of processor architecture having a partial instruction set
US6021276A (en) Method and apparatus for microcode downloading
JPH08129495A (en) Computer system and self test method therefor
JP2958609B2 (en) Calculator test method
JPS6336019B2 (en)
JPS628831B2 (en)
JP3001470B2 (en) Boot failure detection system for personal computer
EP0469832A2 (en) Method and apparatus for memory access control
JP3265108B2 (en) Data processing system
JPH07281986A (en) Extended board, information processor using the same and control method for peripheral device
JP2708471B2 (en) Processing device control method

Legal Events

Date Code Title Description
S531 Written request for registration of change of domicile

Free format text: JAPANESE INTERMEDIATE CODE: R313532

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees