JP2005242446A - Recovery method in time of update error of firmware, and information processor - Google Patents

Recovery method in time of update error of firmware, and information processor Download PDF

Info

Publication number
JP2005242446A
JP2005242446A JP2004047926A JP2004047926A JP2005242446A JP 2005242446 A JP2005242446 A JP 2005242446A JP 2004047926 A JP2004047926 A JP 2004047926A JP 2004047926 A JP2004047926 A JP 2004047926A JP 2005242446 A JP2005242446 A JP 2005242446A
Authority
JP
Japan
Prior art keywords
firmware
update
error information
application
error
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.)
Withdrawn
Application number
JP2004047926A
Other languages
Japanese (ja)
Inventor
Takao Sawada
孝雄 澤田
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.)
Fuji Electric Co Ltd
Original Assignee
Fuji Electric Holdings Ltd
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 Fuji Electric Holdings Ltd filed Critical Fuji Electric Holdings Ltd
Priority to JP2004047926A priority Critical patent/JP2005242446A/en
Publication of JP2005242446A publication Critical patent/JP2005242446A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a recovery method and information processor, for certainly performing recovery without recovering a product or replacing a component when abnormality occurs in time of a firmware update. <P>SOLUTION: Firmware is separated into basic firmware 201 that is out of an update target and application firmware 202 including an application program 207 that is the update target, and is made to be stored in a ROM 103. A CPU 101 restarts after storing the application firmware 202 into the ROM 103, starts and initializes the basic firmware 201, and decides whether error information is present inside a memory 102 or not. When the error information is absent, the CPU 101 starts and initializes the application firmware 202. When the error information is present, the CPU 101 clears the error information, and allows re-update of the application firmware 202 under operation of the basic firmware 201. The CPU 101 starts the application firmware 202 and stores the error information when an error occurs in the initialization. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、ハードウェアの基本的な制御に用いられるファームウェアを更新する際にエラーが発生した場合の情報処理装置のリカバリ(復旧)方法、及び、このリカバリ機能を備えた情報処理装置に関する。
詳しくは、ファームウェアを構成するアプリケーションプログラムを更新する際に、初期化エラー等によって情報処理装置が起動不能になったような場合に、そのエラー情報に基づいてファームウェアの起動ステップを変更することにより、アプリケーションプログラムを再更新可能にしてリカバリするようにしたリカバリ方法及び情報処理装置に関するものである。
The present invention relates to a method for recovering an information processing apparatus when an error occurs when updating firmware used for basic hardware control, and an information processing apparatus provided with this recovery function.
Specifically, when updating the application program that configures the firmware, if the information processing device becomes unable to start due to an initialization error or the like, by changing the firmware startup step based on the error information, The present invention relates to a recovery method and an information processing apparatus in which an application program can be updated again and recovered.

ファームウェアは、ハードウェアの基本的な制御を行なうためにパーソナルコンピュータ・家電機器等の情報処理装置(以下、単に情報処理装置という)に組み込まれた専用のソフトウェアを指すものである。
このファームウェアは、例えば、情報処理装置に内蔵された記憶部(ROM(Read Only Memory)やフラッシュメモリ)に記憶されている。最近の情報処理装置では、機能追加、性能向上または不具合修正等の目的により、ファームウェアを後から更新できるものが多くなってきている。
Firmware refers to dedicated software incorporated in an information processing apparatus (hereinafter simply referred to as an information processing apparatus) such as a personal computer or home appliance in order to perform basic hardware control.
This firmware is stored, for example, in a storage unit (ROM (Read Only Memory) or flash memory) built in the information processing apparatus. In recent information processing apparatuses, there are an increasing number of devices that can update firmware later for purposes such as function addition, performance improvement, or defect correction.

