JPH09259000A - Computer system - Google Patents

Computer system

Info

Publication number
JPH09259000A
JPH09259000A JP8072101A JP7210196A JPH09259000A JP H09259000 A JPH09259000 A JP H09259000A JP 8072101 A JP8072101 A JP 8072101A JP 7210196 A JP7210196 A JP 7210196A JP H09259000 A JPH09259000 A JP H09259000A
Authority
JP
Japan
Prior art keywords
initial
eprom
routine
random access
computer system
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.)
Granted
Application number
JP8072101A
Other languages
Japanese (ja)
Other versions
JP3017080B2 (en
Inventor
Takuya Shimura
卓也 志村
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 Computertechno Ltd
Original Assignee
NEC Computertechno 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 Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP8072101A priority Critical patent/JP3017080B2/en
Publication of JPH09259000A publication Critical patent/JPH09259000A/en
Application granted granted Critical
Publication of JP3017080B2 publication Critical patent/JP3017080B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To facilitate the change of an initial diagnosis program and to flexibly execute an initial diagnostic processing by permitting the initial diagnostic program in EPROM to processing-diagnose only a route for writing data from outside into NVRAM and executing initial diagnosis on the other part with an initial diagnostic routine written into NVRAM. SOLUTION: At the time of initial diagnosis, the initial diagnostic routine in EPROM 3 executes the initial diagnosis on the route necessary for writing data into NVRAM 4 from an external storage device 9 for CPU 1, a CPU peripheral control part 2, EPROM(rewrite possible read only memory), NVRAM (non-volatile random access memory) 4, an input/output control part 5, a memory control part 8 and a memory 10. Then, valid information in NVRAM 4 is checked. When it is valid, the initial diagnostic routine in NVRAM is executed. When it is invalid, the initial diagnostic routine is written from the external storage device 9 into NVRAM 4 and it is executed.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明はコンピュータシステ
ムに関し、特に分割された初期診断プログラムを有する
コンピュータシステムに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a computer system, and more particularly to a computer system having a divided initial diagnosis program.

【0002】[0002]

【従来の技術】従来のコンピュータシステムにおいて
は、たとえば図5に示す「特開平04−277849号
公報 マイクロプログラム実行制御方式」がある。
2. Description of the Related Art In a conventional computer system, there is, for example, "Microprogram execution control system disclosed in Japanese Patent Laid-Open No. 04-277849" shown in FIG.

【0003】図5のコンピュータシステムは、入出力装
置11、12と、データ転送制御装置13とから構成さ
れており、データ転送制御装置13のリードオンリーメ
モリ(以下、ROMと記す。)15内に初期診断プログ
ラムや、共通処理部24が格納され、ランダムアクセス
メモリ(以下、RAMと記す。)16内に復帰情報領域
25が設けられている。
The computer system shown in FIG. 5 is composed of input / output devices 11 and 12 and a data transfer control device 13, and is provided in a read only memory (hereinafter referred to as ROM) 15 of the data transfer control device 13. An initial diagnosis program and a common processing unit 24 are stored, and a return information area 25 is provided in a random access memory (hereinafter referred to as RAM) 16.

【0004】このコンピュータシステムでは、複数のコ
マンド処理プログラムで共通した処理部を1つにまとめ
ることによりプログラム領域を削減し、メモリの有効利
用を図っている。
In this computer system, the processing area common to a plurality of command processing programs is integrated into one to reduce the program area and effectively use the memory.

【0005】また、たとえば、「特開平04−1605
14号公報 パーソナルコンピュータの起動方法」のよ
うに、簡易APの起動であれば簡易APだけを起動する
のに最低必要な基本ハードウェアの初期化及び自己診断
のみを実行して、高速に、簡易AP起動可能にしている
ものがある。このコンピュータシステムでは、ROM内
には初期化及び自己診断のための基本入出力ソフトウェ
アが格納され、不揮発性RAM内に簡易APが格納され
ている。
Further, for example, "Japanese Patent Laid-Open No. 04-1605".
No. 14, “Starting method of personal computer”, in the case of activating a simple AP, only basic hardware initialization and self-diagnosis necessary for activating only the simple AP are executed, and high speed and simple Some APs can be activated. In this computer system, basic input / output software for initialization and self-diagnosis is stored in the ROM, and simple AP is stored in the non-volatile RAM.

【0006】以上のように、従来技術ではROM内に全
初期診断プログラムが格納されるのが一般的である。
As described above, in the prior art, the entire initial diagnosis program is generally stored in the ROM.

【0007】また、初期診断プログラムを分割し、その
一部を通常のRAMに格納するコンピュータシステムも
知られている。
There is also known a computer system in which an initial diagnostic program is divided and a part of it is stored in a normal RAM.

【0008】[0008]

【発明が解決しようとする課題】上述したROMを使用
する従来のコンピュータシステムでは全初期診断プログ
ラムがROMに格納されているので、初期診断プログラ
ムの変更の必要が生じた時、ROMが書き換え可能RO
M(以下、EPROMと記す。)であった場合はROM
交換が必要になり、保守性が悪いという問題がある。
In the conventional computer system using the ROM described above, the entire initial diagnostic program is stored in the ROM, so that the ROM can be rewritten when the initial diagnostic program needs to be changed.
ROM if M (hereinafter referred to as EPROM)
There is a problem that it requires replacement and poor maintainability.

【0009】また、ROMが電気的EPROM(以下、
EEPROMと記す。)であった場合には、全初期診断
プログラムがEEPROMの中にあるので、初期診断プ
ログラム内容が破壊された場合、EEPROMに初期診
断プログラムを書き込む経路、制御部の診断ができない
ため、EEPROMに初期診断プログラムを安全に書き
込むことができず、システムのリカバリが不可能となる
という問題がある。
The ROM is an electrical EPROM (hereinafter,
It is written as EEPROM. ), The entire initial diagnosis program is in the EEPROM, so if the contents of the initial diagnosis program are destroyed, the path for writing the initial diagnosis program in the EEPROM and the control unit cannot be diagnosed. There is a problem that the diagnostic program cannot be written safely and the system cannot be recovered.

【0010】また、現在知られていないが、不揮発性ラ
ンダムアクセスメモリ(以下、NVRAMと記す。)に
全初期診断プログラムが格納されているコンピュータシ
ステムにおいても、初期診断プログラムが破壊された場
合には、前記EEPROMの場合と同様に、システムの
リカバリが不可能となるという問題がある。
Although not known at present, even in a computer system in which a non-volatile random access memory (hereinafter referred to as NVRAM) stores all the initial diagnosis programs, if the initial diagnosis programs are destroyed. As in the case of the EEPROM, there is a problem that the system cannot be recovered.

【0011】また、初期診断プログラムを分割し、その
一部をRAMに格納したコンピュータシステムの場合に
は、電源を投入するたびに、必ずRAMに、初期診断プ
ログラムを新たに格納しなければならず、立ち上げ時の
手順が複雑になるという問題がある。
Further, in the case of a computer system in which the initial diagnosis program is divided and a part thereof is stored in the RAM, the initial diagnosis program must be newly stored in the RAM every time the power is turned on. However, there is a problem that the startup procedure becomes complicated.

【0012】また、CPUと初期診断プログラムを格納
するメモリ類との組を複数有するコンピュータシステム
においては、前記複数のメモリ類の初期診断プログラム
の整合を取るために、多数のメモリ類の交換、または、
外部記憶装置からメモリ類への初期診断プログラムの書
き込みが必要であり、保守性が悪いという問題がある。
Further, in a computer system having a plurality of sets of CPUs and memories for storing an initial diagnosis program, in order to match the initial diagnosis programs of the plurality of memories, a large number of memories are replaced, or ,
It is necessary to write the initial diagnostic program from the external storage device to the memories, which causes a problem of poor maintainability.

【0013】本発明の第1の目的は、EPROMを交換
することなく、初期診断プログラムの変更を容易に行
い、また、初期診断プログラムの破壊に対して短時間の
リカバリを行うことにより、保守性を向上させることで
ある。
A first object of the present invention is to maintain the maintainability by easily changing the initial diagnostic program without replacing the EPROM and by recovering the initial diagnostic program for a short time in a short time. Is to improve.

【0014】また、第2の目的は、立ち上げの手順を複
雑化せずに、初期診断プログラムの破壊に対するリカバ
リを行うことである。
A second object is to recover the destruction of the initial diagnostic program without complicating the startup procedure.

【0015】また、第3の目的は、CPUと初期診断プ
ログラムを格納するメモリ類との組を複数有するコンピ
ュータシステムにおいて、前記複数のメモリ類の初期診
断プログラムの版数の整合を容易にとることにより保守
性を向上させることである。
A third object is to facilitate the matching of the versions of the initial diagnosis programs of the plurality of memories in a computer system having a plurality of sets of CPUs and memories for storing the initial diagnosis programs. Is to improve maintainability.

【0016】[0016]

【課題を解決するための手段】本発明の第1のコンピュ
ータシステムは、CPUを有し、コンピュータシステム
の初期診断プログラムをEPROMと不揮発性ランダム
アクセスメモリとに分割格納可能とし、初期診断プログ
ラムの一部を不揮発性ランダムアクセスメモリ内に外部
記憶装置から書き込む機能を備える。
A first computer system of the present invention has a CPU, and an initial diagnostic program for the computer system can be separately stored in an EPROM and a non-volatile random access memory. It has a function of writing a unit in a nonvolatile random access memory from an external storage device.

【0017】本発明の第2のコンピュータシステムは第
1のコンピュータシステムであって、(a)前記EPR
OMが、前記外部記憶装置から前記不揮発性ランダムア
クセスメモリへの経路および前記経路に関わる制御部を
診断する前記初期診断プログラムの第1の初期診断ルー
チンと、前記初期診断プログラムの前記第1の初期診断
ルーチンに含まれない部分を持つ第2の初期診断ルーチ
ンを前記外部記憶装置から前記不揮発性ランダムアクセ
スメモリへ書き込むための不揮発性ランダムアクセスメ
モリへのデータ書き込みルーチンと、前記不揮発性ラン
ダムアクセスメモリの前記第2の初期診断ルーチンの有
効性を示す有効性情報を調べる不揮発性ランダムアクセ
スメモリチェックルーチンとを含み、(b)前記不揮発
性ランダムアクセスメモリが、前記第2の初期診断ルー
チンと、前記有効性情報とを含んでいる。
A second computer system of the present invention is the first computer system, comprising: (a) the EPR.
A first initial diagnosis routine of the initial diagnosis program for diagnosing a path from the external storage device to the nonvolatile random access memory and a control unit related to the path; and a first initial diagnosis program of the initial diagnosis program. A data write routine to the nonvolatile random access memory for writing a second initial diagnostic routine having a portion not included in the diagnostic routine from the external storage device to the nonvolatile random access memory; A non-volatile random access memory check routine for checking validity information indicating the validity of the second initial diagnosis routine, and (b) the non-volatile random access memory includes the second initial diagnosis routine and the validity. Includes sex information.

【0018】本発明の第3のコンピュータシステムは、
第2のコンピュータシステムであって、前記CPUと前
記EPROMと前記不揮発性ランダムアクセスメモリと
の組を複数有し、前記全EPROMに同一の前記第1の
初期診断プログラムを格納し、前記全不揮発性ランダム
アクセスメモリに前記第2の初期診断プログラムを格納
し、ある不揮発性ランダムアクセスメモリから他の不揮
発性ランダムアクセスメモリへ前記第2の初期診断プロ
グラムを書き込む機能を備える。
A third computer system of the present invention is
A second computer system, comprising a plurality of sets of the CPU, the EPROM, and the nonvolatile random access memory, storing the same first initial diagnostic program in all the EPROMs, It has a function of storing the second initial diagnostic program in a random access memory and writing the second initial diagnostic program from one nonvolatile random access memory to another nonvolatile random access memory.

【0019】本発明の第4のコンピュータシステムは、
第3のコンピュータシステムであって、(a)前記不揮
発性ランダムアクセスメモリの各々が前記第2の初期診
断ルーチンが書き込まれた最新の時間を示す最終書き込
み時間情報を含み、(b)前記EPROMの各々がそれ
ぞれの前記最終書き込み時間情報を比較する比較ルーチ
ンを含んでいる。
A fourth computer system of the present invention is
A third computer system, wherein: (a) each non-volatile random access memory includes final write time information indicating the latest time the second initial diagnostic routine was written; and (b) the EPROM. Each includes a comparison routine that compares the respective last write time information.

【0020】本発明の第5のコンピュータシステムは、
CPUを有し、コンピュータシステムの初期診断プログ
ラムをEPROMと電気的EPROMとに分割格納可能
とし、初期診断プログラムの一部を電気的EPROM内
に外部記憶装置から書き込む機能を備える。
A fifth computer system of the present invention is
It has a CPU and can separately store the initial diagnosis program of the computer system in an EPROM and an electric EPROM, and has a function of writing a part of the initial diagnosis program in the electric EPROM from an external storage device.

【0021】本発明の第6のコンピュータシステムは第
5のコンピュータシステムであって、(a)前記EPR
OMが、前記外部記憶装置から前記電気的EPROMへ
の経路および前記経路に関わる制御部を診断する前記初
期診断プログラムの第1の初期診断ルーチンと、前記初
期診断プログラムの前記第1の初期診断ルーチンに含ま
れない部分を持つ第2の初期診断ルーチンを前記外部記
憶装置から前記電気的EPROMへ書き込むための電気
的EPROMへのデータ書き込みルーチンと、前記電気
的EPROMの前記第2の初期診断ルーチンの有効性を
示す有効性情報を調べる電気的EPROMチェックルー
チンとを含み、(b)前記電気的EPROMが、前記第
2の初期診断ルーチンと、前記有効性情報とを含んでい
る。
A sixth computer system of the present invention is the fifth computer system, comprising: (a) the EPR.
A first initial diagnostic routine of the initial diagnostic program for the OM to diagnose a path from the external storage device to the electric EPROM and a control unit related to the path, and the first initial diagnostic routine of the initial diagnostic program. Of a second initial diagnostic routine for writing a second initial diagnostic routine having a portion not included in the electrical EPROM from the external storage device to the electrical EPROM, and a second initial diagnostic routine of the electrical EPROM. An electrical EPROM check routine for checking validity information indicating validity, and (b) the electrical EPROM includes the second initial diagnosis routine and the validity information.

【0022】本発明の第7のコンピュータシステムは、
第6のコンピュータシステムであって、前記CPUと前
記EPROMと前記電気的EPROMとの組を複数有
し、前記全EPROMに同一の前記第1の初期診断プロ
グラムを格納し、前記全電気的EPROMに前記第2の
初期診断プログラムを格納し、ある電気的EPROMか
ら他の電気的EPROMへ前記第2の初期診断プログラ
ムを書き込む機能を備える。
A seventh computer system of the present invention is
A sixth computer system, comprising a plurality of sets of the CPU, the EPROM, and the electric EPROM, wherein the same first initial diagnostic program is stored in all the EPROMs, and the all electric EPROMs are stored. It has a function of storing the second initial diagnosis program and writing the second initial diagnosis program from one electric EPROM to another electric EPROM.

【0023】本発明の第8のコンピュータシステムは、
第7のコンピュータシステムであって、(a)前記電気
的EPROMの各々が前記第2の初期診断ルーチンが書
き込まれた最新の時間を示す最終書き込み時間情報を含
み、(b)前記EPROMの各々がそれぞれの前記最終
書き込み時間情報を比較する比較ルーチンを含んでい
る。
An eighth computer system of the present invention is
A seventh computer system, wherein: (a) each of the electrical EPROMs includes final write time information that indicates the latest time the second initial diagnostic routine was written; and (b) each of the EPROMs. It includes a comparison routine for comparing the respective final write time information.

【0024】[0024]

【発明の実施の形態】次に、本発明のコンピュータシス
テムについて図を参照して詳細に説明する。
DESCRIPTION OF THE PREFERRED EMBODIMENTS Next, a computer system of the present invention will be described in detail with reference to the drawings.

【0025】図1(a)は本発明のコンピュータシステ
ムのブロック図である。
FIG. 1A is a block diagram of the computer system of the present invention.

【0026】図1を参照すると、本発明のコンピュータ
システムはCPU1、CPU周辺制御部2、EPROM
3、NVRAM4、入出力制御部5、6、7、メモリ制
御部8、外部記憶装置9、メモリ10とから構成され
る。
Referring to FIG. 1, the computer system of the present invention includes a CPU 1, a CPU peripheral control unit 2, an EPROM.
3, NVRAM 4, input / output control units 5, 6, 7, memory control unit 8, external storage device 9, and memory 10.

【0027】図1(b)は図1のEPROM3およびN
VRAM4内部に格納される初期診断プログラムの内容
を示す説明図である。
FIG. 1B shows the EPROM 3 and N of FIG.
It is explanatory drawing which shows the content of the initial diagnosis program stored in VRAM4.

【0028】図2は本発明の処理の流れを示す流れ図で
ある。
FIG. 2 is a flow chart showing the flow of processing of the present invention.

【0029】次に、本発明の実施例の動作について、図
1(a)(b)、図2を参照して説明する。
Next, the operation of the embodiment of the present invention will be described with reference to FIGS. 1 (a), 1 (b) and 2.

【0030】初期診断時、CPU1、CPU周辺制御部
2、EPROM3、NVRAM4、入出力制御部5、メ
モリ制御部8、メモリ10各々のうち、外部記憶装置9
からNVRAM4へのデータの書き込みに必要な経路、
および、それを保証する制御部のみを、EPROM3内
部に格納されている初期診断ルーチンa1により初期診
断する(図2のS1)。
At the time of initial diagnosis, of the CPU 1, the CPU peripheral control unit 2, the EPROM 3, the NVRAM 4, the input / output control unit 5, the memory control unit 8 and the memory 10, the external storage device 9 is included.
Path required to write data from to NVRAM4,
Also, only the control unit that guarantees it is initially diagnosed by the initial diagnosis routine a1 stored in the EPROM 3 (S1 in FIG. 2).

【0031】その後、NVRAM4内部チェックルーチ
ンb1を実行し、NVRAM4に書き込まれている初期
診断ルーチンe1の有効・無効情報d1を読み込みチェ
ックする(図2のS2、S3)。
After that, the NVRAM4 internal check routine b1 is executed to read and check the validity / invalidity information d1 of the initial diagnosis routine e1 written in the NVRAM4 (S2 and S3 in FIG. 2).

【0032】チェックした結果、有効であった場合、N
VRAM4内の初期診断ルーチンe1を読み込み実行す
る(図2のS5)。
As a result of the check, if the result is valid, N
The initial diagnosis routine e1 in the VRAM 4 is read and executed (S5 in FIG. 2).

【0033】チェックした結果、無効であった場合、外
部記憶装置9を接続し、外部記憶装置9からNVRAM
4に初期診断ルーチンe1を書き込む(図2のS4)。
書き込み作業はEPROM3内のNVRAMへのデータ
書き込みルーチンc1によって行われる。
If the result of the check is that it is invalid, the external storage device 9 is connected and the external storage device 9 switches to NVRAM.
The initial diagnosis routine e1 is written in 4 (S4 in FIG. 2).
The writing operation is performed by the data writing routine c1 to the NVRAM in the EPROM 3.

【0034】NVRAM4に初期診断ルーチンe1が書
き込まれた後、この初期診断ルーチンe1が実行される
(図2のS5)。
After the initial diagnosis routine e1 is written in the NVRAM 4, this initial diagnosis routine e1 is executed (S5 in FIG. 2).

【0035】初期診断ルーチンe1は入出力制御部6、
7および、それ以外の各制御部内の未処理診断部分を初
期診断する。
The initial diagnosis routine e1 includes an input / output control unit 6,
7 and the unprocessed diagnosis part in each of the other control units are initially diagnosed.

【0036】また、初期診断プログラム変更する場合に
は、NVRAM4内の初期診断ルーチンe1の有効・無
効情報d1に無効情報を書き込み、NVRAM内部チェ
ックルーチンb1を実行する。その後、初期診断ルーチ
ンe1を外部記憶装置9から書き込む。
When changing the initial diagnosis program, invalid information is written in the valid / invalid information d1 of the initial diagnostic routine e1 in the NVRAM 4, and the NVRAM internal check routine b1 is executed. After that, the initial diagnosis routine e1 is written from the external storage device 9.

【0037】次に本発明がCPUとCPU周辺制御装置
部とEPROMとNVRAMとの組を複数有する構成
(以下、この構成をマルチプロセッサ構成と記す。)を
とった場合について、図3、図4を参照して説明する。
Next, a case where the present invention has a configuration having a plurality of sets of a CPU, a CPU peripheral control device section, an EPROM and an NVRAM (hereinafter, this configuration will be referred to as a multiprocessor configuration) will be described with reference to FIGS. Will be described with reference to.

【0038】ここでは、前記組が2組である場合につい
て説明する。
Here, a case will be described in which the set is two sets.

【0039】図3(a)はマルチプロセッサ構成をとる
本発明のブロック図である。
FIG. 3A is a block diagram of the present invention having a multiprocessor configuration.

【0040】図3(a)において、CPU41、CPU
周辺制御装置部42、EPROM43、NVRAM44
は、それぞれCPU1、CPU周辺制御装置部2、EP
ROM3、NVRAM4と同一のものである。図示しな
いが、システムバスに接続される入出力制御部やメモリ
制御部は図1(a)と同様の構成となる。
In FIG. 3A, CPU 41, CPU
Peripheral controller unit 42, EPROM 43, NVRAM 44
Are the CPU 1, the CPU peripheral control unit 2, and the EP, respectively.
It is the same as the ROM 3 and NVRAM 4. Although not shown, the input / output control unit and the memory control unit connected to the system bus have the same configuration as in FIG.

【0041】図3(b)はEPROM3、43およびN
VRAM4、44内部に格納される初期診断プログラム
の内容を示す説明図である。
FIG. 3B shows EPROMs 3, 43 and N.
It is explanatory drawing which shows the content of the initial diagnosis program stored in VRAM4,44.

【0042】本構成では、EPROM3と43、NVR
AM4と44内には各々同じ内容が格納される。そのた
め、あるNVRAM内のデータが破壊されている場合、
あるいは、NVRAM内のデータ(すなわち、初期診断
プログラム)の版数の整合をとる場合に、他のNVRA
Mからデータをコピーすることにより、外部記憶装置か
らの書き込みをせずに高速にNVRAMに初期診断プロ
グラムを書きこめる。
In this configuration, the EPROMs 3 and 43, the NVR
The same contents are stored in AM4 and AM44. Therefore, if the data in a certain NVRAM is destroyed,
Alternatively, when matching the version numbers of the data in the NVRAM (that is, the initial diagnosis program), another NVRA is used.
By copying the data from M, the initial diagnostic program can be written in NVRAM at high speed without writing from the external storage device.

【0043】データが破壊されているNVRAMを検出
するためには、たとえば、各々のNVRAMのデータに
対してチェックサムの診断を定期的に実施する方法があ
る。
In order to detect the NVRAM in which the data is destroyed, for example, there is a method of periodically performing checksum diagnosis on the data of each NVRAM.

【0044】チェックサムでエラーが検出されたNVR
AMにチェックサムでエラーが検出されず、かつ初期診
断ルーチンの有効・無効情報が有効を示すNVRAMか
らデータを書き込む方法が可能である。
NVR in which an error was detected by the checksum
It is possible to write data from the NVRAM in which no error is detected by the checksum in the AM and the validity / invalidity information of the initial diagnosis routine indicates validity.

【0045】また、EPROM3、43内にはNVRA
M4とNVRAM44との比較を行うコンペアルーチン
f2、NVRAM4、48内には最終書き込み時間情報
g2が追加される。これらは、初期診断プログラムの版
数の整合性をとる場合に使用される。
Further, NVRA is stored in the EPROMs 3 and 43.
The final write time information g2 is added in the compare routine f2, NVRAM4, 48 for comparing M4 and NVRAM44. These are used when the version numbers of the initial diagnosis program are matched.

【0046】次に、図3のマルチプロセッサ構成におけ
る初期診断プログラムの版数の整合をとる動作について
図3、図4を参照して説明する。
Next, the operation for matching the version numbers of the initial diagnosis program in the multiprocessor configuration of FIG. 3 will be described with reference to FIGS.

【0047】図4は、図3のマルチプロセッサ構成にお
ける初期診断プログラムの版数整合動作を示す流れ図で
ある。
FIG. 4 is a flow chart showing the version number matching operation of the initial diagnosis program in the multiprocessor configuration of FIG.

【0048】CPU1、CPU41によって、それぞれ
EPROM3、EPROM43に格納されている初期診
断プログラムa2が実行される(図4のS11)。
The CPU 1 and the CPU 41 execute the initial diagnosis program a2 stored in the EPROM 3 and the EPROM 43, respectively (S11 in FIG. 4).

【0049】次に、NVRAM内部チェックルーチンb
2が実行され(図4のS12)、初期診断ルーチンe2
の有効・無効情報がチェックされる(図4のS13、S
14、S15)。
Next, the NVRAM internal check routine b
2 is executed (S12 in FIG. 4), the initial diagnosis routine e2
Valid / invalid information of S is checked (S13, S in FIG. 4)
14, S15).

