JPH01287738A - Microcomputer application device - Google Patents

Microcomputer application device

Info

Publication number
JPH01287738A
JPH01287738A JP11846688A JP11846688A JPH01287738A JP H01287738 A JPH01287738 A JP H01287738A JP 11846688 A JP11846688 A JP 11846688A JP 11846688 A JP11846688 A JP 11846688A JP H01287738 A JPH01287738 A JP H01287738A
Authority
JP
Japan
Prior art keywords
version
hardware
software
hardware version
storage means
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
JP11846688A
Other languages
Japanese (ja)
Inventor
Hirotomo Kojima
小島 宏智
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.)
Toshiba Corp
Original Assignee
Toshiba 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 Toshiba Corp filed Critical Toshiba Corp
Priority to JP11846688A priority Critical patent/JPH01287738A/en
Publication of JPH01287738A publication Critical patent/JPH01287738A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To perform decision for the suitability of a version by a device itself by providing a version suitability decision means to check whether or not the version of software coincides with that of hardware (it is within an allowable range) in the device. CONSTITUTION:When the power source of the device is applied, the version suitability decision means is started to operate, and reads in the version of the hardware from a hardware version setting means 1 after performing required initialization. Next, the version of the software and that of the hardware operable normally under the version of the software stored in memory means 2 and 3 in advance and read in. Next, it is decided whether or not the version of the hardware read in from the hardware version setting means 1 coincides with that of the hardware read in from the memory means 2 and 3. As a result, when noncoincidence is obtained in each version, a version noncoincidence signal is outputted to an output means 5. In such a way, the fact that no suitability is obtained is outputted to the outside.

Description

