JPH03233723A - Firmware loading system - Google Patents

Firmware loading system

Info

Publication number
JPH03233723A
JPH03233723A JP3101390A JP3101390A JPH03233723A JP H03233723 A JPH03233723 A JP H03233723A JP 3101390 A JP3101390 A JP 3101390A JP 3101390 A JP3101390 A JP 3101390A JP H03233723 A JPH03233723 A JP H03233723A
Authority
JP
Japan
Prior art keywords
firmware
prom
ram
data area
loading
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
JP3101390A
Other languages
Japanese (ja)
Inventor
Morio Takeishi
竹石 守雄
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 JP3101390A priority Critical patent/JPH03233723A/en
Publication of JPH03233723A publication Critical patent/JPH03233723A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To omit firmware loading operations which are carried out at every incorporation of a device by comparing a firmware by firmware load with the firmware stored in its own device and writing additionally the firmware correction information into the data area of a PROM (programmable read-only memory) where the initial state is corrected. CONSTITUTION:An area kept in an initial state as it is secured in a PROM 4 as a corrected data area, and the firmware correction information produced from the comparison carried out between the loaded firmware and the firmware stored in its own device is additionally written into the corrected data area. Then the firmware of a RAM 5 is corrected based on the firmware correction information on the corrected data area of the PROM 4 after the firmware is transferred to the RAM 5 from the PROM 4 in the case of the incorporation of a device such as the application of the power supply of the device. Thus it is not required for even such a service whose built-in firmware is corrected to load the firmware at every incorporation of the device.

Description

【発明の詳細な説明】 〔産業上の利用分野〕 本発明はファームウェアロード方式に関し、特に計算機
システムの情報処理装置(以下、単に装置という)にお
けるファームウェアロード方式に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a firmware loading method, and particularly to a firmware loading method in an information processing device (hereinafter simply referred to as the device) of a computer system.

〔従来の技術〕[Conventional technology]

計算機システムにおいて機能ファームウェアにより動作
する装置の多くは、自装置内のPROM(Progra
mmable  Read−Only  Memory
)等にファームウェアロード用ファームウェアを持ち、
このファームウェアロード用ファームウェアにより本来
の機能ファームウェアを外部から読出し書込み可能なメ
モリ (RAM;Random−Access  Me
mory)上にファームウェアロードして動作するよう
になっている(以下、このような装置をファームウエア
ロード用ファームウェア内蔵装置という)。
Many of the devices that operate using functional firmware in computer systems have PROMs (Programs) in their own devices.
mmable Read-Only Memory
) etc. has firmware for loading firmware,
This firmware loading firmware allows the original functional firmware to be read from and written to memory (RAM; Random-Access Memories).
(hereinafter, such a device will be referred to as a device with built-in firmware for loading firmware).

このファームウェアロード用ファームウェア内蔵装置で
は、機能ファームウェアのファームウェアロードは必要
であるが、ファームウェアロード用ファームウェアのフ
ァームウェアロードは通常は必要ない、しかし、ファー
ムウェアロード用ファームウェア内蔵装置の中には、フ
ァームウェアロード用ファームウェアの修正等に対応す
るために、ファームウェアロード用ファームウェアをP
ROM等からRAM上に移送してRAM上のファームウ
ェアロード用ファームウェアにより機能ファームウェア
のファームウェアロードを行うようになった装置があり
、このような装置ではファームウェアロード用ファーム
ウェアの修正があった場合には修正後のファームウェア
ロード用ファームウェアを外部のデバイスに格納してお
いて修正後のファームウェアロード用ファームウェアに
よりRAM上のファームウェアロード用ファームウェア
を書き換えることで対応するようになっており、この場
合にはファームウェアロード用ファームウェアもファー
ムウェアロードの対象となる。
This device with built-in firmware for firmware loading requires firmware loading of functional firmware, but normally does not require firmware loading of firmware for firmware loading. However, some devices with built-in firmware for firmware loading In order to respond to modifications etc., the firmware for firmware loading is
There are devices that transfer the firmware from ROM etc. to RAM and load the functional firmware using the firmware loading firmware on the RAM.In such devices, if there is a modification of the firmware loading firmware, it is necessary to modify the firmware. This is handled by storing the later firmware loading firmware in an external device and rewriting the firmware loading firmware on RAM with the modified firmware loading firmware. Firmware is also subject to firmware loading.

