JP2004078894A - Image forming apparatus, and method and program for rewriting firmware, and record medium - Google Patents

Image forming apparatus, and method and program for rewriting firmware, and record medium Download PDF

Info

Publication number
JP2004078894A
JP2004078894A JP2003146102A JP2003146102A JP2004078894A JP 2004078894 A JP2004078894 A JP 2004078894A JP 2003146102 A JP2003146102 A JP 2003146102A JP 2003146102 A JP2003146102 A JP 2003146102A JP 2004078894 A JP2004078894 A JP 2004078894A
Authority
JP
Japan
Prior art keywords
firmware
main controller
rewriting
engine controller
mode
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2003146102A
Other languages
Japanese (ja)
Other versions
JP4292866B2 (en
Inventor
Takatoshi Sugita
杉田 隆俊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2003146102A priority Critical patent/JP4292866B2/en
Priority to EP03013355A priority patent/EP1376344A3/en
Priority to CNB031430546A priority patent/CN100412826C/en
Priority to US10/464,824 priority patent/US7587463B2/en
Publication of JP2004078894A publication Critical patent/JP2004078894A/en
Application granted granted Critical
Publication of JP4292866B2 publication Critical patent/JP4292866B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To efficiently rewrite firmware in an image forming apparatus with which a main controller and an engine controller having a rewritable memory for storing the firmware are communicably connected to each other and in which the engine controller forms an image corresponding to a signal generated from the main controller in response to the signal. <P>SOLUTION: The main controller transmits a "rewrite mode" command to the engine controller. On the other hand, the engine controller 12 which receives the command transmits a "consent" status. Thus, a printing mode is switched to a rewrite mode. Then, in the rewrite mode, the engine controller 12 functions as a master, the main controller 11 functions as a slave, communication required for rewriting the firmware is performed between both controllers, and the rewrite processing of the firmware is executed. <P>COPYRIGHT: (C)2004,JPO

Description

【0001】
【発明の属する技術分野】
この発明は、メインコントローラと、ファームウエアを記憶する書き換え可能なメモリを有するエンジンコントローラとが互いに通信可能に接続され、前記メインコントローラから与えられる信号に応じて前記エンジンコントローラが該信号に対応する画像を形成する画像形成装置、該エンジンコントローラに記憶されているファームウエアの書換方法、書換プログラムならびに記録媒体に関するものである。
【0002】
【従来の技術】
プリンタ、複写機、ファクシミリ装置などの画像形成装置として、例えば2つのコントローラを通信インターフェースを介して相互に通信可能に接続したものが従来より知られている(特許文献1参照)。この画像形成装置では、ホストコンピュータなどの外部装置や内蔵スキャナー等から画像信号がメインコントローラに与えられると、このメインコントローラで該画像信号を解析し、種々の画像処理を施した後、その画像処理済の信号(例えばビデオ信号)をエンジンコントローラに与える。このエンジンコントローラは、中央演算処理装置としてのCPUと、ファームウエアを記憶する書き換え可能な不揮発性メモリとを有しており、上記信号を受けると、フラッシュROMやEEPROMなどの不揮発性メモリに記憶されているファームウエアに基づきエンジン部を制御して複写紙、転写紙、用紙およびOHP用透明シートなどのシートに画像信号に対応する画像を形成する。
【0003】
ここで、ファームウエアを書き換え可能な不揮発性メモリに記憶させているが、この理由は将来の機能追加やバージョンアップに柔軟に対応するためである。すなわち、機能追加やバージョンアップが必要となった場合には、機能追加などを盛り込んだファームウエアを新たに作成し、旧ファームウエアを新たなファームウエアに書き換えて更新する。
【0004】
【特許文献1】
特開平8−161231号公報(図2)
【0005】
【発明が解決しようとする課題】
ところで、上記従来装置では、2つのコントローラ間で通信を行うために、メインコントローラをマスターとして機能させる一方、エンジンコントローラをスレーブとして機能させている。すなわち、エンジンコントローラはメインコントローラからのコマンドやデータを受けて動作しており、メインコントローラから画像処理済の信号が与えられると、ファームウエアに基づき該信号に対応する画像を形成する印刷モードを実行する。一方、ファームウエアの書き換えが必要となると、メインコントローラからのコマンドに応じてファームウエアを書き換える書換モードに入る。そして、この書換モードでは、エンジンコントローラが不揮発性メモリにアクセスしてファームウエアの書換処理を制御する。
【0006】
しかしながら、上記したようにエンジンコントローラはメインコントローラにより指示または制御されているため、常にメインコントローラからのコマンドなどに対応しながらファームウエアの書換処理を行わなければならず、ファームウエアの書換処理が必ずしも効率的なものであるとは言えなかった。
【0007】
また、上記のようにしてファームウエアの書換動作を行っている際にファームウエアの書換エラーが生じる可能性がある。例えば、従来装置では、新たなファームウエアが通信インターフェースを介してエンジンコントローラ内の不揮発性メモリに書き込まれる。このような装置では、通信エラーにより正常なデータがエンジンコントローラに送られないことがある。また、不揮発性メモリへのデータの書込エラーが発生することもあった。そして、このような書換エラーが生じているにもかかわらず、そのまま印刷モードを実行すると、装置が誤動作したり、印刷不能となったりする。そこで、このようなファームウエアに起因する動作不良を回避するために適切な対応が要望される。
【0008】
この発明は上記課題に鑑みなされたものであり、メインコントローラと、ファームウエアを記憶する書き換え可能なメモリを有するエンジンコントローラとが互いに通信可能に接続され、メインコントローラから与えられる信号に応じてエンジンコントローラが該信号に対応する画像を形成する画像形成装置において、ファームウエアの書換を効率よく行うことを第1の目的とする。
【0009】
また、この発明は、ファームウエアの書換処理を実行可能な画像形成装置において、ファームウエアに起因する動作不良を確実に防止することを第2の目的とする。
【0010】
【課題を解決するための手段】
この発明は、メインコントローラと、ファームウエアを記憶する書き換え可能な(第1)メモリを有するエンジンコントローラとが互いに通信可能に接続され、メインコントローラから与えられる信号に応じてエンジンコントローラが該信号に対応する画像を形成する画像形成装置、ならびに該装置におけるファームウエアの書換方法、書換プログラムおよび記録媒体に関するものであって、上記第1の目的を達成するため、以下のように構成している。
【0011】
この発明にかかる画像形成装置は、第1メモリに記憶されたファームウエアに基づき信号に対応する画像を作成する印刷モードと、ファームウエアを書き換える書換モードとを切替え可能で、しかも、モード切替に応じてメインコントローラとエンジンコントローラとのマスター/スレーブ関係を入れ替えるように構成している。
【0012】
また、この発明にかかるファームウエアの書換方法は、メモリに記憶されたファームウエアに基づき信号に対応する画像を作成する印刷モードから、ファームウエアを書き換える書換モードに切替えるのに応じて、メインコントローラとエンジンコントローラとのマスター/スレーブ関係を入れ替えている。
【0013】
また、この発明にかかる書換プログラムは、上記画像形成装置に、メモリに記憶されたファームウエアに基づき信号に対応する画像を作成する印刷モードから、ファームウエアを書き換える書換モードに切替えるのに応じて、メインコントローラとエンジンコントローラとのマスター/スレーブ関係を入れ替える手順を実行させるように構成されている。
【0014】
また、この発明にかかる記録媒体は、上記書換プログラムを記録している。
【0015】
以上のように構成された画像形成装置、ならびに該装置におけるファームウエアの書換方法、書換プログラムおよび記録媒体では、装置が印刷モードと書換モードとに切替え可能となっており、それらのモードに応じてメインコントローラとエンジンコントローラとのマスター/スレーブ関係が入れ替えられる。したがって、書換モードにおいて、メインコントローラとエンジンコントローラとが書換モードに適したマスター/スレーブ関係に設定された状態でファームウエアの書換を行うことが可能となる。
【0016】
なお、書換モードの実行後で、かつ次の印刷モードの実行前に、書換モードの実行時に書換エラーが発生したか否かを検出し、書換エラーを検出した際には、印刷モードの実行に先立って書換モードを実行するようにしてもよい。これによって、書換エラーが生じているにもかかわらず、そのまま印刷を実行するのを防止することができる。その結果、装置の誤動作や印刷不能などのファームウエアに起因する動作不良を確実に回避することができる。また、書換エラーを検出した際には、印刷モードの実行に先立って書換モードを実行することで、常にファームウエアの書換が完了した上で印刷動作が実行されることとなる。したがって、常に正常なファームウエアで印刷動作を実行することができる。
【0017】
また、上記のような書換エラーの検出や書換モードの実行に行うために、イニシャル・プログラム・ローダを用いるようにしてもよい。すなわち、イニシャル・プログラム・ローダを記憶する第2メモリをさらに備え、装置への電源投入時に、イニシャル・プログラム・ローダに基づき、書換モードの実行時に書換エラーが発生したか否かを検出するとともに書換エラーを検出した際には書換モードに誘導するように構成してもよい。
【0018】
【発明の実施の形態】
図1はこの発明にかかる画像形成装置の一実施形態を示す図である。また、図2は図1の画像形成装置の電気的構成を示すブロック図である。この画像形成装置は、イエロー(Y)、マゼンタ(M)、シアン(C)、ブラック(K)の4色のトナーを重ね合わせてフルカラー画像を形成したり、ブラック(K)のトナーのみを用いてモノクロ画像を形成する装置である。この画像形成装置では、ホストコンピュータ100などの外部装置から画像信号が制御ユニット1のメインコントローラ11に与えられると、このメインコントローラ11で該画像信号を解析し、種々の画像処理を施した後、その画像処理済の信号をエンジンコントローラ12に与える。このエンジンコントローラ12は、フラッシュメモリ123に記憶されているファームウエアに基づきエンジン部EGの各部を制御して複写紙、転写紙、用紙およびOHP用透明シートなどのシートSに画像信号に対応する画像を形成する。
【0019】
このエンジン部EGでは、7つのユニット:(a)感光体ユニット2;(b)イエロー現像ユニット(以下「Y現像ユニット」という)3Y;(c)マゼンタ現像ユニット(「M現像ユニット」)3M;(d)シアン現像ユニット(「C現像ユニット」)3C;(e)ブラック現像ユニット(「K現像ユニット」)3K;(f)中間転写ユニット4および(g)定着ユニット5が装置本体6に対して着脱自在となっている。そして、すべてのユニット2、3Y、3M、3C、3K、4、5が装置本体6に装着された状態で、図1に示すように、感光体ユニット2の感光体21が図1の矢印方向D1に回転するとともに、その感光体21の周りにその回転方向D1に沿って、帯電部22、現像ユニット3Y、3M、3C、3Kからなるロータリー現像部3およびクリーニング部23がそれぞれ配置される。
【0020】
7つのユニット2、3Y、3M、3C、3K、4、5のうち感光体ユニット2には感光体21、帯電部22およびクリーニング部23が収容されており、これらを一体的に装置本体6に対して着脱自在となっている。帯電部22には図示を省略する帯電バイアス発生部から帯電バイアスが印加されており、感光体21の外周面を均一に帯電させる。また、この感光体ユニット2には、感光体21の回転方向D1における帯電部22の上流側にクリーニング部23が設けられており、一次転写後に感光体21の外周面に残留付着しているトナーを掻き落とす。こうして、感光体21の表面クリーニングを行っている。
【0021】
帯電部22によって帯電された感光体21の外周面に向けて露光ユニット8から光ビームLが照射される。この露光ユニット8は、エンジンコントローラ12に設けられたレーザドライバ(図示省略)と電気的に接続されており、このレーザドライバから与えられる駆動信号に応じて露光ユニット8を制御し、光ビームLを感光体21上に露光して画像信号に対応する静電潜像を感光体21上に形成する。
【0022】
こうして形成された静電潜像はロータリー現像部3によってトナー現像される。このロータリー現像部3では、ブラック用の現像ユニット3K、シアン用の現像ユニット3C、マゼンタ用の現像ユニット3M、およびイエロー用の現像ユニット3Yが軸中心に回転自在に設けられている。そして、これらの現像ユニット3Y、3M、3C、3Kは予め決められた複数の位置に移動位置決めされるとともに、感光体21に対して選択的に現像位置で位置決めされる。図1ではブラック用の現像ユニット3Kが現像位置に位置決めされており、この位置決め状態で現像ユニット3Kに設けられた現像ローラ31が感光体21と対向配置されるが、その他の現像ユニット3Y、3M、3Cについても現像ユニット3Kと全く同様に現像ユニットの現像位置への位置決めにより各現像ユニットに設けられた現像ローラ31が感光体21と対向配置される。
【0023】
また、現像位置に位置決めされた現像ユニットでは、ユニットハウジング内に貯留されたトナーは現像ローラ31に担持されながら、現像位置に搬送される。そして、現像ローラ31に対して、所定の現像バイアスを印加することで現像位置に選択位置決めされたユニットハウジング内のトナーが現像ローラ31から感光体21に付着して静電潜像を顕像化する。こうして、選択された色のトナー像が感光体21の表面に形成される。
【0024】
上記のようにして現像部3で現像されたトナー像は、一次転写領域TR1で中間転写ユニット4の中間転写ベルト41上に一次転写される。すなわち、中間転写ユニット4は複数のローラに掛け渡された中間転写ベルト41と、中間転写ベルト41を回転駆動する駆動部(図示省略)とを備えており、カラー画像をシートSに転写する場合には、感光体21上に形成される各色のトナー像を中間転写ベルト41上に重ね合わせてカラー画像を形成する一方、単色画像をシートSに転写する場合には、感光体21上に形成されるブラック色のトナー像のみを中間転写ベルト41上に転写して単色画像を形成する。
【0025】
また、本実施形態にかかる画像形成装置では、パッチ画像の濃度を検出するために、中間転写ベルト41が掛け渡された一のローラに対向してパッチセンサPSが配置されている。
【0026】
こうして中間転写ベルト41上に形成された画像については、所定の二次転写領域TR2において、カセット9から取り出されたシートS上に二次転写する。そして、トナー画像が転写されたシートSを、ヒータ(図示省略)が内蔵された定着ユニット5に導入し、ここで加熱しながら圧力を加えることによってトナーをシートSに定着させる。こうして画像が形成されたシートSは装置本体6の上面部に設けられた排出トレイ部に搬送される。
【0027】
次に、図2を参照しつつ図1の画像形成装置の電気的構成について説明する。メインコントローラ11はホストインターフェース111、CPU112、ROM113、RAM114およびエンジンインターフェース115を備えている。このメインコントローラ11では、ホストインターフェース111によってホストコンピュータ100との間の通信処理を行うように構成されており、ホストコンピュータ100から送信された画像信号、後述するダウンロードプログラムやファームウェアファイルを受信する。そして、受信された画像信号などはRAM114に一次的に格納される。
【0028】
CPU112には、図示を省略する入出力ポートを介して装置本体6に取り付けられた操作パネル13と電気的に接続されている。この操作パネル13には、CPU112に対してユーザが種々の指令を与えるために複数のスイッチ131が設けられるとともに、ユーザに対してメッセージや印刷状況などを表示するために表示部132が設けられており、操作パネル13がマンマシンインターフェースとして機能している。
【0029】
また、ROM113には、予めメインコントローラ11用のプログラムが記憶されており、このプログラムにしたがってCPU112およびロジック回路(図示省略)が作動することで、受信した画像信号に対して種々の画像処理を施す。すなわち、ホストコンピュータ100から画像信号が与えられたメインコントローラ11では、その画像信号に対応する画像内の各画素のRGB成分の階調レベルを示したRGBデータを、対応するCMYK成分の階調レベルを示したCMYKデータに変換する。また、各画素のCMYKデータに対し階調補正を行った後、さらに誤差拡散法、ディザ法、スクリーン法などのハーフトーニング処理を行い、1画素1色当たり例えば8ビットのハーフトーンCMYKデータを作成する。そして、そのハーフトーンCMYKデータを用いて、エンジン部EGのCMYK各色画像の露光レーザパルスをパルス幅変調するためのビデオ信号を作成し、エンジンインターフェース115を介してエンジンコントローラ12に出力する。さらに、上記プログラムに基づきエンジンコントローラ12に対してコマンドやデータなどを送信し、後述する印刷モードと書換モードとのモード切替、ならびに書換モードではエンジンコントローラ12からのステータスに対応してデータ送信や待機などの処理を実行する。
【0030】
一方、エンジンコントローラ12は、図2に示すように、メインインターフェース121、CPU122、フラッシュメモリ123およびRAM124を備えている。メインインターフェース121はメインコントローラ11との間で通信を行うためのものであり、メインコントローラ11から送信されるコマンドやデータなどを受信し、またメインコントローラ11に対して後述する「データ要求」、「指示待ち要求」などのステータス等を送信する。
【0031】
また、この実施形態では、「ファームウエアを記憶する書き換え可能な(第1)メモリ」としてフラッシュメモリ123を用いており、そのメモリ領域の一部をライトプロテクトするとともに、そのライトプロテクト領域にイニシャル・プログラム・ローダ(IPL)を格納する一方、残りのメモリ領域にファームウエアを格納するように構成している。もちろん、イニシャル・プログラム・ローダを格納するためのROMを別途設け、フラッシュメモリ123にファームウエアのみを格納するようにしてもよい。
【0032】
そして、CPU122はファームウエアを実行することによりエンジン部EGの各部を制御して複写紙、転写紙、用紙およびOHP用透明シートなどのシートSに画像信号に対応する画像を形成する(印刷モード)。このようにフラッシュメモリ123に記憶されたファームウエアに基づきメインコントローラ11からのビデオ信号に対応する画像を作成する印刷モードでは、メインコントローラ11がマスターとして機能するとともに、エンジンコントローラ12がスレーブとして機能している。
【0033】
また、このエンジンコントローラ12では、上記印刷モード以外にファームウエアの書き換えを行う書換モードを実行可能となっている。すなわち、イニシャル・プログラム・ローダに基づきダウンロードプログラムがRAM124にロードされ、CPU122がそのダウンロードプログラムを実行することでファームウエアの書換処理を実行する。この実施形態では、特に書換モードとなっている間、エンジンコントローラ12がマスターとして機能するとともに、メインコントローラ11がスレーブとして機能するように構成している。
【0034】
次に、図3および図4を参照しつつファームウエアの書換処理について詳述する。図3はメインコントローラとエンジンコントローラとの間で行われる通信手順を示す図であり、図4はエンジンコントローラでのデータの転送状態を示す模式図である。
【0035】
上記のように構成された画像形成装置では、メインコントローラ11がエンジンコントローラ12に対してコマンドやデータ等を送信し、これを受けたスレーブとして動作しているエンジンコントローラ12がフラッシュメモリ123に格納されているファームウエアに基づきエンジン部EGの各部を制御して印刷処理を行っている(印刷モード)。このときのメモリ状態は図4(a)である。
【0036】
そして、ファームウエアの書換が必要となると、画像形成装置に対して印刷モードから書換モードに切替える旨の指示がメインコントローラ11に与えられるとともに、ダウンロードプログラムおよび新しいファームウエアがメインコントローラ11に与えられる。具体的な手順としては、例えばユーザやサービスエンジニアなどが操作パネル13に設けられたスイッチ131群を操作してメインコントローラ11のCPU112に対し書換モードへのモード切替を指示する。また、ユーザやサービスエンジニアなどは、ダウンロードプログラムおよび新しいファームウエアが記録されたCD−ROMやフロッピー(登録商標)ディスクなどの外部記録媒体101をホストコンピュータ100にセットする。なお、LANなどによって画像形成装置に対して複数のホストコンピュータ100が接続されている場合には、任意のホストコンピュータ100を用いることができる。また、外部記録媒体を用いる代わりに、LANを経由して所定のサーバに格納されているダウンロードプログラムおよび新しいファームウエアをホストコンピュータ100のハードディスク(図示省略)に予めダウンロードしておいてもよい。
【0037】
次に、ホストコンピュータ100からメインコントローラ11のRAM114にダウンロードプログラムおよび新しいファームウエアをコピーする。ここで、ホストコンピュータ100にインストールされているプリンタドライバを用いて上記コピー動作を実行させるように構成してもよい。すなわち、プリンタドライバを起動すると、ファームウエアの書換処理を選択するためのボタンがホストコンピュータ100のディスプレイ上に表示されるように構成することができる。そして、そのボタンをユーザやサービスエンジニアなどが選択すると、ディスプレイ上にファームウエアの書換処理に必要な処理手順が表示される。そこで、それにしたがって操作することで、自動的に記録媒体(CD−ROM、フロッピー(登録商標)ディスク、ハードディスクなど)に格納されているダウンロードプログラムおよび新しいファームウエアがメインコントローラ11のRAM114にコピーされる。こうすることで、ユーザフレンドリーな装置となる。
【0038】
こうしてRAM114へのコピーが完了すると、図3に示すように、メインコントローラ11はエンジンコントローラ12に対して「書換モード」コマンドを送信する。一方、このコマンドを受信したエンジンコントローラ12は「了解」ステータスをメインコントローラ11に送信する。これによって、印刷モードから書換モードに切り替わる。
【0039】
この書換モードでは、エンジンコントローラ12がマスターとして機能するとともに、メインコントローラ11がスレーブとして機能し、以下のような通信が行われてファームウエアの書換処理が実行される。
【0040】
(1)ダウンロードプログラム102の書き込み(プログラム読込工程)
IPLに基づきCPU122が作動してメインコントローラ11のRAM114に格納されているダウンロードプログラム102をエンジンコントローラ12のRAM124に書き込む。具体的には、エンジンコントローラ12からメインコントローラ11に対し、「データ要求」ステータスを送信する。これを受けたメインコントローラ11はダウンロードプログラム102のプログラム長ステータスを示すバイトサイズをエンジンコントローラ12に返す。そして、エンジンコントローラ12はメインコントローラ11に対して「指示待ち要求」ステータスを送信し、これを受けてメインコントローラ11が待機状態となる。
【0041】
次に、ダウンロードプログラム102の送信を要求するため、エンジンコントローラ12からメインコントローラ11に対し、「データ要求」ステータスを送信する。これを受けたメインコントローラ11はダウンロードプログラム102をエンジンコントローラ12に送信する。そして、エンジンコントローラ12は送信されてきたダウンロードプログラム102をRAM124に格納する(図4(b))。それに続いて、エンジンコントローラ12はメインコントローラ11に対して「指示待ち要求」ステータスを送信し、これを受けてメインコントローラ11が待機状態となる。
【0042】
(2)ファームウエア103の書き込み
次に、ダウンロードプログラムを起動してファームウエア103の書き込みを行う。まず、図4(c)に示すように、フラッシュメモリ123に格納されている旧ファームウエアを消去する(消去工程)。
【0043】
そして、新しいファームウエア103のヘッダ(Header)の送信を要求するために、エンジンコントローラ12からメインコントローラ11に対し、「データ要求」ステータスを送信する。これを受けたメインコントローラ11は新ファームウエア103のヘッダ(Header)をエンジンコントローラ12に送信する。こうしてエンジンコントローラ12に読み込まれたヘッダは、図4(d)に示すように、一旦RAM124に格納された後、フラッシュメモリ123に書き込まれる(書込工程;書込手順)。そして、エンジンコントローラ12はメインコントローラ11に対して「指示待ち要求」ステータスを送信し、これを受けてメインコントローラ11が待機状態となる。
【0044】
また、ファームウエアの送信を要求するために、エンジンコントローラ12からメインコントローラ11に対し、「データ要求」ステータスを送信する。これを受けたメインコントローラ11は新ファームウエア103のデータを単位長さ、例えば128バイト単位でエンジンコントローラ12に送信する。こうしてエンジンコントローラ12に読み込まれたファームウエアは、図4(e)に示すように、一旦RAM124に格納された後、フラッシュメモリ123に書き込まれる(書込工程;書込手順)。そして、エンジンコントローラ12はメインコントローラ11に対して「指示待ち要求」ステータスを送信し、これを受けてメインコントローラ11が待機状態となる。この単位長さバイトでのデータ書込(図3の1点鎖線で囲った処理)をN回繰り返してファームウエア全体をフラッシュメモリ123に書込む。
【0045】
それに続いて、ファームウエア103のフッタ(Footer)の送信を要求するために、エンジンコントローラ12からメインコントローラ11に対し、「データ要求」ステータスを送信する。これを受けたメインコントローラ11は新ファームウエア103のフッタをエンジンコントローラ12に送信する。こうしてエンジンコントローラ12に読み込まれたフッタは、図4(f)に示すように、一旦RAM124に格納された後、フラッシュメモリ123に書き込まれる(書込工程;書込手順)。こうして、ファームウエアの書き換えが完了すると、エンジンコントローラ12はメインコントローラ11に対して「再起動要求」ステータスを送信し、これを受けてメインコントローラ11が再起動処理を実行して装置全体が再起動され、上記のようにして書き換えられたファームウエアを有効なものとする。
【0046】
以上のように、この実施形態によれば、ファームウエアの書換処理が必要となると、印刷モードから書換モードにモード切替を行うとともに、メインコントローラ11とエンジンコントローラ12とのマスター/スレーブ関係を入れ替えているので、書換モードを適当なマスター/スレーブ状態で実行することができる。すなわち、書換モードでは、エンジンコントローラ12がマスターとなり、書換処理の進行状況に応じてメインコントローラ11に対してステータスを送信しているため、書換処理の各段階に適したタイミングで、しかも適切な指示をメインコントローラ11に与えることができる。その結果、ファームウエアの書換処理を効率的に行うことができる。
【0047】
ところで、上記実施形態ではファームウエアの書換処理を実行しているが、その書換処理に失敗した場合には、適切な対応を取るのが望ましい。そこで、次に説明する「他の実施形態」では、エンジンコントローラ12が、書換モードの実行とともに、その書換モード実行中に書換エラー(通信エラー、消去エラーおよび書込エラー)が発生したか否かを判別するように構成している。また、書換エラーが発生した際には、ユーザやサービスエンジニアなどに対してファームウエア書換処理の再実行を促すように装置各部を制御するように構成している。すなわち、他の実施形態にかかる画像形成装置は、(i)ファームウエアの書換処理、(ii)書換実行中における書換エラーの検出処理、(iii)書換モードの再実行処理をこの順序で実行する。なお、その構成は同一であるため、以下においては、先の実施形態と相違する動作を中心に、図面を参照しつつ「他の実施形態」について詳述する。
【0048】
(i)ファームウエアの書換処理
この処理については、先の実施形態と全く同一であるため、その説明は省略する。
【0049】
(ii)書換実行中における書換エラーの検出処理
図5は、図1の画像形成装置における書換実行中における書換エラーの検出処理を示すフローチャートである。この画像形成装置は、書換モードが実行されている間、ステップS1〜S4を実行して書換エラーが発生したか否かを判別している。具体的には、メインコントローラ11からエンジンコントローラ12へのデータ転送を行うたびにメインコントローラ11からエンジンコントローラ12にチェックサムを送信し、このチェックサムに基づきデータ転送が良好に行われたことを確認する(ステップS1)。また、上記書換処理中にフラッシュメモリ123の消去エラーが発生したか否かを判別する(ステップS2)。さらに、フラッシュメモリ123へのデータの書込エラーが発生したか否かを判別する(ステップS3)。
【0050】
そして、書換処理が完了するまでの間に1つでもエラーが発生すると、直ちにステップS5に進んで、エンジンコントローラ12からメインコントローラ11に「中断要求」ステータスを送信して書換処理を中断する。さらに、メインコントローラ11によって「一旦電源をオフにし、数分後にオンしてください」という旨のメッセージを表示部132に表示するとともに、メインコントローラ11からホストコンピュータ100に同様のメッセージを送信してホストコンピュータ100のディスプレイ上に表示させる(ステップS6)。なお、この実施形態では、画像形成装置の表示部132およびホストコンピュータ100のディスプレイの両方に上記メッセージを表示しているが、いずれか一方のみに表示するようにしてもよい。
【0051】
このように、この実施形態によれば、書換エラーが生じているにもかかわらず、そのまま印刷を実行するのを防止することができる。その結果、装置の誤動作や印刷不能などのファームウエアに起因する動作不良を確実に回避することができる。また、ユーザやサービスエンジニアに対して書換実行中において書換エラーが発生したことを報知することができる。
【0052】
(iii)書換モードの再実行処理
次に、上記メッセージにしたがってユーザやサービスエンジニアが画像形成装置の電源を再投入すると、図6に示す書換モードの再実行処理を実行する。図6は、電源投入時の初期動作を示すフローチャートである。この実施形態では、電源投入時に、イニシャル・プログラム・ローダが起動され(ステップS11)、CPU122がその初期プログラムを実行することで書換モードの実行時に書換エラーが発生したか否かを検出している(ステップS12、S13)。より具体的には、ステップS12でファームウエアのヘッダおよびフッタに記憶されている内容を読出す。
【0053】
そして、ヘッダおよびフッタの記憶内容に基づきファームウエアが正常であるか否かを判別する(ステップS13)。例えばヘッダおよびフッタの記憶内容がともに正しい値である場合には、ファームウエアは正常であると判別され、そのまま印刷モードに移行する。日常的に画像形成装置による印刷を行っている間、つまり上記したファームウエアの書換処理を行わない場合には、ステップS13で「YES」と判別され、ホストコンピュータ100などの外部装置から画像信号を受けて印刷動作を実行する。
【0054】
また、ヘッダおよびフッタの記憶内容の少なくとも1つが異常な値である場合には、ファームウエアは異常であり、書換モードの実行時に書換エラーが発生したことがわかる。例えばヘッダおよびフッタの記憶内容がともに異常な値である場合には、消去エラーが発生した確率が高い。また、例えばヘッダの記憶内容が正しい値であるのに対し、フッタの記憶内容が異常な値である場合には、図4(e)に示す書込工程中のエラー(書込エラー)が発生した確率が高い。いずれにしてもステップS13で「NO」と判別した場合には、ステップS14に進んで書換モードに誘導してファームウエアの書換処理を再度実行する。
【0055】
図7は、書換モードへの誘導動作を示す図である。電源が投入されると、上記ステップS11〜S13が実行され、しかもステップS13で「NO」と判別されると、書換モードへの誘導処理(ステップS14)が実行される。この誘導処理では、メインコントローラ11からエンジンコントローラ12に対して「基本ステータス」の送信要求がなされる。この「基本ステータス」とは、図8の最上段に示すように8ビットのデータからなるもので、各ビットに対して「コール」、「休止中」などの画像形成装置の基本状態を示す内容を割り当てている。一方、この要求を受けたエンジンコントローラ12は、誘導処理を実行すべく、「基本ステータス」中の「コールビット」に”1”をセットするとともに、その他のビットに”0”をセットした後、この「基本ステータス」をメインコントローラ11に送信する。
【0056】
次に、メインコントローラ11は、「コールビット」に”1”をセットされているの対応してエンジンコントローラ12に「コール詳細」の送信を要求する。この「コール詳細」とは、図8の中段に示すように8ビットのデータからなるもので、各ビットに対して「紙長短エラー」、「サービスコール」などのコールに関する内容を割り当てている。一方、この要求を受けたエンジンコントローラ12は、「コール詳細」中の「サービスコール」に”1”をセットするとともに、その他のビットに”0”をセットした後、この「コール詳細」をメインコントローラ11に送信する。
【0057】
次に、メインコントローラ11は、「サービスコール詳細」に”1”をセットされているの対応してエンジンコントローラ12に「サービスコール詳細」の送信を要求する。この「サービスコール詳細」とは、図8の最下段に示すように8ビットのデータからなるもので、各ビットに対して「ダウンロードエラー」、「ファン」などのサービスコールに関する内容を割り当てている。一方、この要求を受けたエンジンコントローラ12は、「サービスコール詳細」中の「ダウンロードエラー」に”1”をセットするとともに、その他のビットに”0”をセットした後、この「サービスコール詳細」をメインコントローラ11に送信する。
【0058】
さらに、メインコントローラ11は、エンジンコントローラ12に対して「書換モード」コマンドを送信する。一方、このコマンドを受信したエンジンコントローラ12は「了解」ステータスを送信する。これによって、印刷モードから書換モードに切り替わる。こうして、書換モードへの誘導が完了し、その後は先の実施形態と同様の手順でファームウエアの書換処理が再度実行される。
【0059】
以上のように、この実施形態では、ヘッダおよびフッタを本発明の「エラー検出情報」としてファームウエアに設け、ヘッダおよびフッタを含めてファームウエアを書き換えるように構成しているので、ヘッダおよびフッタの記憶内容を検証することでファームウエアの書換エラーが発生したか否かを検出することができる。したがって、ファームウエアの異常を確実に検出することができる。しかも、本発明の「エラー検出情報」としてヘッダおよびフッタを設けているので、書換動作中のどの段階で書換エラーが発生した場合であっても、電源の再投入時に書換エラーの発生を検出することができる。
【0060】
そして、書換エラーを検出した際には、そのまま印刷モードには移行せずに、書換モードを再度実行している。したがって、書換エラーが生じているにもかかわらず、そのまま印刷を実行するのを防止することができる。その結果、装置の誤動作や印刷不能などのファームウエアに起因する動作不良を確実に回避することができる。
【0061】
また、書換エラーを検出した際には、印刷モードの実行に先立って書換モードを実行している。すなわち、ファームウエアの書換が完了した上で印刷動作が実行されるように構成されている。したがって、常に正常なファームウエアで印刷動作を実行することができ、高品質で印刷を行うことができる。
【0062】
また、イニシャル・プログラム・ローダによりロードされるプログラムに基づき初期動作を実行するが、そのプログラムにより書換エラー検出(ステップS12、S13)と、書換モードへの誘導処理(ステップS14)とを実行するように構成されている。そして、この実施形態では、ステータス構造を階層化するとともに、エンジンコントローラ12がメインコントローラ11からみて優先度の高いステータス、つまり図8の上位の「基本ステータス」から順に下位のステータスに移りながら書換モードに誘導するように構成している。すなわち、この実施形態では、図8に示すように以下の3つのステータス送信、
(a)「基本ステータス」の1ビット設定および送信、
(b)「コール詳細」の1ビット設定および送信、
(c)「サービスコール詳細」の1ビット設定および送信、
を送信することで書換モードに誘導するように構成しているので、プログラムをコンパクトなものとすることができる。また、これによってイニシャル・プログラム・ローダを記憶するためのメモリサイズを小型化することができる。
【0063】
なお、本発明は上記した実施形態に限定されるものではなく、その趣旨を逸脱しない限りにおいて上述したもの以外に種々の変更を行うことが可能である。例えば、ダウンロードプログラム102をメインコントローラ11を経由して読み込んでいるが、予めエンジンコントローラ12のフラッシュメモリ123のライトプロテクト領域に格納したり、別のROMなどの不揮発性メモリに格納してもよい。
【0064】
また、上記実施形態では、操作パネル13のスイッチ131群を操作することで書換モードへのモード切替を指示するように構成しているが、ホストコンピュータ100からモード切替を指示する、例えばホストコンピュータ100で起動されたプリンタドライバから上記モード切替を指示するように構成してもよい。
【0065】
また、上記実施形態では、ファームウエアにヘッダおよびフッタを本発明の「エラー検出情報」として設けているが、本発明の「エラー検出情報」はこれに限定されるものではない。例えば、通信エラー、消去エラーや書込エラーが発生すると、メモリの一部に書換エラーフラグを設定するように構成しているもよい。この場合、書換エラーフラグが本発明の「エラー検出情報」として機能する。そして、書換エラーフラグが設定されているか否かに応じて書換エラーの発生の有無を検出するようにしてもよい。また、上記実施形態のように書換エラーが発生した際に装置電源を一旦オフにする場合には、不揮発性メモリに書換エラーフラグが設定するのが望ましい。また、CRC(=Cyclic Redundancy Check)やチェックサムなどを「エラー検出情報」として用いるようにしてもよい。
【0066】
また、上記実施形態では、ファームウエアおよびイニシャル・プログラム・ローダを同一のフラッシュメモリ123に記憶している。つまり、フラッシュメモリ123の書換可能なメモリ空間を本発明の「第1メモリ」として機能させるとともに、フラッシュメモリ123のライトプロテクト領域にイニシャル・プログラム・ローダ(IPL)を本発明の「第2メモリ」として機能させている。もちろん、ファームウエアおよびイニシャル・プログラム・ローダを互いに独立したメモリ素子に記憶させるようにしてもよいことは言うまでもない。
【0067】
また、上記実施形態では、ホストコンピュータ100からの画像信号に基づき画像を形成する画像形成装置、つまりプリンタに本発明を適用しているが、本発明の適用対象はこれに限定されるものではなく、互いに通信可能に接続された2つのコントローラにより画像形成を行う複写機やファクシミリ装置などの画像形成装置全般に適用することができる。
【図面の簡単な説明】
【図1】この発明にかかる画像形成装置の一実施形態を示す図である。
【図2】図1の画像形成装置の電気的構成を示すブロック図である。
【図3】メインコントローラとエンジンコントローラとの間で行われる通信手順を示す図である。
【図4】エンジンコントローラでのデータの転送状態を示す模式図である。
【図5】図1の画像形成装置における書換実行中における書換エラーの検出処理を示すフローチャートである。
【図6】電源投入時の初期動作を示すフローチャートである。
【図7】書換モードへの誘導動作を示す図である。
【図8】図1の画像形成装置で採用されているステータス構造を示す図である。
【符号の説明】
1…制御ユニット(制御手段)、 11…メインコントローラ、 12…エンジンコントローラ、 101…外部記録媒体、 102…ダウンロードプログラム、 103…ファームウエア、 123…フラッシュメモリ(第1メモリ、第2メモリ)
[0001]
TECHNICAL FIELD OF THE INVENTION
According to the present invention, a main controller and an engine controller having a rewritable memory for storing firmware are communicably connected to each other, and in response to a signal provided from the main controller, the engine controller responds to an image corresponding to the signal. And a method for rewriting firmware stored in the engine controller, a rewriting program, and a recording medium.
[0002]
[Prior art]
2. Description of the Related Art As an image forming apparatus such as a printer, a copying machine, and a facsimile apparatus, for example, an image forming apparatus in which two controllers are communicably connected to each other via a communication interface has been conventionally known (see Patent Document 1). In this image forming apparatus, when an image signal is provided to a main controller from an external device such as a host computer or a built-in scanner, the image signal is analyzed by the main controller, and various image processes are performed. A completed signal (eg, a video signal) is provided to the engine controller. This engine controller has a CPU as a central processing unit and a rewritable nonvolatile memory for storing firmware. When the above signal is received, the engine controller stores the firmware in a nonvolatile memory such as a flash ROM or an EEPROM. An engine corresponding to the image signal is formed on a sheet such as a copy sheet, a transfer sheet, a sheet, and a transparent sheet for OHP by controlling an engine unit based on the firmware.
[0003]
Here, the firmware is stored in a rewritable non-volatile memory for the purpose of flexibly coping with future addition of functions and version upgrade. That is, when it is necessary to add a function or upgrade a version, a new firmware including the added function is newly created, and the old firmware is rewritten and updated with the new firmware.
[0004]
[Patent Document 1]
JP-A-8-161231 (FIG. 2)
[0005]
[Problems to be solved by the invention]
By the way, in the conventional device, in order to perform communication between two controllers, the main controller functions as a master and the engine controller functions as a slave. In other words, the engine controller operates in response to commands and data from the main controller. When an image-processed signal is given from the main controller, the engine controller executes a print mode for forming an image corresponding to the signal based on firmware. I do. On the other hand, when the firmware needs to be rewritten, the apparatus enters a rewrite mode in which the firmware is rewritten in response to a command from the main controller. In this rewrite mode, the engine controller accesses the non-volatile memory to control the firmware rewrite process.
[0006]
However, as described above, since the engine controller is instructed or controlled by the main controller, the firmware rewriting process must always be performed while responding to commands from the main controller. It was not efficient.
[0007]
Further, there is a possibility that a firmware rewrite error occurs during the firmware rewrite operation as described above. For example, in the conventional device, new firmware is written to a nonvolatile memory in the engine controller via the communication interface. In such a device, normal data may not be sent to the engine controller due to a communication error. In addition, an error in writing data to the nonvolatile memory may occur. Then, even if such a rewrite error occurs, if the print mode is executed as it is, the apparatus malfunctions or printing becomes impossible. Therefore, appropriate measures are required to avoid the operation failure caused by such firmware.
[0008]
The present invention has been made in view of the above problems, and a main controller and an engine controller having a rewritable memory for storing firmware are communicably connected to each other, and the engine controller responds to a signal given from the main controller. It is a first object of the present invention to efficiently rewrite firmware in an image forming apparatus for forming an image corresponding to the signal.
[0009]
A second object of the present invention is to surely prevent an operation failure caused by firmware in an image forming apparatus capable of executing firmware rewriting processing.
[0010]
[Means for Solving the Problems]
According to the present invention, a main controller and an engine controller having a rewritable (first) memory for storing firmware are communicably connected to each other, and the engine controller responds to the signal in response to a signal provided from the main controller. The present invention relates to an image forming apparatus for forming an image to be reproduced, a method for rewriting firmware in the apparatus, a rewriting program, and a recording medium, and has the following configuration to achieve the first object.
[0011]
The image forming apparatus according to the present invention can switch between a print mode for creating an image corresponding to a signal based on the firmware stored in the first memory and a rewrite mode for rewriting the firmware. Thus, the master / slave relationship between the main controller and the engine controller is switched.
[0012]
In addition, the firmware rewriting method according to the present invention includes the steps of: The master / slave relationship with the engine controller has been swapped.
[0013]
Further, the rewriting program according to the present invention, when the image forming apparatus switches from a printing mode for creating an image corresponding to a signal based on firmware stored in a memory to a rewriting mode for rewriting firmware, It is configured to execute a procedure for exchanging the master / slave relationship between the main controller and the engine controller.
[0014]
Further, a recording medium according to the present invention records the above rewriting program.
[0015]
In the image forming apparatus configured as described above, and the firmware rewriting method, the rewriting program, and the recording medium in the apparatus, the apparatus can be switched between a print mode and a rewrite mode. The master / slave relationship between the main controller and the engine controller is switched. Therefore, in the rewrite mode, the firmware can be rewritten in a state where the main controller and the engine controller are set in a master / slave relationship suitable for the rewrite mode.
[0016]
After execution of the rewrite mode and before the execution of the next print mode, it is detected whether or not a rewrite error has occurred during the execution of the rewrite mode. The rewrite mode may be executed beforehand. As a result, it is possible to prevent printing from being executed as it is despite the occurrence of a rewrite error. As a result, it is possible to reliably avoid malfunctions due to firmware such as a malfunction of the apparatus and printing failure. When a rewriting error is detected, the rewriting mode is executed before the execution of the printing mode, so that the rewriting of the firmware is always completed and the printing operation is executed. Therefore, the printing operation can always be performed with normal firmware.
[0017]
In addition, an initial program loader may be used to detect a rewrite error as described above or to execute the rewrite mode. That is, the apparatus further includes a second memory for storing an initial program loader, and detects whether or not a rewrite error has occurred during execution of the rewrite mode based on the initial program loader when the apparatus is powered on, and performs rewriting. The configuration may be such that when an error is detected, the mode is guided to the rewrite mode.
[0018]
BEST MODE FOR CARRYING OUT THE INVENTION
FIG. 1 is a diagram showing an embodiment of an image forming apparatus according to the present invention. FIG. 2 is a block diagram showing an electrical configuration of the image forming apparatus of FIG. This image forming apparatus forms a full-color image by superimposing four color toners of yellow (Y), magenta (M), cyan (C), and black (K), or uses only black (K) toner. To form a monochrome image. In this image forming apparatus, when an image signal is given to the main controller 11 of the control unit 1 from an external device such as the host computer 100, the image signal is analyzed by the main controller 11, and after various image processes are performed, The image-processed signal is supplied to the engine controller 12. The engine controller 12 controls each part of the engine unit EG based on the firmware stored in the flash memory 123, and stores an image corresponding to an image signal on a sheet S such as copy paper, transfer paper, paper, and a transparent sheet for OHP. To form
[0019]
In the engine unit EG, seven units are provided: (a) a photoconductor unit 2; (b) a yellow developing unit (hereinafter referred to as a “Y developing unit”) 3Y; (c) a magenta developing unit (“M developing unit”) 3M; (D) cyan developing unit (“C developing unit”) 3C; (e) black developing unit (“K developing unit”) 3K; (f) intermediate transfer unit 4 and (g) fixing unit 5 It is detachable. In a state where all the units 2, 3Y, 3M, 3C, 3K, 4 and 5 are attached to the apparatus main body 6, as shown in FIG. While rotating in the direction D1, the charging unit 22, the rotary developing unit 3 including the developing units 3Y, 3M, 3C, and 3K and the cleaning unit 23 are arranged around the photosensitive member 21 along the rotation direction D1.
[0020]
Among the seven units 2, 3 Y, 3 M, 3 C, 3 K, 4, and 5, the photoconductor unit 2 houses a photoconductor 21, a charging unit 22, and a cleaning unit 23. In contrast, it is detachable. A charging bias is applied to the charging unit 22 from a charging bias generation unit (not shown), and uniformly charges the outer peripheral surface of the photoconductor 21. The photoconductor unit 2 is provided with a cleaning unit 23 on the upstream side of the charging unit 22 in the rotation direction D1 of the photoconductor 21, and the toner remaining on the outer peripheral surface of the photoconductor 21 after the primary transfer. Scrape off. Thus, the surface cleaning of the photoconductor 21 is performed.
[0021]
The light beam L is emitted from the exposure unit 8 toward the outer peripheral surface of the photoconductor 21 charged by the charging unit 22. The exposure unit 8 is electrically connected to a laser driver (not shown) provided in the engine controller 12, controls the exposure unit 8 according to a drive signal given from the laser driver, and controls the light beam L Exposure is performed on the photoconductor 21 to form an electrostatic latent image corresponding to the image signal on the photoconductor 21.
[0022]
The electrostatic latent image thus formed is developed by the rotary developing unit 3 with toner. In the rotary developing section 3, a developing unit 3K for black, a developing unit 3C for cyan, a developing unit 3M for magenta, and a developing unit 3Y for yellow are provided rotatably about the axis. These developing units 3Y, 3M, 3C, and 3K are moved and positioned at a plurality of predetermined positions, and are selectively positioned at the developing positions with respect to the photoconductor 21. In FIG. 1, the developing unit 3K for black is positioned at the developing position, and in this position, the developing roller 31 provided on the developing unit 3K is arranged to face the photoconductor 21, but the other developing units 3Y, 3M 3C, the developing roller 31 provided in each developing unit is opposed to the photoreceptor 21 by positioning the developing unit at the developing position just like the developing unit 3K.
[0023]
In the developing unit positioned at the developing position, the toner stored in the unit housing is transported to the developing position while being carried by the developing roller 31. Then, by applying a predetermined developing bias to the developing roller 31, the toner in the unit housing selected and positioned at the developing position adheres to the photosensitive member 21 from the developing roller 31 to visualize the electrostatic latent image. I do. Thus, a toner image of the selected color is formed on the surface of the photoconductor 21.
[0024]
The toner image developed by the developing unit 3 as described above is primarily transferred onto the intermediate transfer belt 41 of the intermediate transfer unit 4 in the primary transfer area TR1. That is, the intermediate transfer unit 4 includes an intermediate transfer belt 41 stretched over a plurality of rollers, and a drive unit (not shown) for driving the intermediate transfer belt 41 to rotate. In order to form a color image by superimposing toner images of respective colors formed on the photoconductor 21 on the intermediate transfer belt 41, when a single-color image is to be transferred to the sheet S, the color image is formed on the photoconductor 21. Only the black toner image to be transferred is transferred onto the intermediate transfer belt 41 to form a single color image.
[0025]
Further, in the image forming apparatus according to the present embodiment, the patch sensor PS is disposed so as to face one roller on which the intermediate transfer belt 41 is stretched to detect the density of the patch image.
[0026]
The image thus formed on the intermediate transfer belt 41 is secondarily transferred onto the sheet S taken out of the cassette 9 in a predetermined secondary transfer area TR2. Then, the sheet S on which the toner image has been transferred is introduced into a fixing unit 5 having a built-in heater (not shown), and the toner is fixed on the sheet S by applying pressure while heating. The sheet S on which the image has been formed in this manner is conveyed to a discharge tray section provided on the upper surface of the apparatus main body 6.
[0027]
Next, the electrical configuration of the image forming apparatus of FIG. 1 will be described with reference to FIG. The main controller 11 includes a host interface 111, a CPU 112, a ROM 113, a RAM 114, and an engine interface 115. The main controller 11 is configured to perform communication processing with the host computer 100 via the host interface 111, and receives an image signal transmitted from the host computer 100, a download program and a firmware file described later. Then, the received image signal and the like are temporarily stored in the RAM 114.
[0028]
The CPU 112 is electrically connected to an operation panel 13 attached to the apparatus main body 6 via an input / output port (not shown). The operation panel 13 is provided with a plurality of switches 131 for a user to give various commands to the CPU 112 and a display unit 132 for displaying a message, a printing status, and the like to the user. Thus, the operation panel 13 functions as a man-machine interface.
[0029]
Further, a program for the main controller 11 is stored in the ROM 113 in advance, and various image processes are performed on the received image signal by operating the CPU 112 and a logic circuit (not shown) according to the program. . That is, in the main controller 11 to which the image signal is given from the host computer 100, the RGB data indicating the gradation level of the RGB component of each pixel in the image corresponding to the image signal is converted to the gradation level of the corresponding CMYK component. Is converted to CMYK data indicating. Further, after performing gradation correction on the CMYK data of each pixel, halftoning processing such as an error diffusion method, a dither method, and a screen method is performed to generate halftone CMYK data of, for example, 8 bits per color per pixel. I do. Then, using the halftone CMYK data, a video signal for pulse width modulation of an exposure laser pulse of each of the CMYK color images of the engine unit EG is created, and output to the engine controller 12 via the engine interface 115. Further, commands and data are transmitted to the engine controller 12 based on the above-described program, and mode switching between a print mode and a rewrite mode, which will be described later, is performed. In the rewrite mode, data transmission and standby are performed according to the status from the engine controller 12. And so on.
[0030]
On the other hand, as shown in FIG. 2, the engine controller 12 includes a main interface 121, a CPU 122, a flash memory 123, and a RAM 124. The main interface 121 is for performing communication with the main controller 11, receives commands and data transmitted from the main controller 11, and transmits a “data request”, “data request”, And the status such as "instruction waiting request".
[0031]
Further, in this embodiment, the flash memory 123 is used as a “rewritable (first) memory for storing firmware”. A part of the memory area is write-protected, and an initial The program loader (IPL) is stored, while the firmware is stored in the remaining memory area. Of course, a ROM for storing the initial program loader may be separately provided, and only the firmware may be stored in the flash memory 123.
[0032]
Then, the CPU 122 controls each unit of the engine unit EG by executing the firmware to form an image corresponding to the image signal on a sheet S such as a copy sheet, a transfer sheet, a sheet, and a transparent sheet for OHP (print mode). . In the print mode in which an image corresponding to a video signal from the main controller 11 is created based on the firmware stored in the flash memory 123, the main controller 11 functions as a master and the engine controller 12 functions as a slave. ing.
[0033]
The engine controller 12 can execute a rewrite mode for rewriting firmware in addition to the print mode. That is, the download program is loaded into the RAM 124 based on the initial program loader, and the CPU 122 executes the download program to execute the firmware rewriting process. In this embodiment, the engine controller 12 functions as a master and the main controller 11 functions as a slave during the rewrite mode.
[0034]
Next, the firmware rewriting process will be described in detail with reference to FIGS. FIG. 3 is a diagram showing a communication procedure performed between the main controller and the engine controller, and FIG. 4 is a schematic diagram showing a data transfer state in the engine controller.
[0035]
In the image forming apparatus configured as described above, the main controller 11 transmits a command, data, and the like to the engine controller 12, and the engine controller 12 operating as a slave receiving the command or data is stored in the flash memory 123. The printing process is performed by controlling each part of the engine unit EG based on the firmware (print mode). The memory state at this time is shown in FIG.
[0036]
When the firmware needs to be rewritten, an instruction to switch the image forming apparatus from the print mode to the rewrite mode is given to the main controller 11, and the download program and new firmware are given to the main controller 11. As a specific procedure, for example, a user or a service engineer operates a group of switches 131 provided on the operation panel 13 to instruct the CPU 112 of the main controller 11 to switch the mode to the rewrite mode. Further, a user, a service engineer, or the like sets an external recording medium 101 such as a CD-ROM or a floppy (registered trademark) disk on which a download program and new firmware are recorded, in the host computer 100. When a plurality of host computers 100 are connected to the image forming apparatus via a LAN or the like, an arbitrary host computer 100 can be used. Instead of using an external recording medium, a download program and new firmware stored in a predetermined server may be previously downloaded to a hard disk (not shown) of the host computer 100 via a LAN.
[0037]
Next, the download program and the new firmware are copied from the host computer 100 to the RAM 114 of the main controller 11. Here, the copy operation may be executed using a printer driver installed in the host computer 100. That is, when the printer driver is activated, a button for selecting a firmware rewriting process can be displayed on the display of the host computer 100. Then, when the user or a service engineer selects the button, a processing procedure necessary for the firmware rewriting processing is displayed on the display. Therefore, by operating in accordance therewith, the download program and the new firmware stored in the recording medium (CD-ROM, floppy (registered trademark) disk, hard disk, etc.) are automatically copied to the RAM 114 of the main controller 11. . This results in a user-friendly device.
[0038]
When the copying to the RAM 114 is completed, the main controller 11 transmits a “rewrite mode” command to the engine controller 12 as shown in FIG. On the other hand, the engine controller 12 having received this command transmits an “OK” status to the main controller 11. As a result, the mode is switched from the print mode to the rewrite mode.
[0039]
In this rewrite mode, the engine controller 12 functions as a master and the main controller 11 functions as a slave, and the following communication is performed to execute a firmware rewrite process.
[0040]
(1) Writing the download program 102 (program reading step)
The CPU 122 operates based on the IPL and writes the download program 102 stored in the RAM 114 of the main controller 11 to the RAM 124 of the engine controller 12. Specifically, the engine controller 12 transmits a “data request” status to the main controller 11. Upon receiving this, the main controller 11 returns a byte size indicating the program length status of the download program 102 to the engine controller 12. Then, the engine controller 12 transmits an "instruction waiting request" status to the main controller 11, and upon receiving the instruction, the main controller 11 enters a standby state.
[0041]
Next, in order to request transmission of the download program 102, the engine controller 12 transmits a “data request” status to the main controller 11. The main controller 11 receiving this transmits the download program 102 to the engine controller 12. Then, the engine controller 12 stores the transmitted download program 102 in the RAM 124 (FIG. 4B). Subsequently, the engine controller 12 transmits an "instruction waiting request" status to the main controller 11, and the main controller 11 enters a standby state in response to this.
[0042]
(2) Writing the firmware 103
Next, the download program is started and the firmware 103 is written. First, as shown in FIG. 4C, the old firmware stored in the flash memory 123 is erased (erasing step).
[0043]
Then, in order to request transmission of a header (Header) of the new firmware 103, the engine controller 12 transmits a “data request” status to the main controller 11. The main controller 11 receiving this transmits the header (Header) of the new firmware 103 to the engine controller 12. As shown in FIG. 4D, the header read by the engine controller 12 is temporarily stored in the RAM 124 and then written into the flash memory 123 (writing step; writing procedure). Then, the engine controller 12 transmits an "instruction waiting request" status to the main controller 11, and upon receiving the instruction, the main controller 11 enters a standby state.
[0044]
Further, in order to request the transmission of the firmware, the engine controller 12 transmits a “data request” status to the main controller 11. The main controller 11 receiving this transmits the data of the new firmware 103 to the engine controller 12 in unit length, for example, in units of 128 bytes. The firmware read by the engine controller 12 in this way is, as shown in FIG. 4E, temporarily stored in the RAM 124 and then written into the flash memory 123 (writing step; writing procedure). Then, the engine controller 12 transmits an "instruction waiting request" status to the main controller 11, and upon receiving the instruction, the main controller 11 enters a standby state. The data writing (the process enclosed by the dashed line in FIG. 3) with this unit length byte is repeated N times, and the entire firmware is written into the flash memory 123.
[0045]
Subsequently, the engine controller 12 transmits a “data request” status to the main controller 11 to request transmission of a footer of the firmware 103. The main controller 11 receiving this transmits the footer of the new firmware 103 to the engine controller 12. The footer thus read by the engine controller 12 is temporarily stored in the RAM 124 and then written to the flash memory 123 (writing step; writing procedure), as shown in FIG. When the rewriting of the firmware is completed, the engine controller 12 transmits a "restart request" status to the main controller 11, and in response to this, the main controller 11 executes a restart process to restart the entire apparatus. Then, the firmware rewritten as described above is assumed to be valid.
[0046]
As described above, according to this embodiment, when the firmware rewrite process is required, the mode is switched from the print mode to the rewrite mode, and the master / slave relationship between the main controller 11 and the engine controller 12 is switched. Therefore, the rewrite mode can be executed in an appropriate master / slave state. That is, in the rewriting mode, the engine controller 12 becomes the master and transmits the status to the main controller 11 in accordance with the progress of the rewriting process. Can be given to the main controller 11. As a result, the firmware rewriting process can be performed efficiently.
[0047]
By the way, in the above embodiment, the firmware rewriting process is executed. However, if the rewriting process fails, it is desirable to take appropriate measures. Therefore, in the “other embodiment” described below, the engine controller 12 executes the rewrite mode and determines whether or not a rewrite error (communication error, erase error, and write error) occurs during the rewrite mode. Is determined. Further, when a rewrite error occurs, each unit of the apparatus is controlled so as to prompt a user or a service engineer to re-execute the firmware rewrite process. That is, the image forming apparatus according to another embodiment executes (i) firmware rewriting processing, (ii) rewriting error detection processing during rewriting execution, and (iii) re-execution processing of rewriting mode in this order. . Since the configuration is the same, "other embodiments" will be described in detail below with reference to the drawings, focusing on operations that are different from the previous embodiments.
[0048]
(I) Firmware rewriting process
Since this processing is exactly the same as that of the previous embodiment, the description is omitted.
[0049]
(Ii) Rewriting error detection processing during rewriting
FIG. 5 is a flowchart showing a rewrite error detection process during rewrite execution in the image forming apparatus of FIG. The image forming apparatus executes steps S1 to S4 while the rewrite mode is being executed to determine whether or not a rewrite error has occurred. Specifically, every time data transfer from the main controller 11 to the engine controller 12 is performed, a checksum is transmitted from the main controller 11 to the engine controller 12, and it is confirmed that the data transfer is successfully performed based on the checksum. (Step S1). Further, it is determined whether or not an erasing error of the flash memory 123 has occurred during the rewriting process (step S2). Further, it is determined whether an error has occurred in writing data to the flash memory 123 (step S3).
[0050]
If at least one error occurs before the rewriting process is completed, the process immediately proceeds to step S5, where the engine controller 12 transmits an "interruption request" status to the main controller 11 to interrupt the rewriting process. Further, the main controller 11 displays a message "Turn off the power and turn it on a few minutes later" on the display unit 132, and transmits a similar message from the main controller 11 to the host computer 100 to send the message to the host computer 100. It is displayed on the display of the computer 100 (step S6). In this embodiment, the message is displayed on both the display unit 132 of the image forming apparatus and the display of the host computer 100. However, the message may be displayed on only one of them.
[0051]
As described above, according to this embodiment, it is possible to prevent printing from being executed as it is despite a rewrite error. As a result, it is possible to reliably avoid malfunctions due to firmware such as a malfunction of the apparatus and printing failure. In addition, it is possible to notify the user or the service engineer that a rewrite error has occurred during the rewriting.
[0052]
(Iii) Re-execution processing of rewrite mode
Next, when the user or the service engineer turns on the power supply of the image forming apparatus again according to the message, the re-execution processing of the rewrite mode shown in FIG. 6 is executed. FIG. 6 is a flowchart showing the initial operation when the power is turned on. In this embodiment, when the power is turned on, the initial program loader is activated (step S11), and the CPU 122 executes the initial program to detect whether or not a rewrite error has occurred during execution of the rewrite mode. (Steps S12 and S13). More specifically, the contents stored in the header and footer of the firmware are read in step S12.
[0053]
Then, it is determined whether the firmware is normal based on the stored contents of the header and the footer (step S13). For example, when both the stored contents of the header and the footer are correct values, the firmware is determined to be normal, and the process directly shifts to the print mode. If printing is routinely performed by the image forming apparatus, that is, if the above-described firmware rewriting process is not performed, “YES” is determined in the step S13, and an image signal is transmitted from an external device such as the host computer 100. Then, the printing operation is executed.
[0054]
If at least one of the stored contents of the header and the footer has an abnormal value, the firmware is abnormal, indicating that a rewrite error has occurred during execution of the rewrite mode. For example, when both the stored contents of the header and the footer are abnormal values, the probability that an erasing error has occurred is high. Further, for example, when the storage content of the header is a correct value while the storage content of the footer is an abnormal value, an error (write error) during the writing process shown in FIG. The probability of having done it is high. In any case, if "NO" is determined in the step S13, the process proceeds to a step S14, in which a rewriting mode is induced, and the firmware rewriting process is executed again.
[0055]
FIG. 7 is a diagram showing an operation for guiding to the rewrite mode. When the power is turned on, the above-described steps S11 to S13 are executed, and if "NO" is determined in the step S13, a process of inducing a rewrite mode (step S14) is executed. In this guidance process, a transmission of a “basic status” is made from the main controller 11 to the engine controller 12. The "basic status" is composed of 8-bit data as shown at the top of FIG. 8, and indicates the basic state of the image forming apparatus such as "call" or "pausing" for each bit. Is assigned. On the other hand, upon receiving this request, the engine controller 12 sets “call” in the “basic status” to “1” and sets other bits to “0” in order to execute the guidance process. This “basic status” is transmitted to the main controller 11.
[0056]
Next, the main controller 11 requests the engine controller 12 to transmit “call details” in response to the “call bit” being set to “1”. The "call details" are composed of 8-bit data as shown in the middle part of FIG. 8, and the contents relating to the call such as "paper length error" and "service call" are assigned to each bit. On the other hand, upon receiving this request, the engine controller 12 sets "service call" in "call details" to "1", sets other bits to "0", and then stores the "call details" in the main. Transmit to controller 11.
[0057]
Next, the main controller 11 requests the engine controller 12 to transmit the "service call details" in response to the "service call details" being set to "1". The "service call details" are composed of 8-bit data as shown at the bottom of FIG. 8, and contents relating to the service call such as "download error" and "fan" are assigned to each bit. . On the other hand, the engine controller 12 that has received this request sets “download error” in “service call details” to “1” and sets other bits to “0”, and then sets the “service call details” Is transmitted to the main controller 11.
[0058]
Further, the main controller 11 transmits a “rewrite mode” command to the engine controller 12. On the other hand, the engine controller 12 that has received this command transmits an "OK" status. As a result, the mode is switched from the print mode to the rewrite mode. Thus, the guidance to the rewriting mode is completed, and thereafter, the firmware rewriting process is executed again in the same procedure as in the previous embodiment.
[0059]
As described above, in this embodiment, the header and the footer are provided in the firmware as “error detection information” of the present invention, and the firmware is rewritten including the header and the footer. By verifying the stored contents, it is possible to detect whether or not a firmware rewrite error has occurred. Therefore, it is possible to reliably detect the abnormality of the firmware. Moreover, since the header and the footer are provided as the "error detection information" of the present invention, even if a rewrite error occurs at any stage during the rewrite operation, the occurrence of the rewrite error is detected when the power is turned on again. be able to.
[0060]
When a rewrite error is detected, the rewrite mode is executed again without shifting to the print mode. Therefore, it is possible to prevent the printing from being executed as it is despite the occurrence of the rewriting error. As a result, it is possible to reliably avoid malfunctions due to firmware such as a malfunction of the apparatus and printing failure.
[0061]
When a rewrite error is detected, the rewrite mode is executed prior to the execution of the print mode. That is, the configuration is such that the printing operation is executed after the firmware rewriting is completed. Therefore, the printing operation can always be performed with normal firmware, and high quality printing can be performed.
[0062]
The initial operation is performed based on the program loaded by the initial program loader. The program performs the rewrite error detection (steps S12 and S13) and the process of inducing the rewrite mode (step S14). Is configured. In this embodiment, the status structure is hierarchized, and the engine controller 12 shifts from the main controller 11 to the lower-priority status in order from the higher-priority status, that is, from the higher-level “basic status” in FIG. It is configured to guide to. That is, in this embodiment, as shown in FIG.
(A) 1-bit setting and transmission of “basic status”,
(B) 1-bit setting and transmission of “call details”,
(C) 1-bit setting and transmission of “service call details”,
, The program is guided to the rewrite mode, so that the program can be made compact. In addition, the size of the memory for storing the initial program loader can be reduced.
[0063]
The present invention is not limited to the above-described embodiment, and various changes other than those described above can be made without departing from the gist of the present invention. For example, although the download program 102 is read via the main controller 11, the download program 102 may be stored in a write-protect area of the flash memory 123 of the engine controller 12 in advance, or may be stored in another nonvolatile memory such as a ROM.
[0064]
In the above-described embodiment, the mode switching to the rewriting mode is instructed by operating the switches 131 on the operation panel 13. However, the mode switching is instructed from the host computer 100. The mode switching may be instructed from the printer driver activated in the above.
[0065]
In the above embodiment, the header and the footer are provided in the firmware as “error detection information” of the present invention, but the “error detection information” of the present invention is not limited to this. For example, when a communication error, an erase error, or a write error occurs, a configuration may be adopted in which a rewrite error flag is set in a part of the memory. In this case, the rewrite error flag functions as “error detection information” of the present invention. Then, whether or not a rewrite error has occurred may be detected depending on whether or not the rewrite error flag is set. When the power supply of the device is temporarily turned off when a rewrite error occurs as in the above embodiment, it is desirable to set a rewrite error flag in the nonvolatile memory. Further, a CRC (= Cyclic Redundancy Check) or a checksum may be used as the “error detection information”.
[0066]
In the above embodiment, the firmware and the initial program loader are stored in the same flash memory 123. In other words, the rewritable memory space of the flash memory 123 functions as the “first memory” of the present invention, and the initial program loader (IPL) is placed in the write-protect area of the flash memory 123 in the “second memory” of the present invention. Function. Of course, it goes without saying that the firmware and the initial program loader may be stored in independent memory elements.
[0067]
In the above embodiment, the present invention is applied to an image forming apparatus that forms an image based on an image signal from the host computer 100, that is, a printer, but the present invention is not limited to this. The present invention can be applied to all image forming apparatuses such as a copying machine and a facsimile apparatus which form an image by two controllers communicably connected to each other.
[Brief description of the drawings]
FIG. 1 is a diagram showing an embodiment of an image forming apparatus according to the present invention.
FIG. 2 is a block diagram illustrating an electrical configuration of the image forming apparatus of FIG. 1;
FIG. 3 is a diagram showing a communication procedure performed between a main controller and an engine controller.
FIG. 4 is a schematic diagram showing a data transfer state in an engine controller.
FIG. 5 is a flowchart illustrating a rewrite error detection process performed during rewrite in the image forming apparatus of FIG. 1;
FIG. 6 is a flowchart showing an initial operation at power-on.
FIG. 7 is a diagram illustrating an operation for guiding to a rewrite mode.
FIG. 8 is a diagram illustrating a status structure employed in the image forming apparatus of FIG. 1;
[Explanation of symbols]
DESCRIPTION OF SYMBOLS 1 ... Control unit (control means), 11 ... Main controller, 12 ... Engine controller, 101 ... External recording medium, 102 ... Download program, 103 ... Firmware, 123 ... Flash memory (1st memory, 2nd memory)

Claims (16)

メインコントローラと、ファームウエアを記憶する書き換え可能な第1メモリを有するエンジンコントローラとが互いに通信可能に接続され、前記メインコントローラから与えられる信号に応じて前記エンジンコントローラが該信号に対応する画像を形成する画像形成装置において、
前記第1メモリに記憶されたファームウエアに基づき前記信号に対応する画像を作成する印刷モードと、前記ファームウエアを書き換える書換モードとを切替え可能で、しかも、
前記モード切替に応じて前記メインコントローラと前記エンジンコントローラとのマスター/スレーブ関係を入れ替えることを特徴とする画像形成装置。
A main controller and an engine controller having a rewritable first memory for storing firmware are communicably connected to each other, and the engine controller forms an image corresponding to the signal in response to a signal provided from the main controller. Image forming apparatus,
A print mode for creating an image corresponding to the signal based on firmware stored in the first memory and a rewrite mode for rewriting the firmware can be switched, and
An image forming apparatus, wherein a master / slave relationship between the main controller and the engine controller is switched according to the mode switching.
前記印刷モードにおいては、前記メインコントローラおよび前記エンジンコントローラはそれぞれマスターおよびスレーブとなる一方、
前記書換モードにおいては、前記メインコントローラおよび前記エンジンコントローラはそれぞれスレーブおよびマスターとなる請求項1記載の画像形成装置。
In the print mode, the main controller and the engine controller are respectively a master and a slave,
2. The image forming apparatus according to claim 1, wherein in the rewriting mode, the main controller and the engine controller are a slave and a master, respectively.
イニシャル・プログラム・ローダを記憶する第2メモリをさらに備え、
装置への電源投入時に、前記イニシャル・プログラム・ローダに基づき、前記書換モードの実行時に書換エラーが発生したか否かを検出するとともに前記書換エラーを検出した際には前記書換モードに誘導する請求項1または2記載の画像形成装置。
A second memory for storing an initial program loader;
At the time of turning on the power of the apparatus, based on the initial program loader, it is determined whether or not a rewrite error has occurred during execution of the rewrite mode, and when the rewrite error is detected, the apparatus is guided to the rewrite mode. Item 3. The image forming apparatus according to Item 1 or 2.
前記ファームウエアは少なくとも1つ以上のエラー検出情報を含んでおり、前記エラー検出情報の内容に基づき前記書換エラーを検出する請求項3記載の画像形成装置。The image forming apparatus according to claim 3, wherein the firmware includes at least one piece of error detection information, and detects the rewrite error based on the content of the error detection information. 前記エラー検出情報として、前記ファームウエアの先頭および最後尾にヘッダおよびフッタがそれぞれ設けられる請求項4記載の画像形成装置。5. The image forming apparatus according to claim 4, wherein a header and a footer are provided at the beginning and end of the firmware, respectively, as the error detection information. メインコントローラと、ファームウエアを記憶する書き換え可能なメモリを有するエンジンコントローラとが互いに通信可能に接続され、前記メインコントローラから与えられる信号に応じて前記エンジンコントローラが該信号に対応する画像を形成する画像形成装置においてファームウエアを書き換える方法であって、
前記メモリに記憶されたファームウエアに基づき前記信号に対応する画像を作成する印刷モードから、前記ファームウエアを書き換える書換モードに切替えるのに応じて、前記メインコントローラと前記エンジンコントローラとのマスター/スレーブ関係を入れ替えることを特徴とするファームウエアの書換方法。
An image in which a main controller and an engine controller having a rewritable memory for storing firmware are communicably connected to each other, and in response to a signal provided from the main controller, the engine controller forms an image corresponding to the signal; A method of rewriting firmware in a forming apparatus,
A master / slave relationship between the main controller and the engine controller in response to switching from a print mode for creating an image corresponding to the signal based on the firmware stored in the memory to a rewrite mode for rewriting the firmware. A firmware rewriting method characterized by replacing the above.
前記書換モードでは、前記メインコントローラおよび前記エンジンコントローラをそれぞれスレーブおよびマスターに設定し、前記メインコントローラから新しいファームウエアを読み込み、前記メモリに書込む書込工程を実行する請求項6記載のファームウエアの書換方法。7. The firmware according to claim 6, wherein, in the rewriting mode, the main controller and the engine controller are set as a slave and a master, respectively, and a new step of reading new firmware from the main controller and writing the new firmware into the memory is performed. Rewriting method. ダウンロードプログラムを前記メインコントローラから読み込むプログラム読込工程をさらに備え、
前記書換モードでは、その読み込んだダウンロードプログラムに基づき前記書込工程を実行する請求項7記載のファームウエアの書換方法。
Further comprising a program reading step of reading a download program from the main controller,
8. The firmware rewriting method according to claim 7, wherein in the rewriting mode, the writing step is performed based on the read download program.
前記書換モードでは、新しいファームウエアを前記メモリに書き込む前に、前記メモリに記憶されているファームウエアを消去する消去工程を実行する請求項7記載のファームウエアの書換方法。8. The firmware rewriting method according to claim 7, wherein in the rewriting mode, an erasing step of erasing the firmware stored in the memory is performed before writing new firmware into the memory. ダウンロードプログラムを前記メインコントローラから読み込むプログラム読込工程をさらに備え、
前記書換モードでは、その読み込んだダウンロードプログラムに基づき前記消去工程および前記書込工程を実行する請求項9記載のファームウエアの書換方法。
Further comprising a program reading step of reading a download program from the main controller,
10. The firmware rewriting method according to claim 9, wherein in the rewriting mode, the erasing step and the writing step are performed based on the read download program.
前記メモリへのファームウエアの書換が完了すると、前記メインコントローラおよび前記エンジンコントローラを再起動する再起動工程を実行する請求項6ないし10のいずれかに記載のファームウエアの書換方法。11. The firmware rewriting method according to claim 6, wherein when the rewriting of the firmware to the memory is completed, a restarting step of restarting the main controller and the engine controller is executed. 書換モードの実行後で、かつ次の印刷モードの実行前に、前記書換モードの実行時に書換エラーが発生したか否かを検出し、前記書換エラーを検出した際には、前記印刷モードの実行に先立って前記書換モードを実行する請求項6ないし11のいずれかに記載のファームウエアの書換方法。After execution of the rewrite mode and before execution of the next print mode, it is detected whether or not a rewrite error has occurred during execution of the rewrite mode. When the rewrite error is detected, execution of the print mode is performed. The firmware rewriting method according to any one of claims 6 to 11, wherein the rewriting mode is executed prior to the updating. メインコントローラと、ファームウエアを記憶する書き換え可能なメモリを有するエンジンコントローラとが互いに通信可能に接続され、前記メインコントローラから与えられる信号に応じて前記エンジンコントローラが該信号に対応する画像を形成する画像形成装置に、
前記メモリに記憶されたファームウエアに基づき前記信号に対応する画像を作成する印刷モードから、前記ファームウエアを書き換える書換モードに切替えるのに応じて、前記メインコントローラと前記エンジンコントローラとのマスター/スレーブ関係を入れ替える手順
を実行させるための書換プログラム。
An image in which a main controller and an engine controller having a rewritable memory for storing firmware are communicably connected to each other, and in response to a signal provided from the main controller, the engine controller forms an image corresponding to the signal; Forming equipment,
A master / slave relationship between the main controller and the engine controller in response to switching from a print mode for creating an image corresponding to the signal based on the firmware stored in the memory to a rewrite mode for rewriting the firmware. Rewriting program to execute the procedure to replace the.
メインコントローラと、ファームウエアを記憶する書き換え可能なメモリを有するエンジンコントローラとが互いに通信可能に接続され、前記メインコントローラおよび前記エンジンコントローラをそれぞれマスターおよびスレーブに設定した状態で、前記メインコントローラから信号を与えることによって該信号に対応する画像を形成する画像形成装置に、
前記メインコントローラおよび前記エンジンコントローラをそれぞれスレーブおよびマスターに設定した状態で、前記メインコントローラから新しいファームウエアを読み込み、前記メモリに書込む書込手順
を実行させるための書換プログラム。
A main controller and an engine controller having a rewritable memory for storing firmware are communicably connected to each other, and in a state where the main controller and the engine controller are set as a master and a slave, respectively, a signal is transmitted from the main controller. The image forming apparatus that forms an image corresponding to the signal by giving
A rewriting program for executing a writing procedure of reading new firmware from the main controller and writing the new firmware in the memory with the main controller and the engine controller set as slaves and masters, respectively.
メインコントローラと、ファームウエアを記憶する書き換え可能なメモリを有するエンジンコントローラとが互いに通信可能に接続され、前記メインコントローラから与えられる信号に応じて前記エンジンコントローラが該信号に対応する画像を形成する画像形成装置に、
前記メモリに記憶されたファームウエアに基づき前記信号に対応する画像を作成する印刷モードから、前記ファームウエアを書き換える書換モードに切替えるのに応じて、前記メインコントローラと前記エンジンコントローラとのマスター/スレーブ関係を入れ替える手順
を実行させるための書換プログラムを記録したコンピュータ読み取り可能な記録媒体。
An image in which a main controller and an engine controller having a rewritable memory for storing firmware are communicably connected to each other, and in response to a signal provided from the main controller, the engine controller forms an image corresponding to the signal; Forming equipment,
A master / slave relationship between the main controller and the engine controller in response to switching from a print mode for creating an image corresponding to the signal based on the firmware stored in the memory to a rewrite mode for rewriting the firmware. A computer-readable recording medium on which a rewriting program for executing a procedure for replacing a computer is recorded.
メインコントローラと、ファームウエアを記憶する書き換え可能なメモリを有するエンジンコントローラとが互いに通信可能に接続され、前記メインコントローラおよび前記エンジンコントローラをそれぞれマスターおよびスレーブに設定した状態で、前記メインコントローラから信号を与えることによって該信号に対応する画像を形成する画像形成装置に、
前記メインコントローラおよび前記エンジンコントローラをそれぞれスレーブおよびマスターに設定した状態で、前記メインコントローラから新しいファームウエアを読み込み、前記メモリに書込む書込手順
を実行させるための書換プログラムを記録したコンピュータ読み取り可能な記録媒体。
A main controller and an engine controller having a rewritable memory for storing firmware are communicably connected to each other, and in a state where the main controller and the engine controller are set as a master and a slave, respectively, a signal is transmitted from the main controller. The image forming apparatus that forms an image corresponding to the signal by giving
With the main controller and the engine controller set as slaves and masters, respectively, a new firmware is read from the main controller, and a computer readable recording of a rewriting program for executing a writing procedure for writing to the memory is performed. recoding media.
JP2003146102A 2002-06-17 2003-05-23 Image forming apparatus, firmware rewriting method, rewriting program, and recording medium Expired - Fee Related JP4292866B2 (en)

Priority Applications (4)

Application Number Priority Date Filing Date Title
JP2003146102A JP4292866B2 (en) 2002-06-17 2003-05-23 Image forming apparatus, firmware rewriting method, rewriting program, and recording medium
EP03013355A EP1376344A3 (en) 2002-06-17 2003-06-16 Apparatus and method of rewriting firmware
CNB031430546A CN100412826C (en) 2002-06-17 2003-06-17 Image forming apparatus, information processing system, rewriting method, rewriting program and recording medium of firmware
US10/464,824 US7587463B2 (en) 2002-06-17 2003-06-18 Apparatus and method of rewriting firmware

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2002175389 2002-06-17
JP2003146102A JP4292866B2 (en) 2002-06-17 2003-05-23 Image forming apparatus, firmware rewriting method, rewriting program, and recording medium

Publications (2)

Publication Number Publication Date
JP2004078894A true JP2004078894A (en) 2004-03-11
JP4292866B2 JP4292866B2 (en) 2009-07-08

Family

ID=32032401

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003146102A Expired - Fee Related JP4292866B2 (en) 2002-06-17 2003-05-23 Image forming apparatus, firmware rewriting method, rewriting program, and recording medium

Country Status (1)

Country Link
JP (1) JP4292866B2 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006218696A (en) * 2005-02-09 2006-08-24 Seiko Epson Corp Image forming apparatus and firmware rewriting method
JP2007234746A (en) * 2006-02-28 2007-09-13 Sanyo Electric Co Ltd Method of manufacturing integrated circuit

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63114594A (en) * 1986-10-30 1988-05-19 Yaskawa Electric Mfg Co Ltd Trace back method for variable speed driving device
JPH08161231A (en) * 1994-12-08 1996-06-21 Ricoh Co Ltd Image forming device
JPH08166883A (en) * 1994-12-14 1996-06-25 Ricoh Co Ltd Image forming device
JPH11110218A (en) * 1997-10-03 1999-04-23 Hitachi Ltd Firmware rewriting device
JPH11268385A (en) * 1998-03-26 1999-10-05 Seiko Epson Corp Auxiliary information display device, auxiliary information display method, and medium on which auxiliary information display program is recorded
JP2000194544A (en) * 1998-12-27 2000-07-14 Copyer Co Ltd Firmware update processing method of image forming device
JP2000316066A (en) * 1999-04-28 2000-11-14 Ricoh Co Ltd Printer facsimile composite machine
JP2001117779A (en) * 1999-10-20 2001-04-27 Funai Electric Co Ltd Electronic instrument and program rewriting method
JP2002007152A (en) * 2000-06-21 2002-01-11 Canon Inc Download method and download device
JP2002023965A (en) * 2000-07-12 2002-01-25 Sanyo Electric Co Ltd Data storage device and data backup device
JP2002101166A (en) * 2000-09-21 2002-04-05 Denso Corp Communication apparatus and communication system

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63114594A (en) * 1986-10-30 1988-05-19 Yaskawa Electric Mfg Co Ltd Trace back method for variable speed driving device
JPH08161231A (en) * 1994-12-08 1996-06-21 Ricoh Co Ltd Image forming device
JPH08166883A (en) * 1994-12-14 1996-06-25 Ricoh Co Ltd Image forming device
JPH11110218A (en) * 1997-10-03 1999-04-23 Hitachi Ltd Firmware rewriting device
JPH11268385A (en) * 1998-03-26 1999-10-05 Seiko Epson Corp Auxiliary information display device, auxiliary information display method, and medium on which auxiliary information display program is recorded
JP2000194544A (en) * 1998-12-27 2000-07-14 Copyer Co Ltd Firmware update processing method of image forming device
JP2000316066A (en) * 1999-04-28 2000-11-14 Ricoh Co Ltd Printer facsimile composite machine
JP2001117779A (en) * 1999-10-20 2001-04-27 Funai Electric Co Ltd Electronic instrument and program rewriting method
JP2002007152A (en) * 2000-06-21 2002-01-11 Canon Inc Download method and download device
JP2002023965A (en) * 2000-07-12 2002-01-25 Sanyo Electric Co Ltd Data storage device and data backup device
JP2002101166A (en) * 2000-09-21 2002-04-05 Denso Corp Communication apparatus and communication system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006218696A (en) * 2005-02-09 2006-08-24 Seiko Epson Corp Image forming apparatus and firmware rewriting method
JP2007234746A (en) * 2006-02-28 2007-09-13 Sanyo Electric Co Ltd Method of manufacturing integrated circuit

Also Published As

Publication number Publication date
JP4292866B2 (en) 2009-07-08

Similar Documents

Publication Publication Date Title
US7587463B2 (en) Apparatus and method of rewriting firmware
JPH10114128A (en) Image processor, processing method, and recording medium
US7131124B2 (en) System and apparatus for and method of downloading a program, image formation apparatus, and computer product
JP4363412B2 (en) Image forming apparatus, printing control program, application program, and printing system
JP2008238459A (en) Printer
US8305598B2 (en) Image-forming apparatus
JP2004029876A (en) Image forming apparatus, information processing system, method for rewriting firmware, rewriting program, and recording medium
JP5708232B2 (en) Image forming apparatus, firmware update method, and program
JP2008282090A (en) Electronic equipment and firmware update method therefor
US7821665B2 (en) Image forming device and firmware overwriting method
US9170545B2 (en) Image forming apparatus and control method thereof
JP2007257580A (en) Image forming apparatus
JP2008165267A (en) Image processor and control method thereof
JP4292866B2 (en) Image forming apparatus, firmware rewriting method, rewriting program, and recording medium
JP2004348534A (en) Image forming device, firmware rewriting method, rewriting program, and storage medium
JP4576990B2 (en) Image forming apparatus
JP2006185063A (en) Program writing apparatus and program writing program
JP3939681B2 (en) Image forming apparatus
JP4682537B2 (en) Image forming apparatus, image forming system, and program for image forming apparatus
JP2006231697A (en) Image forming device and firmware overwriting method
JP2006218696A (en) Image forming apparatus and firmware rewriting method
JP2004354923A (en) Image forming apparatus and image forming method
JP4736421B2 (en) Image forming apparatus
JP2006003498A (en) Image forming apparatus and driver program
JP2022062417A (en) Image formation apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20060501

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081218

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081224

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090216

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090317

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090330

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120417

Year of fee payment: 3

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees