JP2000163268A - Computer - Google Patents

Computer

Info

Publication number
JP2000163268A
JP2000163268A JP10338230A JP33823098A JP2000163268A JP 2000163268 A JP2000163268 A JP 2000163268A JP 10338230 A JP10338230 A JP 10338230A JP 33823098 A JP33823098 A JP 33823098A JP 2000163268 A JP2000163268 A JP 2000163268A
Authority
JP
Japan
Prior art keywords
bios data
data
bios
computer
cpu
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP10338230A
Other languages
Japanese (ja)
Inventor
Hiroshi Morimitsu
弘 森光
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 Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP10338230A priority Critical patent/JP2000163268A/en
Publication of JP2000163268A publication Critical patent/JP2000163268A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a computer capable of normally starting a system when it is started next time even if BIOS data rewriting fails. SOLUTION: A CPU C can access a storing part M, etc., through processing according to BIOS data stored in a FlashRom 1 when it is started. The FlashRom 1 stores the BIOS data with which basic setting processing of an input-output device of a computer is performed when the computer is started. An NVRAM 2 is a readable and writable nonvolatile memory and stores information showing effective BIOS data in the FlashRom 1. An address conversion controlling part 3 converts it into an address showing the storage area of the BIOS data in the FlashRom 1 based on information stored in the NVRAM 2. The information stored in the NVRAM 2 consists of a Valid flag 21 showing with which BIOS data it is started and an Update flag 22 showing whether or not BIOS data rewriting is normally finished.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、記憶部にコンピュ
ータのシステムの起動に必要なプログラムを複数準備し
ておき、正常にシステムを起動できるプログラムを選択
し、このプログラムによりシステムを起動させるコンピ
ュータに係わるものである。
[0001] The present invention relates to a computer which prepares a plurality of programs necessary for starting up a computer system in a storage unit, selects a program which can start up the system normally, and uses the program to start up the system. It is concerned.

【0002】[0002]

【従来の技術】従来、コンピュータの起動に必要なBI
OS(Basic Input/Output Sys
tem)をシステムのバージョンアップなどで書き換え
るとき、保守契約をしている場合には保守契約先の担当
者がBIOSの書き換えを行い、保守契約をしていない
場合にはユーザ本人が書き換えを行っている。
2. Description of the Related Art Conventionally, a BI required for starting a computer is used.
OS (Basic Input / Output Sys)
When renewing the term (system) by upgrading the system, if a maintenance contract is made, the person in charge of the maintenance contract rewrites the BIOS. If the maintenance contract is not made, the user himself rewrites the BIOS. I have.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、BIO
Sのデータの書き換えを行うためには、バージョンアッ
プされたBIOSを入手し、BIOSのデータの書き換
えツール(書き換えプログラム)を起動する必要があ
る。
SUMMARY OF THE INVENTION However, BIO
In order to rewrite the S data, it is necessary to obtain an upgraded BIOS and start a BIOS data rewriting tool (rewriting program).

【0004】このため、従来のコンピュータにおけるB
IOSのデータの書き換えは、ある程度のコンピュータ
操作の知識がないと失敗するという問題がある。すなわ
ち、BIOSのデータの書き換え途中に、誤ってコンピ
ュータの電源を落としたり、FlashRom内のBIOSデー
タを書き換えツールにより消去した後にFlashRomに正常
に書き込みができないという場合がある。
For this reason, B in a conventional computer
There is a problem that the rewriting of the data in the IOS fails without a certain knowledge of the computer operation. In other words, there is a case where the power of the computer is erroneously turned off while the BIOS data is being rewritten or the BIOS data in the FlashRom is erased by the rewriting tool, and then the data cannot be normally written to the FlashRom.

【0005】そして、BIOSの書き換えを失敗する
と、次回の起動時にコンピュータは正常に起動できなく
なる。つまり、コンピュータは、起動の始めにFlashRom
(フラッシュメモリ)内にあるBIOSのデータを読み
だして、このデータに基づいてシステムを起動するが、
このデータが無くなっている場合、もしくは破壊されて
いる場合、正常にシステムを起動することが出来ない。
[0005] If rewriting of the BIOS fails, the computer cannot be started normally at the next startup. That is, the computer starts FlashRom
The system reads out the BIOS data in the (flash memory) and starts the system based on this data.
If this data is lost or destroyed, the system cannot be started normally.

【0006】本発明はこのような背景の下になされたも
ので、BIOSのデータの書き換えに失敗しても、次回
の起動時にシステムを正常に起動することが可能なコン
ピュータを提供する事にある。
The present invention has been made in view of such a background, and an object of the present invention is to provide a computer which can normally start the system at the next start even if rewriting of BIOS data fails. .

【0007】[0007]

