JPS61128350A - Version changing device - Google Patents

Version changing device

Info

Publication number
JPS61128350A
JPS61128350A JP59250993A JP25099384A JPS61128350A JP S61128350 A JPS61128350 A JP S61128350A JP 59250993 A JP59250993 A JP 59250993A JP 25099384 A JP25099384 A JP 25099384A JP S61128350 A JPS61128350 A JP S61128350A
Authority
JP
Japan
Prior art keywords
version
ram
rom
ram3
versions
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
JP59250993A
Other languages
Japanese (ja)
Inventor
Hiroya Yoshida
浩也 吉田
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.)
Omron Corp
Original Assignee
Omron Tateisi Electronics Co
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 Omron Tateisi Electronics Co filed Critical Omron Tateisi Electronics Co
Priority to JP59250993A priority Critical patent/JPS61128350A/en
Publication of JPS61128350A publication Critical patent/JPS61128350A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To initialize a RAM precisely at the replacement of a ROM of which version is updated by updating the version of the RAM in accordance with the version of the ROM when the difference of versions between the ROM and RAM is decided. CONSTITUTION:When a P-ROM2 in a version A is supported to be used, the version of a RAM3 is set up also to the version A. When a power supply is turned off, a P-ROM in a version B is replaced by a P-ROM of which version is updated and then the power supply is turned on again, the version of the ROM2 is compared with that of the RAM3. Since the versions A, B of the ROM2 and the RAM3 are different, version change is decided. Then, all areas of the RAM3 are cleared and initialized and the version of the RAM3 is updated to the version B. Thus, the automatic clear routine is ended.

Description

【発明の詳細な説明】 (a)技術分野 この発明はマイクロコンピュータにおけるバッテリバッ
クアップされたRAMのバージョン変更装置に関する。
DETAILED DESCRIPTION OF THE INVENTION (a) Technical Field The present invention relates to a battery-backed RAM version changing device in a microcomputer.

申)発明の概要 例えばATMを構成するメカで、硬貨の入出金を受は持
つ硬貨処理部においては、処・環部内を複・数の部分に
分けて硬貨枚数を管理している。硬貨が各部分に何枚存
在しているかを示すデータは電源が0FF10Nされて
も記憶しておく4qがあるため、枚数記憶手段としては
バッテリーバックアンプされた0MO3等のRAMを用
いる。本発明に係るバージ9ン変更装置は、RAMのバ
ージョンとROMのバージョンを比較し、バージラン不
一致のときはROMのバージョンアンプと判断して、す
べてのRAMエリアを自動的にクリアし、かつRAMの
バージョンをROMのバージョンに更新するようにした
ものである。
Summary of the Invention For example, in a mechanism constituting an ATM, in a coin processing section that receives and receives coins, the number of coins is managed by dividing the inside of the processing section into multiple sections. Since the data indicating how many coins are present in each part has 4q to be stored even if the power is turned OFF/OFF, a RAM such as 0MO3 with battery back-amplification is used as the number storage means. The version change device according to the present invention compares the RAM version and the ROM version, and when the version does not match, it determines that it is a ROM version amplifier, automatically clears all RAM areas, and The version is updated to the ROM version.