このようなファームウェアは、その更新中にエラーが発生して更新が途中で失敗したり、更新後のファームウェア自身に不具合(いわゆるバグ)があって正常に起動しなくなると、記憶部の物理的な交換が必要になる場合もあった。そこで、記憶部を交換しなくても済むように、ファームウェアの更新により不具合が生じた場合に情報処理装置をリカバリ可能とする技術が種々提供されている。   If such firmware has an error during the update and fails in the middle of the update, or if the firmware after the update itself has a problem (so-called bug) and does not start up normally, In some cases, replacement was necessary. Accordingly, various technologies are provided that enable the information processing apparatus to be recovered when a problem occurs due to firmware update so that the storage unit does not need to be replaced.

このようなリカバリの一例として、例えば、特許文献1により開示された従来技術がある。この従来技術は、システム起動時に記憶部に格納されている更新前のファームウェアを外部記憶領域に一旦退避しておき、ファームウェア更新後に新しいファームウェアが不具合等で立ち上がらなくなった場合には、外部記憶領域に退避していた更新前のファームウェアを復元してシステムを正常に起動させることで、再度ファームウェアの更新を可能としている。   As an example of such recovery, for example, there is a conventional technique disclosed in Patent Document 1. This conventional technology temporarily saves the firmware before update stored in the storage unit at the time of system startup to the external storage area, and if the new firmware cannot be started up after the firmware update due to a malfunction or the like, it is stored in the external storage area. The firmware can be updated again by restoring the saved firmware before update and starting the system normally.

特開平10−307726号公報(段落番号0018〜0027,図2)Japanese Patent Laid-Open No. 10-307726 (paragraph numbers 0018 to 0027, FIG. 2)

しかしながら、上記の従来技術では以下のような問題が生じる。
(1)更新前のファームウェアを退避する外部記憶領域が別途必要である。
(2)ファームウェアの退避・復元に時間を要するため、システムの立ち上がり時間が遅くなる。
(3)ファームウェアの退避に失敗し、かつ、ファームウェアの更新に失敗するとシステムが正常に起動しなくなり、内部の記憶部の物理的な交換が必要になる場合がある。
従って、従来技術では情報処理装置のコスト、性能面、及び、保守性に問題を有していた。
However, the above-described prior art has the following problems.
(1) A separate external storage area for saving firmware before update is necessary.
(2) Since it takes time to save and restore firmware, the system startup time is delayed.
(3) If the saving of the firmware fails and the updating of the firmware fails, the system may not start normally, and the internal storage unit may need to be physically replaced.
Therefore, the prior art has problems with the cost, performance, and maintainability of the information processing apparatus.

本発明は上述した課題を解決するためになされたものであり、その目的は、ファームウェア更新時において異常が発生した場合に、製品の回収や部品の交換をせずに確実にリカバリを行えるようにした、ファームウェアの更新エラー時におけるリカバリ方法、及び、このリカバリ機能を備えた情報処理装置を提供することにある。   The present invention has been made to solve the above-described problems, and its purpose is to enable reliable recovery without collecting products or replacing parts when an abnormality occurs during firmware update. Another object of the present invention is to provide a recovery method in the event of a firmware update error and an information processing apparatus having this recovery function.

上記の課題を解決するため、請求項1に記載したリカバリ方法は、更新・初期化実行手段により更新したファームウェアを起動・初期化する際にエラーが発生したときに、前記ファームウェアを再更新可能にして情報処理装置を復旧させるためのファームウェア更新エラー時のリカバリ方法において、
前記ファームウェアを、更新対象外のブートローダ、オペレーティングシステム、デバイスドライバ及び更新用プログラムを含む基本ファームウェアと、更新対象のアプリケーションプログラムを含む応用ファームウェアと、に分離して記憶手段に保持しておき、
更新・初期化実行手段は、
ファームウェア更新開始指示により基本ファームウェア内の更新用プログラムを起動して更新するべき応用ファームウェアを前記記憶手段に記憶させ、その後、情報処理装置を再起動して基本ファームウェアを優先的に起動・初期化し、
次に、エラー情報格納領域を参照して、前回更新した応用ファームウェアの起動・初期化時のエラー情報がある場合にはこのエラー情報をクリアして基本ファームウェアの稼働下における応用ファームウェアの再更新を可能にし、
エラー情報がない場合には前記記憶手段内の応用ファームウェアを起動・初期化し、その際にエラーが発生した場合には前記エラー情報格納領域にエラー情報を格納するものである。
In order to solve the above-described problem, the recovery method according to claim 1 makes it possible to re-update the firmware when an error occurs when starting and initializing the firmware updated by the update / initialization execution unit. In a recovery method at the time of a firmware update error for recovering the information processing device,
The firmware is separated into basic firmware including a non-update target boot loader, operating system, device driver and update program, and application firmware including an update target application program, and held in the storage means,
Update / initialization execution means
By starting the update program in the basic firmware in accordance with the firmware update start instruction, the application firmware to be updated is stored in the storage unit, and then the information processing apparatus is restarted to preferentially start and initialize the basic firmware.
Next, referring to the error information storage area, if there is error information at the time of starting / initializing the application firmware that was updated last time, clear this error information and re-update the application firmware while the basic firmware is in operation. Enable
If there is no error information, the application firmware in the storage means is activated and initialized. If an error occurs at that time, the error information is stored in the error information storage area.

