JP2001067228A - Firmware down loading system - Google Patents

Firmware down loading system

Info

Publication number
JP2001067228A
JP2001067228A JP24035699A JP24035699A JP2001067228A JP 2001067228 A JP2001067228 A JP 2001067228A JP 24035699 A JP24035699 A JP 24035699A JP 24035699 A JP24035699 A JP 24035699A JP 2001067228 A JP2001067228 A JP 2001067228A
Authority
JP
Japan
Prior art keywords
module
embedded device
firmware
download
list
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
JP24035699A
Other languages
Japanese (ja)
Inventor
Atsushi Mori
敦史 森
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Corp
Original Assignee
NEC Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by NEC Corp filed Critical NEC Corp
Priority to JP24035699A priority Critical patent/JP2001067228A/en
Publication of JP2001067228A publication Critical patent/JP2001067228A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To effectively use resources and to improve the performance by using only a firmware needed for the current processing of installation equipment by selecting the module of firmware which needs to be transmitted to perform processing and down-loading it from a library of firmware to an installation equipment. SOLUTION: An application 2 sets properties of printing at the time of the printing. A print property management part 6 of a printer driver 3 confirms the settings and teaches a host down-loader 9 the property information. Information on a module currently operating on the printer 4 is requested of the printer 4. A printer down-loader 16 generates module information and sends it to a host PC1. The host down-loader 9 once receiving the module information from the printer 4 compares its list with a host-side down-load list to update down- loading.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は組み込み機器のファ
ームウェアのダウンロード方式に関し、ファームウェア
を送信するホストコンピュータ側とファームウェアを受
信する組み込み機器側とが協調し組み込み機器の処理に
必要なファームウェアを選択してダウンロードする方式
に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a method for downloading firmware of an embedded device, in which a host computer transmitting the firmware and an embedded device receiving the firmware cooperate to select firmware required for processing of the embedded device. It relates to the method of downloading.

【0002】[0002]

【従来の技術】従来、組み込み機器の持つROMに予め
全てのファームウェアを保存していた。組み込み機器が
プリンタの場合、プリンタが動作を開始すると、始めに
基本ソフトウェア(OS)が動作し、その後、ROM上の
ファームウェアを使用してホストI/Fタスク、エンジ
ンI/Fタスク、ページ記述言語エミュレータタスクな
どのプリンタ処理固有のタスクを生成することでプリン
タとして動作が可能となる。
2. Description of the Related Art Conventionally, all firmware has been previously stored in a ROM of an embedded device. When the embedded device is a printer, when the printer starts operating, first, basic software (OS) operates, and thereafter, a host I / F task, an engine I / F task, a page description language using firmware on a ROM. By generating a task specific to printer processing such as an emulator task, it becomes possible to operate as a printer.

【0003】ホストI/Fタスクは、ホストコンピュー
タ(通常パーソナルコンピュータやパソコンサーバであ
ることが多い。以降ホストPCと称す。)から印刷デー
タを受信し、ページ記述言語エミュレータタスクがそれ
を解析してRAM上のフレームバッファにビットイメー
ジを作成し、エンジンI/Fタスクがそれをプリントエ
ンジンに送出して用紙への印刷を実行する。
The host I / F task receives print data from a host computer (usually a personal computer or a personal computer server; hereinafter, referred to as a host PC), and a page description language emulator task analyzes the print data. A bit image is created in the frame buffer on the RAM, and the engine I / F task sends it to the print engine to execute printing on a sheet.

【0004】このような従来の技術では、機能追加やバ
グの修正によって一部のファームウェアに変更があった
場合でも、ファームウェア全体の更新が必要で、そのた
めにROMを交換したり、ROMの代わりにフラッシュ
メモリを搭載し、それを書き換えたりする必要があっ
た。
In such a conventional technique, even when a part of firmware is changed by adding a function or correcting a bug, it is necessary to update the entire firmware. For this reason, the ROM must be replaced or replaced with a ROM. It was necessary to mount flash memory and rewrite it.

【0005】昨今では、プリンタの処理能力への要求が
増大し、制御を行うためのファームウェアもそれにつれ
て巨大化している。このような巨大なファームウェアの
全てをプリンタ機器が内蔵することはファームウェアを
保存するROMや高速動作を行う理由によりファームウ
ェアをアクセスタイムの遅いROMからRAM上で動作
させるため、ROMからRAMにコピーし動作を行うR
AMなどの使用量を増加させる事になり、コスト上昇を
まねいている。
[0005] In recent years, the demand for the processing capability of the printer has increased, and the firmware for performing the control has been correspondingly enlarged. In order for the printer device to incorporate all of such a huge firmware into the printer device, it is necessary to copy the firmware from the ROM to the RAM in order to operate the firmware from the ROM with the slow access time to the RAM because of the high speed operation. Do R
This leads to an increase in the usage of AM and the like, leading to an increase in cost.

【0006】また通常、ファームウェアの更新は内蔵さ
れているフラッシュメモリやEEPROMの内容を書き
換えることによって行われるが、この時書き換える以前
のファームウェアを消去してしまうため、更新したファ
ームウェアの内容に問題があったり、あるいはフラッシ
ュメモリ書き換え中に電源断やケーブルの接触不良、ノ
イズなどにより更新処理に失敗した場合はファームウェ
アが不正な状態となって一般ユーザでは対処不可能な故
障状態に陥ってしまう危険性があった。
[0006] Normally, firmware is updated by rewriting the contents of a built-in flash memory or EEPROM. At this time, since the firmware before rewriting is erased, there is a problem with the contents of the updated firmware. If the update process fails due to power failure, cable contact failure, noise, etc. while rewriting the flash memory, there is a risk that the firmware will be in an incorrect state and fall into a failure state that ordinary users can not handle there were.

【0007】[0007]

【発明が解決しようとする課題】第1の問題点は、以下
のものである。
The first problem is as follows.

【0008】機能、性能への要求から巨大化した組み込
み機器のファームウェアは、例えばプリンタの場合パー
ソナルコンピュータのように量販製品であることもあっ
て、限定した機能しか使用しないユーザに個別の対応を
したり、技術動向の変化に対応した機能、性能を盛り込
んだレビジョンのタイムリーなリリースが困難である。
そのため、ユーザ個別対応等の問題を回避する一つの方
策として組み込み機器のROM上に全てのファームウェ
アモジュールを格納してしまうため、使用目的によって
は不用であるファームウェアのモジュールがROMやR
AMなどの資源を余計に使用してしまい、逆にパフォー
マンスを低下させているという問題である。
[0008] The firmware of embedded devices, which has become huge due to demands for functions and performance, is a mass-produced product such as a personal computer in the case of a printer, for example, and is individually adapted to users who use only limited functions. In addition, it is difficult to timely release revisions that incorporate functions and performance in response to changes in technology trends.
Therefore, as one measure for avoiding problems such as individual user correspondence, all the firmware modules are stored in the ROM of the embedded device.
There is a problem that resources such as AM are used more and the performance is degraded.

【0009】第2の問題点は、プリンタ等の組み込み機
器に内蔵されたフラッシュメモリやEEPROMの内容
を書きかえることでファームウェアの更新を行う作業
は、ユーザにとって不慣れな特別な操作が必要であり、
さらに書き換えに失敗した場合、ユーザによる回復は不
可能な障害状態に陥るリスクをユーザは背負わされてい
る点である。
The second problem is that the operation of updating the firmware by rewriting the contents of a flash memory or an EEPROM built in a built-in device such as a printer requires a special operation unfamiliar to the user.
Further, if rewriting fails, the user bears the risk of falling into a failure state that cannot be recovered by the user.

