JPH10333913A - Software boot control system - Google Patents

Software boot control system

Info

Publication number
JPH10333913A
JPH10333913A JP15731397A JP15731397A JPH10333913A JP H10333913 A JPH10333913 A JP H10333913A JP 15731397 A JP15731397 A JP 15731397A JP 15731397 A JP15731397 A JP 15731397A JP H10333913 A JPH10333913 A JP H10333913A
Authority
JP
Japan
Prior art keywords
data
area
program
boot
flash memory
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
JP15731397A
Other languages
Japanese (ja)
Inventor
Shinji Saitou
進志 斉藤
Sakae Nagayama
栄 永山
Hiroki Yabe
弘樹 矢部
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.)
Hitachi Telecom Technologies Ltd
Original Assignee
Hitachi Telecom Technologies 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 Hitachi Telecom Technologies Ltd filed Critical Hitachi Telecom Technologies Ltd
Priority to JP15731397A priority Critical patent/JPH10333913A/en
Publication of JPH10333913A publication Critical patent/JPH10333913A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To speedily boot a software by using a flash memory by providing an area for storing boot information from plural programs and data and loading the specified program and data onto a RAM based on the boot information. SOLUTION: In the case of performing boot activation by the power re-supply of a system and the operation of a maintenance panel, etc., a central processing unit activates a boot program and the boot program refers to the boot information 20 on the flash memory and loads the program and the data from the flash memory to the RAM. That is, when the specifying data of a program boot area specify an area (i) and the specifying data of a data boot area specify the area (j), the contents of the program area (i) of a program storage area 21 and the data area (j) of a data storage area 22 are loaded onto the RAM. Thus, the software is speedily booted by using the flash memory.

Description

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

【0001】[0001]

【発明が属する技術分野】本発明は、マイクロプロセッ
サによって制御するシステムにおける、プログラムやデ
ータ等のソフトウェアのブート制御方式に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a boot control method for software such as programs and data in a system controlled by a microprocessor.

【0002】[0002]

【従来の技術】従来、マイクロプロセッサによって制御
するシステムにおいては、プログラムやデータ等のソフ
トウェアは、ROMやフラッシュメモリ等の内部不揮発
メモリや、フロッピーディスクやハードディスク等の外
部不揮発メモリに記憶してバックアップし、プログラム
実行時には、前記バックアップ記憶媒体からRAM上に
プログラムやデータ等をロードしてプログラムを実行し
ていた。この様な従来の方法では、ソフトウェアの入れ
替えを行う際、使用中のROMやフロッピーディスクの
様な記憶媒体を、新しいソフトウェアを格納した記憶媒
体と交換するか、使用中のフラッシュメモリやフロッピ
ーディスクやハードディスクの内容を、新しいソフトウ
ェアで上書きする方法が採られていた。
2. Description of the Related Art Conventionally, in a system controlled by a microprocessor, software such as programs and data is stored and backed up in an internal nonvolatile memory such as a ROM or a flash memory or an external nonvolatile memory such as a floppy disk or a hard disk. When the program is executed, the program, data, and the like are loaded from the backup storage medium onto the RAM to execute the program. In such a conventional method, when replacing software, a storage medium such as a ROM or a floppy disk in use is replaced with a storage medium storing new software, or a flash memory, a floppy disk or the like in use is replaced. The method of overwriting the contents of the hard disk with new software was adopted.

【0003】[0003]

【発明が解決しようとする課題】しかしながら、上記の
ような従来の方式では、ソフトウェアの入れ替えを行う
際のシステム停止時間は、ROMやフロッピーディスク
の様な記憶媒体を交換する方法においては、記憶媒体を
交換する時間とブートに要する時間を合わせた時間にな
る。
However, in the conventional method as described above, the system down time when replacing software is limited by the method of replacing a storage medium such as a ROM or a floppy disk. And the time required for booting.

【0004】一方、記憶媒体の内容を書き換える方法で
は、記憶媒体内のプログラムやデータ等の書き替え時間
と、それをブートするのに要する時間を合わせた時間に
なる。
[0004] On the other hand, in the method of rewriting the contents of the storage medium, the time is the sum of the time required to rewrite the program and data in the storage medium and the time required to boot it.

【0005】ROMを交換する方法は、ブートは高速に
行えるが、記憶媒体の交換に時間がかかる欠点がある。
The method of replacing the ROM can boot at a high speed, but has a disadvantage that it takes time to replace the storage medium.