【0050】NVRAM4、44のうち片方の初期診断
ルーチンe2が無効であれば、有効な初期診断ルーチン
e2を無効であるNVRAMへ転送する(図4のS2
0、S21)。
If one of the NVRAMs 4 and 44 has the invalid initial diagnosis routine e2, the valid initial diagnosis routine e2 is transferred to the invalid NVRAM (S2 in FIG. 4).
0, S21).

【0051】NVRAM4、44の初期診断ルーチンe
2が両方無効であれば、初期診断ルーチンe2を外部記
憶装置(図1の外部記憶装置9と同一)からNVRAM
4、44へ転送する(図4のS16)。
Initial diagnosis routine e of NVRAM 4, 44
If both 2 are invalid, the initial diagnosis routine e2 is executed from the external storage device (same as the external storage device 9 in FIG. 1) to NVRAM.
4 and 44 (S16 in FIG. 4).

【0052】NVRAM4、44の初期診断ルーチンe
2が両方とも有効であれば、NVRAM4、44のNV
RAM内最終書き込み時間g2がNVRAM4と8との
コンペアルーチンf2により比較される(図4のS1
7)。この比較の結果、異なっていれば(図4のS1
8、S19)、新しいNVRAM内最終書き込み時間g
2が書かれているNVRAMのNVRAM内最終書き込
み時間g2を古いNVRAM内最終書き込み時間g2の
上に上書きする(図4のS20、S21)。
Initial diagnosis routine e of NVRAM 4, 44
If both 2 are valid, NVRAM4,44 NV
The final write time g2 in the RAM is compared by the compare routine f2 of the NVRAMs 4 and 8 (S1 in FIG. 4).
7). As a result of this comparison, if different (S1 in FIG.
8, S19), new NVRAM final write time g
The NVRAM final write time g2 of the NVRAM in which 2 is written is overwritten on the old NVRAM final write time g2 (S20 and S21 in FIG. 4).