また、請求項2に記載した情報処理装置は、ファームウェアを、更新対象外のブートローダ、オペレーティングシステム、デバイスドライバ及び更新用プログラムを含む基本ファームウェアと、更新対象のアプリケーションプログラムを含む応用ファームウェアと、に分離して記憶させた記憶手段と、
応用ファームウェアの前回の起動・初期化時のエラー情報を格納するエラー情報格納領域と、
基本ファームウェア内の更新用プログラムを起動して更新した応用ファームウェアを前記記憶手段に記憶させ、再起動後に基本ファームウェアを優先的に起動・初期化すると共に、前記エラー情報格納領域を参照してエラー情報がある場合にはこのエラー情報をクリアして基本ファームウェアの稼働下における応用ファームウェアの再更新を可能にし、エラー情報がない場合には前記記憶手段内の応用ファームウェアを起動・初期化し、その際にエラーが発生した場合には前記エラー情報格納領域にエラー情報を格納する更新・初期化実行手段と、を備えたものである。
The information processing apparatus according to claim 2 divides firmware into basic firmware including a non-updating boot loader, operating system, device driver and update program, and application firmware including an update target application program. Storage means memorized and
An error information storage area for storing error information at the previous startup / initialization of the application firmware,
The application firmware updated by starting the update program in the basic firmware is stored in the storage means, the basic firmware is preferentially started / initialized after the restart, and the error information is referred to the error information storage area. If there is error information, this error information is cleared, and the application firmware can be re-updated while the basic firmware is operating. If there is no error information, the application firmware in the storage means is started and initialized. Update / initialization executing means for storing error information in the error information storage area when an error occurs.

本発明においては、アプリケーションプログラムを含む応用ファームウェアの更新時における起動・初期化エラー情報を、メモリ内のエラー情報格納領域に格納しておき、応用ファームウェアを更新する都度、基本ファームウェアのみを優先的に起動・初期化した状態で前記エラー情報を参照する。そして、前回更新時のエラー情報があればこれをクリアして応用ファームウェアの再更新を可能にする。このため、更新対象の応用ファームウェアを起動・初期化する際にエラーが発生して正常に立ち上がらなくなったとしても、基本ファームウェアの稼働下における応用ファームウェアの再更新を可能にして情報処理装置のリカバリを図ることができる。
これにより、ファームウェアが記憶された内部の記憶部を交換する必要もなく、また、更新前のファームウェアを退避させるための外部記憶領域も不要になると共に、システム起動時のファームウェア保存・復元処理も不要となるため、コストを抑制し、システム立ち上げ時間の短縮や保守性を含めた性能の向上を図ることができる。
In the present invention, startup / initialization error information at the time of updating the application firmware including the application program is stored in the error information storage area in the memory, and each time the application firmware is updated, only the basic firmware is preferentially stored. The error information is referred to in the activated / initialized state. Then, if there is error information at the time of the previous update, it is cleared and application firmware can be updated again. For this reason, even if an error occurs when starting or initializing the application firmware to be updated and it does not start up normally, it is possible to re-update the application firmware while the basic firmware is in operation and recover the information processing device. Can be planned.
This eliminates the need to replace the internal storage unit that stores the firmware, eliminates the need for an external storage area for saving the firmware before update, and eliminates the need to save and restore the firmware at system startup. Therefore, the cost can be suppressed, the system start-up time can be shortened, and the performance including the maintainability can be improved.