【0010】従って本発明の目的は、第1に今日の巨大
化したファームウェアの全てを組み込み機器に格納する
ことによるROMやRAMなどの資源の不必要な消費を
押さえ、組み込み機器のその時点での処理上必要なファ
ームウェアのみを使用することで、資源を有効に利用し
てパフォーマンスを向上させる事である。
[0010] Accordingly, an object of the present invention is firstly to suppress unnecessary consumption of resources such as ROM and RAM by storing all of today's huge firmware in an embedded device, and to save the embedded device at that time. By using only firmware that is necessary for processing, resources are used effectively and performance is improved.

【0011】第2に、ユーザ等がフラッシュメモリやE
EPROMを書き換えるによって起こりうる不慮の障害
を発生しないようにすることである。
Second, a user or the like can use a flash memory or E-
The purpose is to prevent possible accidents from occurring by rewriting the EPROM.

【0012】本発明では、ホストPCの組み込み機器に
対応したドライバプログラムが、組み込み機器にアクセ
スする際に、組み込み機器の保有するファームウェアの
情報を組み込み機器との間の双方向通信によって取得
し、その情報に従ってドライバプログラムに同梱されて
いる組み込み機器のファームウェアから適切なモジュー
ルを選択して組み込み機器にダウンロードを行う。 組
み込み機器はRAMの未使用エリアに受信した前記モジ
ュールを設定し、前記モジュールを使用するタスクをダ
イナミックリンクして生成し実行する。
In the present invention, when the driver program corresponding to the embedded device of the host PC accesses the embedded device, the driver program acquires the information of the firmware possessed by the embedded device by bidirectional communication with the embedded device. According to the information, an appropriate module is selected from firmware of the embedded device bundled with the driver program and downloaded to the embedded device. The embedded device sets the received module in an unused area of the RAM, and dynamically links and generates and executes a task using the module.

【0013】また既に動作しているファームウェアと重
複するモジュールは、該モジュールのレビジョンが更新
されたものであるため、既存のモジュールを使用するタ
スクの動作を停止し、そのモジュールが使用している資
源を解放してから更新したモジュールをそれぞれのタス
クに再度ダイナミックリンクし動作させる。
[0013] In addition, since the revision of the module is updated for a module that is already running, the task using the existing module is stopped, and the resource used by the module is stopped. Is released, and the updated module is dynamically linked to each task again to operate.

【0014】本発明は、組み込み機器のファームウェア
の一部または全部をホストPCの組み込み機器に対応し
たドライバプログラムに同梱し、使用目的にあったモジ
ュールを組み込み機器にダウンロードして実行すること
である。
According to the present invention, part or all of the firmware of an embedded device is bundled with a driver program corresponding to the embedded device of the host PC, and a module suitable for the intended use is downloaded to the embedded device and executed. .

【0015】そのため、ユーザが必要としないモジュー
ルは動作せず、そのための不必要にRAMやROMなど
の資源が使用されることがない。また、一部または全て
のファームウェアが組み込み機器のROMに内蔵されて
いる場合で、すでにROMに存在するモジュールを更新
する場合には、以前のモジュールの動作を無効にし更新
したモジュールを動作させることである。
Therefore, modules not required by the user do not operate, and resources such as RAM and ROM are not unnecessarily used for that purpose. If some or all of the firmware is stored in the ROM of the embedded device and a module that already exists in the ROM is to be updated, the operation of the previous module is disabled and the updated module is operated. is there.

【0016】さらに、この更新の対象となるモジュール
をフラッシュメモリなど組み込み機器に内蔵された不揮
発性メモリ等からなる起動システム自身には反映せず、
電源の再投入やリセットにより、ROMから再起動を行
えば、更新の対象となるファームウェアはクリアされ、
製品出荷時の状態に戻る。そのため、たとえ誤ったファ
ームウェアを組み込んでしまったり、接続ミスや操作ミ
スあるいはそれ以外の問題でダウンロードが失敗した場
合でも組み込み機器に内蔵されたファームウェアを破壊
することが無く、ダウンロード処理をリトライすること
が可能なので組み込み機器が動作不可能な状態には陥ら
ないという特徴を持つ。
Further, the module to be updated is not reflected in the boot system itself composed of a nonvolatile memory or the like built in an embedded device such as a flash memory.
If you restart from ROM by power-on or reset, the firmware to be updated will be cleared,
Return to the state when the product was shipped. Therefore, even if the wrong firmware is installed or the download fails due to a connection error, operation error, or other problem, the firmware built in the embedded device will not be destroyed and the download process can be retried. The feature is that embedded devices do not fall into an inoperable state because they are possible.

【0017】[0017]

【課題を解決するための手段】本願の第一の発明のファ
ームウェアダウンロード方式は、プリンタなどの組み込
み機器で組み込み機器制御の為に動作する複数のモジュ
ールからなるファームウェアをパーソナルコンピュータ
等のホストコンピュータから前記組み込み機器にダウン
ロードする方式であって、前記ホストコンピュータ上に
あって前記組み込み機器との間で双方向通信を行う前記
組み込み機器対応のドライバプログラムは、前記組み込
み機器の各処理それぞれの開始に先立ち、前記組み込み
機器側から受け取った前記組み込み機器が保有するモジ
ュール情報と、前記ドライバプログラムが作成した該処
理の実行に関連するモジュール名等からなるモジュール
情報からなるダウンロードリストとを突き合わせ、該処
理の実行の為に送信を必要とするファームウェアのモジ
ュールを選択し前記ホストコンピュータの有するファー
ムウェアのライブラリから前記組み込み機器にダウンロ
ードすることを備える。
According to a first aspect of the present invention, there is provided a firmware download method in which a firmware including a plurality of modules operating for controlling an embedded device in an embedded device such as a printer is transmitted from a host computer such as a personal computer to the firmware. In the method of downloading to the embedded device, the driver program for the embedded device that performs bidirectional communication with the embedded device on the host computer, prior to the start of each process of the embedded device, The module information held by the embedded device received from the embedded device side is matched with a download list formed by the driver program and including module information including a module name related to the execution of the process. Sent for Select the module firmware that requires comprises downloading the embedded device from a library of firmware having the said host computer.

【0018】本願の第二の発明のファームウェアダウン
ロード方式は、第一の発明において、ダウンロードした
ファームウェアをフラッシュメモリなど前記組み込み機
器内蔵の前記組み込み機器起動システム自身には組み込
まず、前記組み込み機器の処理の開始の度に必要とする
モジュールをホストコンピュータからダウンロードする
ことを備える。
The firmware download method according to a second aspect of the present invention is the firmware download method according to the first aspect, wherein the downloaded firmware is not incorporated in the embedded device activation system itself including the embedded device such as a flash memory. The method comprises downloading the required modules from the host computer at each start.

【0019】本願の第三の発明のファームウェアダウン
ロード方式は、第一の発明において、前記組み込み機器
の処理を開始するに当たり、前記組み込み機器は、前記
組み込み機器が保有するファームウェアのモジュール名
と該モジュールのレビジョン情報からなる一覧リストを
前記ホストコンピュータに送信し、それを受信した前記
ホストコンピュータは、前記ダウンロードリスト中のモ
ジュールが前記一覧リスト中に存在するかを確認し存在
しないモジュールのみを前記組み込み機器に送信するこ
とを備える。
According to a third aspect of the present invention, in the firmware download method according to the first aspect, when starting the processing of the embedded device, the embedded device is configured to execute the module name of the firmware held by the embedded device and the module name of the module. A list list including revision information is transmitted to the host computer, and the host computer that receives the list confirms whether a module in the download list exists in the list list, and transmits only a module that does not exist to the embedded device. Comprising transmitting.