【課題を解決するための手段】請求項1記載の発明は、
コンピュータにおいて、複数の制御信号を出力し、コン
ピュータのシステム制御を行うCPUと、システムを起
動するBIOSデータを記憶する複数の領域を有する第
一の記憶手段と、前記BIOSデータの起動情報を記憶
する第二の記憶手段と、前記制御信号と前記起動情報と
に基づき、前記コンピュータを起動するBIOSデータ
が記憶されている領域を選択する選択手段とを具備する
ことを特徴とする。
According to the first aspect of the present invention,
In the computer, a CPU that outputs a plurality of control signals to control the system of the computer, a first storage unit having a plurality of areas for storing BIOS data for starting the system, and stores boot information of the BIOS data. A second storage unit; and a selection unit that selects an area in which BIOS data for starting the computer is stored, based on the control signal and the start information.

【0008】請求項2記載の発明は、請求項1記載のコ
ンピュータにおいて、前記起動情報が、BIOSの書き
換えが正常に終了したか否かを示す書き換えフラグと、
予め設定された起動に用いるBIOSデータの記憶され
ている領域を示す領域フラグとで構成されていることを
特徴とする。
According to a second aspect of the present invention, in the computer according to the first aspect, the boot information includes a rewrite flag indicating whether or not the BIOS rewrite has been completed normally.
And an area flag indicating an area in which BIOS data used for startup set in advance is stored.

【0009】請求項3記載の発明は、請求項1または請
求項2記載のコンピュータにおいて、前記BIOSデー
タが、前記CPUのシステム起動時に実行する起動プロ
グラムを有し、この起動プログラムが有効なBIOSデ
ータの記憶されている前記領域を判別し、前記選択手段
によりこの領域を選択させてBIOSデータを読み出
し、前記システムを起動する動作を示すことを特徴とす
る。
According to a third aspect of the present invention, in the computer according to the first or second aspect, the BIOS data has a boot program to be executed when the CPU is booted up by the system, and the boot program is a valid BIOS data. Is determined, the area is selected by the selection means, BIOS data is read, and an operation of activating the system is indicated.

【0010】[0010]

【発明の実施の形態】以下、図面を参照して本発明の実
施形態について説明する。図1は本発明の一実施形態に
よるコンピュータの構成を示すブロック図である。この
図において、CはCPUであり、コンピュータ全体の動
作の制御を記憶部Mに書き込まれているプログラムに従
って行う。また、CPU・Cは、起動時にFlashRom1内
に記憶されているBIOSデータに従った処理により、
記憶部M等に対するアクセスが可能となる。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a block diagram showing a configuration of a computer according to an embodiment of the present invention. In this figure, C is a CPU, which controls the operation of the entire computer according to a program written in a storage unit M. Further, the CPU C performs a process according to the BIOS data stored in the FlashRom 1 at the time of startup,
Access to the storage unit M and the like becomes possible.

【0011】FlashRom1は読み書き可能で、かつ電源を
落としても内容が保持されるフラッシュメモリであり、
コンピュータの起動時にコンピュータの入出力装置の基
本的な設定処理を行うBIOSデータが記憶されてい
る。また、FlashRom1は、容量の等しい2つのBIOS
データを格納する、BIOSデータブロック10(アド
レス上位側)とBIOSデータブロック11(アドレス
下位側)との2つのブロックに分割されている。ここ
で、BIOSデータブロック10にはBIOSデータD
1が記憶され、BIOSデータブロック11にはBIO
SデータD1が記憶されている。
FlashRom1 is a flash memory that is readable and writable and retains its contents even when the power is turned off.
BIOS data for performing basic setting processing of the input / output device of the computer when the computer is started is stored. FlashRom1 is composed of two BIOS with the same capacity.
It is divided into two blocks for storing data: a BIOS data block 10 (upper address) and a BIOS data block 11 (lower address). Here, the BIOS data D is stored in the BIOS data block 10.
1 is stored in the BIOS data block 11.
S data D1 is stored.

【0012】また、BIOSデータブロック10は、ブ
ートブロック100とコアブロック101とから構成さ
れており、BIOSデータD1は、ブートブロック10
0に記憶されているブートデータD1bと、コアブロッ
ク101に記憶されているコアデータD1cから構成さ
れている。ブートデータD1bは、起動時にCPU・C
に最初に読み込まれる初期設定プログラムを含んでい
る。コアデータD1cは、BIOSデータのコア部分、
すなわち記憶部M等の周辺装置の初期設定データを含ん
でいる。
The BIOS data block 10 is composed of a boot block 100 and a core block 101.
0 and the core data D1c stored in the core block 101. The boot data D1b is stored in the CPU C
Contains the initialization program that is loaded first. The core data D1c is a core part of the BIOS data,
That is, the initial setting data of the peripheral device such as the storage unit M is included.

【0013】同様に、BIOSデータブロック11、ブ
ートブロック110とコアブロック111とから構成さ
れており、BIOSデータD2、ブートブロック110
に記憶されているブートデータD2bと、コアブロック
111に記憶されているコアデータD2cから構成され
ている。ブートデータD2bは、起動時にCPU・Cに
最初に読み込まれる初期設定プログラムを含んでいる。
コアデータD2cは、BIOSデータのコア部分、すな
わち記憶部M等の周辺装置の初期設定データを含んでい
る。なお、ブートデータD1bとブートデータD2bと
は、全く同じデータである。
Similarly, it is composed of a BIOS data block 11, a boot block 110, and a core block 111.
And the core data D2c stored in the core block 111. The boot data D2b includes an initialization program that is first read by the CPU C at the time of startup.
The core data D2c includes a core portion of the BIOS data, that is, initialization data of a peripheral device such as the storage unit M. Note that the boot data D1b and the boot data D2b are exactly the same data.

