JP2011175352A - Firmware updating device, communication apparatus, electronic apparatus, firmware updating system, firmware updating method and program - Google Patents
Firmware updating device, communication apparatus, electronic apparatus, firmware updating system, firmware updating method and program Download PDFInfo
- Publication number
- JP2011175352A JP2011175352A JP2010037342A JP2010037342A JP2011175352A JP 2011175352 A JP2011175352 A JP 2011175352A JP 2010037342 A JP2010037342 A JP 2010037342A JP 2010037342 A JP2010037342 A JP 2010037342A JP 2011175352 A JP2011175352 A JP 2011175352A
- Authority
- JP
- Japan
- Prior art keywords
- firmware
- storage unit
- stored
- recovery
- update
- 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.)
- Granted
Links
- 238000004891 communication Methods 0.000 title claims description 48
- 238000000034 method Methods 0.000 title claims description 26
- 238000011084 recovery Methods 0.000 claims abstract description 81
- 238000004519 manufacturing process Methods 0.000 abstract description 5
- 230000006870 function Effects 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 238000012546 transfer Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 3
- 238000001994 activation Methods 0.000 description 2
- 238000012360 testing method Methods 0.000 description 2
- 230000007547 defect Effects 0.000 description 1
Images
Landscapes
- Stored Programmes (AREA)
Abstract
Description
この発明は、ファームウエアを更新するファームウエア更新装置、通信を行う通信装置、コンピュータがプログラムを実行することにより機能を発揮する電子機器、ファームウエアを更新するファームウエア更新システム、ファームウエア更新方法及びコンピュータによって実行されるプログラムに関する。 The present invention relates to a firmware update device that updates firmware, a communication device that performs communication, an electronic device that exhibits a function when a computer executes a program, a firmware update system that updates firmware, a firmware update method, and The present invention relates to a program executed by a computer.
通信回線を介して基地局と接続される通信装置では、プログラムの機能追加、バグ対処等のため、ファームウエアを更新する必要性が生じる場合がある。ファームウエアを更新する手順としては、以下のような手順が考えられる。 In a communication apparatus connected to a base station via a communication line, it may be necessary to update the firmware in order to add a program function or deal with a bug. The following procedure can be considered as a procedure for updating the firmware.
まず、例えば基地局等から通信回線を介して、更新用の新しい版のファームウエアを通信装置にダウンロードし、通信装置内に既に記憶されている古い版のファームウエアを、更新用の新しい版のファームウエアに書き換える。この書き換えの後、通信装置が再起動されて、ファームウエアの更新が完了する。 First, for example, a new version of firmware for update is downloaded from the base station or the like to the communication device via the communication line, and the old version of firmware already stored in the communication device is updated to the new version for update. Rewrite to firmware. After this rewriting, the communication device is restarted to complete the firmware update.
これに関連して、更新されたファームウエアの不具合や、ダウンロード中のデータエラーにより、通信装置が再起動できなくなるのを防ぐシステムが提案されている(例えば、特許文献1、2参照)。これらのシステムでは、装置内に、リカバリ用のファームウエアを記憶する不揮発性メモリが設けられている。リカバリ用のファームウエアは、予め(例えば工場出荷時等に)この不揮発性メモリに書き込まれ保持されている。このリカバリ用のファームウエアは、実際に実行されるファームウエアとは、別の場所に保持されているので、上述のように、実際に実行されるファームウエアが更新されても、消去されることはない。
In relation to this, a system has been proposed that prevents the communication apparatus from being restarted due to a defect in the updated firmware or a data error during download (see, for example,
通信装置が再起動できなくなると、実際に実行されるファームウエアが、リカバリ用のファームウエアに書き換えられた後、再起動されて運用状態になる。このようにして、通信装置が長時間に渡った運用停止状態になることが防止される。 When the communication device cannot be restarted, the firmware that is actually executed is rewritten with the firmware for recovery, and then restarted to enter the operating state. In this way, it is possible to prevent the communication device from being in an operation stop state for a long time.
しかしながら、上記特許文献1、2に開示されたシステムでは、リカバリ用のファームウエアを予め不揮発性メモリに書き込む工程が工場出荷前に必要となる。また、この書き込みのため、不揮発性メモリにファームウエアを書き込むための端子を通信装置のハードウェア基板上に設けておく必要がある。このため、通信装置の構造が複雑になり、生産工数や部品コストが増大する。
However, the systems disclosed in
また、上記特許文献1、2に開示されたシステムでは、実際に実行されるファームウエアとは異なるファームウエアが、リカバリ用のファームウエアとして人為的なミス等により誤って書き込まれる可能性がある。このようなミスを起こさないようにしようとすれば、ファームウエアの版管理が煩雑なものとなる。
In the systems disclosed in
この発明は、上記実情に鑑みてなされたものであり、生産工数、部品コスト及び版管理の煩雑さを増大させることなく、ファームウエアを更新することができるファームウエア更新装置、通信装置、電子機器、ファームウエア更新システム、ファームウエア更新方法及びプログラムを提供することを目的とする。 The present invention has been made in view of the above circumstances, and provides a firmware update device, a communication device, and an electronic device that can update the firmware without increasing production man-hours, component costs, and complexity of plate management. An object is to provide a firmware update system, a firmware update method, and a program.
上記目的を達成するため、この発明に係るファームウエア更新装置において、第1の記憶部は、実行用のファームウエアを記憶する。第2の記憶部は、予備の記憶部である。制御部は、起動時に、第2の記憶部にファームウエアが記憶されていない場合に、第1の記憶部に記憶されたファームウエアを読み出して、第2の記憶部にリカバリ用のファームウエアとして書き込む。 In order to achieve the above object, in the firmware updating apparatus according to the present invention, the first storage unit stores firmware for execution. The second storage unit is a spare storage unit. The control unit reads the firmware stored in the first storage unit when the firmware is not stored in the second storage unit at the time of startup, and stores the firmware as recovery firmware in the second storage unit. Write.
この発明によれば、実行用のファームウエアに基づいてリカバリ用のファームウエアプログラムを自動生成するので、リカバリ用のファームウエアを記憶装置に書き込む工程や、書き込むための端子が不要となる。また、リカバリ用のファームウエアは実行中のファームウエアのコピーであるので、両ファームウエアの版の違いを考慮する必要がなくなる。この結果、生産工数、部品コスト及び版管理の煩雑さを増大させることなく、ファームウエアを更新することができる。 According to the present invention, since the recovery firmware program is automatically generated based on the execution firmware, the step of writing the recovery firmware to the storage device and the terminal for writing are not required. Further, since the recovery firmware is a copy of the firmware that is being executed, there is no need to consider the difference between the versions of the firmware. As a result, the firmware can be updated without increasing production man-hours, component costs, and complexity of plate management.
次に、この発明の実施の形態について、図面を参照して詳細に説明する。 Next, embodiments of the present invention will be described in detail with reference to the drawings.
実施の形態1.
まず、この発明の実施の形態1について説明する。
First, a first embodiment of the present invention will be described.
図1には、この発明の実施の形態1に係るファームウエア更新システム100の全体構成が示されている。図1で示すように、ファームウエア更新システム100は、通信装置1と、サーバ2とを備えている。通信装置1は、基地局3に接続する。サーバ2は、通信回線網4に接続している。基地局3は、通信回線網4の基地局である。
FIG. 1 shows the overall configuration of a
このファームウエア更新システム100は、通信装置1で実行されるファームウエアを更新するためのシステムである。更新用のファームウエアは、サーバ2から、通信回線網4を経由して基地局3に送信され、基地局3から通信装置1にダウンロードされる。
The
通信装置1内に図示されているのは、ファームウエアを更新するのに必要な構成であり、ファームウエア更新装置5ともいうべきものである。図1に示すように、通信装置1(ファームウエア更新装置5)は、マイクロコンピュータ10と、第2の記憶部としての不揮発性メモリ11と、通信コントローラ12と、を備える。
What is shown in the
マイクロコンピュータ10は、マルチタスク実行可能なコンピュータである。マイクロコンピュータ10は、第1の記憶部としての内部不揮発性メモリ15と、内部ランダムアクセスメモリ(RAM)16と、を内部に備える。
The
不揮発性メモリ11は、予備の記憶部である。不揮発性メモリ11には、ファームウエア20をそれぞれ記憶可能な2つの領域A、Bが設けられている。後述するように、この領域A、Bに、更新用のファームウエア20と、リカバリ用のファームウエア20とが、それぞれ記憶される。
The
通信コントローラ12は、基地局3との通信制御を行う。更新用のファームウエア20は、通信コントローラ12を介してダウンロードされる。すなわち、この通信コントローラ12が、更新用のファームウエア20を入力する入力部である。
The
図2には、マイクロコンピュータ10のメモリ空間が示されている。図2に示すように、マイクロコンピュータ10のメモリ空間には、内部不揮発性メモリ15と、内部RAM16と、不揮発メモリ11とが割り当てられている。
FIG. 2 shows a memory space of the
内部不揮発性メモリ15は、固定エリアと書換エリアとに分割されている。固定エリアでは、通信装置1のデータの書き換えが禁止されているエリアであり、書換エリアは、通信装置1の運用中にデータが書き換えられるエリアである。出荷状態において、固定エリアには、メインプログラム21と、ダウンロードプログラム22と、リカバリ用ファームウエア生成プログラム23と、リカバリ実行プログラム24と、ファームウエア更新プログラム25とが記憶されている。一方、書換エリアには、ファームウエア20が記憶されている。
The internal
メインプログラム21は、リセット時からマイクロコンピュータ10によって実行されるプログラムである。ダウンロードプログラム22は、更新用のファームウエアをダウンロードするプログラムである。メインプログラム21とダウンロードプログラム22とは、それぞれの別のタスクである。
The
リカバリ用ファームウエア生成プログラム23は、最初の起動時に、内部不揮発性メモリ15に記憶されたファームウエア20を、不揮発性メモリ11の領域Aに転送することにより、リカバリ用のファームウエア20を生成するプログラムである。リカバリ実行プログラム24は、不揮発性メモリ11に記憶されたリカバリ用のファームウエア20を、内部不揮発性メモリ15に記憶されたファームウエア20に上書きすることにより、リカバリ処理を実行するプログラムである。ファームウエア更新プログラム25は、マイクロコンピュータ10によって実際に実行されるファームウエア20を、ダウンロードされた更新用のファームウエア20に更新するプログラムである。
The recovery
ファームウエア20は、出荷時点でのファームウエアであり、マイクロコンピュータ10によって実際に実行される最初のファームウエアである。
The
マイクロコンピュータ10は、リセット後、メインプログラム21を実行することにより、不揮発性メモリ11にリカバリ用のファームウエア20が記憶済であるか否かを判定し、記憶済でなければ、リカバリ用ファームウエア生成用プログラム23を実行することにより、内部不揮発性メモリ15に記憶されたファームウエア20を読み出して、不揮発性メモリ11にリカバリ用のファームウエアとして書き込んで、リカバリ用のファームウエア20を生成する。
The
また、マイクロコンピュータ10は、ダウンロードプログラム22を実行することにより、基地局3から更新用のファームウエア20がダウンロードされ、不揮発性メモリ11に記憶されると、ファームウエア更新プログラム25を実行することにより、内部不揮発性メモリ15に記憶されたファームウエア20を、更新用のファームウエア20に更新する。
Further, when the
さらに、マイクロコンピュータ10は、メインプログラム21を実行することにより、ファームウエア20の更新後に、更新されたファームウエア20の正常動作チェックを行い、正常に動作していないと判定した場合には、リカバリ実行プログラム24を実行することにより、内部不揮発性メモリ15に記憶されたファームウエア20を、不揮発性メモリ11に記憶されたリカバリ用のファームウエア20に更新する。
Further, the
さらに、マイクロコンピュータ10は、メインプログラム21を実行することにより、ファームウエア20の更新後に、更新されたファームウエア20の正常動作チェックを行い、正常に動作していると判定した場合には、不揮発性メモリ11に記憶された更新用のファームウエア20を、不揮発性メモリ11に記憶されたリカバリ用のファームウエア20に変更する。
Further, the
メインプログラム21、ダウンロードプログラム22、リカバリ用ファームウエア生成プログラム23、リカバリ実行プログラム24及びファームウエア更新プログラム25は、マイクロコンピュータ10の内部不揮発性メモリ15の固定エリアに置かれているので、プログラム更新時に書き換えられる心配はない。すなわち、これらのプログラムについては、リカバリの際、プログラム更新失敗等により破壊され自己復活が不可能となることが防止されている。
Since the
リカバリ用ファームウエア生成プログラム23、リカバリ実行プログラム24及びファームウエア更新プログラム25は、内部不揮発性メモリ15へアクセスするプログラムであるため、マイクロコンピュータ10は、これらのプログラムを、内部RAM16に転送してから実行する。
Since the recovery
次に、この実施の形態に係る通信装置1(ファームウエア更新装置5)の動作について、図3乃至図13を参照して説明する。ここで、前提として、出荷の時点において、不揮発性メモリ11の領域A、Bは初期化されており、特定の初期値データ(例えば16進数で、0xFF等)が書き込まれているものとする。
Next, the operation of the communication apparatus 1 (firmware updating apparatus 5) according to this embodiment will be described with reference to FIGS. Here, it is assumed that the areas A and B of the
まず、通信装置1の起動処理について説明する。図3には、起動処理のフローチャートが示されている。
First, the activation process of the
(起動処理)
通信装置1を起動すると、マイクロコンピュータ10にリセット信号が入力される。リセット信号が入力されたマイクロコンピュータ10は、内部不揮発性メモリ15に記憶されたメインプログラム21の実行を開始する。このメインプログラム21では、マイクロコンピュータ10は、まず、不揮発性メモリ11の領域A、Bにリカバリ用のファームウエア20が記憶済みであるか否かを判定する(ステップS1)。マイクロコンピュータ10は、領域A、Bから読み込んだデータが初期化データと一致するか否かにより、この判定を行う。出荷直後では、領域A、Bには、リカバリ用のファームウエア20が記憶されておらず、初期値データ(0xFF等)が書き込まれているので、この判定が否定される(ステップS1;No)。
(Start process)
When the
続いて、マイクロコンピュータ10は、リカバリ用ファームウエア生成プログラム23を、内部不揮発性メモリ15から内部RAM16に転送する(ステップS2)。内部不揮発性メモリ15に記憶されたプログラムの実行中は、内部不揮発性メモリ15にアクセスすることができないため、マイクロコンピュータ10は、図4に示すように、内部不揮発性メモリ15に記憶されたリカバリ用ファームウエア生成プログラム23を、内部RAM16に転送してから、内部RAM16に記憶されたリカバリ用ファームウエア生成プログラム23を実行するのである。
Subsequently, the
続いて、マイクロコンピュータ10は、プログラムの実行位置を、内部不揮発性メモリ15のメインプログラム21上の現在の実行位置から、リカバリ用ファームウエア生成プログラム23の実行開始位置にジャンプさせて(図4参照)、内部RAM16に記憶されたリカバリ用ファームウエア生成プログラム23の実行を開始する(ステップS3)。
Subsequently, the
リカバリ用ファームウエア生成プログラム23では、まず、マイクロコンピュータ10は、動作モードを特殊モードに設定し、内部不揮発性メモリ15を読込可能な状態とする(ステップS4)。
In the recovery
続いて、マイクロコンピュータ10は、図5に示すように、ファームウエア20を内部不揮発性メモリ15から不揮発性メモリ11の領域Aに転送する(ステップS5)。マイクロコンピュータ10は、ファームウエア20を、内部不揮発性メモリ15から一定のサイズだけ読み込んで、不揮発性メモリ11の領域Aに書き込んでいく。マイクロコンピュータ10は、ファームウエア20のデータが不揮発性メモリ11の領域Aに全て書き込まれるまで、この転送を繰り返し実行する。これにより、図5に示すように、領域Aに、リカバリ用のファームウエア20が記憶される。
Subsequently, the
転送が終了すると、マイクロコンピュータ10は、動作モードを特殊モードから通常モードに切り替え、自身を通常状態に戻す(ステップS6)。その後、マイクロコンピュータ10は、リセットをかけ、通信装置1を再起動する。
When the transfer is completed, the
このように、このリカバリ用ファームウエア生成プログラム23を実行することにより、マイクロコンピュータ10によって実行されるファームウエア20に基づいて、リカバリ用のファームウエア20が領域Aに自動生成されるので、出荷時にリカバリ用ファームウエア20を別に記憶しておく必要はない。
As described above, by executing the recovery
再起動後、マイクロコンピュータ10は、再び、内部不揮発性メモリ15に記憶されたメインプログラム21の実行を開始する。マイクロコンピュータ10は、まず、不揮発性メモリ11の領域A、Bにリカバリ用のファームウエア20が記憶済みであるか否かを判定する(ステップS1)。ここでは、領域Aに、リカバリ用のファームウエア20が記憶されているので、リカバリ用のファームウエア20が記憶済みであるとして(ステップS1;Yes)、マイクロコンピュータ10は、リカバリ判定処理を行う。
After restarting, the
リカバリ判定処理では、図6に示すように、マイクロコンピュータ10は、まず、ファームウエア20の更新が実施されたか否かを判定する(ステップS11)。ファームウエア20が更新実施済であるか否かは、後述するF/W更新フラグを参照して、判定される。この時点では、まだ、リカバリ用のファームウエア20が領域Aに記憶された直後の再起動であるので、ファームウエア20は更新されておらず、F/W更新フラグはセットされていないので(ステップS11;No)、マイクロコンピュータ10は、通常運転処理へ移行する。
In the recovery determination process, as shown in FIG. 6, the
ここで、通常運転処理中、ファームウエア20を更新する必要が生じると、マイクロコンピュータ10は、通常運転処理を中断して、図7に示すプログラム更新処理を実行する。このプログラム更新処理では、図7に示すように、まず、マイクロコンピュータ10は、ダウンロードプログラム22を実行することにより、基地局3から更新用のファームウエア20をダウンロードし、不揮発性メモリ11の領域Bに記憶する(ステップS21)。
Here, if the
続いて、マイクロコンピュータ10は、更新用のファームウエア20のダウンロードが完了したか否かを判定する(ステップS22)。ダウンロードが完了していなければ(ステップS22;No)、マイクロコンピュータ10は、ダウンロードを続ける(ステップS21)。このようにして、図8に示すように、領域Bに更新用のファームウエアが記憶される。
Subsequently, the
ダウンロードが完了すると(ステップS22;Yes)、マイクロコンピュータ10は、図9に示すように、内部不揮発性メモリ15に記憶されたファームウエア更新プログラム25を、内部RAM16に転送する(ステップS23)。
When the download is completed (step S22; Yes), the
続いて、マイクロコンピュータ10は、図9に示すように、内部RAM16に転送されたファームウエア更新プログラム25の実行を開始する(ステップS24)。
Subsequently, as shown in FIG. 9, the
このファームウエア更新プログラム25では、まず、マイクロコンピュータ10は、動作モードを特殊モードに設定し、内部不揮発性メモリ15を書込可能状態に設定する(ステップS25)。
In the
続いて、マイクロコンピュータ10は、図10に示すように、不揮発性メモリ11の更新用領域(領域B)に作成された更新用のファームウエア20を読み込んで、内部不揮発性メモリ15に書き込む(ステップS26)。この処理は、全ての更新用のファームウエア20が内部不揮発性メモリ15に記憶されるまで、繰り返し実行される。この結果、図10に示すように、内部不揮発性メモリ15に記憶されたファームウエア20が、更新用のファームウエア20に更新される。
Subsequently, the
続いて、マイクロコンピュータ10は、F/W更新フラグをオンする(ステップS27)。さらに、マイクロコンピュータ10は、動作モードを通常モードに設定して、自身を通常状態に戻し(ステップS28)、リセットをかけ再起動する。
Subsequently, the
リセット後、図3に示すように、マイクロコンピュータ10は、リカバリ用のファームウエア20が記憶済か否かを判定し(ステップS1)、すでに記憶済であるので(ステップS1;Yes)、リカバリ判定処理(図6参照)に移行する。
After the reset, as shown in FIG. 3, the
図6に示すように、マイクロコンピュータ10は、ファームウエア20の更新が実施済みであるので(ステップS11;Yes)、マイクロコンピュータ10は、更新されたファームウエア20が正常に動作しているか否かを判定する(ステップS12)。例えば、ファームウエア20の主要機能をバッチ処理で実行するテストモード等を予め用意しておき、テストの結果が全て成功であれば正常に動作していると判定することができる。
As shown in FIG. 6, since the
ファームウエア20が正常に動作していると判定された場合(ステップS12;Yes)、マイクロコンピュータ10は、不揮発性メモリ11の更新用のファームウエア20を、リカバリ用のファームウエア20に変更する(ステップS13)。すなわち、図11に示すように、マイクロコンピュータ10は、領域Bに記憶されたファームウエア20をリカバリ用のファームウエア20に設定する。次回のプログラム更新時にリカバリが必要となったときは、領域Bに記憶されたファームウエア20が、リカバリ用として使用される。このようにすれば、正常動作確認済みの最新のファームウエア20をリカバリ用のファームウエア20とすることができる。
If it is determined that the
続いて、マイクロコンピュータ10は、通常運転処理に移行する。
Subsequently, the
一方、ファームウエア20が正常に動作していないと判定された場合(ステップS12;No)、更新されたファームウエア20に何等かの不具合があったものとみなせるので、マイクロコンピュータ10は、図12に示すように、リカバリ実行プログラム24を、内部不揮発性メモリ15から内部RAM16に転送し(ステップS14)、内部RAM16に記憶されたリカバリ実行プログラム24を実行する(ステップS15)。
On the other hand, if it is determined that the
続いて、マイクロコンピュータ10は、動作モードを、通常モードから特殊モードに切り替え、内部不揮発性メモリ15を書込可能な状態に設定する(ステップS16)。
Subsequently, the
続いて、マイクロコンピュータ10は、図13に示すように、リカバリ用領域(ここでは、領域A)に作成されたリカバリ用のファームウエア20を読み込んで、内部不揮発性メモリ15に書き込む(ステップS17)。この処理は、全てのファームウエア20が全て書き込まれるまで繰り返し実施される。これにより、内部不揮発性メモリ15に記憶されたファームウエア20は、リカバリ用のファームウエア20に戻される。
Next, as shown in FIG. 13, the
続いて、マイクロコンピュータ10は、F/W更新フラグをオフする(ステップS18)。さらに、マイクロコンピュータ10は、動作モードを通常モードに設定して、自身を通常状態に戻し(ステップS19)、リセットをかけて、再起動する。
Subsequently, the
図3に戻り、マイクロコンピュータ10は、リカバリ用のファームウエア20が記憶済みであるので(ステップS1;Yes)、リカバリ判定処理に移行する。そして、図6に示すように、F/W更新フラグがオフなので(ステップS11;No)、マイクロコンピュータ10は、通常運転に移行する。
Returning to FIG. 3, the
実施の形態2.
次に、この発明の実施の形態2について説明する。
Next, a second embodiment of the present invention will be described.
図14には、この実施の形態に係るファームウエア更新システム100の構成が示されている。図14に示すように、ファームウエア更新システム100は、通信装置1において、不揮発性メモリ11が、マイクロコンピュータ10内に設けられている点が、上記実施形態1に係るファームウエア更新システム100と異なる。
FIG. 14 shows the configuration of the
通信装置1(ファームウエア更新装置5)の動作は、上記実施形態と同じである。 The operation of the communication device 1 (firmware update device 5) is the same as that in the above embodiment.
なお、上記各実施の形態において、実行されるプログラムは、フレキシブルディスク、CD−ROM(Compact Disk Read-Only Memory)、DVD(Digital Versatile Disk)、MO(Magneto-Optical Disk)等のコンピュータ読み取り可能な記録媒体に記憶して配布し、そのプログラムをインストールすることにより、上述の処理を実行するシステムを構成することとしてもよい。 In each of the above embodiments, the program to be executed is computer-readable such as a flexible disk, a CD-ROM (Compact Disk Read-Only Memory), a DVD (Digital Versatile Disk), and an MO (Magneto-Optical Disk). A system that executes the above-described processing may be configured by storing and distributing the program in a recording medium and installing the program.
また、プログラムをインターネット等の通信ネットワーク上の所定のサーバ装置が有するディスク装置等に記憶しておき、例えば、搬送波に重畳させて、ダウンロード等するようにしてもよい。 Further, the program may be stored in a disk device or the like included in a predetermined server device on a communication network such as the Internet, and may be downloaded, for example, superimposed on a carrier wave.
また、上述の機能を、OS(Operating System)が分担して実現する場合又はOSとアプリケーションとの協働により実現する場合等には、OS以外の部分のみを媒体に記憶して配布してもよく、また、ダウンロード等してもよい。 Further, when the above functions are realized by sharing an OS (Operating System) or when the functions are realized by cooperation between the OS and an application, only the part other than the OS may be stored in the medium and distributed. You may also download it.
なお、上記各実施の形態において、設定した数値は一例であり、適応する通信装置1に応じて適切に設定する必要があることはいうまでもない。
In each of the above embodiments, the set numerical value is an example, and needless to say, it is necessary to set appropriately according to the
なお、上記各実施の形態では、通信装置1のファームウエアを更新する場合について説明したが、この発明はこれには限られない。この発明は、ゲーム機器やテレビジョン装置など、ファームウエアが実装されている電気機器であれば、適用が可能である。
In each of the above embodiments, the case of updating the firmware of the
この発明は、コンピュータがファームウエアを含むプログラムを実行することにより、その機能を発揮する電子機器などに好適である。 The present invention is suitable for an electronic device or the like that exhibits its function when a computer executes a program including firmware.
1 通信装置
2 サーバ
3 基地局
4 通信回線網
5 ファームウエア更新装置
10 マイクロコンピュータ
11 不揮発性メモリ
12 通信コントローラ
15 内部不揮発性メモリ
16 内部RAM
20 ファームウエア
21 メインプログラム
22 ダウンロードプログラム
23 リカバリ用ファームウエア生成プログラム
24 リカバリ実行プログラム
25 ファームウエア更新プログラム
100 ファームウエア更新システム
DESCRIPTION OF
20
Claims (10)
予備の記憶部である第2の記憶部と、
起動時に、前記第2の記憶部に前記ファームウエアが記憶されていない場合に、前記第1の記憶部に記憶された前記ファームウエアを読み出して、前記第2の記憶部にリカバリ用のファームウエアとして書き込む制御部と、
を備えるファームウエア更新装置。 A first storage unit for storing firmware for execution;
A second storage unit which is a spare storage unit;
When the firmware is not stored in the second storage unit at the time of startup, the firmware stored in the first storage unit is read out, and the recovery firmware is stored in the second storage unit A control unit to write as
A firmware update device comprising:
前記第2の記憶部は、
少なくとも2つの前記ファームウエアを同時に記憶可能な容量を有し、
前記制御部は、
入力した更新用の前記ファームウエアを、リカバリ用の前記ファームウエアとは別に前記第2の記憶部に記憶し、
前記第1の記憶部に記憶された前記ファームウエアを、前記第2の記憶部に記憶された更新用の前記ファームウエアに更新する、
ことを特徴とする請求項1に記載のファームウエア更新装置。 It further comprises an input unit for inputting the firmware for update,
The second storage unit is
A capacity capable of simultaneously storing at least two of the firmwares;
The controller is
The inputted update firmware is stored in the second storage unit separately from the recovery firmware,
Updating the firmware stored in the first storage unit to the firmware for update stored in the second storage unit;
The firmware updating apparatus according to claim 1, wherein:
前記第1の記憶部に記憶された前記ファームウエアが正常に動作しない場合に、
前記第1の記憶部に記憶された前記ファームウエアを、前記第2の記憶部に記憶されたリカバリ用の前記ファームウエアに更新する、
ことを特徴とする請求項2に記載のファームウエア更新装置。 The controller is
When the firmware stored in the first storage unit does not operate normally,
Updating the firmware stored in the first storage unit to the firmware for recovery stored in the second storage unit;
The firmware updating apparatus according to claim 2, wherein
前記第1の記憶部に記憶された前記ファームウエアが正常に動作している場合に、
前記第2の記憶部に記憶された更新用の前記ファームウエアを、前記第2の記憶部に記憶されたリカバリ用のファームウエアに変更する、
ことを特徴とする請求項2又は3に記載のファームウエア更新装置。 The controller is
When the firmware stored in the first storage unit is operating normally,
Changing the firmware for update stored in the second storage unit to the firmware for recovery stored in the second storage unit;
The firmware updating apparatus according to claim 2 or 3, wherein
前記第1の記憶部及び前記第2の記憶部が組み込まれている、
ことを特徴とする請求項1乃至4のいずれか一項に記載のファームウエア更新装置。 In the control unit,
The first storage unit and the second storage unit are incorporated,
The firmware updating apparatus according to any one of claims 1 to 4, wherein
通信回線網を介して、前記ファームウエア更新装置に更新用の前記ファームウエアを送信するサーバと、
を備えるファームウエア更新システム。 The firmware update device according to any one of claims 1 to 5,
A server that transmits the firmware for update to the firmware update device via a communication network;
A firmware update system comprising:
予備用の第2の記憶部と、
を備える電子機器のファームウエア更新方法において、
起動時に、前記第2の記憶部に前記ファームウエアが記憶されているか否かを判定する判定工程と、
前記判定工程において、前記第2の記憶部に前記ファームウエアが記憶されていないと判定された場合に、前記第1の記憶部に記憶された前記ファームウエアを読み出して、前記第2の記憶部にリカバリ用のファームウエアとして書き込むリカバリ用ファームウエア生成工程と、
を含むファームウエア更新方法。 A first storage unit for storing firmware;
A second storage unit for backup;
In a method for updating firmware of an electronic device comprising:
A determination step of determining whether the firmware is stored in the second storage unit at startup;
In the determination step, when it is determined that the firmware is not stored in the second storage unit, the firmware stored in the first storage unit is read and the second storage unit Recovery firmware generation process to write as recovery firmware to
Firmware update method including
予備用の第2の記憶部と、
を備える電子機器を制御するコンピュータによって実行されるプログラムにおいて、
起動時に、前記第2の記憶部に前記ファームウエアが記憶されているか否かを判定する判定手順と、
前記判定手順において、前記第2の記憶部に前記ファームウエアが記憶されていないと判定された場合に、前記第1の記憶部に記憶された前記ファームウエアを読み出して、前記第2の記憶部にリカバリ用のファームウエアとして書き込むリカバリ用ファームウエア生成手順と、
をコンピュータに実行させるプログラム。 A first storage unit for storing firmware;
A second storage unit for backup;
In a program executed by a computer that controls an electronic device comprising:
A determination procedure for determining whether the firmware is stored in the second storage unit at the time of startup;
In the determination procedure, when it is determined that the firmware is not stored in the second storage unit, the firmware stored in the first storage unit is read, and the second storage unit Recovery firmware generation procedure to write as recovery firmware to
A program that causes a computer to execute.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010037342A JP5084853B2 (en) | 2010-02-23 | 2010-02-23 | Firmware update device, communication device, electronic device, firmware update system, firmware update method, and program |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010037342A JP5084853B2 (en) | 2010-02-23 | 2010-02-23 | Firmware update device, communication device, electronic device, firmware update system, firmware update method, and program |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011175352A true JP2011175352A (en) | 2011-09-08 |
JP5084853B2 JP5084853B2 (en) | 2012-11-28 |
Family
ID=44688162
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010037342A Expired - Fee Related JP5084853B2 (en) | 2010-02-23 | 2010-02-23 | Firmware update device, communication device, electronic device, firmware update system, firmware update method, and program |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5084853B2 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013161344A (en) * | 2012-02-07 | 2013-08-19 | Ntt Facilities Inc | Reboot control system, method for controlling reboot, and program |
JP2017228077A (en) * | 2016-06-22 | 2017-12-28 | 富士通株式会社 | Electronic equipment, firmware update method, and computer program |
CN110175035A (en) * | 2018-02-20 | 2019-08-27 | 松下电器产业株式会社 | Electronic equipment, method for updating program and computer program |
JP2021111093A (en) * | 2020-01-09 | 2021-08-02 | レノボ・シンガポール・プライベート・リミテッド | Information processing apparatus and information processing method |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05108317A (en) * | 1991-10-18 | 1993-04-30 | Hitachi Ltd | Network system and its software control method |
JPH10307726A (en) * | 1997-05-02 | 1998-11-17 | Nec Corp | System for firmware recovery at time of start error |
JP2003330722A (en) * | 2002-05-09 | 2003-11-21 | Matsushita Electric Ind Co Ltd | Remote download system and method therefor |
JP2005327003A (en) * | 2004-05-13 | 2005-11-24 | Toshiba Tec Corp | Disk recovery method |
JP2008027004A (en) * | 2006-07-18 | 2008-02-07 | Ricoh Co Ltd | Information apparatus and its program updating method |
JP2008084291A (en) * | 2006-08-28 | 2008-04-10 | Fujitsu Ltd | Storage apparatus, control method, and control device |
JP2009020697A (en) * | 2007-07-11 | 2009-01-29 | Murata Mach Ltd | Image forming apparatus |
-
2010
- 2010-02-23 JP JP2010037342A patent/JP5084853B2/en not_active Expired - Fee Related
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH05108317A (en) * | 1991-10-18 | 1993-04-30 | Hitachi Ltd | Network system and its software control method |
JPH10307726A (en) * | 1997-05-02 | 1998-11-17 | Nec Corp | System for firmware recovery at time of start error |
JP2003330722A (en) * | 2002-05-09 | 2003-11-21 | Matsushita Electric Ind Co Ltd | Remote download system and method therefor |
JP2005327003A (en) * | 2004-05-13 | 2005-11-24 | Toshiba Tec Corp | Disk recovery method |
JP2008027004A (en) * | 2006-07-18 | 2008-02-07 | Ricoh Co Ltd | Information apparatus and its program updating method |
JP2008084291A (en) * | 2006-08-28 | 2008-04-10 | Fujitsu Ltd | Storage apparatus, control method, and control device |
JP2009020697A (en) * | 2007-07-11 | 2009-01-29 | Murata Mach Ltd | Image forming apparatus |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2013161344A (en) * | 2012-02-07 | 2013-08-19 | Ntt Facilities Inc | Reboot control system, method for controlling reboot, and program |
JP2017228077A (en) * | 2016-06-22 | 2017-12-28 | 富士通株式会社 | Electronic equipment, firmware update method, and computer program |
CN110175035A (en) * | 2018-02-20 | 2019-08-27 | 松下电器产业株式会社 | Electronic equipment, method for updating program and computer program |
JP2021111093A (en) * | 2020-01-09 | 2021-08-02 | レノボ・シンガポール・プライベート・リミテッド | Information processing apparatus and information processing method |
Also Published As
Publication number | Publication date |
---|---|
JP5084853B2 (en) | 2012-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9507604B2 (en) | Boot method and boot system | |
WO2022007656A1 (en) | Bootloader software updating method and apparatus, embedded controller, and storage medium | |
JP4810172B2 (en) | Control device, version upgrade method, and program | |
KR100415371B1 (en) | Computer | |
JP2000357095A (en) | Method and device for downloading software to embedded system | |
WO2013103023A1 (en) | Information processing device, information processing method, and computer program | |
KR100541781B1 (en) | Information processing apparatus and method | |
CN109753299A (en) | A kind of method for upgrading system, device and computer storage medium | |
JP2007052519A (en) | Information processor, method, and program | |
CN110874237A (en) | Software upgrading method, device, terminal and readable storage medium | |
WO2017000567A1 (en) | Bootrom upgrading method and device | |
JP5084853B2 (en) | Firmware update device, communication device, electronic device, firmware update system, firmware update method, and program | |
US20140258699A1 (en) | Boot fault tolerant device and method thereof | |
JP6074064B2 (en) | Electronics | |
JP2001331327A (en) | Electronic equipment | |
JPWO2019207729A1 (en) | Industrial computer, industrial computer system, operating system updating method and program | |
KR20070060448A (en) | Device and method for upgradin system using two step bootloader | |
US11768669B2 (en) | Installing application program code on a vehicle control system | |
JP2006072982A (en) | Data processing apparatus and firmware update method | |
JP7491765B2 (en) | Firmware update system and firmware update method | |
KR102434126B1 (en) | Apparatus for processing programmable logic controller program | |
JP5158883B2 (en) | Firmware update method and firmware update apparatus | |
WO2017043026A1 (en) | Control method and communication device employing same | |
JP6149624B2 (en) | Firmware execution apparatus, firmware execution method, computer program, and computer apparatus | |
KR102142905B1 (en) | Automatic Restoring Method of User File System in Communication Terminal |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20120514 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20120522 |
|
A521 | Request for written amendment filed |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20120720 |
|
TRDD | Decision of grant or rejection written | ||
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 Effective date: 20120807 |
|
A01 | Written decision to grant a patent or to grant a registration (utility model) |
Free format text: JAPANESE INTERMEDIATE CODE: A01 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20120904 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5084853 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
FPAY | Renewal fee payment (event date is renewal date of database) |
Free format text: PAYMENT UNTIL: 20150914 Year of fee payment: 3 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
R250 | Receipt of annual fees |
Free format text: JAPANESE INTERMEDIATE CODE: R250 |
|
LAPS | Cancellation because of no payment of annual fees |