JP2000330779A - System and method for remotely updating firmware program - Google Patents

System and method for remotely updating firmware program

Info

Publication number
JP2000330779A
JP2000330779A JP11137836A JP13783699A JP2000330779A JP 2000330779 A JP2000330779 A JP 2000330779A JP 11137836 A JP11137836 A JP 11137836A JP 13783699 A JP13783699 A JP 13783699A JP 2000330779 A JP2000330779 A JP 2000330779A
Authority
JP
Japan
Prior art keywords
firmware program
old
version
new
firmware
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
JP11137836A
Other languages
Japanese (ja)
Inventor
Chizuko 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.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP11137836A priority Critical patent/JP2000330779A/en
Publication of JP2000330779A publication Critical patent/JP2000330779A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To reduce a download time, to improve reliability, to reduce memory capacity and to independently restore a system even though the start of the system fails. SOLUTION: This firmware program remote updating system for performing download from a base station to a remote device to update a firmware program is provided with a nonvolatile memory 31 which stores the firmware program of a new version by updating the old part of a stored firmware program of an old version to the new part of the firmware program of a new version and has a save area 31A for saving the old part of the firmware program of the old version and fault processing parts 33 and 33A which rewrite the new part of the firmware program of the new version of the old part of the firmware of the old version in the save area and for performing start with the firmware of the old version when the start of the firmware program of the new version stored in the nonvolatile memory fails.

Description

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

【0001】[0001]

【産業上の利用分野】本発明はファームウエアプログラ
ム遠隔更新システム及び方法に関する。特に、本発明
は、ダウンロードの時間の短縮、これに伴う信頼性向上
を図り、メモリ容量の削減化を図り、ダウンロードに失
敗しても自立で復旧可能であるファームウエアプログラ
ム遠隔更新システム及び方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a system and method for remotely updating a firmware program. In particular, the present invention relates to a firmware program remote update system and method capable of shortening download time, improving reliability associated with the download time, reducing memory capacity, and autonomously recovering even if download fails. .

【0002】[0002]

【従来の技術】基地局と無線回線で接続される遠隔装置
では、プログラムの機能追加、バグ対処等で不揮発性メ
モリのROM(Read Only Memory)に
書き込まれたファームウエアプログラムの変更が発生す
る場合がある。このような場合、従来のファームウエア
プログラム遠隔更新システムでは、新しい版数のファー
ムウエアプログラムが基地局から遠隔装置に無線回線を
介してダウンロードされていた。新版のファームウエア
プログラムは揮発性メモリのRAM(Random A
ccess Memory)に一時ダウンロードされ、
その後、ROMに書き込まれていた。
2. Description of the Related Art In a remote device connected to a base station via a wireless line, a change in a firmware program written in a ROM (Read Only Memory) of a non-volatile memory occurs due to addition of a program function or bug handling. There is. In such a case, in the conventional firmware program remote update system, a new version of the firmware program has been downloaded from the base station to the remote device via a wireless line. The new version of the firmware program is a volatile memory RAM (Random A
access memory).
Then it was written to ROM.

【0003】[0003]

【発明が解決しょうとする課題】しかしながら、上記の
従来のファームウエアプログラム遠隔更新システムで
は、新版のファームウエアプログラムが大きい場合には
そのダウンロードに時間がかかるという第1の問題があ
る。このため、遠隔装置がオンライン動作中にダウンロ
ードがあると、遠隔装置の運用制御の妨げとなる。新版
のファームウエアプログラムが大きい場合にはそのダウ
ンロードには、ファームウエアプログラムと同等以上の
RAMの容量を確保する必要があるという第2の問題が
ある。
However, the above-mentioned conventional firmware program remote updating system has a first problem that when a new version of the firmware program is large, it takes time to download the firmware program. Therefore, if there is a download while the remote device is online, operation control of the remote device is hindered. When the new version of the firmware program is large, there is a second problem that it is necessary to secure a RAM capacity equal to or greater than that of the firmware program when downloading the new version.

【0004】新版のファームウエアプログラムのダウン
ロード時にダウンロード失敗に気づかずに、RAMから
ROMへの書き込みを行ってしまった場合に、新版のフ
ァームウエアプログラム自体が壊れているため、新版の
ファームウエアプログラムの立ち上げが自立ではできな
いという第3の問題ある。ファームウエアプログラム自
体が壊れているため、基地局から再度ファームウエアプ
ログラムのダウンロードを要求することもできない。し
たがって、本発明は上記問題点に鑑みて、ダウンロード
の時間の短縮、これに伴う信頼性向上を図り、メモリ容
量の削減化を図り、ダウンロード失敗に伴う立ち上げが
失敗しても自立で復旧可能であるファームウエアプログ
ラム遠隔更新システム及び方法を提供することを目的と
する。
[0004] When writing from the RAM to the ROM without noticing the download failure when downloading the new version of the firmware program, the new version of the firmware program itself is broken. There is a third problem that startup cannot be performed by itself. Since the firmware program itself is broken, it is impossible to request the download of the firmware program again from the base station. Accordingly, the present invention has been made in view of the above-described problems, thereby shortening the download time, improving the reliability associated therewith, reducing the memory capacity, and being able to recover independently even if the startup due to the download failure fails. It is an object of the present invention to provide a firmware program remote update system and method.

【0005】[0005]

【課題を解決するための手段】本発明は前記問題点を解
決するために、基地局から遠隔装置にダウンロードを行
ってファームウエアプログラムを更新するためのファー
ムウエアプログラム遠隔更新システムにおいて、格納さ
れる旧版のファームウエアプログラムの旧部分を、ダウ
ンロードされた新版のファームウエアプログラムの新部
分に更新することにより新版のファームウエアプログラ
ムを格納し、前記旧版のファームウエアプログラムの旧
部分を退避するための退避領域を有する不揮発性メモリ
と、前記不揮発性メモリに格納された前記新版のファー
ムウエアプログラムの立ち上げに失敗したとき、前記新
版のファームウエアプログラムの新部分を前記退避領域
における前記旧版のファームウエアの旧部分に書き換え
て旧版のファームウエアプログラムで立ち上げを行わせ
るための障害処理部とを備えることを特徴とするファー
ムウエアプログラム遠隔更新システムを提供する。
SUMMARY OF THE INVENTION In order to solve the above problems, the present invention is provided in a firmware program remote update system for updating a firmware program by downloading from a base station to a remote device. Update the old part of the old version firmware program to the new part of the downloaded new version firmware program to store the new version firmware program and save the old part of the old version firmware program. A non-volatile memory having an area, and, when the launch of the new version of the firmware program stored in the non-volatile memory fails, a new part of the new version of the firmware program is replaced with the old version of the firmware in the save area. Replace old version with old version Providing firmware program remote updating system characterized by comprising a fault recovery processing unit for causing the rise in air program.

【0006】この手段により、新版のファームウエアプ
ログラムの新部分だけをダウンロードするので、ダウン
ロードの時間が短縮できる。このため、信頼性向上が図
れる。旧版のファームウエアプログラムの旧部分をバッ
クアップとするので、新版のファームウエアプログラム
の立ち上げに失敗しても自立で復元可能である。好まし
くは、前記不揮発性メモリの前記退避領域には、前記基
地局から送信される前記新版のファームウエアプログラ
ムの前記新部分に関するアドレス情報に基づいて前記旧
版のファームウエアプログラムにおける旧部分の退避が
行われる。この手段により、前記旧版のファームウエア
プログラムの旧部分はアドレス情報により特定される。
By this means, only the new part of the new version of the firmware program is downloaded, so that the download time can be reduced. Therefore, reliability can be improved. Since the old part of the old version of the firmware program is used as a backup, even if the startup of the new version of the firmware program fails, it can be restored independently. Preferably, the evacuation area of the old firmware program is saved in the save area of the nonvolatile memory based on address information on the new part of the new firmware program transmitted from the base station. Will be By this means, the old part of the old version of the firmware program is specified by the address information.