【0014】NVRAM2は読み書き可能で、電源を落とし
ても内容が保持される不揮発性メモリであり、FlashRom
1内の有効なBIOSデータを示す情報を保存してい
る。すなわち、NVRAM2は、BIOSデータを示す情報
を記憶するValidフラグ21とUpdateフラグ22とを有
している。
The NVRAM 2 is a non-volatile memory that is readable and writable and retains its contents even when the power is turned off.
1 stores information indicating valid BIOS data. That is, the NVRAM 2 has a Valid flag 21 and an Update flag 22 for storing information indicating BIOS data.

【0015】ここで、Validフラグ21は、CPU・C
によりBIOSデータブロック10のBIOSデータD
1でシステムが立ち上がっている場合に「0」が書き込
まれ、BIOSデータブロック11のBIOSデータD
2でシステムが立ち上がっている場合に「1」が書き込
まれる。
Here, the Valid flag 21 indicates that the CPU C
The BIOS data D of the BIOS data block 10
When the system has been started up at “1”, “0” is written and the BIOS data D of the BIOS data block 11 is written.
If the system has been started up at 2, "1" is written.

【0016】また、Updateフラグ22は、CPU・Cに
より、BIOSデータブロック10及びBIOSデータ
ブロック11のいずれかに対してBIOSデータの書き
換えモードの場合に「1」が書き込まれ、それ以外の通
常の場合は「0」が書き込まれる。すなわち、Updateフ
ラグ22に「0」が書き込まれている場合には、BIO
Sデータの書き換えが正常に終了していることを示して
いる。
In the Update flag 22, "1" is written into the BIOS data block 10 or the BIOS data block 11 by the CPU / C in the case of the BIOS data rewrite mode, and other normal data is written. In this case, "0" is written. That is, when “0” is written in the Update flag 22, the BIO
This indicates that the rewriting of the S data has been completed normally.

【0017】上述したように、通常の場合サーバにおい
て、NVRAM3が他の保守用のデータを記憶する領域
として使用されるが、本実施形態では、NVRAM2がBI
OSの書き換え状態を示すフラグ、及び起動時にCPU
・CによりブートするBIOSデータを記憶するBIO
Sデータブロックを示すフラグに使用されている。
As described above, in the normal case, the NVRAM 3 is used as an area for storing other maintenance data in the server, but in the present embodiment, the NVRAM 2 is
A flag indicating the rewriting state of the OS, and a CPU
BIO for storing BIOS data booted by C
Used for a flag indicating an S data block.

【0018】3はアドレス変換制御部であり、NVRAM2
に格納されている情報に基づきFlashRom1のBIOSデ
ータの記憶領域を示すアドレスに変換する。CPU・
C、記憶部M、NVRAM2及びアドレス変換制御部3は、
アドレス/データ線Lにより相互に接続されている。
Reference numeral 3 denotes an address conversion control unit, which is an NVRAM 2
Is converted to an address indicating the storage area of the BIOS data of FlashRom1 based on the information stored in the. CPU ・
C, storage unit M, NVRAM 2 and address conversion control unit 3
They are interconnected by address / data lines L.

【0019】次に、図2を用いてアドレス変換制御部3
を詳細に説明する。図2は、図1におけるアドレス変換
制御部3の構成を示すブロック図である。アドレス変換
部31は、アドレス制御部32によって制御されるアド
レス切替信号ADによりFlashRom1のアドレスを上位側
(アドレス切替信号AD=「1」)と下位側(アドレス
切替信号AD=「0」)に変換する。
Next, referring to FIG.
Will be described in detail. FIG. 2 is a block diagram showing a configuration of the address conversion control unit 3 in FIG. The address conversion unit 31 converts the address of FlashRom1 into an upper side (address switching signal AD = "1") and a lower side (address switching signal AD = "0") by an address switching signal AD controlled by the address control unit 32. I do.

【0020】アドレス制御部32は、読み書き可能なSt
atusレジスタ321の値と、FlashRom1の書き込みの制
御信号SDの値との排他的論理和の演算を行うEXORゲー
ト322から構成されている。ここで、Statusレジスタ
321は、ブートブロック100に組み込まれているブ
ートデータD1bの初期設定プログラム、またはブート
ブロック110に組み込まれているブートデータD2b
の初期設定プログラムのいずれかを実行する際に、Vali
dフラグ21の状態を記憶する。
The address control unit 32 has a readable and writable St.
An EXOR gate 322 performs an exclusive OR operation of the value of the atus register 321 and the value of the control signal SD for writing FlashRom1. Here, the Status register 321 stores the boot data D1b initialization program incorporated in the boot block 100 or the boot data D2b embedded in the boot block 110.
When running one of the initialization programs in
The state of the d flag 21 is stored.

