JP2006235992A - Firmware rewriting system of printer, firmware rewriting method, and printer - Google Patents

Firmware rewriting system of printer, firmware rewriting method, and printer Download PDF

Info

Publication number
JP2006235992A
JP2006235992A JP2005049535A JP2005049535A JP2006235992A JP 2006235992 A JP2006235992 A JP 2006235992A JP 2005049535 A JP2005049535 A JP 2005049535A JP 2005049535 A JP2005049535 A JP 2005049535A JP 2006235992 A JP2006235992 A JP 2006235992A
Authority
JP
Japan
Prior art keywords
firmware
rewriting
printer
update
printers
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2005049535A
Other languages
Japanese (ja)
Inventor
Hiroyuki Motoyama
浩之 本山
篤志 ▼高▲木
Atsushi Takagi
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2005049535A priority Critical patent/JP2006235992A/en
Publication of JP2006235992A publication Critical patent/JP2006235992A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To heighten success probability of update by executing update of firmware transmitted from a server in a printer voluntarily and automatically. <P>SOLUTION: The update file of printer firmware is transmitted collectively to a plurality of host computers 2a to 2n from a server 1. Printers 3a to 3n connected to each host computers 2a to 2n, respectively, perform rewriting by firmware of update file; and when it is detected that rewriting of the firmware is unsuccessful, the unsuccessful rewriting processing is reset and furthermore rewriting of the firmware is retried. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、プリンタのファームウェア書き替えシステムおよびファームウェア書き替え方法並びにプリンタに関する。   The present invention relates to a printer firmware rewriting system, a firmware rewriting method, and a printer.

ホストコンピュータに接続されたプリンタのファームウェアをアップデートする作業は、新しいファームウェアが記憶されたフレキシブルディスク(FD)やCD−ROM等の記憶媒体やインターネット等のネットワークを介してダウンロードしたファイルを、作業者(ユーザー)がホストコンピュータからインストールすることによって、行われている(例えば、特許文献1参照)。   The work of updating the firmware of the printer connected to the host computer is performed by downloading a file downloaded via a storage medium such as a flexible disk (FD) or CD-ROM storing new firmware or a network such as the Internet. The user installs it from the host computer (see, for example, Patent Document 1).

このようなプリンタのファームウェアのアップデートを自動的かつ一斉に行う方法としては、サーバ側に用意したファームウェアを、テレビ放送電波を介しユーザーのホストコンピュータに同時に提供する方法(例えば、特許文献2参照)が提案されている。また、ネットワーク接続された業務用のシステムであれば、この業務用システムを管理する管理センタのサーバから各業務拠点に設置されたプリンタのホストコンピュータに同時にデータ送信することにより、プリンタのファームウェアのアップデートを自動的かつ一斉に行うことも可能である。
特開平1−112424号公報 特開2004−5454号公報
As a method for automatically and simultaneously updating the firmware of such a printer, there is a method of simultaneously providing firmware prepared on the server side to a user's host computer via a television broadcast wave (for example, see Patent Document 2). Proposed. Also, if it is a network-connected business system, the printer firmware can be updated by simultaneously sending data from the management center server that manages this business system to the printer host computer installed at each business site. Can also be performed automatically and simultaneously.
Japanese Patent Laid-Open No. 1-112424 JP 2004-5454 A

しかしながら、上記業務用のシステムにおいて、プリンタのファームウェアのアップデートを自動的かつ一斉に行う方法にあっては、ファームウェアの書き換え処理時に何らかのエラーが発生した場合には、エラーが発生した業務拠点にメンテナンスのための作業者を派遣し、作業者がエラー原因となった問題を解決した後、再度、ファームウェアのアップデートをする必要がある。   However, in the above-mentioned business system, in the method of automatically and simultaneously updating the printer firmware, if any error occurs during the firmware rewrite process, the maintenance site is informed of the maintenance. Therefore, it is necessary to update the firmware again after dispatching a worker to solve the problem causing the error.

本発明は前記のような従来の問題点を解消するものであり、その目的とするところは、プリンタのファームウェアのアップデートを自動的かつ一斉に行う場合において、ファームウェア書き換えの際にエラーが発生した場合においても、メンテナンスのための作業者を呼ぶことなく、自動的にアップデートを再開することができるプリンタのファームウェア書き替えシステムおよびファームウェア書き替え方法並びにプリンタを提供することにある。   The present invention solves the conventional problems as described above, and the object of the present invention is to update the firmware of the printer automatically and simultaneously when an error occurs during firmware rewriting. The present invention also provides a printer firmware rewriting system, a firmware rewriting method, and a printer capable of automatically restarting an update without calling an operator for maintenance.