【0053】次に、NVRAM4、44内の初期診断ル
ーチンe2が実行される(図4のS22)。
Next, the initial diagnosis routine e2 in the NVRAM 4, 44 is executed (S22 in FIG. 4).

【0054】また、NVRAMの代わりに、EEPRO
Mを使用する構成をとることが可能である。
Further, instead of NVRAM, EEPRO
It is possible to adopt a configuration using M.

【0055】[0055]

【発明の効果】上述したように、EPROM内の初期診
断プログラムは、NVRAMへの外部からのデータの書
き込みを行う経路のみ処理診断を行い、他の部分はNV
RAMに書き込まれている初期診断ルーチンにより初期
診断を行うことにより、初期診断プログラムの変更を容
易にし、初期診断処理が柔軟に行える。
As described above, the initial diagnosis program in the EPROM performs the process diagnosis only on the path for writing the data to the NVRAM from the outside, and the other parts are NV diagnosed.
By performing the initial diagnosis by the initial diagnosis routine written in the RAM, it is possible to easily change the initial diagnosis program and flexibly perform the initial diagnosis process.

【0056】また、NVRAM内の初期診断プログラム
が破壊されている場合、外部記憶装置を取り付け、そこ
からNVRAMに初期診断プログラムを書き込むことに
より、処理診断を実行することができる。
When the initial diagnosis program in the NVRAM is destroyed, the processing diagnosis can be executed by mounting the external storage device and writing the initial diagnosis program in the NVRAM from there.