【0007】好ましくは、前記基地局は前記遠隔装置に
前記旧版のファームウエアプログラムの版数について情
報を要求し、この要求に基づいて、前記アドレス情報を
遠隔装置に送信する。この手段により、新版のファーム
ウエアプログラムの新部分、旧版のファームウエアプロ
グラムの旧部分を特定する情報を得ることが可能にな
る。好ましくは、前記基地局は前記新版のファームウエ
アプログラムの前記新部分を分割して前記遠隔装置に送
信する。この手段により、ダウンロードすべきデータが
多い場合にオンライン制御の妨げにならなくなる。
[0007] Preferably, the base station requests information on the version number of the old version of the firmware program from the remote device, and transmits the address information to the remote device based on the request. By this means, it is possible to obtain information for specifying the new part of the new version of the firmware program and the old part of the old version of the firmware program. Preferably, the base station splits the new part of the new version of the firmware program and sends it to the remote device. By this means, when there is much data to be downloaded, it does not hinder online control.

【0008】好ましくは、前記旧版のファームウエアプ
ログラムの旧部分が揮発性メモリに一時転送され、転送
後に前記揮発性メモリから前記不揮発性メモリの前記退
避領域に前記旧部分の退避が行われる。この手段によ
り、旧部分だけの退避なので、揮発性メモリ容量の削減
化が実現可能になる。好ましくは、前記新版のファーム
ウエアプログラムの前記新部分が揮発性メモリに一時ダ
ウンロードされ、ダウンロードされた前記新部分により
前記不揮発性メモリにおける前記旧版のファームウエア
プログラムの前記旧部分が書き換えられて、新版のファ
ームウエアプログラムへの更新が行われる。この手段に
より、新部分だけのダウンロードなので、揮発性メモリ
容量の削減化が実現可能になる。
Preferably, the old part of the old version of the firmware program is temporarily transferred to a volatile memory, and after the transfer, the old part is saved from the volatile memory to the save area of the nonvolatile memory. By this means, only the old part is saved, so that the volatile memory capacity can be reduced. Preferably, the new part of the new version of the firmware program is temporarily downloaded to a volatile memory, and the old part of the old version of the firmware program in the non-volatile memory is rewritten by the downloaded new part, thereby obtaining a new version. The firmware program is updated. By this means, only the new part is downloaded, so that the volatile memory capacity can be reduced.

【0009】好ましくは、前記退避領域における前記旧
版のファームウエアの前記旧部分が揮発性メモリに一時
転送され、転送された前記旧部分により前記不揮発性メ
モリにおける前記新版のファームウエアプログラムの前
記新部分が書き換えられて、旧版のファームウエアプロ
グラムに戻す処理が行われる。この手段により、旧部分
だけの転送なので、揮発性メモリ容量の削減化が実現可
能になる。好ましくは、前記揮発メモリへの一時転送、
又は、一時ダウンロード時に、割り込み禁止が行われ
る。この手段により、他の処理による誤動作を防止可能
になる。
Preferably, the old part of the old version firmware in the save area is temporarily transferred to a volatile memory, and the new part of the new version firmware program in the nonvolatile memory is transferred by the transferred old part. Is rewritten, and a process of returning to the old version of the firmware program is performed. By this means, since only the old part is transferred, the reduction of the volatile memory capacity can be realized. Preferably, temporary transfer to the volatile memory,
Alternatively, at the time of temporary downloading, interrupt prohibition is performed. By this means, it is possible to prevent malfunction due to other processing.

【0010】好ましくは、前記新版のファームウエアプ
ログラムの前記新部分がダウンロードされる前にプログ
ラム変更のフラグをセットし、前記障害処理部は、前記
新版のファームウエアプログラムの立ち上げ失敗時且
つ、前記プログラム変更のフラグのセット時に、前記新
版のファームウエアプログラムの前記新部分を前記旧版
のファームウエアの前記旧部分に書き換える。この手段
により、ダウンロード時以外の立ち上げ失敗時に無用な
書き換えが防止できる。
[0010] Preferably, a program change flag is set before the new part of the new version of the firmware program is downloaded, and the failure processing unit is configured to execute when the startup of the new version of the firmware program fails and When the program change flag is set, the new part of the new version of the firmware program is rewritten with the old part of the old version of the firmware. By this means, useless rewriting can be prevented when startup has failed except at the time of downloading.

【0011】さらに、本発明は、基地局から遠隔装置に
ダウンロードを行ってファームウエアプログラムを更新
するためのファームウエアプログラム遠隔更新方法にお
いて、格納される旧版のファームウエアプログラムの旧
部分を、ダウンロードされた新版のファームウエアプロ
グラムの新部分に更新することにより新版のファームウ
エアプログラムを不揮発性メモリに格納し、前記旧版の
ファームウエアプログラムの旧部分を前記不揮発性メモ
リの退避領域に退避する工程と、前記不揮発性メモリに
格納された前記新版のファームウエアプログラムの立ち
上げに失敗したとき、前記新版のファームウエアプログ
ラムの新部分を前記退避領域における前記旧版のファー
ムウエアの旧部分に書き換えて旧版のファームウエアプ
ログラムで立ち上げを行わせる工程とを備えることを特
徴とするファームウエアプログラム遠隔更新方法を提供
する。この手段により、上記発明と同様に、ダウンロー
ドの時間の短縮、これに伴う信頼性向上を図り、メモリ
容量の削減化を図り、立ち上げに失敗しても自立で復元
可能となる。
Further, according to the present invention, in a firmware program remote updating method for updating a firmware program by downloading from a base station to a remote device, an old part of the stored old version of the firmware program is downloaded. Storing the new version of the firmware program in a non-volatile memory by updating the new version of the firmware program to a new portion, and saving the old portion of the old version of the firmware program to a save area of the non-volatile memory; When the launch of the new version of the firmware program stored in the non-volatile memory fails, the new version of the new version of the firmware program is replaced with the old version of the old version of the firmware in the save area, and the old version of the firmware is rewritten. Start with a wear program Providing firmware program remote update method characterized by comprising the step of causing the. By this means, as in the above-described invention, the download time can be reduced, the reliability associated with the download time can be improved, the memory capacity can be reduced, and even if startup fails, restoration can be performed independently.

【0012】[0012]

【発明の実施の形態】以下、本発明の実施の形態につい
て図面を参照して説明する。図1は本発明に係るファー
ムウエアプログラム遠隔更新システムを説明する概略ブ
ロック図である。本図に示すように、ファームウエアプ
ログラム遠隔更新システムには基地局1と遠隔装置3と
が無線回線2を介して接続されている。基地局1は基地
局装置10、保守センタ11、外部記憶装置12で構成
される。基地局装置10は遠隔装置3の遠隔制御を行な
い、保守センタ11はシステムの制御、運用監視を行
う。
Embodiments of the present invention will be described below with reference to the drawings. FIG. 1 is a schematic block diagram illustrating a firmware program remote update system according to the present invention. As shown in the figure, a base station 1 and a remote device 3 are connected to a firmware program remote update system via a wireless line 2. The base station 1 includes a base station device 10, a maintenance center 11, and an external storage device 12. The base station device 10 performs remote control of the remote device 3, and the maintenance center 11 controls and monitors operation of the system.