また、各装置のファームウェア(以下、単にファームウ
ェアという場合には、ファームウェアロード用ファーム
ウェアおよび機能ファームウェアを含むものとする)を
格納しているデバイスを制御する装置(磁気ディスク制
御装置等)は、自装置内にPROM等で自装置のIll
ラフアームウェア持っている必要がある(以下、このよ
うな装置を機能ファームウェア内蔵装置という)、この
機能ファームウェア内祠装置では、通常は機能ファーム
ウェアのファームウェアロードは必要ないが、機能ファ
ームウェア内蔵装置であっても、サポートする機能の追
加等に対応するために、PROM等から機能ファームウ
ェアをRAM上に移送してRAM上の機能ファームウェ
アにより動作するようになっており、m能の追加等によ
り機能ファームウェアに修正があった場合には修正後の
機能ファームウェアを外部のデバイスに格納しておいて
修正後の機能ファームウェアによりRAM上の機能ファ
ームウェアを書き換えることで対応するので、この場合
にばI!能ラフアームウェアファームウェアロードの対
象となる。
In addition, a device (such as a magnetic disk control device) that controls a device that stores firmware for each device (hereinafter simply referred to as firmware includes firmware for loading firmware and functional firmware) must be installed within its own device. Ill of own device with PROM etc.
It is necessary to have rough armware (hereinafter, such a device is referred to as a device with built-in functional firmware). Normally, it is not necessary to load the firmware of the functional firmware in this device with built-in functional firmware, but if it is a device with built-in functional firmware, However, in order to cope with the addition of supported functions, the functional firmware is transferred from PROM etc. to RAM and is operated by the functional firmware on RAM. If there is a modification, the modified functional firmware is stored in an external device and the functional firmware on the RAM is rewritten with the modified functional firmware, so in this case, I! Subject to rough armware firmware loading.

ところで、従来のファームウェアロードの契機としては
、システム立上げ時およびシステム動作中の装WMi込
み時の2通りがある。このうち、システム立上げ時は処
理がシリアルに行われるためファームウェアロードとそ
の他の処理との同時動作はないが、システム動作中の装
置tm込み時にはファームウェアロードとその他の処理
との同時動作を考慮する必要があり、このため組込み対
象装置配下のデバイス等へのバスを一旦論理的に切り離
し、装置組込み時に配下のデバイス等の動作に影響がな
いように制御している。
By the way, there are two conventional triggers for firmware loading: when starting up the system and when installing WMi during system operation. Of these, when the system is started, processing is performed serially, so there is no simultaneous operation of firmware loading and other processing, but when loading the device TM while the system is running, simultaneous operation of firmware loading and other processing is considered. Therefore, the bus to the devices under the device to be installed is once logically disconnected, and the operation of the devices under the device is controlled so as not to be affected when the device is installed.

〔発明が解決しようとする課題〕[Problem to be solved by the invention]

上述した従来のファームウェアロード方式では、システ
ム動作中の装W1組込み時には組込み対象装置配下のデ
バイス等を計算機システムから論理的に切り離す必要が
あるので、各装置のファームウェアを格納しているデバ
イスの上位装置の組込み時を考慮して、装置組込みごと
に必要なファームウェアを主記憶上に一旦読み出した後
に組込み処理を行わなければならず、−度の組込み処理
で複数の装置のファームウェアロードが必要な場合には
大量の主記憶容量が必要となり、また装置組込みの制御
も複雑になるという欠点がある。特に、自装置内に内蔵
する機能ファームウェアの修正があった機能ファームウ
ェア内W1装置および自装置内に内蔵するファームウェ
アロード用ファームウェアの修正があったファームウニ
ロード用ファームウェア内蔵装置(以下、両者をまとめ
て自装置内に内蔵するファームウェアの修正があった装
置という)では、自装置内に内蔵するファームウェアの
修正がない状態ではファームウェアロードが必要ないに
もかかわらず、装置組込みごとにファームウェアロード
が必要となるので、装置組込み時の主記憶使用率をさら
に高くするとともに、装置組込みの制御をさらに複雑化
するという問題点がある。
In the conventional firmware loading method described above, when installing W1 while the system is running, it is necessary to logically separate the devices under the target device from the computer system. In consideration of the installation time, it is necessary to read the necessary firmware into the main memory for each device installation and then perform the installation process. This has the disadvantage that it requires a large amount of main memory capacity and also requires complicated control of the built-in device. In particular, W1 devices with functional firmware in which the functional firmware built into the self-device was modified and devices with built-in firmware for firmware loading in which the firmware for loading the firmware built into the self-device was modified (hereinafter, both are collectively referred to as W1 devices) For devices whose internal firmware has been modified, firmware loading is required each time the device is installed, although firmware loading is not required if the internal firmware has not been modified. Therefore, there are problems in that the usage rate of the main memory is further increased when the device is installed, and the control of the device installation is further complicated.