【0021】また、EXORゲート322は、Statusレジス
タ321に記憶されている値と、FlashRom1の書き込み
時に「0」、読み出し時に「1」となるFlashRom1のラ
イトの制御信号SDとを排他論理演算し、この演算結果
をアドレス切替信号ADとして出力している。すなわ
ち、アドレス切替信号は、FlashRom1の読み出しにStat
usレジスタ321の値となり、FlashRom1の書き込み時
にStatusレジスタ321の値を反転した値となる。
The EXOR gate 322 performs an exclusive logical operation on the value stored in the Status register 321 and the control signal SD for writing the FlashRom1 which is “0” when writing the FlashRom1 and “1” when reading the FlashRom1, This calculation result is output as an address switching signal AD. That is, the address switching signal is set to Stat for reading FlashRom1.
The value of the us register 321 is obtained by inverting the value of the status register 321 when writing FlashRom1.

【0022】次に、図1、図2および図3を参照し、一
実施形態の動作例を説明する。図3は、図1のコンピュ
ータの動作を説明するためのフローチャートである。例
えば、一実施形態の動作例は、FlashRom1のBIOSデ
ータブロック10(上位側アドレス)に格納されている
BIOSデータD1からブートして、BIOSデータブ
ロック11のBIOSデータD2の書き換えを行う場合
について説明する。
Next, an example of the operation of the embodiment will be described with reference to FIGS. 1, 2 and 3. FIG. 3 is a flowchart for explaining the operation of the computer in FIG. For example, an operation example of one embodiment will be described for a case in which the BIOS data D1 stored in the BIOS data block 10 (upper address) of FlashRom1 is booted and the BIOS data D2 of the BIOS data block 11 is rewritten. .

【0023】ステップS1において、ユーザーがコンピ
ュータの電源を入れると、CPU・Cは、ブートブロッ
ク部100からBIOSデータD1を読み出す。次に、
ステップS2において、CPU・Cは、BIOSデータ
D1におけるブートブロック10の初期設定プログラム
に従い、システムの起動を行う。
In step S 1, when the user turns on the power of the computer, the CPU / C reads the BIOS data D 1 from the boot block unit 100. next,
In step S2, the CPU C starts up the system according to the initialization program of the boot block 10 in the BIOS data D1.

【0024】次に、ステップS3において、CPU・C
は、初期設定プログラムに従い、Updateフラグ22に
「0」が書き込まれているか否か、すなわち前回のBI
OSデータの書き換えが正常終了した否かのチェックを
行う。例えば、CPU/Cは、「0」が書き込まれてい
ないこと、すなわち「1」が書き込まれていることを検
出すると、処理をステップS4へ進める。
Next, in step S3, the CPU C
According to the initial setting program, whether "0" is written in the Update flag 22, that is, the previous BI
It is checked whether the rewriting of the OS data has been completed normally. For example, when detecting that “0” has not been written, that is, that “1” has been written, the CPU / C advances the process to step S4.

【0025】次に、ステップS4において、CPU・C
は、Validフラグ21に記憶されている値を反転させ
(「0」→「1」)、Updateフラグ22に「0」を書き
込む。そして、CPU/Cは、処理をステップS5へ進
める。一方、ステップS3において、CPU・Cは、
「0」が書き込まれていることを検出すると、Updateフ
ラグ22の変更を行わず、処理をステップS5へ進め
る。
Next, in step S4, the CPU C
Inverts the value stored in the Valid flag 21 (“0” → “1”), and writes “0” in the Update flag 22. Then, the CPU / C advances the process to step S5. On the other hand, in step S3, the CPU C
When detecting that "0" is written, the process proceeds to step S5 without changing the Update flag 22.

【0026】次に、ステップS5において、CPU・C
は、Validフラグ21の値をStatusレジスタ321に書
き込む。また、Updateフラグ22が0の場合は、Vallid
フラグ21、Updateフラグ22の変更は行わず、Valid
フラグ21の値をStatusレジスタ321に書き込む。そ
して、CPU・Cは、処理をステップS6へ進める。
Next, in step S5, the CPU C
Writes the value of the Valid flag 21 into the Status register 321. When the Update flag 22 is 0, the valid
The flag 21 and the update flag 22 are not changed.
The value of the flag 21 is written to the status register 321. Then, CPU / C advances the process to step S6.

【0027】次に、ステップS6において、CPU・C
は、BIOSデータD1により、システムの起動を行
う。すなわち、この実施形態の動作例では、以下の説明
において、ステップS3のチェックで、Statusレジスタ
321の値が「0」と判定されたとする。
Next, in step S6, the CPU C
Starts the system based on the BIOS data D1. That is, in the operation example of this embodiment, in the following description, it is assumed that the value of the Status register 321 is determined to be “0” by the check in step S3.

【0028】そして、CPU・Cは、Statusレジスタ3
21に記憶されている値と、FlashRom1のライトの制御
信号SDの値との排他論理和の演算を行う。このとき、
ブート時がFlashRom1の読み出し状態であるため、Flas
hRom1のライト(書き込み)の制御信号SDは常に
「1」である。
Then, the CPU / C sets the status register 3
The exclusive OR of the value stored in 21 and the value of the write control signal SD of FlashRom1 is calculated. At this time,
Since FlashRom1 is in the read state at boot time, Flas
The write (write) control signal SD of hRom1 is always “1”.