【0020】本願の第四の発明のファームウェアダウン
ロード方式は、第三の発明において、前記ホストコンピ
ュータは、前記ダウンロードリスト中のモジュールが前
記一覧リストに含まれている場合、さらに前記ダウンロ
ードリスト中の該モジュールのレビジョンと前記一覧リ
スト中の該モジュールのレビジョンとを比較し前記ダウ
ンロードリスト中の該モジュールのレビジョンの方が前
記一覧リスト中のものより新しいものであれば、該モジ
ュールを前記組み込み機器に送信することを備える。
According to a fourth aspect of the present invention, in the firmware download method according to the third aspect, when the module in the download list is included in the list, the host computer further stores the module in the download list. Compare the revision of the module with the revision of the module in the list, and if the revision of the module in the download list is newer than the revision in the list, send the module to the embedded device. Prepare to do.

【0021】本願の第五の発明のファームウェアダウン
ロード方式は、第三の発明において、前記ホストコンピ
ュータは、前記組み込み機器が既に保有するためダウン
ロードが不要なモジュールが前記ダウンロードリストに
含まれている場合、前記ダウンロードリストにその旨を
印しその結果の前記ダウンロードリストを前記組み込み
機器に送信することを備える。
According to a fifth aspect of the present invention, in the firmware download method according to the third aspect, the host computer includes, when the download list includes a module that the embedded device already has and does not need to download. Marking the download list to that effect and transmitting the resulting download list to the embedded device.

【0022】本願の第六の発明のファームウェアダウン
ロード方式は、第一の発明において、前記組み込み機器
は、前記ホストコンピュータから受信したモジュールを
前記組み込み機器上でタスクとして生成するに当たり、
既に該受信したモジュールと同じモジュール名のモジュ
ールを有するタスクが存在する場合、該タスクを終了さ
せ該受信したモジュールを使用して再度該タスクを生成
することを備える。
In a sixth aspect of the present invention, in the firmware download method according to the first aspect, the embedded device generates a module received from the host computer as a task on the embedded device.
When there is already a task having a module having the same module name as the received module, the method includes terminating the task and generating the task again using the received module.

【0023】本願の第七の発明のファームウェアダウン
ロード方式は、第三の発明において、前記組み込み機器
は、前記ホストコンピュータから受信したモジュールを
受信してタスクを生成する場合、前記組み込み機器の有
するメモリが不足すると、受信した前記ダウンロードリ
スト中に無いモジュールで前記組み込み機器の保有する
モジュールがあれば、該モジュールを使用するタスクを
メモリから消去することによりメモリ不足を解消するこ
とを備える。
In the firmware download method according to a seventh invention of the present application, in the third invention, when the embedded device receives a module received from the host computer and generates a task, the memory of the embedded device is When there is a shortage, if there is a module which is not included in the received download list and which is owned by the embedded device, the task of using the module is deleted from the memory to resolve the memory shortage.

【0024】本願の第八の発明のファームウェアダウン
ロード方式は、第一の発明において、前記組み込み機器
のダウンロード処理中にエラーが発生した場合、前記組
み込み機器は、該エラーコードを前記ホストコンピュー
タに送信すると、前記ホストコンピュータは該エラーコ
ードの内容に従いダウンロードするモジュールを変更し
該変更したモジュールをダウンロードすることを備え
る。
[0024] In a firmware download method according to an eighth aspect of the present invention, in the first aspect, when an error occurs during the download processing of the embedded device, the embedded device transmits the error code to the host computer. The host computer changes a module to be downloaded according to the content of the error code, and downloads the changed module.

【0025】本願の第九の発明のファームウェアダウン
ロード方式は、第一の発明において、前記ホストコンピ
ュータは、前記組み込み機器へのダウンロード処理中に
前記組み込み機器から一定時間以上の応答がない場合、
前記組み込み機器を初期化状態にするためのリセット信
号を送信し、リセット信号が正常に受け付けられた時、
再度ダウンロード処理を最初から実行することを備え
る。
[0025] In the firmware download method according to a ninth aspect of the present invention, in the first aspect, the host computer, when a response for a predetermined time or more is not received from the embedded device during download processing to the embedded device,
Sending a reset signal for bringing the embedded device into an initialization state, and when the reset signal is normally received,
It is provided that the download process is executed again from the beginning.

【0026】[0026]

【発明の実施の形態】本発明の実施の形態を、組み込み
機器がプリンタの場合について図1に示す。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS FIG. 1 shows an embodiment of the present invention in a case where an embedded device is a printer.

【0027】パーソナルコンピュータ等からなるホスト
PC1は、印刷機能を実行するアプリケーション2と、
印刷に当たってプリンタ4との連携処理を行うプリンタ
ドライバ3とからなる。
A host PC 1 composed of a personal computer or the like includes an application 2 for executing a printing function,
The printer driver 3 performs a cooperative process with the printer 4 when printing.

【0028】プリンタドライバ3は、解像度や用紙サイ
ズ等の印刷属性を認識する印刷プロパティ管理部6と、
OSに依存しホストPC1固有の内部形式になっている
印刷データをプリンタ4が解析可能な形式のデータに変
換するコードデータ生成部7と、ファームウェアのダウ
ンロードを行うホストダウンローダ9と、ダウンロード
するファームウェアを構成する全てのモジュールを含む
ライブラリ8と、からなっている。
The printer driver 3 includes a print property management unit 6 for recognizing print attributes such as resolution and paper size.
A code data generator 7 for converting print data in an internal format unique to the host PC 1 depending on the OS into data in a format that can be analyzed by the printer 4, a host downloader 9 for downloading firmware, and a firmware for downloading. And a library 8 including all the constituent modules.

【0029】さらに、ホストPC1は、プリンタ4と双
方向通信を行うためのハードウェアとしてパラレルポー
トインターフェース(以降インターフェースをI/Fと
称す。)11と、その制御ドライバとしてパラレルポー
トドライバ10と、を含んでいる。
Further, the host PC 1 has a parallel port interface (hereinafter referred to as an I / F) 11 as hardware for performing bidirectional communication with the printer 4, and a parallel port driver 10 as a control driver thereof. Contains.

【0030】印刷機能を実行するプリンタ4は、ファー
ムウェア5と、印刷データをホストPC1から受信する
セントロI/F19と、印刷を実行するプリントエンジ
ン18と、からなる。
The printer 4 that executes the printing function includes the firmware 5, a Centro I / F 19 that receives print data from the host PC 1, and a print engine 18 that executes printing.

【0031】ファームウェア5は、セントロI/F19
を制御するホストI/F17と、ホストPC1のコード
データ生成部7が出力したコードデータを解析して変換
しプリントエンジン18に出力するデータを生成するペ
ージ記述言語エミュレータ12と、プリントエンジン1
8を制御するエンジンI/F13と、各プリンタ4上の
各タスクを生成したり消滅したりするタスク制御部14
と、メモリの使用状態/未使用状態の管理をするメモリ
管理部15と、ホストPC1からダウンロードされるフ
ァームウェアを受信するプリンタダウンローダ16と、
からなる。
The firmware 5 has a Centro I / F 19
, A page description language emulator 12 that analyzes and converts code data output by the code data generation unit 7 of the host PC 1 to generate data to be output to the print engine 18, and a print engine 1
I / F 13 that controls the printer 8 and a task controller 14 that creates and deletes each task on each printer 4
A memory management unit 15 that manages the used / unused state of the memory, a printer downloader 16 that receives firmware downloaded from the host PC 1,
Consists of

【0032】また、ホストPC1とプリンタ4は、セン
トロケーブル20で接続されていてホストPC1とプリ
ンタ4の間で双方向に任意の情報が転送可能である。
The host PC 1 and the printer 4 are connected by a Centro cable 20 so that arbitrary information can be transferred between the host PC 1 and the printer 4 in both directions.

