JP5447112B2 - Image forming apparatus - Google Patents
Image forming apparatus Download PDFInfo
- Publication number
- JP5447112B2 JP5447112B2 JP2010088799A JP2010088799A JP5447112B2 JP 5447112 B2 JP5447112 B2 JP 5447112B2 JP 2010088799 A JP2010088799 A JP 2010088799A JP 2010088799 A JP2010088799 A JP 2010088799A JP 5447112 B2 JP5447112 B2 JP 5447112B2
- Authority
- JP
- Japan
- Prior art keywords
- cpu
- program
- abnormality
- executed
- hardware
- 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
Links
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
- Record Information Processing For Printing (AREA)
- Power Sources (AREA)
- Facsimiles In General (AREA)
Description
本発明は、動作の異常に対処する機能を備えた画像形成装置に関する。 The present invention relates to an image forming apparatus having a function for dealing with abnormal operation.
コンピュータシステムはブートと呼ばれる起動処理を行って起動し、何らかの異常で起動処理に失敗すると起動できない状態になる。この起動不可状態に陥るブートエラーは、システムのトラブル修復において重要であるため、様々な対処技術が考案されている。 The computer system starts by performing a startup process called boot, and if the startup process fails due to some abnormality, the computer system cannot be started. Since the boot error that falls into the unbootable state is important in troubleshooting the system, various coping techniques have been devised.
たとえば、同一内容のブートプログラム(起動プログラム)を格納したフラッシュROM(Read Only Memory)を2つ搭載し、一方のフラッシュROM内のブートプログラムに基づくブート制御が異常で、他方のフラッシュROM内のブートプログラムに基づくブート制御が正常である場合には、正常な方のブートプログラムで異常な方のブートプログラムを更新し修復する技術がある(特許文献1参照)。 For example, two flash ROMs (Read Only Memory) that store boot programs (startup programs) with the same contents are installed, boot control based on the boot program in one flash ROM is abnormal, and boot in the other flash ROM When boot control based on a program is normal, there is a technique for updating and repairing an abnormal boot program with a normal boot program (see Patent Document 1).
また、処理用と監視用の2つのCPU(Central Processing Unit)を備えた情報処理装置において、処理用のCPUはブート時の状態(ログ、メッセージなど)をフラッシュメモリに記憶する。ブートエラーが発生し、ブートリカバリボタンが操作されると、監視用のCPUは電話回線を介して情報処理装置をサービスセンターに接続させ、フラッシュメモリ内のデータを読み出してサービスセンターに伝送する。このデータからサービスセンターのスタッフがブートエラーの原因を解析し、ソフトウェア障害の場合には電話回線を介して所定のコマンドを処理用のCPUに伝送し、障害除去処理を実行させる技術がある(特許文献2参照)。 Further, in an information processing apparatus having two processing and monitoring CPUs (Central Processing Units), the processing CPU stores the boot state (log, message, etc.) in the flash memory. When a boot error occurs and the boot recovery button is operated, the monitoring CPU connects the information processing apparatus to the service center via the telephone line, reads the data in the flash memory, and transmits it to the service center. From this data, the service center staff analyzes the cause of the boot error, and in the case of a software failure, there is a technology for transmitting a predetermined command to a processing CPU via a telephone line and executing failure removal processing (patent) Reference 2).
また、コンピュータがブートに失敗すると、CPUがBIOS中の所定のコードを実行して遠隔診断修復コンピュータとの通信を確立させる。この遠隔診断修復コンピュータが内部の診断修復プログラムをオペレータの操作によってまたは自動で、ブートに失敗した通信相手のコンピュータに実行させる技術がある(特許文献3参照)。 When the computer fails to boot, the CPU executes a predetermined code in the BIOS to establish communication with the remote diagnosis / repair computer. There is a technique in which this remote diagnosis / repair computer causes an internal diagnosis / repair program to be executed by an operator's operation or automatically on a communication partner computer that has failed to boot (see Patent Document 3).
同じブートプログラムを2つのフラッシュROMに格納し、異常な方を正常な方で更新し修復する特許文献1の技術は、両方のブートプログラムに異常が発生した場合には対処することができない。また、同じブートプログラムを2つ記憶することになるため、記憶容量の無駄が大きい。
The technique of
ブートエラーの発生した情報処理装置がサービスセンターと通信して診断・修復される特許文献2の技術、および、ブートに失敗したコンピュータが遠隔診断修復コンピュータと通信して診断修復プログラムを実行する特許文献3の技術は、ブートエラーを自己診断および自己修復することができない。また、通信機能を持たない装置はブートエラーを診断・修復することができない。
また、コンピュータシステムにおける動作の異常は、ブートエラーの他に、ハードウェアやファームウェアなどの異常によるシステムエラーがある。上記の特許文献1〜3の技術では、このシステムエラーに自己対処することもできない。
Further, abnormalities in operation in the computer system include system errors due to abnormalities in hardware, firmware, etc. in addition to boot errors. The techniques disclosed in
本発明は、上記の問題を解決しようとするものであり、ブートエラーやシステムエラーなどの動作の異常に自己対処することができる画像形成装置を提供することを目的としている。 SUMMARY An advantage of some aspects of the invention is that it provides an image forming apparatus capable of self-measuring abnormal operations such as a boot error and a system error.
かかる目的を達成するための本発明の要旨とするところは、次の各項の発明に存する。 The gist of the present invention for achieving the object lies in the inventions of the following items.
[1]画像データに基づく画像を記録紙に形成する画像形成部と、
前記画像形成部を制御する第1のCPUと、
前記第1のCPUによる動作を監視する第2のCPUと、
を備え、
前記第1のCPUは、所定の領域に記憶されているブートプログラムにしたがって起動処理を実行し、
前記第2のCPUは、前記監視によって前記第1のCPUによる起動処理の動作の異常を検出した場合には、再起動後の前記第1のCPUが最初に実行するプログラムを前記ブートプログラムから、前記異常の原因がハードウェアの異常であるか否かを診断して診断結果を通知する診断プログラムに切り換えて前記第1のCPUを再起動させる
ことを特徴とする画像形成装置。
[1] An image forming unit that forms an image based on image data on a recording sheet;
A first CPU for controlling the image forming unit;
A second CPU for monitoring the operation of the first CPU;
Equipped with a,
The first CPU executes a startup process according to a boot program stored in a predetermined area,
When the second CPU detects an abnormality in the operation of the startup process by the first CPU by the monitoring, the first program executed by the first CPU after the restart is determined from the boot program. Switch to a diagnostic program that diagnoses whether the cause of the abnormality is a hardware abnormality and notifies the diagnosis result, and restarts the first CPU.
An image forming apparatus.
上記発明では、画像形成部を制御する第1のCPUによる動作を第2のCPUが監視する。第2のCPUは、この監視結果に応じたプログラムを再起動後の第1のCPUが実行するように設定して第1のCPUを再起動させる。 In the above invention, the second CPU monitors the operation of the first CPU that controls the image forming unit. The second CPU sets the program corresponding to the monitoring result to be executed by the first CPU after the restart, and restarts the first CPU.
たとえば、第1のCPUによる動作が異常となり、第1のCPU自身がその異常の診断や修復を行えない状態(たとえば、プログラムの暴走状態)になっても、第2のCPUによって、第1のCPUによる動作の監視結果に応じたプログラムを設定し第1のCPUを再起動させて、第1のCPUにそのプログラムを実行させることができる。このプログラムは、第1のCPUによる動作を監視した結果に応じて、たとえば、異常を診断するプログラムや異常を修復するプログラムなどが設定される。これにより、画像形成装置はブートエラーやシステムエラーなどの動作の異常に自己対処することができる。 For example, even if the operation of the first CPU becomes abnormal and the first CPU itself becomes unable to diagnose or repair the abnormality (for example, a program runaway state), the second CPU It is possible to set a program according to the result of monitoring the operation by the CPU, restart the first CPU, and cause the first CPU to execute the program. As this program, for example, a program for diagnosing an abnormality or a program for repairing an abnormality is set according to the result of monitoring the operation by the first CPU. As a result, the image forming apparatus can cope with an abnormal operation such as a boot error or a system error.
上記発明では、第1のCPUによる起動処理の動作の異常を検出した場合には、第2のCPUはその異常の原因がハードウェアの異常であるか否かを診断するプログラムを再起動後の第1のCPUに実行させる。これにより、画像形成装置は第1のCPUによる起動処理の動作の異常を自己診断し、診断結果に応じて自己対処できる。 In the above invention, when an abnormality in the operation of the startup process by the first CPU is detected, the second CPU restarts a program for diagnosing whether the cause of the abnormality is a hardware abnormality . The first CPU is executed . This ensures that the image forming apparatus is self-diagnose abnormality of the operation of the activation process by the first CPU, the self can deal depending on the diagnosis result.
[2]前記第2のCPUは、前記診断プログラムを実行した前記第1のCPUから通知された前記診断結果がハードウェアの正常を示す場合には、再起動後の前記第1のCPUが最初に実行するプログラムを、前記ブートプログラムの書き換えを行う書き換えプログラムに切り換えて前記第1のCPUを再起動させ、この再起動後に前記第1のCPUによって前記書き換えプログラムが実行されることによって、所定の記憶場所から取得した書き換え用ブートプログラムが前記ブートプログラムに上書きされたら、再起動後の前記第1のCPUが最初に実行するプログラムを、前記上書きにより前記所定の領域に記憶された前記書き換え用ブートプログラムに切り換えて前記第1のCPUを再起動させる
ことを特徴とする[1]に記載の画像形成装置。
[2] When the diagnosis result notified from the first CPU that has executed the diagnostic program indicates that the hardware is normal, the second CPU is the first CPU after the restart The program to be executed is switched to a rewrite program for rewriting the boot program and the first CPU is restarted. After the restart, the rewrite program is executed by the first CPU. When the boot program for rewriting acquired from the storage location is overwritten on the boot program, the first program executed by the first CPU after restarting is stored in the predetermined area by the overwriting. Switch to the program and restart the first CPU
The image forming apparatus according to [1] , wherein
[3]前記第1のCPUが前記起動処理の完了後に実行するファームウェアは、該ファームウェアを実行する前記第1のCPUによる動作の異常を検出して前記第2のCPUに通知する機能を前記第1のCPUに実行させるエラーチェックプログラムを含み、
前記第2のCPUは、前記ファームウェアを実行する前記第1のCPUによる動作の異常を前記通知によって認識した場合は、再起動後の前記第1のCPUが最初に実行するプログラムを前記ブートプログラムから、前記異常の原因がハードウェアの異常であるか否かを診断して診断結果を通知する診断プログラムに切り換えて前記第1のCPUを再起動させ、前記診断プログラムを実行した前記第1のCPUから通知された前記診断結果がハードウェアの正常を示す場合には、再起動後の前記第1のCPUが最初に実行するプログラムを、前記ファームウェアの書き換えを行う第2の書き換えプログラムに切り換えて前記第1のCPUを再起動させ、この再起動後に前記第1のCPUによって前記第2の書き換えプログラムが実行されることによって、所定の記憶場所から取得した書き換え用ファームウェアで前記ファームウェアが上書きされたら、再起動後の前記第1のCPUが最初に実行するプログラムを、前記ブートプログラムに切り換えて前記第1のCPUを再起動させる
ことを特徴とする[1]または[2]に記載の画像形成装置。
[3] The firmware executed by the first CPU after the start-up process is completed has a function of detecting an abnormal operation by the first CPU executing the firmware and notifying the second CPU. the error check program to be executed by the 1 of the CPU only including,
When the second CPU recognizes an abnormality in the operation of the first CPU that executes the firmware by the notification, the first CPU executes a program to be executed first after the restart from the boot program. The first CPU that diagnoses whether or not the cause of the abnormality is a hardware abnormality, switches to a diagnostic program that notifies the diagnosis result, restarts the first CPU, and executes the diagnostic program If the diagnosis result notified from the hardware indicates normal hardware, the first program executed by the first CPU after restart is switched to the second rewrite program for rewriting the firmware. The first CPU is restarted, and after the restart, the second rewriting program is executed by the first CPU. When the firmware is overwritten with the rewriting firmware obtained from a predetermined storage location, the first program executed by the first CPU after restart is switched to the boot program and the first CPU is re-executed. The image forming apparatus according to [1] or [2] , which is activated .
上記発明では、第1のCPUは起動完了後にファームウェアを実行すると、ファームウェアに含まれているエラーチェックプログラムを実行し、第1のCPUによる動作の異常を検出して第2のCPUに通知する。これにより、第2のCPUが第1のCPUによる動作の異常を検出する場合に比べて、第2のCPUの処理負荷が軽減され、第1のCPUよりも第2のCPUの処理能力が低い場合に、装置全体のパフォーマンス低下が抑えられる。 In the above invention, when the first CPU executes the firmware after the start-up is completed, it executes an error check program included in the firmware, detects an abnormal operation by the first CPU, and notifies the second CPU. As a result, the processing load of the second CPU is reduced and the processing capacity of the second CPU is lower than that of the first CPU, as compared with the case where the second CPU detects an abnormal operation by the first CPU. In this case, the performance degradation of the entire apparatus can be suppressed.
[4]前記第1のCPUは、前記第1のCPUによる動作の状況を前記第2のCPUに通知し、
前記第2のCPUは、前記通知に基づいて前記監視を行う
ことを特徴とする[1]〜[3]のいずれか1項に記載の画像形成装置。
[4] The first CPU notifies the second CPU of the state of operation by the first CPU,
The image forming apparatus according to any one of [1] to [3] , wherein the second CPU performs the monitoring based on the notification.
上記発明では、第1のCPUは、第1のCPUによる動作の状況を第2のCPUに通知し、第2のCPUはこの通知に基づいて、第1のCPUによる動作の監視を行う。たとえば、第1のCPUが、第1のCPUによる動作の異常を検出して第2のCPUに通知した場合には、第2のCPUはその第1のCPUによる動作の異常を認識する。また、第1のCPUがたとえばプログラムの暴走状態に陥って動作の状況を第2のCPUに通知できない場合には、第2のCPUは第1のCPUからの通知が無いことで第1のCPUによるプログラムの暴走状態を認識する。 In the above invention, the first CPU notifies the second CPU of the state of operation by the first CPU, and the second CPU monitors the operation by the first CPU based on this notification. For example, when the first CPU detects an abnormality in the operation by the first CPU and notifies the second CPU, the second CPU recognizes the abnormality in the operation by the first CPU. If the first CPU falls into a program runaway state and cannot notify the second CPU of the operation status, for example, the second CPU does not receive a notification from the first CPU, and therefore the first CPU Recognize the runaway state of the program.
[5]前記第1のCPUによる前記第2のCPUへの通知はメモリを介して行う
ことを特徴とする[3]または[4]に記載の画像形成装置。
[5] The image forming apparatus according to [3] or [4] , wherein the first CPU notifies the second CPU via a memory.
上記発明では、第1のCPUによる第2のCPUへの通知を、メモリを介して行うことで、第1のCPUと第2のCPUが個別に動作し、個々の任意のタイミングにメモリにアクセスして通知を行うことができる。 In the above invention, the first CPU notifies the second CPU via the memory, so that the first CPU and the second CPU operate individually and access the memory at each arbitrary timing. Can be notified.
本発明の画像形成装置によれば、ブートエラーやシステムエラーなどの動作の異常に自己対処することができる。 According to the image forming apparatus of the present invention, it is possible to cope with an abnormal operation such as a boot error or a system error.
以下、図面に基づき本発明の実施形態を説明する。 Hereinafter, embodiments of the present invention will be described with reference to the drawings.
図1は、本発明の一実施形態に係る画像形成装置としての複合機10の構成を示すブロック図である。
FIG. 1 is a block diagram showing a configuration of a
複合機10は、原稿の画像を光学的に読み取ってその複製画像を記録紙に印刷して出力するコピー機能、読み取った原稿の画像データをファイルにして保存したり端末装置やサーバなどへ転送したりするスキャン機能、端末装置から受信した印刷データに係る画像や当該複合機10に保存されている画像データに係る画像を記録紙に印刷して出力するプリンタ機能、画像データを送受信するファクシミリ機能などを備えている。
The
また複合機10は、2つのCPUを備えたマルチプロセッサシステムの装置であり、当該複合機10を起動し当該複合機10の動作を制御するメインCPU(第1のCPU)と、メインCPUによる動作を監視し、この監視結果に応じたプログラムを再起動後のメインCPUが実行するように設定してメインCPUを再起動させるサブCPU(第2のCPU)とを備えている。この2つのCPUの処理能力は同じでもよいし異なっていてもよい。処理能力が異なる場合には、処理能力の高い方をメインCPUとし、処理能力の低い方をサブCPUとする。
The
メインCPUは、ブートプログラムを実行して起動処理(ブート)を行い、当該複合機10を起動させる機能と、起動完了後にファームウェアを実行して当該複合機10の動作を制御する機能とを備えている。サブCPUは、上記の監視によってメインCPUによる起動処理の異常(ブートエラー)または動作の異常(システムエラー)を検出した場合には、その異常に対処するプログラム(異常対処プログラム)を再起動後のメインCPUが実行するように設定して(起動プログラムの切り替えを行って)、メインCPUを再起動させる機能を備えている。メインCPUは、サブCPUによって再起動されると、サブCPUによって設定された異常対処プログラムを実行し、異常に対処する動作を行う。
The main CPU has a function of executing a boot program to perform startup processing (booting) to start up the
異常対処プログラムは、複合機10内のハードウェアをチェックしてチェック結果をサブCPUに通知(報告)するハードウェアチェックプログラム、ブートプログラムの書き換えを行うブートプログラム書き換えプログラム、ファームウェアの書き換えを行うファームウェア書き換えプログラムなどである。
The trouble handling program is a hardware check program that checks the hardware in the
なお、異常対処プログラムの種類はこれらに限定されない。異常(エラー)の内容に応じた各種の対処プログラムを用いてその異常に対処することができる。 Note that the types of abnormality handling programs are not limited to these. The abnormality can be dealt with by using various countermeasure programs according to the content of the abnormality (error).
複合機10は、メインCPUとしてのCPU(A)11と、サブCPUとしてのCPU(B)12と、ROM(Read Only Memory(BIOS ROM;Basic Input/Output System Read Only Memory))13と、RAM(Random Access Memory)14と、不揮発メモリ15と、ハードディスク装置(HDD;Hard Disk Drive)16と、表示部17と、操作部18と、ファクシミリ通信部19と、ネットワーク通信部20と、画像処理部21と、スキャナ部22と、プリンタ部23とがバス24に接続され、CPU(A)11とCPU(B)12とに共有メモリ(通信用メモリ)25が接続されて構成される。
The
CPU(A)11は、ROM13に格納されているブートプログラムを実行して起動処理を行い、複合機10を起動させる。複合機10の起動を完了すると、ROM13に格納されているファームウェアを実行して複合機10の動作を制御する。
The CPU (A) 11 executes a boot program stored in the
CPU(B)12は、ROM13に格納されているプログラムを実行してCPU(A)11による動作(起動を含む)を監視し、監視結果に応じて起動プログラムの切り替えおよびCPU(A)11の再起動を行う。
The CPU (B) 12 executes the program stored in the
なお、CPU(B)12(サブCPU)は、電源からCPU(A)11(メインCPU)に電力が供給されていない状態(電源オフ状態)でも、電源から常時電力が供給され常時動作を継続できる構成としてもよい。 Note that the CPU (B) 12 (sub CPU) is always supplied with power from the power source even when power is not supplied from the power source to the CPU (A) 11 (main CPU) (power off state). It is good also as a structure which can be performed.
共有メモリ25は、CPU(A)11とCPU(B)12にアクセスされるメモリであり、両CPU間で通信(プロセス間通信)を行うために使用される。本実施形態では、CPU(B)12がCPU(A)11による動作を監視するための情報を、CPU(A)11からCPU(B)12へ通知するために使用される。
The shared
ROM13は、記憶内容を書き換え可能なフラッシュROM(フラッシュメモリ)であり、CPU(A)11によって実行されるプログラム(ブートプログラム、ファームウェアなど)と、CPU(B)12によって実行されるプログラム(CPU(A)11による動作を監視するためのプログラム)などを格納する。RAM14は、CPU(A)11およびCPU(B)12がプログラムを実行する際に各種データを一時的に格納するワークメモリとして使用されるほか、画像データを一時的に保存するための画像メモリなどにも使用される。
The
不揮発メモリ15は、電源がオフにされても記憶が保持されるメモリであり、装置固有の情報や各種の設定情報などが記憶される。ハードディスク装置16は、異常対処プログラムや各種の保存データを格納するほか、入力された画像データなども保存する。
The
なお、異常対処プログラムはハードディスク装置16ではなくROM13に格納するようにしてもよい。また異常対処プログラムは、複合機10とネットワークで接続された外部記憶装置(ストレージ)に格納しておき、複合機10がその外部記憶装置にアクセスして実行するようにしてもよい。異常対処プログラムにおけるブートプログラム書き換えプログラムがROM13内のブートプログラムを書き換えるのに使用する書き換え用のブートプログラムは、内蔵のハードディスク装置16に記憶しておくようにしてもよく外部記憶装置から取得するようにしてもよい。異常対処プログラムにおけるファームウェア書き換えプログラムがROM13内のファームウェアを書き換えるのに使用する書き換え用のファームウェアは、ハードディスク装置16に記憶しておくようにしてもよく外部記憶装置から取得するようにしてもよい。
The abnormality handling program may be stored in the
表示部17は、液晶ディスプレイなどで構成され、操作画面、設定画面、案内画面などの各種の画面を表示する。操作部18は、スタートボタン、ストップボタン、テンキーなどの各種のボタン類と、液晶ディスプレイの表面に設けられて押下された座標位置を検出するタッチパネルなどで構成され、ユーザが複合機10に対して行う各種の操作を受け付ける。
The
ファクシミリ通信部19は、ファクシミリ機能を備えた外部装置と公衆回線を通じて画像データを送受信する。ネットワーク通信部20は、LAN(Local Area Network)などのネットワークを通じて端末装置やサーバなどと通信を行う。
The
画像処理部21は、画像データに対して、画像補正、回転、拡大/縮小、圧縮/伸張など各種の画像処理を施す。
The
スキャナ部22は、原稿を光学的に読み取って画像データを取得する。スキャナ部22は、たとえば、原稿に光を照射する光源と、その反射光を受けて原稿を幅方向に1ライン分読み取るラインイメージセンサと、ライン単位の読取位置を原稿の長さ方向に順次移動させる移動手段と、原稿からの反射光をラインイメージセンサに導いて結像させるレンズやミラーなどからなる光学経路と、ラインイメージセンサの出力するアナログ画像信号をデジタルの画像データに変換する変換部などを備えて構成される。
The
プリンタ部23は、画像データに基づく画像を電子写真プロセスによって記録紙上に形成して出力する。プリンタ部23は、たとえば、記録紙の搬送装置と、感光体ドラムと、帯電装置と、入力される画像データに応じて点灯制御されるLD(Laser Diode)と、LDから射出されたレーザ光を感光体ドラム上で走査させる走査ユニットと、現像装置と、転写分離装置と、クリーニング装置と、定着装置とを有する、いわゆるレーザープリンタとして構成されている。レーザ光に代えてLED(Light Emitting Diode)で感光体ドラムを照射するLEDプリンタのほか他の方式のプリンタであってもかまわない。
The
前述したように、CPU(A)11は複合機10の起動を完了すると、ROM13内のファームウェアを実行して複合機10の動作を制御する。ファームウェアは、所定のタイミングでシステムの異常(エラー)をチェックするプログラム(システムエラーチェックプログラム)を含んでいる。システムチェックは、複合機10内のハードウェアに異常が発生していないことをチェックするハードウェアチェックと、ファームウェアに異常(バグ)が発生していないことをチェックするファームウェアチェックを含む。
As described above, when the activation of the
ハードウェアチェックにおけるチェック対象のハードウェアは、RAM14、ハードディスク装置16、制御基板、DMAコントローラ(Direct Memory Access controller)、FAN(冷却ファン)などである。この場合のハードウェアチェックは、RAM14に対するメモリチェック、ハードディスク装置16に対するHDDチェック、制御基板に対するボードチェック、DMAコントローラなどの制御チップに対するチップチェックなどである。
Hardware to be checked in the hardware check includes a
たとえば、メモリチェックとHDDチェックでは、ライト・リードを行って異常が発生していないことをチェックする。ボードチェックでは、CPU(A)11が制御基板の各端子に入力される信号をモニタリングすることで異常が発生していないことをチェックする。端子毎の信号の入出力を確認することで、制御基板のいずれの箇所で異常が発生しているかを特定することができる。またボードチェックでは、CPU(A)11がFAXボードなどの制御基板にエラーチェックのコマンドを送信し応答を受信することで異常が発生していないことをチェックしたり、CPU(A)11が制御基板から割り込みなどでエラー発生の通知を受信し異常が発生したことを認識したりするようにしてもよい。DMAコントローラに対するチップチェックでは、CPU(A)11が内部レジスタを読めない場合に異常が発生したことを認識する。 For example, in the memory check and the HDD check, it is checked that no abnormality has occurred by performing write / read. In the board check, the CPU (A) 11 checks that no abnormality has occurred by monitoring signals input to the terminals of the control board. By confirming the input / output of the signal for each terminal, it is possible to identify at which part of the control board an abnormality has occurred. In the board check, the CPU (A) 11 sends an error check command to a control board such as a FAX board and receives a response to check that no abnormality has occurred, or the CPU (A) 11 performs control. An error occurrence notification may be received from the board by an interrupt or the like to recognize that an abnormality has occurred. In the chip check for the DMA controller, the CPU (A) 11 recognizes that an abnormality has occurred when the internal register cannot be read.
上記のハードウェアチェックを行うタイミングについては、メモリチェックとHDDチェックは定期的やジョブの間に行う。ボードチェックとチップチェックは、ハードウェアを実際に使用するときやジョブの間に行う。 As for the timing of performing the hardware check, the memory check and the HDD check are performed regularly or between jobs. The board check and chip check are performed when the hardware is actually used or between jobs.
CPU(A)11がシステムチェックにおけるハードウェアチェックを行ってハードウェアの異常を検出した場合には、ハードウェアの異常によるシステムエラーが発生したと判断する。 When the CPU (A) 11 performs a hardware check in the system check and detects a hardware abnormality, it is determined that a system error has occurred due to a hardware abnormality.
また、システムチェックにおけるファームウェアチェックでは、CPU(A)11は、たとえばファームウェアのパラメータの取り得る値として1〜3を想定しているなかで、それ以外の数値(4や5など)となっている場合であってハードウェアに異常がなければ、ファームウェアのバグによるシステムエラーが発生したと判断する。 In the firmware check in the system check, the CPU (A) 11 assumes other values (such as 4 and 5) while assuming 1 to 3 as possible values of firmware parameters. If there is no abnormality in the hardware, it is determined that a system error has occurred due to a firmware bug.
CPU(A)11は上記のシステムチェックを行い、システムエラーが発生したと判断した場合は、CPU(B)12に対してシステムエラーが発生したことを通知する。 The CPU (A) 11 performs the above system check, and if it is determined that a system error has occurred, it notifies the CPU (B) 12 that a system error has occurred.
また、CPU(A)11はハードウェアチェックプログラムを実行したときも、そのプログラムに基づいて複合機10内のハードウェアの異常をチェック(診断)する。チェック対象のハードウェアとチェック方法は、システムチェックにおけるハードウェアチェックと同様である。CPU(A)11は、ハードウェアチェックプログラムを実行してハードウェアの異常をチェックし、異常を検出しない場合はCPU(B)12に対してハードウェア正常を通知し、異常を検出した場合はCPU(B)12に対してハードウェア異常を通知する。 In addition, when the CPU (A) 11 executes a hardware check program, the CPU (A) 11 checks (diagnose) a hardware abnormality in the multifunction peripheral 10 based on the program. The hardware to be checked and the check method are the same as the hardware check in the system check. The CPU (A) 11 executes a hardware check program to check for hardware abnormalities. If no abnormalities are detected, the CPU (A) 11 notifies the CPU (B) 12 that the hardware is normal and detects abnormalities. Notify CPU (B) 12 of hardware abnormality.
図2は、共有メモリ25における複数のメモリ位置(アドレス)と、各メモリ位置を通じてCPU(A)11からCPU(B)12へ通知される情報(通知情報)の一例を示す図である。
FIG. 2 is a diagram illustrating an example of a plurality of memory locations (addresses) in the shared
ここでは、CPU(A)11が通知情報を共有メモリ25に書き込み、CPU(B)12が共有メモリ25から通知情報を読み出す。この通知情報とメモリ位置とを対応付けておくことにより、CPU(A)11からCPU(B)12への通知情報の通信(伝達)を行う。
Here, the CPU (A) 11 writes the notification information to the shared
通知情報は、CPU(A)11による動作の状況(ブートエラー/システムエラー/ハードウェアチェックプログラムの実行によるチェック結果/プログラムの書き換え完了など)を示す情報である。たとえば、CPU(A)11による複合機10の起動の状況を示す情報(起動完了)、CPU(A)11による複合機10の動作の制御で使用されるハードウェアの状況を示す情報(メモリ異常、HDD異常)、ハードウェアチェックプログラムを実行した結果、ハードウェアの異常を検出しなかったこと(ハードウェア正常)またはハードウェアの異常を検出したこと(ハードウェア異常および異常箇所)を示す情報、ブートプログラム書き換えプログラムを実行してブートプログラムの書き換えを完了したことを示す情報(ブートプログラム書き換え完了)、ファームウェア書き換えプログラムを実行してファームウェアの書き換えを完了したことを示す情報(ファームウェア書き換え完了)などである。
The notification information is information indicating the state of operation by the CPU (A) 11 (boot error / system error / check result by execution of hardware check program / program rewriting completion, etc.). For example, information indicating the activation status of the
本例では、CPU(A)11は複合機10の起動が完了すると、共有メモリ25におけるメモリ位置1にフラグ(正常フラグ)をセットする。システムチェックにおけるハードウェアチェックと、ハードウェアチェックプログラムの実行によるハードウェアチェックで、RAM14の異常を検出すると共有メモリ25におけるメモリ位置2にフラグ(異常フラグ)をセットする。ハードディスク装置16の異常を検出すると共有メモリ25におけるメモリ位置3にフラグ(異常フラグ)をセットする。
In this example, the CPU (A) 11 sets a flag (normal flag) at the
またCPU(A)11、ハードウェアチェックプログラムの実行によるハードウェアチェックで、ハードウェアの異常を検出しなければ、所定のメモリ位置(たとえばメモリ位置n1)にフラグ(正常フラグ)をセットする。ブートプログラムの書き換え完了時も所定のメモリ位置(たとえばメモリ位置n2)にフラグ(正常フラグ)をセットし、ファームウェアの書き換え完了時も所定のメモリ位置(たとえばメモリ位置n3)にフラグ(正常フラグ)をセットする。 If a hardware abnormality is not detected by the hardware check by the execution of the hardware check program, the CPU (A) 11 sets a flag (normal flag) at a predetermined memory location (for example, memory location n1). A flag (normal flag) is set at a predetermined memory location (for example, memory location n2) even when rewriting of the boot program is completed, and a flag (normal flag) is set at a predetermined memory location (for example, memory location n3) even when the rewriting of firmware is completed. set.
CPU(B)12は、複合機10の起動開始(電源オン)から所定時間が経過するまでの間に、共有メモリ25のメモリ位置1にフラグがセットされていることを確認した場合には起動に成功したと認識し、そのフラグをリセットする。複合機10の起動開始から所定時間が経過しても、共有メモリ25のメモリ位置1にフラグがセットされていないことを確認した場合には起動に失敗したと認識する。
When the CPU (B) 12 confirms that the flag is set in the
またCPU(B)12は、複合機10の通常動作中に、共有メモリ25のメモリ位置2にフラグがセットされていないことを確認した場合にはRAM14が正常であると認識し、フラグがセットされていることを確認した場合にはRAM14に異常が発生したと認識し、そのフラグをリセットする。また、複合機10の通常動作中に、共有メモリ25のメモリ位置3にフラグがセットされていないことを確認した場合にはハードディスク装置16が正常であると認識し、フラグがセットされていることを確認した場合にはハードディスク装置16に異常が発生したと認識し、そのフラグをリセットする。
If the CPU (B) 12 confirms that the flag is not set in the
なお、CPU(A)11がウォッチドッグタイマなどによって周期的に共有メモリ25の所定のメモリ位置に正常フラグをセットするようにし、CPU(B)12がその所定のメモリ位置の正常フラグを確認するとリセットする。CPU(B)12が共有メモリ25をリードしたとき上記の所定のメモリ位置に正常フラグがセットされていない場合は、CPU(A)11の処理異常(ファームウェア異常による暴走中)と判断するようにしてもよい。
When the CPU (A) 11 periodically sets a normal flag at a predetermined memory location of the shared
またCPU(B)12は、CPU(A)11がハードウェアチェックプログラムを実行し、共有メモリ25の所定のメモリ位置(たとえばメモリ位置n1)にフラグがセットされていることを確認した場合にはハードウェアが正常であると認識し、そのフラグをリセットする。共有メモリ25のメモリ位置2にフラグがセットされていることを確認した場合にはRAM14に異常が発生したと認識し、そのフラグをリセットする。メモリ位置3にフラグがセットされていることを確認した場合にはハードディスク装置16に異常が発生したと認識し、そのフラグをリセットする。
When the CPU (B) 12 executes the hardware check program and confirms that a flag is set at a predetermined memory location (for example, the memory location n1) of the shared
またCPU(B)12は、CPU(A)11がブートプログラム書き換えプログラムを実行し、共有メモリ25の所定のメモリ位置(たとえばメモリ位置n2)にフラグがセットされていることを確認した場合にはブートプログラムの書き換えが完了したと認識し、そのフラグをリセットする。また、CPU(A)11がファームウェア書き換えプログラムを実行し、共有メモリ25の所定のメモリ位置(たとえばメモリ位置n3)にフラグがセットされていることを確認した場合にはファームウェアの書き換えが完了したと認識し、そのフラグをリセットする。
When the CPU (B) 12 executes the boot program rewriting program and confirms that a flag is set at a predetermined memory location (for example, memory location n2) of the shared
次に、複合機10の動作について説明する。
Next, the operation of the
本実施形態では、以下の2つの事例における対処動作を説明する。
事例1.ハードウェアもしくはブートプログラムに問題があるためにファームウェアが起動しない場合。
事例2.ハードウェアもしくは組み込まれたファームウェアに問題があるために内部異常が発生した場合。
In the present embodiment, a coping operation in the following two cases will be described.
事例1における対処動作の概要は以下の通りである。
The outline of the coping operation in
1.複合機10の電源がオンにされると、CPU(B)12は所定時間内に起動処理が完了したか否かを確認する。
1. When the power of the
2.CPU(A)11から共有メモリ25を介して所定時間内に起動完了の通知を受信しない場合は、CPU(B)12はブートエラーが発生したと認識する。
2. If the CPU (A) 11 does not receive a start completion notification within a predetermined time from the shared
3.CPU(B)12は、ブートエラーの原因がハードウェアの異常であるかブートプログラムの異常であるかを判別するために、まずハードウェアチェックプログラムを再起動後のCPU(A)11が実行するように設定して、CPU(A)11を再起動させる。 3. The CPU (B) 12 first executes the hardware check program by the CPU (A) 11 after restarting in order to determine whether the cause of the boot error is a hardware abnormality or a boot program abnormality. Then, the CPU (A) 11 is restarted.
4.CPU(A)11の再起動開始(もしくはCPU(A)11によるハードウェアチェックプログラムの実行開始)から所定時間内に、CPU(A)11から共有メモリ25を介してハードウェア正常の通知を受信しない場合とハードウェア異常の通知を受信した場合は(ハードウェアチェックプログラムの起動不可または動作異常)、CPU(B)12は異常の発生をサービスセンターに通知する。ハードウェア正常の通知を受信した場合は、CPU(B)12はハードウェアが正常でブートプログラムに異常が発生した可能性があると認識し、ブートプログラム書き換えプログラムを再起動後のCPU(A)11が実行するように設定して、CPU(A)11を再起動させる。
4). A notification of normal hardware is received from the CPU (A) 11 via the shared
5.CPU(A)11の再起動開始(もしくはCPU(A)11によるブートプログラム書き換えプログラムの実行開始)から所定時間内に、CPU(A)11から共有メモリ25を介してブートプログラムの書き換え完了の通知を受信しない場合は(ブートプログラム書き換えプログラムの起動不可または動作異常)、CPU(B)12は異常の発生をサービスセンターに通知する。ブートプログラムの書き換え完了の通知を受信した場合は、CPU(B)12はそのブートプログラムを再起動後のCPU(A)11が実行するように設定して、CPU(A)11を再起動させる。
5. Notification of completion of rewriting of boot program from the CPU (A) 11 via the shared
事例2における対処動作の概要は以下の通りである。
The outline of the coping operation in
1.CPU(A)11は起動処理を完了するとファームウェアを実行して複合機10の動作を制御すると共に、定期的やジョブの間などにシステムチェック(ハードウェアチェックなど)を行う。
1. When the CPU (A) 11 completes the startup process, the CPU (A) 11 executes the firmware to control the operation of the
2.CPU(A)11は内部異常(ハードウェア異常/ファームウェア異常)などのシステムエラーを検出した場合には、そのシステムエラーの異常を共有メモリ25に書き込む。
2. When the CPU (A) 11 detects a system error such as an internal abnormality (hardware abnormality / firmware abnormality), the abnormality of the system error is written in the shared
3.CPU(B)12は定期的にシステムエラーの異常を確認する。 3. The CPU (B) 12 periodically checks for abnormal system errors.
4.CPU(A)11から共有メモリ25を介してシステムエラーの異常の通知を受信した場合は、CPU(B)12はシステムエラーが発生したと認識する。
4). When the notification of the abnormality of the system error is received from the CPU (A) 11 via the shared
5.CPU(B)12は、システムエラーの原因(異常箇所)を詳細に特定するために、ハードウェアチェックプログラムを再起動後のCPU(A)11が実行するように設定して、CPU(A)11を再起動させる。 5. The CPU (B) 12 sets the hardware check program to be executed by the CPU (A) 11 after restarting in order to specify the cause (abnormal part) of the system error in detail, and the CPU (A) 11 is restarted.
6.CPU(A)11の再起動開始(もしくはCPU(A)11によるハードウェアチェックプログラムの実行開始)から所定時間内に、CPU(A)11から共有メモリ25を介してハードウェア正常の通知を受信しない場合とハードウェア異常の通知(異常箇所が特定された通知)を受信した場合は(ハードウェアチェックプログラムの起動不可または動作異常)、CPU(B)12は異常の発生をサービスセンターに通知する。ハードウェア正常の通知を受信した場合は、CPU(B)12はハードウェアが正常でファームウェアに異常が発生した可能性があると認識し、ファームウェア書き換えプログラムを再起動後のCPU(A)11が実行するように設定して、CPU(A)11を再起動させる。
6). A notification of normal hardware is received from the CPU (A) 11 via the shared
7.CPU(A)11の再起動開始(もしくはCPU(A)11によるファームウェア書き換えプログラムの実行開始)から所定時間内に、CPU(A)11から共有メモリ25を介してファームウェアの書き換え完了の通知を受信しない場合は(ファームウェア書き換えプログラムの起動不可または動作異常)、CPU(B)12は異常の発生をサービスセンターに通知する。ファームウェアの書き換え完了の通知を受信した場合は、CPU(B)12はブートプログラムを再起動後のCPU(A)11が実行するように設定して、CPU(A)11を再起動させ、この再起動による起動処理の完了後に、書き換えられたファームウェアをCPU(A)11に実行させる。
7). Notification of completion of rewriting of firmware is received from the CPU (A) 11 via the shared
上記の事例1および事例2における対処動作の詳細を図3〜図9を用いて説明する。なお、図中ではハードウェア(hardware)を「HW」、ブートプログラム(boot program)を「BP」、ファームウェア(firmware)を「FW」と表記している。
Details of the coping operation in the
また、CPU(B)12が行う起動プログラムの切り替え(再起動後のCPU(A)11に実行させるプログラムの設定)は、起動後に実行するプログラムの格納先を示す情報(ベクター)をCPU(B)12が書き換えることによって行う。CPU(B)12がサービスセンターに対して行う通知は、電子メールなどを使用して行う。 In addition, the switching of the startup program performed by the CPU (B) 12 (setting of a program to be executed by the CPU (A) 11 after restart) is performed by using information (vector) indicating the storage destination of the program to be executed after startup as the CPU (B ) 12 is performed by rewriting. The notification performed by the CPU (B) 12 to the service center is performed using e-mail or the like.
図3は、複合機10のCPU(A)11による起動処理の動作の流れを示す図である。
FIG. 3 is a diagram illustrating a flow of the activation process performed by the CPU (A) 11 of the
複合機10の電源がオンにされると、CPU(A)11はブートプログラムを実行して起動処理を開始する(ステップS101)。起動が完了すると、起動完了通知を行う(ステップS102)。この通知は、図2に示したように、共有メモリ25のメモリ位置1にフラグをセットすることで行う。
When the power of the
続いてCPU(A)11は、ファームウェアを実行して複合機10の動作を制御すると共に、所定のタイミングでシステムチェックを行い(ステップS103)、システムエラーの発生を監視する(ステップS104;No)。システムエラーの発生を検出した場合は(ステップS104;Yes)、システムエラー発生通知を行う(ステップS105/End)。この通知は、図2に示したように、検出した異常に対応する共有メモリ25のメモリ位置にフラグをセットすることで行う。
Subsequently, the CPU (A) 11 executes the firmware to control the operation of the
図7は、複合機のCPU(B)12によるエラー対処処理の動作を示す流れ図である。 FIG. 7 is a flowchart showing the operation of error handling processing by the CPU (B) 12 of the multifunction machine.
複合機10の電源がオンにされると、CPU(B)12はCPU(A)11から所定時間内に起動完了通知を受信するか否かを監視する(ステップS501;No→ステップS502;No)。CPU(A)11から起動完了通知を受信せずに所定時間を経過した場合は(ステップS502;Yes)、CPU(B)12は起動に失敗したと判断し、ブートエラー対処処理をサブルーチンで行う(ステップS503)。
When the
CPU(A)11から所定時間内に起動完了通知を受信した場合は(ステップS501;Yes(共有メモリ25のメモリ位置1のフラグ・セット確認))、CPU(B)12は起動に成功したと判断し、複合機10の通常動作中にCPU(A)11からシステムエラー発生通知を受信するか否かを監視する(ステップS504;No)。CPU(A)11からシステムエラー発生通知を受信した場合は(ステップS504;Yes(共有メモリ25の所定のメモリ位置のフラグ・セット確認))、CPU(B)12はシステムエラー対処処理をサブルーチンで行う(ステップS505)。
If the activation completion notification is received from the CPU (A) 11 within a predetermined time (step S501; Yes (check flag set of the
図8は、図7のS503によるブートエラー対処処理のサブルーチンの動作を示す流れ図である。 FIG. 8 is a flowchart showing the operation of a subroutine for boot error handling processing in S503 of FIG.
CPU(B)12は、再起動後のCPU(A)11が実行する起動プログラムをハードウェアチェックプログラムに変更し(ステップS601)、CPU(A)11を再起動させる(ステップS602)。ここでCPU(B)12は、起動後に実行するプログラムの格納先を示す情報を、ブートプログラムを示す情報からハードウェアチェックプログラムを示す情報に書き換え、CPU(A)11を再起動させる。 The CPU (B) 12 changes the startup program executed by the CPU (A) 11 after the restart to the hardware check program (step S601), and restarts the CPU (A) 11 (step S602). Here, the CPU (B) 12 rewrites the information indicating the storage destination of the program to be executed after startup from the information indicating the boot program to the information indicating the hardware check program, and restarts the CPU (A) 11.
CPU(A)11は、この再起動でハードウェアチェックプログラムを実行し、ハードウェアに異常が発生していないかチェックを行う(図4参照)。 The CPU (A) 11 executes a hardware check program upon this restart, and checks whether any abnormality has occurred in the hardware (see FIG. 4).
CPU(B)12は、CPU(A)11から所定時間内にハードウェアのチェック結果(正常/異常)の通知を受信しない場合は(ステップS603;No)、サービスセンターに当該複合機10の異常発生(起動不可異常)を通知する(ステップS610/End)。CPU(A)11から所定時間内にハードウェアのチェック結果の通知を受信し(ステップS603;Yes)、受信したのがハードウェア異常の通知である場合は(ステップS604;No)、CPU(B)12はサービスセンターに当該複合機10のハードウェア異常を通知する(ステップS610/End)。この場合は、CPU(A)11からハードウェアの異常箇所が通知されるため、CPU(B)12はそのハードウェアの異常箇所もサービスセンターに通知する。
If the CPU (B) 12 does not receive a notification of the hardware check result (normal / abnormal) from the CPU (A) 11 within a predetermined time (step S603; No), the service center issues an abnormality of the
またCPU(B)12は、CPU(A)11から所定時間内にハードウェアのチェック結果の通知を受信し(ステップS603;Yes)、受信したのがハードウェア正常の通知である場合は(ステップS604;Yes)、再起動後のCPU(A)11が実行する起動プログラムをブートプログラム書き換えプログラムに変更し(ステップS605)、CPU(A)11を再起動させる(ステップS606)。ここでCPU(B)12は、起動後に実行するプログラムの格納先を示す情報を、ハードウェアチェックプログラムを示す情報からブートプログラム書き換えプログラムを示す情報に書き換え、CPU(A)11を再起動させる。 The CPU (B) 12 receives a hardware check result notification from the CPU (A) 11 within a predetermined time (step S603; Yes), and if the received hardware normality notification is received (step S603). S604; Yes), the startup program executed by the CPU (A) 11 after the restart is changed to a boot program rewriting program (step S605), and the CPU (A) 11 is restarted (step S606). Here, the CPU (B) 12 rewrites the information indicating the storage destination of the program to be executed after startup from the information indicating the hardware check program to the information indicating the boot program rewriting program, and restarts the CPU (A) 11.
CPU(A)11は、この再起動でブートプログラム書き換えプログラムを実行し、ブートプログラムの書き換えを行う(図5参照)。 The CPU (A) 11 executes the boot program rewriting program by this restart and rewrites the boot program (see FIG. 5).
CPU(B)12は、CPU(A)11から所定時間内にブートプログラム書き換え完了通知を受信しない場合は(ステップS607;No)、サービスセンターに当該複合機10の異常発生(ブートプログラム書き換え不可異常)を通知する(ステップS610)。CPU(A)11から所定時間内にブートプログラム書き換え完了通知を受信した場合は(ステップS607;Yes)、CPU(B)12は再起動後のCPU(A)11が実行する起動プログラムを書き換え後のブートプログラムに変更し(ステップS608)、CPU(A)11を再起動させる(ステップS609/Return)。ここでCPU(B)12は、起動後に実行するプログラムの格納先を示す情報を、ブートプログラム書き換えプログラムを示す情報からブートプログラムを示す情報に書き換え、CPU(A)11を再起動させる。
When the CPU (B) 12 does not receive a boot program rewrite completion notification from the CPU (A) 11 within a predetermined time (step S607; No), an abnormality of the
CPU(A)11は、この再起動で書き換え後のブートプログラムを実行し、ブートプログラムに基づいて起動処理を行う(図3参照)。ブートエラーの原因がブートプログラムの異常(バグ)にあり、ブートプログラムの書き換えによって修復された場合には、CPU(A)11はその書き換え後のブートプログラムを実行すると、起動を正常に完了させる。 The CPU (A) 11 executes the boot program after rewriting by this restart, and performs start-up processing based on the boot program (see FIG. 3). When the boot error is caused by an abnormality (bug) in the boot program and is repaired by rewriting the boot program, the CPU (A) 11 executes the boot program after the rewriting to complete the startup normally.
図9は、図7のS505によるシステムエラー対処処理のサブルーチンの動作を示す流れ図である。 FIG. 9 is a flowchart showing the operation of the subroutine of the system error handling process in S505 of FIG.
図7におけるステップS701〜S704およびS710は、図6におけるステップS601〜S604およびS610と同じ内容であり、ここでは説明を省略する。 Steps S701 to S704 and S710 in FIG. 7 are the same as steps S601 to S604 and S610 in FIG.
CPU(B)12は、CPU(A)11から所定時間内にハードウェアのチェック結果の通知を受信し(ステップS703;Yes)、受信したのがハードウェア正常の通知である場合は(ステップS704;Yes)、再起動後のCPU(A)11が実行する起動プログラムをファームウェア書き換えプログラムに変更し(ステップS705)、CPU(A)11を再起動させる(ステップS706)。ここでCPU(B)12は、起動後に実行するプログラムの格納先を示す情報を、ハードウェアチェックプログラムを示す情報からファームウェア書き換えプログラムを示す情報に書き換え、CPU(A)11を再起動させる。 The CPU (B) 12 receives a hardware check result notification from the CPU (A) 11 within a predetermined time (step S703; Yes), and when the received hardware normality notification is received (step S704). Yes), the activation program executed by the CPU (A) 11 after the reboot is changed to a firmware rewriting program (step S705), and the CPU (A) 11 is rebooted (step S706). Here, the CPU (B) 12 rewrites the information indicating the storage destination of the program to be executed after activation from the information indicating the hardware check program to the information indicating the firmware rewriting program, and restarts the CPU (A) 11.
CPU(A)11は、この再起動でファームウェア書き換えプログラムを実行し、ファームウェアの書き換えを行う(図6参照)。 The CPU (A) 11 executes the firmware rewriting program by this restart and rewrites the firmware (see FIG. 6).
CPU(B)12は、CPU(A)11から所定時間内にファームウェア書き換え完了通知を受信しない場合は(ステップS707;No)、サービスセンターに当該複合機10の異常発生(ファームウェア書き換え不可異常)を通知する(ステップS710)。CPU(A)11から所定時間内にファームウェア書き換え完了通知を受信した場合は(ステップS707;Yes)、CPU(B)12は再起動後のCPU(A)11が実行する起動プログラムをブートプログラムに変更し(ステップS708)、CPU(A)11を再起動させる(ステップS709/Return)。ここでCPU(B)12は、起動後に実行するプログラムの格納先を示す情報を、ファームウェア書き換えプログラムを示す情報からブートプログラムを示す情報に書き換え、CPU(A)11を再起動させる。 When the CPU (B) 12 does not receive the firmware rewrite completion notification within a predetermined time from the CPU (A) 11 (step S707; No), the service center reports an abnormality occurrence (firmware rewrite failure abnormality) to the service center. Notification is made (step S710). When the firmware rewrite completion notification is received from the CPU (A) 11 within a predetermined time (step S707; Yes), the CPU (B) 12 uses the boot program executed by the CPU (A) 11 after the reboot as the boot program. The change is made (step S708), and the CPU (A) 11 is restarted (step S709 / Return). Here, the CPU (B) 12 rewrites the information indicating the storage destination of the program to be executed after startup from the information indicating the firmware rewriting program to the information indicating the boot program, and restarts the CPU (A) 11.
CPU(A)11は、この再起動でブートプログラムを実行し、ブートプログラムに基づいて起動処理を行う(図3参照)。起動を完了すると、CPU(A)11は書き換え後のファームウェアを実行する。システムエラーの原因がファームウェアの異常(バグ)にあり、ファームウェアの書き換えによって修復された場合には、CPU(A)11はその書き換え後のファームウェアを実行すると、複合機10を正常に動作させる。
The CPU (A) 11 executes the boot program by this restart, and performs a startup process based on the boot program (see FIG. 3). When the activation is completed, the CPU (A) 11 executes the rewritten firmware. When the cause of the system error is an abnormality (bug) in the firmware and is repaired by rewriting the firmware, when the CPU (A) 11 executes the firmware after the rewriting, the
図4は、CPU(A)11によるハードウェアチェック動作を示す流れ図である。 FIG. 4 is a flowchart showing the hardware check operation by the CPU (A) 11.
CPU(A)11は、ハードウェアチェックプログラムを実行し、プログラムに基づいて複合機10のハードウェアに異常が発生していないかチェックを行う(ステップS201)。ハードウェアの異常を検出しない場合は(ステップS202;No)、CPU(B)12にハードウェア正常を通知する(ステップS203/End)。ハードウェアの異常を検出した場合は(ステップS202;Yes)、CPU(B)12にハードウェア異常を通知する(ステップS204/End)。ハードウェア異常の通知では、特定した異常箇所も通知する。
The CPU (A) 11 executes a hardware check program, and checks whether an abnormality has occurred in the hardware of the
図5は、CPU(A)11によるブートプログラム書き換え動作を示す流れ図である。 FIG. 5 is a flowchart showing the boot program rewriting operation by the CPU (A) 11.
CPU(A)11は、ブートプログラム書き換えプログラムを実行し、プログラムに基づいてブートプログラムの書き換え処理を行う(ステップS301)。ここでは、ROM13に格納されているブートプログラムを、複合機10内のハードディスク装置16または外部記憶装置から取得した書き換え用のブートプログラムで上書きする。
The CPU (A) 11 executes the boot program rewriting program and performs a boot program rewriting process based on the program (step S301). Here, the boot program stored in the
CPU(A)11は、ブートプログラムの書き換えを完了すると、CPU(B)12にブートプログラム書き換え完了を通知する(ステップS302/End)。 When the rewriting of the boot program is completed, the CPU (A) 11 notifies the CPU (B) 12 of the completion of the rewriting of the boot program (Step S302 / End).
図6は、CPU(A)11によるファームウェア書き換え動作を示す流れ図である。 FIG. 6 is a flowchart showing the firmware rewriting operation by the CPU (A) 11.
CPU(A)11は、ファームウェア書き換えプログラムを実行し、プログラムに基づいてファームウェアの書き換え処理を行う(ステップS401)。ここでは、ROM13に格納されているファームウェアを、複合機10内のハードディスク装置16または外部記憶装置から取得した書き換え用のファームウェアで上書きする。
The CPU (A) 11 executes a firmware rewriting program and performs a firmware rewriting process based on the program (step S401). Here, the firmware stored in the
CPU(A)11は、ファームウェアの書き換えを完了すると、CPU(B)12にファームウェア書き換え完了を通知する(ステップS402/End)。 When the CPU (A) 11 completes the firmware rewriting, the CPU (A) 11 notifies the CPU (B) 12 of the firmware rewriting completion (step S402 / End).
このように、本実施形態に係る複合機10は、CPU(A)11(メインCPU)による起動処理でブートエラーとなり、CPU(A)11自身がそのブートエラーの診断や修復を行えない状態(ブートプログラムの暴走状態など)になっても、CPU(B)12(サブCPU)によって、ハードウェアチェックプログラムやブートプログラム書き換えプログラムを再起動後のCPU(A)11が実行するように設定し、CPU(A)11を再起動させて、CPU(A)11にそのプログラムを実行させることができる。また、CPU(A)11によるファームウェアの実行中(通常動作中)にシステムエラーとなった場合も、CPU(B)12によって、ハードウェアチェックプログラムやファームウェア書き換えプログラムを再起動後のCPU(A)11が実行するように設定し、CPU(A)11を再起動させて、CPU(A)11にそのプログラムを実行させることができる。これにより、複合機10はブートエラーやシステムエラーなどの動作の異常に自己対処することができる。
As described above, in the
またCPU(B)12は、CPU(A)11にハードウェアチェックプログラムを実行させた場合は、CPU(A)11からのハードウェアチェック結果の通知(非通知を含む)に応じた対処動作を行う。ハードウェア正常の通知を受けた場合には、CPU(A)11に実行させるプログラム(ブートプログラム書き換えプログラム/ファームウェア書き換えプログラム)を決定し、そのプログラムを再起動後のCPU(A)11に実行させる。これにより、複合機10はCPU(A)11による動作の異常を自己診断し、診断結果に応じて自己対処できる。
In addition, when the CPU (B) 12 causes the CPU (A) 11 to execute the hardware check program, the CPU (B) 12 performs a countermeasure operation according to the notification (including non notification) of the hardware check result from the CPU (A) 11. Do. When the hardware normality notification is received, a program (boot program rewriting program / firmware rewriting program) to be executed by the CPU (A) 11 is determined, and the CPU (A) 11 after the restart is executed. . As a result, the
また、CPU(A)11にブートプログラム書き換えプログラムを実行させた場合は、ブートプログラムを書き換えて自己修復し、ブートエラーから自己回復することができる。CPU(A)11にファームウェア書き換えプログラムを実行させた場合は、ファームウェアを書き換えて自己修復し、システムエラーから自己回復することができる。 Further, when the CPU (A) 11 is caused to execute the boot program rewriting program, the boot program can be rewritten and self-repaired to recover from a boot error. When the CPU (A) 11 is caused to execute the firmware rewriting program, the firmware can be rewritten and self-repaired to recover from a system error.
また、CPU(A)11は起動完了後にファームウェアを実行すると、ファームウェアに含まれているシステムエラーチェックプログラムを実行してシステムチェックを行い、システムエラー(CPU(A)11による動作の異常)を検出するとCPU(B)12に通知する。これにより、CPU(B)12がシステムチェックを行う場合に比べて、CPU(B)12の処理負荷が軽減され、CPU(A)11よりもCPU(B)12の処理能力が低い場合に、装置全体のパフォーマンス低下が抑えられる。 Further, when the CPU (A) 11 executes the firmware after the start-up is completed, the system error check program included in the firmware is executed to perform a system check, and a system error (abnormal operation by the CPU (A) 11) is detected. Then, the CPU (B) 12 is notified. As a result, the processing load of the CPU (B) 12 is reduced as compared with the case where the CPU (B) 12 performs a system check, and the processing capability of the CPU (B) 12 is lower than that of the CPU (A) 11. The performance degradation of the entire device can be suppressed.
また、CPU(A)11によるCPU(B)12への通知は共有メモリ25を介して行うことで、CPU(A)11とCPU(B)12が個別に動作し、個々の任意のタイミングに共有メモリ25にアクセスして通知(通信)を行うことができる。
Further, the notification to the CPU (B) 12 by the CPU (A) 11 is performed via the shared
以上、本発明の実施形態を図面によって説明してきたが、具体的な構成は実施形態に示したものに限られるものではなく、本発明の要旨を逸脱しない範囲における変更や追加があっても本発明に含まれる。 The embodiment of the present invention has been described with reference to the drawings. However, the specific configuration is not limited to that shown in the embodiment, and the present invention can be changed or added without departing from the scope of the present invention. Included in the invention.
たとえば、CPU(A)11による動作の異常(ブートエラー/システムエラー(ハードウェア異常/ファームウェア異常))を検出した場合に実行するプログラムの順番は、実施形態で説明した順番に限らない。たとえば、ブートエラーを検出した場合には、先にブートプログラム書き換えプログラムを実行する。ブートプログラムの書き換えを行ってもブートエラーが解消されなければ、ハードウェアチェックプログラムを実行するようにしてもよい。また、システムエラーを検出した場合には、先にファームウェア書き換えプログラムを実行する。ファームウェアの書き換えを行ってもシステムエラーが解消されなければ、ハードウェアチェックプログラムを実行するようにしてもよい。 For example, the order of programs executed when an operation abnormality (boot error / system error (hardware abnormality / firmware abnormality)) by the CPU (A) 11 is detected is not limited to the order described in the embodiment. For example, when a boot error is detected, the boot program rewriting program is executed first. If the boot error is not resolved even after rewriting the boot program, the hardware check program may be executed. If a system error is detected, the firmware rewriting program is executed first. If the system error is not resolved even after rewriting the firmware, a hardware check program may be executed.
また、CPU(B)12がCPU(A)11による動作の異常を検出した場合にサービスセンターの通知する情報は、実施形態で説明したものに限らない。たとえば、CPU(B)12がCPU(A)11にブートプログラム書き換えプログラムを実行させる場合、CPU(A)11によってブートプログラムの書き換えが実際に行われた場合、CPU(B)12がCPU(A)11にファームウェア書き換えプログラムを実行させる場合、CPU(A)11によってファームウェアの書き換えが実際に行われた場合などに、CPU(B)12がその情報をサービスセンターに通知するようにしてもよい。
Further, the information notified by the service center when the CPU (B) 12 detects an abnormal operation by the CPU (A) 11 is not limited to that described in the embodiment. For example, when the CPU (B) 12 causes the CPU (A) 11 to execute the boot program rewriting program, when the CPU (A) 11 actually rewrites the boot program, the CPU (B) 12 has the CPU (A When
また、CPU(B)12がサービスセンターに電子メールなどで通知する他に、CPU(B)12が複合機10の表示部17にサービスセンターの連絡先などを表示し、ユーザや管理者がサービスセンターに複合機10の異常を通知できるようにしてもよい。
In addition to the CPU (B) 12 notifying the service center by e-mail or the like, the CPU (B) 12 displays the contact information of the service center on the
また、本発明は実施形態で説明した複合機に限らず、複写機、プリンタ機、ファクシミリ機などの他の画像形成装置も対象にすることができる。 Further, the present invention is not limited to the multi-function device described in the embodiment, and can also be applied to other image forming apparatuses such as a copying machine, a printer, and a facsimile machine.
10…複合機
11…CPU(A)
12…CPU(B)
13…ROM
14…RAM
15…不揮発メモリ
16…ハードディスク装置
17…表示部
18…操作部
19…ファクシミリ通信部
20…ネットワーク通信部
21…画像処理部
22…スキャナ部
23…プリンタ部
24…バス
25…共有メモリ
10.
12 ... CPU (B)
13 ... ROM
14 ... RAM
DESCRIPTION OF
Claims (5)
前記画像形成部を制御する第1のCPUと、
前記第1のCPUによる動作を監視する第2のCPUと、
を備え、
前記第1のCPUは、所定の領域に記憶されているブートプログラムにしたがって起動処理を実行し、
前記第2のCPUは、前記監視によって前記第1のCPUによる起動処理の動作の異常を検出した場合には、再起動後の前記第1のCPUが最初に実行するプログラムを前記ブートプログラムから、前記異常の原因がハードウェアの異常であるか否かを診断して診断結果を前記第2のCPUに通知する診断プログラムに切り換えて前記第1のCPUを再起動させる
ことを特徴とする画像形成装置。 An image forming unit that forms an image based on image data on a recording sheet;
A first CPU for controlling the image forming unit;
A second CPU for monitoring the operation of the first CPU;
Equipped with a,
The first CPU executes a startup process according to a boot program stored in a predetermined area,
When the second CPU detects an abnormality in the operation of the startup process by the first CPU by the monitoring, the first program executed by the first CPU after the restart is determined from the boot program. Diagnose whether the cause of the abnormality is a hardware abnormality, switch to a diagnostic program that notifies the second CPU of the diagnosis result, and restart the first CPU
An image forming apparatus.
ことを特徴とする請求項1に記載の画像形成装置。 When the diagnosis result notified from the first CPU that has executed the diagnostic program indicates that the hardware is normal, the second CPU executes the first CPU first after the restart. By switching the program to a rewriting program for rewriting the boot program and restarting the first CPU, and after the restarting, the rewriting program is executed by the first CPU, so that the program is rewritten from a predetermined storage location. When the acquired rewrite boot program is overwritten on the boot program, the first program executed by the first CPU after the restart is switched to the rewrite boot program stored in the predetermined area by the overwriting. to restart the first CPU Te
The image forming apparatus according to claim 1.
前記第2のCPUは、前記ファームウェアを実行する前記第1のCPUによる動作の異常を前記通知によって認識した場合は、再起動後の前記第1のCPUが最初に実行するプログラムを前記ブートプログラムから、前記異常の原因がハードウェアの異常であるか否かを診断して診断結果を通知する診断プログラムに切り換えて前記第1のCPUを再起動させ、前記診断プログラムを実行した前記第1のCPUから通知された前記診断結果がハードウェアの正常を示す場合には、再起動後の前記第1のCPUが最初に実行するプログラムを、前記ファームウェアの書き換えを行う第2の書き換えプログラムに切り換えて前記第1のCPUを再起動させ、この再起動後に前記第1のCPUによって前記第2の書き換えプログラムが実行されることによって、所定の記憶場所から取得した書き換え用ファームウェアで前記ファームウェアが上書きされたら、再起動後の前記第1のCPUが最初に実行するプログラムを、前記ブートプログラムに切り換えて前記第1のCPUを再起動させる
ことを特徴とする請求項1または2に記載の画像形成装置。 The firmware executed by the first CPU after completion of the start-up process has a function of detecting an abnormality in the operation of the first CPU executing the firmware and notifying the second CPU. the error check program to be executed by only including,
When the second CPU recognizes an abnormality in the operation of the first CPU that executes the firmware by the notification, the first CPU executes a program to be executed first after the restart from the boot program. The first CPU that diagnoses whether or not the cause of the abnormality is a hardware abnormality, switches to a diagnostic program that notifies the diagnosis result, restarts the first CPU, and executes the diagnostic program If the diagnosis result notified from the hardware indicates normal hardware, the first program executed by the first CPU after restart is switched to the second rewrite program for rewriting the firmware. The first CPU is restarted, and after the restart, the second rewriting program is executed by the first CPU. When the firmware is overwritten with the rewriting firmware obtained from a predetermined storage location, the first program executed by the first CPU after restart is switched to the boot program and the first CPU is re-executed. The image forming apparatus according to claim 1 or 2 , wherein the image forming apparatus is activated .
前記第2のCPUは、前記通知に基づいて前記監視を行う
ことを特徴とする請求項1〜3のいずれか1項に記載の画像形成装置。 The first CPU notifies the second CPU of the state of operation by the first CPU;
It said second CPU, the image forming apparatus according to any one of claims 1 to 3, characterized in that performing the monitoring on the basis of the notification.
ことを特徴とする請求項3または4に記載の画像形成装置。 The image forming apparatus according to claim 3, wherein the first CPU notifies the second CPU through a memory.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010088799A JP5447112B2 (en) | 2010-04-07 | 2010-04-07 | Image forming apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2010088799A JP5447112B2 (en) | 2010-04-07 | 2010-04-07 | Image forming apparatus |
Publications (2)
Publication Number | Publication Date |
---|---|
JP2011218630A JP2011218630A (en) | 2011-11-04 |
JP5447112B2 true JP5447112B2 (en) | 2014-03-19 |
Family
ID=45036222
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2010088799A Expired - Fee Related JP5447112B2 (en) | 2010-04-07 | 2010-04-07 | Image forming apparatus |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP5447112B2 (en) |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3180811B2 (en) * | 1990-01-31 | 2001-06-25 | ミノルタカメラ株式会社 | Mobile device for maintenance management of image forming apparatus |
JPH08331174A (en) * | 1995-05-30 | 1996-12-13 | Ricoh Co Ltd | Customer support system for copying machine |
JP3346956B2 (en) * | 1995-07-07 | 2002-11-18 | 株式会社リコー | Image forming device |
JP2001071591A (en) * | 1999-09-03 | 2001-03-21 | Canon Inc | Composite printing apparatus and control method thereof |
JP2004066787A (en) * | 2002-08-09 | 2004-03-04 | Canon Inc | Image recorder, method of controlling the same, medium providing control program, and control program |
JP2006038889A (en) * | 2004-07-22 | 2006-02-09 | Noritsu Koki Co Ltd | Management system and management method for image forming apparatus |
JP2007310074A (en) * | 2006-05-17 | 2007-11-29 | Konica Minolta Business Technologies Inc | Image forming apparatus and program |
JP5023660B2 (en) * | 2006-10-31 | 2012-09-12 | コニカミノルタビジネステクノロジーズ株式会社 | Image forming apparatus and method for controlling image forming apparatus |
JP2009043040A (en) * | 2007-08-09 | 2009-02-26 | Kyocera Mita Corp | Image forming system |
JP2009132050A (en) * | 2007-11-30 | 2009-06-18 | Ricoh Co Ltd | Image forming apparatus and control method and program of image forming apparatus |
-
2010
- 2010-04-07 JP JP2010088799A patent/JP5447112B2/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
JP2011218630A (en) | 2011-11-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2284704B1 (en) | Information processing apparatus, method, and control program for determinnig the suitable monitoring time corresponding to a selected mode of processing | |
JP5822527B2 (en) | Information processing apparatus, control method thereof, and control program | |
US7761733B2 (en) | Image-processing system, image-processing method, and computer readable storage medium | |
RU2517542C2 (en) | Image processing apparatus and method of controlling image processing apparatus | |
JP6218510B2 (en) | Image processing apparatus, image processing apparatus control method, and program | |
US8922805B2 (en) | Image processing apparatus having updatable firmware, method for controlling image processing apparatus, and program | |
JP6199796B2 (en) | Setting update method and image forming apparatus | |
JP2012003506A (en) | Image processing apparatus | |
JP4820271B2 (en) | Image processing apparatus and image processing method | |
JP7027974B2 (en) | Image forming device | |
JP4482514B2 (en) | Image forming apparatus | |
JP6597417B2 (en) | Electronic device, recovery method and program | |
JP2011056852A (en) | Information processor and image forming apparatus | |
JP5447112B2 (en) | Image forming apparatus | |
US11467898B2 (en) | Information processing apparatus and method of controlling the same | |
JP2015032103A (en) | Image forming apparatus, control method of image forming apparatus, and program | |
JP2014107839A (en) | Image forming apparatus, display screen control method, and display screen control program | |
JP2011008568A (en) | Electronic equipment, method for controlling power source and control program | |
JP5625374B2 (en) | Apparatus, abnormality display method and program | |
JP6150048B2 (en) | Image forming system and diagnostic method for image forming system | |
US20190095282A1 (en) | Information processing apparatus, information processing system, and control method by the same | |
JP2011053775A (en) | Print system, automatic restoration method of initiation program, and control automatic restoration control program | |
JP2013250911A (en) | Image formation device, control method of image formation device and computer program | |
JP2023177238A (en) | Information processing apparatus, image forming apparatus, information processing method, and program | |
JP2011170803A (en) | Information processing device and image forming apparatus |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20121018 |
|
A711 | Notification of change in applicant |
Free format text: JAPANESE INTERMEDIATE CODE: A712 Effective date: 20130417 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20130731 |
|
A521 | Written amendment |
Free format text: JAPANESE INTERMEDIATE CODE: A523 Effective date: 20130926 |
|
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: 20131203 |
|
A61 | First payment of annual fees (during grant procedure) |
Free format text: JAPANESE INTERMEDIATE CODE: A61 Effective date: 20131216 |
|
R150 | Certificate of patent or registration of utility model |
Ref document number: 5447112 Country of ref document: JP Free format text: JAPANESE INTERMEDIATE CODE: R150 Free format text: JAPANESE INTERMEDIATE CODE: R150 |
|
LAPS | Cancellation because of no payment of annual fees |