以下、本発明を実施するための最良の形態について、図を参照しつつ説明する。
図1は、本発明の実施形態に係る情報処理装置のハードウェア構成図である。情報処理装置100は、ファームウェアの更新・初期化手段としてのCPU(Central Processing Unit)101、記憶手段であるメモリ102及びROM103、外部I/F(インターフェース)104から構成され、これらがバス接続されている。
The best mode for carrying out the present invention will be described below with reference to the drawings.
FIG. 1 is a hardware configuration diagram of an information processing apparatus according to an embodiment of the present invention. The information processing apparatus 100 includes a CPU (Central Processing Unit) 101 as firmware update / initialization means, a memory 102 and ROM 103 as storage means, and an external I / F (interface) 104, which are connected via a bus. Yes.

メモリ102は、本発明におけるエラー情報格納領域を有するRAM(Random Access Memory)等のメモリであり、例えばバッテリーバックアップにより電源の遮断後でもデータを記憶保持するNVRAM(Non-Volatile RAM)等の不揮発性メモリを用いることが望ましい。
ROM103は、例えばEEPROM(Electronically Erasable and Programmable Read Only Memory)のように電気的に書き換え可能な不揮発性メモリである。このROM103には、後述するファームウェアが格納されている。
The memory 102 is a memory such as a RAM (Random Access Memory) having an error information storage area according to the present invention. It is desirable to use a memory.
The ROM 103 is an electrically rewritable nonvolatile memory such as an EEPROM (Electronically Erasable and Programmable Read Only Memory). The ROM 103 stores firmware described later.

外部I/F104は、上位機器と接続するためのインタフェースであり、通信方式に応じてシリアルコントローラやLANコントローラといった通信デバイスが接続される。この外部I/F104を経由して上位機器からファームウェアをダウンロードし、更新を行う。
また、CPU101は、これらのメモリ102、ROM103、外部I/F104との間でデータを授受し、ファームウェアの更新、起動処理、初期化処理等を実行する。
The external I / F 104 is an interface for connecting to a host device, and a communication device such as a serial controller or a LAN controller is connected according to a communication method. Firmware is downloaded from the host device via the external I / F 104 and updated.
In addition, the CPU 101 exchanges data with the memory 102, the ROM 103, and the external I / F 104, and executes firmware update, startup processing, initialization processing, and the like.

図2はROM103内のファームウェアの構成図である。このファームウェアは、基本ファームウェア201と応用ファームウェア202とに分離して格納されている。
基本ファームウェア201は固定プログラムであってファームウェア更新対象外であり、ブートローダ203、オペレーティングシステム(OS)204、デバイスドライバ205、更新用プログラム206等から構成される。ここで、ブートローダ203は、情報処理装置100の起動直後に動作してOS204等を起動するためのプログラムである。
一方、応用ファームウェア202はファームウェア更新対象であり、情報処理装置としての機能を果たすための複数のアプリケーションプログラム207から構成されている。
FIG. 2 is a configuration diagram of firmware in the ROM 103. This firmware is stored separately in basic firmware 201 and application firmware 202.
The basic firmware 201 is a fixed program and is not a firmware update target, and includes a boot loader 203, an operating system (OS) 204, a device driver 205, an update program 206, and the like. Here, the boot loader 203 is a program for operating immediately after the information processing apparatus 100 is started up and starting up the OS 204 and the like.
On the other hand, the application firmware 202 is a firmware update target, and includes a plurality of application programs 207 for performing functions as an information processing apparatus.