【0033】本発明の動作を図2(ホストPC1の処理
を表す)、図3(プリンタ4の処理を表す)のフローチ
ャートを同時に使用して説明する。
The operation of the present invention will be described with reference to the flowcharts of FIG. 2 (representing the processing of the host PC 1) and FIG. 3 (representing the processing of the printer 4).

【0034】ユーザの指示により印刷を実行するアプリ
ケーション2は、印刷を行うとき、印刷のプロパティ
(属性)を設定し、例えばグラフィックパターンの細か
さや全体の解像度、両面印刷の指定や用紙サイズの指
定、拡大縮小などを決定した後で印刷処理を実行する
(S100)。
The application 2 that executes printing in accordance with a user's instruction sets printing properties (attributes) at the time of printing, and specifies, for example, the fineness and overall resolution of a graphic pattern, double-sided printing, paper size, and the like. After the enlargement / reduction is determined, the printing process is executed (S100).

【0035】すると、プリンタドライバ3の印刷プロパ
ティ管理部6は、この設定を確認してホストダウンロー
ダ9にそのプロパティ情報を教える。ホストダウンロー
ダ9は、このプロパティ情報からプリンタ4での印刷に
必要な全てのファームウェアのモジュールのモジュール
名とレビジョンと該モジュールをメモリに展開した時の
メモリ展開サイズとをリスト化し、ダウンロードリスト
として保存し(S110)、プリンタ4に対し、現在プ
リンタ4上で動作しているモジュール情報を要求する
(S120)。尚、前記のレビジョンやメモリ展開サイ
ズの情報は、ホストダウンローダ9がファームウェアラ
イブラリ9をアクセスして取り出してくる。
Then, the print property management section 6 of the printer driver 3 confirms this setting and informs the host downloader 9 of the property information. The host downloader 9 lists the module names and revisions of all firmware modules required for printing by the printer 4 and the memory expansion size when the module is expanded in the memory from the property information, and saves the list as a download list. (S110), and requests the printer 4 for information on the module currently operating on the printer 4 (S120). The host downloader 9 accesses the firmware library 9 and extracts the information on the revision and the memory development size.

【0036】この時、ホストダウンローダ9は、パラレ
ルポートドライバ10にこの要求の送信を依頼し、パラ
レルポートドライバ10は、パラレルポートI/F11
を使用しこの要求をプリンタ4に送信する。 プリンタ
4のセントロI/F19は、セントロケーブル20を経
由した本要求を受信すると、ホストI/F17にこの要
求の通知を行う。ホストI/F17は、この要求を受信
すると、通常のコードデータを受信した時と同様にペー
ジ記述言語エミュレータ12にこの要求を渡す。
At this time, the host downloader 9 requests the parallel port driver 10 to transmit this request, and the parallel port driver 10 transmits the request to the parallel port I / F 11.
And sends this request to the printer 4. Upon receiving this request via the Centro cable 20, the Centro I / F 19 of the printer 4 notifies the host I / F 17 of this request. Upon receiving this request, the host I / F 17 passes this request to the page description language emulator 12 in the same manner as when receiving normal code data.

【0037】ページ記述言語エミュレータ12によって
この要求の解析処理が行われるが、ダウンロード要求で
ある事を確認するとプリンタダウンローダ16に受け渡
す(S300)。
The request is analyzed by the page description language emulator 12. When it is confirmed that the request is a download request, the request is transferred to the printer downloader 16 (S300).

【0038】プリンタダウンローダ16は、メモリ管理
部15に現在メモリ上にロードされているファームウェ
アのモジュール情報を要求する(S310)。プリンタ
ダウンローダ16は、メモリ管理部15から返却された
情報からメモリ上にロードされているモジュールのモジ
ュール名と該モジュールが持つレビジョンの一覧リスト
からなるモジュール情報を作成し、これをホストPC1
に送信し(S320)、ホストPC1からのファームウ
ェアモジュールのダウンロード待ちとなる(S33
0)。
The printer downloader 16 requests the memory management unit 15 for module information of the firmware currently loaded on the memory (S310). The printer downloader 16 creates module information including a module name of the module loaded on the memory and a list of revisions of the module from the information returned from the memory management unit 15 and stores the module information in the host PC 1.
(S320), and waits for the download of the firmware module from the host PC 1 (S33).
0).

【0039】ホストダウンローダ9は、プリンタ4から
のモジュール情報を受信すると(S130)、そのリス
トと先に自分が作成したホスト側のダウンロードリスト
とを比較し、ダウンロードリストを更新していく。
Upon receiving the module information from the printer 4 (S130), the host downloader 9 compares the list with the host-side download list created by the host 4 and updates the download list.

【0040】まず、プリンタ4から受信したリストの中
にホストPC1からダウンロードしようとしているモジ
ュールと重複するモジュールがないかチェックする(S
140)。もし同じモジュールが存在すれば、さらにそ
のレビジョンをチェックしてモジュールの新旧を比較す
る(S150)。
First, it is checked whether there is any module in the list received from the printer 4 that overlaps with the module to be downloaded from the host PC 1 (S).
140). If the same module exists, the revision is further checked and the new and old modules are compared (S150).

【0041】プリンタ4で動作しているモジュールのレ
ビジョンと一致するかプリンタ4で動作しているものが
新しければホスト側で作成したダウンロードリストのそ
のモジュールに対応した部分に削除マークを作成し、ダ
ウンロードを行わないことを示す(S160)。
If the revision matches the revision of the module operating on the printer 4 or if the one operating on the printer 4 is new, a delete mark is created in a portion corresponding to the module in the download list created on the host side, This indicates that downloading is not performed (S160).

【0042】図10はこの状況を表したものでモジュー
ルA、モジュールBはダウンロードの対象であり、モジ
ュールX、モジュールYは削除マーク”D”が付与され
プリンタ4が当該モジュールを保有している為、ダウン
ロードを行わないことを表している。
FIG. 10 shows this situation. Modules A and B are to be downloaded, and modules X and Y are marked with a delete mark "D" and the printer 4 owns the module. , Indicating that the download is not performed.

【0043】ホストダウンローダ9は、このようにして
ダウンロードリストの更新を行ったあと、更新後のダウ
ンロードリストをプリンタ4に送信する(S165)。
プリンタ4は、受信したダウンロードリストを参照し
(S340)、全てのモジュールに対し削除マーク”
D”がついていればダウンロード処理は行われないため
(S480)に飛ぶ。そうでなければダウンロードリス
ト中の削除マークのついていないモジュールがダウンロ
ードされるものと判断する。
After updating the download list in this way, the host downloader 9 transmits the updated download list to the printer 4 (S165).
The printer 4 refers to the received download list (S340), and deletes the mark for all modules.
If "D" is attached, the download process is not performed (S480). Otherwise, it is determined that the module without the deletion mark in the download list is downloaded.

【0044】続いてプリンタダウンローダ16は、ダウ
ンロード対象のモジュールのメモリ展開サイズを合計
し、メモリ管理部15に合計したメモリサイズでの空き
メモリの確保が可能かを打診する。確保が不可能である
場合、削除マークの有無に関係せずダウンロードリスト
に存在しないモジュールで現在プリンタ4のメモリを使
用中のモジュールが無いかを検査する。もしあれば該モ
ジュールを含むタスクの削除要求をタスク制御部14に
対して行う。その後、再度メモリ管理部15に対しダウ
ンロード対象のモジュールのメモリ展開サイズを合計し
たメモリサイズで空きメモリの確保が可能かの打診をメ
モリ管理部15に行い、メモリの確保が可能となるまで
この処理を繰り返す(S360)。
Subsequently, the printer downloader 16 sums up the memory development sizes of the modules to be downloaded, and asks the memory management unit 15 whether it is possible to secure a free memory with the total memory size. If it is impossible to secure the module, it is checked whether there is any module that is not using the memory of the printer 4 and is not present in the download list regardless of the presence or absence of the delete mark. If there is, a request to delete the task including the module is made to the task control unit 14. After that, the memory management unit 15 is again instructed by the memory management unit 15 as to whether a free memory can be secured with the total memory size of the module to be downloaded, and this processing is performed until the memory can be secured. Is repeated (S360).