【0057】また、電源を入れ直しても、NVRAMの
内容が破壊されないので、立ち上げ手順が簡単である。
Further, since the contents of NVRAM are not destroyed even when the power is turned on again, the startup procedure is simple.

【0058】また、マルチプロセッサ構成時には、ある
NVRAM内の初期診断プログラムを他のNVRAMに
コピーすることにより、NVRAM内の初期診断プログ
ラムが破壊されても、外部記憶装置を使用せずに高速、
容易にリカバリができる。
Further, in the multiprocessor configuration, by copying the initial diagnostic program in one NVRAM to another NVRAM, even if the initial diagnostic program in NVRAM is destroyed, high speed operation is possible without using an external storage device.
It can be easily recovered.

【0059】また、マルチプロセッサ構成時には、NV
RAMの最終書き込み時間情報を比較し、新しい版数の
初期診断プログラムの入っているNVRAM内の初期診
断プログラムを他のNVRAMにコピーすることによ
り、外部記憶装置を使用せずに高速、容易に初期診断プ
ログラムの版数整合ができる。
When a multiprocessor is configured, the NV
By comparing the final write time information of RAM and copying the initial diagnosis program in NVRAM containing the new version of the initial diagnosis program to another NVRAM, it is possible to perform initialization quickly and easily without using an external storage device. The version number of the diagnostic program can be matched.

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

