JP2013109450A - Image forming apparatus - Google Patents
Image forming apparatus Download PDFInfo
- Publication number
- JP2013109450A JP2013109450A JP2011252337A JP2011252337A JP2013109450A JP 2013109450 A JP2013109450 A JP 2013109450A JP 2011252337 A JP2011252337 A JP 2011252337A JP 2011252337 A JP2011252337 A JP 2011252337A JP 2013109450 A JP2013109450 A JP 2013109450A
- Authority
- JP
- Japan
- Prior art keywords
- software
- update
- restoration
- unit
- return
- 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
Images
Abstract
Description
この発明は、ファクシミリ装置、プリンタ、複写装置、並びにそれらの機能を備えた複合機を含む画像形成装置に関する。 The present invention relates to a facsimile machine, a printer, a copying machine, and an image forming apparatus including a multifunction machine having these functions.
ファクシミリ装置、プリンタ、複写装置、並びにそれらの機能を備えた複合機を含む画像形成装置では、装置を動かすためのファームウェアと呼ばれるプログラムを実行して各種の処理や制御の動作をする。
上記ファームウェアは、装置の不具合や機能拡張のためにアップデートすることが可能となっている場合が多い。ファームウェアのアップデートには、プログラム内容の更新、プログラム内容の改善、プログラム内容の修正、プログラム内容の機能追加等がある。
In an image forming apparatus including a facsimile machine, a printer, a copying machine, and a multifunction machine having these functions, a program called firmware for operating the machine is executed to perform various processes and control operations.
In many cases, the firmware can be updated due to a malfunction of the apparatus or function expansion. Firmware update includes program content update, program content improvement, program content modification, program content function addition, and the like.
従来、ファームウェアのアップデートの際、不揮発性メモリに保存されたファームウエアを更新するための第2のファームウエアに対応する更新データをブロック毎に順次転送し、その転送されたブロックから得られるデータと、その得られたデータを書き込むべき不揮発性メモリ上の領域のデータとが異なる場合、上記不揮発性メモリ上の領域を上記得られたデータによって書き換える装置(例えば、特許文献1参照)があった。 Conventionally, when updating firmware, update data corresponding to the second firmware for updating the firmware stored in the nonvolatile memory is sequentially transferred for each block, and the data obtained from the transferred block When the obtained data is different from the data in the area on the nonvolatile memory to be written, there is a device for rewriting the area on the nonvolatile memory with the obtained data (see, for example, Patent Document 1).
しかしながら、従来の装置では、ファームウェアのアップデートを行う際に電源断などの要因によりアップデートが完了できなかった場合、ファームウェアに不整合が生じ、装置が起動しないという問題があった。
この問題に対して、ホストコンピュータからファームウェアを受信する際に、2箇所の記憶領域に同じファームウェアを交互に書き込むことにより、いずれか一方は正常なファームウェアであるようにする方法や、ファームウェアの更新のみ実施可能な復帰用ファームウェアを独立させ、アップデートに失敗した場合でも復帰用ファームウェアを起動させ、再度ファームウェアのアップデートを可能な状態にする方法がある。
However, the conventional apparatus has a problem that, when updating the firmware, if the update cannot be completed due to a power failure or the like, the firmware is inconsistent and the apparatus does not start.
To solve this problem, when receiving firmware from the host computer, the same firmware is written alternately to the two storage areas so that either one is normal firmware, or only firmware update There is a method in which the executable return firmware is made independent, and even when the update fails, the return firmware is activated so that the firmware can be updated again.
しかし、ファームウェアを二重に記録する方法はファームウェアを保存する領域がファームウェア単体と比べて二倍必要になるという問題があり、復帰用ファームウェアを用意する場合は通常動作用のファームウェアを別途作成する必要があるという新たな問題があった。
この発明は上記の点に鑑みてなされたものであり、プログラムのアップデートの際に要するメモリ容量を削減できるようにすることを目的とする。
However, there is a problem that the method of recording firmware twice requires the area to save the firmware twice as compared with the firmware alone, and when preparing the recovery firmware, it is necessary to create the firmware for normal operation separately There was a new problem that there was.
The present invention has been made in view of the above points, and an object thereof is to reduce the memory capacity required for updating a program.
この発明は上記の目的を達成するため、記録媒体に画像を形成する画像形成手段を備えた画像形成装置であって、当該画像形成装置を制御する制御手段が実行するソフトウェアを保存するソフトウェア保存手段と、上記制御手段に上記ソフトウェアのアップデートを実行させるアップデート用ソフトウェアと上記制御手段に上記ソフトウェアのアップデートに失敗した場合に当該画像形成装置を上記アップデートが可能な状態に復帰させる復帰処理を実行させる復帰用ソフトウェアとを含むアップデートソフトウェアを受信する受信手段と、上記アップデート用ソフトウェアを保存するアップデート用ソフトウェア保存手段と、上記復帰用ソフトウェアを保存する復帰用ソフトウェア保存手段と、上記復帰用ソフトウェアのバックアップ用の復帰用ソフトウェアバックアップ保存手段と、上記受信手段によって受信した上記アップデートソフトウェアの上記アップデート用ソフトウェアと上記復帰用ソフトウェアとを判別する判別手段と、上記判別手段によって判別された上記アップデート用ソフトウェアを上記アップデート用ソフトウェア保存手段に保存し、上記判別手段によって判別された上記復帰用ソフトウェアを上記復帰用ソフトウェア保存手段と上記復帰用ソフトウェアバックアップ保存手段にそれぞれ保存する保存制御手段を有する画像形成装置を提供する。 In order to achieve the above object, the present invention is an image forming apparatus including an image forming unit that forms an image on a recording medium, and a software storage unit that stores software executed by a control unit that controls the image forming apparatus And update software that causes the control means to update the software, and a return that causes the control means to perform a return process that returns the image forming apparatus to a state where the update is possible when the software update fails. Receiving means for receiving update software including software for update, update software storage means for storing the update software, return software storage means for storing the return software, and backup software for the return software Return software backup storage means; discrimination means for discriminating between the update software and the return software of the update software received by the reception means; and the update software discriminated by the discrimination means for the update There is provided an image forming apparatus having storage control means for storing in a software storage means and saving the restoration software discriminated by the discrimination means in the restoration software saving means and the restoration software backup saving means.
この発明による画像形成装置は、プログラムのアップデートの際に要するメモリ容量を削減することができる。 The image forming apparatus according to the present invention can reduce the memory capacity required for updating the program.
以下、この発明を実施するための形態を図面に基づいて具体的に説明する。
図1は、この発明の一実施形態であるプリンタの機能構成を示すブロック図である。
このプリンタ1は、インクジェット方式のプリンタ、電子写真方式のプリンタ等の画像形成装置であり、コントローラ部2、ROM3、RAM4、プロッタエンジン部5、操作パネル6、ユーザ通知部7、ホストインタフェース(IF)部8、内部記憶部9、及び外部記憶部インタフェース(IF)部10を備えている。
Hereinafter, embodiments for carrying out the present invention will be specifically described with reference to the drawings.
FIG. 1 is a block diagram showing a functional configuration of a printer according to an embodiment of the present invention.
The printer 1 is an image forming apparatus such as an ink jet printer or an electrophotographic printer, and includes a
コントローラ部2は、CPUによって実現され、RAM4を作業領域としてROM3又は内部記憶部9に記憶されたファームウェアを実行することにより、このプリンタ1の3〜10の各部を含む全体の制御を司り、アップデート処理部20とブート(boot)処理部22の各機能も実現する。すなわち、このコントローラ部2は、このプリンタ1(当該画像形成装置)を制御する制御手段の機能を果たす。
また、上記アップデート処理部20はアップデートデータ判別処理部21の機能を有し、上記ブート処理部22は起動切り替え処理部23とリカバリ処理部24の各機能も有する。
上記20〜24の各部の詳細については後述する。
The
The update processing unit 20 has a function of an update data
Details of each of the above 20 to 24 will be described later.
プロッタエンジン部5は、コントローラ部2から受け取った画像データに基いて用紙等の記録媒体に印刷する。すなわち、記録媒体に画像を形成する画像生成手段の機能を果たす。
操作パネル6は、ユーザがプリンタ1に対して各種の操作情報を入力する入力装置であり、ユーザから入力された操作情報をコントローラ部2へ送る。
ユーザ通知部7は、コントローラ部2から受け取った表示データに基いてユーザにプリンタ1における各種の作業情報を表示する表示装置である。
The
The
The user notification unit 7 is a display device that displays various work information in the printer 1 to the user based on the display data received from the
ホストIF部8は、このプリンタ1とケーブルで直接に通信可能に接続、又はローカルエリアネットワークやインターネット等のネットワークを介して通信可能に接続された情報処理装置であるホストコンピュータ11との通信制御を司る。
このホストコンピュータ11は、CPU、ROM及びRAMからなるマイクロコンピュータによって実現され、プリンタ1に対して画像データの印刷を要求し、ファームウェアのアップデートのためのアップデートソフトウェアを送信する。
The
The
内部記憶部9は、ハードディスクドライブ(HDD)、EEPROM、NVRAM等のプリンタ1の本体に対して脱着不可で、コントローラ部2が読み書き可能な不揮発性の記憶手段であり、コントローラ部2が実行するファームウェア、そのファームウェアをアップデートするアップデートソフトウェアを含む各種のプログラムを記憶する。
上記アップデートソフトウェアは、コントローラ部2に上記ファームウェアのアップデートを実行させるアップデート用ソフトウェアと、コントローラ部2に上記ファームウェアのアップデートに失敗した場合にプリンタ1を上記アップデートが可能な状態に復帰させる復帰処理を実行させる復帰用ソフトウェアとを含んでいる。
The
The update software executes update software that causes the
また、上記ROM3と上記内部記憶部9は、プリンタ1を制御する制御手段であるコントローラ部2が実行するソフトウェアであるファームウェアを保存するソフトウェア保存手段の機能を果たす。
さらに、上記ROM3と上記内部記憶部9は、上記アップデート用ソフトウェアを保存するアップデート用ソフトウェア保存手段と、上記復帰用ソフトウェアを保存する復帰用ソフトウェア保存手段と、上記復帰用ソフトウェアのバックアップ用の復帰用ソフトウェアバックアップ保存手段の各手段の機能も果たす。
The
Further, the
外部記憶部IF部10は、コントローラ部2と外部記憶部12とのデータのやり取りの通信制御を司る。
外部記憶部12は、IC−カード(Card)装置、USBメモリとSDカード装置等のフラッシュメモリ等のプリンタ1の本体に対して脱着可能で、コントローラ部2が外部記憶部IF部10を介して読み書き可能な不揮発性の記憶手段であり、ファームウェアのアップデートソフトウェアを含む各種のプログラムやデータを記憶する。
上記ホストIF部8と上記外部記憶部IF部10は、アップデートソフトウェアを受信する受信手段の機能を果たす。
The external storage
The
The
上記コントローラ部2のアップデート処理部20は、上記ROM3又は上記内部記憶部9のファームウェアをアップデートソフトウェアによってアップデートする処理を実行する。
上記アップデートデータ判別処理部21は、アップデートソフトウェア内のアップデート用ソフトウェアと復帰用ソフトウェアとを判別する処理を実行する。すなわち、上記ホストIF部8又は上記外部記憶部IF部10によって受信したアップデートソフトウェアのアップデート用ソフトウェアと復帰用ソフトウェアとを判別する判別手段の機能を果たす。
The update processing unit 20 of the
The update data
そして、コントローラ部2は、アップデートソフトウェアを受信した場合、上記アップデートデータ判別処理部21の判別結果に基いて、アップデートソフトウェアのアップデート用ソフトウェアと復帰用ソフトウェアをそれぞれ分けて上記ROM3又は上記内部記憶部9に記憶する処理を実行する。すなわち、上記アップデートデータ判別処理部21によって判別されたアップデート用ソフトウェアを上記アップデート用ソフトウェア保存手段に保存し、上記復帰用ソフトウェアを上記復帰用ソフトウェア保存手段と上記復帰用ソフトウェアバックアップ保存手段にそれぞれ保存する保存制御手段の機能を果たす。
When receiving the update software, the
上記ブート処理部22は、アップデート時以外の起動時には上記ROM3又は上記内部記憶部9に保存されているファームウェアに不整合が有るか否かをチェックし、不整合がない場合はRAM4に展開して実行し、不整合が有った場合は、復帰用ソフトウェアを起動する処理を実行する。その際、上記復帰用ソフトウェア保存手段に保存されている復帰用ソフトウェアを実行する場合、その復帰用ソフトウェアの不整合の有無を検知する。
The boot processing unit 22 checks whether there is inconsistency in the firmware stored in the
また、上記ブート処理部22は、上記復帰用ソフトウェア保存手段に保存されている復帰用ソフトウェアに不整合が有ることを検知した場合、上記復帰用ソフトウェアバックアップ保存手段に保存されている復帰用ソフトウェアの不整合の有無を検知する。
さらに、上記ブート処理部22は、上記アップデート用ソフトウェア保存手段に保存されているアップデート用ソフトウェアを実行する場合、そのアップデート用ソフトウェアの不整合の有無を検知する。
When the boot processing unit 22 detects that the restoration software stored in the restoration software storage unit is inconsistent, the boot processing unit 22 stores the restoration software stored in the restoration software backup storage unit. Detects inconsistencies.
Further, when executing the update software stored in the update software storage unit, the boot processing unit 22 detects the presence or absence of inconsistency of the update software.
上記起動切り替え処理部23は、上記ブート処理部22が上記復帰用ソフトウェア保存手段の復帰用ソフトウェアに不整合が有ることを検知した場合、上記復帰用ソフトウェアバックアップ保存手段に保存されている復帰用ソフトウェアの実行に切り替える。また、上記復帰用ソフトウェアバックアップ保存手段の復帰用ソフトウェアに不整合が有ることを検知した場合、上記復帰用ソフトウェア保存手段に保存されている復帰用ソフトウェアの実行に切り替える。すなわち、切替手段の機能を果たす。
When the boot processing unit 22 detects that the restoration software in the restoration software storage unit is inconsistent, the activation
上記リカバリ処理部24は、上記ブート処理部22が上記復帰用ソフトウェアバックアップ保存手段の復帰用ソフトウェアに不整合がないことを検知した場合、上記復帰用ソフトウェア保存手段に保存されている復帰用ソフトウェアを上記復帰用ソフトウェアバックアップ保存手段に保存されている復帰用ソフトウェアに書き替える。また、上記復帰用ソフトウェア保存手段の復帰用ソフトウェアに不整合がないことを検知した場合、上記復帰用ソフトウェアバックアップ保存手段に保存されている復帰用ソフトウェアを上記復帰用ソフトウェア保存手段に保存されている復帰用ソフトウェアに書き替える。すなわち、書替手段の機能を果たす。
When the boot processing unit 22 detects that the restoration software in the restoration software backup storage unit is inconsistent, the
また、上記リカバリ処理部24は、上記ブート処理部22が上記アップデート用ソフトウェア保存手段のアップデート用ソフトウェアに不整合が有ることを検知した場合、上記復帰用ソフトウェア保存手段又は上記復帰用ソフトウェアバックアップ保存手段に保存されている復帰用ソフトウェアを実行し、プリンタ1の外部であるホストコンピュータ11又は外部記憶部12から再度アップデート用ソフトウェアを取得する。
In addition, when the boot processing unit 22 detects that the update software of the update software storage unit is inconsistent, the
次に、上記プリンタ1の上記ROM3及び上記内部記憶部9における上記ファームウェア、上記アップデート用ソフトウェア及び上記復帰用ソフトウェアの記憶領域について図2によって説明する。
図2は、図1に示したROM3及び内部記憶部9のフォーマット例を示す説明図である。
上記ROM3及び上記内部記憶部9は、ファームウェアを保存するファームウェア保存領域部30と、アップデート用ソフトウェアを保存するアップデート用ソフトウェア保存領域部31と、復帰用ソフトウェアを保存する復帰用ソフトウェア保存領域部32と、バックアップ用として復帰用ソフトウェアを別に保存する復帰用ソフトウェアバックアップ保存領域部33とを備えている。
Next, storage areas of the firmware, the update software, and the return software in the
FIG. 2 is an explanatory diagram showing a format example of the
The
このように、外部から受信したアップデートソフトウェアのアップデート用ソフトウェアと復帰用ソフトウェアをそれぞれ分けて異なる領域に保存し、復帰用ソフトウェアについてはバックアップ用にさらに異なる領域に保存する。すなわち、復帰用ソフトウェアについてはアップデートに失敗した場合でもプリンタ1を確実に起動できるように復帰用ソフトウェアを二重に記憶する。
また、二重に保存するのは、復帰用ソフトウェアのみなので、プログラムのアップデートの際に要するメモリ容量を削減することができる。
In this way, the update software and the return software of the update software received from the outside are separately stored in different areas, and the return software is stored in different areas for backup. In other words, the return software is stored twice so that the printer 1 can be reliably started even if the update fails.
In addition, since only the restoration software is stored twice, the memory capacity required for updating the program can be reduced.
次に、プリンタ1におけるアップデートソフトウェア受信時のアップデート処理について図3乃至図5によって説明する。
図3は、図1に示したプリンタ1におけるアップデートソフトウェア受信時のアップデート処理を示すフローチャート図である。
図4は、アップデートソフトウェアのフォーマット例を示す説明図である。
図5は、図4に示したアップデートソフトウェアのアップデート用ソフトウェア及び復帰用ソフトウェアのそれぞれのオフセット位置とデータサイズの一例を示す図である。
Next, update processing at the time of receiving update software in the printer 1 will be described with reference to FIGS.
FIG. 3 is a flowchart showing an update process when the update software is received in the printer 1 shown in FIG.
FIG. 4 is an explanatory diagram showing a format example of the update software.
FIG. 5 is a diagram illustrating an example of offset positions and data sizes of the update software and the return software of the update software illustrated in FIG.
この処理では、アップデートソフトウェアを図1の内部記憶部9に保存する場合を説明する。
図1のコントローラ部2は、ホストIF部8によってホストコンピュータ11からアップデートソフトウェアを受信した場合、又はプリンタ1に外部記憶部12が装着され、外部記憶部IF部10を介して外部記憶部12内にアップデートソフトウェアが保存されていることを検知し、外部記憶部IF部10を介してアップデートソフトウェアを読み出した場合、例えば、RAM4に一端保存してアップデート処理部20にアップデート処理を実行させる。
In this process, a case where update software is stored in the
1 receives update software from the
ステップ(図3中「S」で示す)1で、アップデートデータ判別処理部21が、アップデートソフトウェアのヘッダデータを読み込み、ステップ2で、ヘッダデータからアップデート用ソフトウェアと復帰用ソフトウェアのオフセット位置とデータサイズを取得して、ステップ3で、アップデート用ソフトウェアと復帰用ソフトウェアを判別する。
例えば、アップデートソフトウェアの構成が、図4に示すフォーマットの場合に、上記取得したオフセット位置とデータサイズとからアップデートソフトウェア中のアップデート用ソフトウェアと復帰用ソフトウェアを判別する処理例を説明する。
In step (indicated by “S” in FIG. 3) 1, the update data
For example, when the configuration of the update software is in the format shown in FIG. 4, an example of processing for discriminating update software and return software in the update software from the acquired offset position and data size will be described.
図4に示すように、アップデートソフトウェア全体の容量におけるオフセット位置「0x0000」〜「0x0FFF」がヘッダデータ、オフセット位置「0x1000」〜「0x2FFF」が復帰用ソフトウェア、オフセット位置「0x3000」〜「0x6000」がアップデート用ソフトウェアからなる場合で説明する。 As shown in FIG. 4, offset positions “0x0000” to “0x0FFF” in the capacity of the entire update software are header data, offset positions “0x1000” to “0x2FFF” are restoration software, and offset positions “0x3000” to “0x6000” are An explanation will be given for the case of update software.
ヘッダデータには、図5に示す復帰用ソフトウェアとアップデート用ソフトウェアのそれぞれのオフセット位置とデータサイズが格納されているので、アップデータデータ判別処理部21は、ヘッダデータを参照することにより、復帰用ソフトウェアのオフセット位置「0x1000」とデータサイズ「0x2000」と、アップデート用ソフトウェアのオフセット位置「0x3000」とデータサイズ「0x3000」を取得し、アップデート用ソフトウェアと復帰用ソフトウェアを容易に判別することができる。
Since the offset data and the data size of the return software and update software shown in FIG. 5 are stored in the header data, the updater data
次に、ステップ4で、アップデート処理部20が、アップデートデータ判別処理部21の判別結果に基いて復帰用ソフトウェアを読み込み、復帰用ソフトウェアの読み込み完了か否かを判断し、復帰用ソフトウェアの読み込み完了でなければ(「N」の場合)、ステップ5で、アップデート処理部20は、復帰用ソフトウェアを読み込み、ステップ6で、内部記憶部9の図2に示した復帰用ソフトウェア保存領域部32に復帰用ソフトウェアを書き込み、ステップ4へ戻る。
そして、ステップ4の判断で復帰用ソフトウェアの読み込み完了なら(「Y」の場合)ステップ7へ進む。
Next, in
If it is determined in
次に、ステップ7で、アップデート処理部20が、アップデートデータ判別処理部21の判別結果に基いてアップデート用ソフトウェアを読み込み、アップデート用ソフトウェアの読み込み完了か否かを判断し、アップデート用ソフトウェアの読み込み完了でなければ(「N」の場合)、ステップ8で、アップデート処理部20は、アップデート用ソフトウェアを読み込み、ステップ9で、内部記憶部9の図2に示したアップデート用ソフトウェア保存領域部31にアップデート用ソフトウェアを書き込み、ステップ7へ戻る。
そして、ステップ7の判断でアップデート用ソフトウェアの読み込み完了なら(「Y」の場合)ステップ10へ進む。
Next, in step 7, the update processing unit 20 reads the update software based on the determination result of the update data
If it is determined in step 7 that the update software has been read (in the case of “Y”), the process proceeds to step 10.
ステップ10では、アップデート処理部20が、図2の復帰用ソフトウェア保存領域部32の復帰用ソフトウェアを復帰用ソフトウェアバックアップ保存領域部33にも書き込み、この処理を終了する。
この処理後、アップデート処理部20は、内部記憶部9のアップデート用ソフトウェア保存領域部31に保存されたアップデート用ソフトウェアを実行し、図2のファームウェア保存領域部30に保存されているファームウェアをアップデートする。
In
After this processing, the update processing unit 20 executes the update software stored in the update software
このように、ファームウェアをアップデートする場合、アップデート用ソフトウェアと復帰用ソフトウェアをそれぞれ分けて異なる領域に保存し、復帰用ソフトウェアについてはバックアップ用にさらに異なる領域に保存することにより、アップデートに失敗した場合でも復帰用ソフトウェアを実行してプリンタ1を起動させることができる。
また、復帰用ソフトウェアについては二重に記憶するので、一方が起動できない場合でももう一方を起動させてプリンタ1を確実に起動させることができる。
In this way, when updating the firmware, the update software and the recovery software are separately stored in different areas, and the recovery software is stored in a different area for backup, so even if the update fails. The printer 1 can be activated by executing the return software.
Further, since the restoration software is stored twice, even if one of them cannot be activated, the other can be activated and the printer 1 can be reliably activated.
なお、上述の処理では、内部記憶部9に、復帰用ソフトウェア、アップデート用ソフトウェア、及び復帰用ソフトウェアのバックアップの順で書き込む場合を説明したが、この順に限らず、アップデート用ソフトウェア、復帰用ソフトウェア、及び復帰用ソフトウェアのバックアップの順で書き込むようにしても良いし、復帰用ソフトウェア、復帰用ソフトウェアのバックアップ、及びアップデート用ソフトウェアの順で書き込むようにしても良い。
In the above-described processing, the case has been described in which the restoration software, the update software, and the restoration software backup are written in the
次に、プリンタ1におけるアップデートに失敗した場合の処理について図6及び図7によって説明する。
図6は、図1に示したプリンタ1におけるアップデートに失敗した場合の処理を示すフローチャート図である。
図7は、図4に示したアップデートソフトウェアのアップデート用ソフトウェア及び復帰用ソフトウェアのそれぞれのアドレスとデータサイズの一例を示す図である。
Next, processing when the update in the printer 1 fails will be described with reference to FIGS.
FIG. 6 is a flowchart showing processing when update in the printer 1 shown in FIG. 1 fails.
FIG. 7 is a diagram illustrating an example of addresses and data sizes of the update software and the return software of the update software illustrated in FIG.
図6に示した処理は、図1のブート処理部22、起動切り替え処理部23、及びリカバリ処理部24がそれぞれ担当する各ステップ(図6中「S」で示す)の処理を実行する。
なお、後述する各ステップの処理について、図6の各ステップ中では一部を省略して記載している。
ステップ21では、図1のブート処理部22が、起動時のブート処理時に、チェックサムなどの方法で内部記憶部9に保存されているファームウェア(上記アップデート後のファームウェア)の不整合をチェックして、不整合有りを検知すると(この不整合有りの検知でアップデートの失敗と判断する)、ステップ22へ進む。
ステップ22では、ブート処理部22が、図2の復帰用ソフトウェア保存領域部32に保存されている復帰用ソフトウェアを実行する場合、復帰用ソフトウェア保存領域部32の復帰用ソフトウェアの不整合を検知したか否かを判断し、検知しなかった場合(「N」の場合)はステップ25へ進み、検知した場合(「Y」の場合)はステップ23へ進む。
The process shown in FIG. 6 executes the process of each step (indicated by “S” in FIG. 6) that the boot processing unit 22, the start switching
In addition, about the process of each step mentioned later, a part is abbreviate | omitted and described in each step of FIG.
In
In step 22, when the boot processing unit 22 executes the restoration software stored in the restoration software
次に、ステップ23では、起動切り替え処理部23が、復帰用ソフトウェアの読み込み先を図2の復帰用ソフトウェアバックアップ保存領域部33に切り替え、さらに、リカバリ処理部24が、復帰用ソフトウェアバックアップ保存領域部33から復帰用ソフトウェアを読み出し、図1のRAM4に展開して復帰処理を実行し、ステップ24では、復帰処理でプリンタ1が起動すると、リカバリ処理部24が、図2のアップデート用ソフトウェア保存領域部31からアップデート用ソフトウェアを読み出し、図1のRAM4に展開してアップデート処理を実行し、この処理を終了する。
この処理でアップデートが成功すると、プリンタ1は通常の起動処理となり、プリンタ1の全ての機能が実行可能になる。
Next, in
If the update is successful in this process, the printer 1 becomes a normal startup process, and all the functions of the printer 1 can be executed.
一方、ステップ25では、ブート処理部22が、図2のアップデート用ソフトウェア保存領域部31に保存されているアップデート用ソフトウェアを実行する場合、アップデート用ソフトウェア保存領域部31のアップデート用ソフトウェアの不整合を検知したか否かを判断し、検知しなかった場合(「N」の場合)はステップ27へ進み、検知した場合(「Y」の場合)はステップ26へ進む。
On the other hand, in step 25, when the boot processing unit 22 executes the update software stored in the update
ステップ26では、起動切り替え処理部23が、復帰用ソフトウェアの読み込み先を図2の復帰用ソフトウェアバックアップ保存領域部33に切り替え、リカバリ処理部24が、復帰用ソフトウェアバックアップ保存領域部33から復帰用ソフトウェアを読み出し、図1のRAM4に展開して復帰処理を実行し、プリンタ1の外部(ホストコンピュータ11又は外部記憶部12)から再度アップデート用ソフトウェアを取得する処理を実行し、この処理を終了する。
上記再度アップデート用ソフトウェアを取得する処理では、復帰アップデートモードと呼ばれるファームウェアのアップデートデータの受信を待ち、アップデート処理のみを行うことができる。
In step 26, the activation
In the process of acquiring the update software again, it is possible to wait for reception of firmware update data called a return update mode and perform only the update process.
また、ステップ27では、ブート処理部22が、図2の復帰用ソフトウェアバックアップ保存領域部33に保存されている復帰用ソフトウェアを実行する場合、復帰用ソフトウェアバックアップ保存領域部33の復帰用ソフトウェアの不整合を検知したか否かを判断し、検知しなかった場合(「N」の場合)はステップ30へ進み、検知した場合(「Y」の場合)はステップ28へ進む。
Further, in step 27, when the boot processing unit 22 executes the restoration software stored in the restoration software
ステップ28では、起動切り替え処理部23が、復帰用ソフトウェアの読み込み先を図2の復帰用ソフトウェア保存領域部32に切り替え、リカバリ処理部24が、復帰用ソフトウェア保存領域部32から復帰用ソフトウェアを読み出し、図1のRAM4に展開して復帰処理を実行する。その後、ステップ29では、復帰処理でプリンタ1が起動すると、リカバリ処理部24が、図2のアップデート用ソフトウェア保存領域部31からアップデート用ソフトウェアを読み出し、図1のRAM4に展開してアップデート処理を実行し、この処理を終了する。
この処理でアップデートが成功すると、プリンタ1は通常の起動処理となり、プリンタ1の全ての機能が実行可能になる。
In step 28, the
If the update is successful in this process, the printer 1 becomes a normal startup process, and all the functions of the printer 1 can be executed.
さらに、ステップ30では、ブート処理部22が、図2のアップデート用ソフトウェア保存領域部31からアップデート用ソフトウェアを読み出し、図1のRAM4に展開してアップデート処理を実行し、この処理を終了する。
上記復帰用ソフトウェア(バックアップ用も含む)と上記アップデート用ソフトウェアの不整合の有無のチェック方法は、図7に示した復帰用ソフトウェア保存領域部と復帰用ソフトウェアバックアップ保存領域部とアップデート用ソフトウェア保存領域部のそれぞれに保存された復帰用ソフトウェアとアップデート用ソフトウェアのアドレス及びデータサイズに基いて公知技術によって判断すると良い。その詳細な説明は省略する。
Further, in
The return software storage area part, the return software backup storage area part, and the update software storage area shown in FIG. 7 are checked as to whether there is a mismatch between the return software (including backup) and the update software. It may be determined by a known technique based on the address and data size of the restoration software and update software stored in each of the units. Detailed description thereof is omitted.
次に、プリンタ1におけるアップデートに失敗した場合の他の処理例について図8によって説明する。
図8は、図1に示したプリンタ1におけるアップデートに失敗した場合の処理を示すフローチャート図である。
図8に示した処理は、図1のブート処理部22、起動切り替え処理部23、及びリカバリ処理部24がそれぞれ担当する各ステップ(図8中「S」で示す)の処理を実行する。
なお、後述する各ステップの処理について、図8の各ステップ中では一部を省略して記載している。
ステップ41では、図1のブート処理部22が、起動時のブート処理時に、チェックサムなどの方法で内部記憶部9に保存されているファームウェア(上記アップデート後のファームウェア)の不整合をチェックして、不整合有りを検知すると、ステップ42へ進む。
Next, another processing example when the update in the printer 1 fails will be described with reference to FIG.
FIG. 8 is a flowchart showing processing when the update in the printer 1 shown in FIG. 1 fails.
The process shown in FIG. 8 executes the process of each step (indicated by “S” in FIG. 8) that the boot processing unit 22, the start switching
In addition, about the process of each step mentioned later, a part is abbreviate | omitted and described in each step of FIG.
In step 41, the boot processing unit 22 in FIG. 1 checks the inconsistency of the firmware (updated firmware) stored in the
ステップ42では、ブート処理部22が、図2の復帰用ソフトウェア保存領域部32に保存されている復帰用ソフトウェアを実行する場合、復帰用ソフトウェア保存領域部32の復帰用ソフトウェアの不整合を検知したか否かを判断し、検知しなかった場合(「N」の場合)はステップ46へ進み、検知した場合(「Y」の場合)はステップ43へ進む。
In step 42, when the boot processing unit 22 executes the restoration software stored in the restoration software
ステップ43では、起動切り替え処理部23が、復帰用ソフトウェアの読み込み先を図2の復帰用ソフトウェアバックアップ保存領域部33に切り替え、リカバリ処理部24が、復帰用ソフトウェアバックアップ保存領域部33から復帰用ソフトウェアを読み出し、図1のRAM4に展開して復帰処理を実行する。その後、ステップ44では、復帰処理でプリンタ1が起動すると、リカバリ処理部24が、図2のアップデート用ソフトウェア保存領域部31からアップデート用ソフトウェアを読み出し、図1のRAM4に展開してアップデート処理を実行し、ステップ45へ進む。
In step 43, the activation
ステップ45では、リカバリ処理部24が、復帰用ソフトウェアバックアップ保存領域部33の復帰用ソフトウェアを復帰用ソフトウェア保存領域部32に上書きし、この処理を終了する。
このようにして、復帰用ソフトウェア保存領域部32の復帰用ソフトウェアに不具合があった場合、復帰用ソフトウェアバックアップ保存領域部33の復帰用ソフトウェアによって自動的に正しい内容の復帰用ソフトウェアにすることができる。
この処理でアップデートが成功すると、プリンタ1は通常の起動処理となり、プリンタ1の全ての機能が実行可能になる。
In step 45, the
In this way, if there is a problem with the restoration software in the restoration
If the update is successful in this process, the printer 1 becomes a normal startup process, and all the functions of the printer 1 can be executed.
一方、ステップ46では、ブート処理部22が、図2のアップデート用ソフトウェア保存領域部31に保存されているアップデート用ソフトウェアを実行する場合、アップデート用ソフトウェア保存領域部31のアップデート用ソフトウェアの不整合を検知したか否かを判断し、検知しなかった場合(「N」の場合)はステップ48へ進み、検知した場合(「Y」の場合)はステップ47へ進む。
On the other hand, in step 46, when the boot processing unit 22 executes the update software stored in the update
次に、ステップ47では、起動切り替え処理部23が、復帰用ソフトウェアの読み込み先を図2の復帰用ソフトウェアバックアップ保存領域部33に切り替え、リカバリ処理部24が、復帰用ソフトウェアバックアップ保存領域部33から復帰用ソフトウェアを読み出し、図1のRAM4に展開して復帰処理を実行し、プリンタ1の外部(ホストコンピュータ11又は外部記憶部12)から再度アップデート用ソフトウェアを取得する処理を実行し、この処理を終了する。
Next, in step 47, the activation
また、ステップ48では、ブート処理部22が、図2の復帰用ソフトウェアバックアップ保存領域部33に保存されている復帰用ソフトウェアを実行する場合、復帰用ソフトウェアバックアップ保存領域部33の復帰用ソフトウェアの不整合を検知したか否かを判断し、検知しなかった場合(「N」の場合)はステップ52へ進み、検知した場合(「Y」の場合)はステップ49へ進む。
Further, in step 48, when the boot processing unit 22 executes the recovery software stored in the recovery software
ステップ49では、起動切り替え処理部23が、復帰用ソフトウェアの読み込み先を図2の復帰用ソフトウェア保存領域部32に切り替え、リカバリ処理部24が、復帰用ソフトウェア保存領域部32から復帰用ソフトウェアを読み出し、図1のRAM4に展開して復帰処理を実行する。その後、ステップ50では、復帰処理でプリンタ1が起動すると、リカバリ処理部24が、図2のアップデート用ソフトウェア保存領域部31からアップデート用ソフトウェアを読み出し、図1のRAM4に展開してアップデート処理を実行し、ステップ51へ進む。
In step 49, the
ステップ51では、リカバリ処理部24が、復帰用ソフトウェア保存領域部32の復帰用ソフトウェアを復帰用ソフトウェアバックアップ保存領域部33に上書きし、この処理を終了する。
このようにして、復帰用ソフトウェアバックアップ保存領域部33の復帰用ソフトウェアに不具合があった場合、復帰用ソフトウェア保存領域部32の復帰用ソフトウェアによって自動的に正しい内容の復帰用ソフトウェアにすることができる。
In step 51, the
In this way, if there is a problem with the restoration software in the restoration software
この処理でアップデートが成功すると、プリンタ1は通常の起動処理となり、プリンタ1の全ての機能が実行可能になる。
さらに、ステップ52では、ブート処理部22が、図2のアップデート用ソフトウェア保存領域部31からアップデート用ソフトウェアを読み出し、図1のRAM4に展開してアップデート処理を実行し、この処理を終了する。
このようにして、図1のリカバリ処理部24は不整合が生じた方の復帰用ソフトウェアを正常な復帰用ソフトウェアによって上書きして自動的に訂正することができる。
If the update is successful in this process, the printer 1 becomes a normal startup process, and all the functions of the printer 1 can be executed.
Further, in step 52, the boot processing unit 22 reads the update software from the update software
In this way, the
なお、上述の処理では、アップデートソフトウェアを上記内部記憶部9に保存する場合を説明したが、上記ROM3に保存する場合も上述と同様の処理で実施することができる。
また、アップデートソフトウェアのアップデート用ソフトウェアと復帰用ソフトウェアをROM3と内部記憶部9の異なる記憶媒体上に分けて記憶するようにしてもよい。
例えば、復帰用ソフトウェアをROM3と内部記憶部9にそれぞれ記憶するようにすれば、記憶媒体の不具合で一方が読み出せなくなった場合でも、もう一方から読み出して復帰処理を実行することができる。
In the above-described processing, the case where the update software is stored in the
The update software and the return software of the update software may be stored separately on different storage media in the
For example, if the return software is stored in the
この実施例のプリンタ1によれば、二重に保存するのは、復帰用ソフトウェアのみなので、プログラムのアップデートの際に要するメモリ容量を削減することができる。
また、アップデートに失敗した場合にプリンタ1の起動と再度アップデートするための専用のソフトウェアを作成してプリンタ1に取得させる必要がなく、バックアップ時の復旧が確実にできる。
さらに、アップデートに失敗した時のみに使用する復帰アップデート用プログラムを作成しなくて済み、ソフトウェアの開発の負担を低減することができる。
さらにまた、アップデートに失敗した時のみに使用する復帰アップデート用プログラムをファームウェアアップデート用データに組み込まなくてもよいので、アップデートソフトウェアの容量を削減することができる。
According to the printer 1 of this embodiment, since only the restoration software is stored twice, the memory capacity required for updating the program can be reduced.
In addition, when the update fails, there is no need to create dedicated software for starting up the printer 1 and updating it again and causing the printer 1 to acquire it, so that recovery at the time of backup can be ensured.
Furthermore, it is not necessary to create a return update program that is used only when the update fails, and the burden of software development can be reduced.
Furthermore, since it is not necessary to incorporate a renewal update program used only when the update fails into the firmware update data, the capacity of the update software can be reduced.
この実施形態の各ソフトウェアは、コンピュータに各種デバイスを制御させ、上述したプリンタ1の印刷機能を実現させるためのプログラムとして構成することができる。
このようなプログラムは、予めプリンタ1のメモリに記憶させておく他、記録媒体であるCD、あるいはフレキシブルディスク、SRAM、EEPROM、メモリカード等の不揮発性記録媒体に記録したり、ネットワークを介してダウンロードできるようにしたりして提供することもできる。そして、そのプログラムをインストールしてCPUに実行させるか、CPUにメモリあるいはダウンロードサーバからこのプログラムを取得させて実行させることにより、上述した実施形態のプリンタ1の各機能を実現させることができる。
また、以上説明してきた実施形態の構成は、相互に矛盾しない限り任意に組み合わせて実施可能であることは勿論である。
Each software of this embodiment can be configured as a program for causing a computer to control various devices and realizing the printing function of the printer 1 described above.
Such a program is stored in the memory of the printer 1 in advance, or is recorded on a recording medium such as a CD, or a non-volatile recording medium such as a flexible disk, SRAM, EEPROM, memory card, or downloaded via a network. It can also be provided. Each function of the printer 1 according to the above-described embodiment can be realized by installing the program and causing the CPU to execute the program, or causing the CPU to acquire and execute the program from a memory or a download server.
Further, it goes without saying that the configurations of the embodiments described above can be implemented in any combination as long as they do not contradict each other.
以上で実施形態の説明を終了するが、この発明において、各部の具体的な構成、処理の内容、データの形式等は、実施形態で説明したものに限るものではない。
また、上述の実施形態では、この発明をプリンタに適用した例について説明した。
しかし、この発明は、画像形成機能を備えたものならばファクシミリ装置、複写装置、並びに複合機等の任意の画像形成装置に適用可能である。
Although the description of the embodiment has been completed above, in the present invention, the specific configuration of each unit, the content of processing, the data format, and the like are not limited to those described in the embodiment.
In the above-described embodiment, an example in which the present invention is applied to a printer has been described.
However, the present invention can be applied to any image forming apparatus such as a facsimile machine, a copying machine, and a multi-function machine as long as it has an image forming function.
1:プリンタ 2:コントローラ部 3:ROM 4:RAM
5:プロッタエンジン部 6:操作パネル 7:ユーザ通知部 8:ホストIF部
9:内部記憶部 10:外部記憶部IF部 11:ホストコンピュータ
12:外部記憶部 20:アップデート処理部
21:アップデートデータ判別処理部 22:ブート処理部
23:起動切り替え処理部 24:リカバリ処理部
30:ファームウェア保存領域部 31:アップデート用ソフトウェア保存領域部
32:復帰用ソフトウェア保存領域部
33:復帰用ソフトウェアバックアップ保存領域部
1: Printer 2: Controller unit 3: ROM 4: RAM
5: Plotter engine unit 6: Operation panel 7: User notification unit 8: Host IF unit 9: Internal storage unit 10: External storage unit IF unit 11: Host computer 12: External storage unit 20: Update processing unit 21: Update data discrimination Processing unit 22: Boot processing unit 23: Startup switching processing unit 24: Recovery processing unit 30: Firmware storage area unit 31: Update software storage area unit 32: Recovery software storage area unit 33: Recovery software backup storage area unit
Claims (4)
当該画像形成装置を制御する制御手段が実行するソフトウェアを保存するソフトウェア保存手段と、
前記制御手段に前記ソフトウェアのアップデートを実行させるアップデート用ソフトウェアと前記制御手段に前記ソフトウェアのアップデートに失敗した場合に当該画像形成装置を前記アップデートが可能な状態に復帰させる復帰処理を実行させる復帰用ソフトウェアとを含むアップデートソフトウェアを受信する受信手段と、
前記アップデート用ソフトウェアを保存するアップデート用ソフトウェア保存手段と、
前記復帰用ソフトウェアを保存する復帰用ソフトウェア保存手段と、
前記復帰用ソフトウェアのバックアップ用の復帰用ソフトウェアバックアップ保存手段と、
前記受信手段によって受信した前記アップデートソフトウェアの前記アップデート用ソフトウェアと前記復帰用ソフトウェアとを判別する判別手段と、
前記判別手段によって判別された前記アップデート用ソフトウェアを前記アップデート用ソフトウェア保存手段に保存し、前記判別手段によって判別された前記復帰用ソフトウェアを前記復帰用ソフトウェア保存手段と前記復帰用ソフトウェアバックアップ保存手段にそれぞれ保存する保存制御手段とを有することを特徴とする画像形成装置。 An image forming apparatus including an image forming unit that forms an image on a recording medium,
Software storage means for storing software executed by a control means for controlling the image forming apparatus;
Update software for causing the control means to update the software, and return software for causing the control means to execute a return process for returning the image forming apparatus to a state where the update is possible when the software update fails. Receiving means for receiving update software including:
Update software storage means for storing the update software;
Return software storage means for storing the return software;
Return software backup storage means for backup of the return software;
Discriminating means for discriminating between the update software and the return software of the update software received by the receiving means;
The update software determined by the determination means is stored in the update software storage means, and the return software determined by the determination means is stored in the return software storage means and the return software backup storage means, respectively. An image forming apparatus comprising: a storage control unit for storing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011252337A JP5803598B2 (en) | 2011-11-18 | 2011-11-18 | Image forming apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011252337A JP5803598B2 (en) | 2011-11-18 | 2011-11-18 | Image forming apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2013109450A true JP2013109450A (en) | 2013-06-06 |
JP5803598B2 JP5803598B2 (en) | 2015-11-04 |
Family
ID=48706162
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011252337A Active JP5803598B2 (en) | 2011-11-18 | 2011-11-18 | Image forming apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5803598B2 (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016103159A (en) * | 2014-11-28 | 2016-06-02 | 京セラドキュメントソリューションズ株式会社 | Image processing device and method of backing up program |
US10394549B2 (en) | 2017-03-17 | 2019-08-27 | Ricoh Company, Ltd. | Information processing apparatus, updating method, and recording medium |
-
2011
- 2011-11-18 JP JP2011252337A patent/JP5803598B2/en active Active
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2016103159A (en) * | 2014-11-28 | 2016-06-02 | 京セラドキュメントソリューションズ株式会社 | Image processing device and method of backing up program |
US10394549B2 (en) | 2017-03-17 | 2019-08-27 | Ricoh Company, Ltd. | Information processing apparatus, updating method, and recording medium |
Also Published As
Publication number | Publication date |
---|---|
JP5803598B2 (en) | 2015-11-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP6543122B2 (en) | INFORMATION PROCESSING APPARATUS, METHOD OF INITIALIZING NONVOLATILE STORAGE DEVICE BY THE INFORMATION PROCESSING APPARATUS, AND PROGRAM | |
JP4148283B2 (en) | Image forming apparatus | |
US7337312B2 (en) | Processor and firmware download method for same | |
JP6041588B2 (en) | Image forming device, program update method and program | |
US20210255849A1 (en) | Information processing apparatus and method | |
JP5803598B2 (en) | Image forming apparatus | |
JP2013218510A (en) | Information processing apparatus, program update method for information processing apparatus, and program | |
US8799887B2 (en) | Information processing apparatus, method for controlling the same, and storage medium | |
JP2006243997A (en) | Download system | |
JP2023068538A (en) | Information processing apparatus, method for controlling the same, and program | |
JP2013125405A (en) | Firmware rewriting method, firmware, and electronic device | |
JP6696414B2 (en) | Image processing device | |
JP6150048B2 (en) | Image forming system and diagnostic method for image forming system | |
JP6781803B2 (en) | Information processing device and its control method | |
JP7031211B2 (en) | Electronics | |
JP5290880B2 (en) | Electronic apparatus and image forming apparatus | |
JP2023159696A (en) | Information processing device, information processing method, and computer program | |
JP2018124611A (en) | External media processing apparatus and program | |
JP4622325B2 (en) | Image forming apparatus and control program for image forming apparatus | |
JP2008172491A (en) | Facsimile | |
JP6638323B2 (en) | PRINTING APPARATUS AND PRINTING APPARATUS CONTROL METHOD | |
JP2008284711A (en) | Image forming apparatus | |
JP2003330655A (en) | Image forming device and method for controlling the same device and computer readable storage medium and its program | |
JP6213438B2 (en) | Image forming apparatus | |
JPH11282689A (en) | Image forming device and program storing medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20141020 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20150729 |
|
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: 20150804 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20150817 |
|
R151 | Written notification of patent or utility model registration |
Ref document number: 5803598 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R151 |