【0045】もし、プリンタ4上の当該印刷処理に不要
な全てのメモリの解放を行ってもダウンロードの対象の
モジュールのメモリ確保ができない場合は、メモリ不足
としてホストPC1にその通知を行い、当該印刷処理を
スキップすることになる。
If the memory of the module to be downloaded cannot be secured even if all the memory unnecessary for the printing process on the printer 4 is released, the host PC 1 is notified of the memory shortage and the printing is performed. Processing will be skipped.

【0046】ホストダウンローダ9は、ダウンロードリ
スト中にダウンロードすべきモジュールが存在すれば
(S170)、ファームウェアライブラリ8から該当す
るモジュールを読み込み、そのモジュールのダウンロー
ドをダウンロードリストの削除マークの無い先頭のモジ
ュールから順番に実行する(S210)。
If there is a module to be downloaded in the download list (S170), the host downloader 9 reads the corresponding module from the firmware library 8, and downloads the module from the first module having no deletion mark in the download list. The steps are executed in order (S210).

【0047】プリンタ4のホストI/F17がそのデー
タを受信し、プリンタダウンローダ16がそれを認識す
ると(S400)、先に受信したダウンロードリストか
らダウンロードの対象となるモジュールのメモリ展開サ
イズを求め、それをメモリ管理部15に通知してダウン
ロードするためのメモリ領域の開始番地の通知を受け、
(S410)、その確保された領域の開始RAM領域へ
ダウンロードを行う(S420)。
When the host I / F 17 of the printer 4 receives the data and the printer downloader 16 recognizes it (S400), the memory expansion size of the module to be downloaded is obtained from the previously received download list, and Is notified to the memory management unit 15 and the start address of the memory area for downloading is notified,
(S410), and download to the start RAM area of the secured area (S420).

【0048】もしダウンロードされるモジュールと同じ
モジュールがプリンタ4に存在すれば(S430)、従
来モジュールを組み込んだタスクを停止し(S44
0)、そのRAM領域の開放を行って(S450)、ダ
ウンロードを受けたモジュールを組み込んだタスクの再
生成を行うことによりダウンロードを受けたモジュール
を有効なものとする(S460)。
If the same module as the module to be downloaded exists in the printer 4 (S430), the task incorporating the conventional module is stopped (S44).
0), the RAM area is released (S450), and a task incorporating the downloaded module is regenerated to make the downloaded module valid (S460).

【0049】以上のような処理をダウンロードを受けた
全てのモジュールに対して実行し終えると、ダウンロー
ド完了をホストPC1に応答し(S470)、次にホス
トから受信する印刷対象のコードデータの処理の為、制
御をページ言語エミュレータ12に戻す(S480)。
When the above-described processing has been executed for all the modules that have been downloaded, a response to the completion of the download is sent to the host PC 1 (S470), and the processing of the code data to be printed next received from the host is performed. Therefore, control is returned to the page language emulator 12 (S480).

【0050】ホストダウンローダ9は、このダウンロー
ド完了の応答を受信すると(S220)、ダウンロード
処理を完了する。
Upon receiving this download completion response (S220), the host downloader 9 completes the download process.

【0051】しかし、ダウンロード処理において、プリ
ンタ4から一定時間応答がなかった場合(S180)、
プリンタ4にダウンロードの再試行の為のリセット要求
を行って(S190)、このリセット信号に対してのプ
リンタ4からの応答があると(S120)から処理をや
り直す。ダウンロード処理が正しく完了した場合には、
続けて印刷設定に従ってコードデータ生成部7によりコ
ードデータを生成し送信する(S200)。リセット信
号に対する応答がない場合は、ダウンロード処理を中断
することになる。
However, if there is no response from the printer 4 for a certain period of time in the download processing (S180),
A reset request for retrying the download is made to the printer 4 (S190), and if there is a response from the printer 4 to this reset signal (S120), the process is repeated from S120. If the download process completed successfully,
Subsequently, code data is generated and transmitted by the code data generation unit 7 according to the print settings (S200). If there is no response to the reset signal, the download process is interrupted.

【0052】次に本発明の動作例を図4によって説明す
る。
Next, an operation example of the present invention will be described with reference to FIG.

【0053】この図の左側がプリンタ4の動作、右側が
ホストPC1の動作を示している。まずホストPC1は
アプリケーションAの印刷ジョブAを印刷しようとす
る。そのためにイメージ印刷に特化したファームウェア
AのモジュールAのダウンロードを設定する。モジュー
ルAのダウンロード完了を示す応答をホストPC1が受
信すると(S470)ジョブAのコードデータAをプリ
ンタ4に送信する。
The left side of this figure shows the operation of the printer 4, and the right side shows the operation of the host PC 1. First, the host PC 1 attempts to print the print job A of the application A. For this purpose, download of module A of firmware A specialized for image printing is set. When the host PC 1 receives a response indicating the completion of the download of the module A (S470), the host PC 1 transmits the code data A of the job A to the printer 4.

【0054】次にホストPC1はアプリケーションBの
印刷ジョブBを印刷しようとする。そのために一般文書
用のファームウェアBのモジュールBのダウンロードを
設定する。同様にダウンロードを行い、モジュールBの
ダウンロード完了を示す応答をホストPC1が受信する
と(S470)、ジョブBのコードデータBをプリンタ
4に送信する。
Next, the host PC 1 tries to print the print job B of the application B. For this purpose, download of module B of firmware B for general documents is set. Similarly, when the host PC1 receives a response indicating that the download of the module B has been completed (S470), the host PC1 transmits the code data B of the job B to the printer 4.

【0055】次に本発明でなんらかの障害により一旦は
ダウンロードに失敗するが、ダウンロード処理のリトラ
イによってダウンロードが成功した例を図5に示す。
Next, FIG. 5 shows an example of the present invention in which the download fails once due to some kind of trouble, but the download succeeds due to the retry of the download processing.

【0056】図5によれば、まずホストPC1はアプリ
ケーションCの印刷ジョブCを印刷しようとする。その
ために例えば用紙サイズはA3で解像度が1200dp
iの印刷に必要なファームウェアCのダウンロードをダ
ウンロードリストに設定し続いてファームウェアCのダ
ウンロードを実行する。ファームウェアCのダウンロー
ド完了の応答が一定時間なかったために、プリンタのリ
セットを要求し、ダウンロード処理を再度最初から実行
する。リセット後のダウンロードでは正常にダウンロー
ドが完了したのでジョブCのコードデータを送信して印
刷を実行する。
Referring to FIG. 5, first, the host PC 1 tries to print the print job C of the application C. Therefore, for example, the paper size is A3 and the resolution is 1200 dp.
The download of the firmware C required for printing i is set in the download list, and then the download of the firmware C is executed. Since there has been no response to the completion of the download of the firmware C for a certain period of time, a request is made to reset the printer, and the download process is executed again from the beginning. In the download after the reset, since the download is normally completed, the code data of the job C is transmitted to execute the printing.

【0057】次に、図6は、本発明の第2の実施の形態
を表した構成図であるが、図1との構成上の相違点はホ
ストPC1にプリンタ4で発生したエラーの番号と該エ
ラーに対処する手段を記述したエラー番号ライブラリ2
1を設定した点である。
FIG. 6 is a block diagram showing a second embodiment of the present invention. The difference between FIG. 6 and FIG. Error number library 2 describing means for dealing with the error
1 is set.