【図1】分図(a)は本発明のコンピュータシステムの
ブロック図である。分図(b)は図1(a)のEPRO
M3およびNVRAM4内部に格納される初期診断プロ
グラムの内容を示す説明図である。
FIG. 1A is a block diagram of a computer system of the present invention. Figure (b) is the EPRO of Figure 1 (a)
It is explanatory drawing which shows the content of the initial diagnosis program stored in M3 and NVRAM4.

【図2】図2は本発明の処理の流れを示す流れ図であ
る。
FIG. 2 is a flowchart showing a processing flow of the present invention.

【図3】分図(a)はマルチプロセッサ構成をとる本発
明のブロック図である。分図(b)は図3(a)のEP
ROM3、43およびNVRAM4、44内部に格納さ
れる初期診断プログラムの内容を示す説明図である。
FIG. 3A is a block diagram of the present invention having a multiprocessor configuration. Separator (b) is the EP of Fig. 3 (a)
It is explanatory drawing which shows the content of the initial diagnostic program stored in ROM3,43 and NVRAM4,44.

【図4】図3のマルチプロセッサ構成時の動作を示す流
れ図である。
FIG. 4 is a flowchart showing the operation of the multiprocessor configuration of FIG.

【図5】従来のコンピュータシステムのブロック図であ
る。
FIG. 5 is a block diagram of a conventional computer system.

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