【0013】外部記憶装置12は不揮発性データを格納
する媒体であり、更新用の新版のファームウエアプログ
ラムを格納する。また、保守センタ11は基地局装置1
0に対し、遠隔装置3のファームウエアプログラムを外
部記憶装置12に格納されている新版のファームウエア
プログラムに更新するように指示する。基地局装置10
には無線制御部110が設けられ、無線制御部110は
遠隔装置3との間の通信手段である無線の制御を行う。
また、基地局装置10には制御部113が設けられ、制
御部113は基地局装置10全体の制御を行い、保守セ
ンタ11からファームウエアプログラムの更新の指令を
受けた場合、遠隔装置3の遠隔制御を行う。
The external storage device 12 is a medium for storing non-volatile data, and stores a new firmware program for updating. The maintenance center 11 is a base station device 1
0, the firmware program of the remote device 3 is instructed to be updated to a new version of the firmware program stored in the external storage device 12. Base station device 10
Is provided with a wireless control unit 110, and the wireless control unit 110 controls wireless communication as communication means with the remote device 3.
Further, the base station apparatus 10 is provided with a control unit 113. The control unit 113 controls the entire base station apparatus 10, and when receiving a firmware program update command from the maintenance center 11, the remote unit 3 Perform control.

【0014】また、基地局装置10には不揮発性メモリ
のROM(Read Only Memory)11
1、揮発性メモリのRAM(Random Acces
s Memory)112が設けられ、ROM111は
無線制御部110、制御部113の制御プログラムを格
納し、RAM112は無線制御部110、制御部113
のワークエリアを形成する。さらに、制御部113に
は、更新部113Aが設けられ、更新部113Aは遠隔
装置3のファームウエアプログラムを更新する際に旧版
のファームウエアプログラムについて旧部分のバックア
ップをとるように遠隔装置3に指示する。また、更新部
113Aは旧版のファームウエアプログラムのアドレス
情報を管理する。
The base station apparatus 10 has a nonvolatile memory ROM (Read Only Memory) 11.
1. Volatile RAM (Random Accesses)
s Memory) 112, the ROM 111 stores control programs for the wireless control unit 110 and the control unit 113, and the RAM 112 stores the wireless control unit 110 and the control unit 113.
Form a work area. Further, the control unit 113 is provided with an update unit 113A, and the update unit 113A instructs the remote device 3 to take a backup of the old part of the old version of the firmware program when updating the firmware program of the remote device 3. I do. The update unit 113A manages address information of the old firmware program.

【0015】さらに、制御部113には分割指示部11
3Bが設けられ、分割指示部113Bは、外部記憶装置
12に格納されている新版のファームウエアプログラム
の新部分を遠隔装置3に送信する際に、送信すべきデー
タを分割して送信する。分割送信するのは、送信する際
に、遠隔装置3のオンライン制御の妨げにならないよう
にするためである。遠隔装置3には無線制御部30が設
けられ、無線制御部30は基地局装置10との間の通信
制御である無線の制御を行う。また、遠隔装置3には制
御部33が設けられ、制御部33は遠隔装置3の全体の
制御、基地局1からの指令に基づく制御を行なう。
Further, the control unit 113 includes the division instructing unit 11
3B, the division instructing unit 113B divides data to be transmitted when transmitting a new part of the new version of the firmware program stored in the external storage device 12 to the remote device 3. The divisional transmission is performed so as not to hinder online control of the remote apparatus 3 when transmitting. The remote device 3 is provided with a wireless control unit 30, and the wireless control unit 30 performs wireless control as communication control with the base station device 10. Further, the remote unit 3 is provided with a control unit 33, and the control unit 33 performs overall control of the remote unit 3 and control based on a command from the base station 1.

【0016】また、遠隔装置3には、不揮発性メモリの
ROM31が設けられ、ROM31は無線制御部30、
制御部33の制御プログラムを格納しその一部はファー
ムウエアプログラムとして格納される。このファームウ
エアプログラムには、プログラムの機能追加、バグ対処
等で変更が発生する。また、遠隔装置3には揮発性のR
AM32が設けられ、RAM32は無線制御部30、制
御部33のワークエリアを形成する。さらに、RAM3
2には変更作業領域32Aが設けられ、変更作業領域3
2Aは自装置制御に影響を与えず且つ自装置制御から影
響を受けない領域であり、基地局1から指示された旧版
のファームウエアプログラムの旧部分をバックアップ用
として一次的に転送される。このように、旧版のファー
ムウエアプログラムの旧部分が一時転送されるだけなの
で、新版のファームウエアプログラムが大きくても、変
更作業領域32Aの容量は大きくならない。
Further, the remote device 3 is provided with a non-volatile memory ROM 31.
A control program of the control unit 33 is stored, and a part of the control program is stored as a firmware program. This firmware program is changed due to addition of a program function, handling of a bug, and the like. The remote device 3 has a volatile R
An AM 32 is provided, and the RAM 32 forms a work area for the wireless control unit 30 and the control unit 33. Furthermore, RAM3
2, a change work area 32A is provided.
An area 2A does not affect the control of the own apparatus and is not affected by the control of the own apparatus. The old part of the old version of the firmware program specified by the base station 1 is temporarily transferred as a backup. As described above, since the old part of the old version firmware program is only temporarily transferred, the capacity of the change work area 32A does not increase even if the new version firmware program is large.

【0017】また、ROM31には退避領域31Aが設
けられ、退避領域31Aは自装置制御に影響を与えず且
つ自装置のオンライン制御から影響を受けない領域であ
り、RAM32の変更作業領域32Aから転送された旧
版のファームウエアプログラムの旧部分をバックアップ
用として格納する。制御部33には更新フラグ33Aが
設けられ、更新フラグ33Aは新版のファームウエアプ
ログラムにおける新部分のダウンロード時にフラグをセ
ットし、フラグがセットされているダウンロード時の立
ち上げ失敗に対してバックアップによる復元が行われ
る。フラグのセットはダウロード時以外の立ち上げ失敗
時に起因する誤復元を防止するためである。
A save area 31A is provided in the ROM 31. The save area 31A is an area which does not affect the control of the apparatus itself and is not affected by the online control of the apparatus, and is transferred from the change work area 32A of the RAM 32. The old part of the old firmware program is stored for backup. The control unit 33 is provided with an update flag 33A. The update flag 33A is set when a new part in the new version of the firmware program is downloaded. Is performed. The setting of the flag is intended to prevent erroneous restoration due to a failure in startup other than during download.

【0018】さらに、制御部33には障害処理部33B
が設けられ、障害処理部33BはROM31の更新され
たファームウエアプログラムを立ち上げに失敗した場合
には、RAM32へのダウンロードが正常に行われず、
ROM31への転送、書き込みが正常に行われなかった
と判断する。そして、障害処理部33Bは、ROM31
の退避領域31Aに格納されている旧版のファームウエ
アプログラムの旧部分をRAM32の変更作業領域32
Aに一時転送する。また、障害処理部33Bは変更作業
領域に一時転送された旧版のファームウエアプログラム
の旧部分によりROM31の書き込みが正常に行われな
かったファームウエアプログラムの書き込みを行う。
Further, the control unit 33 includes a failure processing unit 33B.
When the failure processing unit 33B fails to start the updated firmware program in the ROM 31, the failure processing unit 33B does not normally download the firmware program to the RAM 32,
It is determined that transfer and writing to the ROM 31 have not been performed normally. Then, the failure processing unit 33B
The old part of the old version of the firmware program stored in the save area 31A of the
Transfer to A temporarily. Further, the failure processing unit 33B writes a firmware program whose writing to the ROM 31 has not been performed normally due to the old part of the old version of the firmware program temporarily transferred to the changed work area.