【0029】これにより、排他論理和の演算の結果は、
Statusレジスタ321に記憶されている「0」とROM
ライトの制御信号SDの「1」とから「1」となる。す
なわち、アドレス切り替え信号ADが「1」となり、C
PU・Cは、FlashRom1のBIOSデータブロック10
に格納されているBIOSデータD1からブートを行う
ことになる。そして、CPU・Cは、処理をステップS
7へ進める。
Thus, the result of the exclusive OR operation is:
"0" stored in Status register 321 and ROM
The write control signal SD changes from “1” to “1”. That is, the address switching signal AD becomes “1” and C
PU · C is the BIOS data block 10 of FlashRom1
Is booted from the BIOS data D1 stored in the. Then, the CPU C executes the process in step S
Proceed to 7.

【0030】次に、ステップS7において、例えば、ユ
ーザーがBIOSデータブロック11に記憶されている
BIOSデータD2の書き換えを行うとする。初めに、
CPU・Cは、BIOSデータD1に従い、新しいBI
OSデータと書き換えツールとが格納されたブートFD
やブートディスクのようなブート媒体から立ち上がり、
BIOSデータ書き換えを開始する。
Next, in step S7, for example, it is assumed that the user rewrites the BIOS data D2 stored in the BIOS data block 11. at first,
The CPU C generates a new BIOS according to the BIOS data D1.
Boot FD storing OS data and rewriting tools
Boot from a boot medium such as a
The BIOS data rewriting is started.

【0031】なお、この書き換えツールは、NVRAM2の
フラグ変更機能とBIOS書き換え機能とを有する。そ
して、CPU・Cは、書き換えツールのフラグ変更機能
により、Validフラグ21を反転(「0」→「1」)さ
せ、同時に、Updateフラグ22を「1」に変更する。こ
の変更後、CPU・Cは、処理をステップS8へ進め
る。
The rewriting tool has a NVRAM 2 flag changing function and a BIOS rewriting function. Then, the CPU / C inverts the Valid flag 21 (“0” → “1”) by the flag changing function of the rewriting tool, and at the same time, changes the Update flag 22 to “1”. After this change, the CPU C advances the process to step S8.

【0032】次に、ステップS7において、CPU・C
は、BIOSデータの書き換えのため、FlashRom1のラ
イトの制御信号SDを「0」とする。このため、Status
レジスタ321に書き込まれている値「1」とROMラ
イト制御信号の値「0」との排他的論理和であるアドレ
ス切替信号ADは、「0」となる。これにより、CPU
・Cは、FlashRom1のBIOSデータブロック11(下
位側アドレス)に格納されているBIOSデータD2を
書き換える。そして、CPU・Cは、処理をステップS
9へ進める。
Next, in step S7, the CPU C
Sets the write control signal SD of FlashRom1 to "0" for rewriting the BIOS data. Because of this, Status
The address switching signal AD which is the exclusive OR of the value “1” written in the register 321 and the value “0” of the ROM write control signal is “0”. This allows the CPU
C rewrites the BIOS data D2 stored in the BIOS data block 11 (lower address) of FlashRom1. Then, the CPU C executes the process in step S
Proceed to 9.

【0033】次に、ステップS9において、CPU・C
は、BIOSデータブロック11に格納されているBI
OSデータD2の書き換えが正常に終わったか否かの判
定を行う。例えば、CPU・Cは、BIOSデータD2
の書き換えが正常に終わったか否かの判定において、書
き換えツールの情報により、正常に書き換えが行われた
と判定する。これにより、CPU・Cは、処理をステッ
プS10へ進める。
Next, at step S9, the CPU C
Is the BIOS stored in the BIOS data block 11.
It is determined whether the rewriting of the OS data D2 has been completed normally. For example, the CPU C performs the BIOS data D2
In the determination of whether or not the rewriting has been completed normally, it is determined that the rewriting has been performed normally based on the information of the rewriting tool. Thereby, CPU / C advances the process to step S10.

【0034】次に、ステップS10において、CPU・
Cは、書き換えツールのフラグ変更機能より、Updateフ
ラグ22に「0」を書き込む。そして、CPU・Cは、
処理をステップS11へ進める。
Next, in step S10, the CPU
C writes “0” to the Update flag 22 by the flag change function of the rewriting tool. And the CPU C
The process proceeds to step S11.

【0035】次に、ステップS11において、CPU・
Cは、BIOSデータD2の書き換え処理を終了する。
これにより、CPU・Cは、Validフラグ21の値が
「1」であり、Updateフラグ22の値が「0」であるた
め、新しくBIOSデータを書き換えたBIOSデータ
ブロック11のBIOSデータD2により、次回のシス
テム立ち上げを行う。
Next, at step S11, the CPU
C ends the process of rewriting the BIOS data D2.
As a result, since the value of the Valid flag 21 is “1” and the value of the Update flag 22 is “0”, the CPU / C uses the BIOS data D2 of the newly rewritten BIOS data in the next System startup.

