JP4292866B2 - Image forming apparatus, firmware rewriting method, rewriting program, and recording medium - Google Patents

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

Info

Publication number
JP4292866B2
JP4292866B2 JP2003146102A JP2003146102A JP4292866B2 JP 4292866 B2 JP4292866 B2 JP 4292866B2 JP 2003146102 A JP2003146102 A JP 2003146102A JP 2003146102 A JP2003146102 A JP 2003146102A JP 4292866 B2 JP4292866 B2 JP 4292866B2
Authority
JP
Japan
Prior art keywords
rewrite
firmware
mode
main controller
error
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.)
Expired - Fee Related
Application number
JP2003146102A
Other languages
Japanese (ja)
Other versions
JP2004078894A (en
Inventor
隆俊 杉田
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)

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]
BACKGROUND OF THE INVENTION
In the present invention, 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 supplied from the main controller and the image corresponding to the signal. And a firmware rewriting method, a rewriting program, and a recording medium stored in the engine controller.
[0002]
[Prior art]
2. Description of the Related Art As an image forming apparatus such as a printer, a copying machine, and a facsimile machine, for example, an apparatus in which two controllers are connected so as to communicate with each other via a communication interface has been conventionally known (see Patent Document 1). In this image forming apparatus, when an image signal is given to the 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 subjected to various image processing. A finished signal (for example, a video signal) is supplied 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 is stored in a nonvolatile memory such as a flash ROM or an EEPROM. Based on the firmware, the engine unit is controlled to form an image corresponding to the image signal on a sheet such as copy paper, transfer paper, paper and OHP transparent sheet.
[0003]
Here, the firmware is stored in a rewritable non-volatile memory because the reason is to flexibly cope with future function additions and version upgrades. That is, when it is necessary to add a function or upgrade, a new firmware incorporating the function addition is 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 apparatus, 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, a print mode for forming an image corresponding to the signal is executed based on the firmware. To do. On the other hand, when the firmware needs to be rewritten, it enters a rewriting mode in which the firmware is rewritten in accordance with a command from the main controller. In this rewrite mode, the engine controller accesses the nonvolatile memory to control the firmware rewrite process.
[0006]
However, since the engine controller is instructed or controlled by the main controller as described above, the firmware rewriting process must always be performed in response to a command from the main controller, and the firmware rewriting process is not necessarily performed. It could not be said to be efficient.
[0007]
Further, when performing the firmware rewriting operation as described above, a firmware rewriting error may occur. For example, in the conventional apparatus, new firmware is written into the 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. Even if such a rewriting error occurs, if the printing mode is executed as it is, the apparatus malfunctions or printing becomes impossible. Therefore, appropriate measures are required to avoid such malfunction caused by 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 connected so as to be communicable with each other, and the engine controller according to a signal given from the main controller In the image forming apparatus that forms an image corresponding to the signal, the first object is to efficiently rewrite the firmware.
[0009]
A second object of the present invention is to reliably prevent malfunctions caused by firmware in an image forming apparatus capable of executing firmware rewriting processing.
[0010]
[Means for Solving the Problems]
In the present invention, a main controller and an engine controller having a rewritable (first) memory for storing firmware are connected to be communicable with each other, and the engine controller responds to the signal according to a signal given from the main controller. The present invention relates to an image forming apparatus that forms an image to be printed, a firmware rewriting method, a rewriting program, and a recording medium in the apparatus, and is configured as follows 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, and according to the mode switching. Thus, the master / slave relationship between the main controller and the engine controller is changed.
[0012]
Further, the firmware rewriting method according to the present invention includes a main controller and a controller that are switched 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 the firmware. The master / slave relationship with the engine controller is switched.
[0013]
Further, the rewriting program according to the present invention causes the image forming apparatus to switch 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. A procedure for exchanging the master / slave relationship between the main controller and the engine controller is executed.
[0014]
The recording medium according to the present invention records the above rewriting program.
[0015]
In the image forming apparatus configured as described above, the firmware rewriting method, the rewriting program, and the recording medium in the apparatus, the apparatus can be switched between the printing mode and the rewriting mode, and according to those modes. 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 to a master / slave relationship suitable for the rewrite mode.
[0016]
  Also, whether or not a rewrite error has occurred is determined during the execution of the rewrite mode. If it is determined that a rewrite error has occurred, the rewrite mode is interrupted and the apparatus is turned off and then on again. Prompt the user to.