1、41 CPU 2、42 CPU周辺制御部 3、43 EPROM 4、44 NVRAM 5、6、7 入出力制御部 8 メモリ制御部 9 外部記憶装置 10 メモリ 11、12 入出力装置 13 データ転送制御装置 14 MPU 15 ROM 16 RAM 24 共通処理部 25 復帰情報領域 1, 41 CPU 2, 42 CPU peripheral control unit 3, 43 EPROM 4, 44 NVRAM 5, 6, 7 I / O control unit 8 Memory control unit 9 External storage device 10 Memory 11, 12 I / O device 13 Data transfer control device 14 MPU 15 ROM 16 RAM 24 Common processing unit 25 Return information area

Claims (8)

【特許請求の範囲】[Claims] 【請求項1】 CPUを有するコンピュータシステムの
初期診断プログラムをEPROMと不揮発性ランダムア
クセスメモリとに分割格納可能とし、初期診断プログラ
ムの一部を不揮発性ランダムアクセスメモリに外部記憶
装置から書き込むことを特徴とするコンピュータシステ
ム。
1. An initial diagnostic program for a computer system having a CPU can be divided and stored in an EPROM and a non-volatile random access memory, and a part of the initial diagnostic program is written in the non-volatile random access memory from an external storage device. And computer system.
【請求項2】(a)前記EPROMが、前記外部記憶装
置から前記不揮発性ランダムアクセスメモリへの経路お
よび前記経路に関わる制御部を診断する前記初期診断プ
ログラムの第1の初期診断ルーチンと、前記初期診断プ
ログラムの前記第1の初期診断ルーチンに含まれない部
分を持つ第2の初期診断ルーチンを前記外部記憶装置か
ら前記不揮発性ランダムアクセスメモリへ書き込むため
の不揮発性ランダムアクセスメモリへのデータ書き込み
ルーチンと、前記不揮発性ランダムアクセスメモリの前
記第2の初期診断ルーチンの有効性を示す有効性情報を
調べる不揮発性ランダムアクセスメモリチェックルーチ
ンとを含み、(b)前記不揮発性ランダムアクセスメモ
リが、前記第2の初期診断ルーチンと、前記有効性情報
とを含むこと、を特徴とする請求項1記載のコンピュー
タシステム。
2. (a) a first initial diagnostic routine of the initial diagnostic program, wherein the EPROM diagnoses a path from the external storage device to the nonvolatile random access memory and a control unit related to the path; Non-volatile random access memory data write routine for writing from the external storage device to the non-volatile random access memory a second initial diagnostic routine having a portion not included in the first initial diagnostic routine of the initial diagnostic program And a non-volatile random access memory check routine for checking validity information indicating the validity of the second initial diagnosis routine of the non-volatile random access memory, (b) the non-volatile random access memory, 2 including an initial diagnostic routine and the validity information, The computer system of claim 1 in which symptoms.
【請求項3】 前記CPUと前記EPROMと前記不揮
発性ランダムアクセスメモリとの組を複数有し、前記全
EPROMに同一の前記第1の初期診断プログラムを格
納し、前記全不揮発性ランダムアクセスメモリに前記第
2の初期診断プログラムを格納し、ある不揮発性ランダ
ムアクセスメモリから他の不揮発性ランダムアクセスメ
モリへ前記第2の初期診断プログラムを書き込む機能を
有することを特徴とする請求項2記載のコンピュータシ
ステム。
3. A plurality of sets of the CPU, the EPROM, and the non-volatile random access memory are provided, and the same first initial diagnosis program is stored in all the EPROMs, and all the non-volatile random access memories are stored in the all non-volatile random access memory. 3. The computer system according to claim 2, further comprising a function of storing the second initial diagnosis program and writing the second initial diagnosis program from one nonvolatile random access memory to another nonvolatile random access memory. .
【請求項4】(a)前記不揮発性ランダムアクセスメモ
リの各々が前記第2の初期診断ルーチンが書き込まれた
最新の時間を示す最終書き込み時間情報を含み、(b)
前記EPROMの各々がそれぞれの前記最終書き込み時
間情報を比較する比較ルーチンを含むこと、を特徴とす
る請求項3記載のコンピュータシステム。
4. (a) Each of said nonvolatile random access memories includes final write time information indicating the latest time when said second initial diagnostic routine was written, and (b).
4. The computer system of claim 3, wherein each of the EPROMs includes a compare routine that compares the respective last write time information.
【請求項5】 CPUを有するコンピュータシステムの
初期診断プログラムをEPROMと電気的EPROMと
に分割格納可能とし、初期診断プログラムの一部を電気
的EPROMに外部記憶装置から書き込むことを特徴と
するコンピュータシステム。
5. A computer system characterized in that an initial diagnosis program of a computer system having a CPU can be separately stored in an EPROM and an electric EPROM, and a part of the initial diagnosis program is written in the electric EPROM from an external storage device. .
【請求項6】(a)前記EPROMが、前記外部記憶装
置から前記電気的EPROMへの経路および前記経路に
関わる制御部を診断する前記初期診断プログラムの第1
の初期診断ルーチンと、前記初期診断プログラムの前記
第1の初期診断ルーチンに含まれない部分を持つ第2の
初期診断ルーチンを前記外部記憶装置から前記電気的E
PROMへ書き込むための電気的EPROMへのデータ
書き込みルーチンと、前記電気的EPROMの前記第2
の初期診断ルーチンの有効性を示す有効性情報を調べる
電気的EPROMチェックルーチンとを含み、(b)前
記電気的EPROMが、前記第2の初期診断ルーチン
と、前記有効性情報とを含むこと、を特徴とする請求項
5記載のコンピュータシステム。
6. (a) A first of the initial diagnosis program in which the EPROM diagnoses a path from the external storage device to the electrical EPROM and a control unit related to the path.
And a second initial diagnostic routine having a portion not included in the first initial diagnostic routine of the initial diagnostic program from the external storage device.
A data write routine to the electrical EPROM for writing to the PROM; and the second electrical EPROM.
And an electric EPROM check routine for checking validity information indicating the validity of the initial diagnosis routine, and (b) the electric EPROM includes the second initial diagnosis routine and the validity information. The computer system according to claim 5, wherein:
【請求項7】 前記CPUと前記EPROMと前記電気
的EPROMとの組を複数有し、前記全EPROMに同
一の前記第1の初期診断プログラムを格納し、前記全電
気的EPROMに前記第2の初期診断プログラムを格納
し、ある電気的EPROMから他の電気的EPROMへ
前記第2の初期診断プログラムを書き込む機能を有する
ことを特徴とする請求項6記載のコンピュータシステ
ム。
7. A plurality of sets of the CPU, the EPROM, and the electrical EPROM are provided, the same first initial diagnostic program is stored in all the EPROMs, and the second initial diagnostic program is stored in the all electrical EPROMs. 7. The computer system according to claim 6, wherein the computer system has a function of storing an initial diagnosis program and writing the second initial diagnosis program from one electric EPROM to another electric EPROM.
【請求項8】(a)前記電気的EPROMの各々が前記
第2の初期診断ルーチンが書き込まれた最新の時間を示
す最終書き込み時間情報を含み、(b)前記EPROM
の各々がそれぞれの前記最終書き込み時間情報を比較す
る比較ルーチンを含むこと、を特徴とする請求項7記載
のコンピュータシステム。
8. (a) Each of said electrical EPROMs includes final write time information indicating the latest time at which said second initial diagnostic routine was written, and (b) said EPROMs.
8. The computer system of claim 7, wherein each comprises a comparison routine that compares the respective last write time information.
JP8072101A 1996-03-27 1996-03-27 Computer system Expired - Fee Related JP3017080B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP8072101A JP3017080B2 (en) 1996-03-27 1996-03-27 Computer system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP8072101A JP3017080B2 (en) 1996-03-27 1996-03-27 Computer system