【0036】一方、ステップS9における正常に書き換
えが行われたか否かの判定において、CPU・Cは、書
き換えツールの書き換え状態のチェック情報等により、
BIOSデータブロック11のBIOSデータD2の書
き換えが正常に行われなかったと判定すると、処理をス
テップS12へ進める。
On the other hand, in the determination as to whether or not the rewriting has been performed normally in step S9, the CPU / C uses the rewriting state check information of the rewriting tool, etc.
If it is determined that the BIOS data D2 in the BIOS data block 11 has not been correctly rewritten, the process proceeds to step S12.

【0037】次に、ステップS12において、CPU・
Cは、BIOSデータD2が正常に書き換えられないた
め、システムをリセットする。そして、ユーザーは、再
度ブートし直し、改めてBIOSデータD2の書き換え
処理などを行う。
Next, in step S12, the CPU
C resets the system because the BIOS data D2 is not correctly rewritten. Then, the user reboots again and performs the rewriting process of the BIOS data D2 again.

【0038】また、突然の電源断等により、コンピュー
タがBIOSデータD2の書き換え中にシャットダウン
されるとする。このように、BIOSデータの書き換え
が正常終了しなかった場合は、Updateフラグ22の値が
「0」に書き換えられていない。
It is also assumed that the computer is shut down during rewriting of the BIOS data D2 due to a sudden power-off or the like. As described above, when the rewriting of the BIOS data is not completed normally, the value of the Update flag 22 has not been rewritten to “0”.

【0039】従って、CPU・Cは、ブート時にブート
データD2bに含まれる初期設定プログラムに従い、Va
lidフラグ21の値が反転(「1」→「0」)させら
れ、もう一つのBIOSデータブロック10からシステ
ムを立ち上げることができる。これにより、決してシス
テムを立ち上げることができないといった障害は起きな
い。
Accordingly, at the time of booting, the CPU C performs the operation according to the initialization program included in the boot data D2b.
The value of the lid flag 21 is inverted (“1” → “0”), and the system can be started from another BIOS data block 10. Thus, there is no obstacle that the system cannot be started.

【0040】上述したように、本実施形態によるコンピ
ュータは、FlashRom1内にBIOSデータD1の入った
BIOSデータブロック10、及びBIOSデータD2
の入ったBIOSデータブロック11の2つのBIOS
ブロックを持ち、システムを立ち上げたBIOSデータ
ブロックと違うBIOSデータブロックのBIOSデー
タの書き換えを行うため、このBIOSデータの書き換
えが失敗しても、次回システムを立ち上げる時に、書き
換えを行わないBIOSデータブロックのBIOSデー
タによりブートを行うため、BIOSデータの書き換え
の失敗により、システムが立ち上がらなくなるというこ
とを防止できる。
As described above, the computer according to the present embodiment includes the BIOS data block 10 containing the BIOS data D1 in the FlashRom1, and the BIOS data D2.
Two BIOS of the BIOS data block 11 containing
Since the BIOS data is rewritten in a BIOS data block having a block different from the BIOS data block that started the system, even if the rewriting of the BIOS data fails, the BIOS data that is not rewritten when the system is started next time Since the boot is performed using the BIOS data of the block, it is possible to prevent the system from starting up due to failure in rewriting the BIOS data.

【0041】また、本実施形態によるコンピュータは、
ブートブロック100及びブートブロック110内にお
のおの有効なブートデータD1b、ブートデータD2b
を有し、このブートデータD1b、ブートデータD2b
が有効なBIOSデータブロックを判別するプログラム
を含んでいるため、BIOSデータの書き換え失敗にお
ける簡易なリカバリを提供でき、万が一のBIOSデー
タの不具合時にも、対応を容易化し、保守性を向上させ
ることが可能である。
Also, the computer according to the present embodiment
Valid boot data D1b and boot data D2b in the boot block 100 and the boot block 110, respectively.
And the boot data D1b and the boot data D2b
Includes a program for determining a valid BIOS data block, so that it is possible to provide a simple recovery in the event of a failure in rewriting the BIOS data, and to easily cope with a failure of the BIOS data and improve maintainability. It is possible.

【0042】以上、本発明の一実施形態を図面を参照し
て詳述してきたが、具体的な構成はこの実施形態に限ら
れるものではなく、本発明の要旨を逸脱しない範囲の設
計変更等があっても本発明に含まれる。
Although one embodiment of the present invention has been described in detail with reference to the drawings, the specific configuration is not limited to this embodiment, and a design change or the like may be made without departing from the gist of the present invention. The present invention is also included in the present invention.

【0043】[0043]

【発明の効果】FlashRom内に2つのBIOSデータの入
ったブロックを持ち、システムが立ち上がったブロック
と違うブロックに対して書き換えを行っているため、例
え書き換えを失敗しも次回システムを立ち上げる時立ち
上がらないということがない。
[Effect of the Invention] Since the FlashRom has two blocks containing BIOS data and the system rewrites a block different from the block where the system started, even if the rewrite fails, the system will start up the next time the system is started. I can't be without it.