【0006】フロッピーディスクを交換する方法は、記
憶媒体の交換に要する時間はROMほど大きくないが、
ROMに比べてブートに時間を要する欠点がある。
In the method of replacing a floppy disk, the time required for replacing a storage medium is not as long as that of a ROM.
There is a disadvantage that booting takes longer than ROM.

【0007】フロッピーディスクやハードディスクの内
容を書き換える方法では、プログラムやデータ等の書き
替えはシステムの動作中にできるが、ブート時間がRO
Mやフラッシュメモリーの様な半導体メモリに比べて大
きくなる欠点がある。
In the method of rewriting the contents of a floppy disk or a hard disk, rewriting of a program or data can be performed during the operation of the system, but the boot time can be reduced by RO time.
There is a disadvantage that it becomes larger than semiconductor memories such as M and flash memory.

【0008】フラッシュメモリを用いる方法では、シス
テムの動作中にフラッシュメモリの内容を書き替えるこ
とが可能であり、ブートも高速に行えるので、短いシス
テム停止時間でプログラムやデータの切替が可能であ
る。
In the method using the flash memory, the contents of the flash memory can be rewritten during the operation of the system, and the boot can be performed at a high speed, so that the program and data can be switched with a short system stop time.

【0009】しかしこの方法では、切り替え後の試験で
問題が発生した場合に、フラッシュメモリの内容が新し
いソフトウェアに書き替えられているために、直ぐには
元へ戻せないという欠点があった。
However, this method has a drawback that if a problem occurs in the test after switching, the contents of the flash memory cannot be immediately restored because the contents of the flash memory have been rewritten with new software.

【0010】本発明は、このような従来の課題を解決す
るためになされたもので、フラッシュメモリを用いてブ
ートの高速化を図り、プログラムやデータ等の切り替え
後に問題が発生した場合の欠点も除去しようとするもの
である。
SUMMARY OF THE INVENTION The present invention has been made to solve such a conventional problem, and aims to speed up booting by using a flash memory, and also has a drawback when a problem occurs after switching between programs and data. To be removed.

【0011】[0011]

【課題を解決するための手段】上記の課題を解決するた
めに請求項1に記載の発明は、中央処理装置と、制御プ
ログラムおよびデータを常駐させるRAMと、制御プロ
グラムおよびデータをバックアップするための書き替え
可能な不揮発半導体メモリとで構成され、前記不揮発半
導体メモリに複数のプログラムおよびデータを格納する
エリアと、前記複数のプログラムおよびデータの中か
ら、ブート対象のプログラムおよびデータを指定するた
めのブート情報を格納するエリアを設け、前記ブート情
報に基づいて指定されたプログラムおよびデータをRA
M上にロードすることを特徴とする。
In order to solve the above-mentioned problems, the present invention according to claim 1 comprises a central processing unit, a RAM in which control programs and data reside, and a backup program for backing up control programs and data. An area for storing a plurality of programs and data in the nonvolatile semiconductor memory, and a boot for designating a program and data to be booted from the plurality of programs and data. An area for storing information is provided, and a program and data designated based on the boot information are stored in RA.
M is loaded on M.

【0012】本発明によれば、不揮発半導体メモリを用
い、旧プログラムおよびデータとは別エリアに新プログ
ラムおよびデータを格納することを可能にし、ブート情
報で新プログラムおよびデータを指定してブートを起動
するのでシステム停止時間は短縮し、しかも旧プログラ
ムおよびデータも不揮発半導体メモリ上に持っているの
で、切り替え後に問題が発生した場合にも旧プログラム
のリブートを高速に行うことができる。
According to the present invention, it is possible to use a nonvolatile semiconductor memory to store a new program and data in an area different from the old program and data, and to start the boot by designating the new program and data with boot information. Therefore, the system stop time is reduced, and the old program and data are also stored in the nonvolatile semiconductor memory. Therefore, even if a problem occurs after switching, the old program can be rebooted at high speed.

【0013】[0013]

【発明の実施の形態】図1は本発明の実施の形態を表す
マイクロコンピュータシステムの構成図である。
FIG. 1 is a block diagram of a microcomputer system representing an embodiment of the present invention.