Publications (2)

Publication Number Publication Date
JPH09259000A true JPH09259000A (en) 1997-10-03
JP3017080B2 JP3017080B2 (en) 2000-03-06

Family

ID=13479688

Family Applications (1)

Application Number Title Priority Date Filing Date
JP8072101A Expired - Fee Related JP3017080B2 (en) 1996-03-27 1996-03-27 Computer system

Country Status (1)

Country Link
JP (1) JP3017080B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010092125A (en) * 2008-10-03 2010-04-22 Fujitsu Ltd Computer system, memory diagnostic method, and memory diagnosis control program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010092125A (en) * 2008-10-03 2010-04-22 Fujitsu Ltd Computer system, memory diagnostic method, and memory diagnosis control program

Also Published As

Publication number Publication date
JP3017080B2 (en) 2000-03-06

Similar Documents

Publication Publication Date Title
US7752427B2 (en) Stack underflow debug with sticky base
JPH11507450A (en) Method and system for detecting corrupted data using mirror data
JPH01232447A (en) Single chip microcomputer
US20050015579A1 (en) Handling exceptions
JP3830867B2 (en) Single-chip microcomputer and its boot area switching method
JPH09259000A (en) Computer system
JPS5816350A (en) Memory extension substituting system
JP2000293376A (en) Circuit and method for switching boot program
JP3547208B2 (en) Multiprocessor system and configuration method thereof
JPH02118999A (en) Ic card
JP3358214B2 (en) Electronic equipment
JP2000235483A (en) Information processor
JP4853620B2 (en) Multiprocessor system and initial startup method and program
JP4543505B2 (en) Microcomputer control method and abnormality monitoring device
JP2003288215A (en) Information processing apparatus
JP2004126658A (en) Processor system
JPH0317760A (en) Data write confirming system
JP3480957B2 (en) Memory programming equipment
JP2007084232A (en) Elevator control program updating device
JPH10260948A (en) Multiprocessor control system
JPH0341538A (en) Main storage device
JPH10133958A (en) Communication device control circuit
JPH06187140A (en) Processor
JPH08305556A (en) Method for correcting program in rom in computer
JP2009301479A (en) Microcomputer

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 19991207

LAPS Cancellation because of no payment of annual fees