次に、図2の構成におけるファームウェア(すなわち応用ファームウェア202)の更新エラー時のリカバリ処理について、図3のフローチャートに従って説明する。
なお、ファームウェアの更新処理を開始する前の状態では、基本ファームウェア201のOS204、デバイスドライバ205、また、更新前の応用ファームウェア202のアプリケーションプログラム207により、情報処理装置100が有効に動作しているものとする。
Next, recovery processing in the case of an update error of the firmware (that is, application firmware 202) in the configuration of FIG. 2 will be described with reference to the flowchart of FIG.
In the state before starting the firmware update process, the information processing apparatus 100 is operating effectively by the OS 204 of the basic firmware 201, the device driver 205, and the application program 207 of the application firmware 202 before the update. And

図3において、まず、CPU101が外部I/F104に接続された上位機器(図示せず)からのファームウェア更新開始指示を受けると、ROM103に記憶されている基本ファームウェア201の更新用プログラム206を起動する(ステップS1)。そして、CPU101は、上位機器からアプリケーションプログラム207をダウンロードし、このアプリケーションプログラム207を書き込み可能なROM103に新しく書き込むことにより、応用ファームウェア202のダウンロード・記憶処理、すなわち更新処理を行う(ステップS2)。   In FIG. 3, first, when the CPU 101 receives a firmware update start instruction from a higher-level device (not shown) connected to the external I / F 104, the update program 206 of the basic firmware 201 stored in the ROM 103 is activated. (Step S1). Then, the CPU 101 downloads the application program 207 from the host device and newly writes the application program 207 in the writable ROM 103, thereby performing download / storage processing, that is, update processing of the application firmware 202 (step S2).

その後、CPU101はリセット(再起動)処理を実行してシステムを再起動する(ステップS3)。なお、ステップS3以降の処理は、ファームウェアの更新の有無に関わらず、リセット時や電源投入時に毎回、必ず実行される。
このリセット直後(及び電源投入時)に、CPU101は最初にROM103にアクセスして基本ファームウェア201内のブートローダ203を起動し、ブート処理(ハードウェアの初期化処理)を行なうと共に、OS204やデバイスドライバ205の起動処理を行う(ステップS4)。次に、CPU101は、OS204やデバイスドライバ205を初期化する(ステップS5)。
Thereafter, the CPU 101 executes a reset (restart) process to restart the system (step S3). Note that the processing after step S3 is always executed every time reset or power-on, regardless of whether the firmware is updated.
Immediately after the reset (and when the power is turned on), the CPU 101 first accesses the ROM 103 to activate the boot loader 203 in the basic firmware 201 to perform a boot process (hardware initialization process), as well as the OS 204 and the device driver 205. Is started (step S4). Next, the CPU 101 initializes the OS 204 and the device driver 205 (step S5).

OS204等の初期化終了後、応用ファームウェア202を起動する前に、CPU101は応用ファームウェア202を前回起動・初期化した際に発生したエラー情報(アプリケーションプログラム207を前回、起動・初期化した際に発生したエラー情報)があるか否かを判断する(ステップS6)。
具体的には、CPU101がメモリ102内のエラー情報格納領域にアクセスし、エラー情報が格納されているか否かについて判断する。先に記載したように、この例では、応用ファームウェア202を今回、更新するまでは通常に動作してエラーが発生していない(エラー情報がメモリ102に格納されていない)ため、CPU101は応用ファームウェア202を起動し(ステップS6 NO,S7)、続いて初期化を行う(ステップS8)。
After the initialization of the OS 204 or the like, before starting the application firmware 202, the CPU 101 detects error information that occurred when the application firmware 202 was last activated / initialized (occurred when the application program 207 was activated / initialized last time). It is determined whether there is error information) (step S6).
Specifically, the CPU 101 accesses an error information storage area in the memory 102 and determines whether error information is stored. As described above, in this example, until the application firmware 202 is updated this time, no error occurs and no error occurs (error information is not stored in the memory 102). 202 is activated (NO in step S6, S7), and then initialization is performed (step S8).