【0019】図2はROM31の退避領域31Aを説明
する図である。本図(a)に示すように、ROM31に
は旧版のファームウエアプログラム(ABC)がアドレ
スx1〜x4に格納されているとする。旧版のファーム
ウエアプログラムが格納されている範囲とは別のアドレ
スx5〜x6の範囲に退避領域31Aが設けられる。旧
版のファームウエアプログラムの全体がABCとしてア
ドレスx2〜アドレスx3の範囲のB部分が旧部分であ
るとした場合、本図(b)に示すように、この旧部分B
は退避領域31Aに退避される。つまり、新版と異なる
旧版とのファームウエアプログラムの差分がバックアッ
プとして自装置内に格納される。
FIG. 2 is a view for explaining the save area 31A of the ROM 31. It is assumed that an old version of the firmware program (ABC) is stored in the ROM 31 at addresses x1 to x4 as shown in FIG. The save area 31A is provided in a range of addresses x5 to x6 different from the range in which the old version firmware program is stored. Assuming that the entire firmware program of the old version is ABC and the B portion in the range of addresses x2 to x3 is the old portion, as shown in FIG.
Is saved in the save area 31A. In other words, the difference between the new version and the old version of the firmware program is stored in the device as a backup.

【0020】新版のファームウエアプログラムの新部分
B’がダウンロードされると、本図(c)に示すよう
に、旧部分Bに代わってROM31に格納される。旧版
と異なる新版のファームウエアプログラムの差分だけ格
納するので、使用されるメモリ容量が小さく、格納時間
も短くなる。新版のファームウエアプログラムでの立ち
上げに失敗すると、本図(d)に示すように、新版のフ
ァームウエアプログラムの新部分B’が退避領域31A
に格納されていた元の部分Bに書き換えられる。このた
め、ROM31には旧版によるファームウエアプログラ
ムが復元され、旧版のファームウエアプログラムの立ち
上げの再開が可能になる。なお、新部分B’、旧部分B
に限らず、複数の新部分、旧部分があってもよい。次
に、基地局1は保守センタ11からの指示に基づき、無
線回線2を介して遠隔装置3に対して、以下のように、
送受信を行う。
When the new part B 'of the new version of the firmware program is downloaded, it is stored in the ROM 31 instead of the old part B, as shown in FIG. Since only the difference between the new version of the firmware program and the old version is stored, the memory capacity used is small and the storage time is short. If the startup of the new version of the firmware program fails, the new part B ′ of the new version of the firmware program is stored in the save area 31A as shown in FIG.
Is rewritten to the original part B stored in. For this reason, the old version of the firmware program is restored in the ROM 31, and the start of the old version of the firmware program can be resumed. Note that the new part B ′ and the old part B
The present invention is not limited to this, and there may be a plurality of new parts and old parts. Next, based on an instruction from the maintenance center 11, the base station 1 sends a command to the remote device 3 via the wireless line 2 as follows:
Send and receive.

【0021】図3は図1の基地局1と遠隔装置3との間
でファームウエア更新を行うための送受信手順例を説明
する図である。本図に示すように、基地局1の基地局装
置10から遠隔装置3に、ファームウエアの版数を確認
するためのデータ読み出し要求が送信される。遠隔装置
3ではROM31からファームウエアウエアの版数のデ
ータが読み出される。遠隔装置3から基地局装置10
に、旧版のファームウエアプログラムの版数のデータ送
信が行われる。
FIG. 3 is a view for explaining an example of a transmission / reception procedure for performing a firmware update between the base station 1 and the remote device 3 in FIG. As shown in the figure, a data read request for confirming the firmware version is transmitted from the base station device 10 of the base station 1 to the remote device 3. The remote device 3 reads out the data of the firmware version number from the ROM 31. From the remote device 3 to the base station device 10
Next, data transmission of the version number of the old firmware program is performed.

【0022】基地局装置10では遠隔装置3のファーム
ウエアプログラムの版数(Version確認)が確認
される。基地局装置10から遠隔装置3に、遠隔装置3
の版数が新版数と一致していない旧版数の場合、ROM
31の旧版のファームウエアプログラムにおける旧部分
をRAM32に一時転送するように要求する。また、旧
部分のROM31のアドレス情報が遠隔装置3に送信さ
れる。これにより、新版のファームウエアプログラムの
新部分、旧版のファームウエアプログラムの旧部分を特
定する情報を得ることができる。遠隔装置3ではROM
31の旧版のファームウエアプログラムにおける旧部分
(旧Versionデータ)がRAM32の変更作業領
域32Aに一時転送される。
In the base station apparatus 10, the version number (version confirmation) of the firmware program of the remote apparatus 3 is confirmed. The remote device 3 is transmitted from the base station device 10 to the remote device 3.
If the version number of the old version does not match the new version, the ROM
A request is made to temporarily transfer the old part of the old firmware program 31 to the RAM 32. Further, the address information of the old ROM 31 is transmitted to the remote device 3. As a result, it is possible to obtain information for specifying the new part of the new version of the firmware program and the old part of the old version of the firmware program. ROM in remote device 3
The old part (old Version data) of the old version 31 of the firmware program is temporarily transferred to the change work area 32A of the RAM 32.

【0023】遠隔装置3から基地局装置10に、転送が
正常に行われた旨の結果の応答が行われる。基地局装置
10では遠隔装置3からの結果の確認が行われる。基地
局装置10から遠隔装置3に、変更作業領域32Aに転
送された新版のファームウエアプログラムの新部分をR
OM31に格納するようにダウンロードの要求が行われ
る。ファームウエアプログラムが大きい場合には、ファ
ームウエアプログラム全体のダウンロードではなく、更
新すべき部分だけのダウンロードなのでダウンロードの
時間が短縮され、障害発生の頻度を少なくでき、信頼性
が向上する。
The remote device 3 sends a response to the base station device 10 indicating that the transfer has been normally performed. In the base station device 10, the result from the remote device 3 is confirmed. The new part of the new version of the firmware program transferred from the base station device 10 to the remote
A download request is made to store the data in the OM 31. When the firmware program is large, only the part to be updated is downloaded instead of downloading the entire firmware program, so that the download time is shortened, the frequency of failure occurrence can be reduced, and the reliability is improved.

【0024】遠隔装置3では、ダウンロードされたRA
M32の変更作業領域32AからROM31の退避領域
31Aに旧版のファームウエアプログラムの旧部分が格
納される。遠隔装置3から基地局装置10に、格納が正
常に行われた旨の結果の応答が行われる。基地局装置1
0では遠隔装置3からの結果の確認が行われる。基地局
装置10から遠隔装置3に、新版のファームウエアプロ
グラムの新部分がRAM32にダウンロードされる。制
御部113の分割指示部113Bは、正常応答を確認し
つつ、新版のファームウエアプログラムにおける新部分
の分割データを、ダウンロードが終了するまで、繰り返
し実行する。
In the remote device 3, the downloaded RA
The old part of the old version of the firmware program is stored from the change work area 32A of the M32 to the save area 31A of the ROM 31. The remote device 3 sends a response to the base station device 10 indicating that the storage has been normally performed. Base station device 1
At 0, the result from the remote device 3 is confirmed. The new part of the new version of the firmware program is downloaded from the base station apparatus 10 to the remote apparatus 3 to the RAM 32. The division instructing unit 113B of the control unit 113 repeatedly executes the divisional data of the new part in the new version of the firmware program until the download is completed, while confirming the normal response.