[0017]
  Also,ILike using a program loaderHave. That is, the second memory for storing the initial program loaderBe equippedIn addition, when the device is turned on, based on the initial program loader, whether or not a rewrite error has occurred when executing the rewrite mode is detected, and when a rewrite error is detected, the device is guided to the rewrite mode.is doing.
[0018]
DETAILED DESCRIPTION OF THE INVENTION
FIG. 1 is a view 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 superposing four color toners of yellow (Y), magenta (M), cyan (C), and black (K), or uses only black (K) toner. This is an apparatus for forming 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 main controller 11 analyzes the image signal and performs various image processing. The image processed signal is supplied to the engine controller 12. The engine controller 12 controls each unit of the engine unit EG based on firmware stored in the flash memory 123, and outputs an image corresponding to an image signal on a sheet S such as copy paper, transfer paper, paper, and an OHP transparent sheet. Form.
[0019]
The engine unit EG includes seven units: (a) a photosensitive unit 2; (b) a yellow developing unit (hereinafter referred to as “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 with respect to apparatus main body 6 It is detachable. Then, with all the units 2, 3Y, 3M, 3C, 3K, 4, 5 mounted on the apparatus main body 6, as shown in FIG. 1, the photoconductor 21 of the photoconductor unit 2 is in the direction of the arrow in FIG. The rotary developing unit 3 and the cleaning unit 23 including the charging unit 22, the developing units 3Y, 3M, 3C, and 3K are disposed 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 photosensitive unit 2 contains a photosensitive member 21, a charging unit 22, and a cleaning unit 23. On the other hand, it is detachable. A charging bias is applied to the charging unit 22 from a charging bias generation unit (not shown), and the outer peripheral surface of the photoreceptor 21 is uniformly charged. Further, the photosensitive unit 2 is provided with a cleaning unit 23 on the upstream side of the charging unit 22 in the rotational direction D1 of the photosensitive unit 21, and the toner remaining on the outer peripheral surface of the photosensitive unit 21 after the primary transfer. Scrap off. In this way, the surface of the photoreceptor 21 is cleaned.
[0021]
The light beam L is irradiated from the exposure unit 8 toward the outer peripheral surface of the photosensitive member 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, and controls the exposure unit 8 in accordance with a drive signal given from the laser driver so that the light beam L is emitted. The photosensitive member 21 is exposed to form an electrostatic latent image corresponding to the image signal on the photosensitive member 21.
[0022]
The electrostatic latent image formed in this way is developed with toner by the rotary developing unit 3. In the rotary developing unit 3, a black developing unit 3K, a cyan developing unit 3C, a magenta developing unit 3M, and a yellow developing unit 3Y are rotatably provided around the axis. The developing units 3Y, 3M, 3C, and 3K are moved and positioned at a plurality of predetermined positions, and are selectively positioned at the developing position with respect to the photoreceptor 21. In FIG. 1, the developing unit 3K for black is positioned at the developing position, and in this positioned state, the developing roller 31 provided in the developing unit 3K is disposed to face the photosensitive member 21, but the other developing units 3Y, 3M are arranged. In 3C, the developing roller 31 provided in each developing unit is disposed opposite to the photosensitive member 21 by positioning the developing unit to the developing position in exactly the same manner as the developing unit 3K.
[0023]
In the developing unit positioned at the developing position, the toner stored in the unit housing is conveyed 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 that is selectively positioned at the developing position adheres to the photosensitive member 21 from the developing roller 31 to visualize the electrostatic latent image. To do. In this way, a toner image of the selected color is formed on the surface of the photoreceptor 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 region TR1. That is, the intermediate transfer unit 4 includes an intermediate transfer belt 41 spanned by a plurality of rollers, and a drive unit (not shown) that rotationally drives the intermediate transfer belt 41, and transfers a color image to the sheet S. In this case, the color toner images formed on the photosensitive member 21 are superimposed on the intermediate transfer belt 41 to form a color image. On the other hand, when a single-color image is transferred to the sheet S, the toner image is formed on the photosensitive member 21. Only the black color toner image is transferred onto the intermediate transfer belt 41 to form a single color image.
[0025]
In the image forming apparatus according to the present embodiment, the patch sensor PS is disposed so as to face the one roller around which the intermediate transfer belt 41 is stretched in order 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 from the cassette 9 in a predetermined secondary transfer region TR2. Then, the sheet S on which the toner image is transferred is introduced into a fixing unit 5 including a heater (not shown), and the toner is fixed to the sheet S by applying pressure while heating. The sheet S on which the image is formed in this way is conveyed to a discharge tray portion provided on the upper surface portion of the apparatus main body 6.
[0027]
Next, the electrical configuration of the image forming apparatus shown in 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 through the host interface 111, and receives an image signal transmitted from the host computer 100, a download program and a firmware file described later. 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 the user to give various commands to the CPU 112, and a display unit 132 for displaying messages, printing status, etc. to the user. The operation panel 13 functions as a man-machine interface.
[0029]
The ROM 113 stores a program for the main controller 11 in advance, and the CPU 112 and a logic circuit (not shown) operate according to the program to perform various image processing on the received image signal. . That is, the main controller 11 to which the image signal is given from the host computer 100 converts the RGB data indicating the gradation level of the RGB component of each pixel in the image corresponding to the image signal into the gradation level of the corresponding CMYK component. Are converted into CMYK data. In addition, after tone correction is performed on CMYK data of each pixel, halftoning processing such as error diffusion, dithering, and screen is further performed to generate, for example, 8-bit halftone CMYK data per pixel. To do. Then, using the halftone CMYK data, a video signal for pulse width modulating the exposure laser pulse of each color image of the engine unit EG is generated and output to the engine controller 12 via the engine interface 115. Further, a command or data is transmitted to the engine controller 12 based on the above program, and mode switching between a print mode and a rewrite mode, which will be described later, and data transmission and standby in accordance with the status from the engine controller 12 in the rewrite mode. Etc. are executed.
[0030]
On the other hand, the engine controller 12 includes a main interface 121, a CPU 122, a flash memory 123, and a RAM 124 as shown in FIG. The main interface 121 is used for communication with the main controller 11, receives commands and data transmitted from the main controller 11, and receives “data request” and “ Sends a status such as “wait for instruction”.
[0031]
Further, in this embodiment, the flash memory 123 is used as “a rewritable (first) memory for storing firmware”, and a part of the memory area is write-protected, and the initial While storing the program loader (IPL), the firmware is stored in the remaining memory area. Of course, a ROM for storing the initial program loader may be provided separately, and only the firmware may be stored in the flash memory 123.
[0032]
The CPU 122 executes the firmware to control each unit of the engine unit EG to form an image corresponding to the image signal on the sheet S such as copy paper, transfer paper, paper, and OHP transparent sheet (print mode). . Thus, in the print mode in which the image corresponding to the 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, particularly 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 commands, data, and the like to the engine controller 12, and the engine controller 12 operating as a slave in response to the command or data is stored in the flash memory 123. Based on the firmware that is being used, each part of the engine unit EG is controlled to perform printing processing (print mode). The memory state at this time is shown in FIG.
[0036]
When the firmware needs to be rewritten, an instruction for switching from the print mode to the rewrite mode is given to the image forming apparatus to the main controller 11, and a 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 switch 131 group provided on the operation panel 13 to instruct the CPU 112 of the main controller 11 to switch to the rewrite mode. 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, any 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 downloaded in advance to a hard disk (not shown) of the host computer 100 via a LAN.
[0037]
Next, the download program and new firmware are copied from the host computer 100 to the RAM 114 of the main controller 11. Here, the copying 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 firmware rewriting processing can be displayed on the display of the host computer 100. When the user or service engineer selects the button, a processing procedure necessary for firmware rewrite processing is displayed on the display. Therefore, the download program and 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 by operating in accordance with the operation. . By doing so, it becomes a user-friendly device.
[0038]
When copying to the RAM 114 is thus 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 that has received this command transmits an “OK” status to the main controller 11. As a result, the print mode is switched 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 firmware rewrite processing.
[0040]
(1) Write download program 102 (program reading process)
The CPU 122 operates based on the IPL, and the download program 102 stored in the RAM 114 of the main controller 11 is written into the RAM 124 of the engine controller 12. Specifically, a “data request” status is transmitted from the engine controller 12 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 a “waiting for instruction” status to the main controller 11, and the main controller 11 enters a standby state in response to this.
[0041]
Next, in order to request transmission of the download program 102, a “data request” status is transmitted from the engine controller 12 to the main controller 11. Receiving this, the main controller 11 transmits a 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 a “waiting for instruction” status to the main controller 11, and the main controller 11 enters a standby state in response to this.
[0042]
(2) Write 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 (erase process).
[0043]
Then, a “data request” status is transmitted from the engine controller 12 to the main controller 11 in order to request transmission of a header of the new firmware 103. Receiving this, the main controller 11 transmits the header of the new firmware 103 to the engine controller 12. The header thus read into the engine controller 12 is once stored in the RAM 124 and then written in the flash memory 123 as shown in FIG. 4 (d) (writing process; writing procedure). Then, the engine controller 12 transmits a “waiting for instruction” status to the main controller 11, and the main controller 11 enters a standby state in response to this.
[0044]
In order to request transmission of firmware, the engine controller 12 transmits a “data request” status to the main controller 11. Receiving this, the main controller 11 transmits the data of the new firmware 103 to the engine controller 12 in unit length, for example, 128 bytes. The firmware read into the engine controller 12 in this way is temporarily stored in the RAM 124 and then written in the flash memory 123 as shown in FIG. 4E (writing process; writing procedure). Then, the engine controller 12 transmits a “waiting for instruction” status to the main controller 11, and the main controller 11 enters a standby state in response to this. The entire firmware is written into the flash memory 123 by repeating the data writing in the unit length byte (processing surrounded by a one-dot chain line in FIG. 3) N times.
[0045]
Subsequently, in order to request transmission of a footer of the firmware 103, a “data request” status is transmitted from the engine controller 12 to the main controller 11. Receiving this, the main controller 11 transmits the footer of the new firmware 103 to the engine controller 12. The footer thus read into the engine controller 12 is temporarily stored in the RAM 124 and then written in the flash memory 123 as shown in FIG. 4 (f) (writing process; writing procedure). Thus, 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 and the entire apparatus is restarted. The firmware rewritten as described above is made valid.
[0046]
As described above, according to this embodiment, when firmware rewrite processing 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 rewrite mode, the engine controller 12 becomes a master and transmits a status to the main controller 11 in accordance with the progress of the rewrite process. Therefore, an appropriate instruction is provided at a timing suitable for each stage of the rewrite process. Can be provided to the main controller 11. As a result, the firmware rewriting process can be performed efficiently.
[0047]
By the way, although the firmware rewriting process is executed in the above embodiment, it is desirable to take an appropriate measure when the rewriting process fails. Therefore, in “another embodiment” to be described next, the engine controller 12 determines whether or not a rewrite error (communication error, erasure error, and write error) occurred during execution of the rewrite mode along with execution of the rewrite mode. Is configured to discriminate. In addition, when a rewrite error occurs, each part of the apparatus is controlled so as to prompt the user or service engineer to re-execute the firmware rewrite process. That is, an image forming apparatus according to another embodiment executes (i) firmware rewriting processing, (ii) rewriting error detection processing during rewriting execution, and (iii) rewriting mode re-execution processing in this order. . Since the configuration is the same, hereinafter, “other embodiments” will be described in detail with reference to the drawings with a focus on operations different from the previous embodiments.
[0048]
(i) Firmware rewrite processing
Since this process is exactly the same as the previous embodiment, the description thereof is omitted.
[0049]
(ii) Rewrite error detection processing during rewrite execution
FIG. 5 is a flowchart showing a rewrite error detection process during rewriting in the image forming apparatus of FIG. This image forming apparatus determines whether or not a rewrite error has occurred by executing steps S1 to S4 while the rewrite mode is being executed. Specifically, every time data is transferred from the main controller 11 to the engine controller 12, a checksum is transmitted from the main controller 11 to the engine controller 12, and it is confirmed that the data transfer has been successfully performed based on the checksum. (Step S1). Further, it is determined whether or not an erase error has occurred in the flash memory 123 during the rewriting process (step S2). Further, it is determined whether or not an error in writing data to the flash memory 123 has occurred (step S3).
[0050]
If even one error occurs until the rewriting process is completed, the process immediately proceeds to step S5, where the engine controller 12 transmits a “suspend request” status to the main controller 11 to interrupt the rewriting process. Further, the main controller 11 displays a message “Please turn off the power and turn it on after a few minutes” on the display unit 132, and send a similar message from the main controller 11 to the host computer 100 to display the host. 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 the printing from being executed as it is even though the rewriting error has occurred. As a result, it is possible to reliably avoid malfunctions caused by firmware such as malfunction of the apparatus and inability to print. In addition, it is possible to notify the user or service engineer that a rewrite error has occurred during rewriting.
[0052]
(iii) Re-execution processing in rewrite mode
Next, when the user or the service engineer turns on the power of the image forming apparatus again in accordance with the message, the re-execution process in the rewrite mode shown in FIG. FIG. 6 is a flowchart showing an 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 firmware header and footer are read in step S12.
[0053]
Then, it is determined whether the firmware is normal based on the stored contents of the header and footer (step S13). For example, if the stored contents of the header and footer are both correct values, it is determined that the firmware is normal, and the process proceeds to the print mode as it is. While printing is routinely performed by the image forming apparatus, that is, when the above-described firmware rewriting process is not performed, “YES” is determined in step S13, and an image signal is received from an external apparatus such as the host computer 100. In response, a printing operation is performed.
[0054]
If at least one of the stored contents of the header and footer is an abnormal value, it is understood that the firmware is abnormal and a rewrite error has occurred during execution of the rewrite mode. For example, if the stored contents of the header and footer are both abnormal values, there is a high probability that an erasure error has occurred. For example, when the stored content of the header is a correct value, but the stored content of the footer is an abnormal value, an error (write error) during the writing process shown in FIG. 4E occurs. Probability is high. In any case, if “NO” is determined in the step S13, the process proceeds to a step S14 so as to be guided to the rewriting mode to execute the firmware rewriting process again.
[0055]
FIG. 7 is a diagram showing the guiding operation to the rewrite mode. When the power is turned on, the above steps S11 to S13 are executed, and if “NO” is determined in the step S13, a guidance process to the rewrite mode (step S14) is executed. In this guidance process, a transmission request for “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 in the uppermost part of FIG. 8, and indicates the basic state of the image forming apparatus such as “call” and “idle” for each bit. Assigned. On the other hand, the engine controller 12 which has received this request sets “1” to the “call bit” in the “basic status” and sets “0” to the other bits 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 send “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 of FIG. 8, and contents related to the call such as “paper short / short error” and “service call” are assigned to each bit. On the other hand, upon receiving this request, the engine controller 12 sets “1” to “service call” in “call details” and sets “0” to other bits, and then sets the “call details” as the main. It transmits to the controller 11.
[0057]
Next, the main controller 11 requests the engine controller 12 to transmit “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 related to service calls 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 “1” to “download error” in “service call details” and sets “0” to other bits, and then “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 print mode is switched to the rewrite mode. In this way, the guidance to the rewrite mode is completed, and then the firmware rewrite process is executed again in the same procedure as in the previous embodiment.
[0059]
As described above, in this embodiment, the header and footer are provided in the firmware as “error detection information” of the present invention, and the firmware is rewritten including the header and 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 firmware abnormality. In addition, since the header and footer are provided as the “error detection information” of the present invention, the occurrence of a rewrite error is detected when the power is turned on again regardless of the stage where the rewrite error occurs during the rewrite operation. be able to.
[0060]
When a rewrite error is detected, the rewrite mode is executed again without shifting to the print mode as it is. Therefore, it is possible to prevent the printing from being executed as it is despite the occurrence of the rewrite error. As a result, it is possible to reliably avoid malfunctions caused by firmware such as malfunction of the apparatus and inability to print.
[0061]
When a rewrite error is detected, the rewrite mode is executed prior to the execution of the print mode. That is, the printing operation is performed after the firmware rewriting is completed. Therefore, the printing operation can always be executed with normal firmware, and printing can be performed with high quality.
[0062]
Further, the initial operation is executed based on the program loaded by the initial program loader, and the rewrite error detection (steps S12 and S13) and the guidance process to the rewrite mode (step S14) are executed by the program. It is configured. In this embodiment, the status structure is hierarchized, and the engine controller 12 is in a rewrite mode while moving from the main controller 11 to a lower priority status, that is, from the upper “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”,
Since the program is guided to the rewrite mode by transmitting, the program can be made compact. This also makes it possible to reduce the memory size for storing the initial program loader.
[0063]
The present invention is not limited to the above-described embodiment, and various modifications other than those described above can be made without departing from the spirit of the present invention. For example, the download program 102 is read via the main controller 11, but may be stored in advance in a write protect area of the flash memory 123 of the engine controller 12 or in a non-volatile memory such as another ROM.
[0064]
In the above embodiment, the mode switch to the rewrite mode is instructed by operating the switch 131 group of the operation panel 13. However, the host computer 100 instructs the mode switch, for example, the host computer 100. The mode switch may be instructed from the printer driver activated in step (b).
[0065]
In the above embodiment, the header and footer are provided in the firmware as “error detection information” of the present invention. However, the “error detection information” of the present invention is not limited to this. For example, a rewrite error flag may be set in a part of the memory when a communication error, an erase error, or a write error occurs. 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 according to whether or not a rewrite error flag is set. Further, when the apparatus power supply 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. Also, CRC (= Cyclic Redundancy Check) or checksum may be used as “error detection information”.
[0066]
In the above embodiment, the firmware and the initial program loader are stored in the same flash memory 123. That is, 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 provided in the write protect area of the flash memory 123 as the “second memory” of the present invention. It is functioning as. Of course, it goes without saying that the firmware and the initial program loader may be stored in mutually 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. However, the application target of the present invention is not limited to this. The present invention can be applied to general image forming apparatuses such as a copying machine and a facsimile machine that perform image formation with two controllers that are 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 showing an electrical configuration of the image forming apparatus of FIG.
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 the engine controller.
5 is a flowchart showing a rewrite error detection process during rewrite execution in the image forming apparatus of FIG. 1. FIG.
FIG. 6 is a flowchart showing an initial operation when power is turned on.
FIG. 7 is a diagram showing a guiding operation to a rewrite mode.
FIG. 8 is a diagram illustrating a status structure employed in the image forming apparatus of FIG.
[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メモリを有するエンジンコントローラとが互いに通信可能に接続され、前記メインコントローラから与えられる信号に応じて前記エンジンコントローラが該信号に対応する画像を形成する画像形成装置において、
イニシャル・プログラム・ローダを記憶する第2メモリを備え、
前記第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 given from the main controller. In the image forming apparatus to
A second memory for storing an initial program loader;
It is possible to switch between a print mode for creating an image corresponding to the signal based on the firmware stored in the first memory and a rewrite mode for rewriting the firmware,
In accordance with the mode switching, the master / slave relationship between the main controller and the engine controller is switched ,
It is determined whether or not a rewrite error has occurred during execution of the rewrite mode, and when it is determined that the rewrite error has occurred, the rewrite mode is interrupted and the apparatus is turned off and then turned on again. Prompt the user to
Based on the initial program loader, when the device is powered on, it detects whether the rewrite error has occurred during execution of the rewrite mode and guides to the rewrite mode when the rewrite error is detected. An image forming apparatus.
前記イニシャル・プログラム・ローダは、ステータス構造を階層化し、優先度の高いステータスから順に下位のステータスに移りながら前記書換モードに誘導する請求項1記載の画像形成装置。The image forming apparatus according to claim 1, wherein the initial program loader hierarchizes a status structure and guides to the rewrite mode while moving from a higher priority status to a lower status . 前記ファームウエアは少なくとも1つ以上のエラー検出情報を含んでおり、前記エラー検出情報の内容に基づき前記書換エラーを検出する請求項1または2記載の画像形成装置。The firmware at least one contains an error detection information, the image forming apparatus according to claim 1 or 2 wherein detecting the rewrite error based on the contents of the error detection information. 前記エラー検出情報として、前記ファームウエアの先頭および最後尾にヘッダおよびフッタがそれぞれ設けられる請求項記載の画像形成装置。4. The image forming apparatus according to claim 3 , wherein a header and a footer are provided at the beginning and the end of the firmware as the error detection information. 前記印刷モードにおいては、前記メインコントローラおよび前記エンジンコントローラはそれぞれマスターおよびスレーブとなる一方、
前記書換モードにおいては、前記メインコントローラおよび前記エンジンコントローラはそれぞれスレーブおよびマスターとなる請求項1ないし4のいずれかに記載の画像形成装置。
In the print mode, the main controller and the engine controller are respectively a master and a slave,
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.
メインコントローラと、ファームウエアを記憶する書き換え可能な第1メモリを有するエンジンコントローラとが互いに通信可能に接続され、前記メインコントローラから与えられる信号に応じて前記エンジンコントローラが該信号に対応する画像を形成するもので、イニシャル・プログラム・ローダを記憶する第2メモリを備える画像形成装置においてファームウエアを書き換える方法であって、
前記第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 given from the main controller. A method for rewriting firmware in an image forming apparatus including a second memory for storing an initial program loader ,
From a printing mode that form an image corresponding to the signal based on the firmware stored in the first memory, in response to the switching to the rewriting mode for rewriting the firmware, the main controller as the master and the engine controller / Swap slave relationship ,
It is determined whether or not a rewrite error has occurred during execution of the rewrite mode,
When it is determined that the rewrite error has occurred, the rewrite mode is interrupted and the user is prompted to turn the device off and on again,
Based on the initial program loader, when the device is turned on, it detects whether or not the rewrite error has occurred during execution of the rewrite mode, and guides to the rewrite mode when the rewrite error is detected. Firmware rewriting method characterized by the above.
前記イニシャル・プログラム・ローダは、ステータス構造を階層化し、優先度の高いステータスから順に下位のステータスに移りながら前記書換モードに誘導する請求項6記載のファームウエアの書換方法。7. The firmware rewriting method according to claim 6, wherein the initial program loader hierarchizes a status structure and guides to the rewriting mode while shifting from a higher priority status to a lower status in order . 前記書換モードでは、前記メインコントローラおよび前記エンジンコントローラをそれぞれスレーブおよびマスターに設定し、前記メインコントローラから新しいファームウエアを読み込み、前記メモリに書込む書込工程を実行する請求項6または7記載のファームウエアの書換方法。In the rewrite mode, the set main controller and the engine controller to the slave and master respectively reads the new firmware from the main controller, farm according to claim 6 or 7, wherein executing the writing write process to the memory How to rewrite the wear. ダウンロードプログラムを前記メインコントローラから読み込むプログラム読込工程をさらに備え、
前記書換モードでは、その読み込んだダウンロードプログラムに基づき前記書込工程を実行する請求項記載のファームウエアの書換方法。
A program reading step of reading a download program from the main controller;
9. The firmware rewriting method according to claim 8 , wherein, in the rewriting mode, the writing step is executed based on the read download program.
前記書換モードでは、新しいファームウエアを前記メモリに書き込む前に、前記メモリに記憶されているファームウエアを消去する消去工程を実行する請求項記載のファームウエアの書換方法。9. The firmware rewriting method according to claim 8 , wherein in the rewriting mode, an erasing step of erasing the firmware stored in the memory is executed before writing new firmware into the memory. ダウンロードプログラムを前記メインコントローラから読み込むプログラム読込工程をさらに備え、
前記書換モードでは、その読み込んだダウンロードプログラムに基づき前記消去工程および前記書込工程を実行する請求項10記載のファームウエアの書換方法。
A program reading step of reading a download program from the main controller;
11. The firmware rewriting method according to claim 10 , wherein in the rewriting mode, the erasing step and the writing step are executed based on the read download program.
前記メモリへのファームウエアの書換が完了すると、前記メインコントローラおよび前記エンジンコントローラを再起動する再起動工程を実行する請求項6ないし11のいずれかに記載のファームウエアの書換方法。When firmware rewritten into the memory is completed, the main controller and firmware rewriting method according to any one of claims 6 to 11 to perform the restart process to restart the engine controller. メインコントローラと、ファームウエアを記憶する書き換え可能な第1メモリを有するエンジンコントローラとが互いに通信可能に接続され、前記メインコントローラから与えられる信号に応じて前記エンジンコントローラが該信号に対応する画像を形成するもので、イニシャル・プログラム・ローダを記憶する第2メモリを備える画像形成装置に、
前記第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 given from the main controller. In the image forming apparatus provided with the second memory for storing the initial program loader ,
In response to switching from a print mode in which an image corresponding to the signal is created based on firmware stored in the first memory to a rewrite mode in which the firmware is rewritten, the master / engine controller / master controller The procedure to replace the slave relationship ,
A procedure for determining whether or not a rewrite error has occurred during execution of the rewrite mode;
When it is determined that the rewrite error has occurred, the rewrite mode is interrupted, and a procedure for prompting the user to turn off the apparatus and turn it on again.
When power is supplied to the apparatus, based on the initial program loader, it is detected whether or not the rewrite error has occurred when the rewrite mode is executed, and when the rewrite error is detected, the rewrite mode is guided. A rewrite program to execute procedures and <br/>.
前記イニシャル・プログラム・ローダは、ステータス構造を階層化し、優先度の高いステータスから順に下位のステータスに移りながら前記書換モードに誘導する請求項13記載の書換プログラム。14. The rewrite program according to claim 13, wherein the initial program loader hierarchizes a status structure and guides the rewrite mode while shifting from a higher priority status to a lower status . メインコントローラと、ファームウエアを記憶する書き換え可能な第1メモリを有するエンジンコントローラとが互いに通信可能に接続され、前記メインコントローラから与えられる信号に応じて前記エンジンコントローラが該信号に対応する画像を形成するもので、イニシャル・プログラム・ローダを記憶する第2メモリを備える画像形成装置に、
前記第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 given from the main controller. In the image forming apparatus provided with the second memory for storing the initial program loader ,
In response to switching from a print mode in which an image corresponding to the signal is created based on firmware stored in the first memory to a rewrite mode in which the firmware is rewritten, the master / engine controller / master controller The procedure to replace the slave relationship ,
A procedure for determining whether or not a rewrite error has occurred during execution of the rewrite mode;
When it is determined that the rewrite error has occurred, the rewrite mode is interrupted, and a procedure for prompting the user to turn off the apparatus and turn it on again.
When power is supplied to the apparatus, based on the initial program loader, it is detected whether or not the rewrite error has occurred when the rewrite mode is executed, and when the rewrite error is detected, the rewrite mode is guided. A computer-readable recording medium on which a rewriting program for executing the procedure and the program is recorded.
前記イニシャル・プログラム・ローダは、ステータス構造を階層化し、優先度の高いステータスから順に下位のステータスに移りながら前記書換モードに誘導する請求項15記載のコンピュータ読み取り可能な記録媒体。 The computer-readable recording medium according to claim 15, wherein the initial program loader hierarchizes a status structure and guides to the rewrite mode while moving from a higher priority status to a lower status .
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 JP2004078894A (en) 2004-03-11
JP4292866B2 true 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)

Families Citing this family (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
JP4969871B2 (en) * 2006-02-28 2012-07-04 オンセミコンダクター・トレーディング・リミテッド Integrated circuit manufacturing method

Family Cites Families (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
JP3628738B2 (en) * 1994-12-08 2005-03-16 株式会社リコー Image forming apparatus
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
JP3876520B2 (en) * 1998-03-26 2007-01-31 セイコーエプソン株式会社 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
JP3654166B2 (en) * 2000-09-21 2005-06-02 株式会社デンソー Mobile phone, hands-free device and communication system

Also Published As

Publication number Publication date
JP2004078894A (en) 2004-03-11

Similar Documents

Publication Publication Date Title
US7587463B2 (en) Apparatus and method of rewriting firmware
JP3408119B2 (en) Image processing apparatus and method, and recording medium
JP4363412B2 (en) Image forming apparatus, printing control program, application program, and printing system
JP5004831B2 (en) Image forming apparatus, image forming method, program, and recording medium
US8305598B2 (en) Image-forming apparatus
JP2001018498A (en) Printing apparatus and image processing method
JP2004029876A (en) Image forming apparatus, information processing system, method for rewriting firmware, rewriting program, and recording medium
US7821665B2 (en) Image forming device and firmware overwriting method
JP2008282090A (en) Electronic equipment and firmware update method therefor
JP3969392B2 (en) Image forming apparatus capable of switching between color printing mode and monochrome printing mode
JP4292866B2 (en) Image forming apparatus, firmware rewriting method, rewriting program, and recording medium
KR101317784B1 (en) Image forming apparatus and method thereof
JP3780073B2 (en) Printing control apparatus and method
JP2004348534A (en) Image forming device, firmware rewriting method, rewriting program, and storage medium
JP2006185063A (en) Program writing apparatus and program writing program
JP4576990B2 (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
JP3939681B2 (en) Image forming apparatus
JP2006218696A (en) Image forming apparatus and firmware rewriting method
JP4736421B2 (en) Image forming apparatus
JP2004354923A (en) Image forming apparatus and image forming method
JP2000305327A (en) Printing device and control method for printing device
JP4980117B2 (en) Image forming apparatus
JP2006194961A (en) Image forming 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