【0044】ブートブロック内に有効なBIOSデータ
ブロックを判別するプログラムが含まれているため、簡
易なリカバリ方法の提供により、万が一の不具合時に
も、対応を容易化し、保守性を向上している。
Since the boot block includes a program for determining a valid BIOS data block, by providing a simple recovery method, even in the event of a failure, the response is facilitated and the maintainability is improved.

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

【図1】 本発明の一実施形態によるコンピュータの構
成を示すブロック図である。
FIG. 1 is a block diagram illustrating a configuration of a computer according to an embodiment of the present invention.

【図2】 図1に示すコンピュータにおけるアドレス変
換制御部3の詳細な構成を示すブロック図である。
FIG. 2 is a block diagram showing a detailed configuration of an address translation control unit 3 in the computer shown in FIG.

【図3】 図1に示すコンピュータの動作を説明するた
めのフローチャートである。
FIG. 3 is a flowchart for explaining the operation of the computer shown in FIG. 1;

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

1 FlashRom 2 NVRAM 3 アドレス変換制御部 10、11 BIOSデータブロック 21 Validフラグ 22 Updateフラグ 31 アドレス変換部 32 アドレス制御部 100、110 ブートブロック 101、111 コアブロック 321 Statusレジスタ 322 EXORゲート C CPU L アドレス/データ線 M 記憶部 DESCRIPTION OF SYMBOLS 1 FlashRom 2 NVRAM 3 Address conversion control part 10, 11 BIOS data block 21 Valid flag 22 Update flag 31 Address conversion part 32 Address control part 100, 110 Boot block 101, 111 Core block 321 Status register 322 EXOR gate C CPU L Address / Data line M Storage unit

Claims (3)

【特許請求の範囲】[Claims] 【請求項1】 複数の制御信号を出力し、コンピュータ
のシステム制御を行うCPUと、 システムを起動するBIOSデータを記憶する複数の領
域を有する第一の記憶手段と、 前記BIOSデータの起動情報を記憶する第二の記憶手
段と、 前記制御信号と前記起動情報とに基づき、前記コンピュ
ータを起動するBIOSデータが記憶されている領域を
選択する選択手段とを具備することを特徴とするコンピ
ュータ。
A CPU for outputting a plurality of control signals to control a system of a computer; a first storage unit having a plurality of areas for storing BIOS data for activating a system; A computer comprising: a second storage unit for storing; and a selection unit for selecting an area in which BIOS data for starting the computer is stored, based on the control signal and the start information.
【請求項2】 前記起動情報が、BIOSの書き換えが
正常に終了したか否かを示す書き換えフラグと、予め設
定された起動に用いるBIOSデータの記憶されている
領域を示す領域フラグとで構成されていることを特徴と
する請求項1記載のコンピュータ。
2. The boot information includes a rewrite flag indicating whether or not BIOS rewrite has been completed normally, and an area flag indicating an area in which BIOS data to be used for a predetermined start is stored. The computer according to claim 1, wherein:
【請求項3】 前記BIOSデータが、前記CPUのシ
ステム起動時に実行する起動プログラムを有し、この起
動プログラムが有効なBIOSデータの記憶されている
前記領域を判別し、前記選択手段によりこの領域を選択
させてBIOSデータを読み出し、前記システムを起動
する動作を示すことを特徴とする請求項1または請求項
2記載のコンピュータ。
3. The BIOS data has a boot program executed when the CPU is booted up by the system. The boot program determines the area in which valid BIOS data is stored, and selects the area by the selection means. 3. The computer according to claim 1, wherein the computer reads out the BIOS data by selecting it and starts the system.
JP10338230A 1998-11-27 1998-11-27 Computer Pending JP2000163268A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10338230A JP2000163268A (en) 1998-11-27 1998-11-27 Computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10338230A JP2000163268A (en) 1998-11-27 1998-11-27 Computer

Publications (1)

Publication Number Publication Date
JP2000163268A true JP2000163268A (en) 2000-06-16

Family

ID=18316161

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10338230A Pending JP2000163268A (en) 1998-11-27 1998-11-27 Computer

Country Status (1)