【0025】同時に、基地局装置10から遠隔装置3
に、RAM32に転送された新版のファームウエアプロ
グラムの新部分をROM31に格納する要求が行われ
る。遠隔装置3では基地局装置10からRAM32の変
更作業領域32Aに一時転送された新版のファームウエ
アプログラムの新部分がROM31に格納されている旧
版のファームウエアプログラムに格納される。遠隔装置
3から基地局装置10に、格納が正常に行われた旨の結
果の応答が行われる。
At the same time, the remote device 3
Next, a request is made to store the new part of the new version of the firmware program transferred to the RAM 32 in the ROM 31. In the remote device 3, a new part of the new version firmware program temporarily transferred from the base station device 10 to the change work area 32 A of the RAM 32 is stored in the old version firmware program stored in the ROM 31. The remote device 3 sends a response to the base station device 10 indicating that the storage has been normally performed.

【0026】基地局装置10では遠隔装置3からの結果
の確認が行われる。基地局装置10から遠隔装置3に、
ROM31を立ち上げる要求を行う。遠隔装置3ではR
OM31に格納された新ファームウエアプログラムの立
ち上げを行う。遠隔装置3では立ち上げ失敗(NG)の
場合には、ROM31の退避領域31Aに格納されてい
る旧ファームウエアプログラムの旧部分がRAM32の
変更作業領域に転送される。変更作業領域32Aに転送
された旧版のファームウエアプログラムの旧部分がRO
M31の立ち上げに失敗した新版のファームウエアプロ
グラムに書き込まれ格納され、ROM31が更新前に戻
る。
In the base station device 10, the result from the remote device 3 is confirmed. From the base station device 10 to the remote device 3,
A request to start up the ROM 31 is made. R in remote unit 3
The new firmware program stored in the OM 31 is started. In the case where the remote device 3 fails to start (NG), the old part of the old firmware program stored in the save area 31A of the ROM 31 is transferred to the change work area of the RAM 32. The old part of the old firmware program transferred to the change work area 32A is RO
The new version of the firmware program that failed to start M31 is written and stored, and the ROM 31 returns to the state before the update.

【0027】遠隔装置3では更新前のROM31の旧フ
ァームウエアプログラムが起動される。遠隔装置3から
基地局装置10に旧版(旧Version)の通知が行
われる。基地局装置10では遠隔装置3からの結果の確
認が行われる。図4〜図6は図1における制御部33の
一連の動作例を説明するフローチャートである。本図に
おいて;ステップS1において、制御部33は初期設定
処理を行う。
In the remote device 3, the old firmware program in the ROM 31 before the update is started. The remote device 3 notifies the base station device 10 of the old version (old Version). In the base station device 10, the result from the remote device 3 is confirmed. 4 to 6 are flowcharts illustrating a series of operation examples of the control unit 33 in FIG. In this figure; in step S1, the control unit 33 performs an initial setting process.

【0028】ステップS2において、遠隔装置3から基
地局装置10に、ファームウエアプログラムの動作開始
と、動作版数とが通知される。この通知があると、基地
局装置10からは種々の要求が行われる。ステップS3
において、制御部33は基地局装置10からの要求につ
いてイベント解析を行う。ステップS4において、上記
のイベント解析により、制御部33は版数読出要求があ
るかの判断を行う。
In step S2, the remote device 3 notifies the base station device 10 of the start of the operation of the firmware program and the operation version number. Upon receiving this notification, various requests are made from the base station device 10. Step S3
In, the control unit 33 performs an event analysis on the request from the base station device 10. In step S4, the control unit 33 determines whether there is a version number read request by the above event analysis.

【0029】ステップS5において、上記要求があれ
ば、制御部33はROM31から版数を読み出す処理を
行う。ステップS6において、制御部33はステップS
5で読み出したデータをステップS8又はステップS9
で応答するRAM32に転送する。ステップS7におい
て、制御部33は制御が正常に終了したかについてデー
タをチェックする。
In step S5, if there is the above request, the control unit 33 performs a process of reading the version number from the ROM 31. In step S6, the control unit 33 executes step S6.
The data read in step 5 is stored in step S8 or step S9.
Is transferred to the RAM 32 which responds. In step S7, the control unit 33 checks data on whether the control has been completed normally.

【0030】ステップS8、S9において、制御部33
は、正常な結果の応答、又は不適切(NG)な結果の応
答を基地局装置10に送信させる。送信後にステップS
3に戻る。ステップS10において、制御部33は、ス
テップS4の要求処理が終了していれば、旧版のバック
アップデータの格納要求があるかの判断を行う。
In steps S8 and S9, the control unit 33
Causes the base station apparatus 10 to transmit a response with a normal result or a response with an inappropriate (NG) result. Step S after sending
Return to 3. In step S10, if the request processing in step S4 has been completed, the control unit 33 determines whether there is a request to store old version backup data.

【0031】ステップS11において、上記要求があれ
ば、制御部33は、ROM31の変更されるべき範囲
と、変更されるべき範囲を示すアドレス情報を受信し、
割り込みの禁止を行う。割り込み禁止を行うのは、以下
の転送処理中に他の処理による誤動作を防止するためで
ある。ステップS12において、制御部33は、受信し
たアドレス情報に基づいて、ROM31の旧部分をRA
M32の変更作業領域32Aへ転送する。ステップS1
3において、制御部33は、変更作業領域32Aに転送
された旧部分を退避領域31Aへ格納して退避させる。
その後、ステップS7に進む。
In step S11, if there is the above request, the control unit 33 receives the range of the ROM 31 to be changed and the address information indicating the range to be changed,
Disable interrupts. The purpose of disabling the interrupt is to prevent a malfunction due to other processing during the following transfer processing. In step S12, the control unit 33 stores the old part of the ROM 31 in the RA based on the received address information.
M32 is transferred to the change work area 32A. Step S1
In 3, the control unit 33 stores the old part transferred to the change work area 32A in the save area 31A and saves it.
Thereafter, the process proceeds to step S7.

【0032】ステップS14において、制御部33は割
り込みを許可する。ステップS15において、制御部3
3は、ステップS10の要求処理が終了していれば、R
AM32への新版のファームウエアプログラムのダウン
ロード要求があるかの判断を行う。ステップS16にお
いて、上記要求があれば、基地局10からのダウンロー
ド要求のデータフォーマットチェックを行う。データフ
ォーマットが正しくなければ、ステップS9に進む。
In step S14, the control unit 33 permits interruption. In step S15, the control unit 3
3 is R if the request processing in step S10 has been completed.
It is determined whether there is a request to download a new version of the firmware program to the AM32. In step S16, if there is the above request, the data format of the download request from the base station 10 is checked. If the data format is not correct, go to step S9.

【0033】ステップS17において、上記ダウンロー
ドが正常に終了していれば、制御部33は割り込みを禁
止する。割り込み禁止を行うのは、以下の転送処理中に
他の処理による誤動作を防止するためである。ステップ
S18において、制御部33は、新版のファームウエア
プログラムの新部分を変更作業領域32Aに転送する。
ステップS19において、制御部33は割り込みを許可
する。ステップS20において、制御部33は書き込み
データのチェックを行い、ステップS7に進む。
In step S17, if the download has been completed normally, the control unit 33 prohibits interruption. The purpose of disabling the interrupt is to prevent a malfunction due to other processing during the following transfer processing. In step S18, the control unit 33 transfers the new part of the new version of the firmware program to the change work area 32A.
In step S19, the control unit 33 permits interruption. In step S20, the control unit 33 checks the write data, and proceeds to step S7.