次にCPU101は、応用ファームウェア202の初期化途中でエラー(初期化エラー)が発生したか否かを判断する(ステップS9)。エラーがない場合(ステップS9 NO)には応用ファームウェア202の初期化が正常に終了したと判断してそのまま一連の処理を終了し、CPU101は応用ファームウェア202を動作させて情報処理装置100を通常動作に移行させる。   Next, the CPU 101 determines whether an error (initialization error) has occurred during the initialization of the application firmware 202 (step S9). If there is no error (NO in step S9), it is determined that the initialization of the application firmware 202 has been completed normally, and the series of processing is ended as it is, and the CPU 101 operates the application firmware 202 to operate the information processing apparatus 100 normally. To migrate.

また、応用ファームウェア202の初期化途中でエラーが発生した場合(ステップS9 YES)には、CPU101がエラー情報をメモリ102内のエラー情報格納領域に格納し(ステップS10)、処理を一旦終了する。
このような初期化エラーの後でファームウェアを再更新する場合、CPU101は、前述したステップS1〜S5を経てステップS6により、メモリ102内のエラー情報格納領域にアクセスしてエラー情報の有無を判断する。前述した如く、この時点ではエラー情報がメモリ102に格納されているため(ステップS6 YES)、CPU101は応用ファームウェア202の起動・初期化(ステップS7,S8)を行わずにエラー情報をクリアする(ステップS11)。
If an error occurs during the initialization of the application firmware 202 (YES in step S9), the CPU 101 stores the error information in the error information storage area in the memory 102 (step S10), and the process is temporarily terminated.
When the firmware is re-updated after such an initialization error, the CPU 101 accesses the error information storage area in the memory 102 through steps S1 to S5 described above and then determines whether there is error information. . As described above, since the error information is stored in the memory 102 at this point (YES in step S6), the CPU 101 clears the error information without starting and initializing the application firmware 202 (steps S7 and S8) ( Step S11).

この場合、応用ファームウェア202は起動されないことになり、情報処理装置100は先に立ち上げた基本ファームウェア201のOS204やデバイスドライバ205、更新用プログラム206等が稼働状態にある。   In this case, the application firmware 202 is not activated, and the information processing apparatus 100 is in the operating state of the OS 204, the device driver 205, the update program 206, and the like of the basic firmware 201 that has been started up earlier.

この状態では、基本的な通信動作等が可能であり、また、前回のエラー情報もステップS11によって既にクリアされているため、CPU101が外部I/F104を介して上位機器からファームウェア更新開始指示を受けると、前述したステップS1,S2によるファームウェア更新処理を実行することが可能であり、応用ファームウェア202の再更新によるリカバリが可能となる。   In this state, basic communication operation and the like are possible, and the previous error information has already been cleared in step S11, so that the CPU 101 receives a firmware update start instruction from the host device via the external I / F 104. Then, the firmware update process in steps S1 and S2 described above can be executed, and recovery by re-updating the application firmware 202 becomes possible.

以上の処理において、例えば、更新するべき応用ファームウェア202に不具合があって初期化時にエラーが発生し、正常に立ち上がらなくなった状態でリセットや電源投入を繰り返した場合には、基本ファームウェア201及び応用ファームウェア202が起動→基本ファームウェア201のみ起動して更新可能→基本ファームウェア201及び応用ファームウェア202が起動→基本ファームウェア201のみ起動して更新可能→……、というように、リセットまたは電源投入ごとに「基本ファームウェア201のみ」あるいは「基本ファームウェア201及び応用ファームウェア202の両方」が交互に起動され、エラー情報の有無に応じて起動ステップが変更されることになる。
従って、応用ファームウェア202がエラーにより稼働しなくなったとしても、基本ファームウェア201が稼働している状態に移行することにより、応用ファームウェア202の再更新を可能として情報処理装置のリカバリを達成することができる。
In the above processing, for example, when there is a problem in the application firmware 202 to be updated and an error occurs during initialization and the reset or power-on is repeated in a state where it cannot be started up normally, the basic firmware 201 and the application firmware “Basic firmware 201 is activated and can be updated only” → Basic firmware 201 and application firmware 202 are activated → Only basic firmware 201 is activated and can be updated →... 201 only "or" both basic firmware 201 and application firmware 202 "are alternately activated, and the activation step is changed according to the presence or absence of error information.
Therefore, even if the application firmware 202 stops operating due to an error, the application firmware 202 can be re-updated by moving to the state where the basic firmware 201 is operating, and the recovery of the information processing apparatus can be achieved. .