【0014】10はマイクロプロセッサからなる中央処
理装置CPU、11はシステムが動作中、制御プログラ
ムおよびデータが常駐する主記憶装置RAM、12は制
御プログラムおよびデータをバックアップする書き替え
可能な不揮発半導体メモリであるフラッシュメモリFL
ASH MEM、13は外部装置との入出力制御を行う
入出力制御装置IOC、14はシステムの保守を行うた
めの保守パネルMP,15および16は保守パネル14
に接続される補助記憶装置で、それぞれフロッピーディ
スク装置FDD、ハードディスク装置HDDである。
Reference numeral 10 denotes a central processing unit CPU comprising a microprocessor, 11 denotes a main storage RAM in which a control program and data reside while the system is operating, and 12 denotes a rewritable nonvolatile semiconductor memory for backing up the control program and data. A flash memory FL
An ASH MEM 13 is an input / output control device IOC that controls input / output with an external device, 14 is a maintenance panel MP for performing system maintenance, and 15 and 16 are maintenance panels 14.
The auxiliary storage devices are connected to a floppy disk device FDD and a hard disk device HDD, respectively.

【0015】図2は、図1におけるフラッシュメモリF
LASH MEM12のメモリエリアの構成を示した図
である。
FIG. 2 shows the flash memory F in FIG.
FIG. 3 is a diagram illustrating a configuration of a memory area of the LASH MEM 12.

【0016】20はブート対象のプログラムおよびデー
タを指定するブート情報格納領域で、プログラムブート
の指定データを格納するプログラムブートエリア、およ
びデータブートの指定データを格納するデータブートエ
リアから構成される。
Reference numeral 20 denotes a boot information storage area for designating a program and data to be booted. The boot information storage area 20 includes a program boot area for storing program boot designation data and a data boot area for storing data boot designation data.

【0017】21は制御プログラムをバックアップする
プログラムの格納領域で、複数のエリア、プログラムエ
リア0からプログラムエリアmで構成される。なおmは
任意の正の整数、iは0<i<mを満足する正の整数で
ある。
Reference numeral 21 denotes a storage area of a program for backing up the control program, which comprises a plurality of areas, program area 0 to program area m. Here, m is an arbitrary positive integer, and i is a positive integer satisfying 0 <i <m.

【0018】22は制御データをバックアップするデー
タの格納領域で、複数のエリア、データエリア0からデ
ータエリアnで構成される。なおnは任意の正の整数、
jは0<j<nを満足する正の整数である。
Reference numeral 22 denotes a data storage area for backing up control data, which is composed of a plurality of areas, data area 0 to data area n. Note that n is any positive integer,
j is a positive integer satisfying 0 <j <n.

【0019】次に、制御プログラムおよびデータの入れ
替え手順を説明する。
Next, a procedure for exchanging control programs and data will be described.

【0020】保守パネルMP14に接続されたフロッピ
ーディスク装置FDD15またはハードディスク装置H
DD16には、入れ替えるべきプログラムおよびデータ
が格納されている。
The floppy disk drive FDD15 or the hard disk drive H connected to the maintenance panel MP14.
The DD 16 stores programs and data to be replaced.

【0021】システム動作中に保守パネルMP14はフ
ラッシュメモリFLASH MEM12上のプログラム
エリアおよびデータエリアを指定して、プログラムおよ
びデータのアップロード要求を中央処理装置CPU10
に送信する。
During operation of the system, the maintenance panel MP14 designates a program area and a data area on the flash memory FLASH MEM 12, and sends a program and data upload request to the central processing unit CPU10.
Send to

【0022】中央処理装置CPU10は、入出力制御装
置IOC13を介してアップロード要求を受け取ると、
指定された格納エリアに従い、保守パネルMP14から
受信したプログラムおよびデータをフラッシュメモリF
LASH MEM12上の指定エリアに格納する。
When the central processing unit CPU 10 receives the upload request via the input / output control unit IOC 13,
The program and data received from the maintenance panel MP14 are stored in the flash memory F according to the designated storage area.
It is stored in a designated area on the LASH MEM 12.

【0023】プログラムおよびデータを格納すべきエリ
アが、プログラムエリアiおよびデータエリアjと指定
された場合、アップロードされたプログラムおよびデー
タは、それぞれプログラムエリアi、データエリアjに
格納される。
When the areas where programs and data are to be stored are designated as program area i and data area j, the uploaded programs and data are stored in program area i and data area j, respectively.

【0024】次に、保守パネルMP14は、ブートエリ
アの切替要求を中央処理装置CPU10に送信する。
Next, the maintenance panel MP14 transmits a request for switching the boot area to the central processing unit CPU10.