【0034】ステップS21において、制御部33は、
ステップS15の要求処理が終了していれば、ROM3
1への格納要求があるかの判断を行う。ステップS22
において、上記要求があれば、制御部33の更新フラグ
33Aはプログラム変更のフラグをセットする。ステッ
プS23において、制御部33は割り込み禁止を行う。
割り込み禁止を行うのは、以下の転送処理中に他の処理
による誤動作を防止するためである。ステップS24に
おいて、制御部33は変更作業領域32AからROM3
1の変更部に新版のファームウエアプログラムの変更部
を転送して書き換える。
In step S21, the control unit 33
If the request processing in step S15 has been completed, the ROM 3
It is determined whether or not there is a storage request for No. 1. Step S22
In this case, if there is the above request, the update flag 33A of the control unit 33 sets a program change flag. In step S23, the control unit 33 disables the interrupt.
The purpose of disabling the interrupt is to prevent a malfunction due to other processing during the following transfer processing. In step S24, the control unit 33 sends the ROM 3
1 is transferred to the changed part of the new version firmware program and rewritten.

【0035】ステップS25において、制御部33は割
り込みを許可する。その後、ステップS20に進む。ス
テップS26において、制御部33は、ステップS21
の要求処理が終了していれば、基地局装置10から立ち
上げ要求があるかの判断を行う。立ち上げ要求に対して
は、新版のファームウエアプログラムで立ち上げを行
う。立ち上げ要求が無ければ、ステップS3に戻り、立
ち上げ要求を待つ。
In step S25, the control unit 33 permits interruption. Thereafter, the process proceeds to step S20. In step S26, the control unit 33 executes step S21.
Is completed, it is determined whether there is a start-up request from the base station apparatus 10. In response to a start-up request, start up with a new version of the firmware program. If there is no start-up request, the process returns to step S3 and waits for a start-up request.

【0036】ステップS27において、制御部33の障
害処理部33Bは上記立ち上げが失敗かを監視する。ス
テップS28において、制御部33は、上記立ち上げが
失敗であれば、プログラム変更フラグがセット済みかを
判断する。制御部33は、プログラム変更フラグがセッ
トされていなければ、ステップS3に戻り、ステップS
22を経由する処理を行わせる。ステップS29におい
て、上記フラグセット済みの場合には、制御部33は割
り込み禁止を行う。割り込み禁止を行うのは、以下の転
送処理中に他の処理による誤動作を防止するためであ
る。
In step S27, the failure processing unit 33B of the control unit 33 monitors whether the start-up has failed. In step S28, if the startup has failed, the control unit 33 determines whether the program change flag has been set. If the program change flag has not been set, the control unit 33 returns to step S3 and returns to step S3.
22 is performed. If the flag has been set in step S29, the control unit 33 disables the interrupt. The purpose of disabling the interrupt is to prevent a malfunction due to other processing during the following transfer processing.

【0037】ステップS30において、制御部33はR
OM31の退避領域31AからRAM32の変更作業領
域32Aへ旧ファームウエアプログラムの旧部分を転送
する。ステップS31において、ROM31における新
版のファームウエアプログラムの変更部にRAM32の
変更作業領域32Aから旧ファームウエアプログラムの
変更部を転送して書き換える。このようにして、旧版の
ファームウエアプログラムに復元が行われる。このた
め、上位装置である基地局1を介さずに復元が可能であ
る。ステップS32において、制御部33は割り込みを
許可する。その後、ステップS20に進む。
At step S30, the control unit 33 sets R
The old part of the old firmware program is transferred from the save area 31A of the OM 31 to the change work area 32A of the RAM 32. In step S31, the change section of the old firmware program is transferred from the change work area 32A of the RAM 32 to the change section of the new firmware program in the ROM 31 and rewritten. In this way, the restoration is performed to the old version of the firmware program. For this reason, restoration can be performed without the intervention of the base station 1, which is a higher-level device. In step S32, the control unit 33 permits interruption. Thereafter, the process proceeds to step S20.

【0038】ステップS33において、ステップS26
で立ち上げに成功すれば、制御部33の障害処理部33
Bはプログラム更新フラグをリセットして、処理を終了
する。
In step S33, step S26
If the startup is successful, the failure processing unit 33 of the control unit 33
B resets the program update flag and ends the process.

【0039】[0039]

【発明の効果】以上説明したように、本発明によれば、
オンライン動作中の遠隔装置のファームウエアプログラ
ムを変更するときに、旧版のファームウエアプログラム
の変更差分をバックアップしておき、ファームウエアプ
ログラムの変更差分をダウンロードすることで、ファー
ムウエアプログラムのダウンロード時間が短縮でき、こ
れに伴って信頼性が向上する。
As described above, according to the present invention,
When changing the firmware program of a remote device that is running online, back up the changes in the old firmware program and download the changes in the firmware program to reduce the download time of the firmware program. And reliability is improved accordingly.

【0040】また、ファームウエアプログラムが大きく
なっても、使用する揮発性メモリ容量も小さくでき、コ
スト低減化が可能になる。その上、データのダウンロー
ド、ファームウエアプログラムのデータの書き込みミス
等によるファームウエアプログラムの更新が不適切であ
ることに気がつかず、遠隔装置の立ち上げが失敗して
も、旧版のファームウエアプログラムの変更差分をバッ
クアップとしているため、上位装置を介さずに短時間で
旧版のファームウエアプログラムに復元が可能である。
Further, even if the firmware program becomes large, the capacity of the volatile memory to be used can be reduced, and the cost can be reduced. In addition, even if the firmware program is not updated properly due to data download, firmware program data writing error, etc. Since the difference is used as a backup, it is possible to restore the old version of the firmware program in a short time without going through a host device.

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

【図1】本発明に係るファームウエアプログラム遠隔更
新システムを説明する概略ブロック図である。
FIG. 1 is a schematic block diagram illustrating a firmware program remote update system according to the present invention.

【図2】ROM31の退避領域31Aを説明する図であ
る。
FIG. 2 is a diagram illustrating a save area 31A of a ROM 31.

【図3】図1の基地局1と遠隔装置3との間でファーム
ウエア更新を行うための送受信手順例を説明する図であ
る。
FIG. 3 is a diagram illustrating an example of a transmission / reception procedure for performing a firmware update between the base station 1 and the remote device 3 in FIG.

【図4】図1における制御部33の一連の動作例を説明
するフローチャートである。
FIG. 4 is a flowchart illustrating a series of operation examples of a control unit 33 in FIG. 1;

【図5】図1における制御部33の一連の動作例を説明
するフローチャートである。
FIG. 5 is a flowchart illustrating a series of operation examples of a control unit 33 in FIG. 1;

【図6】図1における制御部33の一連の動作例を説明
するフローチャートである。
FIG. 6 is a flowchart illustrating a series of operation examples of a control unit 33 in FIG. 1;

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