【0058】また、図7、図8は、本発明の第2の実施
の形態を説明するフローチャートである。また、図9は
その実際の動作例である。
FIGS. 7 and 8 are flow charts for explaining the second embodiment of the present invention. FIG. 9 shows an example of the actual operation.

【0059】プリンタ4のプリンタダウンローダ16
は、ダウンロードしたモジュールがプリンタ4の例えば
メモリ不足等で印刷処理の実行に問題があることを認識
した場合(図8のS370やS480)、ダウンロード
完了応答としてそのメモリ不足のエラーコードを含んだ
形でホストPC1に応答する(図8のS490)。
The printer downloader 16 of the printer 4
When the downloaded module recognizes that there is a problem in the execution of the printing process due to, for example, a shortage of memory of the printer 4 (S370 or S480 in FIG. 8), the form including the error code of the memory shortage as a download completion response To the host PC1 (S490 in FIG. 8).

【0060】ホストPC1のホストダウンローダ9はこ
の情報を受信すると(図7のS230)、エラー番号ラ
イブラリ21をそのエラーコードで検索する(図7のS
240)。 エラー番号ライブラリ21には、例えば、
プリンタ4でメモリ不足が発生した時の該当するエラー
コードが登録されており、それが発生した時は印刷プロ
パティとして用紙サイズA3で1200dpiで且つ高
速印刷機能を使用時には、低速印刷にする等の発生した
障害についての対処策が書かれている。
Upon receiving this information (S230 in FIG. 7), the host downloader 9 of the host PC 1 searches the error number library 21 for the error code (S230 in FIG. 7).
240). In the error number library 21, for example,
A corresponding error code when a memory shortage occurs in the printer 4 is registered. When the error code occurs, the printing property is set to 1200 dpi at a paper size of A3 and low-speed printing is performed when the high-speed printing function is used. What to do about the failure that has occurred.

【0061】ホストダウンローダ9は、エラー番号ライ
ブラリ21を検索し(S240)、発生条件に合致する
情報があることを確認すると(S250)、例えばA3
で1200dpiでの高速印刷を行う処理の場合は、そ
れを低速印刷の機能にするため、印刷プロパティ情報を
低速印刷に変更し、印刷プロパティ管理部6を呼び出
す。
The host downloader 9 searches the error number library 21 (S240) and confirms that there is information matching the occurrence condition (S250).
In the case of processing for performing high-speed printing at 1200 dpi, the print property information is changed to low-speed printing in order to make it a function of low-speed printing, and the print property management unit 6 is called.

【0062】印刷プロパティ管理部6は、新しい印刷が
A3、1200dpi、低速印刷であることを認識して
ホストダウンローダ9を呼びだす。ホストダウンローダ
9は変更後のプロパティ条件に従い、この場合は低速印
刷するファームウェアのダウンロードの処理を実行する
(S260)。尚、この時コードデータ生成部7は、必
要に応じ変更された条件に見合うコードデータを生成し
直すことを行う。
The print property management section 6 recognizes that the new print is A3, 1200 dpi, low-speed print, and calls the host downloader 9. According to the changed property condition, the host downloader 9 executes a process of downloading firmware for low-speed printing in this case (S260). At this time, the code data generator 7 regenerates code data that meets the changed conditions as needed.

【0063】図9によれば、まずホストPC1はアプリ
ケーションCの印刷ジョブCを印刷しようとする。その
ために例えば用紙サイズはA3で解像度が1200dp
iの高速印刷に必要なファームウェアCのダウンロード
をダウンロードリストに設定し、続いてファームウェア
Cのダウンロードを実行する。ファームウェアCのダウ
ンロードでプリンタ4からメモリ不足のエラー通知があ
ったために、プリンタ4へのダウンロード処理のファー
ムウェアを低速なファームウェアに切り替えて再度最初
から実行する。こうすることによってメモリ不足は解消
し、正常にダウンロードが完了したのでジョブCのコー
ドデータを送信して印刷を実行する。
According to FIG. 9, first, the host PC 1 tries to print the print job C of the application C. Therefore, for example, the paper size is A3 and the resolution is 1200 dp.
The download of the firmware C required for high-speed printing of i is set in the download list, and then the download of the firmware C is executed. Since an error of insufficient memory is notified from the printer 4 in the download of the firmware C, the firmware for the download processing to the printer 4 is switched to the low-speed firmware, and is executed again from the beginning. By doing so, the memory shortage is resolved, and since the download is completed normally, the code data of job C is transmitted to execute printing.

【0064】これにより復帰に時間のかかるリセット処
理以外の方法でリトライすることができるようになる。
As a result, a retry can be performed by a method other than the reset process which takes a long time to return.

【0065】[0065]

【発明の効果】以上説明したように、本発明によれば組
み込み機器上の処理にてその処理の実行に必要なファー
ムウェアのモジュールだけが動作するので、RAMなど
の資源を無駄に使用しない。またファームウェアをホス
トPC1からダウンロードするので全てのファームウェ
アをROMに保存する必要が無い。さらに組み込み機器
内蔵のフラッシュメモリやEEPROMの書き換え処理
をする事無くファームウェアを更新するので、ユーザは
フラッシュメモリなどの書き換え中の事故中断等によっ
て組み込み機器そのものが障害状態に陥る危険なしにフ
ァームウェアの更新や機能の追加を行う事ができる。
As described above, according to the present invention, only the firmware modules required for executing the processing in the processing on the embedded device operate, so that resources such as the RAM are not wasted. Further, since the firmware is downloaded from the host PC 1, there is no need to save all the firmware in the ROM. In addition, since the firmware is updated without rewriting the built-in device's built-in flash memory or EEPROM, the user can update the firmware without the risk of causing the embedded device itself to fail due to an accident interruption during rewriting of the flash memory or the like. Functions can be added.

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

【図1】本発明の実施形態を示す構成図である。FIG. 1 is a configuration diagram showing an embodiment of the present invention.

【図2】本発明のホストPC1の動作を示すフローチャ
ートである。
FIG. 2 is a flowchart showing an operation of the host PC 1 of the present invention.

【図3】本発明のプリンタ9の動作を示すフローチャー
トである。
FIG. 3 is a flowchart showing an operation of the printer 9 of the present invention.

【図4】本発明が通常の動作をする実施例である。FIG. 4 is an embodiment in which the present invention operates normally.

【図5】本発明のダウンロード処理のリトライによって
ダウンロードが成功した実施例である。
FIG. 5 shows an embodiment in which the download is successful by retrying the download processing of the present invention.

【図6】本発明の他の実施例を示す構成図である。FIG. 6 is a configuration diagram showing another embodiment of the present invention.

【図7】本発明の他の実施例のホストPC1の動作を示
すフローチャートである。
FIG. 7 is a flowchart showing an operation of the host PC 1 according to another embodiment of the present invention.

【図8】本発明の他の実施例のプリンタ9の動作を示す
フローチャートである。
FIG. 8 is a flowchart illustrating an operation of the printer 9 according to another embodiment of the present invention.

【図9】他の実施例によるダウンロード処理のリトライ
によってダウンロードが成功した例である。
FIG. 9 is an example in which a download is successful by retrying a download process according to another embodiment.

【図10】本発明のダウンロードリストの実施例であ
る。
FIG. 10 is an example of a download list according to the present invention.

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

