JPH081594B2 - Firmware change system - Google Patents
Firmware change systemInfo
- Publication number
- JPH081594B2 JPH081594B2 JP3211004A JP21100491A JPH081594B2 JP H081594 B2 JPH081594 B2 JP H081594B2 JP 3211004 A JP3211004 A JP 3211004A JP 21100491 A JP21100491 A JP 21100491A JP H081594 B2 JPH081594 B2 JP H081594B2
- Authority
- JP
- Japan
- Prior art keywords
- data
- change
- version
- program
- change data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Landscapes
- Stored Programmes (AREA)
Description
【0001】[0001]
【産業上の利用分野】本発明は、データ処理装置におけ
るファームウエア変更システムに関する。データ処理シ
ステムにおける1または複数の装置の機能は、しばし
ば、ファームウエアによって実現される。すなわち、こ
れらの装置は、マイクロプロセッサおよびROMを有
し、これらの装置の固定的な機能を決定するソフトウエ
アは、予め、該ROMに書き込まれている。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a firmware changing system in a data processing device. The functions of one or more devices in a data processing system are often implemented by firmware. That is, these devices have a microprocessor and a ROM, and the software that determines the fixed functions of these devices is written in the ROM in advance.
【0002】[0002]
【従来の技術】ファームウエアは、一種のソフトウエア
であるので、該ファームウエアのアップグレードまたは
バグの修正等のためにファームウエアの変更が要求され
ることがある。大型で汎用のデータ処理装置等において
は、磁気ファームウエアを格納する磁気ディスク装置を
備えるサービスプロセッサが設けられ、システムのパワ
ーオンの際、または、リスタート時には、上記のファー
ムウエアは、サービスプロセッサによって上記の磁気デ
ィスクから読み出され上記のデータ処理システムにおけ
る複数の装置内のRAMに格納される。すなわち、サー
ビスプロセッサが、ファームウエアの変更または修正の
制御を行う。2. Description of the Related Art Since firmware is a kind of software, it may be required to change the firmware in order to upgrade the firmware or fix bugs. In a large-scale, general-purpose data processing device, etc., a service processor provided with a magnetic disk device for storing magnetic firmware is provided, and when the system is powered on or restarted, the above-mentioned firmware is processed by the service processor. The data is read from the magnetic disk and stored in the RAM in the plurality of devices in the data processing system. That is, the service processor controls the firmware change or modification.
【0003】しかしながら、比較的小規模のデータ処理
システム、または、周辺装置のインターフェイスアダプ
タのように比較的小型の装置においては、ファームウエ
アは、予めROMに書き込まれ、ファームウエアの変更
または修正時には、ROM自体を交換することが必要で
あった。However, in a relatively small data processing system or a relatively small device such as an interface adapter of a peripheral device, the firmware is written in the ROM in advance, and when changing or modifying the firmware, It was necessary to replace the ROM itself.
【0004】[0004]
【発明が解決しようとする課題】ところで、ROMを交
換するためには、システムは停止されねばならず、ま
た、特に、多数の装置のファームウエアが変更されねば
ならないときや、装置が広い範囲に分散しているような
場合には、ROMの交換のための作業量が膨大なものと
なる。By the way, in order to replace the ROM, the system must be stopped, and especially when the firmware of a large number of devices has to be changed, and the devices have a wide range. If they are distributed, the amount of work for ROM replacement becomes enormous.
【0005】更に、ファームウエアの変更データ中のバ
グ等のために、一般に、ファームウエア(プログラムデ
ータ)の変更の後に装置が正常に動作するとは限らない
ので、従来のROMのみを使用する構成においては、こ
のような場合には、再びROMの交換が必要となるとい
う問題がある。そこで、本発明は、ファームウエアの変
更が要求されるデータ処理装置が遠方にあっても、或る
いは、ファームウエアの変更が要求される複数のデータ
処理装置が広い範囲に分布していても、ファームウエア
の変更が容易且つ高速に実行され得、更に、変更された
データが正常に動作しないときにも古いバージョンのフ
ァームウエアへの復帰が容易にできるような、ファーム
ウエア変更システムを提供することを目的とする。Further, since the device does not always operate normally after the change of the firmware (program data) due to a bug in the change data of the firmware, the conventional ROM alone is used. In such a case, there is a problem that the ROM needs to be replaced again. Therefore, the present invention can be applied to a case where a data processing device requiring a firmware change is distant, or a plurality of data processing devices requiring a firmware change are distributed over a wide range. Provides a firmware change system that allows easy and high-speed firmware change, and facilitates reversion to an old version of firmware even when changed data does not operate normally. The purpose is to
【0006】[0006]
【課題を解決するための手段】図1は、本発明の基本構
成を示すものである。図1において、1はデータ処理装
置、2は、変更データ供給手段、3はプロセッサ、4は
実行プログラム保持手段、5は固定プログラムデータ格
納手段、6は変更データ格納手段、7は固定プログラム
データロード手段、8は実行プログラム変更手段、9は
変更データ転送手段、10は転送コマンド受信手段、1
1は変更データ保持手段、12は転送コマンド発行手
段、そして、13は変更データ転送パスである。FIG. 1 shows the basic configuration of the present invention. In FIG. 1, 1 is a data processing device, 2 is change data supply means, 3 is a processor, 4 is execution program holding means, 5 is fixed program data storage means, 6 is change data storage means, and 7 is fixed program data load. Means, 8 is execution program changing means, 9 is changed data transferring means, 10 is transfer command receiving means, 1
Reference numeral 1 is a change data holding means, 12 is a transfer command issuing means, and 13 is a change data transfer path.
【0007】これらのうち、本願発明の最も基本的な構
成は、データ処理装置1のファームウエアを変更するフ
ァームウエア変更システムであって、プロセッサ3と、
実行プログラム保持手段4と、固定プログラムデータ格
納手段5と、変更データ格納手段6と、固定プログラム
データロード手段7と、実行プログラム変更手段8とか
らなるものである。Of these, the most basic configuration of the present invention is a firmware changing system for changing the firmware of the data processing device 1, which includes a processor 3,
It comprises an execution program holding means 4, a fixed program data storage means 5, a changed data storage means 6, a fixed program data loading means 7, and an execution program changing means 8.
【0008】ここで、プロセッサ3は、プログラムを実
行する。実行プログラム保持手段4は、前記プロセッサ
3によって実行される前記プログラムのデータを保持す
る。固定プログラムデータ格納手段5は、固定のプログ
ラムデータを格納する。変更データ格納手段6は、前記
固定データを変更するための変更データを格納し、デー
タデータ処理装置1の外部から、前記変更データを書き
込み可能である。Here, the processor 3 executes the program. The execution program holding means 4 holds the data of the program executed by the processor 3. The fixed program data storage means 5 stores fixed program data. The change data storage unit 6 stores change data for changing the fixed data, and the change data can be written from outside the data data processing device 1.
【0009】固定プログラムデータロード手段7は、前
記固定プログラムデータ格納手段5から前記固定プログ
ラムデータを読み出して、前記固定プログラムデータを
前記実行プログラム保持手段4にロードする。実行プロ
グラム変更手段8は、前記実行プログラム保持手段4内
に保持された前記プログラムデータを、前記変更データ
格納手段6に保持された変更データによって変更する。The fixed program data loading means 7 reads the fixed program data from the fixed program data storage means 5 and loads the fixed program data into the execution program holding means 4. The execution program changing means 8 changes the program data held in the execution program holding means 4 with the change data held in the change data storage means 6.
【0010】上記の最も基本的な構成に加えて、更に、
下記のような付加的構成を有することができる。 前記固定プログラムデータは、前記固定プログラムデ
ータロード手段7と、前記実行プログラム変更手段8と
に、それぞれ対応する複数の部分プログラムを含み、前
記固定プログラムデータロード手段7および前記実行プ
ログラムデータロード手段8は、それぞれ、前記複数の
プログラム部分の前記プロセッサ3による実行によって
実現されるようにすることができる。In addition to the above most basic structure,
It can have the following additional configurations. The fixed program data includes a plurality of partial programs respectively corresponding to the fixed program data loading unit 7 and the execution program changing unit 8, and the fixed program data loading unit 7 and the execution program data loading unit 8 are , Respectively, can be realized by the execution of the plurality of program parts by the processor 3.
【0011】前記データ処理装置1の外部に設けら
れ、前記変更データ格納手段6に格納されるべき変更デ
ータを供給する変更データ供給手段2を有するようにす
ることができる。 前記変更データ供給手段2は、前記変更データ格納手
段6に格納されるべき変更データを保持する変更データ
保持手段11と、前記データ処理装置1に転送コマンド
を発行する転送コマンド発行手段12とを有し、前記フ
ァームウエア変更システムは、前記変更データ保持手段
11から前記変更データ格納手段5に到る変更データ転
送パス13を有し、前記データ処理装置1は、前記転送
コマンドを受信するための転送コマンド受信手段10を
有し、前記ファームウエア変更システムは、更に、前記
転送コマンド受信手段10が前記転送コマンドを受信し
たときに、前記変更データを前記変更データ保持手段1
1から読み出して、該変更データを、前記変更データ保
持手段11から前記変更データ転送パス13を介して前
記変更データ格納手段6に転送し、該変更データを該変
更データ格納手段6に書き込む変更データ転送手段9を
有するようにすることができる。It is possible to have a change data supply means 2 which is provided outside the data processing device 1 and supplies change data to be stored in the change data storage means 6. The change data supply means 2 has a change data holding means 11 for holding change data to be stored in the change data storage means 6 and a transfer command issuing means 12 for issuing a transfer command to the data processing device 1. However, the firmware changing system has a change data transfer path 13 from the change data holding means 11 to the change data storage means 5, and the data processing device 1 transfers data for receiving the transfer command. The firmware changing system further includes a command receiving unit 10, and when the transfer command receiving unit 10 receives the transfer command, the firmware changing system stores the change data in the change data holding unit 1.
Change data that is read from the first data transfer unit 1, transferred from the change data holding unit 11 to the change data storage unit 6 via the change data transfer path 13, and writes the change data to the change data storage unit 6. A transfer means 9 may be included.
【0012】前記変更データは、複数のバージョンの
変更データを含み、前記ファームウエア変更システム
は、前記実行プログラム変更手段8に対して、前記実行
プログラム保持手段4に保持されるプログラムデータ
を、特定のバージョンまでの変更データによって変更す
るように命令する変更バージョンコマンド手段を有し、
前記実行プログラム変更手段8は、前記バージョンにつ
いての命令を受信すると、前記実行プログラム保持手段
4に保持されるプログラムデータを、前記特定のバージ
ョンまでの変更データによって、古いバージョンから新
しいバージョンへの順に変更するようにすることができ
る。The change data includes a plurality of versions of change data, and the firmware changing system specifies the program data held in the execution program holding means 4 with respect to the execution program changing means 8. Has a change version command means for instructing to change according to the change data up to the version,
When the execution program changing means 8 receives the instruction about the version, the execution program changing means 8 changes the program data held in the execution program holding means 4 in order from the old version to the new version by the change data up to the specific version. You can
【0013】前記複数のバージョンの変更データは、
前記変更データ格納手段6に、前記複数のバージョンに
それぞれ対応して、古いバージョンから新しいバージョ
ンの順に並ぶ複数のブロックに分けて格納され、前記変
更バージョンコマンド手段は、前記特定のバージョンま
での変更データを含むブロックの数によって、前記バー
ジョンを命令するようにすることができる。The change data of the plurality of versions is
The change data storage means 6 is divided into a plurality of blocks corresponding to the plurality of versions and arranged in order from the old version to the new version, and the change version command means stores the change data up to the specific version. The version can be ordered according to the number of blocks including.
【0014】前記各バージョンに対応する各ブロック
は、変更されるべきデータ各々のアドレスと、該バージ
ョンの該アドレスの新しいデータと、該バージョンより
もバージョンレベル1つ分だけ古いバージョンの該アド
レスのデータとを含み、前記実行プログラム変更手段8
は、前記実行プログラム保持手段4内のデータを古いバ
ージョンから新しいバージョンの順に変更し、前記実行
プログラム変更手段8は、前記実行プログラム保持手段
4におけるデータの変更の前に、前記各アドレスの古い
バージョンのデータと、前記実行プログラム保持手段4
における同じアドレスのデータとを比較する比較手段
と、前記比較手段によって、前記各アドレスの古いバー
ジョンのデータと、前記実行プログラム保持手段4にお
ける同じアドレスのデータとが等しくないと決定された
ときには、前記変更処理を停止する異常停止手段とを有
するようにすることができる。Each block corresponding to each version includes an address of each data to be changed, new data of the address of the version, and data of the address of the version that is one version level older than the version. And the execution program changing means 8 including
Changes the data in the execution program holding means 4 in order from the old version to the new version, and the execution program changing means 8 changes the old version of each address before changing the data in the execution program holding means 4. Data and the execution program holding means 4
In the case where it is determined by the comparing means that compares the data of the same address in the above-mentioned step and the data of the old version of each address and the data of the same address in the execution program holding means 4 are not equal, It is possible to have an abnormal stop means for stopping the changing process.
【0015】前記変更データに対応する各ブロック
は、対応するバージョンを示す情報を含み、前記実行プ
ログラム保持手段4は、自らが保持するプログラムデー
タが受けた変更のバージョンを示す領域を有し、前記実
行プログラム変更手段8は、前記各ブロックの変更デー
タによる前記実行プログラム保持手段4のプログラムデ
ータの変更毎に、前記対応するバージョンを示す情報に
基づいて、前記受けた変更のバージョンを示す領域の内
容を更新するようにすることができる。Each block corresponding to the change data includes information indicating the corresponding version, and the execution program holding means 4 has an area showing the version of the change received by the program data held by itself, The execution program changing means 8 includes the contents of the area indicating the version of the received change based on the information indicating the corresponding version every time the program data of the execution program holding means 4 is changed by the change data of each block. Can be updated.
【0016】前記実行プログラム変更手段8は、前記
各バージョンに対応する各ブロックによる、実行プログ
ラム保持手段4のプログラムデータの変更の前に、前記
受けた変更のバージョンを示す領域の内容が、該ブロッ
クのバージョンの変更データによって変更されるべきバ
ージョンを示すか否かを確認するバージョン確認手段を
有するようにすることができる。Before the program data of the execution program holding means 4 is changed by each block corresponding to each version, the execution program changing means 8 stores the contents of the area indicating the version of the received change in the block. It is possible to have a version confirmation means for confirming whether or not the version change data indicates the version to be changed.
【0017】[0017]
【作用】前記本発明の最も基本的な構成によれば、固定
的プログラムデータ、すなわち、バージョン0のプログ
ラムデータがプログラムデータ格納手段5に、常に、格
納されている。そして、その固定データを変更するため
の変更データは、変更データ格納手段6に格納されてい
る。ここで、変更データ格納手段6は、外部から、その
内容を書き込むことができるように構成されている。According to the most basic structure of the present invention, fixed program data, that is, program data of version 0, is always stored in the program data storage means 5. The change data for changing the fixed data is stored in the change data storage means 6. Here, the change data storage unit 6 is configured so that the contents can be written from the outside.
【0018】したがって、ファームウエアのロード時に
は、先ず、固定プログラムデータロード手段7によっ
て、固定プログラムデータ格納手段5内に格納された変
更データを実行プログラム保持手段4にロードした後、
この実行プログラム保持手段4にロードされたプログラ
ムデータは、実行プログラム変更手段8によって、変更
データ格納手段6に格納された変更データによって変更
される。そして、この変更データは、外部から書き換え
可能である。Therefore, when loading the firmware, first, the fixed program data loading means 7 loads the change data stored in the fixed program data storage means 5 into the execution program holding means 4,
The program data loaded in the execution program holding means 4 is changed by the execution program changing means 8 by the change data stored in the change data storage means 6. Then, this change data can be rewritten from the outside.
【0019】したがって、如何なる場合にも、最低限、
バージョン0の固定プログラムデータが、固定プログラ
ムデータ格納手段5に格納されているので、変更後の装
置の動作に異常があった場合には、再び、固定プログラ
ムデータロード手段7によって、実行プログラム保持手
段4の内容を変更なしのファームウエアに戻すこともで
きる。Therefore, in any case, at a minimum,
Since the fixed program data of version 0 is stored in the fixed program data storage means 5, if there is an abnormality in the operation of the apparatus after the change, the fixed program data loading means 7 causes the fixed program data loading means 7 to execute the executed program holding means again. The contents of 4 can be returned to the firmware without any change.
【0020】更に、変更データ格納手段6の変更データ
は、外部から書き換え可能であるので、変更後の装置の
動作に異常があった場合には、変更データ格納手段6の
内容を外部から適当なバージョンの変更データに書き換
えて、その後、上記の固定プログラムデータロード手段
7によって、実行プログラム保持手段4の内容を一旦、
固定プログラムデータに書き直した後、再び、実行プロ
グラム変更手段8によって実行プログラム保持手段4の
内容を、変更データ格納手段6の内容で書き換えること
により、実行プログラム保持手段4の内容を任意のバー
ジョンにすることができる。Further, since the change data in the change data storage means 6 can be rewritten from the outside, the contents of the change data storage means 6 can be appropriately changed from the outside when the operation of the apparatus after the change is abnormal. After rewriting to the version change data, the contents of the execution program holding means 4 are temporarily changed by the fixed program data loading means 7 described above.
After rewriting the fixed program data, the contents of the execution program holding unit 4 are rewritten by the contents of the changed data storage unit 6 by the execution program changing unit 8 to make the contents of the execution program holding unit 4 any version. be able to.
【0021】更に、前記〔課題を解決するための手段〕
のの付加的構成によれば、上記の変更データが、変更
すべきアドレスの新しいデータと共に、古いデータをも
含むようにしておき、上記の実行プログラム変更手段7
が、実行プログラム保持手段4の各アドレスの内容を書
き換える前に、前記比較手段によって、実行プログラム
保持手段4の各アドレスに書き込まれていた内容と、上
記の変更データ内に含まれる古いデータと比較すること
により、誤って異なるアドレスのデータを変更したり、
変更前のデータについて誤って認識していたり、変更前
のデータにおける誤りがあったりした場合に、異常の存
在を検出することができる。Further, the above [means for solving the problem]
According to the additional configuration of (1), the change data includes old data as well as new data of the address to be changed, and the execution program changing means 7 is added.
However, before rewriting the contents of each address of the execution program holding means 4, the contents written in each address of the execution program holding means 4 by the comparison means are compared with the old data included in the above-mentioned change data. By doing this, you can accidentally change the data at a different address,
When the data before the change is erroneously recognized or there is an error in the data before the change, the presence of the abnormality can be detected.
【0022】なお、前記から、および、および
の付加的構成による作用については、前記〔課題を解決
するための手段〕の記載から理解されるであろう。The functions of the above and / or the additional configurations will be understood from the above description of [Means for Solving the Problems].
【0023】[0023]
【実施例】〔本発明が適用されるデータ処理システムの
例(図2)〕図2は、本発明が適用されるデータ処理シ
ステムの1例として、分散型のデータ処理システムの構
成を示すものである。図2の構成は、広い範囲にわたっ
て分散する複数の支店を有する、例えば、銀行、クレジ
ット会社、保険会社、スーパーマッケットのチェイン等
において使用され得る分散型データ処理システムを示す
ものである。図2の構成における通信制御処理装置CC
P21または29内のファームウエアの変更に対して、
本発明が適用される。Embodiments [of a data processing system to which the present invention is applied
Example (FIG. 2) ] FIG. 2 shows a configuration of a distributed data processing system as an example of a data processing system to which the present invention is applied. The configuration of FIG. 2 illustrates a distributed data processing system having multiple branch offices spread over a wide area, which may be used, for example, in banks, credit companies, insurance companies, chains of supermarkets, and the like. Communication control processing device CC in the configuration of FIG.
For the change of firmware in P21 or 29,
The present invention is applied.
【0024】図2において、17および27はホストコ
ンピュータ、18および28はデータベース、19およ
び29は通信制御処理装置、20および30は補助記憶
装置、21,22,および23はネットワークプロセッ
サ、24はメンテナンスセンタ、25は端末装置、26
は交換機システム、そして、27,28,および,29
は伝送路である。In FIG. 2, 17 and 27 are host computers, 18 and 28 are databases, 19 and 29 are communication control processing devices, 20 and 30 are auxiliary storage devices, 21, 22, and 23 are network processors, and 24 is maintenance. Center, 25 is terminal device, 26
Is the switch system and 27, 28, and 29
Is a transmission path.
【0025】ネットワークプロセッサ21〜23、およ
び、伝送路27〜29は、バックボーンネットワークを
構成し、ネットワークプロセッサ21〜23は、該ネッ
トワークの各ノードに設けられる。但し、実際のバック
ボーンネットワークには、図示される以外の多数のノー
ドが存在するが、図2では省略している。これらのノー
ドは、上記の支店等の所在地に設けられる。The network processors 21 to 23 and the transmission lines 27 to 29 form a backbone network, and the network processors 21 to 23 are provided in each node of the network. However, although there are many nodes other than those shown in the actual backbone network, they are omitted in FIG. These nodes are provided at the locations of the above-mentioned branches and the like.
【0026】ホストコンピュータ17、データベース1
8、通信制御処理装置19、および、補助記憶装置20
は、1つの情報センタを構成して、例えば、ある地域の
顧客についての情報を管理する。同様に、ホストコンピ
ュータ27、データベース28、通信制御処理装置2
9、および、補助記憶装置30は、別の情報センタを構
成して、例えば、別の地域の顧客についての情報を管理
する。通信制御処理装置19または29は、上記のバッ
クボーンネットワークと上位のホストコンピュータとの
間に設けられ、上位のホストコンピュータのバックボー
ンネットワークを介する通信の制御を行う。よく知られ
ているように、通信制御処理装置の機能は、例えば、デ
ータフォーマットの変換、データリンクの確立および解
放、伝送路の監視、エラー検出、データバッファリン
グ、ホストコンピュータと該通信制御処理装置との間の
データ転送等を含むものである。Host computer 17, database 1
8, communication control processing device 19, and auxiliary storage device 20
Configures one information center to manage, for example, information about customers in a certain area. Similarly, the host computer 27, the database 28, the communication control processing device 2
9 and the auxiliary storage device 30 constitute another information center and manage, for example, information about customers in other regions. The communication control processing device 19 or 29 is provided between the backbone network and the host computer of the upper level, and controls communication via the backbone network of the host computer of the upper level. As is well known, the functions of the communication control processing device are, for example, data format conversion, data link establishment and release, transmission line monitoring, error detection, data buffering, host computer and the communication control processing device. It includes data transfer between and.
【0027】図2の構成においては、メンテナンスセン
タ24は、上記のネットワークプロセッサの1つに接続
され、交換機26もまた同じネットワークプロセッサの
1つに接続されているが、これらは、別々のプロセッサ
に接続されてもよい。端末装置25は、例えば、各支店
毎に設けられ、交換機26を介して上記のバックボーン
ネットワークの伝送路に接続される。このような構成に
よって、例えば、1つの端末装置の前のオペレータは、
その端末装置、交換機26、および、上記のバックボー
ンネットワークを介して、上記の情報センタにアクセス
して、情報を得ることができる。In the configuration of FIG. 2, the maintenance center 24 is connected to one of the above network processors and the switch 26 is also connected to one of the same network processors, but these are on separate processors. May be connected. The terminal device 25 is provided in each branch, for example, and is connected to the transmission line of the backbone network via the exchange 26. With such a configuration, for example, an operator in front of one terminal device
The information center can be accessed and information can be obtained through the terminal device, the exchange 26, and the backbone network.
【0028】〔通信制御処理装置の構成例(図3)〕図
3は、本発明の実施例における通信制御処理装置の構成
例を示すものである。図3において、311 および31
2 は共通メモリ、331 ,332 ,381 ,および,3
82 はバスハンドラ、341 および342 は、例えば、
補助記憶装置等のI/Oデバイス、35は回線切り替え
回路、361 ,362 ,363 ,および,364 はアダ
プタ、37は伝送路、401,402 ,および,403
はプロセッサ、411 および412 はシステムバス、そ
して、421 および422 はI/Oバスである。[ Configuration Example of Communication Control Processing Device (FIG. 3) ] FIG. 3 shows a configuration example of the communication control processing device in the embodiment of the present invention. In FIG. 3, 31 1 and 31
2 is a common memory, 33 1 , 33 2 , 38 1 , and 3
8 2 is a bus handler, and 34 1 and 34 2 are, for example,
I / O devices such as auxiliary storage devices, 35 is a line switching circuit, 36 1 , 36 2 , 36 3 and 36 4 are adapters, 37 is a transmission line, 40 1 , 40 2 , and 40 3
Are processors, 41 1 and 41 2 are system buses, and 42 1 and 42 2 are I / O buses.
【0029】図3の通信制御処理装置は、ルーズリィ・
カップルド・マルチプロセッサ構成を有し、通信制御処
理装置の上記の機能は、複数のプロセッサ401 ,40
2 ,および,403 によって分担される。共通メモリ3
11 および312 は、上記の複数のプロセッサ401 ,
402 ,および,403 によって共用される。共通メモ
リ311 および312 、システムバス411 および41
2 、I/Oバス421 および422 、バスハンドラ33
1 および332 、バスハンドラ381 および382 、ア
ダプタ361 および362 、アダプタ363 および36
4 等が対の構成となっているのは、装置を二重化された
冗長構成とするためであって、これらの対の何れか一方
のみが、上記のプロセッサの何れかの制御のに下に活性
化されて使用される。例えば、回線切り替え回路35
は、プロセッサの何れかの制御のに下に、アダプタ36
3 および364 のうち活性化された方に回線37を接続
する。回線37は、例えば、図2のネットワークプロセ
ッサ21に接続される。この場合、アダプタ363 およ
び364 は、それぞれ、プロセッサ401 ,402 ,お
よび,403 と回線37との間の回線インターフェイス
装置として機能する。アダプタ361 および362 は、
それぞれ、プロセッサ401 ,402 ,および,403
とI/Oデバイス341 および342 との間のインター
フェイス回路として機能する。この実施例では、アダプ
タ361 ,362 ,363 ,および,364 が、前記図
1のデータ処理装置1に対応し、プロセッサ401 ,4
02 ,および,403 が、図1の変更データ供給手段2
を実現する。The communication control processing device of FIG.
The communication control processing device has a coupled multiprocessor configuration and the above-described function of the communication control processing device is provided by a plurality of processors 40 1 ,
2 and 40 3 . Common memory 3
1 1 and 31 2 are the plurality of processors 40 1 ,
Shared by 40 2 and 40 3 . Common memories 31 1 and 31 2 , system buses 41 1 and 41
2 , I / O buses 42 1 and 42 2 , bus handler 33
1 and 33 2 , bus handlers 38 1 and 38 2 , adapters 36 1 and 36 2 , adapters 36 3 and 36
The reason why the 4 etc. are in a pair configuration is to make the device into a redundant redundant configuration, and only one of these pairs is activated under the control of any of the above processors. It is used after being converted. For example, the line switching circuit 35
The adapter 36 under control of any of the processors.
Connecting line 37 towards the activated among 3 and 36 4. The line 37 is connected to the network processor 21 of FIG. 2, for example. In this case, the adapters 36 3 and 36 4 function as line interface devices between the processors 40 1 , 40 2 , and 40 3 and the line 37, respectively. Adapters 36 1 and 36 2
Processors 40 1 , 40 2 , and 40 3, respectively
And an I / O device 34 1 and 34 2 as an interface circuit. In this embodiment, the adapters 36 1 , 36 2 , 36 3 , and 36 4 correspond to the data processing device 1 of FIG. 1, and the processors 40 1 , 4
0 2 and 40 3 are the change data supply means 2 of FIG.
To realize.
【0030】〔アダプタの構成例(図4)〕図4は、図
3の通信制御処理装置内のアダプタの構成例を示すもの
である。図4において、42i (i=1または2)は、
上記のI/Oバス421 および42 2 の何れかを示す。
また、36j (j=1〜4)は、上記のアダプタ3
61 ,362 ,363 ,および,364 の何れかを示
す。更に、図4において、50はバスコントローラ、5
1はMPU、52はRAM、53はROM、54はEE
PROM、55はデバイスコントローラ、または、ライ
ンインターフェイス、そして、56はローカルバスであ
る。[Configuration example of adapter (Fig. 4)] Figure 4
Showing a configuration example of an adapter in the communication control processor of No. 3
Is. In FIG. 4, 42i(I = 1 or 2) is
I / O bus 42 above1And 42 2 Indicates any of the above.
In addition, 36j(J = 1 to 4) is the above adapter 3
61, 362 , 363, And 36FourIndicates either
You. Further, in FIG. 4, 50 is a bus controller, 5
1 is MPU, 52 is RAM, 53 is ROM, 54 is EE
The PROM 55 is a device controller or a line
Interface and 56 is a local bus
It
【0031】MPU51は、アダプタ36j の全体の動
作を制御し、図1の構成におけるプロセッサ3に対応す
る。RAM52は、MPU51の主記憶領域(作業領
域)として使用され、MPU51によって実行されるプ
ログラムは、RAM52に展開される。RAM52は、
図1の実行プログラム保持手段4に対応する。ROM5
3は、バージョン0のデータとして、固定プログラムデ
ータを格納し、図1の固定プログラムデータ格納手段5
に対応する。プロセッサ401 ,402 ,および,40
3 の何れかが、後述するように、MPU51の補助の下
に、EEPROM54に変更データを書き込ませること
ができる。この変更データは、RAM52に展開される
プログラムデータを変更するために使用されるものであ
る。The MPU 51 controls the overall operation of the adapter 36 j and corresponds to the processor 3 in the configuration of FIG. The RAM 52 is used as a main storage area (work area) of the MPU 51, and a program executed by the MPU 51 is expanded in the RAM 52. RAM52 is
It corresponds to the execution program holding means 4 in FIG. ROM5
3 stores fixed program data as version 0 data, and the fixed program data storage means 5 of FIG.
Corresponding to. Processors 40 1 , 40 2 , and 40
Any one of the three can write change data to the EEPROM 54 with the assistance of the MPU 51, as described later. This change data is used to change the program data loaded in the RAM 52.
【0032】バージョン0のプログラムデータは、イニ
シャル・プログラム・ローディングのための部分プログ
ラムを含む。この部分プログラムは、ROM53からバ
ージョン0のプログラムデータヲ読み出して、RAM5
2に転送し、ロードする第1のルーチンと、RAM52
にロードされたプログラムデータを、EEPROM54
に格納された変更データによって変更するための第2の
ルーチンとを含む。The program data of version 0 includes a partial program for initial program loading. This partial program reads version 0 program data from the ROM 53 and stores it in the RAM 5
RAM52 and the first routine to transfer and load
The program data loaded in the
And a second routine for making changes according to the change data stored in.
【0033】アダプタ36j がパワーオンされるとき、
または、アダプタが後述するように、イニシャル・プロ
グラム・ローディングのコマンドを受信するとき、MP
U51の制御は、ROM53の上記の第1のルーチンの
先頭アドレスに移り、該第1のルーチンが実行される。
また、EEPROM54に変更データが格納され、且
つ、プロセッサ401 ,402 ,および,403 の何れ
かによってプログラムデータの変更処理が命令されると
きには、アダプタ36j においては、MPU51によっ
て上記の第2のルーチンが実行される。When the adapter 36 j is powered on,
Alternatively, when the adapter receives a command for initial program loading, as described below, the MP
The control of U51 shifts to the start address of the first routine of the ROM 53, and the first routine is executed.
Further, when the change data is stored in the EEPROM 54 and the change processing of the program data is instructed by any of the processors 40 1 , 40 2 , and 40 3 , in the adapter 36 j , the second MPU 51 described above is used. Is executed.
【0034】デバイスコントローラまたはラインインタ
ーフェイス55は、それぞれ、ローカルバス56とI/
Oデバイス341 または342との間のインターフェイ
ス、あるいは、ローカルバス56と回線37との間のイ
ンターフェイスとして機能する。バスコントローラ50
は、I/Oバス42i とアダプタ36j との間のインタ
ーフェイス回路として機能する。バスコントローラ50
の機能は:プロセッサ401 ,402 ,および,403
の何れかからのコマンドの受信;受信したコマンドのM
PU51への転送;プロセッサ401 ,402,およ
び,403 の何れかとI/Oデバイス341 または34
2 または回線37との間で転送されるデータのバッファ
リング;プロセッサ401 ,402 ,および,403 の
何れかとEEPROM54との間で転送される変更デー
タのバッファリング;プロセッサ401 ,402 ,およ
び,403 の何れかが具備するメモリ(図示せず)への
アクセス権の獲得;プロセッサ401 ,402 ,およ
び,403 の何れかが具備するメモリからバスコントロ
ーラ50への変更データの転送;そして、バスコントロ
ーラ50からEEPROM54への変更データの転送を
含む。上記の変更データの転送は、DMA転送により行
われる。すなわち、バスコントローラ50は、DMAコ
ントローラとしての機能を有している。上記のプロセッ
サ401 ,402,および,403 の何れかが具備する
メモリへのアクセスは、プロセッサ401 ,402 ,お
よび,403 の何れかが具備するメモリからバスコント
ローラ50への変更データの転送の際に行われるもので
ある。The device controller or line interface 55 has a local bus 56 and an I / O, respectively.
It functions as an interface between the O-device 34 1 or 34 2 or an interface between the local bus 56 and the line 37. Bus controller 50
Functions as an interface circuit between the I / O bus 42 i and the adapter 36 j . Bus controller 50
The functions of: are processors 40 1 , 40 2 , and 40 3.
Command from any of the following; M of the received command
Transfer to the PU 51; any of the processors 40 1 , 40 2 , and 40 3 and the I / O device 34 1 or 34
2 or buffering of data transferred to / from the line 37; buffering of modified data transferred between any of the processors 40 1 , 40 2 and 40 3 and the EEPROM 54; processors 40 1 and 40 2 , And 40 3 obtains an access right to a memory (not shown) included in any of them; change data from the memory included in any of the processors 40 1 , 40 2 , and 40 3 to the bus controller 50 Transfer of the modified data from the bus controller 50 to the EEPROM 54. The transfer of the modified data is performed by DMA transfer. That is, the bus controller 50 has a function as a DMA controller. Processor 40 1, 40 2 described above, and, the access to the memory comprising any of the 40 3, change of the processor 40 1, 40 2, and, from the memory comprising any of 40 3 to the bus controller 50 This is performed when data is transferred.
【0035】〔アダプタへの変更データの転送処理(図
5)〕図2の分散型データ処理装置において、図4のR
AM52内のプログラムデータを変更するためのプログ
ラムデータは、メンテナンスセンタ24からバックボー
ンネットワークを介して通信制御処理装置CCP内のプ
ロセッサ401 ,40 2 ,および,403 の何れかに転
送される。転送された変更データは、一旦、このプロセ
ッサ内のRAMに保持される。変更データを受信する
と、上記のプロセッサは、この変更データをアダプタ3
6i に転送するために、図5に示されているような処理
を実行する。図5は、アダプタ36i へ変更データを転
送するための、プロセッサ401 ,402 ,および,4
03 の何れかによる処理を示すフローチャートである。
プロセッサ401 ,402 ,および,403 は、変更デ
ータをアダプタに転送するように要求されたとき、或い
は、この要求の後、プロセッサへかかるデータ処理の負
荷が減少したときに、図5の処理を行うことができる。[0035]Transfer processing of change data to adapter (Figure
5)In the distributed data processing device of FIG. 2, R of FIG.
Program for changing program data in AM52
Ram data from the maintenance center 24
Via the network of the communication control processor CCP.
Rossa 401, 40 2 , And 403To one of
Sent. The transferred change data is temporarily stored in this process.
It is stored in the RAM in the storage system. Receive change data
Then, the above processor sends this changed data to the adapter 3
6iProcessing as shown in FIG. 5 for forwarding to
To execute. FIG. 5 shows the adapter 36iChange data to
Processor 40 for sending1, 402 , And 4
03It is a flowchart which shows the process by either.
Processor 401, 402 , And 403Change the
Data transfer to the adapter, or
Is the data processing load on the processor after this request.
When the load is reduced, the process of FIG. 5 can be performed.
【0036】図5のステップ101においては、プロセ
ッサはアダプタに対してアダプタ状態遷移命令を発行す
る。そして、ステップ102においては、アダプタ状態
遷移命令が正常に終了したか否かを判定する。ステップ
102において、命令の実行が正常に終了しなかったと
判断されたときには、ステップ109に移行して、異常
終了処理を行う。ステップ102において、命令の実行
が正常に終了したと判断されたときには、ステップ10
3の処理を行う。ステップ102の処理が正常に終了し
たと判断されたときには、ステップ109に移行する。
ステップ102の処理が正常に終了したと判断されたと
きには、ステップ103に移行する。アダプタ状態遷移
命令は、先ず、アダプタ内のバスコントローラ50に受
信され、それから、バスコントローラ50は、このアダ
プタ状態遷移命令に対応する割り込み信号をMPU51
に送出する。この割り込み信号に応答して、MPU51
は、アダプタが変更データを受信できるような状態に遷
移させる処理を行い、この処理が終了すると、通信制御
処理装置のプロセッサにレディ信号を返す。このレディ
信号は、アダプタが変更データを受信可能な状態に遷移
したことを示すものである。ステップ103において、
プロセッサが、このレディ信号を受信すると、ステップ
104の処理に移行して、アダプタに対して転送命令を
発行する。この転送処理の詳細については、後述する。In step 101 of FIG. 5, the processor issues an adapter state transition instruction to the adapter. Then, in step 102, it is determined whether or not the adapter state transition instruction is normally completed. When it is determined in step 102 that the execution of the instruction did not end normally, the process proceeds to step 109 and abnormal end processing is performed. When it is determined in step 102 that the instruction has been normally executed, step 10
Process 3 is performed. When it is determined that the process of step 102 is normally completed, the process proceeds to step 109.
When it is determined that the process of step 102 is normally completed, the process proceeds to step 103. The adapter state transition instruction is first received by the bus controller 50 in the adapter, and then the bus controller 50 sends an interrupt signal corresponding to the adapter state transition instruction to the MPU 51.
Send to. In response to this interrupt signal, the MPU 51
Performs a process of transitioning to a state in which the adapter can receive change data, and when this process ends, returns a ready signal to the processor of the communication control processing device. This ready signal indicates that the adapter has transitioned to a state in which it can receive change data. In step 103,
When the processor receives this ready signal, the process proceeds to step 104 and issues a transfer instruction to the adapter. Details of this transfer processing will be described later.
【0037】ステップ105においては、変更データの
転送が正常に終了したか否かを判定する。転送が正常に
終了しなかったときには、ステップ109の処理に移行
し、異常終了処理を行う。転送が正常に終了したときに
は、ステップ106に移行してアダプタに対してアダプ
タ処理リスタート命令を発行する。このアダプタ処理リ
スタート信号は、先ず、アダプタ内のバスコントローラ
50にて受信され、バスコントローラ50は、このアダ
プタ処理リスタート信号に対応する割り込み信号をMP
U51に送出する。この割り込み信号に応じてMPU5
1は、アダプタを通常処理状態に移行させ、通信制御処
理装置のプロセッサに対して完了信号を返す。この完了
信号は、アダプタが通常処理状態に遷移したことを示す
ものである。ステップ107においては、アダプタ処理
リスタート命令の実行が正常に行われたか否かを判定す
る。上記の完了信号が受信されないときには、プロセッ
サは、ステップ109の処理に移行して、異常終了処理
を行う。完了信号が受信されたときには、プロセッサ
は、図5の処理を終了する。In step 105, it is determined whether the transfer of the changed data has been completed normally. If the transfer is not completed normally, the process proceeds to step 109 and abnormal end processing is performed. When the transfer is normally completed, the process proceeds to step 106 and an adapter processing restart command is issued to the adapter. This adapter processing restart signal is first received by the bus controller 50 in the adapter, and the bus controller 50 MPs an interrupt signal corresponding to this adapter processing restart signal.
Send to U51. In response to this interrupt signal, MPU5
1 shifts the adapter to the normal processing state and returns a completion signal to the processor of the communication control processing device. This completion signal indicates that the adapter has transitioned to the normal processing state. In step 107, it is determined whether the adapter processing restart instruction has been executed normally. When the above completion signal is not received, the processor proceeds to the processing of step 109 and performs abnormal termination processing. When the completion signal is received, the processor ends the process of FIG.
【0038】〔EEPROMに格納された変更データの
フォーマット(図6)〕図6は、図4の構成におけるE
EPROMに格納された変更データのフォーマットの例
を示す図である。図6の左側に示されているように、図
4の構成のEEPROM54は、管理データ、複数の変
更データブロック1〜N、および、空き領域を含む。こ
れら複数のブロックの変更データは、変更データの複数
のバージョン(すなわち、複数回の変更)に対応するも
のである。つまり、変更データブロック1は、第1回の
変更(改正1)に対応し、変更データブロック2は、第
2回の変更(改正2)に対応し、・・・変更データブロ
ックNは、第N回の変更(改正N)に対応する。[Of change data stored in EEPROM
Format (FIG. 6) ] FIG. 6 shows E in the configuration of FIG.
It is a figure which shows the example of a format of the change data stored in EPROM. As shown on the left side of FIG. 6, the EEPROM 54 having the configuration of FIG. 4 includes management data, a plurality of changed data blocks 1 to N, and an empty area. The change data of the plurality of blocks corresponds to a plurality of versions of the change data (that is, a plurality of changes). That is, the change data block 1 corresponds to the first change (revision 1), the change data block 2 corresponds to the second change (revision 2), ... It corresponds to N changes (revised N).
【0039】図6の右上方に示されているように、管理
データの領域は、固定値“FPDT(ASCCIコー
ド)”、EEPROM54が書き込み処理に対してオー
プン(プロテクトされていない)か否(クローズ)かを
示すステータス(“00”はEEPROM54がプロテ
クトされていることを示し、“01”はEEPROM5
4がプロテクトされていないことを示す)、アダプタに
命令するプロセッサのの識別番号PM−ID、変更に使
用されるべき変更データブロックの数N′、EEPRO
M54の空き領域のサイズ、EEPROM54の書き込
み済領域のサイズ、および、EEPROM54内の管理
データおよび変更データブロック全てにおけるデータの
チェックサムを含む。As shown in the upper right part of FIG. 6, the area of the management data is a fixed value "FPDT (ASCCI code)", and whether or not the EEPROM 54 is open (not protected) for the writing process (closed). ) Or not (“00” indicates that the EEPROM 54 is protected, and “01” indicates the EEPROM 5).
4 is not protected), the identification number PM-ID of the processor instructing the adapter, the number N'of modified data blocks to be used for modification, EEPRO
It includes the size of the empty area of M54, the size of the written area of the EEPROM 54, and the checksum of the data in all management data and changed data blocks in the EEPROM 54.
【0040】図6の右下方に示されているように、各変
更データブロックは、ヘッダ領域、変更データ領域、お
よび、エンドマークを含む。As shown in the lower right part of FIG. 6, each modified data block includes a header area, a modified data area, and an end mark.
【0041】〔変更データブロックのヘッダ領域のフォ
ーマット(図7)〕図7は、図6の変更データブロック
のヘッダ領域のフォーマットの1例を示すものである。
図7に示されているように、ヘッダ領域は、固定値“D
BLK(ASCCIコード)”、当該変更データによっ
て変更されるべき、アダプタのRAM52に保持された
プログラムデータの現在のバージョン、当該変更データ
ブロックのサイズ、および、変更データブロック内のデ
ータのチェックサムを含む。[For the header area of the modified data block,
Format (FIG. 7) ] FIG. 7 shows an example of the format of the header area of the modified data block of FIG.
As shown in FIG. 7, the header area has a fixed value "D".
BLK (ASCCI code) ", including the current version of the program data held in the RAM 52 of the adapter that should be modified by the modification data, the size of the modification data block, and the checksum of the data in the modification data block .
【0042】〔変更データブロック内のユニット(図8
および図9)〕上記の変更データブロックの各々におい
て、変更データは、複数のユニットに分かれて含まれて
いる。図8および図9は、図4のEEPROM54に格
納される変更データの各ユニットの2つのタイプを示す
ものである。図8のタイプのユニットにおいては、各ユ
ニットは、RAM52におけるアドレスと、該アドレス
の新しい(変更後の)データと旧(変更前の)データと
を含む。他方、図9のタイプのユニットは、変更データ
のアドレスと、該アドレスに対応する2つの新しい(変
更後の)データ(新データ0および新データ1)とを含
む。各ユニットはまた、上記のタイプについての(自ユ
ニットがどちらのタイプかを示す)情報をも含む。[ Unit in Change Data Block (see FIG. 8)
And FIG. 9) ] In each of the above-mentioned change data blocks, the change data is included in a plurality of units. 8 and 9 show two types of each unit of change data stored in the EEPROM 54 of FIG. In the type of unit of FIG. 8, each unit contains the address in RAM 52, the new (after change) data and the old (before change) data at that address. On the other hand, a unit of the type of FIG. 9 contains the address of the modified data and two new (modified) data (new data 0 and new data 1) corresponding to the address. Each unit also includes information about the above type (indicating which type it is).
【0043】〔エンドマーク(図10)〕図10は、エ
ンドマークの1例を示すものである。この例では、エン
ドマークは、“FFFFFFFF”である。[ End Mark (FIG. 10) ] FIG. 10 shows an example of the end mark. In this example, the end mark is "FFFFFFFF".
【0044】〔I/O命令(コマンド)のフォーマット
(図11)〕図11は、本発明の実施例におけるI/O
命令(コマンド)の一般的なフォーマットを示す図であ
る。I/O命令は、図3の通信制御処理装置のプロセッ
サ401 ,402 ,および,403 からアダプタ3
61,362 ,363 ,および,364 に対して発行さ
れる。図11のフォーマットは、プロセッサ401 ,4
0 2 ,および,403 からI/Oバス421 および42
2 の何れかを介してアダプタ361 ,362 ,363 ,
および,364 に対して発行される全てのI/O命令に
おいて使用される。図11のフォーマットは、I/O命
令が発行される対象のアダプタを示す番号ADP−N
O.、命令の種類を示すコードOPECODE、およ
び、AOPDアドレスを含む。I/O命令がアダプタ内
のMPU51によって行われるべき命令であるときに
は、命令の種類を示すコードOPECODEは“IA
D”と示される。AOPDは、後述するアダプタ・オペ
レーション・ディスクリプタの略であって、AOPDア
ドレスは、プロセッサが具備する前述の(図示しない)
メモリにおけるアダプタ・オペレーション・ディスクリ
プタが書き込まれた領域の先頭アドレスを示すものであ
る。[0044]I / O command format
(Figure 11)FIG. 11 shows the I / O in the embodiment of the present invention.
It is a figure which shows the general format of an instruction (command).
It The I / O command is a process of the communication control processing device shown in FIG.
Service 401, 402 , And 403To adapter 3
61, 362 , 363, And 36FourIssued to
Be done. The format of FIG. 11 is the processor 401, 4
0 2 , And 403To I / O bus 421And 42
2 Via any of the adapters 361, 362 , 363,
And 36FourFor all I / O commands issued to
Used in The format of Fig. 11 is I / O
Number ADP-N indicating the adapter for which the decree is issued
O. , A code OPECODE indicating the type of instruction, and
And AOPD address. I / O instruction is in the adapter
When the instruction is to be performed by the MPU 51 of
Is a code that indicates the type of instruction.
DOP. AOPD is an adapter operation described later.
Is an abbreviation for the Aation Descriptor.
The dress is the same as the one included in the processor (not shown).
Adapter operation discretion in memory
The start address of the area where the
It
【0045】〔AOPDのフォーマット(図12)〕図
12は、アダプタ・オペレーション・ディスクリプタA
OPDのフォーマットの1例を示すものである。図12
のAOPDは、I/O命令によって要求される処理のタ
イプを示すコマンドコードCMDCODE、変更データ
のバイト数を示すデータカウントDATA COUN
T、後述する変更データ格納領域の先頭アドレス、I/
O命令によって要求される処理の詳細モードを示すファ
ンクション・コードFNC CODE、および、プログ
ラムデータの変更に使用されるべき変更データのブロッ
ク数N′を含む。[ Format of AOPD (FIG. 12) ] FIG. 12 shows the adapter operation descriptor A.
1 illustrates an example of an OPD format. 12
AOPD is a command code CMDCODE indicating the type of processing requested by the I / O instruction, and a data count DATA COUNT indicating the number of bytes of the changed data.
T, start address of change data storage area described later, I /
It includes a function code FNC CODE indicating the detailed mode of processing requested by the O instruction, and the number N'of blocks of change data to be used for changing program data.
【0046】上記のAOPDがプロセッサからアダプタ
への変更データの転送命令に使用されるときには、上記
の「コマンドコードCMDCODE」を「変更データ転
送命令」を示すコードに設定し、上記の「変更データ格
納領域の先頭アドレス」の領域は、後述する図13に示
されているような変更データが保持されている、該プロ
セッサのメモリ内の領域の先頭アドレスを示す。そし
て、上記の「使用されるべき変更データのブロック数
N′」の欄においては、既にEEPROM54に格納さ
れている複数ブロックの変更データのうち、どのブロッ
クまでの変更をRAM52上のプログラムデータに施す
かを指定することができる。すなわち、この指定によっ
て、後述するように、EEPROM54に格納されてい
る複数ブロックの変更データのうち、任意のブロックま
での変更をRAM52上のプログラムデータに施すよう
に指定することができる。こうして、あるバージョンの
ファームウエアによってアダプタが正常に動作しないこ
とをプロセッサが検出したときには、プロセッサは、例
えば、より古いバージョンに戻すように指示することが
できる。When the above AOPD is used for a transfer instruction of change data from the processor to the adapter, the above "command code CMDCODE" is set to a code indicating the "change data transfer instruction", and the above "change data storage" is set. The area "start address of area" indicates the start address of the area in the memory of the processor in which the change data as shown in FIG. 13 described later is held. Then, in the above-mentioned "Number of blocks of change data to be used N '", up to which block of the change data of a plurality of blocks already stored in the EEPROM 54 is changed to the program data on the RAM 52. You can specify the watermark. That is, by this designation, as will be described later, it is possible to designate that the program data on the RAM 52 is subject to a change up to an arbitrary block among the change data of a plurality of blocks stored in the EEPROM 54. Thus, when the processor detects that an adapter is not working properly with some version of firmware, the processor can, for example, instruct it to revert to an older version.
【0047】後述するように、既に、変更データがアダ
プタ内のEEPROM54に転送された後に、図11お
よび図12のフォーマットを使用して、プロセッサがア
ダプタに対してイニシャル・プログラム・ローディング
命令を与えるときには、上記の「コマンドコードCMD
CODE」を「イニシャル・プログラム・ローディング
命令」を示すコードに設定し、上記の「変更データ格納
領域の先頭アドレス」の領域は、オール“0”でよい。
また、このときにも、上記の「使用されるべき変更デー
タのブロック数N′」の欄においては、既にEEPRO
M54に格納されている複数ブロックの変更データのう
ち、どのブロックまでの変更をRAM52上のプログラ
ムデータに施すかを指定することができる。As will be described below, when the processor gives an initial program loading instruction to the adapter using the formats of FIGS. 11 and 12 already after the modified data has been transferred to the EEPROM 54 in the adapter. , Above "command code CMD
“CODE” is set to a code indicating “initial program loading instruction”, and the area of “start address of change data storage area” may be all “0”.
Also at this time, in the above-mentioned "number of blocks of changed data to be used N '" column, EEPRO has already been set.
It is possible to specify up to which block among the change data of a plurality of blocks stored in M54, the program data on the RAM 52 is changed.
【0048】〔ファンクション・コードの例(図1
3)〕図13は、アダプタのEEPROM54に変更デ
ータを書き込む処理に関係するファンクションコードの
典型的な例を示すものである。図13に示されているよ
うに、プロセッサ401 ,402 ,および,403 の何
れかが、(先に書き込まれているデータはクリアした
後)EEPROM54に新しく変更データを書き込むこ
とを要求するときには、ファンクション・コードFNC
CODEは“00”である。プロセッサ401 ,40
2 ,および,403 の何れかが、EEPROM54に既
に書き込まれた変更データに追加して変更データを書き
込むことを要求するときには、ファンクション・コード
FNC CODEは“01”または“02”である。プ
ロセッサがEEPROM54をクローズすることを要求
するときには、ファンクション・コードFNC COD
Eは“03”である。プロセッサがEEPROM54を
クリアしてクローズし、管理データを初期化することを
要求するときには、ファンクション・コードFNC C
ODEは“04”である。そして、プロセッサが、管理
データの領域において指定した変更データブロックにつ
いて、ブロックフォーマット、新旧データのバージョン
数の無矛盾性、および、チェックサムに関しての正常性
のチェックを要求するときには、ファンクション・コー
ドFNC CODEは“05”である。[Example of function code (Fig. 1
3)13] FIG. 13 shows a modified version of the EEPROM 54 of the adapter.
Function code related to the process of writing data
It shows a typical example. It's shown in Figure 13.
Sea urchin processor 401, 402 , And 403What
Somehow, (the previously written data was cleared
After) write new change data to EEPROM 54.
When requesting and, the function code FNC
CODE is “00”. Processor 401, 40
2 , And 403Is stored in the EEPROM 54.
Write change data in addition to the change data written to
Function code when requesting
FNC CODE is “01” or “02”. Step
Require processor to close EEPROM 54
Function code FNC COD
E is “03”. The processor uses the EEPROM 54
Clear and close, and initialize the management data.
When requesting, use function code FNC C
ODE is “04”. And the processor manages
Change data block specified in the data area
Block format, old and new data version
Number consistency and checksum normality
When requesting the check of
The de FNC CODE is “05”.
【0049】〔RAM52の変更データ格納領域のフォ
ーマット(図14)〕図14は、通信制御処理装置のプ
ロセッサ401 ,402 ,および,403 のメモリに格
納される変更データ格納領域のフォーマットの1例を示
すものである。前述のように、この領域の先頭アドレス
は、図12のAOPDにて指定される。また、図14に
示されているように、変更データ格納領域のフォーマッ
トは、先に図6で示したEEPROM54内の変更デー
タのフォーマットと同じである。[For the data in the changed data storage area of the RAM 52 ]
Format (FIG. 14) ] FIG. 14 shows an example of a format of a change data storage area stored in the memories of the processors 40 1 , 40 2 , and 40 3 of the communication control processing device. As described above, the start address of this area is designated by AOPD in FIG. Further, as shown in FIG. 14, the format of the change data storage area is the same as the format of the change data in the EEPROM 54 shown in FIG.
【0050】〔プロセッサによる変更データの転送処理
(図15、図16、および、図17)〕図15、図1
6、および、図17は、プロセッサによって、変更デー
タをアダプタに転送させるための処理を示すフローチャ
ートである。[ Process for Transferring Change Data by Processor ( FIGS. 15, 16 and 17) ] FIGS. 15 and 1
6 and FIG. 17 are flowcharts showing the processing for causing the processor to transfer the changed data to the adapter.
【0051】ステップ301において、プロセッサは、
自らが具備するメモリにAOPDを格納する。ここで、
AOPD内のファンクション・コードFNC CODE
は“00”および“01”にセットされる。それから、
ステップ302においては、プロセッサは、変更データ
をメモリに格納する。ステップ303においては、プロ
セッサは、IAD命令を発行する。ここで、IAD命令
とは、前記OPECODEを“IAD”にセットした命
令である。図15〜図17において、「A」および
「B」で示されるのは、プロセッサによる、これらの図
における処理に対応して行われる図18〜図21におけ
る処理との関係を示すものである。In step 301, the processor
Store AOPD in its own memory. here,
Function code FNC CODE in AOPD
Are set to "00" and "01". then,
In step 302, the processor stores the modified data in memory. In step 303, the processor issues an IAD instruction. Here, the IAD instruction is an instruction in which the OPECODE is set to "IAD". In FIGS. 15 to 17, what is indicated by “A” and “B” is the relationship with the processing in FIGS. 18 to 21 performed by the processor corresponding to the processing in these figures.
【0052】図15のステップ304においては、終了
割り込み信号が受信されたか否かを判定する。図21を
参照して後述するように、IAD命令の実行が完了する
と、アダプタは、終了割り込み信号をプロセッサに返
す。ステップ304において終了割り込み信号が受信さ
れたと判定されると、図16のステップ305の処理に
移行する。ステップ305においては、プロセッサが、
アダプタに転送すべき変更データを更に有するか否かを
判定する。ステップ305において、アダプタに転送す
べき変更データを更に有すると判断されたときには、ス
テップ306に移行する。ステップ305において、ア
ダプタに転送すべき変更データを更に有しないと判断さ
れたときには、図17のステップ311に移行する。In step 304 of FIG. 15, it is determined whether the end interrupt signal is received. As described below with reference to FIG. 21, when the execution of the IAD instruction is completed, the adapter returns an end interrupt signal to the processor. If it is determined in step 304 that the end interrupt signal has been received, the process proceeds to step 305 in FIG. In step 305, the processor
Determine if there is more modified data to transfer to the adapter. When it is determined in step 305 that the changed data to be transferred to the adapter is further included, the process proceeds to step 306. If it is determined in step 305 that there is no further change data to be transferred to the adapter, the process proceeds to step 311 in FIG.
【0053】ステップ306においては、プロセッサ
は、自らのメモリに、ファンクション・コードFNC
CODEが“02”にセットされたAOPDを格納す
る。そして、ステップ307において、追加の変更デー
タをメモリに格納する。次に、ステップ308において
プ ロセッサはIAD命令を発行して、アダプタに、追
加の変更データを転送させる。In step 306, the processor stores the function code FNC in its memory.
The AOPD whose CODE is set to "02" is stored. Then, in step 307, the additional change data is stored in the memory. Next, in step 308, the processor issues an IAD instruction to cause the adapter to transfer additional modified data.
【0054】ステップ309においては、終了割り込み
信号が受信されたか否かを判定する。ステップ309に
おいて、終了割り込み信号が受信されたと判定されたと
きには、ステップ310に移行して、プロセッサが、ア
ダプタに転送すべき変更データを更に有するか否かを判
定する。ステップ310において、アダプタに転送すべ
き変更データを更に有すると判断されたときには、ステ
ップ306に移行する。ステップ305において、アダ
プタに転送すべき変更データを更に有しないと判断され
たときには、図17のステップ311に移行する。In step 309, it is determined whether the end interrupt signal is received. When it is determined in step 309 that the end interrupt signal has been received, the process proceeds to step 310, and it is determined whether the processor further has change data to be transferred to the adapter. When it is determined in step 310 that there is more change data to be transferred to the adapter, the process proceeds to step 306. If it is determined in step 305 that there is no further change data to be transferred to the adapter, the process proceeds to step 311 in FIG.
【0055】図17のステップ311においては、プロ
セッサは、ファンクション・コードFNC CODEが
“03”にセットされたAOPDを自らのメモリに格納
する。そして、アダプタに対してEEPROM54をク
ローズさせるIAD命令を発行する。それから、ステッ
プ313において終了割り込み信号を受信すると図15
〜図17の処理を終了する。In step 311 of FIG. 17, the processor stores in its memory the AOPD with the function code FNC CODE set to "03". Then, the IAD command for closing the EEPROM 54 is issued to the adapter. Then, when the end interrupt signal is received in step 313, FIG.
~ The process of Fig. 17 is ended.
【0056】〔アダプタによる変更データ転送処理(図
18〜図21)〕図18〜図21は、アダプタが自らの
装置内に変更データを転送するための処理を示すフロー
チャートである。図18〜図21の処理は、ステップ4
00において、プロセッサ401 ,402 ,および,4
03 の何れかからアダプタに対して発行されたIAD命
令をアダプタが受信することにより開始される。ステッ
プ401においては、MPU51は、前記バスコントロ
ーラ50を介して、上記のIAD命令を発行したプロセ
ッサのメモリから、前記AOPDを読み出す。ここで、
AOPDのアドレスは、前記図11に示されているよう
にIAD命令に書き込まれている。読み出されたAOP
Dは、バスコントローラ50のDMA機能によってアダ
プタに転送される。ステップ402においては、上記の
AOPD内のファンクション・コードFNC CODE
が何であるかが判定され、ファンクション・コードFN
C CODEが“00”であれば、図19のステップ4
03へ、ファンクション・コードFNC CODEが
“01”または“02”であれば、図19のステップ4
06へ、ファンクション・コードFNC CODEが
“03”であれば、図20のステップ410に処理が移
行する。[ Changed data transfer processing by adapter (Fig.
18 to 21) ] FIGS. 18 to 21 are flowcharts showing a process for the adapter to transfer the changed data to its own device. The process of FIG. 18 to FIG. 21 is step 4
00, processors 40 1 , 40 2 , and 4
0 3 issued IAD command to the adapter to any of the adapter is started by receiving. In step 401, the MPU 51 reads the AOPD from the memory of the processor that issued the IAD command via the bus controller 50. here,
The address of AOPD is written in the IAD instruction as shown in FIG. Read AOP
D is transferred to the adapter by the DMA function of the bus controller 50. In step 402, the function code FNC CODE in the above AOPD.
Is determined, the function code FN
If C CODE is “00”, step 4 in FIG.
03, if the function code FNC CODE is "01" or "02", step 4 of FIG.
If the function code FNC CODE is “03” in 06, the process proceeds to step 410 in FIG.
【0057】図19のステップ403においては、MP
U51は、プロセッサのメモリ内の変更データ格納領域
(図14)の内容を読み出す。ここで、変更データ格納
領域の先頭アドレスは、AOPDに示されている(図1
2)。そして、読み出された内容は、それぞれバスコン
トローラ50のDMA機能によって、プロセッサのメモ
リからバスコントローラ50へ、そして、バスコントロ
ーラ50からアダプタのEEPROM54へと転送され
る。すなわち、この実施例では、図1の変更データ転送
パス13は、I/Oバス421 および422 の何れか、
バスコントローラ50、およびローカルバス56によっ
て実現され、図1のデータ転送手段9は、バスコントロ
ーラ50およびMPU51によって実現されている。In step 403 of FIG. 19, MP
U51 reads the contents of the changed data storage area (FIG. 14) in the memory of the processor. Here, the start address of the changed data storage area is indicated in AOPD (FIG. 1).
2). Then, the read contents are transferred by the DMA function of the bus controller 50 from the memory of the processor to the bus controller 50, and from the bus controller 50 to the EEPROM 54 of the adapter. That is, in this embodiment, the modified data transfer path 13 of FIG. 1 is either the I / O bus 42 1 or 42 2 .
It is realized by the bus controller 50 and the local bus 56, and the data transfer means 9 of FIG. 1 is realized by the bus controller 50 and the MPU 51.
【0058】上記の転送された変更データは、EEPR
OM54内において、先に転送され格納された管理デー
タの領域に続く領域に書き込まれる(ステップ40
4)。そして、ステップ405に移行して、EEPRO
M54内の管理データを更新する。この更新処理におい
て、前記AOPD(図12)内の「変更に使用されるべ
き変更データのブロック数N′」は、EEPROM54
内の管理データの領域(図6)に書き込まれ、ステータ
スは、「オープン」状態にセットされ、IAD命令を発
行したプロセッサの識別番号がPM−IDとして格納さ
れ、新たに転送された変更データに対応してEEPRO
M54の空き領域と書き込み済領域のサイズが更新され
る。それから、ステップ411に移行して、プロセッサ
に対して終了割り込み信号を送信する。The above-mentioned transferred change data is EEPR.
In the OM 54, it is written in an area subsequent to the area of the management data transferred and stored previously (step 40).
4). Then, the process proceeds to step 405, and EEPRO
Update the management data in M54. In this update process, the "number of blocks of change data N'to be used for change" in the AOPD (FIG. 12) is the EEPROM 54.
Is written in the management data area (FIG. 6) in the file, the status is set to the “open” state, the identification number of the processor that issued the IAD instruction is stored as PM-ID, and the newly transferred change data is stored. Correspondingly EEPRO
The sizes of the empty area and the written area of M54 are updated. Then, the process proceeds to step 411 to send an end interrupt signal to the processor.
【0059】ステップ406においては、MPU51
は、変更データ格納領域の内容を読み出す。ここでも、
変更データ格納領域の先頭アドレスは、AOPDに示さ
れている(図12)。そして、読み出された内容は、そ
れぞれバスコントローラ50のDMA機能によって、プ
ロセッサのメモリからバスコントローラ50へ、そし
て、バスコントローラ50からアダプタのEEPROM
54へと転送される。転送された変更データは、EEP
ROM54内において、先に転送され格納された変更デ
ータの領域に続く領域に書き込まれる(ステップ40
7)。そして、ステップ408に移行して、AOPDの
ファンクション・コードFNC CODEが“01”か
“02”かを判定する。ファンクション・コードFNC
CODEが“01”であるときには、上記のステップ
405に移行する。ファンクション・コードFNC C
ODEが“02”であるときには、ステップ409に移
行する。ステップ409においては、MPU51は、E
EPROM54内に格納された管理データを更新する。
この更新処理において、前記AOPD(図12)内の
「変更に使用されるべき変更データのブロック数N′」
は、EEPROM54内の管理データの領域(図6)に
書き込まれ、ステータスは、「オープン」状態のままで
あるが、新たに転送された変更データに対応してEEP
ROM54の空き領域と書き込み済領域のサイズが更新
される。ファンクション・コードFNC CODEが
“02”であるときには、先に変更データが転送された
元のプロセッサと同じからの変更データ転送であること
を示すので、IAD命令を発行したプロセッサの識別番
号がPM−IDもそのままである。それから、図21の
ステップ411に移行して、プロセッサに対して終了割
り込み信号を送信する。In step 406, the MPU 51
Reads the contents of the changed data storage area. even here,
The start address of the changed data storage area is shown in AOPD (FIG. 12). Then, the read contents are read from the memory of the processor to the bus controller 50 by the DMA function of the bus controller 50, and from the bus controller 50 to the EEPROM of the adapter.
54. The transferred change data is EEP
In the ROM 54, the data is written in an area subsequent to the area of the change data previously transferred and stored (step 40).
7). Then, the process proceeds to step 408, and it is determined whether the function code FNC CODE of AOPD is “01” or “02”. Function code FNC
When CODE is “01”, the process shifts to step 405. Function code FNC C
When the ODE is “02”, the process proceeds to step 409. In step 409, the MPU 51 determines that E
The management data stored in the EPROM 54 is updated.
In this update process, "the number N'of blocks of change data to be used for change" in the AOPD (FIG. 12).
Is written in the management data area (FIG. 6) in the EEPROM 54, and the status remains the “open” state, but the EEP corresponds to the newly transferred change data.
The sizes of the empty area and the written area of the ROM 54 are updated. When the function code FNC CODE is "02", it indicates that the change data is transferred from the same processor as the original processor to which the change data was transferred first. Therefore, the identification number of the processor that issued the IAD instruction is PM-. The ID remains unchanged. Then, the process proceeds to step 411 in FIG. 21 to send an end interrupt signal to the processor.
【0060】図20のステップ410においては、MP
U51は、EEPROM54の管理データを更新して格
納する。ここで、前記AOPD(図12)内の「変更に
使用されるべき変更データのブロック数N′」は、EE
PROM54内の管理データの領域(図6)に書き込ま
れ、ステータスは、「クローズ」であり、変更データブ
ロックの数、EEPROM54の空き領域のサイズ、書
き込み済領域のサイズ、そして、変更データが格納され
た領域のデータのチェックサムが(計算されて)格納さ
れる。それから、図21のステップ411に移行して、
プロセッサに対して終了割り込み信号を送信する。In step 410 of FIG. 20, MP
The U51 updates and stores the management data in the EEPROM 54. Here, the “number of blocks of change data N ′ to be used for change” in the AOPD (FIG. 12) is EE.
The data is written in the management data area (FIG. 6) in the PROM 54, the status is “closed”, the number of changed data blocks, the size of the empty area of the EEPROM 54, the size of the written area, and the changed data are stored. The checksum of the data in the reserved area is stored (calculated). Then, move to step 411 of FIG. 21,
Send an end interrupt signal to the processor.
【0061】〔アダプタにおけるIPL処理の概略(図
22)〕プロセッサ401 ,402 ,および,403 の
何れ1つからアダプタに対してイニシャル・プログラム
・ローディング(IPL)命令が発行されると、アダプ
タは図22の処理を実行する。図22は、アダプタにお
けるイニシャル・プログラム・ローディング(IPL)
処理のフローチャートである。図22の処理は、アダプ
タがプロセッサから(バスコントローラ50を介して)
イニシャル・プログラム・ローディング(IPL)命令
を受けることにより開始される。前述のように、このイ
ニシャル・プログラム・ローディング(IPL)命令が
前記AOPDによって、「変更に使用すべき変更データ
のブロック数N′」を含むときには、図示しないが、ア
ダプタは、先ず、この値を前記管理データの領域に書き
込む。そして、図22の処理に移行する。[ Outline of IPL processing in adapter (Fig.
22) ] When any one of the processors 40 1 , 40 2 , and 40 3 issues an initial program loading (IPL) instruction to the adapter, the adapter executes the processing of FIG. Figure 22 shows the initial program loading (IPL) in the adapter.
It is a flowchart of a process. In the processing of FIG. 22, the adapter is transferred from the processor (via the bus controller 50).
It is started by receiving an initial program loading (IPL) command. As described above, when the initial program loading (IPL) instruction includes the "number of blocks of change data N'to be used for change N '" by the AOPD, although not shown, the adapter first sets this value. Write in the management data area. Then, the processing shifts to the processing in FIG.
【0062】図22のステップ201においては、RO
M53の固定プログラムデータ(バージョン0のプログ
ラムデータ)を読み出すために、MPU51の制御は、
このROM53の固定プログラムデータ領域の先頭アド
レスに移行する。そして、この固定プログラムデータ
は、RAM52に格納される。そして、ステップ202
において、MPU51は、EEPROM54に保持され
た前記管理データ内の「変更データブロックの数N′」
を読み出し、ステップ203において、N′が0か否か
を判定する。すなわち、RAM52上のプログラムデー
タの変更のために使用すべきであると指定された変更デ
ータブロックの数が0か否かを判定する。N′が0に等
しいと判定されると、図22の処理は終了する。N′が
0に等しくないと判定されると、ステップ204に進ん
で、図23〜図25の処理を実行して、RAM52内の
プログラムデータをEEPROM54内の変更データに
よって変更する。In step 201 of FIG. 22, RO
In order to read the fixed program data (version 0 program data) of M53, the control of MPU51 is as follows.
The process moves to the head address of the fixed program data area of the ROM 53. Then, this fixed program data is stored in the RAM 52. And step 202
In MPU 51, the MPU 51 stores "the number N'of changed data blocks" in the management data stored in the EEPROM 54.
Is read out, and it is determined in step 203 whether N'is 0 or not. That is, it is determined whether or not the number of changed data blocks designated to be used for changing the program data on the RAM 52 is zero. If it is determined that N'is equal to 0, the process of FIG. 22 ends. If it is determined that N'is not equal to 0, the routine proceeds to step 204, where the processing of FIGS. 23 to 25 is executed to change the program data in the RAM 52 with the change data in the EEPROM 54.
【0063】〔プログラムデータ変更の詳細手順(図2
3〜図25)〕図23〜図25は、アダプタが自らのR
AM52内のプログラムデータをEEPROM54内の
変更データによって変更する詳細な手順のフローチャー
トである。[ Detailed Procedure for Changing Program Data (see FIG. 2
3 to FIG. 25) ] In FIGS. 23 to 25, the adapter has its own R
9 is a flowchart of a detailed procedure for changing the program data in the AM 52 with the change data in the EEPROM 54.
【0064】図23のステップ501においては、管理
データ領域のチェックサムが正常か否かを判定する。こ
のチェックサムが正常でないと判定されると、図22〜
図25の処理は終了する。このチェックサムが正常であ
ると判定されると、ステップ502に移行する。ステッ
プ502においては、MPU51は、自らが具備するレ
ジスタ内に、プログラムデータの変更に使用すべき変更
データブロック数N′を格納する。このプログラムデー
タの変更に使用すべき変更データブロック数N′は、前
述のように、AOPD(図12)の「使用すべき変更デ
ータブロック数N′」の領域にセットされて、変更デー
タ転送命令またはイニシャル・プログラム・ローディン
グ命令の発行によって、通信制御処理装置のプロセッサ
からアダプタに対して供給され、EEPROM54内の
管理データの領域に格納されている。前述のように、既
に、変更データがアダプタ内のEEPROM54に転送
された後に、図11および図12のフォーマットを使用
して、プロセッサがアダプタに対してイニシャル・プロ
グラム・ローディング命令を与えるときには、上記の
「変更データ格納領域の先頭アドレス」の領域は、オー
ル“0”でよく、また、このときに、上記の「使用され
るべき変更データのブロック数N′」の欄において、既
にEEPROM54に格納されている複数ブロックの変
更データのうち、どのブロックまでの変更をRAM52
上のプログラムデータに施すかを新たに設定してアダプ
タに指示することもできる。In step 501 of FIG. 23, it is determined whether the checksum of the management data area is normal. If it is determined that this checksum is not normal, FIG.
The process of FIG. 25 ends. If it is determined that the checksum is normal, the process proceeds to step 502. In step 502, the MPU 51 stores the number N'of changed data blocks to be used for changing the program data in the register provided therein. As described above, the number N'of changed data blocks to be used for changing the program data is set in the "number N'of changed data blocks to be used" area of the AOPD (FIG. 12), and the changed data transfer instruction is issued. Alternatively, it is supplied to the adapter from the processor of the communication control processing unit by the issuance of the initial program loading command, and is stored in the management data area in the EEPROM 54. As mentioned above, when the processor gives the initial program loading instructions to the adapter using the format of FIGS. 11 and 12, already after the modified data has been transferred to the EEPROM 54 in the adapter, The area of the "start address of the changed data storage area" may be all "0", and at this time, in the above-mentioned "number of changed data blocks N'to be used N '" column, it is already stored in the EEPROM 54. Of the change data of a plurality of blocks, the RAM 52
It is also possible to newly set whether to apply to the above program data and instruct the adapter.
【0065】次に、ステップ503においては、MPU
51は、変数Mとして「1」をセットする。そして、ス
テップ504においては、MPU51は、EEPROM
54から、上記の変数Mに等しい数のブロックの変更デ
ータを読み出す。そして、ステップ505において、各
変更データブロックのヘッダに含まれるチェックサムが
正しいか否かを判定する。チェックサムが正しくないと
判定されると、図23〜図25の処理は終了する(異常
終了)。ステップ505においてチェックサムが正しい
と判定されると、ステップ506に移行して、ヘッダ領
域(図7)の「現在のバージョン」の値が、アダプタの
RAM52に表示された、該RAM52が現在保持する
プログラムデータのバージョンの値と等しいか否かを判
定する。後述するように、RAM52のプログラムデー
タが、EEPROM54に格納された変更データブロッ
クによって変更される際には、その変更データブロック
に対応するバージョンの値がRAM52の所定の領域に
書き込まれる。ステップ506において、ヘッダ領域
(図7)の「現在のバージョン」の値が、RAM52が
現在保持するプログラムデータのバージョンの値と等し
くないと判定されると、図23〜図25の処理は終了す
る(異常終了)。ステップ506において、ヘッダ領域
(図7)の「現在のバージョン」の値が、RAM52が
現在保持するプログラムデータのバージョンの値と等し
いと判定されると、ステップ507に移行して、当該変
更データブロックの最初の(第1の)ユニットの変更デ
ータを読み出す。Next, in step 503, the MPU
51 sets “1” as the variable M. Then, in step 504, the MPU 51 determines that the EEPROM
From 54, the change data of the number of blocks equal to the above variable M is read. Then, in step 505, it is determined whether the checksum included in the header of each changed data block is correct. If it is determined that the checksum is incorrect, the processing of FIGS. 23 to 25 ends (abnormal end). When the checksum is determined to be correct in step 505, the process proceeds to step 506, and the value of “current version” in the header area (FIG. 7) is displayed in the RAM 52 of the adapter and is currently held in the RAM 52. It is determined whether it is equal to the version value of the program data. As will be described later, when the program data in the RAM 52 is changed by the change data block stored in the EEPROM 54, the version value corresponding to the change data block is written in a predetermined area of the RAM 52. If it is determined in step 506 that the value of the "current version" of the header area (FIG. 7) is not equal to the value of the version of the program data currently held by the RAM 52, the processing of FIGS. 23 to 25 ends. (Abnormal termination). If it is determined in step 506 that the value of the "current version" in the header area (FIG. 7) is equal to the value of the version of the program data currently held by the RAM 52, the process moves to step 507 and the changed data block concerned. Read the change data of the first (first) unit of the.
【0066】ステップ508においては、読み出したユ
ニットの前記タイプが判定される。このタイプが“0
0”であると判定されると、ステップ509に移行す
る。或るいは、このタイプが“01”であると判定され
ると、ステップ511に移行する。ステップ509にお
いては、MPU51は、上記のユニットのアドレスに対
応するデータを、「現在のデータ」としてRAM52か
ら読み出して、ステップ510において、上記のユニッ
トに含まれる「旧データ」と等しいか否かを判定する。
ここで、等しくないと判定されると、図23〜図25の
処理は終了(異常終了)する。ステップ510におい
て、等しいと判定されると、ステップ511に移行す
る。In step 508, the type of read unit is determined. This type is "0
If it is determined to be 0 ", the process proceeds to step 509. Alternatively, if it is determined that the type is" 01 ", the process proceeds to step 511. In step 509, the MPU 51 performs the above process. The data corresponding to the address of the unit is read from the RAM 52 as "current data", and in step 510 it is determined whether it is equal to "old data" included in the unit.
Here, if it is determined that they are not equal, the processing in FIGS. 23 to 25 ends (abnormal end). If it is determined in step 510 that they are equal, the process proceeds to step 511.
【0067】ステップ511においては、MPU51
は、次のユニットの変更データを読み出す。そして、ス
テップ512において、エンドマークが検出されたか否
かを判定する。ステップ512においてエンドマークが
検出されるとステップ513に移行し、エンドマークが
検出されないときは、ステップ508に戻って次のユニ
ットの処理を行う。In step 511, the MPU 51
Reads the change data of the next unit. Then, in step 512, it is determined whether the end mark is detected. When the end mark is detected in step 512, the process proceeds to step 513, and when the end mark is not detected, the process returns to step 508 to process the next unit.
【0068】ステップ513においては、MPU51
は、EEPROM54から、上記の変更データブロック
の最初の(第1の)ユニットの内容を再び読み出す。そ
して、ステップ514において、MPU51は、RAM
52において、上記のユニットのアドレスと同じアドレ
スのプログラムデータを、該ユニットの変更データによ
って書き換える。それから、ステップ515に移行し
て、次に、この変更データブロックの次のユニットの変
更データを読み出す。ステップ516においては、エン
ドマークが検出されたか否かを判定する。ステップ51
6においてエンドマークが検出されるとステップ517
に移行し、エンドマークが検出されないときは、ステッ
プ514に戻って次のユニットの処理を行う。In step 513, the MPU 51
Reads again the contents of the first (first) unit of the modified data block from the EEPROM 54. Then, in step 514, the MPU 51 determines that the RAM
At 52, the program data having the same address as the address of the unit is rewritten with the change data of the unit. Then, the process proceeds to step 515 to read the change data of the next unit of this change data block. In step 516, it is determined whether the end mark has been detected. Step 51
If the end mark is detected in step 6, step 517
If the end mark is not detected, the process returns to step 514 to process the next unit.
【0069】ステップ517においては、MPU51
は、前述のRAM52内のプログラムデータの「現在の
バージョン」の表示を、上記のヘッダ内の「新バージョ
ン」の情報によって書き換える。そして、ステップ51
8において、上記の変数Mを1だけインクリメントす
る。次に、ステップ519においては、上記の変数M
が、前記変更すべき変更データのブロック数N′に等し
くなったか否かを判定する。もし、等しければ、図23
〜図25の処理は完了し、等しくなければ、次に、のバ
ージョンの変更データによる変更を行うためにステップ
504の処理に移行する。In step 517, the MPU 51
Rewrites the "current version" display of the program data in the RAM 52 described above with the "new version" information in the header. And step 51
At 8, the variable M is incremented by 1. Next, in step 519, the above-mentioned variable M
, It is determined whether or not it has become equal to the number N ′ of blocks of the changed data to be changed. If they are equal, then FIG.
25. The processing of FIG. 25 is completed, and if they are not equal to each other, the processing shifts to the processing of step 504 in order to make a change with the change data of the version.
【0070】〔その他〕以上述べたように、本発明の構
成によれば、ファームウエアの変更が容易、且つ、高速
に行い得る。それに加えて、例えば、図2の構成におけ
るように、ファームウエアの変更データは、通信ネット
ワークを介して、遠方の装置に対しても変更データを転
送して、ファームウエアの変更を行わせることができ
る。更に、例えば、上記の実施例の通信制御処理装置内
のプロセッサは、複数のアダプタに対してファームウエ
アの変更を行わせることも容易である。[ Others ] As described above, according to the configuration of the present invention, the firmware can be changed easily and at high speed. In addition, for example, as in the configuration of FIG. 2, the firmware change data can be transferred to a distant device via a communication network to change the firmware. it can. Furthermore, for example, the processor in the communication control processing device of the above embodiment can easily cause the plurality of adapters to change the firmware.
【0071】本発明のもう1つの利点は、一旦、変更さ
れたプログラムデータが正常に機能しなかったときに、
ファームウエアを再び、古いバージョンに戻すことがで
きることである。例えば、上記の実施例において、ある
バージョン数迄のプログラムデータの変更の後にアダプ
タの動作が異常となったことを、プロセッサ401 ,4
02 ,および,403 の何れかが検出すると、このプロ
セッサは、このアダプタに対して、より少ないバージョ
ン数のプログラムデータの変更を命令してファームウエ
アを再び、古いバージョンに戻すことができる。この命
令は、ファンクション・コードFNC CODEを“0
3”(図13および図20)にセットしたIAD命令を
発行した後、イニシャル・プログラム・ローディング
(IPL)命令を発行してもよく、或るいは、前述のよ
うに、AOPDにおける前記変更すべき変更データブロ
ックの数N′をより少なく設定したイニシャル・プログ
ラム・ローディング(IPL)命令を発行することによ
るものでもよい。こうして、プロセッサからアダプタに
対して、より少ないバージョン数のプログラムデータの
変更を命令してアダプタのファームウエアを再び、古い
バージョンに戻すことができる。Another advantage of the present invention is that once the modified program data does not work properly,
The firmware can be reverted to the old version again. For example, in the above-described embodiment, the processor 40 1 , 4 indicates that the operation of the adapter becomes abnormal after the program data is changed up to a certain version number.
If either 0 2 or 40 3 is detected, the processor can instruct the adapter to change a smaller number of versions of program data to revert the firmware to the older version. This instruction sets the function code FNC CODE to "0.
After issuing the IAD instruction set to 3 "(FIGS. 13 and 20), an initial program loading (IPL) instruction may be issued, or as mentioned above, the change in the AOPD should be made. It may also be possible to issue an initial program loading (IPL) instruction in which the number N'of changed data blocks is set to a smaller number, thus instructing the adapter to change the program data of a smaller number of versions. You can then revert to the old version of the adapter firmware.
【0072】[0072]
【発明の効果】以上説明したように、本発明のファーム
ウエア変更システムによれば、ファームウエアの変更が
要求されるデータ処理装置が遠方にあっても、或るい
は、ファームウエアの変更が要求される複数のデータ処
理装置が広い範囲に分布していても、ファームウエアの
変更が容易且つ高速に実行され得、更に、変更されたデ
ータが正常に動作しないときにも古いバージョンのファ
ームウエアへの復帰が容易にできるという効果がある。As described above, according to the firmware changing system of the present invention, even if the data processing device requiring the firmware change is located far away, or the firmware changing is requested. Even if multiple data processing devices are distributed over a wide range, the firmware can be easily and quickly changed, and even when the changed data does not operate normally, the old version of the firmware can be changed. The effect is that it can be easily restored.
【図1】本発明の基本構成を示す図である。FIG. 1 is a diagram showing a basic configuration of the present invention.
【図2】本発明を適用する分散型データ処理システムの
構成例を示す図である。FIG. 2 is a diagram showing a configuration example of a distributed data processing system to which the present invention is applied.
【図3】本発明の実施例における、通信制御処理装置の
構成を示す図である。FIG. 3 is a diagram showing a configuration of a communication control processing device in the embodiment of the present invention.
【図4】本発明の実施例における通信制御処理装置内の
アダプタの構成を示す図である。FIG. 4 is a diagram showing a configuration of an adapter in the communication control processing device according to the embodiment of the present invention.
【図5】アダプタへ変更データを転送するためのプロセ
ッサによる処理を示すフローチャートである。FIG. 5 is a flowchart showing processing by a processor for transferring change data to an adapter.
【図6】図4の構成におけるEEPROMに格納された
変更データのフォーマットの例を示す図である。6 is a diagram showing an example of a format of change data stored in an EEPROM having the configuration of FIG.
【図7】図4の構成におけるEEPROMに格納された
変更データにおけるヘッダ領域のフォーマットの例を示
す図である。7 is a diagram showing an example of a format of a header area in the change data stored in the EEPROM in the configuration of FIG.
【図8】図4の構成におけるEEPROMに格納された
変更データにおける変更データの各ユニットの1つのタ
イプを示す図である。8 is a diagram showing one type of each unit of change data in the change data stored in the EEPROM in the configuration of FIG. 4. FIG.
【図9】図4の構成におけるEEPROMに格納された
変更データにおける変更データの各ユニットの1つのタ
イプを示す図である。9 is a diagram showing one type of each unit of change data in the change data stored in the EEPROM in the configuration of FIG. 4. FIG.
【図10】エンドマークの1例を示す図である。FIG. 10 is a diagram showing an example of an end mark.
【図11】本発明の実施例におけるI/O命令(コマン
ド)の一般的なフォーマットを示す図である。FIG. 11 is a diagram showing a general format of an I / O instruction (command) according to the embodiment of the present invention.
【図12】アダプタオペレーションデスクリプタAOP
Dのフォーマットの1例を示す図である。FIG. 12: Adapter operation descriptor AOP
It is a figure which shows an example of the format of D.
【図13】ファンクションコードの1例を示す図であ
る。FIG. 13 is a diagram showing an example of a function code.
【図14】図4の通信制御処理装置内の複数のプロセッ
サの各々におけるRAM内の変更データ格納領域のフォ
ーマットの1例を示す図である。14 is a diagram showing an example of a format of a change data storage area in a RAM in each of a plurality of processors in the communication control processing device in FIG.
【図15】アダプタへ変更データを転送するためのプロ
セッサによる処理を示すフローチャートである。FIG. 15 is a flowchart showing processing by a processor for transferring change data to an adapter.
【図16】アダプタへ変更データを転送するためのプロ
セッサによる処理を示すフローチャートである。FIG. 16 is a flowchart showing processing by a processor for transferring change data to an adapter.
【図17】アダプタへ変更データを転送するためのプロ
セッサによる処理を示すフローチャートである。FIG. 17 is a flowchart showing processing by a processor for transferring change data to an adapter.
【図18】アダプタへ変更データを転送するためのアダ
プタによる処理を示すフローチャートである。FIG. 18 is a flowchart showing processing by the adapter for transferring change data to the adapter.
【図19】アダプタへ変更データを転送するためのアダ
プタによる処理を示すフローチャートである。FIG. 19 is a flowchart showing processing by an adapter for transferring change data to the adapter.
【図20】アダプタへ変更データを転送するためのアダ
プタによる処理を示すフローチャートである。FIG. 20 is a flowchart showing processing by an adapter for transferring change data to the adapter.
【図21】アダプタへ変更データを転送するためのアダ
プタによる処理を示すフローチャートである。FIG. 21 is a flowchart showing processing by the adapter for transferring change data to the adapter.
【図22】アダプタにおけるイニシャルプログラムロー
ディングの処理を示すフローチャートである。FIG. 22 is a flowchart showing a process of initial program loading in the adapter.
【図23】アダプタによって、該アダプタ内のROMに
変更データをロードする処理を示すフローチャートであ
る。FIG. 23 is a flowchart showing a process of loading change data into a ROM in the adapter by the adapter.
【図24】アダプタによって、該アダプタ内のROMに
変更データをロードする処理を示すフローチャートであ
る。FIG. 24 is a flowchart showing a process of loading change data into a ROM in the adapter by the adapter.
【図25】アダプタによって、該アダプタ内のROMに
変更データをロードする処理を示すフローチャートであ
る。FIG. 25 is a flowchart showing a process of loading change data into a ROM in the adapter by the adapter.
【符号の説明】 1…データ処理装置 2…変更データ供給手段 3…プロセッサ 4…実行プログラム保持手段 5…固定プログラムデータ格納手段 6…変更データ格納手段 7…固定プログラムデータロード手段 8…実行プログラム変更手段 9…変更データ転送手段 10…転送コマンド受信手段 11…変更データ保持手段 12…転送コマンド発行手段 13…変更データ転送パス 17,27…ホストコンピュータ 18,28…データベース 19,29…通信制御処理装置 20,30…補助記憶装置 21,22,23…ネットワークプロセッサ 24…メンテナンス・センタ 25…端末装置 26…交換機 311 ,312 …共通メモリ 331 ,332 ,381 ,382 …バスハンドラ 341 ,342 …I/Oデバイス 35…回線切り替え回路 361 ,362 ,363 ,364 …アダプタ 37…伝送路 401 ,402 ,403 …プロセッサ 411 ,412 …システムバス 421 ,422 …I/Oバス 50…バスコントローラ 51…MPU 52…RAM 53…ROM 54…EEPROM 55…デバイスコントローラまたはラインインターフェ
イス 56…ローカルバス[Explanation of Codes] 1 ... Data processing device 2 ... Change data supply means 3 ... Processor 4 ... Execution program holding means 5 ... Fixed program data storage means 6 ... Change data storage means 7 ... Fixed program data loading means 8 ... Execution program change Means 9 ... Change data transfer means 10 ... Transfer command receiving means 11 ... Change data holding means 12 ... Transfer command issuing means 13 ... Change data transfer path 17, 27 ... Host computer 18, 28 ... Database 19, 29 ... Communication control processing device 20, 30 ... Auxiliary storage device 21, 22, 23 ... Network processor 24 ... Maintenance center 25 ... Terminal device 26 ... Switch 31 1 , 31 2 ... Common memory 33 1 , 33 2 , 38 1 , 38 2 ... Bus handler 34 1 , 34 2 ... I / O device 35 ... Line switching circuit 36 1 , 36 2 , 36 3 , 36 4 ... Adapter 37 ... Transmission line 40 1 , 40 2 , 40 3 ... Processor 41 1 , 41 2 ... System bus 42 1 , 42 2 ... I / O bus 50 ... Bus controller 51 ... MPU 52 ... RAM 53 ... ROM 54 ... EEPROM 55 ... Device controller or line interface 56 ... Local bus
Claims (8)
を変更するファームウエア変更システムにおいて、 プログラムを実行するプロセッサ(3)と、 前記プロセッサ(3)によって実行される前記プログラ
ムのデータを保持するための実行プログラム保持手段
(4)と、 固定のプログラムデータを格納する固定プログラムデー
タ格納手段(5)と、前記固定データを変更するための
変更データを格納し、前記データ処理装置(1)の外部
から、前記変更データを書き込み可能である変更データ
格納手段(6)と、 前記固定プログラムデータ格納手段(5)から前記固定
プログラムデータを読み出して、前記固定プログラムデ
ータを実行プログラム保持手段(4)にロードする固定
プログラムデータロード手段(7)と、 前記実行プログラム保持手段(4)内に保持された前記
プログラムデータを、前記変更データ格納手段(6)に
保持された変更データによって変更する実行プログラム
変更手段(8)とを有し、 前記各バージョンに対応する各ブロックは、変更される
べきデータ各々のアドレスと、該バージョンの該アドレ
スの新しいデータと、該バージョンよりもバージョンレ
ベル1つ分だけ古いバージョンの該アドレスのデータと
を含み、 前記実行プログラム変更手段(8)は、前記実行プログ
ラム保持手段(4)内のデータを古いバージョンから新
しいバージョンの順に変更し、 前記実行プログラム変更手段(8)は、 前記実行プログラム保持手段(4)におけるデータの変
更の前に、前記各アドレスの古いバージョンのデータ
と、前記実行プログラム保持手段(4)における同じア
ドレスのデータとを比較する比較手段と、 前記比較手段によって、前記各アドレスの古いバージョ
ンのデータと、前記実行プログラム保持手段(4)にお
ける同じアドレスのデータとが等しくないと決定された
ときには、前記変更処理を停止する異常停止手段とを有
することを特徴とするファームウエア変更システム。 1. A firmware changing system for changing the firmware of a data processing device (1), for holding a processor (3) for executing a program and data of the program executed by the processor (3). An execution program holding means (4), a fixed program data storage means (5) for storing fixed program data, and change data for changing the fixed data, which are external to the data processing device (1). From the change data storage means (6) capable of writing the change data, the fixed program data is read from the fixed program data storage means (5), and the fixed program data is stored in the execution program holding means (4). Fixed program data loading means (7) for loading, and the execution program The program data held in the holding means (4) in, possess an execution program change means (8) to change by changing the data held in the change data storing means (6), corresponding to the respective versions Each block is changed
Address of each data and the address of the version.
New data and version
Data of the address of the old version by one bell
The execution program changing means (8) includes
The data in the RAM holding means (4) is updated from the old version.
The execution program changing means (8) changes the data in the execution program holding means (4).
Before updating, the data of the old version of each address
And the same program in the execution program holding means (4).
The comparing means for comparing the data of the dress and the old version of each address by the comparing means.
In the execution program holding means (4).
It is determined that the data of the same address is not equal
Sometimes, an abnormal stop means for stopping the change process is provided.
A firmware changing system characterized by:
プログラムデータロード手段(7)と、前記実行プログ
ラム変更手段(8)とに、それぞれ対応する複数の部分
プログラムを含み、前記固定プログラムデータロード手
段(7)および前記実行プログラムデータロード手段
(8)は、それぞれ、前記複数のプログラム部分の前記
プロセッサ(3)による実行によって実現される請求項
1記載のファームウエア変更システム。2. The fixed program data includes a plurality of partial programs respectively corresponding to the fixed program data loading means (7) and the execution program changing means (8), and the fixed program data loading means ( 7. The firmware changing system according to claim 1, wherein the execution program data loading means (7) and the execution program data loading means (8) are respectively realized by execution of the plurality of program parts by the processor (3).
られ、前記変更データ格納手段(6)に格納されるべき
変更データを供給する変更データ供給手段(2)を有す
る請求項1記載のファームウエア変更システム。3. A change data supply means (2) provided outside the data processing device (1) for supplying change data to be stored in the change data storage means (6). Firmware change system.
ータを保持する変更データ保持手段(11)と、 前記データ処理装置(1)に転送コマンドを発行する転
送コマンド発行手段(12)とを有し、 前記ファームウエア変更システムは、 前記変更データ保持手段(11)から前記変更データ格
納手段(5)に到る変更データ転送パス(13)を有
し、 前記データ処理装置(1)は、前記転送コマンドを受信
するための転送コマンド受信手段(10)を有し、 前記ファームウエア変更システムは、 前記転送コマンド受信手段(10)が前記転送コマンド
を受信したときに、前記変更データを前記変更データ保
持手段(11)から読み出して、該変更データを、前記
変更データ保持手段(11)から前記変更データ転送パ
ス(13)を介して前記変更データ格納手段(6)に転
送し、該変更データを該変更データ格納手段(6)に書
き込む変更データ転送手段(9)を有する請求項3記載
のファームウエア変更システム。4. The change data supply means (2) includes a change data holding means (11) for holding change data to be stored in the change data storage means (6), and the data processing device (1). And a transfer command issuing unit (12) for issuing a transfer command, wherein the firmware changing system includes a change data transfer path (13) from the change data holding unit (11) to the change data storage unit (5). ), The data processing device (1) includes transfer command receiving means (10) for receiving the transfer command, and the firmware changing system includes the transfer command receiving means (10). When the transfer command is received, the change data is read from the change data holding means (11), and the change data is stored in the change data holding means (11). A change data transfer means (9) for transferring the change data from 1) to the change data storage means (6) through the change data transfer path (13) and writing the change data in the change data storage means (6). Item 3. The firmware changing system according to item 3.
変更データを含み、 前記ファームウエア変更システムは、 前記実行プログラム変更手段(8)に対して、前記実行
プログラム保持手段(4)に保持されるプログラムデー
タを、特定のバージョンまでの変更データによって変更
するように命令する変更バージョンコマンド手段を有
し、 前記実行プログラム変更手段(8)は、前記バージョン
についての命令を受信すると、前記実行プログラム保持
手段(4)に保持されるプログラムデータを、前記特定
のバージョンまでの変更データによって、古いバージョ
ンから新しいバージョンへの順に変更する請求項1記載
のファームウエア変更システム。5. The change data includes change data of a plurality of versions, and the firmware changing system is held by the execution program holding means (4) with respect to the execution program changing means (8). It has a change version command means for instructing to change the program data by the change data up to a specific version, and when the execution program changing means (8) receives the instruction about the version, the execution program holding means. The firmware changing system according to claim 1, wherein the program data held in (4) is changed in order from the old version to the new version by the change data up to the specific version.
前記変更データ格納手段(6)に、前記複数のバージョ
ンにそれぞれ対応して、古いバージョンから新しいバー
ジョンの順に並ぶ複数のブロックに分けて格納され、 前記変更バージョンコマンド手段は、前記特定のバージ
ョンまでの変更データを含むブロックの数によって、前
記バージョンを命令する請求項5記載のファームウエア
変更システム。6. The change data of the plurality of versions includes:
The change data storage means (6) is divided into a plurality of blocks corresponding to the plurality of versions and arranged in the order of the old version to the new version, and the changed version command means stores the plurality of blocks up to the specific version. The firmware change system according to claim 5, wherein the version is commanded according to the number of blocks containing change data.
は、対応するバージョンを示す情報を含み、 前記実行プログラム保持手段(4)は、自らが保持する
プログラムデータが受けた変更のバージョンを示す領域
を有し、 前記実行プログラム変更手段(8)は、前記各ブロック
の変更データによる前記実行プログラム保持手段(4)
のプログラムデータの変更毎に、前記対応するバージョ
ンを示す情報に基づいて、前記受けた変更のバージョン
を示す領域の内容を更新する請求項6記載のファームウ
エア変更システム。7. Each block corresponding to the change data includes information indicating a corresponding version, and the execution program holding means (4) sets an area showing a version of a change received by the program data held by itself. The execution program changing means (8) has the execution program holding means (4) according to the change data of each block.
7. The firmware changing system according to claim 6, wherein the contents of the area indicating the version of the received change are updated based on the information indicating the corresponding version every time the program data is changed.
前記各バージョンに対応する各ブロックによる、実行プ
ログラム保持手段4のプログラムデータの変更の前に、
前記受けた変更のバージョンを示す領域の内容が、該ブ
ロックのバージョンの変更データによって変更されるべ
きバージョンを示すか否かを確認するバージョン確認手
段を有する請求項8記載のファームウエア変更システ
ム。8. The execution program changing means (8) comprises:
Before changing the program data of the execution program holding means 4 by each block corresponding to each version,
9. The firmware changing system according to claim 8, further comprising version confirmation means for confirming whether or not the content of the area indicating the version of the received change indicates the version to be changed by the change data of the version of the block.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP3211004A JPH081594B2 (en) | 1990-08-23 | 1991-08-22 | Firmware change system |
Applications Claiming Priority (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP22179590 | 1990-08-23 | ||
| JP2-221795 | 1990-08-23 | ||
| JP3211004A JPH081594B2 (en) | 1990-08-23 | 1991-08-22 | Firmware change system |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| JPH04357525A JPH04357525A (en) | 1992-12-10 |
| JPH081594B2 true JPH081594B2 (en) | 1996-01-10 |
Family
ID=26518382
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP3211004A Expired - Fee Related JPH081594B2 (en) | 1990-08-23 | 1991-08-22 | Firmware change system |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH081594B2 (en) |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP5290064B2 (en) * | 2009-06-17 | 2013-09-18 | 株式会社東京証券取引所 | Software switching device, software switching method and program thereof |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS63150745A (en) * | 1986-12-16 | 1988-06-23 | Nec Corp | Plural version managing system |
| JPH01228025A (en) * | 1988-03-08 | 1989-09-12 | Nec Corp | Program edition number control system |
-
1991
- 1991-08-22 JP JP3211004A patent/JPH081594B2/en not_active Expired - Fee Related
Also Published As
| Publication number | Publication date |
|---|---|
| JPH04357525A (en) | 1992-12-10 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| EP0472433B1 (en) | Firmware modification system wherein older version can be retrieved | |
| US5689640A (en) | Method and system for downloading data to network nodes | |
| US6681267B2 (en) | Virtual computer system and method for swapping input/output devices between virtual machines and computer readable storage medium | |
| JPH11259284A (en) | Online program update system and computer-readable recording medium recording program update program | |
| US20110283274A1 (en) | Firmware image update and management | |
| US20120110562A1 (en) | Synchronized firmware update | |
| JPH0283601A (en) | Programmable-controller | |
| JPH04367963A (en) | Shared memory communication method | |
| US6498965B2 (en) | System for controlling vending machine | |
| US20070074015A1 (en) | Control apparatus, upgrade method and program product of the same | |
| US11836393B2 (en) | Storage system and control method of migrating storage control unit based on maximum amount of mountable storage control units | |
| EP0477385A1 (en) | Method of resetting adapter module at failing time and computer system executing said method | |
| US11461032B1 (en) | Storage controller replacement and firmware upgrade without service interruption | |
| JP7281275B2 (en) | Module, information processing apparatus including same, and program data update method for updating program data of module | |
| CN115904831A (en) | A method and terminal for starting server firmware | |
| JPH081594B2 (en) | Firmware change system | |
| KR101791039B1 (en) | Mission computer for synchronizing flight plan database and data synchronization method between multiple mission computers | |
| KR20030041605A (en) | Apparatus and method for remote upgrading of program in communication system | |
| JP2853593B2 (en) | Download device | |
| US20250328502A1 (en) | File management system and file management method | |
| JP3479623B2 (en) | Microcomputer device | |
| JP2000029673A (en) | Program control system | |
| JP2001134543A (en) | Electronics | |
| JP2005128629A (en) | Database update method | |
| JP2011039802A (en) | Driver control system and computer system using the same |
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: 19960625 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20080110 Year of fee payment: 12 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20090110 Year of fee payment: 13 |
|
| FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20100110 Year of fee payment: 14 |
|
| LAPS | Cancellation because of no payment of annual fees |