【発明の詳細な説明】 [発明の目的コ (産業上の利用分野) 本発明は例えばプロセスコントローラ等に適用される、
マイクロコンピュータを用いた装置に係り、特に装置の
ソフトウェアとハードウェアのバー・ジョンの適合性を
判定する手段を備えたマイクロコンピュータ応用装置に
関する。
[Detailed Description of the Invention] [Object of the Invention (Industrial Application Field) The present invention is applied to, for example, a process controller, etc.
The present invention relates to devices using microcomputers, and particularly to microcomputer-applied devices equipped with means for determining compatibility between software and hardware versions of the device.

(従来の技術) 一般に、マイクロコンピュータを用いた装置は、ソフト
ウェアとハードウェアとに大別できる。
(Prior Art) Generally, devices using microcomputers can be broadly classified into software and hardware.

これらは、両者とも不具合対策、機能向上等の理由によ
り、そのバージョンを適時更新するようにしている。マ
イクロコンピュータは、−膜内にソフトウェアとハード
ウェアとが非常に密着しているため、ハードウェアの変
更がソフトウェアに影響を与えたり、また逆にソフトウ
ェアの変更がハードウェアに影響を与えたりすることが
少なくない。その結果、たび重なるバージョンアップに
より、ソフトウェアとハードウェアとの完全な互換性を
維持できなくなることもしばしばである。
Both of these versions are updated from time to time for reasons such as troubleshooting and functional improvements. Microcomputers - Software and hardware are very close together within the membrane, so changes to the hardware can affect the software, and conversely, changes to the software can affect the hardware. There are quite a few. As a result, frequent version upgrades often make it impossible to maintain complete compatibility between software and hardware.

以上のような事情から、通常はソフトウェアとハードウ
ェアのバージョンの一致を確認した後にユーザーに装置
を提供するようにしているが、希に確認漏れ等によって
、完全な互換性をもたないソフトウェアとハードウェア
とを有する装置を提供してしまうこともある。この相性
の合わない両者によって装置を動作させると、どのよう
な不具合現象が発生するのか予想がつき難く、まして発
生傾度の少ない不具合に対しては、その原因を追及しに
(く多大な時間を費やしてしまうこともある。
Due to the above circumstances, we normally provide the device to the user after confirming that the software and hardware versions match, but in rare cases, due to omissions in confirmation, the software may be completely incompatible. In some cases, a device having hardware may be provided. When a device is operated by these two incompatible components, it is difficult to predict what kind of malfunctions will occur, and it is even more difficult to predict what kinds of malfunctions will occur.In addition, it can take a lot of time to investigate the cause of malfunctions that are less likely to occur. Sometimes I end up spending it.

〈発明が解決しようとする課題) 以上のように従来の装置では、ソフトウェアとハードウ
ェアのバージョンの不一致によって、装置動作後に不具
合が発生するという問題があつた。
<Problems to be Solved by the Invention> As described above, conventional devices have had the problem of malfunctions occurring after the device is operated due to a mismatch between the software and hardware versions.

本発明の目的は、ソフトウェアとハードウェアのバージ
ョンの不一致からくる不具合要因を事前に除去して、装
置動作後における不具合の発生を回避することが可能な
安全でかつ信頼性の高いマイクロコンピュータ応用装置
を提供することにある。
An object of the present invention is to provide a safe and reliable microcomputer-applied device that can prevent the occurrence of defects after the device is operated by eliminating in advance the causes of defects caused by mismatching versions of software and hardware. Our goal is to provide the following.

[発明の構成] (11題を解決するための手段) 上記の目的を達成するために本発明では、マイク0コン
ピユータを用いた装置において、装置のハードウェアの
バージョンを設定するためのハードウェアバージョン設
定手段と、装置のソフトウェアのバージョン、および当
該ソフトウェアバージョンで正常に動作することのでき
るハードウェアのバージョンを予め記憶しておくための
記憶手段と、装置の電源投入により動作を開始して、ハ
ードウェアバージョン設定手段からハードウェアのバー
ジョンを読込むと共に、記憶手段からソフトウェアのバ
ージョンおよびハードウェアのバージョンを読込み、か
つ当該ハードウェアバージョン設定手段からのハードウ
ェアバージョンが記憶手段からのハードウェアバージョ
ンと一致するか否かの判定を行なうバージョン適合性判
定手段と、バージョン適合性判定手段による判定結果を
外部に出力するための出力手段とを備えて構成している
[Structure of the Invention] (Means for Solving the 11 Problems) In order to achieve the above object, the present invention provides a hardware version for setting the hardware version of the device in a device using a microphone 0 computer. a setting means, a storage means for storing in advance the software version of the device, and a hardware version that can operate normally with the software version; The hardware version is read from the hardware version setting means, and the software version and the hardware version are read from the storage means, and the hardware version from the hardware version setting means matches the hardware version from the storage means. The version compatibility determining means is configured to include a version compatibility determining means for determining whether or not to perform the version compatibility determining means, and an output means for outputting the determination result by the version compatibility determining means to the outside.

(作用) 本発明のマイクロコンピュータ応用装置においては、装
置の電源を投入するとバージョン適合性判定手段が動作
を開始し、必要な初期化を11なった後にハードウェア
バージョン設定手段からハードウェアのバージョンを読
込む。次に、記憶手段内に予め記憶されているソフトウ
ェアのバージョン、および当該ソフトウェアバージョン
で正常に動作することのできるハードウェアのバージョ
ンを読込む。次に、ハードウェアバージョン設定手段か
ら読込んだハードウェアバージョンが、記憶手段から読
込んだハードウェアバージョンと一致するか否かを判定
する。この結果、各々のバージョンが一致していれば通
常処理を開始し、また一致していなければ出力手段に対
して「バージョン不一致」という旨の信号を出力するこ
とにより、出力手段によってその旨、すなわちソフトウ
ェアとハードウェアのバージョンが適合していない旨が
外部に出力される。
(Function) In the microcomputer application device of the present invention, when the power of the device is turned on, the version compatibility determining means starts operating, and after the necessary initialization reaches 11, the hardware version is set from the hardware version setting means. Load. Next, a software version previously stored in the storage means and a hardware version that can operate normally with the software version are read. Next, it is determined whether the hardware version read from the hardware version setting means matches the hardware version read from the storage means. As a result, if the versions match, normal processing is started, and if they do not match, a signal to the effect of "version mismatch" is output to the output means. A message indicating that the software and hardware versions are not compatible is output externally.

(実施例) 以下、本発明の一実施例について図面を参照して説明す
る。
(Example) Hereinafter, an example of the present invention will be described with reference to the drawings.

第1図は、本発明によるマイクロコンピュータ応用装置
の構成例を示すブロック図である。本実施例のマイクロ
コンピュータ応用装置は第1図に示す如く、ハードウェ
アバージョン設定手段1と、第1の記憶手段2と、第2
の記憶手段3と、主制罪手段4と、出力手段5とから構
成している。
FIG. 1 is a block diagram showing an example of the configuration of a microcomputer application device according to the present invention. As shown in FIG. 1, the microcomputer application device of this embodiment includes a hardware version setting means 1, a first storage means 2, and a second storage means 2.
It consists of a storage means 3, a main crime control means 4, and an output means 5.

ここで、ハードウェアバージョン設定手段1は、本装置
のハードウェアのバージョンを設定するためのものであ
り、スイッチ入力、パターン入力等種々用いることがで
きる。また、第1の記憶手段2は、本装置のソフトウェ
アのバージョン、および当該ソフトウェアバージョンで
正常に動作することのできるハードウェアのバージョン
を予め記憶して貴くためのものであり、例えばRAMを
用いることができる。さらに、この第1の記憶手段2は
、上記以外にデータの一時記憶等種々の目的で用いられ
るものである。
Here, the hardware version setting means 1 is for setting the version of the hardware of this apparatus, and can be used in various ways such as switch input and pattern input. In addition, the first storage means 2 is for storing in advance the software version of this device and the hardware version that can operate normally with the software version, and for example, uses RAM. I can do it. Furthermore, this first storage means 2 is used for various purposes other than the above, such as temporary storage of data.

一方、第2の記憶手段3は、以下の(a)〜(f)の各
機能を、バージョン適合性判定プログラムとして予め記
憶しておくためのものであり、例えばROMを用いるこ
とができる。また、この第2の記憶手段3は、上記バー
ジョン適合性判定プログラム以外に、装置としての本来
のIII [1!11作プログラムも記憶しているもの
である。
On the other hand, the second storage means 3 is for storing each of the following functions (a) to (f) in advance as a version compatibility determination program, and can use, for example, a ROM. In addition to the above-mentioned version compatibility determination program, the second storage means 3 also stores the original III [1!11 production program for the device.

(a)本装置の電源投入(ON)により動作を開始して
必要部所の初期化を行なう機能。
(a) A function that starts operation when the device is powered on (ON) and initializes necessary parts.

(b)ハードウェアバージョン設定手段1からハードウ
ェアのバージョンを読込む機能。
(b) A function to read the hardware version from the hardware version setting means 1.

(C)第1の記憶手段3からソフトウェアのバージョン
、および当該ソフトウェアバージョンで正常に動作する
ことのできるハードウェアのバージョンを読込む機能。
(C) A function to read from the first storage means 3 a software version and a hardware version that can operate normally with the software version.

(d>ハードウェアバージョン設定手段1からのハード
ウェアバージョンが、第1の記憶手段1からのハードウ
ェアバージョンと一致するか否かの判定を行なう機能。
(d>Function to determine whether the hardware version from the hardware version setting means 1 matches the hardware version from the first storage means 1.

(e)上記(d)による判定の結果、各々のバージョン
が一致していなければ、出力手段5に対して「バージョ
ン不一致」という旨の信号を出力する機能。
(e) A function of outputting a signal indicating "version mismatch" to the output means 5 if the respective versions do not match as a result of the determination in (d) above.

(f)上記(d)による判定の結果、各々のバージョン
が一致していれば、通常処理を開始させるための機能。
(f) A function for starting normal processing if the respective versions match as a result of the determination in (d) above.

ざらに、主制御手段4は、第2の記憶手段3に記憶され
ているバージョン適合性判定プログラム。
In short, the main control means 4 is a version compatibility determination program stored in the second storage means 3.

制御動作プログラムに従って本装置を制御するものであ
り、例えばCPtJおよびその周辺回路からなっている
。さらにまた、出力手段5は、上述の「バージョン不一
致」という旨の内容を外部に出力するものであり、例え
ばLED、CRT、プリンタ等種々用いることができる
It controls the device according to a control operation program, and includes, for example, CPtJ and its peripheral circuits. Furthermore, the output means 5 is for outputting the above-mentioned "version mismatch" to the outside, and various types of devices such as an LED, a CRT, and a printer can be used, for example.

次に、以上の如く溝成したマイクロコンピュータ応用装
置の作用について、第2図に示すフロー図に従って説明
する。
Next, the operation of the microcomputer application device configured as described above will be explained according to the flowchart shown in FIG.

いま、本装置のIIIを投入(ON)すると、主制御手
段4がリセットされてバージョン適合性判定動作を開始
する。なお、装置によってはIIを投入(ON)したた
けでは主制御手段4が動作しない場合もあるが、ここで
は主制御手段4が動作を開始するための手段の一つが電
源投入(ON)ということであり、l p l (■n
1tial  p rogramLoader)と称さ
れる起動等は、ここで言う電源投入(ON)に含まれる
Now, when III of this device is turned on (ON), the main control means 4 is reset and starts the version compatibility determination operation. Note that depending on the device, the main control means 4 may not operate just by turning on (ON) II, but in this case, one of the means for the main control means 4 to start operating is turning on the power (ON). , l p l (■n
1tial program Loader) is included in the power-on (ON) referred to here.

主II 10手段4が動作を開始すると、まず必要部所
の初期化を行なう(ステップ81)。この初期化には、
主制御手段4にあるハードウェア、他のハードウェア、
プログラムのダウンロード、パラメータの設定等積々の
初期化が含まれる。初期化を完了すると、ハードウェア
バージョン設定手段1からハードウェアのバージョンを
読込み記憶する(ステップS2)。
When the main II 10 means 4 starts operating, it first initializes the necessary parts (step 81). This initialization requires
Hardware in the main control means 4, other hardware,
This includes initialization such as downloading the program and setting parameters. When the initialization is completed, the hardware version is read from the hardware version setting means 1 and stored (step S2).

次に、第1の記憶手段2内に予め記憶されているソフト
ウェアのバージョン、および当該ソフトウェアバージョ
ンで正常に動作することのできるハードウェアのバージ
ョンを読込む(ステップ83)。ここで、当然のことな
がら、ソフトウェアバージョンで正常に動作することの
できるハードウェアのバージョンは複数存在することも
ある。
Next, the software version stored in advance in the first storage means 2 and the hardware version that can operate normally with the software version are read (step 83). Here, as a matter of course, there may be multiple versions of hardware that can operate normally with the software version.

また、ソフトウェアはその種類毎に分類されてバージョ
ンを与えていくことの方が多いため、ソフトウェアバー
ジョンも複数存在することもある。
Furthermore, since software is often classified by type and given a version, multiple software versions may exist.

次に、ステップS2でハードウェアバージョン設定手段
1から読込んだハードウェアバージョンが、ステップS
3で第1の記憶手段2から読込んだソフトウェアバージ
ョンで正常に動作することのできるハードウェアバージ
ョンと一致するか否かを判定する(ステップ84)。こ
の結果、各々のバージョンが一致していれば正常に動作
することができるので、通常処理を開始する(ステップ
86)。また、一致していなければ出力手段5に対して
、「バージョン不一致」という旨の信号を出力する(ス
テップ85)。これにより、出力手段5によってその旨
、すなわちソフトウェアとハードウェアのバージョンが
適合していない旨が、LED発光、 、CRT表示、印
字等によって外部に出力される。そして、しかる後に通
常処理を開始する(ステップ86)。なおここで、装置
によっては通常処理を開始しないで、装置の動作を停止
したり、あるいは保守に関する部所のみ動作させたりす
ることもできる。
Next, the hardware version read from the hardware version setting means 1 in step S2 is
It is determined whether the software version read from the first storage means 2 in step 3 matches a hardware version that can operate normally (step 84). As a result, if the versions match, normal operation is possible, and normal processing is started (step 86). If they do not match, a signal indicating "version mismatch" is output to the output means 5 (step 85). As a result, the output means 5 outputs this fact, that is, the fact that the software and hardware versions are not compatible, to the outside through LED light emission, CRT display, printing, etc. After that, normal processing is started (step 86). Note that depending on the device, the operation of the device may be stopped without starting normal processing, or only the parts related to maintenance may be operated.

上述したように、本実施例のマイクロコンピュータ応用
装置では、装置のソフトウェアとハードウェアのバージ
ョンが一致するか否か(許可された範囲内か否か)をチ
エツクするバージョン適合性判定手段を備えているので
、装置をユーザーに提供する前に万が一ソフトウェアと
ハードウェアのバージョンの一致確認漏れがあったよう
な場合でも、バージョンの適合性の判定を装置自身で行
なうことができる。従って、ソフトウェアとハードウェ
アのバージョンの不一致からくる不具合要因を事前に除
去することができ、装置を動作させた後における不具合
の発生を回避することが可能となり、もって安全で極め
て信頼性の高いマイクロコンピュータ応用装置を得るこ
とができる。
As described above, the microcomputer application device of this embodiment includes version compatibility determining means for checking whether the software and hardware versions of the device match (are within the permitted range). Therefore, even if there is a failure to confirm that the software and hardware versions match before the device is provided to the user, the device itself can determine the compatibility of the versions. Therefore, it is possible to eliminate in advance the causes of failures caused by mismatches between software and hardware versions, and to avoid the occurrence of failures after the device has been put into operation. Computer application equipment can be obtained.

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

以上説明したように本発明によれば、ソフトウェアとハ
ードウェアのバージョンの不一致から(る不具合要因を
事前に除去して、装置動作後における不具合の発生を回
避することが可能な安全でかつ極めて信頼性の高いマイ
クロコンピュータ応用装置が提供できる。
As explained above, according to the present invention, it is possible to eliminate in advance the cause of the failure caused by the mismatch between software and hardware versions, and to avoid the occurrence of failure after the device is operated, which is safe and extremely reliable. A microcomputer application device with high performance can be provided.

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

第1図は本発明によるマイクロコンピュータ応用′l装
置の一実茄例を示すブロック図、第2図は同実施例にお
ける作用を説明するためのフロー図である。 1・・・ハードウェアバージョン設定手段、2・・・第
1の記憶手段、3・・・第2の記憶手段、4・・・主制
御手段、5・・・出力手段。
FIG. 1 is a block diagram showing an example of a microcomputer application device according to the present invention, and FIG. 2 is a flow diagram for explaining the operation of the same embodiment. DESCRIPTION OF SYMBOLS 1... Hardware version setting means, 2... First storage means, 3... Second storage means, 4... Main control means, 5... Output means.

Claims (1)

【特許請求の範囲】 マイクロコンピュータを用いた装置において、前記装置
のハードウェアのバージョンを設定するためのハードウ
ェアバージョン設定手段と、前記装置のソフトウェアの
バージョン、および当該ソフトウェアバージョンで正常
に動作することのできるハードウェアのバージョンを予
め記憶しておくための記憶手段と、 前記装置の電源投入により動作を開始して、前記ハード
ウェアバージョン設定手段からハードウェアのバージョ
ンを読込むと共に、前記記憶手段からソフトウェアのバ
ージョンおよびハードウェアのバージョンを読込み、か
つ当該ハードウェアバージョン設定手段からのハードウ
ェアバージョンが前記記憶手段からのハードウェアバー
ジョンと一致するか否かの判定を行なうバージョン適合
性判定手段と、 前記バージョン適合性判定手段による判定結果を外部に
出力するための出力手段と、 を備えて成ることを特徴とするマイクロコンピュータ応
用装置。
[Scope of Claims] A device using a microcomputer includes a hardware version setting means for setting a hardware version of the device, a software version of the device, and a device that operates normally with the software version. storage means for pre-memorizing a hardware version that can be set, and a storage means that starts operation when the device is powered on, reads the hardware version from the hardware version setting means, and reads the hardware version from the storage means; version compatibility determining means for reading a software version and a hardware version and determining whether the hardware version from the hardware version setting means matches the hardware version from the storage means; A microcomputer application device comprising: output means for externally outputting a determination result by the version compatibility determination means.
JP11846688A 1988-05-16 1988-05-16 Microcomputer application device Pending JPH01287738A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11846688A JPH01287738A (en) 1988-05-16 1988-05-16 Microcomputer application device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11846688A JPH01287738A (en) 1988-05-16 1988-05-16 Microcomputer application device

Publications (1)

Publication Number Publication Date
JPH01287738A true JPH01287738A (en) 1989-11-20

Family

ID=14737363

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11846688A Pending JPH01287738A (en) 1988-05-16 1988-05-16 Microcomputer application device

Country Status (1)

Country Link
JP (1) JPH01287738A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0380326A (en) * 1989-08-24 1991-04-05 Rinnai Corp Equipment control circuit
EP0519695A2 (en) * 1991-06-17 1992-12-23 Sun Microsystems, Inc. Method and apparatus for allowing computer circuitry to function with updated versions of computer software
EP0559221A2 (en) * 1992-03-06 1993-09-08 Microsoft Corporation Method for storing programs

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0380326A (en) * 1989-08-24 1991-04-05 Rinnai Corp Equipment control circuit
EP0519695A2 (en) * 1991-06-17 1992-12-23 Sun Microsystems, Inc. Method and apparatus for allowing computer circuitry to function with updated versions of computer software
KR100292005B1 (en) * 1991-06-17 2001-09-17 리패치 Methods and apparatus for allowing computer circuitry to work with updated versions of computer software
EP0559221A2 (en) * 1992-03-06 1993-09-08 Microsoft Corporation Method for storing programs

Similar Documents

Publication Publication Date Title
CN107480011B (en) BIOS switching device
US10922071B2 (en) Centralized off-board flash memory for server devices
CN110809755A (en) Electronic control system
JP2014130562A (en) Electronic device capable of updating basic input/output system and update method
JPH02181677A (en) Test mode switching system for lsi
CN106909382B (en) Method and device for outputting different types of system starting information
JPH01287738A (en) Microcomputer application device
WO2020066552A1 (en) Bmc and method for determining bmc firmware
JPH1040083A (en) Information processor
CN114168205A (en) BIOS firmware verification system, method and device
KR100334792B1 (en) Method for remote down load in network system
JPH09330272A (en) Bios control system
JP2008140343A (en) Electronic apparatus
JP2005128613A (en) Image forming device
JP6554801B2 (en) Redundant communication device and control method thereof
JP2002002419A (en) Electronic control unit for vehicle
WO2023188231A1 (en) Network monitoring system, network monitoring method, and recording medium
JP7477328B2 (en) Control device and control program rewriting method
JPS6339013A (en) Electronic computer
JP2004110220A (en) Method for updating program
CN115238144A (en) Firmware information query method, system, equipment and medium of server
CN113760335A (en) Server device and method for preventing firmware from being unable to be updated again
KR100343175B1 (en) Automatic notification device and method of after-sales service information of electronic equipment
CN115904516A (en) Trust root based baseboard management controller starting method and related components thereof
JPS636613A (en) Power supply application system