Country Link
JP (1) JP2000163268A (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002006926A1 (en) * 2000-07-19 2002-01-24 Aaa Makelaars O.Z B.V Internet computer and method for connecting a computer to the internet
JP2002024044A (en) * 2000-07-10 2002-01-25 Toshiba Corp Controller
JP2002222084A (en) * 2001-01-24 2002-08-09 Fujitsu Ltd Semiconductor storage device, sector address conversion circuit, address conversion method, and method for using semiconductor storage device
JP2005242512A (en) * 2004-02-25 2005-09-08 Murata Mach Ltd Data processor
JP2006337752A (en) * 2005-06-02 2006-12-14 Seiko Epson Corp Image display device, start control method for image display device, start control program, and computer-readable recording medium with the start control program recorded
US7490321B2 (en) 2003-12-15 2009-02-10 Mediatek Incorporation Method for updating firmware via determining program code
JP2009205409A (en) * 2008-02-27 2009-09-10 Nec Corp Redundancy configuration system, information management method used for the redundancy configuration system and information management control program
US7877562B2 (en) 2005-06-13 2011-01-25 Tdk Corporation Memory controller, flash memory system, and control method of flash memory
US7900036B2 (en) 2006-12-18 2011-03-01 International Business Machines Corporation System and method for implementing boot/recovery on a data processing sysem
JP2011204266A (en) * 2011-06-10 2011-10-13 Fujitsu Ltd Method of managing redundancy of basic input/output program, and data processing device
JP2011204267A (en) * 2011-06-10 2011-10-13 Fujitsu Ltd Method of synchronizing basic input/output program between data processing devices, and computer program
JP2011224091A (en) * 2010-04-16 2011-11-10 Hoya Corp Electronic endoscope and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0816408A (en) * 1994-06-29 1996-01-19 Mitsubishi Electric Corp Information processor
JPH0869376A (en) * 1994-08-31 1996-03-12 Hitachi Ltd Reload control circuit for bios
JPH09330272A (en) * 1996-06-12 1997-12-22 Hitachi Ltd Bios control system
JPH10187454A (en) * 1996-12-27 1998-07-21 Nec Corp Bios reloading system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0816408A (en) * 1994-06-29 1996-01-19 Mitsubishi Electric Corp Information processor
JPH0869376A (en) * 1994-08-31 1996-03-12 Hitachi Ltd Reload control circuit for bios
JPH09330272A (en) * 1996-06-12 1997-12-22 Hitachi Ltd Bios control system
JPH10187454A (en) * 1996-12-27 1998-07-21 Nec Corp Bios reloading system

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002024044A (en) * 2000-07-10 2002-01-25 Toshiba Corp Controller
WO2002006926A1 (en) * 2000-07-19 2002-01-24 Aaa Makelaars O.Z B.V Internet computer and method for connecting a computer to the internet
JP2002222084A (en) * 2001-01-24 2002-08-09 Fujitsu Ltd Semiconductor storage device, sector address conversion circuit, address conversion method, and method for using semiconductor storage device
JP4731020B2 (en) * 2001-01-24 2011-07-20 富士通セミコンダクター株式会社 Semiconductor memory device, sector address conversion circuit, address conversion method, and method of using semiconductor memory device
US7490321B2 (en) 2003-12-15 2009-02-10 Mediatek Incorporation Method for updating firmware via determining program code
JP2005242512A (en) * 2004-02-25 2005-09-08 Murata Mach Ltd Data processor
JP4556104B2 (en) * 2004-02-25 2010-10-06 村田機械株式会社 Data processing device
JP2006337752A (en) * 2005-06-02 2006-12-14 Seiko Epson Corp Image display device, start control method for image display device, start control program, and computer-readable recording medium with the start control program recorded
US7877562B2 (en) 2005-06-13 2011-01-25 Tdk Corporation Memory controller, flash memory system, and control method of flash memory
US7900036B2 (en) 2006-12-18 2011-03-01 International Business Machines Corporation System and method for implementing boot/recovery on a data processing sysem
JP2009205409A (en) * 2008-02-27 2009-09-10 Nec Corp Redundancy configuration system, information management method used for the redundancy configuration system and information management control program
JP2011224091A (en) * 2010-04-16 2011-11-10 Hoya Corp Electronic endoscope and system
JP2011204266A (en) * 2011-06-10 2011-10-13 Fujitsu Ltd Method of managing redundancy of basic input/output program, and data processing device
JP2011204267A (en) * 2011-06-10 2011-10-13 Fujitsu Ltd Method of synchronizing basic input/output program between data processing devices, and computer program

Similar Documents

Publication Publication Date Title
US5327531A (en) Data processing system including corrupt flash ROM recovery
JP4668416B2 (en) Protecting boot block code when enabling write access to the boot block
JP3838840B2 (en) Computer
EP0536793B1 (en) Personal computer using flash memory as BIOS-ROM
JP3292864B2 (en) Data processing device
US7039799B2 (en) Methods and structure for BIOS reconfiguration
KR920022093A (en) How to operate a computer system with recoverable basic firmware
JP2001209543A (en) Program rewriting method for flash microcomputer
US20070101114A1 (en) Method and apparatus for memory initializing in a computer system
JP2000163268A (en) Computer
KR19980042796A (en) Microcomputer comprising flash EEPROM and method of erasing flash EEPROM
JP3173407B2 (en) Microcomputer with built-in flash EEPROM
US7096351B2 (en) Single-chip microcomputer and boot region switching method thereof
US7219221B2 (en) System and method for automatic booting based on single flash ROM
KR100223844B1 (en) Option circuit
JP2003248631A (en) Memory control circuit and memory control method
JPH0764795A (en) Computer system
JP2004013477A (en) Method for selecting and updating boot program and flash memory using the same
JP3635996B2 (en) Information processing system
JPH09146767A (en) Method for reloading program
US20070208929A1 (en) Device information managements systems and methods
JPH08305561A (en) Method and device for down-loading firmware
JP4735765B2 (en) Linux program startup system
JP4031693B2 (en) Nonvolatile memory and data storage device having the same
JPH07261997A (en) Flash rom management system

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20020122