【0025】中央処理装置CPU10はブートエリア切
替要求を受け取ると、ブート情報領域20のプログラム
ブートエリア、およびデータブートエリアの内容を指定
されたプログラムエリアおよびデータエリアに書き替え
る。
When receiving the boot area switching request, the central processing unit CPU 10 rewrites the contents of the program boot area and the data boot area of the boot information area 20 to the designated program area and data area.

【0026】プログラムブートエリアおよびデータブー
トエリアの内容が、それぞれエリアiおよびエリアjと
指定される場合、プログラムブートエリア、データブー
トエリアに、それぞれエリアi、エリアjを指定するデ
ータが設定される。
When the contents of the program boot area and data boot area are designated as area i and area j, respectively, data designating area i and area j are set in the program boot area and data boot area, respectively.

【0027】システムの電源再投入や、保守パネルMP
14の操作等によってブート起動が行われた場合、中央
処理装置CPU10はブートプログラムを起動する。
When the power of the system is turned on again, the maintenance panel MP
When boot boot is performed by the operation of 14, etc., the central processing unit CPU 10 boots a boot program.

【0028】ブートプログラムは、フラッシュメモリF
LASH MEM12上のブート情報20を参照して、
プログラムおよびデータをフラッシュメモリFLASH
MEM12からRAM11にロードするように構成さ
れている。
The boot program is stored in the flash memory F
Referring to the boot information 20 on the LASH MEM 12,
Program and data are stored in flash memory FLASH
It is configured to be loaded from the MEM 12 to the RAM 11.

【0029】プログラムブートエリアの指定データがエ
リアi、データブートエリアの指定データがエリアjを
指定している場合には、プログラム格納領域21のプロ
グラムエリアiおよびデータ格納領域22のデータエリ
アjの内容をRAM11上にロードする。
When the designated data of the program boot area designates the area i and the designated data of the data boot area designates the area j, the contents of the program area i of the program storage area 21 and the data area j of the data storage area 22 Is loaded on the RAM 11.

【0030】これによってソフトウェアの入れ替えが完
了する。
Thus, the replacement of the software is completed.

【0031】新しいソフトウェアへの切り替え後に何ら
かの問題が発生し、以前のソフトウェアに戻す必要が生
じた場合には、旧プログラムおよび旧データがフラッシ
ュメモリFLASH MEM12上に消去されずに残っ
ているため、ブート情報領域20のブート情報を旧プロ
グラムエリアおよび旧データエリアに切り替えて再ブー
トすることにより、元の状態に戻すことができる。
If any problem occurs after switching to the new software and it is necessary to return to the previous software, the old program and the old data remain in the flash memory FLASH MEM 12 without being erased. The original state can be restored by switching the boot information in the information area 20 to the old program area and the old data area and rebooting.

【0032】[0032]

【発明の効果】本発明によれば、マイクロプロセッサに
よって制御するシステムに書き替え可能な不揮発半導体
メモリを用い、プログラムおよびデータを不揮発半導体
メモリからRAMへロードする方法をとることにより、
ソフトウェア入れ替え時のシステムの停止時間を、前記
不揮発半導体メモリからのブート時間だけにすることが
でき、短時間での切り替えが可能になる効果を有する。
According to the present invention, by using a rewritable nonvolatile semiconductor memory in a system controlled by a microprocessor, a method of loading programs and data from the nonvolatile semiconductor memory to the RAM is adopted.
The system stop time at the time of software replacement can be limited only to the boot time from the nonvolatile semiconductor memory, and there is an effect that switching can be performed in a short time.

【0033】また、切り替えたソフトウェアに不具合が
生じた場合にも、元のソフトウェアを不揮発半導体メモ
リ上に残してあるため、ブート情報を変更して再ブート
することにより、迅速に元の状態に復旧することが可能
になる効果を有する。
Also, even if a failure occurs in the switched software, the original software is left in the non-volatile semiconductor memory, so the boot information is changed and rebooted to quickly restore the original state. This has the effect that it becomes possible to

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

【図1】本発明の実施の形態におけるシステム構成図で
ある。
FIG. 1 is a system configuration diagram according to an embodiment of the present invention.

【図2】フラッシュメモリにおけるメモリエリアの構成
図である。
FIG. 2 is a configuration diagram of a memory area in a flash memory.

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