前記目的達成のために、本発明に係るプリンタのファームウェア書き替えシステムは、サーバから複数のホストコンピュータにアップデートファイルを一括送信し、各ホストコンピュータに接続されたプリンタのファームウェアを書き替えるプリンタのファームウェア書き替えシステムであって、前記プリンタは、前記ファームウェアの書き替えが失敗したことを検出する書き替え失敗検出手段と、前記ファームウェアの書き替えが失敗したとき、その失敗した書き替え処理を自らリセットし、前記ファームウェアの前記メモリへの書き替えを再試行する制御手段と、を有することを特徴とする。
これにより、プリンタは、自身が持つ書き換え失敗検出手段によって、ホストコンピュータによってなされたファームウェアの書き換え処理の失敗を検出し、この失敗の検出時には、制御手段によりプリンタの動作をアイドル状態に速やかに戻し、続く再試行処理によって書き換えの失敗を速やかに回復可能にすることができる。
In order to achieve the above object, a printer firmware rewriting system according to the present invention is a printer firmware rewriting system in which update files are collectively transmitted from a server to a plurality of host computers, and the firmware of printers connected to each host computer is rewritten. The rewriting system, wherein the printer detects rewriting failure detecting means for detecting that the rewriting of the firmware has failed, and when the rewriting of the firmware has failed, resets the rewriting process that has failed, Control means for retrying rewriting of the firmware into the memory.
Thus, the printer detects the failure of the firmware rewriting process performed by the host computer by the rewrite failure detection unit that the printer has, and when the failure is detected, the control unit quickly returns the operation of the printer to the idle state. Subsequent retry processing makes it possible to quickly recover from a rewrite failure.

また、本発明に係るプリンタのファームウェア書き替え方法は、サーバから複数のホストコンピュータにアップデートファイルを一括送信し、各ホストコンピュータに接続されたプリンタのファームウェアを書き換えるプリンタのファームウェア書き替え方法であって、前記ファームウェアの書き替えが失敗したとき、前記プリンタは制御手段を用いて、その失敗した書き替え処理を自らリセットするとともに、前記ファームウェアの書き替えを自ら再試行することを特徴とする。
これにより、ホストコンピュータがファームウェアの書き換えに失敗したとき、プリンタ自身がリセットによってアイドル状態に復帰し、さらにプリンタ自身で行った再試行要求にもとづき、書き換え処理を再実行可能にし、書き換えを成功に導くことができる。
The printer firmware rewriting method according to the present invention is a printer firmware rewriting method in which update files are collectively transmitted from a server to a plurality of host computers, and the firmware of the printer connected to each host computer is rewritten. When the rewriting of the firmware fails, the printer resets the failed rewriting process by itself using the control means, and reattempts the rewriting of the firmware by itself.
As a result, when the host computer fails to rewrite the firmware, the printer itself is returned to the idle state by resetting, and the rewriting process can be re-executed based on the retry request made by the printer itself, leading to a successful rewriting. be able to.

また、本発明に係るプリンタのファームウェア書き替え方法は、前記ファームウェアの書き替えが設定回数に達したとき、または設定時間経過したとき、エラーステータスの表示または警告を行うことを特徴とする。
これにより、ホストコンピュータに書き替え処理が異常であることを報告して、ユーザーにプリンタのサービスを速やかに促すことができる。
The printer firmware rewriting method according to the present invention is characterized in that an error status is displayed or warned when the firmware rewriting reaches a set number of times or when a set time elapses.
As a result, it is possible to report to the host computer that the rewriting process is abnormal and prompt the user to service the printer.

また、本発明に係るプリンタは、ホストコンピュータの命令により、ファームウェアの書き替えが可能なプリンタであって、前記ホストコンピュータの命令によるファームウェアの書き替えが失敗したことを検出する書き替え失敗検出手段と、前記ファームウェアの書き替えが失敗したとき、ファームウェアの書き替え要求を前記ホストコンピュータへ送信し、再度ファームウェアの書き換えを実行可能とする制御手段と、を有することを特徴とする。
これにより、プリンタが自発的に、ファームウェアの書き換え失敗時の書き換え再試行を実行することができる。
The printer according to the present invention is a printer capable of rewriting firmware according to a command from the host computer, and a rewrite failure detecting means for detecting that the rewriting of firmware according to the command from the host computer has failed. And a control means for transmitting a firmware rewriting request to the host computer when the firmware rewriting fails, so that the firmware can be rewritten again.
Thereby, the printer can voluntarily execute rewriting retry when firmware rewriting fails.

