JP2010009474A - Peripheral device - Google Patents
Peripheral device Download PDFInfo
- Publication number
- JP2010009474A JP2010009474A JP2008170610A JP2008170610A JP2010009474A JP 2010009474 A JP2010009474 A JP 2010009474A JP 2008170610 A JP2008170610 A JP 2008170610A JP 2008170610 A JP2008170610 A JP 2008170610A JP 2010009474 A JP2010009474 A JP 2010009474A
- Authority
- JP
- Japan
- Prior art keywords
- firmware
- power supply
- peripheral device
- power
- information processing
- 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
Links
Images
Landscapes
- Stored Programmes (AREA)
- Power Sources (AREA)
Abstract
Description
本発明はファームウェアにより動作が制御される周辺装置に関し、特にインターフェース経由でのファームウェアの更新に対応した周辺装置に関するものである。 The present invention relates to a peripheral device whose operation is controlled by firmware, and more particularly to a peripheral device that supports firmware updating via an interface.
近年、パーソナルコンピュータ等の情報処理装置と合わせて使用される周辺装置の動作はファームウェアと称されるプログラムにより制御されることが多い。 In recent years, operations of peripheral devices used in conjunction with information processing apparatuses such as personal computers are often controlled by programs called firmware.
従来、ファームウェアはMask ROM(Read Only Memory)と呼ばれる、製造過程においてデータを作りこむため書き換えが不可能なタイプのROMに格納されていた。 Conventionally, the firmware is stored in a ROM called a Mask ROM (Read Only Memory), which is a type of ROM that cannot be rewritten because data is created in the manufacturing process.
そのため、バージョンアップやバグフィックス等の理由によりファームウェアを更新する必要が生じた場合には、Mask ROMを交換することにより更新を行っていた。 Therefore, when it is necessary to update the firmware for reasons such as version upgrade or bug fix, the update is performed by replacing the Mask ROM.
しかしながら、Mask ROMの交換のためにはサービスマンが周辺装置の設置場所まで赴く必要があり、ファームウェア更新のためのコストが高いものとなっていた。 However, in order to replace the Mask ROM, it is necessary for the service person to go to the place where the peripheral device is installed, and the cost for updating the firmware is high.
また、生産工程においてROMの変更があった場合には既に出荷待ち状態の製品についても周辺装置の分解、ROMの交換、出荷前検査といった一連の生産工程を再度実施する必要があり、工数浪費の発生につながっていた。 In addition, if there is a change in ROM during the production process, it is necessary to re-perform a series of production processes such as disassembling peripheral devices, replacing the ROM, and inspecting before shipment even for products that are already waiting to be shipped. It led to outbreak.
そこで最近では、ファームウェアをFlash ROMなどの電気的に書き換え可能な記憶装置に格納し、インターネットを介して更新版のファームウェアを公開することで、ユーザによるファームウェアの更新を行う技術が考案されている。 Therefore, recently, a technique has been devised in which firmware is updated by a user by storing the firmware in an electrically rewritable storage device such as a flash ROM and publishing an updated version of the firmware via the Internet.
このファームウェアの更新を簡単に行うための方法として、例えば、周辺装置の制御プログラムをFlash ROMに格納し、別途内蔵されているROMにFlash ROMの書き換えプログラムを格納しておく。 As a method for easily updating the firmware, for example, a control program for a peripheral device is stored in a flash ROM, and a rewrite program for the flash ROM is stored in a separately built-in ROM.
そして、制御プログラムの更新の必要性が生じた時には、情報処理装置から新たな制御プログラムを受信する。 When a control program needs to be updated, a new control program is received from the information processing apparatus.
その受信したプログラムデータをROM上に格納されている書き換えプログラムを使用して、Flash ROM内の制御ログラムを更新するというが考案されている。(特許文献1参照)
しかしながら、上記従来の技術では、周辺装置側のメイン電源スイッチがオフ状態である場合には、ファームウェアの更新を行うことができないという問題点を有していた。 However, the conventional technique has a problem that firmware cannot be updated when the main power switch on the peripheral device side is in the OFF state.
この場合には、例えばメイン電源スイッチがオンにされたタイミングでファームウェアの更新を行うことも考えられるが、その際、周辺装置の通常動作状態への立ち上がり後に、ファームウェアの更新、再起動といった一連の動作時間をユーザが待つ必要があった。 In this case, for example, it is conceivable to update the firmware at the timing when the main power switch is turned on. At that time, after the peripheral device rises to the normal operation state, a series of firmware updates and restarts are performed. The user had to wait for the operation time.
そのため、起動に時間のかかる周辺装置などにおいては2回分の起動時間とファームウェアの更新時間を待つ必要性が発生してしまい、ユーザに時間の浪費を強要する形を取らざるを得なかった。 For this reason, in peripheral devices that take a long time to start up, it becomes necessary to wait for the start-up time for two times and the firmware update time, and the user has to be forced to waste time.
本発明は、係る問題点に鑑みてなされたものであって、周辺装置のメイン電源スイッチがオフ状態、さらには電源ユニットのACケーブルを抜いてある状態であっても、ファームウェアの更新処理を行うことが可能な周辺装置を提供することを目的としている。 The present invention has been made in view of such problems, and performs firmware update processing even when the main power switch of the peripheral device is in an OFF state, and even when the AC cable of the power supply unit is disconnected. An object is to provide a peripheral device capable of this.
また、近年では省エネ活動の活発化により周辺装置の電源は長時間使用されないことが想定される場合には、通常動作状態に比べて電力消費の少ない省電力モードへ移行することが一般化されている。 Also, in recent years, when it is assumed that the power supply of peripheral devices will not be used for a long time due to the activation of energy saving activities, it is common to shift to a power saving mode that consumes less power than in a normal operation state. Yes.
この省電力モードに移行している間や電源OFF時には周辺装置は明確に誰も使用しない状態となっており、周辺装置のメンテナンス作業にあたるファームウェアの更新等はこういった使用していない時間に、ユーザの手を煩わせずに行われることが望まれている。 During the transition to this power saving mode or when the power is turned off, the peripheral device is clearly in a state where no one is using it, and the firmware update for the peripheral device maintenance work, etc., during such unused time, It is desired to be performed without bothering the user.
しかしながら、従来技術においては、こういった省電力状態への考慮はされておらず、ユーザが意識的に行うことが一般的になっていた。 However, in the prior art, such a power saving state is not taken into consideration, and it is generally performed by the user consciously.
そこで、本発明においては係る要望も鑑みて、周辺装置が省電力状態や電源OFF状態において情報処理装置とインターフェースを介して接続されている場合に、未使用時間帯でのファームウェアの自動更を行うことが可能な周辺装置を提供することを目的としている。 Therefore, in view of such a demand in the present invention, when the peripheral device is connected to the information processing apparatus via the interface in the power saving state or the power OFF state, the firmware is automatically updated in the unused time zone. An object is to provide a peripheral device capable of this.
上記目的を達成するために、本出願の発明は、情報処理装置とインターフェース手段を介して接続され、ファームウェアにより動作が制御される周辺装置であって、前記周辺装置は、装置内の特定機能ブロックにのみ電源供給を行う第一の電源供給手段と、装置全体に電源供給を行う第二の電源供給手段とを有し、前記第一、第二の電源供給手段はそれぞれ独立して供給され、少なくとも前記第一の電源供給手段による給電のみで、前記周辺装置が記憶するファームウェアデータを更新する機能を有する。 In order to achieve the above object, an invention of the present application is a peripheral device connected to an information processing device via an interface unit and whose operation is controlled by firmware, and the peripheral device is a specific function block in the device. First power supply means for supplying power only to the second power supply means for supplying power to the entire apparatus, the first and second power supply means are supplied independently, It has a function of updating firmware data stored in the peripheral device only by power supply by at least the first power supply means.
また、より好ましくは、前記第一の電源供給手段は、前記情報処理装置と接続されたインターフェースを介して前記情報処理装置から供給され、少なくとも、前記周辺装置の制御を行うファームウェアデータを受信するためのインターフェース手段および、ファームウェア更新プログラムを制御する機能ブロックへの電源供給を行う。 More preferably, the first power supply means receives at least firmware data that is supplied from the information processing apparatus via an interface connected to the information processing apparatus and controls at least the peripheral device. The power is supplied to the interface means and the functional block that controls the firmware update program.
また、より好ましくは、前記、第二の電源供給手段は周辺装置全体に電源を供給する第一の電源状態と、特定機能ブロックにのみ電源を供給する第二の電源状態と、電源供給を停止する電源OFF状態とを切り替える機能を有する。 More preferably, the second power supply means stops the power supply, the first power supply state for supplying power to the entire peripheral device, the second power supply state for supplying power only to the specific function block, and the power supply. A function to switch between power-off states.
また、より好ましくは、前記第二の電源状態および電源OFF状態においては、インターフェース手段を介して情報処理装置が有する記憶装置内の特定アドレスに定期的にアクセスする通信手段と、前記特定アドレスに、前記周辺装置の制御を行うファームウェアデータが存在することを検知手段と、前記検知手段により検知されたファームウェアデータが周辺装置に既存のファームウェアデータと比較して新しいファームウェアデータであることを識別する識別手段とを有する。 More preferably, in the second power supply state and the power OFF state, a communication unit that periodically accesses a specific address in the storage device included in the information processing device via the interface unit, and the specific address, Detection means for detecting the presence of firmware data for controlling the peripheral device, and identification means for identifying that the firmware data detected by the detection means is new firmware data compared to the firmware data existing in the peripheral device And have.
また、より好ましくは、前記識別手段により、前記情報処理装置が有する記憶装置内の特定アドレスに前記周辺装置に既存のファームウェアデータより新しいファームウェアデータが存在すると判断された場合にはユーザの指示無くファームウェアの更新を行う機能を有する。 More preferably, when the identification unit determines that firmware data newer than existing firmware data exists in the peripheral device at a specific address in the storage device included in the information processing apparatus, the firmware without a user instruction. Has a function of updating.
また、より好ましくは、前記、第二の電源供給手段が前記第二の電源状態にある時にファームウェアの更新が実施された場合には、ファームウェアの更新終了後に前記第二の電源状態に戻す機能を有する。 More preferably, when the firmware is updated when the second power supply means is in the second power state, the function of returning to the second power state after the firmware update is completed. Have.
以上に説明したように、本発明に係る周辺装置によれば、装置全体への電源供給がなされていない状態であっても、インターフェースを介してファームウェア更新プログラムを動作させるための機能ブロックにのみ電源を供給する構成とした。 As described above, according to the peripheral device according to the present invention, power is supplied only to the functional block for operating the firmware update program via the interface even when power is not supplied to the entire device. It was set as the structure which supplies.
これにより、インターフェースを介して電源を供給することが可能な情報処理装置と接続された環境においては、装置全体の電源を入れることなく、ファームウェアの更新を実行することができるという効果がある。 Thus, in an environment connected to an information processing apparatus capable of supplying power via an interface, there is an effect that firmware can be updated without turning on the entire apparatus.
また、装置としては電源OFF状態のままファームウェアの更新が可能なため、次回電源ON時には更新されたファームウェアを使用して起動することができる。 In addition, since the firmware can be updated while the power is off, the apparatus can be started up using the updated firmware when the power is turned on next time.
そのため、装置の電源ON後にファームウェアの更新、再起動といった一連のファームウェア書き換えに要する時間の短縮にもつながり、ユーザの時間の浪費を低減することが可能となる。 For this reason, the time required for a series of firmware rewriting such as firmware update and restart after the apparatus is turned on can be shortened, and the waste of time of the user can be reduced.
さらに、本発明では、情報処理装置と接続された環境において、周辺装置が電源OFFまたは省電力状態にある場合には情報処理装置が有する記憶装置内の特定アドレスを定期的に参照する構成とした。 Furthermore, in the present invention, when the peripheral device is powered off or in a power saving state in an environment connected to the information processing device, a specific address in the storage device included in the information processing device is periodically referred to. .
そして、前記特定アドレスに周辺装置が有するファームウェアより新しいファームウェアが存在した場合には、前記、新ファームウェアを情報処理装置の指示なしに周辺装置内にダウンロードし、ファームウェアの更新を行うようにした。 When firmware that is newer than the firmware of the peripheral device exists at the specific address, the new firmware is downloaded into the peripheral device without an instruction from the information processing device, and the firmware is updated.
なお、この際、周辺装置が省電力状態で待機中の場合にはダウンロード実施後、周辺装置を自動的に通常動作状態に復帰し、ファームウェアの更新、更新後に装置の再起動を行い、再起動後はすぐに省電力状態に戻す構成とした。 In this case, if the peripheral device is on standby in the power saving state, after downloading, the peripheral device automatically returns to the normal operation state, and after updating the firmware, the device is restarted after restarting. After that, the power saving state was immediately restored.
これにより、周辺装置は明確に使用されていない時間帯にファームウェアの更新を実施することができ、ユーザがファームウェアの更新タイミングを考慮する煩わしさを無くすことができる。 Accordingly, the peripheral device can update the firmware in a time zone that is not clearly used, and the troublesomeness for the user to consider the firmware update timing can be eliminated.
さらに省電力状態からのファームウェア更新時には、更新後に通常設定された省電力状態への移行時間を待つことなく、起動の要因を判別し即時省電力状態に戻す構成としているため、電力の浪費も最小限に抑えることが可能となる。 In addition, when updating the firmware from the power saving state, it is configured to determine the cause of activation and immediately return to the power saving state without waiting for the transition time to the normally set power saving state after the update. It becomes possible to limit to the limit.
次に、本発明の詳細を実施例の記述に従って説明する。 Next, details of the present invention will be described in accordance with the description of the embodiments.
以下、本発明を実施するための最良の形態について図面を参照して説明する。 The best mode for carrying out the present invention will be described below with reference to the drawings.
図1は、本発明の一実施形態を示す周辺装置を適用可能なシステムの構成を説明する図である。 FIG. 1 is a diagram illustrating the configuration of a system to which a peripheral device according to an embodiment of the present invention can be applied.
なお、本実施形態において周辺装置は情報処理装置とセットで使用され、ファームウェアによる動作制御を行われることが一般的なインクジェット記録方式による印刷装置を採用した構成とした。 In this embodiment, the peripheral device is used as a set with the information processing device, and a configuration is adopted in which a printing device based on an ink jet recording method that is generally controlled by firmware is employed.
本システムにおいて、印刷装置101はIEEE1394インターフェース(以後IEEE1394 I/F)ケーブル102を介して情報処理装置103と接続された構成となっている。
In this system, the
情報処理装置103は、一般に知られているパーソナルコンピュータやワークステーション等と同様の構成となっており、印刷装置と接続するためのIEEE1394 I/F 104を有している。
The
ここで、IEEE1394 I/F 104は標準規格であるIEEE1394-1995規格に則って構成されたケーブル給電に対応した6Pinタイプのコネクタを採用しており、IEEE1394 I/Fケーブル102および印刷装置101が有するIEEE1394 I/F 105も同様の構成となっている。
Here, the IEEE1394 I / F 104 adopts a 6-pin type connector corresponding to the cable power supply configured in accordance with the standard IEEE1394-1995 standard, and the IEEE1394 I / F
つまり、情報処理装置103はIEEE1394-1995規格に準じた範囲内で印刷装置101に対して電力の供給を行う。この時、本実施例において印刷装置101は供給された電力を101内斜線部上のデバイスにのみ供給を行う。
That is, the
なお、本システムにおける印刷装置101はインターフェースとしてIEEE1394 I/F ケーブル102による情報処理装置103との接続を構成しているが、これに限らずケーブル給電が可能でかつデータの送受信が可能なインターフェースであれば構成可能である。
Note that the
さらにいえば、ケーブル給電に対応していないインターフェースであっても、装置全体への電源供給部と別に独立した電源供給機構を有することでも構成可能である。 Furthermore, even an interface that does not support cable power feeding can be configured by having a power supply mechanism that is independent from the power supply unit for the entire apparatus.
また、前述の印刷装置101および情報処理装置103はIEEE1394 I/F ケーブル102を介し、一般に知られているSBP-2(Serial Bus Protocol-2)プロトコルに則って相互にデータの送受信が可能である。
In addition, the above-described
次に、101の印刷装置の内部構成例を以下に示す。本構成において106はメインCPUであり、システム制御プログラムであるファームウェアに基づき、印刷装置101の装置全体の制御を行う。
Next, an example of the internal configuration of the
107は電気的に書き換えが可能なFlash ROMであり、印刷装置101全体の制御プログラムであるファームウェアを格納している。メインCPU106とはROMバスを介して接続されており、メインCPU106からのアクセスに応じてデータの読み出し、書き込みが可能である。
Reference numeral 107 denotes an electrically rewritable Flash ROM that stores firmware that is a control program for the
108はEEPROMであり、データの読み書きが可能なメモリであり、電源が遮断された場合においてもそのデータを保持することができる不揮発性メモリにより構成され、印刷装置101の設定値変更、状態変化を記憶する。
An
109はデータの読み書きが可能なRAM(Random Access Memory)であり、Flash ROM 107内のプログラムを展開し、ファームウェアの実行に使用される。
また、画像データ受信時のバッファメモリおよび画像処理部114が受信した画像データに対して処理を行う際のワークエリア、ホストとの間で送受信される各種制御データを一時的に格納するためのバッファメモリとしても使用される。
Also, a buffer memory for receiving image data, a work area for processing image data received by the
なお、本実施例において、RAM109は低価格で大容量を搭載可能なSingle Data Rate Synchronous Dynamic Random Access Memory(以後SDR SDRAM)で構成されている。
In this embodiment, the
110はサブCPUであり、MASK ROM111内に格納されたI/Fコントローラ113を制御するためのファームウェア、およびファームウェア書き換えプログラムに基づき動作モードに応じた制御を行う。
Reference numeral 110 denotes a sub CPU, which performs control according to the operation mode based on firmware for controlling the I /
またサブCPU110はROMバスを介してメインCPU106および、Flash ROM107と接続されており、メインCPU106とのデータの送受信および、前記ファームウェア書き換えプログラムに基づきFlash ROM107内のファームウェアデータの書き換えを行う。
The sub CPU 110 is connected to the
MASK ROM111は書き換え不可能なメモリで構成されたROMであり、変更される可能性のほとんど無い、装置固定I/Fの制御プログラムおよびファームウェア書き換え用のプログラムを保持している。 The MASK ROM 111 is a ROM composed of a non-rewritable memory, and holds a device fixed I / F control program and a firmware rewrite program that are hardly changed.
なお、本実施例においてはMask ROMでの構成としているが、変更の可能性があるプログラムを格納する場合、または、別用途にも使用する場合などにはFlash ROM等の書き換え可能型のメモリを使用しても良い。 In this embodiment, the configuration is Mask ROM. However, when storing a program that may be changed, or when using it for other purposes, a rewritable memory such as Flash ROM is used. May be used.
112はSDR SDRAM等と比較して高速にデータの読み書きが可能なStatic RAM(以後SRAM)により構成されており、MASK ROM111内のプログラムを展開し、I/Fコントローラ113制御用ファームウェアの実行、ならびにファームウェア書き換えプログラムの実行に使用される。
112 is composed of static RAM (hereinafter referred to as SRAM) that can read and write data faster than SDR SDRAM, etc., expands the program in MASK ROM 111, executes I /
また、I/Fコントローラ113が受信したデータのバッファメモリとしても使用される。
Further, it is also used as a buffer memory for data received by the I /
なお、本実施例においてはSRAMでの構成としているが、これに限るものでは無く容量を要する場合にはSDR SDRAMに置き換えるなど用途や目的に応じて様々な形態を取り得る。 In the present embodiment, the SRAM is used. However, the present invention is not limited to this. If a capacity is required, various forms such as replacement with SDR SDRAM can be taken.
113はI/Fコントローラであり、本実施例においてはIEEE1394 I/F 105を制御し、情報処理装置103とのデータの送受信および、印刷装置101のステータス情報、通知情報をホスト装置へと送信したりするために用いられる。
具体的にはIEEE1394-1995およびIEEE1394.aインターフェース規格に則って構成されており、IEEE1394 I/F105を介して受信したデータはサブCPU110の指示に応じてSRAM112に格納される。
Specifically, it is configured according to the IEEE1394-1995 and IEEE1394.a interface standards, and data received via the IEEE1394 I /
サブCPU110は必要に応じてメインCPU106と通信を行い、前記SRAM112に格納されたデータの受け渡しを行い、メインCPU106は受信したデータをRAM109に格納する。
The sub CPU 110 communicates with the
114は画像処理部であり、メインCPU106の指示に応じてRAM109に保存された画像データに対して色空間処理や、ガンマ補正処理、誤差拡散法による量子化処理等を行い、印刷装置のエンジン部が出力可能な二値化データの生成を行う。
An
115はエンジン制御部であり、印刷エンジン部116の制御を行い、前記画像処理部114で処理された画像データを印刷エンジン部116に転送する。116は印刷エンジン部である。
具体的にはインクを記録媒体に吐出することにより画像の形成を行うヘッド、記録媒体となるメディアを搬送させるための紙搬送モータ、および前記ヘッドをメディアの搬送方向に対して垂直に走査させるためのキャリッジモータから構成されている(不図示)。 Specifically, a head for forming an image by ejecting ink onto a recording medium, a paper conveyance motor for conveying a medium serving as a recording medium, and scanning the head perpendicular to the medium conveyance direction (Not shown).
また、各種エラー検出用のセンサなどから構成されており(不図示)、エンジン制御部115からの制御に応じてそれらの動作を実行する。
Further, it is composed of various error detection sensors (not shown), and executes these operations in accordance with control from the
そして、エンジン制御部115は前記ヘッド、紙搬送モータ、キャリッジモータを相互に駆動させ、ヘッドから吐出させたインクをメディア上の所望の位置に定着させることによりメディア上に所望の画像の形成を行ことができる。
The
117はオペレーションパネルであり、使用者による装置に対する設定の入力を行う入力機能、および装置から使用者への通知を行うための表示装置を備えており、使用者の指示入力のために使用される。 117 is an operation panel, which has an input function for inputting settings to the device by the user and a display device for notifying the user from the device, and is used for inputting instructions from the user. .
なお、本実施形態における印刷装置101はオペレーションパネル117で設定された既定時間内に画像データの受信やオペレーションパネル117の操作等、印刷装置101へのアクセスが無い場合には、通常動作状態より電力消費の少ない省電力モード移行する。
Note that the
118は印刷装置101の装置全体に電力を供給する電源供給部であり、ACケーブルを介して家庭内AC電源に接続される。そして、AC電源(交流電源)から供給された電力をDC(直流電源)に変換し印刷装置101に供給を行う。
A
なお、印刷装置101が前述の省電力モードに移行した際には、情報処理装置103からのデータ受信により通常動作モードに復帰可能な最小限の機能ブロックにのみ給電を行う。
When the
次に、本発明の第1の実施形態として、印刷装置101の電源がOFFされた状態において情報処理装置103とのインターフェース接続がなされた場合の印刷装置101の動作について、以下、図2に示したフローチャートに沿って説明する。
Next, as a first embodiment of the present invention, the operation of the
図2は印刷装置101において、装置全体が電源OFF状態のままファームウェアの更新を可能とする動作を示すフローチャートである。
FIG. 2 is a flowchart illustrating an operation in the
まず、印刷装置101の電源がOFF状態において通常動作状態にある情報処理装置103とIEEE1394 I/Fケーブルにより接続されると、情報処理装置103から印刷装置101斜線部分のデバイスへの電源の供給が開始される。
First, when the
これを受け、サブCPU110はステップS201でMASK ROM112のプログラムを展開し、情報処理装置103から更新するファームウェアを受信するため、I/Fコントローラ113制御用ファームウェアの実行およびファームウェア更新プログラムの起動を行う。
In response to this, the sub CPU 110 expands the program of the
そして、ステップS202で情報処理装置103からの指示により、ファームウェアの更新が可能なファームウェアダウンロードモードで起動する。
In step S202, in accordance with an instruction from the
ここで、ステップS203においてファームウェアの更新指示が情報処理装置103からなされるか、ステップS204でオペレーションパネル117を用いた装置電源ONの操作が行われるまで印刷装置101は前記ダウンロードモードのまま待機状態を継続する。
Here, the
ステップS203で情報処理装置103からファームウェア更新指示をコマンドで受信すると、サブCPU110は更新準備が整っていることを示す返答(以後ACK)を情報処理装置101に送り、更新するファームウェアの受信を開始する。
When a firmware update instruction is received from the
そして、情報処理装置103から受信したデータを順次SRAM112に格納し、全ファームウェアデータの受信が完了すると、ファームウェア更新プログラムに基づいて、Flash ROM107内のデータの書き換えを行い(ステップS206)、一連の処理を終了する。
Then, the data received from the
なお、ステップS204において、装置電源ONの操作が行われた場合には、サブCPU110はSRAM112内に展開していたファームウェア更新プログラムを削除し、I/Fコントローラ113制御用ファームウェア実行のみの動作に移行する(ステップS205)。
In step S204, when the device power ON operation is performed, the sub CPU 110 deletes the firmware update program developed in the
そして、印刷装置101全体としては情報処理装置103から画像データを受信し、印刷動作を開始可能な通常動作状態となる。
The
なお、上記第一の実施形態では、ファームウェアの更新時、受信したファームウェアデータを一度SRAM112内に格納し、全データ受信後ファームウェアの更新を行う動作としたが、受信したデータから順次Flash ROM107に書き込むようにしても良い。
In the first embodiment, when updating the firmware, the received firmware data is once stored in the
また、図2のフローチャートには記載していないが、Flash ROM107のデータ書き換え中に装置電源ONの操作が行われた場合には書き換え完了後に装置全体の起動を行う。 Although not shown in the flowchart of FIG. 2, when the device power ON operation is performed during the data rewriting of the Flash ROM 107, the entire device is activated after the rewriting is completed.
この際、ユーザへの注意を促すためオペレーションパネル117が有する表示装置にも電源供給を行い、前記表示装置上にファームウェア更新中である旨を通知するなどしても良い。
At this time, in order to call attention to the user, power may be supplied to the display device included in the
また、上記第一の実施形態では、印刷装置101の電源がOFFされた状態において情報処理装置103とのインターフェース接続がなされた場合の動作を説明したが、情報処理装置103と接続されたまま電源がOFFされた場合おいても適用可能である。
In the first embodiment, the operation when the interface connection with the
ただし、この際には印刷装置101の電源OFF後にファームウェア更新プログラムの展開を行った後、ステップS202へ移行する必要がある。
However, in this case, it is necessary to develop the firmware update program after turning off the power of the
以上に説明したように、第1の実施の形態によれば、印刷装置101の電源がOFF状態であっても、情報処理装置103からのインターフェース経由での電源供給によりファームウェアデータを受信し、ファームウェア更新プログラムを動作可能な構成とした。
As described above, according to the first embodiment, even when the power of the
これにより装置としては電源OFF状態のままファームウェアの更新が可能なため、次回、装置が電源ONされた時には更新されたファームウェアを使用して起動することができる。 As a result, the firmware can be updated while the apparatus is in the power-off state, so that the next time the apparatus is turned on, it can be started using the updated firmware.
従って、装置の電源ON後にファームウェアの更新、再起動といった一連のファームウェア書き換えに要する時間の短縮にもつながり、ユーザの時間の浪費を低減することが可能となる。 Accordingly, the time required for a series of firmware rewriting such as firmware update and restart after the apparatus is turned on can be shortened, and the waste of time of the user can be reduced.
次に、本発明の第2の実施形態として、情報処理装置103と接続された環境において、印刷装置101が省電力状態に移行した際に、情報処理装置103が有する記憶装置内の特定アドレスを定期的に参照し、ファームウェアを更新する動作について説明する。
Next, as a second embodiment of the present invention, when the
本第2の実施形態において、印刷装置101は既定された時間アクセスが無い場合に省電力モードへと移行し、一定時間ごとに情報処理装置103が有する記憶装置内の特定アドレスを参照する。
In the second embodiment, the
本実施例において、特定アドレスは情報処理装置103が有する記憶装置としてHDD内のファームウェア更新プログラムにより設定されたフォルダ名をアドレスとして参照を行う。
In this embodiment, the specific address is referred to using the folder name set by the firmware update program in the HDD as a storage device of the
ここで、新規ファームウェアが前記フォルダに保存されている場合に、自動的にファームウェアをダウンロード、Flash ROM107内のデータの書き換えを実施する。 Here, when new firmware is stored in the folder, the firmware is automatically downloaded and the data in the Flash ROM 107 is rewritten.
以下、前述の処理を図3に示すフローチャートに沿って詳細に説明する。 Hereinafter, the above-described processing will be described in detail with reference to the flowchart shown in FIG.
印刷装置101は情報処理装置103からのデータ受信が無く、印刷動作も行っていない状態において、オペレーションパネル117によるユーザの操作も無い場合には、ステップS301で既定の時間が経過するまで通常動作状態で待機する。
If the
ここで、既定の時間はあらかじめユーザによりオペレーションパネル117を操作して既定された省電力モードへ移行するまでの時間設定に準じる。
Here, the predetermined time conforms to the time setting until the user operates the
ステップS301で既定の時間が経過した場合には、印刷装置101は前述の最小限の機能ブロックにのみ電力供給を行った省電力モードへと移行する(ステップS302)。
When the predetermined time has elapsed in step S301, the
この際、ファームウェア更新プログラムを実行するために要する印刷装置101内、斜線部分上のデバイスは、情報処理装置103からのインターフェース経由での給電に切り替え、前述の第1の実施形態で説明したダウンロードモードへと移行する。
At this time, the devices on the hatched portion in the
ここで、ファームウェア更新プログラムはサブCPU110でのタイマ機能も合わせて有しており、ステップS303では、ファームウェア更新プログラム内で既定されている一定時間が経過したかを確認する。 Here, the firmware update program also has a timer function in the sub CPU 110, and in step S303, it is confirmed whether or not a predetermined time set in the firmware update program has elapsed.
ステップS303において一定時間が経過していない場合には、ステップS304に進み、情報処理装置103からのデータ受信、または、オペレーションパネル117によるユーザの操作による通常動作モードへの復帰指示を検出していないかを参照する。
If the predetermined time has not elapsed in step S303, the process proceeds to step S304, and no data reception from the
ステップS304およびステップS305においては、前述のどちらかが検出されるまで継続して確認を行う。 In step S304 and step S305, confirmation is continued until either of the above is detected.
次に、ステップS305において、通常動作モードへの移行指示を検出した場合には、印刷装置101は印刷処理が実行可能な通常動作モードへと復帰し、検出された処理を実行する。
Next, in step S305, when an instruction to shift to the normal operation mode is detected, the
ここで、処理の実行後はステップS301に戻り、再度既定時間の経過を待ち、時間経過後に省電力モードへと戻る。 Here, after execution of the process, the process returns to step S301, waits for the elapse of the predetermined time, and returns to the power saving mode after the elapse of time.
ステップS303において一定時間の経過が検出された場合には、ステップS306へ進み、前記ファームウェア更新プログラムにより既定された情報処理装置103の記憶装置内の特定アドレスを参照する。
If the elapse of a predetermined time is detected in step S303, the process proceeds to step S306, and the specific address in the storage device of the
次にステップS307において、前記情報処理装置103の記憶装置内特定アドレスにファームウェアデータが格納されているかを確認し、格納されていない場合にはステップS303に戻り、再度一定時間が経過するのを待つ。
Next, in step S307, it is confirmed whether firmware data is stored at the specific address in the storage device of the
ステップS307においてファームウェアデータが格納されていた場合には、ファームウェアデータが有するバージョン情報から、Flash ROM107に格納されているバージョンとの比較を行う。 If firmware data is stored in step S307, the version information stored in the firmware data is compared with the version stored in the Flash ROM 107.
そして、格納されているデータが古い場合にはデータが格納されていない状態として処理を継続する。 If the stored data is old, the processing is continued as if no data was stored.
ステップS307においてFlash ROM107に格納されているファームウェアデータよりも新しいデータが格納されていた場合には、ステップS308に進み、サブCPU110は前記ファームウェアデータをSRAM112内にダウンロードする(ステップS308)。 If newer data than the firmware data stored in the Flash ROM 107 is stored in step S307, the process proceeds to step S308, and the sub CPU 110 downloads the firmware data into the SRAM 112 (step S308).
ダウンロードが完了するとサブCPU110はメインCPU106に対して復帰の割り込み信号を送出し、印刷装置101を一度通常動作モードに復帰させる(ステップS309)。
When the download is completed, the sub CPU 110 sends a return interrupt signal to the
そして、ステップS310に進み、Flash ROM107内のデータの書き換えを実行後、装置全体の再起動を行う。 In step S310, the data in the flash ROM 107 is rewritten, and the entire apparatus is restarted.
この際、メインCPU106は復帰要因がサブCPU110によるファーム更新のための復帰であることを検出し、EEPROM108内に省電力状態でのファーム更新による復帰であることを記録するデータを書き込む。
At this time, the
そして、再起動後に通常動作状態となった印刷装置101は前記EEPROM108内のデータを参照し、省電力状態でのファーム更新完了後であることを検出し、省電力モードへ移行するまでの既定時間を待つことなくステップS302の省電力モードへと移行する。
Then, the
なお、本第2の実施形態において、Flash ROM107内のデータを書き換える前に印刷装置101を通常動作状態に移行しているが、これは省電力モードから通常動作モードへの復帰時に一部Flash ROM107内のデータを用いることを考慮しての構成である。
In the second embodiment, the
通常動作モードへの復帰時にFlash ROM107からのデータの読み出し無く復帰可能なシステムにおいてはファームウェアの更新実施後に通常動作モードへ復帰する構成としても良い。 In a system that can be restored without reading data from the Flash ROM 107 when returning to the normal operation mode, the system may be configured to return to the normal operation mode after firmware update.
また、本第2の実施形態において、省電力モードへの移行時ファームウェア更新プログラムの実行に要するデバイスへの給電は、インターフェース経由での給電に切り替えているが、電源供給部118からの供給が可能であれば、そちらからの給電にしても良い。
In the second embodiment, the power supply to the device required to execute the firmware update program when shifting to the power saving mode is switched to the power supply via the interface, but the power supply from the
さらに、本第2の実施形態においては、省電力モード時の更新手順を示しているが、印刷装置101の電源がOFF時であっても本第1の実施形態と組み合わせることで容易に実現可能である。
Furthermore, in the second embodiment, the update procedure in the power saving mode is shown, but it can be easily realized by combining with the first embodiment even when the
以上に説明したように、第2の実施の形態によれば、上記の構成と制御により、印刷装置101が明確に使用されていない省電力モード状態でのファームウェア更新を行うことが可能となる。
As described above, according to the second embodiment, it is possible to perform firmware update in the power saving mode state where the
これにより、ユーザがファームウェアの更新タイミングを考慮する煩わしさが無く、さらにファームウェア更新が完了するまでの待ち時間による時間の浪費を低減することができる。 As a result, there is no trouble for the user to consider the firmware update timing, and the waste of time due to the waiting time until the firmware update is completed can be reduced.
さらに省電力状態からのファームウェア更新時には、更新完了後の再起動時に省電力状態への移行既定時間を待つことなく、起動の要因を判別し即時省電力状態に戻す構成としているため、電力の浪費も最小限に抑えることが可能となる。 Furthermore, when updating the firmware from the power saving state, it is configured to determine the cause of startup and immediately return to the power saving state without waiting for the default time to enter the power saving state when restarting after completion of the update. Can also be minimized.
なお、前述した各実施形態では、印刷装置はインクジェット記録方式を採用した装置構成としたが、飽くまでも一例でありこれに限らず、レーザービームプリンター等、他の記録方式による印刷装置に置き換えることも可能である。 In each of the above-described embodiments, the printing apparatus is configured to employ an inkjet recording method. However, the printing apparatus is merely an example, and the printing apparatus is not limited to this, and can be replaced with a printing apparatus using another recording method such as a laser beam printer. It is.
さらには、印刷装置以外の周辺装置であっても、情報処理装置と接続して使用されるものであれば置き換えることが可能である。 Furthermore, even peripheral devices other than the printing device can be replaced as long as they are connected to the information processing device.
また、本実施例において情報処理装置と周辺装置は一対一の構成としているが、これに限らず、一対多、多対多の構成であっても、各々の装置を識別可能な環境においては適用可能である。 In this embodiment, the information processing device and the peripheral device have a one-to-one configuration. However, the present invention is not limited to this, and even a one-to-many or many-to-many configuration can be applied in an environment where each device can be identified. It is.
つまり、本発明は前記実施形態に限定される物ではなく、実施段階ではその要旨を逸脱しない範囲で種々に変形することが可能である。 That is, the present invention is not limited to the above-described embodiment, and various modifications can be made without departing from the scope of the invention in the implementation stage.
さらに、前記実施形態には種々の段階の発明が含まれており、開示される複数の構成要件における適宜な組み合わせにより種々の発明が抽出され得る。 Furthermore, the embodiments include inventions at various stages, and various inventions can be extracted by appropriately combining a plurality of disclosed constituent elements.
例えば、実施形態に示される前構成要件からいくつかの構成要件が削除されても、発明が解決しようとする課題の欄で述べた課題が解決でき、発明の効果の欄で述べられている効果が得られる場合には、この構成要件が削除された発明として抽出され得る。 For example, even if some constituent requirements are deleted from the previous constituent requirements shown in the embodiment, the problem described in the column of the problem to be solved by the invention can be solved, and the effect described in the column of the effect of the invention Can be extracted as an invention in which this constituent requirement is deleted.
101 印刷装置
102 IEEE1394I/Fケーブル
103 情報処理装置
104 IEE1394I/F(情報処理装置側)
105 IEE1394I/F(印刷装置側)
106 メインCPU
107 Flash ROM
108 EEPROM
109 RAM
110 サブCPU
111 MASK ROM
112 SRAM
113 I/Fコントローラ
114 画像処理部
115 エンジン制御部
116 印刷エンジン
117 オペレーションパネル
118 電源供給部
DESCRIPTION OF
105 IEEE1394 I / F (printer side)
106 Main CPU
107 Flash ROM
108 EEPROM
109 RAM
110 Sub CPU
111 MASK ROM
112 SRAM
113 I /
Claims (6)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008170610A JP2010009474A (en) | 2008-06-30 | 2008-06-30 | Peripheral device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2008170610A JP2010009474A (en) | 2008-06-30 | 2008-06-30 | Peripheral device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2010009474A true JP2010009474A (en) | 2010-01-14 |
Family
ID=41589852
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2008170610A Pending JP2010009474A (en) | 2008-06-30 | 2008-06-30 | Peripheral device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2010009474A (en) |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012014422A (en) * | 2010-06-30 | 2012-01-19 | Sony Corp | Terminal device updating method, data writing device, and terminal device |
JP2012043353A (en) * | 2010-08-23 | 2012-03-01 | Canon Inc | Information apparatus, control method therefor, and program |
JP2012059110A (en) * | 2010-09-10 | 2012-03-22 | Ricoh Co Ltd | Information processor, program and information processing system |
JP2012137942A (en) * | 2010-12-27 | 2012-07-19 | Ricoh Co Ltd | Program re-writing device and electronic apparatus |
JP2013532859A (en) * | 2010-07-23 | 2013-08-19 | フジツウ テクノロジー ソリューションズ インタレクチュアル プロパティ ゲーエムベーハー | Method for executing utility program, computer system and computer program product |
JP2013240946A (en) * | 2012-05-22 | 2013-12-05 | Seiko Epson Corp | Updating apparatus, updating method, and program |
JP2014021678A (en) * | 2012-07-17 | 2014-02-03 | Canon Inc | Information processing apparatus, and control method for the same |
JP2014052683A (en) * | 2012-09-05 | 2014-03-20 | Toshiba Tec Corp | Input device, processing device, and program |
JP2014093059A (en) * | 2012-11-07 | 2014-05-19 | Ricoh Co Ltd | Information processing apparatus |
JP2014130562A (en) * | 2012-12-27 | 2014-07-10 | Giga-Byte Technology Co Ltd | Electronic device capable of updating basic input/output system and update method |
JP2014186635A (en) * | 2013-03-25 | 2014-10-02 | Canon Inc | Image forming apparatus, control method thereof, and program |
JP2015225655A (en) * | 2014-05-27 | 2015-12-14 | 任天堂株式会社 | Information processing device, information processing system, information processing method, and information processing program |
JP2016189077A (en) * | 2015-03-30 | 2016-11-04 | 大日本印刷株式会社 | Card issuing apparatus and card issuing system |
JP2016535329A (en) * | 2013-10-31 | 2016-11-10 | インテル コーポレイション | Selective power management for pre-boot firmware updates |
WO2020032123A1 (en) * | 2018-08-10 | 2020-02-13 | 株式会社デンソー | Vehicular master device, power supply management method for object for which rewriting is not to be carried out, and power supply management program for object for which rewriting is not to be carried out |
JP2020086687A (en) * | 2018-11-20 | 2020-06-04 | コニカミノルタ株式会社 | Information processing apparatus and program |
JP2021066147A (en) * | 2019-10-28 | 2021-04-30 | セイコーエプソン株式会社 | Printer, and control method |
JP7484235B2 (en) | 2020-03-06 | 2024-05-16 | セイコーエプソン株式会社 | Printing device and method for controlling printing device |
JP7490518B2 (en) | 2020-09-29 | 2024-05-27 | 本田技研工業株式会社 | CONTROL SYSTEM, MOBILE BODY, PROGRAM, AND CONTROL METHOD |
-
2008
- 2008-06-30 JP JP2008170610A patent/JP2010009474A/en active Pending
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012014422A (en) * | 2010-06-30 | 2012-01-19 | Sony Corp | Terminal device updating method, data writing device, and terminal device |
JP2013532859A (en) * | 2010-07-23 | 2013-08-19 | フジツウ テクノロジー ソリューションズ インタレクチュアル プロパティ ゲーエムベーハー | Method for executing utility program, computer system and computer program product |
US9405559B2 (en) | 2010-07-23 | 2016-08-02 | Fujitsu Limited | Efficient method of decoupling the downloading of a memory map and execution of a utility program contained in the memory map |
JP2012043353A (en) * | 2010-08-23 | 2012-03-01 | Canon Inc | Information apparatus, control method therefor, and program |
JP2012059110A (en) * | 2010-09-10 | 2012-03-22 | Ricoh Co Ltd | Information processor, program and information processing system |
JP2012137942A (en) * | 2010-12-27 | 2012-07-19 | Ricoh Co Ltd | Program re-writing device and electronic apparatus |
JP2013240946A (en) * | 2012-05-22 | 2013-12-05 | Seiko Epson Corp | Updating apparatus, updating method, and program |
JP2014021678A (en) * | 2012-07-17 | 2014-02-03 | Canon Inc | Information processing apparatus, and control method for the same |
JP2014052683A (en) * | 2012-09-05 | 2014-03-20 | Toshiba Tec Corp | Input device, processing device, and program |
JP2014093059A (en) * | 2012-11-07 | 2014-05-19 | Ricoh Co Ltd | Information processing apparatus |
US9256443B2 (en) | 2012-12-27 | 2016-02-09 | Giga-Byte Technology Co., Ltd. | Electronic device having updatable bios and bios updating method thereof |
JP2014130562A (en) * | 2012-12-27 | 2014-07-10 | Giga-Byte Technology Co Ltd | Electronic device capable of updating basic input/output system and update method |
JP2014186635A (en) * | 2013-03-25 | 2014-10-02 | Canon Inc | Image forming apparatus, control method thereof, and program |
US9996142B2 (en) | 2013-10-31 | 2018-06-12 | Intel Corporation | Selective power management for pre-boot firmware updates |
JP2016535329A (en) * | 2013-10-31 | 2016-11-10 | インテル コーポレイション | Selective power management for pre-boot firmware updates |
JP2015225655A (en) * | 2014-05-27 | 2015-12-14 | 任天堂株式会社 | Information processing device, information processing system, information processing method, and information processing program |
US9715381B2 (en) | 2014-05-27 | 2017-07-25 | Nintendo Co., Ltd. | Information processing apparatus, information processing system, information processing method, and non-transitory computer-readable storage medium having stored therein an information processing program |
JP2016189077A (en) * | 2015-03-30 | 2016-11-04 | 大日本印刷株式会社 | Card issuing apparatus and card issuing system |
WO2020032123A1 (en) * | 2018-08-10 | 2020-02-13 | 株式会社デンソー | Vehicular master device, power supply management method for object for which rewriting is not to be carried out, and power supply management program for object for which rewriting is not to be carried out |
JP2020086687A (en) * | 2018-11-20 | 2020-06-04 | コニカミノルタ株式会社 | Information processing apparatus and program |
JP7196556B2 (en) | 2018-11-20 | 2022-12-27 | コニカミノルタ株式会社 | Image forming device, information processing device and program |
JP2021066147A (en) * | 2019-10-28 | 2021-04-30 | セイコーエプソン株式会社 | Printer, and control method |
US11726725B2 (en) | 2019-10-28 | 2023-08-15 | Seiko Epson Corporation | Printing device and power control method |
JP7388127B2 (en) | 2019-10-28 | 2023-11-29 | セイコーエプソン株式会社 | Printing device and control method |
JP7484235B2 (en) | 2020-03-06 | 2024-05-16 | セイコーエプソン株式会社 | Printing device and method for controlling printing device |
JP7490518B2 (en) | 2020-09-29 | 2024-05-27 | 本田技研工業株式会社 | CONTROL SYSTEM, MOBILE BODY, PROGRAM, AND CONTROL METHOD |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP2010009474A (en) | Peripheral device | |
US8700935B2 (en) | Power supply unit configured to not control a power supply from reducing the power state to a mirroring unit and storage units during a rebuild operation even when such power reducing state is satisfied | |
US11067932B2 (en) | Information processing apparatus capable of appropriately executing shutdown processing, method of controlling the information processing apparatus, and storage medium | |
JP6029350B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
JP5939890B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
CN102387280A (en) | Image forming apparatus, system-on-chip (SOC) unit, and driving method thereof | |
JP6103909B2 (en) | Image processing apparatus, image processing apparatus control method, and program | |
JP2005063050A (en) | Peripheral device, method for updating firmware thereof, and program | |
JP4820271B2 (en) | Image processing apparatus and image processing method | |
JP2011161774A (en) | Printer and method of controlling the same | |
JP6501595B2 (en) | IMAGE FORMING APPARATUS, CONTROL METHOD THEREOF, AND PROGRAM | |
JP5598945B2 (en) | Information processing system and control method thereof | |
US20120011494A1 (en) | Information processing apparatus, method for controlling the same, and storage medium | |
JP5701043B2 (en) | Information processing apparatus, information processing apparatus control method, and program | |
JP2015205438A (en) | Image formation device, image formation method | |
JP2007108862A (en) | Sleep mode shift control method for network connecting peripheral equipment | |
JP2010089424A (en) | Printer | |
JP4870098B2 (en) | Electronic device and control method of electronic device | |
JPH11198485A (en) | Print controller, low power control method therefor and memory medium storing computer readable program | |
JP2009223384A (en) | Information processor | |
JP2016110513A (en) | Information processor, control method for information processor, program, and recording medium | |
JP2008059360A (en) | Printer | |
JP7419683B2 (en) | Operation management device, operation management method, operation management program, and image forming device | |
JP2012232572A (en) | Image forming apparatus and method of controlling the apparatus | |
US20240201901A1 (en) | Control device and control method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD04 | Notification of resignation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7424 Effective date: 20100201 |
|
RD01 | Notification of change of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7421 Effective date: 20100630 |