以上のように本発明によれば、更新前のファームウェアを一旦退避させたり、ファームウェアが記憶された記憶部を交換する等の手段を講じることなく、情報処理装置のリカバリを実行することができる。   As described above, according to the present invention, it is possible to perform recovery of the information processing apparatus without taking measures such as temporarily saving firmware before update or replacing a storage unit storing firmware.

本発明の実施形態における情報処理装置のハードウェア構成図である。It is a hardware block diagram of the information processing apparatus in embodiment of this invention. 本発明の実施形態におけるファームウェアの構成図である。It is a block diagram of the firmware in the embodiment of the present invention. 本発明の実施形態におけるリカバリ処理を示すフローチャートである。It is a flowchart which shows the recovery process in embodiment of this invention.

符号の説明Explanation of symbols

100:情報処理装置
101:CPU
102:メモリ
103:ROM
104:外部I/F
201:基本ファームウェア
202:応用ファームウェア
203:ブートローダ
204:OS(オペレーティングシステム)
205:デバイスドライバ
206:更新用プログラム
207:アプリケーションプログラム
100: Information processing apparatus 101: CPU
102: Memory 103: ROM
104: External I / F
201: Basic firmware 202: Application firmware 203: Boot loader 204: OS (operating system)
205: Device driver 206: Update program 207: Application program

Claims (2)

更新・初期化実行手段により更新したファームウェアを起動・初期化する際にエラーが発生したときに、前記ファームウェアを再更新可能にして情報処理装置を復旧させるためのファームウェア更新エラー時のリカバリ方法において、
前記ファームウェアを、更新対象外の基本ファームウェアと、更新対象のアプリケーションプログラムを含む応用ファームウェアと、に分離して記憶手段に保持しておき、
更新・初期化実行手段は、
ファームウェア更新開始指示により基本ファームウェア内の更新用プログラムを起動して更新するべき応用ファームウェアを前記記憶手段に記憶させ、その後、情報処理装置を再起動して基本ファームウェアを優先的に起動・初期化し、
次に、エラー情報格納領域を参照して、前回更新した応用ファームウェアの起動・初期化時のエラー情報がある場合にはこのエラー情報をクリアして基本ファームウェアの稼働下における応用ファームウェアの再更新を可能にし、
エラー情報がない場合には前記記憶手段内の応用ファームウェアを起動・初期化し、その際にエラーが発生した場合には前記エラー情報格納領域にエラー情報を保存することを特徴とするファームウェアの更新エラー時におけるリカバリ方法。
In a recovery method at the time of a firmware update error for recovering the information processing apparatus by making it possible to re-update the firmware when an error occurs when starting / initializing the firmware updated by the update / initialization execution means,
The firmware is separated into basic firmware that is not subject to update and application firmware that includes the application program that is subject to update, and is stored in the storage means.
Update / initialization execution means
By starting the update program in the basic firmware in accordance with the firmware update start instruction, the application firmware to be updated is stored in the storage unit, and then the information processing apparatus is restarted to preferentially start and initialize the basic firmware.
Next, referring to the error information storage area, if there is error information at the time of starting / initializing the application firmware that was updated last time, clear this error information and re-update the application firmware while the basic firmware is in operation. Enable
Firmware update error characterized by starting and initializing application firmware in the storage means when there is no error information, and storing error information in the error information storage area when an error occurs at that time Recovery method at the time.
ファームウェアを、更新対象外の基本ファームウェアと、更新対象のアプリケーションプログラムを含む応用ファームウェアと、に分離して記憶させた記憶手段と、
応用ファームウェアの前回の起動・初期化時のエラー情報を保存するエラー情報格納領域と、
基本ファームウェア内の更新用プログラムを起動して更新した応用ファームウェアを前記記憶手段に記憶させ、再起動後に基本ファームウェアを優先的に起動・初期化すると共に、前記エラー情報格納領域を参照してエラー情報がある場合にはこのエラー情報をクリアして基本ファームウェアの稼働下における応用ファームウェアの再更新を可能にし、エラー情報がない場合には前記記憶手段内の応用ファームウェアを起動・初期化し、その際にエラーが発生した場合には前記エラー情報格納領域にエラー情報を保存する更新・初期化実行手段と、
を備えたことを特徴とする情報処理装置。
Storage means for storing the firmware separately into basic firmware that is not to be updated and application firmware that includes the application program to be updated;
An error information storage area for storing error information at the previous startup / initialization of the application firmware,
The application firmware updated by starting the update program in the basic firmware is stored in the storage means, the basic firmware is preferentially started / initialized after the restart, and the error information is referred to the error information storage area. If there is error information, this error information is cleared, and the application firmware can be re-updated while the basic firmware is operating. If there is no error information, the application firmware in the storage means is started and initialized. Update / initialization executing means for storing error information in the error information storage area when an error occurs,
An information processing apparatus comprising:
JP2004047926A 2004-02-24 2004-02-24 Recovery method in time of update error of firmware, and information processor Withdrawn JP2005242446A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004047926A JP2005242446A (en) 2004-02-24 2004-02-24 Recovery method in time of update error of firmware, and information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004047926A JP2005242446A (en) 2004-02-24 2004-02-24 Recovery method in time of update error of firmware, and information processor