本発明によれば、プリンタに、ファームウェアの書き替えが失敗したことを検出する書き替え失敗検出手段と、前記ファームウェアの書き換えが失敗したとき、この失敗した書き替え処理をリセットし、前記ファームウェアのメモリへの書き替えを再試行する制御手段とを設けることにより、ファームウェアの書き換え処理の失敗検出時に、プリンタの動作をアイドル状態に戻し、直ちに自動で書き換えを再実施可能にし、これにより書き換えの失敗を能率的に回復でき、高い確率で書き替え処理を成功させることができる。   According to the present invention, the rewriting failure detecting means for detecting that the rewriting of the firmware has failed in the printer, and when the rewriting of the firmware has failed, the rewriting process that has failed is reset, and the memory of the firmware By providing a control means for retrying rewriting to the firmware, when the firmware rewriting process failure is detected, the operation of the printer is returned to the idle state, and rewriting can be automatically performed immediately. It is possible to recover efficiently and to succeed in the rewriting process with high probability.

以下に、本発明の実施形態を図面を参照して説明する。
図1は、本発明の実施の形態によるファームウェア書き替えシステムを示すブロック図である。図1に示すように、本発明に係るファームウェア書き替えシステムは、サーバ1と、ホストコンピュータ2a〜2nと、プリンタ3a〜3nとを備えている。
サーバ1は、ホストコンピュータ2a〜2nにネットワークを介して接続されている。また、各ホストコンピュータ2a〜2nは、それぞれに対応する各一のプリンタ3a〜3nに接続されている。
Embodiments of the present invention will be described below with reference to the drawings.
FIG. 1 is a block diagram showing a firmware rewriting system according to an embodiment of the present invention. As shown in FIG. 1, the firmware rewriting system according to the present invention includes a server 1, host computers 2a to 2n, and printers 3a to 3n.
The server 1 is connected to host computers 2a to 2n via a network. The host computers 2a to 2n are connected to the corresponding printers 3a to 3n.

プリンタ3a〜3nは、図2に示すように、ファームウェアを記憶したフラッシュメモリなどの読み書き可能なメモリ5を有する。プリンタ3a〜3nは、ホストコンピュータ2a〜2nから送信されるアップデートファイルにてメモリ5に記憶されているファームウェアの書き替えを実行する制御手段6を有する。   As shown in FIG. 2, the printers 3 a to 3 n include a readable / writable memory 5 such as a flash memory storing firmware. The printers 3a to 3n have control means 6 for executing rewriting of firmware stored in the memory 5 with update files transmitted from the host computers 2a to 2n.

制御手段6は、前記メモリ5へのファームウェアの書き替え(アップデート)が失敗したとき、プリンタ3a〜3nの動作を初期のアイドル状態に戻すリセット機能を有する。さらに、制御手段6は、リセット後にホストコンピュータ2a〜2nに対しアップデートファイルの再送信を要求したり、メモリ5内の一時保存領域に書き込まれたファームウェアを読み出したり、前記読み出されたファームウェアをメモリ5の所定領域に書き込んでファームウェアを書き替える機能を有する。   The control means 6 has a reset function for returning the operations of the printers 3a to 3n to the initial idle state when the rewriting (update) of the firmware to the memory 5 fails. Further, the control means 6 requests the host computers 2a to 2n to resend the update file after resetting, reads the firmware written in the temporary storage area in the memory 5, and stores the read firmware in the memory 5 has a function of rewriting firmware by writing in a predetermined area.

