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 PDFInfo
- 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
Links
Images
Landscapes
- Record Information Processing For Printing (AREA)
Abstract
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
[0019]
In the engine unit EG, seven units are provided: (a) a
[0020]
Among the seven
[0021]
The light beam L is emitted from the
[0022]
The electrostatic latent image thus formed is developed by the
[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
[0024]
The toner image developed by the developing
[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
[0027]
Next, the electrical configuration of the image forming apparatus of FIG. 1 will be described with reference to FIG. The
[0028]
The
[0029]
Further, a program for the
[0030]
On the other hand, as shown in FIG. 2, the
[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
[0033]
The
[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
[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
[0037]
Next, the download program and the new firmware are copied from the
[0038]
When the copying to the RAM 114 is completed, the
[0039]
In this rewrite mode, the
[0040]
(1) Writing the download program 102 (program reading step)
The CPU 122 operates based on the IPL and writes the
[0041]
Next, in order to request transmission of the
[0042]
(2) Writing the
Next, the download program is started and the
[0043]
Then, in order to request transmission of a header (Header) of the
[0044]
Further, in order to request the transmission of the firmware, the
[0045]
Subsequently, the
[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
[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
[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
[0050]
If at least one error occurs before the rewriting process is completed, the process immediately proceeds to step S5, where the
[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
[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
[0056]
Next, the
[0057]
Next, the
[0058]
Further, the
[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
(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
[0064]
In the above-described embodiment, the mode switching to the rewriting mode is instructed by operating the
[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
[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
Claims (16)
前記第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.
装置への電源投入時に、前記イニシャル・プログラム・ローダに基づき、前記書換モードの実行時に書換エラーが発生したか否かを検出するとともに前記書換エラーを検出した際には前記書換モードに誘導する請求項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.
前記メモリに記憶されたファームウエアに基づき前記信号に対応する画像を作成する印刷モードから、前記ファームウエアを書き換える書換モードに切替えるのに応じて、前記メインコントローラと前記エンジンコントローラとのマスター/スレーブ関係を入れ替えることを特徴とするファームウエアの書換方法。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.
前記書換モードでは、その読み込んだダウンロードプログラムに基づき前記書込工程を実行する請求項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.
前記書換モードでは、その読み込んだダウンロードプログラムに基づき前記消去工程および前記書込工程を実行する請求項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.
前記メモリに記憶されたファームウエアに基づき前記信号に対応する画像を作成する印刷モードから、前記ファームウエアを書き換える書換モードに切替えるのに応じて、前記メインコントローラと前記エンジンコントローラとのマスター/スレーブ関係を入れ替える手順
を実行させるための書換プログラム。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.
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)
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)
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 |
-
2003
- 2003-05-23 JP JP2003146102A patent/JP4292866B2/en not_active Expired - Fee Related
Patent Citations (11)
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)
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 |