10 中央制御装置 11 RAM 12 フラッシュメモリ 13 入出力制御装置 14 保守パネル 15 フロッピーディスク装置 16 ハードディスク装置 20 ブート情報格納領域 21 プログラム格納領域 22 データ格納領域 Reference Signs List 10 Central control device 11 RAM 12 Flash memory 13 I / O control device 14 Maintenance panel 15 Floppy disk device 16 Hard disk device 20 Boot information storage area 21 Program storage area 22 Data storage area

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 中央処理装置と、制御プログラムおよび
データを常駐させるRAMと、制御プログラムおよびデ
ータをバックアップするための書き替え可能な不揮発半
導体メモリとで構成され、前記不揮発半導体メモリに複
数のプログラムおよびデータを格納するエリアと、前記
複数のプログラムおよびデータの中から、ブート対象の
プログラムおよびデータを指定するためのブート情報を
格納するエリアとを設け、前記ブート情報に基づいて指
定されたプログラムおよびデータをRAM上にロードす
ることを特徴とするソフトウェアブート制御方式。
1. A central processing unit, a RAM on which a control program and data reside, and a rewritable nonvolatile semiconductor memory for backing up the control program and data, wherein a plurality of programs and An area for storing data and an area for storing boot information for specifying a program and data to be booted from among the plurality of programs and data are provided, and the program and data specified based on the boot information are provided. A software boot control method characterized by loading a program onto a RAM.
JP15731397A 1997-06-02 1997-06-02 Software boot control system Pending JPH10333913A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP15731397A JPH10333913A (en) 1997-06-02 1997-06-02 Software boot control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP15731397A JPH10333913A (en) 1997-06-02 1997-06-02 Software boot control system

Publications (1)

Publication Number Publication Date
JPH10333913A true JPH10333913A (en) 1998-12-18

Family

ID=15646961

Family Applications (1)

Application Number Title Priority Date Filing Date
JP15731397A Pending JPH10333913A (en) 1997-06-02 1997-06-02 Software boot control system

Country Status (1)

Country Link
JP (1) JPH10333913A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007172200A (en) * 2005-12-21 2007-07-05 Fuji Electric Holdings Co Ltd Software updating system
US7383431B2 (en) 2002-06-11 2008-06-03 Seiko Epson Corporation Control system and method for rewriting data in a flash memory and a data storage medium in which a program is stored for rewriting data in a flash memory
US8135991B2 (en) 2004-01-28 2012-03-13 Sony Corporation Semiconductor device and processing method for starting the same

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7383431B2 (en) 2002-06-11 2008-06-03 Seiko Epson Corporation Control system and method for rewriting data in a flash memory and a data storage medium in which a program is stored for rewriting data in a flash memory
US8135991B2 (en) 2004-01-28 2012-03-13 Sony Corporation Semiconductor device and processing method for starting the same
JP2007172200A (en) * 2005-12-21 2007-07-05 Fuji Electric Holdings Co Ltd Software updating system

Similar Documents

Publication Publication Date Title
US5269022A (en) Method and apparatus for booting a computer system by restoring the main memory from a backup memory
TWI515660B (en) Firmware variable update method
JP2007213571A (en) Method for starting system using direct memory access in novel memory architecture
JP2001195241A (en) Computer
US20190278508A1 (en) Information Handling System Firmware Persistent Memory Runtime Reclaim
US20180095693A1 (en) Information processing apparatus, information processing system, and method for controlling information processing apparatus
JPH11316686A (en) Bios data storage device for computer system and driving method therefor
JP3886539B2 (en) How to load the operating system
JP3830867B2 (en) Single-chip microcomputer and its boot area switching method
JPH10333913A (en) Software boot control system
JPH1097427A (en) Program transfer system
JP2002297207A (en) Backup processor
JPH10187454A (en) Bios reloading system
JP2002175193A (en) Device and method for rewriting program
JP2001344156A (en) Device with flash memory and data rewriting method
JPH09265399A (en) Bios write method
JPH03140279A (en) Control program rewritable printer
JP3431880B2 (en) Reset method of board and processor
JPH09330216A (en) Bios rewriting system
JP2001282542A (en) Automatic recovery system of control program
JPH11184683A (en) Electronic equipment
JP2003015879A (en) Method for storing farm
JPH08101794A (en) Rewriting system for firmware program
JP2004348546A (en) Device and method for switching control program
JPH10228373A (en) Control method for rewritable rom