プリンタ3a〜3nは、メモリ5中のファームウェアの書き替え失敗を検出する書き替え失敗検出手段7を有する。ここにいう書き替え失敗とは、例えばプリンタ3a〜3nとホストコンピュータ2a〜2nとの間で受け渡しされるデータのチェックサムにより検出されたエラーや、コマンドシーケンスの停止などの通信エラーが発生した場合を含む。書き替え失敗検出手段7は、ファームウェアのアップデートが設定時間経過したか否かを検出したり、再試行回数または時間がそれぞれ設定回数または設定時間を超えたか否かを検出したりする機能を有する(後述の図3の説明参照)。   The printers 3 a to 3 n have rewrite failure detection means 7 that detects a rewrite failure of the firmware in the memory 5. The rewriting failure here refers to, for example, an error detected by a checksum of data passed between the printers 3a to 3n and the host computers 2a to 2n, or a communication error such as a command sequence stoppage. including. The rewrite failure detection means 7 has a function of detecting whether or not the firmware update has passed a set time, and detecting whether or not the number of retries or time has exceeded the set number of times or the set time, respectively ( (See description of FIG. 3 below).

なお、前記書き替え失敗のケースとしては、プリンタ3a〜3nの再試行(リトライ)により自動的に解決できない場合は含まない。例えば、プリンタの電源がオフの状態(電源スイッチがオフの状態や電源プラグが抜かれた状態)や、プリンタ接続ケーブルが抜かれた状態などの場合である。   Note that the case of the rewriting failure does not include a case where the printers 3a to 3n cannot be resolved automatically by a retry (retry). For example, the printer is in a power-off state (a power switch is turned off or a power plug is unplugged) or a printer connection cable is disconnected.

本発明の実施の形態によるプリンタのファームウェア書き替え方法は、サーバ1から複数のホストコンピュータ2a〜2nに対し、プリンタのファームウェアのアップデートファイルを一括送信し、ホストコンピュータ2a〜2nに接続されたプリンタ3a〜3nの制御手段6が、そのアップデートファイルをメモリ5の一時保存領域に記憶させ、所定領域に記憶されたファームウェアを消去した後、この所定領域に対し一時保存領域内のファームウェアを書き込むものである。このメモリ5へのファームウェアの書き替えが失敗したとき、プリンタ3a〜3nは制御手段6を用いて、その失敗した書き替え処理を自らリセットするとともに、ファームウェアのメモリ5への書き替えを自発的・自動的に再試行(リトライ)するものである。   In the printer firmware rewriting method according to the embodiment of the present invention, a printer firmware update file is collectively transmitted from the server 1 to the plurality of host computers 2a to 2n, and the printer 3a connected to the host computers 2a to 2n. The control means 6 to 3n store the update file in the temporary storage area of the memory 5, erase the firmware stored in the predetermined area, and then write the firmware in the temporary storage area to the predetermined area. . When the rewriting of the firmware to the memory 5 fails, the printers 3a to 3n use the control means 6 to reset the failed rewriting process by itself and to spontaneously rewrite the firmware to the memory 5. It will automatically retry (retry).

以下、本実施の形態によるプリンタファームウェアの書き込み手順の詳細を、図3のシーケンス図を参照して説明する。
まず、ホストコンピュータ2a〜2nは、プログラムの状態を確認するため、プログラム状態の回答要求をプリンタ3a〜3nに送信する(ステップS1)。プリンタ3a〜3nはこの回答要求に対し、プログラムの状態(メインプログラムが動作中であるか、あるいは、強制的にアップデートプログラムが動作していないか)をホストコンピュータ2a〜2nに返す(ステップS2)。
Details of the printer firmware writing procedure according to this embodiment will be described below with reference to the sequence diagram of FIG.
First, the host computers 2a to 2n transmit program status reply requests to the printers 3a to 3n in order to confirm the program status (step S1). In response to this response request, the printers 3a to 3n return the program status (whether the main program is operating or whether the update program is forcibly operating) to the host computers 2a to 2n (step S2). .

この回答を受けて、ホストコンピュータ2a〜2nは、プログラムの状態に応じた処理を行う(ステップS3)。続いて、プリンタ3a〜3nがアイドル状態(入力待ちの待機状態)であるか否かを確認するため、ステータス文字列の回答要求をプリンタ3a〜3nに送信する(ステップS4)。
プリンタ3a〜3nは、アイドル状態であるか否かを返すと(ステップS5)、ホストコンピュータ2a〜2nはその状態に応じた処理を行う(ステップS6)。このとき、アイドル状態で無い場合やプリンタ3a〜3nからの回答待ち時間がタイムアウトとなったときは所定の異常処理へ移行する。
In response to this answer, the host computers 2a to 2n perform processing according to the state of the program (step S3). Subsequently, in order to confirm whether or not the printers 3a to 3n are in an idle state (waiting for input), a status character string reply request is transmitted to the printers 3a to 3n (step S4).
When the printers 3a to 3n return whether or not they are in an idle state (step S5), the host computers 2a to 2n perform processing corresponding to the state (step S6). At this time, when it is not in the idle state or when the response waiting time from the printers 3a to 3n times out, the routine proceeds to a predetermined abnormality process.

ホストコンピュータ2a〜2nは、前記アイドル状態による処理後、プリンタ3a〜3nのメモリ5内のファームウェア情報(ファームウェアのバージョン)を確認するため、ファームウェア情報の回答要求をプリンタ3a〜3nに送信する(ステップS7)。プリンタ3a〜3nはこれに応じてファームウェア情報を返し(ステップS8)、これに応じてホストコンピュータ2a〜2nはファームウェア情報に応じた処理を行う(ステップS9)。このとき、回答待ち時間がタイムアウトとなると、所定の異常処理へ移行する。   After the processing in the idle state, the host computers 2a to 2n transmit a firmware information reply request to the printers 3a to 3n in order to confirm the firmware information (firmware version) in the memory 5 of the printers 3a to 3n (step S3). S7). In response to this, the printers 3a to 3n return firmware information (step S8), and in response to this, the host computers 2a to 2n perform processing according to the firmware information (step S9). At this time, when the response waiting time is timed out, the routine proceeds to a predetermined abnormality process.