1 ホストPC 2 アプリケーション 3 プリンタドライバ 4 プリンタ 5 ファームウェア 6 印刷プロパティ管理部 7 コードデータ生成部 8 ファームウェアライブラリ 9 ホストダウンローダ 10 パラレルポートドライバ 11 パラレルポートI/F 12 ページ記述言語エミュレータ 13 エンジンI/F 14 タスク制御部 15 メモリ管理部 16 プリンタダウンローダ 17 ホストI/F 18 プリントエンジン 19 セントロI/F 20 セントロケーブル 21 エラー番号ライブラリ 1 Host PC 2 Application 3 Printer Driver 4 Printer 5 Firmware 6 Print Property Management Unit 7 Code Data Generation Unit 8 Firmware Library 9 Host Downloader 10 Parallel Port Driver 11 Parallel Port I / F 12 Page Description Language Emulator 13 Engine I / F 14 Task Control unit 15 Memory management unit 16 Printer downloader 17 Host I / F 18 Print engine 19 Centro I / F 20 Centro cable 21 Error number library

Claims (9)

【特許請求の範囲】[Claims] 【請求項1】 プリンタなどの組み込み機器で組み込み
機器制御の為に動作する複数のモジュールからなるファ
ームウェアをパーソナルコンピュータ等のホストコンピ
ュータから前記組み込み機器にダウンロードする方式で
あって、前記ホストコンピュータ上にあって前記組み込
み機器との間で双方向通信を行う前記組み込み機器対応
のドライバプログラムは、前記組み込み機器の各処理そ
れぞれの開始に先立ち、前記組み込み機器側から受け取
った前記組み込み機器が保有するモジュール情報と、前
記ドライバプログラムが作成した該処理の実行に関連す
るモジュール名等からなるモジュール情報からなるダウ
ンロードリストとを突き合わせ、該処理の実行の為に送
信を必要とするファームウェアのモジュールを選択し前
記ホストコンピュータの有するファームウェアのライブ
ラリから前記組み込み機器にダウンロードすることを特
徴とするファームウェアダウンロード方式。
An embedded device such as a printer downloads firmware including a plurality of modules operating for controlling the embedded device from a host computer such as a personal computer to the embedded device. The driver program for the embedded device that performs two-way communication with the embedded device, prior to the start of each process of the embedded device, module information held by the embedded device received from the embedded device and And a download list including module information including module names related to the execution of the process created by the driver program, and selecting a module of firmware that needs to be transmitted in order to execute the process. A firmware download method from a library of firmware included in the firmware to the embedded device.
【請求項2】 ダウンロードしたファームウェアをフラ
ッシュメモリなど前記組み込み機器内蔵の前記組み込み
機器起動システム自身には組み込まず、前記組み込み機
器の処理の開始の度に必要とするモジュールをホストコ
ンピュータからダウンロードすることを特徴とする請求
項1記載のファームウェアダウンロード方式。
2. The method according to claim 1, wherein the downloaded firmware is not incorporated in the embedded device activation system itself, such as a flash memory, which is embedded in the embedded device, and a required module is downloaded from a host computer every time processing of the embedded device is started. The firmware download method according to claim 1, wherein:
【請求項3】 前記組み込み機器の処理を開始するに当
たり、前記組み込み機器は、前記組み込み機器が保有す
るファームウェアのモジュール名と該モジュールのレビ
ジョン情報からなる一覧リストを前記ホストコンピュー
タに送信し、それを受信した前記ホストコンピュータ
は、前記ダウンロードリスト中のモジュールが前記一覧
リスト中に存在するかを確認し存在しないモジュールの
みを前記組み込み機器に送信することを特徴とする請求
項1記載のファームウェアダウンロード方式。
3. When starting processing of the embedded device, the embedded device transmits to the host computer a list including a module name of firmware possessed by the embedded device and revision information of the module, and transmits the list to the host computer. The firmware download method according to claim 1, wherein the host computer that has received the data confirms whether a module in the download list exists in the list, and transmits only the module that does not exist to the embedded device.
【請求項4】 前記ホストコンピュータは、前記ダウン
ロードリスト中のモジュールが前記一覧リストに含まれ
ている場合、さらに前記ダウンロードリスト中の該モジ
ュールのレビジョンと前記一覧リスト中の該モジュール
のレビジョンとを比較し前記ダウンロードリスト中の該
モジュールのレビジョンの方が前記一覧リスト中のもの
より新しいものであれば、該モジュールを前記組み込み
機器に送信することを特徴とする請求項3記載のファー
ムウェアダウンロード方式。
4. When the module in the download list is included in the list, the host computer further compares the revision of the module in the download list with the revision of the module in the list. 4. The firmware download method according to claim 3, wherein if the revision of the module in the download list is newer than the revision in the list, the module is transmitted to the embedded device.
【請求項5】 前記ホストコンピュータは、前記組み込
み機器が既に保有するためダウンロードが不要なモジュ
ールが前記ダウンロードリストに含まれている場合、前
記ダウンロードリストにその旨を印しその結果の前記ダ
ウンロードリストを前記組み込み機器に送信することを
特徴とする請求項3記載のファームウェアダウンロード
方式。
5. The host computer, if a module that the embedded device already owns and does not need to be downloaded is included in the download list, the host computer marks the module in the download list and stores the download list as a result. The firmware download method according to claim 3, wherein the firmware is transmitted to the embedded device.
【請求項6】 前記組み込み機器は、前記ホストコンピ
ュータから受信したモジュールを前記組み込み機器上で
タスクとして生成するに当たり、既に該受信したモジュ
ールと同じモジュール名のモジュールを有するタスクが
存在する場合、該タスクを終了させ該受信したモジュー
ルを使用して再度該タスクを生成することを特徴とする
請求項1記載のファームウェアダウンロード方式。
6. When the embedded device generates a module received from the host computer as a task on the embedded device, if a task having a module having the same module name as the received module already exists, the task 2. The firmware download method according to claim 1, wherein the task is generated again using the received module.
【請求項7】 前記組み込み機器は、前記ホストコンピ
ュータから受信したモジュールを受信してタスクを生成
する場合、前記組み込み機器の有するメモリが不足する
と、受信した前記ダウンロードリスト中に無いモジュー
ルで前記組み込み機器の保有するモジュールがあれば、
該モジュールを使用するタスクをメモリから消去するこ
とによりメモリ不足を解消することを特徴とする請求項
3記載のファームウェアダウンロード方式。
7. When the embedded device receives a module received from the host computer and generates a task, if the memory of the embedded device is insufficient, the embedded device is a module not included in the received download list. If there is a module owned by
4. The firmware download method according to claim 3, wherein the task of using the module is erased from the memory to resolve the memory shortage.
【請求項8】 前記組み込み機器のダウンロード処理中
にエラーが発生した場合、前記組み込み機器は、該エラ
ーコードを前記ホストコンピュータに送信すると、前記
ホストコンピュータは該エラーコードの内容に従いダウ
ンロードするモジュールを変更し該変更したモジュール
をダウンロードすることを特徴とする請求項1記載のフ
ァームウェアダウンロード方式。
8. When an error occurs during the download processing of the embedded device, the embedded device transmits the error code to the host computer, and the host computer changes a module to be downloaded according to the content of the error code. 2. The firmware download method according to claim 1, wherein the changed module is downloaded.
【請求項9】 前記ホストコンピュータは、前記組み込
み機器へのダウンロード処理中に前記組み込み機器から
一定時間以上の応答がない場合、前記組み込み機器を初
期化状態にするためのリセット信号を送信し、リセット
信号が正常に受け付けられた時、再度ダウンロード処理
を最初から実行することを特徴とする請求項1記載のフ
ァームウェアダウンロード方式。
9. The host computer transmits a reset signal for setting the embedded device to an initialization state when there is no response from the embedded device for a predetermined time or more during download processing to the embedded device, and resets the host device. 2. The firmware download method according to claim 1, wherein the download process is executed again from the beginning when the signal is normally received.
JP24035699A 1999-08-26 1999-08-26 Firmware down loading system Pending JP2001067228A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP24035699A JP2001067228A (en) 1999-08-26 1999-08-26 Firmware down loading system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP24035699A JP2001067228A (en) 1999-08-26 1999-08-26 Firmware down loading system