本発明の目的は、上述の点に鑑み、PROM上ノ初期状
態の修正データエリアにファームウェアロードによるフ
ァームウェアと自装置内のファームウェアとを比較して
作成したファームウェア修正情報を追加書込みして、自
装置内に内蔵するファームウェアの修正があった装置に
ついてはファームウェアロードを一度行うだけで以降は
装置組込みごとのファームウェアロードを不要とするよ
うにしたファームウェアロード方式を提供することにあ
る。
In view of the above-mentioned points, an object of the present invention is to additionally write firmware modification information created by comparing the firmware by firmware loading and the firmware in the own device to the modification data area of the initial state on the PROM, and To provide a firmware loading method in which the firmware is loaded only once for a device whose built-in firmware has been modified, and subsequent firmware loading is not required every time the device is installed.

〔課題を解決するための手段〕[Means to solve the problem]

本発明のファームウェアロード方式は、PROMに格納
されたファームウェアをRAMに移送しRAM上のファ
ームウェアにより動作する情報処理装置において、ファ
ームウェアロードにより送られてきたファームウェアと
RAM上のファームウェアとを比較してファームウェア
修正情報を作成するファームウェア修正情報作成部と、
書換え可能な初期状態のままの修正データエリアを持つ
PROMと、このPROM上の修正データエリアに前記
ファームウェア修正情報作成部により作成されたファー
ムウェア修正情報を書き込むPROM書込み制御部と、
PROM上のファームウェアをRAMに移送し修正デー
タエリアのファームウェア修正情報によりRAM上のフ
ァームウェアを修正するファームウェア移送制御部とを
有する。
The firmware loading method of the present invention transfers firmware stored in PROM to RAM, and in an information processing device that operates with the firmware on RAM, the firmware loaded by firmware is compared with the firmware on RAM. a firmware modification information creation unit that creates modification information;
a PROM having a rewritable modification data area in an initial state; a PROM write control section for writing firmware modification information created by the firmware modification information creation section into the modification data area on the PROM;
The firmware transfer control unit transfers the firmware on the PROM to the RAM and corrects the firmware on the RAM using firmware correction information in the correction data area.

〔作用〕[Effect]

本発明のファームウェアロード方式では、ファームウェ
ア修正情報作成部がファームウェアロードにより送られ
てきたファームウェアとRAM上のファームウェアとを
比較してファームウェア修正情報を作成し、PROMが
書換え可能な初期状態のままの修正データエリアを持ち
、PROM書込み制御部がPROM上の修正データエリ
アにファームウェア修正情報作成部により作成されたフ
ァームウェア修正情報を書き込み、ファームウェア移送
制御部がPROM上のファームウェアをRAMに移送し
修正データエリアのファームウェア修正情報によりRA
M上のファームウェアを修正する。
In the firmware loading method of the present invention, the firmware modification information creation section compares the firmware sent by firmware loading with the firmware on the RAM to create firmware modification information, and the PROM is modified while remaining in a rewritable initial state. The PROM write control unit writes the firmware modification information created by the firmware modification information creation unit to the modification data area on the PROM, and the firmware transfer control unit transports the firmware on the PROM to the RAM and stores the modification data area in the PROM. RA with firmware modification information
Modify the firmware on M.

〔実施例) 次に、本発明について図面を参照して詳細に説明する。〔Example) Next, the present invention will be explained in detail with reference to the drawings.

第1図は、本発明の一実施例に係るファームウェアロー
ド方式の構成を示すブロック図である。
FIG. 1 is a block diagram showing the configuration of a firmware loading method according to an embodiment of the present invention.

本実施例のファームウェアロード方式は、PROM書込
み制御部1と、ファームウェア修正情報作成部2と、フ
ァームウェア移送制御部3と、ファームウェアの格納場
所であるPROM4と、RAM5と、ファームウェアロ
ード制御部6とから構成されている。
The firmware loading method of this embodiment consists of a PROM write control section 1, a firmware modification information creation section 2, a firmware transfer control section 3, a PROM 4 where firmware is stored, a RAM 5, and a firmware load control section 6. It is configured.

PROM4には、PROMの0→1 (または1−O)
の単一方向への書換えが可能な性質を利用して、あらか
しめ修正データエリアとして初期状態のままのエリアが
確保されている。
PROM4 has PROM 0 → 1 (or 1-O)
By taking advantage of the unidirectional rewriting property of , an area that remains in its initial state is secured as a rough correction data area.