次に、ホストコンピュータ2a〜2nは、リモートアップデートの起動可否を確認するため、リモートアップデート起動可否の回答要求をプリンタ3a〜3nへ送信する(ステップS10)。これに対し、プリンタ3a〜3nは、リモートアップデート起動可およびリモートアップデート起動不可のいずれかを返す(ステップS11)。   Next, the host computers 2a to 2n transmit a response request indicating whether or not remote update activation is possible to the printers 3a to 3n in order to confirm whether or not remote update activation is possible (step S10). On the other hand, the printers 3a to 3n return either remote update activation enabled or remote update activation disabled (step S11).

ホストコンピュータ2a〜2nはリモートアップデート起動可否に応じた処理を行い(ステップS12)、リモートアップデート起動可ならば、リモートアップデート起動をプリンタ3a〜3nに送信する(ステップS13)。これにより、プリンタ3a〜3nは電源オフシーケンスなどの処理を行い、リモートアップデートプログラムへジャンプし(ステップS14)、リモートアップデートの起動終了を待つ。   The host computers 2a to 2n perform processing according to whether or not remote update activation is possible (step S12), and if remote update activation is possible, the remote update activation is transmitted to the printers 3a to 3n (step S13). As a result, the printers 3a to 3n perform processing such as a power-off sequence, jump to the remote update program (step S14), and wait for the start of remote update to end.

ホストコンピュータ2a〜2nは、リモートアップデート起動を終了したか否かを確認するため、リモートアップデート起動終了の回答要求をプリンタ3a〜3nに送信する(ステップS15)。プリンタ3a〜3nはリモートアップデート起動が正常に終了したとの回答を返し、リモートアップデート実行モジュールの受信を待つ(ステップS16)。   The host computers 2a to 2n send remote update activation completion response requests to the printers 3a to 3n to confirm whether or not the remote update activation has been completed (step S15). The printers 3a to 3n return a reply that the remote update activation has been completed normally, and wait for reception of the remote update execution module (step S16).

ホストコンピュータ2a〜2nは、その回答を受けてリモートアップデートの起動が正常に終了したことを確認し(ステップS17)、アップデートファイル(アップデート実行モジュールとアップデートファームウェアを含むファイル)をスプーラ経由でプリンタ3a〜3nへ送信する(ステップS18)。
ここでは、スプーラのジョブを監視して、アップデートファイルが全て送信されるのを待つ。プリンタ3a〜3nはアップデートファイルを受信し、これをRAMに展開し、全て受信したら、ホストコンピュータ2a〜2nからのアップデートファイル受信完了の回答要求を待つ(ステップS19)。
In response to the response, the host computers 2a to 2n confirm that the remote update has been started normally (step S17), and send the update file (file including the update execution module and the update firmware) to the printer 3a to the printer 3a. It transmits to 3n (step S18).
Here, the spooler job is monitored, and it waits for all the update files to be transmitted. The printers 3a to 3n receive the update files, expand them in the RAM, and when all of them are received, wait for an update file reception completion response request from the host computers 2a to 2n (step S19).