Publications (1)

Publication Number Publication Date
JP2005242446A true JP2005242446A (en) 2005-09-08

Family

ID=35024158

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004047926A Withdrawn JP2005242446A (en) 2004-02-24 2004-02-24 Recovery method in time of update error of firmware, and information processor

Country Status (1)

Country Link
JP (1) JP2005242446A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1758373A2 (en) 2005-08-24 2007-02-28 Konica Minolta Opto, Inc. Solid image pickup unit and camera module
WO2017208434A1 (en) * 2016-06-03 2017-12-07 ヤマハ株式会社 Information processing device and application management method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1758373A2 (en) 2005-08-24 2007-02-28 Konica Minolta Opto, Inc. Solid image pickup unit and camera module
WO2017208434A1 (en) * 2016-06-03 2017-12-07 ヤマハ株式会社 Information processing device and application management method
JPWO2017208434A1 (en) * 2016-06-03 2019-03-07 ヤマハ株式会社 Information processing apparatus and application management method

Similar Documents

Publication Publication Date Title
TWI515660B (en) Firmware variable update method
EP1899814B1 (en) Firmware update for consumer electronic device
WO2013103023A1 (en) Information processing device, information processing method, and computer program
CN104572206A (en) Application program self updating and backup recovery method
CN104424140A (en) Unified extensible firmware interface (uefi) driver
JP6074064B2 (en) Electronics
JP6482211B2 (en) Information processing apparatus, control method thereof, and program
JPH10307726A (en) System for firmware recovery at time of start error
JP2005242446A (en) Recovery method in time of update error of firmware, and information processor
JP6582438B2 (en) Information processing apparatus, system setting method, and computer program
JP6959153B2 (en) Information processing equipment, information processing methods, and programs
US20170003955A1 (en) Method of Rewriting Printer Firmware, and Printer
TWI541724B (en) Circuit and method for writing bios code into bios
JP6457756B2 (en) Information processing apparatus, control method thereof, and program
EP3159795B1 (en) Image forming apparatus that ensures operation while hdd is inoperative, and recording medium therefor
JP2003122575A (en) Information processing unit
JP2008077474A (en) Firmware update method, electronic device and firmware update program
JP5944017B2 (en) Information processing apparatus and program
CN111045709B (en) Firmware upgrading method and firmware upgrading device
JP2003216432A (en) Firmware rewriting device and method
JP2004094725A (en) Firmware rewriting device and firmware rewriting method
JP2012194793A (en) Information processing device and update method for firmware thereof
JP6638323B2 (en) PRINTING APPARATUS AND PRINTING APPARATUS CONTROL METHOD
JP2005064709A (en) Communication apparatus
JP2005321967A (en) Information processor

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20070501