1…基地局 2…無線回線 3…遠隔装置 10…基地局装置 11…保守センタ 12…外部記憶装置 30…無線制御部 31…ROM 31A…退避領域 32…RAM 32A…変更作業領域 33…制御部 33A…更新フラグ 33B…障害処理部 110…無線制御部 111…ROM 112…RAM 113…制御部 113A…更新部 113B…分割指示部 DESCRIPTION OF SYMBOLS 1 ... Base station 2 ... Wireless line 3 ... Remote device 10 ... Base station device 11 ... Maintenance center 12 ... External storage device 30 ... Wireless control unit 31 ... ROM 31A ... Evacuation area 32 ... RAM 32A ... Change work area 33 ... Control unit 33A Update flag 33B Failure processing unit 110 Wireless control unit 111 ROM 112 RAM 113 Control unit 113A Update unit 113B Division instruction unit

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】 基地局から遠隔装置にダウンロードを行
ってファームウエアプログラムを更新するためのファー
ムウエアプログラム遠隔更新システムにおいて、 格納される旧版のファームウエアプログラムの旧部分
を、ダウンロードされた新版のファームウエアプログラ
ムの新部分に更新することにより新版のファームウエア
プログラムを格納し、前記旧版のファームウエアプログ
ラムの旧部分を退避するための退避領域を有する不揮発
性メモリと、 前記不揮発性メモリに格納された前記新版のファームウ
エアプログラムの立ち上げに失敗したとき、前記新版の
ファームウエアプログラムの新部分を前記退避領域にお
ける前記旧版のファームウエアの旧部分に書き換えて旧
版のファームウエアプログラムで立ち上げを行わせるた
めの障害処理部とを備えることを特徴とするファームウ
エアプログラム遠隔更新システム。
1. A firmware program remote updating system for updating a firmware program by downloading from a base station to a remote device, wherein a stored old version of the firmware program is replaced with a downloaded new version of the firmware. A non-volatile memory storing a new version of the firmware program by updating to a new part of the firmware program, and having a save area for saving the old part of the old version of the firmware program; and When the launch of the new version of the firmware program fails, the new portion of the new version of the firmware program is replaced with the old portion of the old version of the firmware in the save area, and the launch of the old version of the firmware program is performed. Failure handling for Firmware program remote updating system characterized in that it comprises and.
【請求項2】 前記不揮発性メモリの前記退避領域に
は、前記基地局から送信される前記新版のファームウエ
アプログラムの前記新部分に関するアドレス情報に基づ
いて前記旧版のファームウエアプログラムにおける旧部
分の退避が行われることを特徴とする、請求項1に記載
のファームウエアプログラム遠隔更新システム。
2. An evacuation area of the old version of the firmware program is stored in the save area of the nonvolatile memory based on address information on the new part of the new version of the firmware program transmitted from the base station. 2. The firmware program remote update system according to claim 1, wherein:
【請求項3】 前記基地局は前記遠隔装置に前記旧版の
ファームウエアプログラムの版数について情報を要求
し、この要求に基づいて、前記アドレス情報を遠隔装置
に送信することを特徴とする、請求項2に記載のファー
ムウエアプログラム遠隔更新システム。
3. The method according to claim 1, wherein the base station requests the remote device for information on the version number of the old firmware program, and transmits the address information to the remote device based on the request. Item 3. A firmware program remote update system according to Item 2.
【請求項4】 前記基地局は前記新版のファームウエア
プログラムの前記新部分を分割して前記遠隔装置に送信
することを特徴とする、請求項1に記載のファームウエ
アプログラム遠隔更新システム。
4. The firmware program remote updating system according to claim 1, wherein the base station divides the new part of the new version of the firmware program and transmits the new part to the remote device.
【請求項5】 前記旧版のファームウエアプログラムの
旧部分が揮発性メモリに一時転送され、転送後に前記揮
発性メモリから前記不揮発性メモリの前記退避領域に前
記旧部分の退避が行われることを特徴とする、請求項1
に記載のファームウエアプログラム遠隔更新システム。
5. An old part of the old version of the firmware program is temporarily transferred to a volatile memory, and after the transfer, the old part is saved from the volatile memory to the save area of the nonvolatile memory. Claim 1
The remote update system of the firmware program according to 1.
【請求項6】 前記新版のファームウエアプログラムの
前記新部分が揮発性メモリに一時ダウンロードされ、ダ
ウンロードされた前記新部分により前記不揮発性メモリ
における前記旧版のファームウエアプログラムの前記旧
部分が書き換えられて、新版のファームウエアプログラ
ムへの更新が行われることを特徴とする、請求項1に記
載のファームウエアプログラム遠隔更新システム。
6. The new part of the new version of the firmware program is temporarily downloaded to a volatile memory, and the old part of the old version of the firmware program in the non-volatile memory is rewritten by the downloaded new part. The firmware program remote update system according to claim 1, wherein the firmware program is updated to a new version.
【請求項7】 前記退避領域における前記旧版のファー
ムウエアの前記旧部分が揮発性メモリに一時転送され、
転送された前記旧部分により前記不揮発性メモリにおけ
る前記新版のファームウエアプログラムの前記新部分が
書き換えられて、旧版のファームウエアプログラムに戻
す処理が行われることを特徴とする、請求項1に記載の
ファームウエアプログラム遠隔更新システム。
7. The old part of the old version firmware in the save area is temporarily transferred to a volatile memory,
2. The process according to claim 1, wherein the new part of the new version of the firmware program in the nonvolatile memory is rewritten by the transferred old part, and a process of returning to the old version of the firmware program is performed. Firmware program remote update system.
【請求項8】 前記揮発メモリへの一時転送、又は、一
時ダウンロード時に、割り込み禁止が行われることを特
徴とする、請求項5、6、7のいずれか1つの請求項に
記載のファームウエアプログラム遠隔更新システム。
8. The firmware program according to claim 5, wherein interrupts are disabled during temporary transfer to the volatile memory or temporary download. Remote update system.
【請求項9】 前記新版のファームウエアプログラムの
前記新部分がダウンロードされる前にプログラム変更の
フラグをセットし、前記障害処理部は、前記新版のファ
ームウエアプログラムの立ち上げ失敗時且つ、前記プロ
グラム変更のフラグのセット時に、前記新版のファーム
ウエアプログラムの前記新部分を前記旧版のファームウ
エアの前記旧部分に書き換えることを特徴とする、請求
項1に記載のファームウエアプログラム遠隔更新システ
ム。
9. A program change flag is set before the new part of the new version of the firmware program is downloaded, and the failure processing unit is configured to execute the program when the startup of the new version of the firmware program fails and 2. The firmware program remote updating system according to claim 1, wherein when the change flag is set, the new part of the new version of the firmware program is rewritten with the old part of the old version of the firmware.
【請求項10】 基地局から遠隔装置にダウンロードを
行ってファームウエアプログラムを更新するためのファ
ームウエアプログラム遠隔更新方法において、 格納される旧版のファームウエアプログラムの旧部分
を、ダウンロードされた新版のファームウエアプログラ
ムの新部分に更新することにより新版のファームウエア
プログラムを不揮発性メモリに格納し、前記旧版のファ
ームウエアプログラムの旧部分を前記不揮発性メモリの
退避領域に退避する工程と、 前記不揮発性メモリに格納された前記新版のファームウ
エアプログラムの立ち上げに失敗したとき、前記新版の
ファームウエアプログラムの新部分を前記退避領域にお
ける前記旧版のファームウエアの旧部分に書き換えて旧
版のファームウエアプログラムで立ち上げを行わせる工
程とを備えることを特徴とするファームウエアプログラ
ム遠隔更新方法。
10. A firmware program remote updating method for updating a firmware program by downloading from a base station to a remote device, wherein the stored old version of the firmware program is replaced with the downloaded new version of the firmware. Storing a new version of the firmware program in a non-volatile memory by updating to a new part of the firmware program, and saving the old part of the old version of the firmware program to a save area of the non-volatile memory; When the launch of the new version of the firmware program stored in the firmware fails, the new portion of the new version of the firmware program is replaced with the old portion of the old version of the firmware in the save area, and the old version of the firmware program is started. Work to raise Firmware program remote update method characterized by comprising and.
JP11137836A 1999-05-18 1999-05-18 System and method for remotely updating firmware program Pending JP2000330779A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11137836A JP2000330779A (en) 1999-05-18 1999-05-18 System and method for remotely updating firmware program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11137836A JP2000330779A (en) 1999-05-18 1999-05-18 System and method for remotely updating firmware program