次に、ホストコンピュータ2a〜2nは、プリンタ3a〜3nがアップデートファイルの受信を終了したことを確認するため、アップデートファイル受信完了の回答要求をプリンタ3a〜3nに送信する(ステップS20)。プリンタ3a〜3nはこの回答要求を受けて、正常終了およびアップデートファイル異常のいずれかの回答を返し、ホストコンピュータ2a〜2nからのファームウェアの書き込み要求を待つ(ステップS21)。   Next, in order to confirm that the printers 3a to 3n have finished receiving the update file, the host computers 2a to 2n transmit an update file reception completion reply request to the printers 3a to 3n (step S20). In response to this response request, the printers 3a to 3n return either a normal end or update file error response, and wait for a firmware write request from the host computers 2a to 2n (step S21).

そして、ホストコンピュータ2a〜2nは、プリンタ3a〜3nからの正常終了の確認処理を行い(ステップS22)、ファームウェアの書き込み要求をプリンタ3a〜3nへ送信する(ステップS23)。プリンタ3a〜3nはファームウェアのアップデートを実行する(ステップS24)。このとき、プリンタ3a〜3nはキーコードおよびメモリ5のアップデート領域の初期化、アップデート領域へのファームウェアの書き込み、アップデート領域とファームウェア(RAM上のデータ)のデータ照合を行う。データが一致したときはキーコードを書き込み、正常終了のLED表示を行った後、リセットを行う。   Then, the host computers 2a to 2n perform normal end confirmation processing from the printers 3a to 3n (step S22), and transmit firmware write requests to the printers 3a to 3n (step S23). The printers 3a to 3n execute firmware update (step S24). At this time, the printers 3a to 3n initialize the key code and the update area of the memory 5, write the firmware in the update area, and collate the data between the update area and the firmware (data on the RAM). When the data match, the key code is written, the LED indicating normal completion is displayed, and then reset is performed.

一方、プリンタ3a〜3nは、アップデートが正常に終了しているか否かをキーコードにより確認する(ステップS25)。キーコードが正常の場合には、電源オン時と同様の処理を実行し、異常の場合には、強制的にアップデートプログラムを実行し、ステップS14以下の処理を、キーコードが正常になるまで実行する。   On the other hand, the printers 3a to 3n confirm whether or not the update is normally completed by using a key code (step S25). If the key code is normal, the same processing as when the power is turned on is executed. If the key code is abnormal, the update program is forcibly executed, and the processing after step S14 is executed until the key code is normal. To do.

ファームウェアのアップデートが設定時間経過しても終了しない場合には、プリンタ3a〜3nは失敗した書き込み処理を自らリセットし、その後、ホストコンピュータ2a〜2nから書き込み要求があったファームウェアのメモリ5への書き替えが正常に終了するまで繰り返す(再試行する)。そして、この再試行回数または時間がそれぞれ設定回数または設定時間を超えたときは再試行を終了し、ファームウェアの書き替えが不可能であること(エラーステータス)をホストコンピュータ2a〜2nに報告する。ホストコンピュータ2a〜2nは、この報告を受けて、書き替えが不可能である旨の警告や表示を行う。この警告や表示は、プリンタ3a〜3nで行ってもよい。   If the firmware update does not end even after the set time has elapsed, the printers 3a to 3n reset the failed writing process by themselves, and then write the firmware requested to be written from the host computers 2a to 2n to the memory 5. Repeat until the replacement is successful (retry). When the number of retries or the time exceeds the set number of times or the set time, respectively, the retries are terminated and the fact that the firmware cannot be rewritten (error status) is reported to the host computers 2a to 2n. Upon receiving this report, the host computers 2a to 2n give a warning or display indicating that rewriting is impossible. This warning or display may be performed by the printers 3a to 3n.

以上のように、プリンタ3a〜3n上で、ファームウェアの書き替えが失敗したことを書き替え失敗検出手段により検出し、ファームウェアの書き替えが失敗したとき、制御手段に、その失敗した書き替え処理をリセットさせ、書き替え要求があったファームウェアの前記メモリへの書き替えを再試行させるようにしたことにより、ファームウェアのアップデートを、プリンタ3a〜3nに自発的かつ自動的に実行させ、書き替え成功の確率を高めることができる。   As described above, when the rewriting failure detecting unit detects that the firmware rewriting has failed on the printers 3a to 3n, and the firmware rewriting fails, the control unit executes the failed rewriting process. By resetting and rewriting the firmware that has been requested to be rewritten to the memory to be retried, the printers 3a to 3n automatically and automatically execute the firmware update, and the rewriting succeeds. Probability can be increased.