Publications (1)

Publication Number Publication Date
JP2001067228A true JP2001067228A (en) 2001-03-16

Family

ID=17058281

Family Applications (1)

Application Number Title Priority Date Filing Date
JP24035699A Pending JP2001067228A (en) 1999-08-26 1999-08-26 Firmware down loading system

Country Status (1)

Country Link
JP (1) JP2001067228A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003083647A1 (en) * 2002-04-01 2003-10-09 Ntt Docomo, Inc. Communication terminal software updating method, communication terminal, and software updating method
GB2396717A (en) * 2002-02-07 2004-06-30 Hewlett Packard Co Revising software in a multi-functional printer by loading a software bundle.
JP2005346723A (en) * 2004-06-03 2005-12-15 Sharp Corp System and method for managing a plurality of resources over a plurality of printers
US7158248B2 (en) 2002-02-07 2007-01-02 Hewlett-Packard Development Company, L.P. Control of software via bundling
US7187459B2 (en) 2001-07-19 2007-03-06 Seiko Epson Corporation Printing system in which programs required for printer operation are downloaded from computer
JP2007114620A (en) * 2005-10-21 2007-05-10 Konica Minolta Business Technologies Inc Image forming apparatus
US7312883B2 (en) * 2002-06-17 2007-12-25 Fuji Xerox Co., Ltd. Image forming system with peripheral device and version upgrade process
EP2079018A2 (en) 2007-12-10 2009-07-15 Canon Kabushiki Kaisha Information processing apparatus, image processing apparatus, information processing method, and firmware upload method
EP2083356A2 (en) 2008-01-22 2009-07-29 Canon Kabushiki Kaisha Information processing apparatus, system, method, and storage medium
US8250564B2 (en) 2007-04-19 2012-08-21 Konica Minolta Business Technologies, Inc. Image forming apparatus, program updating system, program updating program
US8266613B2 (en) 2007-04-23 2012-09-11 Konica Minolta Business Technologies, Inc. Image forming apparatus, program updating system, and program updating program
US8284410B2 (en) 2003-06-20 2012-10-09 Samsung Electronics Co., Ltd. Printing apparatus comprising series-models supporting firmware and series-models supporting method
JP2013141751A (en) * 2012-01-09 2013-07-22 Konica Minolta Inc Image forming apparatus
JP2019003557A (en) * 2017-06-19 2019-01-10 任天堂株式会社 Information processing device, information processing system, information processing method, and information processing program
JP2019079118A (en) * 2017-10-20 2019-05-23 株式会社沖データ Information processing method, information processing system and information processing device

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7187459B2 (en) 2001-07-19 2007-03-06 Seiko Epson Corporation Printing system in which programs required for printer operation are downloaded from computer
GB2396717A (en) * 2002-02-07 2004-06-30 Hewlett Packard Co Revising software in a multi-functional printer by loading a software bundle.
GB2396717B (en) * 2002-02-07 2005-05-18 Hewlett Packard Co Control of software via bundling
US7158248B2 (en) 2002-02-07 2007-01-02 Hewlett-Packard Development Company, L.P. Control of software via bundling
US7793283B2 (en) 2002-04-01 2010-09-07 Ntt Docomo, Inc. Communication terminal software updating method, communication terminal, and software updating method
JPWO2003083647A1 (en) * 2002-04-01 2005-08-04 株式会社エヌ・ティ・ティ・ドコモ Software update method for communication terminal, communication terminal, and software update system
KR100774857B1 (en) * 2002-04-01 2007-11-08 가부시키가이샤 엔티티 도코모 Communication terminal software updating method, communication terminal, and software updating method
WO2003083647A1 (en) * 2002-04-01 2003-10-09 Ntt Docomo, Inc. Communication terminal software updating method, communication terminal, and software updating method
US7312883B2 (en) * 2002-06-17 2007-12-25 Fuji Xerox Co., Ltd. Image forming system with peripheral device and version upgrade process
US8730492B2 (en) 2003-06-20 2014-05-20 Samsung Electronics Co., Ltd. Printing apparatus comprising series-models supporting firmware and series-models supporting method
US8284410B2 (en) 2003-06-20 2012-10-09 Samsung Electronics Co., Ltd. Printing apparatus comprising series-models supporting firmware and series-models supporting method
US8279461B2 (en) 2004-06-03 2012-10-02 Sharp Laboratories Of America, Inc. Systems and methods for managing a plurality of resources across multiple printing devices
JP2005346723A (en) * 2004-06-03 2005-12-15 Sharp Corp System and method for managing a plurality of resources over a plurality of printers
JP2007114620A (en) * 2005-10-21 2007-05-10 Konica Minolta Business Technologies Inc Image forming apparatus
US8250564B2 (en) 2007-04-19 2012-08-21 Konica Minolta Business Technologies, Inc. Image forming apparatus, program updating system, program updating program
US8266613B2 (en) 2007-04-23 2012-09-11 Konica Minolta Business Technologies, Inc. Image forming apparatus, program updating system, and program updating program
EP2079018A2 (en) 2007-12-10 2009-07-15 Canon Kabushiki Kaisha Information processing apparatus, image processing apparatus, information processing method, and firmware upload method
EP2083356A2 (en) 2008-01-22 2009-07-29 Canon Kabushiki Kaisha Information processing apparatus, system, method, and storage medium
US8966469B2 (en) 2008-01-22 2015-02-24 Canon Kabushiki Kaisha Apparatus, method and storage medium for determining versions and updating software
JP2013141751A (en) * 2012-01-09 2013-07-22 Konica Minolta Inc Image forming apparatus
JP2019003557A (en) * 2017-06-19 2019-01-10 任天堂株式会社 Information processing device, information processing system, information processing method, and information processing program
JP2019079118A (en) * 2017-10-20 2019-05-23 株式会社沖データ Information processing method, information processing system and information processing device

Similar Documents

Publication Publication Date Title
US8817295B2 (en) Communication system and printer therefor
US7619758B2 (en) Information processing apparatus and method of controlling same, print control apparatus, method and program, and storage medium with transmission of installation set including printer driver and function expansion module or printer driver without function expansion module
JP2001067228A (en) Firmware down loading system
US7440130B2 (en) Network device and printer
US8189221B2 (en) Image forming device for executing a designated process with priority without canceling a previously accepted process
JPH11327856A (en) Printing controller, data processing method for the same and storage medium storing program which computer can read
JP2004127252A (en) Information processor, information processing method, and control program
JP2008059238A (en) Communication system, and printer used therefor
JP4577225B2 (en) Information processing apparatus, control method for information processing apparatus, and control program
EP0784288B1 (en) Printer and information processing apparatus
US6493101B1 (en) Program management apparatus and method, and program product therefor
JP2005196745A (en) Information processing device, program recovery method, program recovery program, and recording medium
JP2008059239A (en) Communication system
JP3581463B2 (en) Information processing apparatus, printing apparatus, and data processing method
JP2001306281A (en) Printing device, method for updating its control information and computer readable storage medium
JP7267692B2 (en) Image forming device for updating firmware
JP2005094301A (en) Image forming apparatus
JPH10340163A (en) Data processor, data processing method of data processor and storage medium storing computer readable program
JP3817499B2 (en) Information processing apparatus, control method, and control program
JP3610141B2 (en) Information processing apparatus, printing apparatus, printing system, and data processing method and control method for printing system
JP3817500B2 (en) Information processing apparatus, control method, and control program
JPH09212318A (en) Printing controller and method for processing data in printing controller
JPH11161591A (en) Data communication equipment, data communication method, storage medium and device driver
JP6464657B2 (en) Image processing apparatus, program update method, and computer program
JP3792560B2 (en) Network device

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040106

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20040406