次に、このように構成された本実施例のファームウェア
ロード方式の動作について説明する。
Next, the operation of the firmware loading method of this embodiment configured as described above will be explained.

外部からのファームウェアロードを受けると、ファーム
ウェアロードiiqm部6は、送られてきたファームウ
ェアを1ワ一ド単位にRAM5に書き込むとともにファ
ームウェア修正情報作成部2に送る。
Upon receiving a firmware load from the outside, the firmware load iiqm unit 6 writes the sent firmware in units of one word into the RAM 5 and sends it to the firmware modification information creation unit 2.

ファームウェア修正情報作成部2は、ファームウェアロ
ード制御部6によるRAM5へのファームウェアの書込
み直前のタイミングで書込みが行われるアドレスのファ
ームウェアを1ワード読み出し、ファームウェアロード
制御部6から送られてきたファームウェアの1ワードと
比較する。比較したワードの内容が相違する場合には、
修正が必要であると判定し、そのワードのRAM5上の
アドレスと修正後のファームウェアの1ワードとをファ
ームウェア修正情報としてPROM書込み制御部1に送
る。
The firmware modification information creation unit 2 reads one word of the firmware at the address where the firmware is written to the RAM 5 immediately before the firmware load control unit 6 writes the firmware to the RAM 5, and reads the one word of the firmware sent from the firmware load control unit 6. Compare with. If the contents of the compared words are different,
It is determined that modification is necessary, and the address of the word on the RAM 5 and one word of the modified firmware are sent to the PROM write control section 1 as firmware modification information.

ファームウェア修正情報を受けたPROM書込制御部1
は、PROM4上の未使用の修正データエリアにこのフ
ァームウェア修正情報を追加書込みする。なお、この未
使用の修正データエリアは、PROMの初期状態のまま
であり、1アドレスにつき1回のみ書込みが可能である
PROM write control unit 1 that received firmware modification information
additionally writes this firmware modification information into an unused modification data area on the PROM4. Note that this unused modified data area remains in the initial state of the PROM, and can be written only once per address.

この後、装置の電源のオフ/オン等によりRAM5上の
ファームウェアが無効となり、PROM4からRAM5
ヘフアームウエアの移送が必要になると、ファームウェ
ア移送制御部3ば、まずPROMd上のファームウェア
をRAM5上に移送する。
After this, the firmware in RAM5 is disabled by turning the power off/on of the device, etc., and the firmware in RAM5 is transferred from PROM4 to RAM5.
When it becomes necessary to transfer the Hef firmware, the firmware transfer control section 3 first transfers the firmware on the PROMd to the RAM 5.

ファームウェアの移送が終わると、ファームウェア移送
制御部3は、PROMd上の修正データエリア内のファ
ームウェア修正情報に基づいてRAM5上のファームウ
ェアの修正を行う、すなわち、ファームウェア修正情報
中のアドレスが示すRAM5上の位置に修正後のファー
ムウェアの1ワードを書き込む処理を、全てのファーム
ウェア修正情報について行う。
When the firmware transfer is completed, the firmware transfer control unit 3 corrects the firmware on the RAM 5 based on the firmware correction information in the correction data area on the PROMd. The process of writing one word of the corrected firmware to the position is performed for all firmware correction information.

以上により、RAM5上に修正されたファームウェアが
書き込まれたことになり、RAM5上のファームウェア
に基づいて装置の動作が可能になる。
As a result of the above, the corrected firmware has been written into the RAM 5, and the device can now operate based on the firmware on the RAM 5.

このように、ファームウェアロードによりファームウェ
アの更新が一度行われると、以降は装置の!#のオフ/
オン等でRAM5上のファームウェアが無効となっても
ファームウェアロードなしにファームウェアロードされ
たのと同一のファームウェアによる装置の動作が可能と
なる。
In this way, once the firmware has been updated by firmware load, the device will no longer be updated! # off/
Even if the firmware on the RAM 5 becomes invalid due to turning on, etc., the device can be operated by the same firmware that has been loaded without loading the firmware.

〔発明の効果〕〔Effect of the invention〕