本発明は、ファームウェアのアップデートを自発的かつ自動的に実行させることによって、高い確率でファームウェアの書き替えを成功させることができるという効果を有し、プリンタ等の電子機器におけるファームウェア書き替えシステムおよびファームウェア書き替え方法に有用である。   The present invention has an effect that firmware can be rewritten with high probability by executing firmware update spontaneously and automatically, and a firmware rewriting system and firmware in an electronic device such as a printer. Useful for rewriting methods.

本発明の実施の形態に係るファームウェア書き替えシステムを示すブロック図である。It is a block diagram which shows the firmware rewriting system which concerns on embodiment of this invention. 図1におけるプリンタの内部構成を示すブロック図である。FIG. 2 is a block diagram illustrating an internal configuration of the printer in FIG. 1. 本発明の実施の形態におけるホストコンピュータとプリンタとの間で実行されるファームウェアの書き込み処理過程を示すシーケンス図である。FIG. 5 is a sequence diagram illustrating a firmware writing process performed between a host computer and a printer according to an embodiment of the present invention.

符号の説明Explanation of symbols

1 サーバ
2a〜2n ホストコンピュータ
3a〜3n プリンタ
5 メモリ
6 制御手段
7 書き替え失敗検出手段
DESCRIPTION OF SYMBOLS 1 Server 2a-2n Host computer 3a-3n Printer 5 Memory 6 Control means 7 Rewrite failure detection means

Claims (4)

サーバから複数のホストコンピュータにアップデートファイルを一括送信し、各ホストコンピュータに接続されたプリンタのファームウェアを書き替えるプリンタのファームウェア書き替えシステムであって、
前記プリンタは、
前記ファームウェアの書き替えが失敗したことを検出する書き替え失敗検出手段と、
前記ファームウェアの書き替えが失敗したとき、その失敗した書き替え処理を自らリセットし、前記ファームウェアの前記メモリへの書き替えを再試行する制御手段と、を有することを特徴とするプリンタのファームウェア書き替えシステム。
A printer firmware rewriting system that transmits update files from a server to a plurality of host computers at once and rewrites the firmware of a printer connected to each host computer.
The printer is
Rewrite failure detecting means for detecting that rewriting of the firmware has failed;
Control means for resetting the failed rewriting process by itself and retrying rewriting of the firmware to the memory when rewriting of the firmware fails, and rewriting the firmware of the printer, system.
サーバから複数のホストコンピュータにアップデートファイルを一括送信し、各ホストコンピュータに接続されたプリンタのファームウェアを書き換えるプリンタのファームウェア書き替え方法であって、
前記ファームウェアの書き替えが失敗したとき、前記プリンタは制御手段を用いて、その失敗した書き替え処理を自らリセットするとともに、前記ファームウェアの書き替えを自ら再試行することを特徴とするプリンタのファームウェア書き替え方法。
A method for rewriting the firmware of a printer in which update files are collectively transmitted from a server to a plurality of host computers, and the firmware of a printer connected to each host computer is rewritten.
When the rewriting of the firmware fails, the printer resets the failed rewriting process by itself using the control means, and retrys the rewriting of the firmware by itself. Replacement method.
前記ファームウェアの書き替えが設定回数に達したとき、または設定時間経過したとき、エラーステータスの表示または警告を行うことを特徴とする請求項2に記載のプリンタのファームウェア書き替え方法。   The printer firmware rewriting method according to claim 2, wherein an error status is displayed or a warning is issued when the number of times of rewriting of firmware reaches a set number of times or when a set time elapses. ホストコンピュータの命令により、ファームウェアの書き替えが可能なプリンタであって、
前記ホストコンピュータの命令によるファームウェアの書き替えが失敗したことを検出する書き替え失敗検出手段と、
前記ファームウェアの書き替えが失敗したとき、ファームウェアの書き替え要求を前記ホストコンピュータへ送信し、再度ファームウェアの書き換えを実行可能とする制御手段と、を有することを特徴とするプリンタ。
A printer capable of rewriting firmware according to instructions from the host computer,
Rewrite failure detecting means for detecting that rewriting of firmware by an instruction of the host computer has failed;
A printer comprising: control means for transmitting a firmware rewriting request to the host computer when the firmware rewriting fails, so that the firmware can be rewritten again.
JP2005049535A 2005-02-24 2005-02-24 Firmware rewriting system of printer, firmware rewriting method, and printer Pending JP2006235992A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005049535A JP2006235992A (en) 2005-02-24 2005-02-24 Firmware rewriting system of printer, firmware rewriting method, and printer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005049535A JP2006235992A (en) 2005-02-24 2005-02-24 Firmware rewriting system of printer, firmware rewriting method, and printer