Publications (1)

Publication Number Publication Date
JP2000330779A true JP2000330779A (en) 2000-11-30

Family

ID=15207973

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11137836A Pending JP2000330779A (en) 1999-05-18 1999-05-18 System and method for remotely updating firmware program

Country Status (1)

Country Link
JP (1) JP2000330779A (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002007171A (en) * 2000-06-20 2002-01-11 Nec Eng Ltd Prom switching control system
JP2002318632A (en) * 2001-04-20 2002-10-31 Tempearl Ind Co Ltd Remote update system for program data of terminal equipment
KR20020088573A (en) * 2001-05-18 2002-11-29 엘지전자 주식회사 Firmware upgrade method for digital player
JP2004213201A (en) * 2002-12-27 2004-07-29 Fujitsu Ltd How to upgrade
US6892381B2 (en) 2000-12-13 2005-05-10 Samsung Electronics Co., Ltd. Updating a device driver with mechanism employing two files one containing changes (variable file) and a file containing unchanged code (invariable file) downloading both to update
JP2005196745A (en) * 2003-12-10 2005-07-21 Ricoh Co Ltd Information processing apparatus, program recovery method, program recovery program, and recording medium
JP2005202774A (en) * 2004-01-16 2005-07-28 Mitsubishi Electric Corp Production facility maintenance system, production facility control device, and information processing device
JP2006508432A (en) * 2002-11-12 2006-03-09 イノパス・ソフトウェアー・インコーポレーテッド Electronic file upgrade including automatic recovery from failures and mistakes that occurred during the upgrade
WO2006075576A1 (en) * 2005-01-11 2006-07-20 Matsushita Electric Industrial Co., Ltd. Secure device and system for issuing ic cards
JP2007156744A (en) * 2005-12-02 2007-06-21 Hitachi Ltd Distributed monitoring and control system
JP2007219883A (en) * 2006-02-17 2007-08-30 Sony Ericsson Mobilecommunications Japan Inc Mobile terminal device and software update method
US7363622B2 (en) 2001-03-30 2008-04-22 Matsushita Electric Industrial Co., Ltd. Remote program downloading system
CN100456246C (en) * 2007-01-23 2009-01-28 北京映翰通网络技术有限公司 Method and device for updating firmware program
JP2013232767A (en) * 2012-04-27 2013-11-14 Seiko Epson Corp Communication device, image formation device, information processing method and program of the same
WO2015079560A1 (en) * 2013-11-29 2015-06-04 富士機械製造株式会社 Data update method for circuit substrate work system and circuit substrate work system
CN105759746B (en) * 2014-12-18 2018-07-27 深圳市深蓝电子股份有限公司 The online updating method of DDC controller control strategies based on Lonworks communication protocols
CN112256298A (en) * 2020-09-25 2021-01-22 深圳星标科技股份有限公司 Remote firmware upgrade method and device for visual navigation aids

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002007171A (en) * 2000-06-20 2002-01-11 Nec Eng Ltd Prom switching control system
US6892381B2 (en) 2000-12-13 2005-05-10 Samsung Electronics Co., Ltd. Updating a device driver with mechanism employing two files one containing changes (variable file) and a file containing unchanged code (invariable file) downloading both to update
US7363622B2 (en) 2001-03-30 2008-04-22 Matsushita Electric Industrial Co., Ltd. Remote program downloading system
JP2002318632A (en) * 2001-04-20 2002-10-31 Tempearl Ind Co Ltd Remote update system for program data of terminal equipment
KR20020088573A (en) * 2001-05-18 2002-11-29 엘지전자 주식회사 Firmware upgrade method for digital player
JP2006508432A (en) * 2002-11-12 2006-03-09 イノパス・ソフトウェアー・インコーポレーテッド Electronic file upgrade including automatic recovery from failures and mistakes that occurred during the upgrade
JP2004213201A (en) * 2002-12-27 2004-07-29 Fujitsu Ltd How to upgrade
JP2005196745A (en) * 2003-12-10 2005-07-21 Ricoh Co Ltd Information processing apparatus, program recovery method, program recovery program, and recording medium
JP2005202774A (en) * 2004-01-16 2005-07-28 Mitsubishi Electric Corp Production facility maintenance system, production facility control device, and information processing device
WO2006075576A1 (en) * 2005-01-11 2006-07-20 Matsushita Electric Industrial Co., Ltd. Secure device and system for issuing ic cards
JP4806639B2 (en) * 2005-01-11 2011-11-02 パナソニック株式会社 Secure device and IC card issuing system
US7428992B2 (en) 2005-01-11 2008-09-30 Matsushita Electric Industrial Co., Ltd. Secure device and system for issuing IC cards
JP2007156744A (en) * 2005-12-02 2007-06-21 Hitachi Ltd Distributed monitoring and control system
JP2007219883A (en) * 2006-02-17 2007-08-30 Sony Ericsson Mobilecommunications Japan Inc Mobile terminal device and software update method
EP1821506A3 (en) * 2006-02-17 2015-04-15 Sony Mobile Communications Japan, Inc. Mobile terminal and software update method
CN100456246C (en) * 2007-01-23 2009-01-28 北京映翰通网络技术有限公司 Method and device for updating firmware program
JP2013232767A (en) * 2012-04-27 2013-11-14 Seiko Epson Corp Communication device, image formation device, information processing method and program of the same
WO2015079560A1 (en) * 2013-11-29 2015-06-04 富士機械製造株式会社 Data update method for circuit substrate work system and circuit substrate work system
JPWO2015079560A1 (en) * 2013-11-29 2017-03-16 富士機械製造株式会社 Data update method for circuit board working system and circuit board working system
US10209704B2 (en) 2013-11-29 2019-02-19 Fuji Corporation Data updating method of circuit board work system and circuit board work system
CN105759746B (en) * 2014-12-18 2018-07-27 深圳市深蓝电子股份有限公司 The online updating method of DDC controller control strategies based on Lonworks communication protocols
CN112256298A (en) * 2020-09-25 2021-01-22 深圳星标科技股份有限公司 Remote firmware upgrade method and device for visual navigation aids

Similar Documents

Publication Publication Date Title
JP2000330779A (en) System and method for remotely updating firmware program
EP1087294B1 (en) Method and apparatus of remotely updating firmware of a communication device
US5689640A (en) Method and system for downloading data to network nodes
JP5431111B2 (en) Information processing apparatus and system setting method
JP2812189B2 (en) How to download the program
EP2733612B1 (en) Information processing device, method, and program
JP4486609B2 (en) Storage device, storage control firmware active program replacement method for storage device, and storage control firmware active program replacement program
JPH11328040A (en) Memory readout control method and program readout control method
JP2004054616A (en) Information processing device with automatic firmware repair function
JP2002189609A (en) System and method for updating software adapted to accident
JP2003309485A (en) Software update device and software update method
JP2004110610A (en) Remote maintenance system
JP3550256B2 (en) Information processing equipment
JP2007122151A (en) Boot controller and boot control method
JP2003228490A (en) Terminal equipment connected to network, and network system using the same
JP3514173B2 (en) Control device
JP2827594B2 (en) Firmware online update method for microprocessor device and update method thereof
JPH0855068A (en) Communication terminal
JP2001053891A (en) Method and apparatus for updating program in portable terminal device
JP7572298B2 (en) Communication device and firmware update system
JP2002044693A (en) Controller of electronic exchange
JP7758453B2 (en) Program update device
KR20020041005A (en) Remote software upgrade method and system in optical network
JP2005004608A (en) Firmware update method and firmware-equipped device
JP2003280937A (en) Firmware download system and its method

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040520