以上説明したように本発明は、PROM上に修正データ
エリアとして初期状態のままのエリアを確保し、修正デ
ータエリアにファームウェアロードによるファームウェ
アと自装置内のファームウェアとを比較して作成したフ
ァームウェア修正情報を追加書込みしておき、装置の電
源投入時等の装置組込み時にPROMからRAMへのフ
ァームウェアの移送後にPROMの修正データエリアの
ファームウェア修正情報によってRAM上のファームウ
ェアを修正することにより、自装置内に内蔵するファー
ムウェアの修正があった装置でも装置組込みのたびにフ
ァームウェアロードを行う必要がなくなり、装置組込み
時の主記憶使用率を低減させるとともに装置組込みの制
御も簡略化できる効果がある。
As explained above, the present invention secures an area in the initial state as a modification data area on the PROM, and creates firmware modification information in the modification data area by comparing the firmware loaded with the firmware and the firmware in the own device. By additionally writing the firmware in the RAM and modifying the firmware in the RAM using the firmware modification information in the modification data area of the PROM after transferring the firmware from the PROM to the RAM when installing the device such as when the power is turned on, the firmware can be stored in the own device. Even if the built-in firmware of a device has been modified, it is no longer necessary to load the firmware every time the device is installed, which has the effect of reducing the main memory usage rate when installing the device and simplifying the control of device installation.

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

第1図は本発明の一実施例に係るファームウェアロード
方式の構成を示すブロック図である。 図において、 1・・・PROM書込み制御部、 2・・・ファームウェア修正情報作成部、3・・・ファ
ームウェア移送制御部、 4・・・PROM。 5・・・RAM。 6・・・ファームウェアロード制御部である。
FIG. 1 is a block diagram showing the configuration of a firmware loading method according to an embodiment of the present invention. In the figure, 1... PROM write control section, 2... Firmware modification information creation section, 3... Firmware transfer control section, 4... PROM. 5...RAM. 6... Firmware load control section.

Claims (1)

【特許請求の範囲】 PROMに格納されたファームウェアをRAMに移送し
RAM上のファームウェアにより動作する情報処理装置
において、 ファームウェアロードにより送られてきたファームウェ
アとRAM上のファームウェアとを比較してファームウ
ェア修正情報を作成するファームウェア修正情報作成部
と、 書換え可能な初期状態のままの修正データエリアを持つ
PROMと、 このPROM上の修正データエリアに前記ファームウェ
ア修正情報作成部により作成されたファームウェア修正
情報を書き込むPROM書込み制御部と、 PROM上のファームウェアをRAMに移送し修正デー
タエリアのファームウェア修正情報によりRAM上のフ
ァームウェアを修正するファームウェア移送制御部と を有することを特徴とするファームウェアロード方式。
[Claims] In an information processing device that transfers firmware stored in a PROM to a RAM and operates with the firmware on the RAM, firmware modification information is obtained by comparing the firmware sent by firmware loading with the firmware on the RAM. a PROM having a rewritable modification data area that remains in an initial state; and a PROM that writes the firmware modification information created by the firmware modification information creation section into the modification data area on this PROM. A firmware loading method comprising: a write control section; and a firmware transfer control section that transfers firmware on a PROM to a RAM and corrects the firmware on the RAM using firmware correction information in a correction data area.
JP3101390A 1990-02-09 1990-02-09 Firmware loading system Pending JPH03233723A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3101390A JPH03233723A (en) 1990-02-09 1990-02-09 Firmware loading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3101390A JPH03233723A (en) 1990-02-09 1990-02-09 Firmware loading system

Publications (1)

Publication Number Publication Date
JPH03233723A true JPH03233723A (en) 1991-10-17

Family

ID=12319663

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3101390A Pending JPH03233723A (en) 1990-02-09 1990-02-09 Firmware loading system

Country Status (1)

Country Link
JP (1) JPH03233723A (en)

Similar Documents

Publication Publication Date Title
JPH09282169A (en) Input/output data managing system
JPH03233723A (en) Firmware loading system
IE61306B1 (en) Method and device to execute two instruction sequences in an order determined in advance
JPS63187357A (en) Down loading system
JPH0554009A (en) Program load system
JPH04151732A (en) Firmware load system
JPH10198568A (en) Device and method for flash memory writing
WO2020241473A1 (en) Computation processing device, vehicle control device, and update method
JPH0317760A (en) Data write confirming system
JP2000040057A (en) Computer system, buffer controller and transferring method
JPS63169897A (en) Back-up system
JPH07287694A (en) Multiplex processing system and memory synchronous control method
JPH10171659A (en) Method and device for down-loading
JPH05181680A (en) Method for transferring firmware
JP2000010784A (en) Downloading device for firmware
JPH025167A (en) Maintenance system for firmware
JPH0273420A (en) Semiconductor disk device
JPH02213964A (en) Memory copying method
JPH11250028A (en) Microprogram fast loading method and controller
JPH02125303A (en) Programmable controller
JPH01248207A (en) Numerical controller
JPH06139215A (en) Controller with duplexed eeprom
JPH05189001A (en) Controller
JPS6215635A (en) System controller
JPS62162140A (en) Computer system