Publications (1)

Publication Number Publication Date
JP2006235992A true JP2006235992A (en) 2006-09-07

Family

ID=37043573

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005049535A Pending JP2006235992A (en) 2005-02-24 2005-02-24 Firmware rewriting system of printer, firmware rewriting method, and printer

Country Status (1)

Country Link
JP (1) JP2006235992A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009134474A (en) * 2007-11-29 2009-06-18 Brother Ind Ltd Firmware reprogramming method, firmware reprogramming program, and firmware management device
JP2016053839A (en) * 2014-09-03 2016-04-14 キヤノン株式会社 Information processing device, control method thereof, and program
JP2017013396A (en) * 2015-07-02 2017-01-19 セイコーエプソン株式会社 Printer and control method of the same
JP2020135578A (en) * 2019-02-22 2020-08-31 本田技研工業株式会社 Software updating device, vehicle, and software updating method
JP2022008356A (en) * 2019-02-22 2022-01-13 本田技研工業株式会社 Software update apparatus, vehicle, and software update method
JP7369318B2 (en) 2022-03-23 2023-10-25 新コスモス電機株式会社 alarm

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009134474A (en) * 2007-11-29 2009-06-18 Brother Ind Ltd Firmware reprogramming method, firmware reprogramming program, and firmware management device
JP2016053839A (en) * 2014-09-03 2016-04-14 キヤノン株式会社 Information processing device, control method thereof, and program
JP2017013396A (en) * 2015-07-02 2017-01-19 セイコーエプソン株式会社 Printer and control method of the same
JP2020135578A (en) * 2019-02-22 2020-08-31 本田技研工業株式会社 Software updating device, vehicle, and software updating method
JP2022008356A (en) * 2019-02-22 2022-01-13 本田技研工業株式会社 Software update apparatus, vehicle, and software update method
US11429370B2 (en) 2019-02-22 2022-08-30 Honda Motor Co., Ltd. Software updating apparatus, vehicle, and software updating method
JP7212736B2 (en) 2019-02-22 2023-01-25 本田技研工業株式会社 SOFTWARE UPDATE DEVICE, VEHICLE AND SOFTWARE UPDATE METHOD
JP7369318B2 (en) 2022-03-23 2023-10-25 新コスモス電機株式会社 alarm

Similar Documents

Publication Publication Date Title
US8893107B2 (en) Information processing apparatus, information processing method, and information processing program for updating a data set
EP1639468B1 (en) Network equipment and a method for monitoring the start up of a such an equipment
JP4929726B2 (en) Image processing system
JP5191705B2 (en) Maintenance management system, database server, maintenance management program, and maintenance management method
CN102667716A (en) Methods and devices for updating firmware of a component using a firmware update application
JP2006235992A (en) Firmware rewriting system of printer, firmware rewriting method, and printer
JP5229112B2 (en) Controller control method and controller
JP5366184B2 (en) Data storage system and data storage method
JP2009215001A (en) Remote updating system of elevator control program
JP2010015267A (en) Software distribution system, software distribution method, and computer program
JP7206106B2 (en) Information processing device and program
JP4004271B2 (en) Client environment setting apparatus, method, program recording medium, and program in client / server system
JP6349733B2 (en) Information processing apparatus, recovery support method, recovery support program, recovery support system, and recovery support server
JP2009009323A (en) Setting device, electronic equipment, and setting program
JP2006260215A (en) Control system, control device, and control method of control system
JP2007172186A (en) Data update device, and data update method
US20030182521A1 (en) Program data rewriting system
JP4432520B2 (en) Communication control device
JP4430931B2 (en) Image forming apparatus and firmware update method thereof
JP6111918B2 (en) Image processing apparatus, image processing system, and program
JP2010146436A (en) Monitoring system, control method and program
JP2008225745A (en) Process control device, method, and program
JP2005078582A (en) Remote monitoring device
JP2001209551A (en) Operating system control unit, operating system control method and recording medium
JP2008269128A (en) Upgrade management device and upgrade management program