(C1従来技術とその欠点 RAM、ROMを有する機器で電源0FF10Nされた
後も以前の機器状態をRAMに記憶させてお(ことが必
要とされる場合には、RAMをバッテリーバックアップ
している。このようなRAMデータは通常クリアしては
ならないものであるが、ROMをバージョンアンプした
ときにはRAMエリ・アの絶対番地が変化したとき、R
□Mの交換時点でRAMのデータは無意味なものになり
初期化を必要とする。これに対する1つの対策として、
常に記憶しておく必要のあるデータはバージョンアップ
により絶対番地の変化しない場所、例えばRAMエリア
の先頭にセットすることが考えられる。しかし、これで
は機器の仕様変更に捧い、常時記憶しておくべきデータ
が多くなる場合に対処することができない。また、他の
対策として、マニュアル操作でRAMをクリアする手段
を設けておき、−ROM交換時に作業者がクリアを実行
して初期化する方式が考えられるが、クリアを怠ったり
クリア操作に手間を要したりする問題がある。
(C1 Prior Art and Its Disadvantages) Even after the power is turned OFF/OFF in devices with RAM and ROM, the previous device state is stored in the RAM (if this is required, the RAM is backed up by a battery). Normally, such RAM data should not be cleared, but when the ROM is version-amplified and the absolute address of the RAM area changes, R
□When M is replaced, the data in the RAM becomes meaningless and requires initialization. As one measure against this,
It is conceivable to set data that needs to be always stored at a location where the absolute address does not change due to version upgrade, for example, at the beginning of the RAM area. However, this cannot cope with cases where a large amount of data needs to be constantly stored due to changes in equipment specifications. Another possible countermeasure is to provide a means to manually clear the RAM, and then have the worker clear and initialize it when replacing the ROM. There are some problems that require it.

(d)発明の目的 この発明の目的は上述の点に鑑み、ROMをバージョン
アップしたとき、バッテリーバックアップしているRA
Mのエリアを自動的にクリアすることのできるバージョ
ン変更装置を提供することにある。
(d) Purpose of the Invention In view of the above-mentioned points, the purpose of the invention is to
To provide a version change device that can automatically clear an area of M.

(81発明の構成および効果 この発明は、ROMのバージョンに対応してRA’Mエ
リアにバージョンを設定し、電源オン時にROMとRA
Mのバージョンを比較する比較手段と、その比較手段に
よってROMとRAMのバージョンが相違していると判
断したときすべてのRAMエリアをクリアしてRAMの
バージョンをROMのバージョンに合わせて更新する手
段とを有することを特徴する。
(81 Structure and Effect of the Invention This invention sets a version in the RAM area corresponding to the ROM version, and when the power is turned on, the ROM and RA
A comparison means for comparing versions of M, and a means for clearing all RAM areas and updating the RAM version to match the ROM version when the comparison means determines that the ROM and RAM versions are different. It is characterized by having the following.

上記構成によりこの発明によれば、ROMのバージョン
とRAMのバージョンとを比較してバージョンが異なる
ときはすべてのRAM工iすニア・を自動的にクリアす
るので、バージョンアンプしたROMの交換時にRAM
の初期化を確実に行うことができる。
With the above configuration, according to the present invention, when the ROM version and the RAM version are compared and the versions are different, all RAM settings are automatically cleared.
can be reliably initialized.

(f)実施例 、第2図は本発明を適用したATVの硬貨処理部のブロ
ック図である。
(f) Embodiment FIG. 2 is a block diagram of a coin processing section of an ATV to which the present invention is applied.

制御系はCPU1.P−ROM2.RAM3からなるマ
イクロコンピュータシステムで構成されている。RAM
3はCMO3からなり、バッテリー4でバックアップさ
れている。パラレルインターフェイスアダプタ(PIA
)は、硬貨処理用メカ部7に設けたセンサ、モータ、ソ
レノイド等の電装部品6とCP! を間をインターフェ
イスするためのものである。    − 第3図はRAMの構成図である。先頭番地M1は、いず
れのバージョンのP−ROMのプログラムでRAMが使
用されているかを示すバージョンの記憶子リアに割り当
てられている。M2は常時記憶しておくべき硬貨枚数デ
ータの記憶エリアである。硬貨処理部の各部分に存在し
ている硬貨の枚数データは、電源が0FF10Nされて
も、バッテリーバックアップにより記憶エリアM2に記
憶保持される。
The control system is CPU1. P-ROM2. It is composed of a microcomputer system consisting of RAM3. RAM
3 consists of CMO3 and is backed up by battery 4. Parallel Interface Adapter (PIA)
) is electrical components 6 such as sensors, motors, solenoids, etc. installed in the coin processing mechanical section 7 and CP! It is intended for interfacing between - Figure 3 is a diagram showing the configuration of RAM. The first address M1 is assigned to the memory child rear of the version that indicates which version of the P-ROM program uses the RAM. M2 is a storage area for coin number data that should be stored at all times. The data on the number of coins existing in each part of the coin processing section is stored and held in the storage area M2 by battery backup even if the power is turned off.

次にRAMエリアの自動クリア動作を説明する。第1図
はRAMエリアの自動クリアルーチンを示している。
Next, the automatic clearing operation of the RAM area will be explained. FIG. 1 shows the automatic clearing routine of the RAM area.

いま、 ′A゛AoジョンのP−ROM2が使用されて
いるとすると、RAM3のバージョンも “Aoにセッ
トされている。ここで、電源をオフし、“B°バージョ
ンにバージジンアップしたP−ROMと交換した後、再
び電源をオンする。と、プログラムはステップnl(以
下ステップn’t4単にniという。)以下のRAMエ
リア自動クリアルーチンを走る。まず、RAM3のバー
ジョンをリードする(nl)。続いてP−ROMのバー
ジョンとRAMのバージョンとを比較する(n2)。両
者は:A°のバージョンと“B゛のバーヒョ2、ンで相
違しているため、バージョン変更と判断する。続いてR
AM3のすべてのエリアをクリアして初期化するととも
にRAM3のバージョンを“B′にバージョンアップす
る(n3.n4)。これにより自動クリアルーチンを終
了しプログラムは次のステップに進む。
Now, assuming that P-ROM2 of 'A゛Ao version is being used, the version of RAM3 is also set to 'Ao.'Here, turn off the power and set the P-ROM that has been virgin upgraded to 'B° version. After replacing the ROM, turn on the power again. Then, the program executes a RAM area automatic clear routine starting from step nl (hereinafter simply referred to as step n't4). First, the version of RAM3 is read (nl). Next, the P-ROM version and RAM version are compared (n2). Since there is a difference between the version of A° and version 2 of "B", it is determined that the version has changed.Next, the version of R
All areas of AM3 are cleared and initialized, and the version of RAM3 is upgraded to "B" (n3.n4).The automatic clear routine is thus ended and the program proceeds to the next step.

次にバージョンアップ後、再び電源がオフされ、さらに
オンされたとすると、上記の自動クリアルーチンにより
、RAMとP−ROMのバージョンを比較する。この場
合両者は“B°バージョンで一致しているので、RAM
エリアのクリアを行なわずに終了し次のステップに進む
。以上の動作により、P−ROMのバージョンアップ時
のみすべてのRAMエリアのクリアを実行することがで
きる。また、上記のように、バージョンアップにより絶
対番地の変わるRAMエリアに常時記憶すべき硬貨枚数
データをストアするため、データ記憶量に規制を受けず
バージョン変更に伴い硬貨枚数データの量が増加しても
十分に対処することができる。
Next, when the power is turned off and then turned on again after the version upgrade, the versions of the RAM and P-ROM are compared by the automatic clear routine described above. In this case, since both versions match in “B° version,” the RAM
Exit without clearing the area and proceed to the next step. With the above operation, all RAM areas can be cleared only when upgrading the P-ROM. In addition, as mentioned above, since the coin number data that should always be stored is stored in the RAM area whose absolute address changes with version upgrades, the amount of coin number data increases with version changes without being subject to restrictions on data storage capacity. can also be adequately addressed.

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

第1図は本発明を適用したATMの硬貨処理部のブロッ
ク図、第2図は同硬貨処理部のRAMエリアを示す図、
第3図は同硬貨処理部におけるバージョン変更の具体的
動作を示すフローチャートである。
FIG. 1 is a block diagram of the coin processing unit of an ATM to which the present invention is applied, and FIG. 2 is a diagram showing the RAM area of the coin processing unit.
FIG. 3 is a flowchart showing the specific operation of version change in the coin processing section.

Claims (1)

【特許請求の範囲】[Claims] (1)バッテリーバックアップされたRAMと、ROM
を備えた機器において、ROMのバージョンに対応して
RAMエリアにバージョンを設定し、電源オン時にRO
MとRAMのバージョンを比較する比較手段と、その比
較手段によってROMとRAMのバージョンが相違して
いると判断したときすべてのRAMエリアをクリアして
RAMのバージョンをROMのバージョンに合わせて更
新する手段とを有してなるバージョン変更装置。
(1) Battery-backed RAM and ROM
In devices equipped with
A comparison means for comparing M and RAM versions, and when it is determined by the comparison means that the ROM and RAM versions are different, all RAM areas are cleared and the RAM version is updated to match the ROM version. A version changing device comprising means.
JP59250993A 1984-11-27 1984-11-27 Version changing device Pending JPS61128350A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP59250993A JPS61128350A (en) 1984-11-27 1984-11-27 Version changing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP59250993A JPS61128350A (en) 1984-11-27 1984-11-27 Version changing device

Publications (1)

Publication Number Publication Date
JPS61128350A true JPS61128350A (en) 1986-06-16

Family

ID=17216062

Family Applications (1)

Application Number Title Priority Date Filing Date
JP59250993A Pending JPS61128350A (en) 1984-11-27 1984-11-27 Version changing device

Country Status (1)

Country Link
JP (1) JPS61128350A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01183729A (en) * 1988-01-18 1989-07-21 Citizen Watch Co Ltd Printer containing automatic initializing function of memory

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58134353A (en) * 1982-02-05 1983-08-10 Nec Corp Microprocessor device with battery back-up memory
JPS58176721A (en) * 1982-04-08 1983-10-17 Yokogawa Hokushin Electric Corp Power recovering system of industrial instrument

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS58134353A (en) * 1982-02-05 1983-08-10 Nec Corp Microprocessor device with battery back-up memory
JPS58176721A (en) * 1982-04-08 1983-10-17 Yokogawa Hokushin Electric Corp Power recovering system of industrial instrument

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01183729A (en) * 1988-01-18 1989-07-21 Citizen Watch Co Ltd Printer containing automatic initializing function of memory

Similar Documents

Publication Publication Date Title
US6055632A (en) Method and apparatus for transferring firmware to a non-volatile memory of a programmable controller system
US6763454B2 (en) System for allocating resources in a computer system
US10162646B2 (en) System for programmably configuring a motherboard
US20010042243A1 (en) Arrangements having firmware support for different processor types
JPH07117920B2 (en) Method and apparatus for updating firmware resident in electrically erasable programmable read-only memory
KR100280637B1 (en) Computer system capable of data update of fixed flash ROM and its control method
JP3310990B2 (en) Electronics
US20030106052A1 (en) System and method for high availability firmware load
US6401201B2 (en) Arrangements offering firmware support for different input/output (I/O) types
CN113934471A (en) Baseboard management controller of computer system and starting method
WO1996002034A1 (en) Updating firmware
KR100225518B1 (en) Apparatus for initializing node address of ipc and method
JPS61128350A (en) Version changing device
CN101207382A (en) Data collocation system, method and related apparatus
JPH07191835A (en) Computer system
US6604194B1 (en) Program updating method and apparatus for communication terminal system
US20220357960A1 (en) Method of remotely modifying basic input/output system configuration setting
US6622245B1 (en) Firmware field programming interface and module for programming non-volatile memory on a circuit board while isolating the processor from power using expansion bus controller
US20040010643A1 (en) Method for providing multiple configurations in a computer system with multiple components
KR102422226B1 (en) Air conditioner system's central control apparatus and method for update software thereof
JPH10187454A (en) Bios reloading system
CN117311768B (en) System and method for dynamically reconfiguring FPGA firmware
JP3024597B2 (en) CPU device and method of using the same
JPH07281986A (en) Extended board, information processor using the same and control method for peripheral device
JPH0566937A (en) Data processor and data processing change method