JP2011008568A - Electronic equipment, method for controlling power source and control program - Google Patents

Electronic equipment, method for controlling power source and control program Download PDF

Info

Publication number
JP2011008568A
JP2011008568A JP2009151852A JP2009151852A JP2011008568A JP 2011008568 A JP2011008568 A JP 2011008568A JP 2009151852 A JP2009151852 A JP 2009151852A JP 2009151852 A JP2009151852 A JP 2009151852A JP 2011008568 A JP2011008568 A JP 2011008568A
Authority
JP
Japan
Prior art keywords
mode
debug
unit
power supply
electronic device
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP2009151852A
Other languages
Japanese (ja)
Inventor
Akihiko Yasuda
明彦 保田
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2009151852A priority Critical patent/JP2011008568A/en
Publication of JP2011008568A publication Critical patent/JP2011008568A/en
Pending legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide electronic equipment with reduced power consumption.SOLUTION: The electronic equipment includes: a mode switching part for switching a normal operation mode in which it operates according to a function and a debug mode in which it finds and corrects a bug; and an energy saving I/O control part 204 for starting or stopping power supply to a debug interface control part 215 or a debug LED control part 216 to be used in the debug mode according to the switched mode. The mode switching part includes: a hard switch 218 equipped with a slidable terminal; a soft switch displayed on an operation part 400 and for accepting the selection of either the normal operation mode or the debug mode; and an operation determination part for determining whether a normal operation or an abnormal operation is performed in an initializing operation after power supply or system operation, and the mode switching part is configured to automatically switch the mode according to the result of determination.

Description

本発明は、通常動作モードとデバッグモードとを有し、モード切り替え可能な電子機器、その機器が備える各デバイスへ供給する電源を制御する方法およびその方法を実現するためのコンピュータ可読な制御プログラムに関する。   The present invention relates to an electronic device having a normal operation mode and a debug mode and capable of mode switching, a method for controlling power supplied to each device included in the device, and a computer-readable control program for realizing the method. .

プリンタ機能だけではなく、FAX機能、コピー機能、スキャナ機能等を備えるデジタル複合機(MFP)が広く普及している。近年、メモリの大容量化や低コスト化、ネットワーク等の通信技術の高速化、CPUの処理能力の向上等の技術の発展に伴い、MFPに搭載される機能も多種・多様になってきている。   Digital MFPs (MFPs) that have not only a printer function but also a FAX function, a copy function, a scanner function, and the like are widely used. In recent years, with the development of technologies such as increased memory capacity and lower costs, faster communication technologies such as networks, and improved CPU processing capabilities, the functions installed in MFPs have also become diverse and diverse. .

MFPに限らず、電子機器の高機能化に伴い、バグや欠陥が生じる可能性が高くなり、そのために、デバッグ機能を備え、バグや欠陥を発見し、修正することが行われている。   There is a high possibility that bugs and defects will occur not only with MFPs but also with higher functionality of electronic devices. For this reason, debugging functions are provided, and bugs and defects are discovered and corrected.

電子機器には、デバッグモードを備える機器があり、デバッグモードが選択されると、デバッグ用プログラムを実行し、バグや欠陥を発見および修正する。   Some electronic devices have a debug mode. When the debug mode is selected, a debugging program is executed to find and correct bugs and defects.

デバッグ用プログラムは、まず、バグの存在を認識し、その発生源を分離し、原因を特定する。そして、その修正方法を決定し、その方法に従って修正し、最後にテストを行う。このプログラムで広く使用されているものとして、ICE(In-Circuit Emulator)と呼ばれるツールがある。   The debugging program first recognizes the existence of a bug, isolates its source, and identifies the cause. Then, the correction method is determined, the correction is performed according to the method, and finally the test is performed. A tool called ICE (In-Circuit Emulator) is widely used in this program.

このツールと同じ機能を実現するためのデバッグ用のピンと機能を量産チップ上に実装するタイプのICEも存在する。このタイプのオンデバッグ機能実装型ICEは、通常ユーザモードとデバッグモードとを有している。なお、通常ユーザモードは、ユーザプログラムを実行するモードである。   There is also a type of ICE that mounts debugging pins and functions on a production chip to achieve the same functions as this tool. This type of on-debug function-implemented ICE normally has a user mode and a debug mode. The normal user mode is a mode for executing a user program.

こういった機能をもつ電子機器では、デバッグ機能が実装されたモジュールがCPUと一体となっており、CPUと同様に常にクロックが入力され、電力を消費している。電子機器が多機能化すると、デバッグ機能も豊富になり、その結果、消費電力も増加するという問題があった。   In an electronic device having such a function, a module having a debugging function is integrated with the CPU, and a clock is always input and power is consumed in the same manner as the CPU. As electronic devices become multifunctional, there are problems that debugging functions become richer and, as a result, power consumption increases.

また、デバッグには、デバッグ用回路やデバッグ用LEDも使用されている。デバッグ用LEDは、デバイスの動作状態や各電源投入状態等を示し、電源投入時におけるデバイスの動作状態やどの電源電圧までが投入されているかを目視レベルで判別することができるように設けられる。   In addition, debugging circuits and debugging LEDs are also used for debugging. The debugging LED is provided so as to indicate the operation state of the device, each power-on state, and the like, so that the operation state of the device at the time of power-on and up to what power supply voltage can be discriminated at a visual level.

また、デバッグ用回路は、デバッグ用インタフェースを経由してモニタと接続し、プリント基板や装置全体の動作状態、各電源投入状態、ステータス情報等のログを表示させるように設けられる。   The debug circuit is connected to a monitor via a debug interface, and is provided so as to display logs such as operation states of the printed circuit board and the entire apparatus, power-on states, and status information.

これらのデバッグ用回路およびデバッグ用LEDは、以下の用途に使用される。
(i) 量産前の設計・開発段階でのデバッグや障害解析
(ii) 量産時のプリント基板部品実装工程でのファンクションテストや障害発生時の解析
(iii) 量産時の各プリント基板やメカ部品モールドを組み付けて装置全体を形成するための組み付け工程でのファンクションテストや障害発生時の解析
(iv) 製品出荷後の市場やユーザ先での障害発生時の解析
These debug circuits and debug LEDs are used for the following purposes.
(i) Debugging and failure analysis at the design and development stage before mass production
(ii) Function test in printed circuit board component mounting process in mass production and analysis when failure occurs
(iii) Function test and analysis at the time of failure in the assembly process to assemble each printed circuit board and mechanical part mold in mass production to form the whole device
(iv) Analysis when a failure occurs in the market or after the product is shipped

こういった回路やLEDを用いる従来の技術では、通常ユーザモードであるか、デバッグモードであるかに関わらず、不具合発生解析を迅速に行うべく、電源投入時におけるデバイスの動作状態やどの電源電圧状態をモニタすることができるように配置された複数のデバッグ用LEDが通常モード時にも点灯されていることがあった。また、詳細解析のためのログ取得のためにデバッグ用回路へも電源が供給されていた。このように、通常モードで立ち上がっても、製品仕様・機能に関係のないデバッグ用LEDが点灯していたり、デバッグ用回路へ電源が供給されると、無駄な電力を消費するという問題があった。   In the conventional technology using these circuits and LEDs, regardless of whether it is in normal user mode or debug mode, the device operating status and power supply voltage at power-on are determined so that failure analysis can be performed quickly. In some cases, a plurality of debug LEDs arranged so that the status can be monitored are lit even in the normal mode. In addition, power is also supplied to the debugging circuit to obtain a log for detailed analysis. As described above, even when the normal mode is started, there is a problem in that wasteful power is consumed when the debugging LED that is not related to the product specifications / functions is lit or power is supplied to the debugging circuit. .

そこで、デバッグモジュールを、通常ユーザモード時にクロックを止めない第1のデバッグモジュールと、通常ユーザモード時にクロックを止める第2のデバッグモジュールとに分け、第1のデバッグモジュールと第2のデバッグモジュールに異なるクロックラインでクロックを供給するように構成した電子機器が提案されている(特許文献1参照)。   Therefore, the debug module is divided into a first debug module that does not stop the clock in the normal user mode and a second debug module that stops the clock in the normal user mode, and is different between the first debug module and the second debug module. An electronic device configured to supply a clock via a clock line has been proposed (see Patent Document 1).

このような構成とし、通常ユーザモード時には第2のデバッグモジュールへのクロック供給を停止することで、デバッグモジュール全体にクロック供給する場合に比較して、消費電力の増大を防止し、低パワー化することができる。   With this configuration, in the normal user mode, the clock supply to the second debug module is stopped, thereby preventing an increase in power consumption and reducing the power compared to the case where the clock is supplied to the entire debug module. be able to.

上記従来の電子機器は、第2のデバッグモジュールへのクロック供給を停止し、消費電力を削減することができるものの、第1のデバッグモジュールへはクロックを供給するため、充分に消費電力を削減することができていない。   Although the conventional electronic device can stop the clock supply to the second debug module and reduce the power consumption, the clock is supplied to the first debug module, so that the power consumption is sufficiently reduced. I can't.

そこで、通常動作モードとデバッグモードとを有する電子機器において、充分に消費電力を削減することができる機器、消費電力を削減するために、その機器が備える各デバイスへ供給する電源を制御する方法の提供が望まれていた。   Therefore, in an electronic device having a normal operation mode and a debug mode, a device that can sufficiently reduce power consumption, and a method of controlling power supplied to each device included in the device in order to reduce power consumption. Offer was desired.

本発明は、上記課題に鑑み、1以上の機能を備える電子機器であって、その機能に従って動作する通常動作モードと、バグを発見し修正するデバッグモードとを切り替えるモード切り替え部と、切り替えられたモードに応じて、デバッグモードで使用されるデバッグ用デバイスへの電源供給を開始または停止させる入出力制御部とを備える構成とされる。   In view of the above problems, the present invention is an electronic device having one or more functions, and a mode switching unit that switches between a normal operation mode that operates according to the function and a debug mode that finds and corrects a bug, and has been switched According to the mode, an input / output control unit that starts or stops power supply to the debugging device used in the debug mode is provided.

このモード切り替え部は、スライド可能な端子を備えるハードスイッチ、または、表示部に表示し、通常動作モードまたはデバッグモードのいずれかの選択を受け付けるソフトスイッチにより実現することができる。   This mode switching unit can be realized by a hard switch having a slidable terminal or a soft switch that is displayed on the display unit and receives selection of either the normal operation mode or the debug mode.

また、モード切り替え部は、電源投入後の電子機器が備える各デバイスの初期設定および動作確認を行う初期動作において、各デバイスの動作確認結果に基づき、正常動作であるか、または、異常動作であるかを判定する動作判定部を含む。異常動作と判定された場合に、モード切り替え部がデバッグモードへ切り替え、入出力制御部が、デバッグ用デバイスへの電源供給を開始するように構成することができる。この動作判定は、通常動作モードで動作中にも行うことができる。   In addition, the mode switching unit is a normal operation or an abnormal operation based on the operation confirmation result of each device in the initial operation for performing initial setting and operation confirmation of each device included in the electronic device after power is turned on. An operation determination unit for determining whether or not. When it is determined that the operation is abnormal, the mode switching unit can be switched to the debug mode, and the input / output control unit can start supplying power to the debugging device. This operation determination can also be performed during operation in the normal operation mode.

異常が検出された場合、デバッグ用デバイスへ電源供給を行うが、正常に動作している場合には、以下に説明するデバッグインタフェース制御部やデバッグLED制御部やデバッグ用LED等のデバッグ用デバイスへの電源供給を停止するので、充分に消費電力を削減することができる。   If an abnormality is detected, power is supplied to the debugging device. If the device is operating normally, the debugging interface control unit, debug LED control unit, and debugging LED described below can be used. Since the power supply is stopped, power consumption can be sufficiently reduced.

また、この電子機器は、動作判定部が異常動作と判定したことに応答して、異常と判定されてからの経過時間を計測する時間計測部と、デバッグ用デバイスが通信を行っているか否かを検出する通信検出部とをさらに備える。入出力制御部は、通信検出部および時間計測部に問い合わせ、デバッグ用デバイスが通信を行っておらず、かつ計測されている時間が指定された時間を経過した旨の応答を受け取った場合に、デバッグ用デバイスへの電源供給を停止させる。これにより、その指定された時間以降の消費電力の削減を図ることができる。   In addition, in response to the fact that the operation determination unit determines that the operation is abnormal, the electronic device determines whether or not the debugging device is communicating with a time measurement unit that measures an elapsed time since the operation is determined to be abnormal. And a communication detection unit for detecting. When the input / output control unit inquires to the communication detection unit and the time measurement unit and receives a response that the debug device is not communicating and the measured time has passed the specified time, Stop power supply to the debugging device. Thereby, it is possible to reduce power consumption after the designated time.

本発明では、上記の電子機器のほか、その電子機器が備える各デバイスに供給する電源を制御し、消費電力を削減する方法や、その方法を実現するためのコンピュータ可読な制御プログラムも提供することができる。   In the present invention, in addition to the above-described electronic apparatus, a method for controlling power supplied to each device included in the electronic apparatus to reduce power consumption and a computer-readable control program for realizing the method are provided. Can do.

複数の電子機器から構成される画像処理システムの構成例を示した図。The figure which showed the structural example of the image processing system comprised from a some electronic device. 電子機器の1つであるMFPの機能ブロック図。The functional block diagram of MFP which is one of the electronic devices. 操作部上に表示される設定画面を例示した図。The figure which illustrated the setting screen displayed on an operation part. 電源投入時のイニシャライズ動作における電源制御の流れを示したフローチャート図。The flowchart figure which showed the flow of the power supply control in the initialization operation | movement at the time of power activation. システム動作における電源制御の流れを示したフローチャート図。The flowchart figure which showed the flow of the power supply control in system operation | movement.

図1は、複数の電子機器から構成される画像処理システムの構成例を示した図である。このシステムは、画像処理装置としてのMFP10と、MFP10に直接ケーブルにより接続されるノートPC20と、インターネットやLAN等のネットワーク30を介して接続されるPC40とから構成されている。MFP10、ノートPC20、PC40はいずれも、多数の電子部品により組み立てられた電子機器である。   FIG. 1 is a diagram illustrating a configuration example of an image processing system including a plurality of electronic devices. This system includes an MFP 10 serving as an image processing apparatus, a notebook PC 20 connected directly to the MFP 10 via a cable, and a PC 40 connected via a network 30 such as the Internet or a LAN. The MFP 10, the notebook PC 20, and the PC 40 are all electronic devices assembled by a large number of electronic components.

MFP10は、プリンタ機能、コピー機能、FAX機能、スキャナ機能といった複数の機能を有するデジタル複合機で、原稿を読み取るための蛍光ランプやCCDイメージセンサを備えるスキャナユニット、読み取った画像データを処理するためのプログラムやシステム全体を制御するためのプログラムを格納するメモリ、そのプログラムを実行するCPU、印刷処理を実行するための露光装置や現像ユニットや転写ユニット等を含むプリンタ、ユーザの入力を受け付け、設定情報や現在の状態等を表示する操作パネル、ノートPC20やPC40と接続し、通信を可能にする通信インタフェース等を備える。このMFP10は、上述したスキャナユニット、露光装置、現像ユニット、転写ユニットのほか、帯電ユニット、定着ユニット、クリーニングユニット、給紙ユニット、排紙ユニット、通信インタフェース等の複数のデバイスを備えるものである。   The MFP 10 is a digital multi-function peripheral having a plurality of functions such as a printer function, a copy function, a FAX function, and a scanner function. The MFP 10 is a scanner unit including a fluorescent lamp and a CCD image sensor for reading a document, and processes read image data. Memory for storing programs and programs for controlling the entire system, CPU for executing the programs, printers including exposure devices, developing units, transfer units, etc. for executing print processing, accepting user input and setting information And an operation panel for displaying the current state and the like, and a communication interface that is connected to the notebook PC 20 or PC 40 to enable communication. The MFP 10 includes a plurality of devices such as a charging unit, a fixing unit, a cleaning unit, a paper feeding unit, a paper discharging unit, and a communication interface in addition to the above-described scanner unit, exposure apparatus, developing unit, and transfer unit.

また、MFP10は、上記各機能に従って動作する通常動作モードと、プログラムの誤り(バグ)や欠陥を発見し、それを修正するデバッグモードとを有している。このMFP10は、電源が投入されると、イニシャライズ動作として、MFP10が備える各デバイスの初期設定および初期動作確認を行う。   The MFP 10 has a normal operation mode that operates in accordance with each of the above functions, and a debug mode that finds an error (bug) or defect in the program and corrects it. When power is turned on, the MFP 10 performs initial setting and initial operation confirmation of each device included in the MFP 10 as an initialization operation.

ノートPC20やPC40は、原稿を作成するためのアプリケーションや印刷出力を行うMFP10を制御するためのプリンタドライバといったソフトウェアを実装し、それを格納するためのメモリ、それを実行するためのCPU、MFP10と通信を可能にする通信インタフェース、その他のデータや設定値等を格納するためのHDD、CDドライブ、DVDドライブ、原稿を表示したり、ログ情報やエラー情報を表示するためのディスプレイ、文字等の入力を行うためのキーボードやマウス等を備える。これらノートPC20やPC40も、MFP10と同様に、通常動作モードとデバッグモードとを有し、電源投入時にはイニシャライズ動作を行い、通信インタフェース、ディスプレイ、マウス等の入力装置といった複数のデバイスを備えるものである。   The notebook PC 20 and the PC 40 are installed with software such as an application for creating a document and a printer driver for controlling the MFP 10 that performs print output, a memory for storing the software, a CPU for executing the software, and the MFP 10 Communication interface that enables communication, HDD for storing other data and setting values, CD drive, DVD drive, display for displaying manuscripts, log information and error information, input of characters, etc. A keyboard, mouse, etc. are provided. Similar to the MFP 10, these notebook PC 20 and PC 40 have a normal operation mode and a debug mode, perform an initialization operation when the power is turned on, and include a plurality of devices such as a communication interface, a display, and an input device such as a mouse. .

ここで、図1に示す画像処理システムで行われる処理を簡単に説明する。ノートPC20またはPC40において文書等を作成し、それを印刷するためにプリンタドライバによりMFP10へ印刷データとして送信すると、MFP10は、その印刷データを処理するためのプログラムを起動させ、画像処理を行い、用紙に印刷する。例えば、MFP10がページプリンタである場合、ページ記述言語(PDL)で記述された印刷データがノートPC20またはPC40から送信され、それをMFP10が受け付けると、PDLで記述された印刷データを解釈し、中間データメモリと呼ばれるメモリに記憶し、その中間データメモリから1ページ分のデータを読み出し、描画処理を行い、それをページメモリに書き込む。印刷出力を行うエンジンは、そのページメモリに書き込まれた描画データを読み出し、そのデータを基に用紙に印刷し、排紙する。   Here, processing performed in the image processing system shown in FIG. 1 will be briefly described. When a document or the like is created on the notebook PC 20 or PC 40 and is transmitted as print data to the MFP 10 by the printer driver to print it, the MFP 10 starts a program for processing the print data, performs image processing, and performs paper processing. Print on. For example, when the MFP 10 is a page printer, the print data described in the page description language (PDL) is transmitted from the notebook PC 20 or the PC 40, and when the MFP 10 accepts the print data, the print data described in the PDL is interpreted and intermediate The data is stored in a memory called a data memory, one page of data is read from the intermediate data memory, a drawing process is performed, and the data is written in the page memory. The engine that performs printout reads the drawing data written in the page memory, prints it on paper based on the data, and discharges the paper.

エンジンにおける処理は、電子写真方式のプリンタである場合、まず、感光体ドラムを帯電させ、帯電した感光体ドラムを露光して静電潜像を形成する。この静電潜像は、上記の描画処理された描画データを基に形成される。形成された静電潜像は、現像ユニットが備えるトナーが付着され、その後、転写ユニットにより用紙に転写される。このとき、用紙上には、トナーが載った状態であるため、定着ユニットにより熱と圧力が加えられ、そのトナーが用紙に固定される。こうして画像が印刷された用紙は、排紙ユニットにより排紙され、1ページ分の印刷出力が完了する。これを印刷データにより指定されたページ分印刷することにより、エンジンにおける印刷出力が完了する。   In the case of an electrophotographic printer, the processing in the engine first charges the photosensitive drum and exposes the charged photosensitive drum to form an electrostatic latent image. This electrostatic latent image is formed based on the drawing data subjected to the drawing process. The formed electrostatic latent image is attached with toner provided in the developing unit, and then transferred onto the paper by the transfer unit. At this time, since the toner is on the paper, heat and pressure are applied by the fixing unit, and the toner is fixed to the paper. The paper on which the image is printed in this way is discharged by the paper discharge unit, and print output for one page is completed. By printing this for the page specified by the print data, the print output in the engine is completed.

電子機器であるMFP10、ノートPC20、PC40の電源を投入した際に行われる初期動作や通常動作において実行されるプログラムに誤り(バグ)が発生した場合、それを修正しなければならない。これを行うモードが、デバッグモードである。例えば、ユーザのモード選択により、また、バグが発生したことを検出した場合に自動的に、デバッグモードへ切り替えることができる。詳細については、後述する。   If an error (bug) occurs in the program executed in the initial operation or normal operation performed when the MFP 10, notebook PC 20, or PC 40, which is an electronic device, is turned on, it must be corrected. The mode for doing this is the debug mode. For example, it is possible to automatically switch to the debug mode when the user selects a mode or when it is detected that a bug has occurred. Details will be described later.

その前に、図2に示す電子機器の1つであるMFP10の機能ブロック図を参照して、MFP10の制御部の構成について説明する。MFP10は、この装置を制御する制御部として、エンジン制御部100と、コントローラ制御部200と、エンジン制御部100とコントローラ制御部200との間を通信可能にするエンジンインタフェース300と、ユーザからの入力を受け付け、各種設定情報やエラー等を表示する操作部400と、MFP10の電源供給制御を行うPSU部500とを備えている。   Before that, the configuration of the control unit of the MFP 10 will be described with reference to a functional block diagram of the MFP 10 which is one of the electronic devices shown in FIG. The MFP 10 controls the apparatus as an engine control unit 100, a controller control unit 200, an engine interface 300 that enables communication between the engine control unit 100 and the controller control unit 200, and input from a user. And an operation unit 400 that displays various setting information and errors, and a PSU unit 500 that performs power supply control of the MFP 10.

エンジン制御部100は、原稿画像を読み取るスキャナユニットを制御するためのスキャナ制御部101と、スキャナユニットで読み取った画像を印字したり、コントローラ制御部200から転送される画像データを印字するプロッタを制御するためのプロッタ制御部102と、印字用紙を給紙する給紙ユニットや印字された用紙を排出する排紙ユニット等の周辺機器を制御するための周辺機制御部103と、スキャナ制御部101、プロッタ制御部102および周辺機制御部103へ供給するための電源を生成する電源生成部104とを備えている。   The engine control unit 100 controls a scanner control unit 101 for controlling a scanner unit that reads a document image, and a plotter that prints an image read by the scanner unit and prints image data transferred from the controller control unit 200. A peripheral control unit 103 for controlling peripheral devices such as a paper feed unit for feeding printing paper and a paper discharge unit for discharging printed paper, a scanner control unit 101, A power generation unit 104 that generates power to be supplied to the plotter control unit 102 and the peripheral device control unit 103 is provided.

コントローラ制御部200は、このコントローラ制御のメインシステムを制御するCPU201と、RAM202と、RAM202との通信を制御するRAM制御部203と、省エネ制御やI/O制御を行う省エネI/O(入出力)制御部204とを備えている。また、コントローラ制御部200は、省エネI/O制御部204により制御される不揮発性メモリ205、FlashROM206、EEPROM207、SD CARDインタフェース208、ネットワークインタフェース209、RTC210を備えている。   The controller control unit 200 includes a CPU 201 that controls the main system for controller control, a RAM 202, a RAM control unit 203 that controls communication with the RAM 202, and an energy saving I / O (input / output) that performs energy saving control and I / O control. ) Control unit 204. The controller control unit 200 includes a nonvolatile memory 205, a Flash ROM 206, an EEPROM 207, an SD CARD interface 208, a network interface 209, and an RTC 210 that are controlled by the energy saving I / O control unit 204.

省エネI/O制御部204は、操作部400との通信制御やエンジン制御部100との省エネ制御も行う。EEPROM207は、ネットワーク用のMACアドレスを格納し、不揮発性メモリ205は、MFP10の設定情報やステータス情報等を格納する。RTC210は、時間をカウントして時刻計測を行う。   The energy saving I / O control unit 204 also performs communication control with the operation unit 400 and energy saving control with the engine control unit 100. The EEPROM 207 stores the MAC address for the network, and the nonvolatile memory 205 stores setting information, status information, and the like of the MFP 10. The RTC 210 counts time and measures time.

SD CARDインタフェース208経由で装着されるSDカードは、コントローラ制御部200で実行される各プログラムが格納されていて、FlashROM206へのプログラムのダウンロードやバージョンアップの手段として用いられたり、各アプリケーションソフトやエミュレーションソフトの読み出し可能な記録媒体として用いられる。ネットワークインタフェース209は、コントローラ制御部200と外部のネットワークとを接続する。   The SD card mounted via the SD CARD interface 208 stores each program to be executed by the controller control unit 200, and can be used as a program download or version upgrade means to the Flash ROM 206, or each application software or emulation. Used as a software readable recording medium. A network interface 209 connects the controller control unit 200 and an external network.

さらに、コントローラ制御部200は、読み取った画像を処理するための画像処理制御部211と、処理した画像の画像データ等を格納するHDD212と、各デバイスへ電源を生成して供給する電源生成部213とを備えている。   The controller control unit 200 further includes an image processing control unit 211 for processing the read image, an HDD 212 for storing image data of the processed image, and a power generation unit 213 that generates and supplies power to each device. And.

また、コントローラ制御部200は、図示しないモニタやPCとシリアルインタフェース214により接続されるデバッグインタフェース制御部215と、デバッグLED制御部216と、デバッグ用のLED217とを備えている。これらへの電源は、電源生成部213から供給され、電源生成部213への指示は、省エネI/O制御部204が与えるように構成されている。また、これらへの電源供給およびその停止は、省エネI/O制御部204が直接与えるように構成されている。なお、LED217への電源は、デバッグLED制御部216を介して供給されるようになっている。   The controller control unit 200 includes a debug interface control unit 215 connected to a monitor or PC (not shown) via the serial interface 214, a debug LED control unit 216, and a debug LED 217. Power to these units is supplied from the power generation unit 213, and an instruction to the power generation unit 213 is configured to be given by the energy saving I / O control unit 204. In addition, the energy supply I / O control unit 204 directly supplies power to these units and stops the power supply. Note that power to the LED 217 is supplied via the debug LED control unit 216.

CPU201は、コントローラ制御のメインシステムを制御するために制御プログラムを実行し、現在のモードが、通常動作モードであるか、あるいは、デバッグモードであるかを判断する。現在のモードが、例えば、プリンタ機能、FAX機能、コピー機能、スキャナ機能に従って動作する通常動作に関するものである場合、CPU201は、通常動作モードと判断し、省エネI/O制御部204から電源生成部213へ、デバッグ用回路であるデバッグインタフェース制御部215およびデバッグ用のLED217と接続されるデバッグLED制御部216へ供給する電源を停止させる電源制御信号を送り、デバッグインタフェース制御部215およびデバッグLED制御部216への電源供給をオフにさせる。   The CPU 201 executes a control program to control the main system controlled by the controller, and determines whether the current mode is the normal operation mode or the debug mode. For example, when the current mode is related to a normal operation that operates according to a printer function, a FAX function, a copy function, or a scanner function, the CPU 201 determines that the current mode is a normal operation mode, and the energy generation I / O control unit 204 to the power generation unit A power supply control signal for stopping power supply to the debug LED control unit 216 connected to the debug interface control unit 215 and the debug LED 217 that are debug circuits is sent to the debug interface control unit 215 and the debug LED control unit. The power supply to 216 is turned off.

一方、CPU201は、デバッガ等のデバッグ用プログラムを実行している場合、デバッグモードと判断し、省エネI/O制御部204から電源生成部213へ、デバッグインタフェース制御部215およびデバッグLED制御部216へ電源を供給する電源制御信号を送り、電源生成部213に電源を生成させ、デバッグインタフェース制御部215およびデバッグLED制御部216への電源供給をオンにさせる。   On the other hand, when executing a debugging program such as a debugger, the CPU 201 determines that the debugging mode is selected, and from the energy saving I / O control unit 204 to the power generation unit 213, to the debug interface control unit 215 and the debug LED control unit 216. A power supply control signal for supplying power is sent to cause the power generation unit 213 to generate power and turn on the power supply to the debug interface control unit 215 and the debug LED control unit 216.

デバッグインタフェース制御部215の電源がオンにされると、シリアルインタフェース214を介してモニタやPC等へ接続してシリアルインタフェース通信を可能な状態となり、デバッグLED制御部216の電源がオンにされると、LED217の点灯や点滅が可能な状態になる。   When the power of the debug interface controller 215 is turned on, the serial interface 214 is connected to a monitor or a PC via the serial interface 214 to enable serial interface communication. When the power of the debug LED controller 216 is turned on. The LED 217 can be turned on or blinked.

このように、通常動作モードである場合に、製品仕様や機能に関係のないデバッグインタフェース制御部215やデバッグLED制御部216といったデバッグ用デバイスへの電源供給を停止させることで、上述した従来の電子機器に比較して、消費電力をより削減することができる。   In this way, in the normal operation mode, by stopping the power supply to the debugging device such as the debug interface control unit 215 and the debug LED control unit 216 that are not related to the product specifications and functions, the conventional electronic device described above is stopped. Compared with a device, power consumption can be further reduced.

上記のように、通常動作モードであるか、あるいは、デバッグモードであるかを、制御プログラムにより判断することができるが、MFP10の管理者がモードを切り替えることができるようにすることも可能である。   As described above, it can be determined by the control program whether the operation mode is the normal operation mode or the debug mode, but the administrator of the MFP 10 can also switch the mode. .

例えば、省エネI/O制御部204に接続されるハードスイッチ218を使用して、切り替えることができる。ハードスイッチ218は、DIPSWと、タブ端子とを含んで構成することができ、物理的に端子を切り替えることができるものである。   For example, the hardware switch 218 connected to the energy saving I / O control unit 204 can be used for switching. The hard switch 218 can be configured to include DIPSW and a tab terminal, and can physically switch the terminal.

DIPSWは、電子機器の各種設定用として、電子回路基板上に実装される同じ形状の端子をもつ小型スイッチである。DIPSWは、一般に、スライドスイッチで、2から10程度の端子が並んだものとされている。その端子の1つを、モード切り替え用に使用し、例えば、一方にスライドさせたときを通常動作モード、他方へスライドさせたときをデバッグモードに割り当てておくことで、切り替えを実現することができる。   The DIPSW is a small switch having terminals of the same shape mounted on an electronic circuit board for various settings of electronic equipment. The DIPSW is generally a slide switch in which about 2 to 10 terminals are arranged. One of the terminals is used for mode switching. For example, switching can be realized by allocating the sliding mode to the normal operation mode and the sliding mode to the debugging mode. .

この場合、CPU201がDIPSWの設定を読み取り、その設定からいずれのモードかを判断することができる。判断後は、上記と同様にして、電源供給をオンまたはオフにさせる。こういったハードスイッチ218を、例えば、ボード上に設けることで、後述するソフトスイッチが機能しないボード単体での状況下でも、ボード上のスイッチ操作で容易に通常動作モードとデバッグモードとを切り替えることができる。   In this case, the CPU 201 can read the DIPSW setting and determine which mode is based on the setting. After the determination, the power supply is turned on or off in the same manner as described above. By providing such a hard switch 218 on, for example, a board, the normal operation mode and the debug mode can be easily switched by operating the switch on the board even in the situation of a single board where the soft switch described later does not function. Can do.

スイッチには、上述したハードスイッチ218のほか、ソフトスイッチもあり、このソフトスイッチを採用することもできる。ソフトスイッチは、操作部400に設定画面として表示し、いずれの選択を受け付けるかによってモードを切り替えることができるように構成される。設定値は、電源がオフにされても記憶を保持する不揮発性メモリ205に格納される。   In addition to the hard switch 218 described above, the switch includes a soft switch, and this soft switch can also be employed. The soft switch is configured to be displayed on the operation unit 400 as a setting screen and to switch modes depending on which selection is accepted. The set value is stored in the nonvolatile memory 205 that retains the memory even when the power is turned off.

ソフトスイッチを採用する場合、操作部400上で、図3に示すような設定画面を表示し、通常動作モードであるか、または、デバッグモードであるかの選択を受け付け、CPU201が、エンジン制御部100およびエンジンインタフェース300を介してそれを受け取り、どちらのモードかを判断する。判断後は、上記と同様にして、電源供給をオンまたはオフにさせる。   When the soft switch is adopted, a setting screen as shown in FIG. 3 is displayed on the operation unit 400, and selection of whether the operation mode is the normal operation mode or the debug mode is accepted. It is received via 100 and the engine interface 300 to determine which mode. After the determination, the power supply is turned on or off in the same manner as described above.

図3では、操作部400がタッチパネルとされ、タッチするたびにモードを切り替えられるようになっていて、現在、通常動作モードがオンで、デバッグモードがオフにされている。このように、ソフトスイッチは、操作部400に表示し、モード選択を受け付けることで、モードの切り替えを容易にし、操作性の向上を図ることができる。   In FIG. 3, the operation unit 400 is a touch panel, and the mode can be switched every time it is touched. Currently, the normal operation mode is on and the debug mode is off. As described above, the soft switch is displayed on the operation unit 400 and accepts a mode selection, thereby facilitating mode switching and improving operability.

これまで、ハードスイッチまたはソフトスイッチによりモードを切り替えることができることについて説明してきたが、MFP10の電源が投入されると、MFP10は、イニシャライズ動作を行うためのプログラムを実行し、MFP10が備える各デバイスの初期設定を行い、その設定で正しく動作するかの動作確認を行う。なお、この動作確認において、異常が検出される場合がある。   Up to this point, it has been explained that the mode can be switched by a hard switch or a soft switch. However, when the MFP 10 is powered on, the MFP 10 executes a program for performing an initialization operation, and each of the devices included in the MFP 10 is executed. Perform initial settings and check the operation to see if the settings work correctly. In this operation check, an abnormality may be detected.

異常が検出された場合、自動的にデバッグモードへ移行し、バグや欠陥の修正を行うことが望ましい。この初期設定や動作確認は、CPU201が、初期動作を行うためのプログラムを実行し、その実行中に異常動作が発生すれば、デバイスから正常に動作しない旨の応答が返されるので、異常を検出することができる。CPU201は、異常動作を検出した場合、まず、これまでに行った処理内容や警告を含む履歴としてのログ情報とともにエラー情報をHDD212やRAM202等に格納し、その後、デバッグインタフェース制御部215およびデバッグLED制御部216への電源供給を開始させる。   When an abnormality is detected, it is desirable to automatically enter debug mode and correct bugs and defects. In this initial setting and operation check, the CPU 201 executes a program for performing the initial operation, and if an abnormal operation occurs during the execution, a response indicating that the device does not operate normally is returned. can do. When the CPU 201 detects an abnormal operation, the CPU 201 first stores error information in the HDD 212, the RAM 202, and the like together with log information as history including processing details and warnings performed so far, and then the debug interface control unit 215 and the debug LED. Power supply to the control unit 216 is started.

図4に示すフローチャート図を参照して、電源投入時のイニシャライズ動作における電源制御について詳細に説明する。ステップ400からイニシャライズ動作を開始し、まず、ステップ405で電源の投入を受け付け、ステップ410でCPU201が各デバイスの初期設定を行い、その設定に基づき動作確認を行う。この動作確認では、初期設定において設定された設定値に基づき、各デバイスが正常に動作するかの確認が行われる。   With reference to the flowchart shown in FIG. 4, the power control in the initialization operation when the power is turned on will be described in detail. The initialization operation is started from step 400. First, in step 405, power-on is accepted, and in step 410, the CPU 201 performs initial setting of each device, and confirms the operation based on the setting. In this operation check, it is checked whether each device operates normally based on the setting value set in the initial setting.

例えば、デバイスの1つであるスキャナユニットでは、蛍光ランプの光量やCCDイメージセンサの入力電圧等が設定され、その設定値に基づき、適切に読み取ることができるかの確認が行われる。   For example, in a scanner unit that is one of the devices, the light amount of a fluorescent lamp, the input voltage of a CCD image sensor, and the like are set, and whether or not the reading can be appropriately performed is confirmed based on the set values.

ステップ415において、その初期動作が正常に終了したかを確認する。例えば、各デバイスに問い合わせ、各デバイスから正常に終了した旨あるいは異常動作が発生した旨の応答を受け取ることにより、確認することができる。正常に終了した場合、ステップ420へ進み、ログ情報を収集して、HDD212やRAM202等に格納する。   In step 415, it is confirmed whether or not the initial operation has been completed normally. For example, confirmation can be made by inquiring each device and receiving a response from each device indicating that the operation has been completed normally or an abnormal operation has occurred. If the process is completed normally, the process proceeds to step 420, where log information is collected and stored in the HDD 212, RAM 202, or the like.

ステップ420へ進む場合、CPU201は、各デバイスが正常に動作しているので、通常動作モードと判断し、ステップ425へ進み、省エネI/O制御部204に指示し、電源生成部213へ電源制御信号を送信させ、デバッグインタフェース制御部215およびデバッグLED制御部216への電源供給をオフにさせ、ステップ430でこの処理を終了する。   In the case of proceeding to step 420, the CPU 201 determines that each device is operating normally, and thus determines that the device is in the normal operation mode, proceeds to step 425, instructs the energy saving I / O control unit 204, and controls the power generation unit 213 to perform power control. A signal is transmitted, the power supply to the debug interface control unit 215 and the debug LED control unit 216 is turned off, and this processing is ended in step 430.

一方、ステップ415で異常動作が検出された場合、ステップ435へ進み、RTC210において時間計測を開始し、ステップ440で、ログ情報およびエラー情報を収集してHDD212やRAM202等に格納し、デバッグモードへ入る。デバッグモードは、デバッグ用プログラムを実行することにより入ることができる。   On the other hand, if an abnormal operation is detected in step 415, the process proceeds to step 435 and time measurement is started in the RTC 210. In step 440, log information and error information are collected and stored in the HDD 212, RAM 202, etc., and the debug mode is entered. enter. The debug mode can be entered by executing a debug program.

CPU201は、デバッグモードへ入る場合、ステップ445へ進み、省エネI/O制御部204に指示し、電源生成部213へ電源制御信号を送信させ、デバッグインタフェース制御部215およびデバッグLED制御部216への電源供給をオンにさせる。これにより、デバッグを開始し、デバッグインタフェース制御部215、シリアルインタフェース214を介してモニタやPCが備えるディスプレイにその異常を表示し、また、デバッグLED制御部216を介してデバッグ用のLED217を点灯または点滅させることができる。   When entering the debug mode, the CPU 201 proceeds to step 445 to instruct the energy saving I / O control unit 204 to transmit a power control signal to the power generation unit 213, and to the debug interface control unit 215 and the debug LED control unit 216. Turn on the power supply. As a result, debugging is started, the abnormality is displayed on the monitor or PC display via the debug interface control unit 215 and the serial interface 214, and the debug LED 217 is turned on via the debug LED control unit 216. Can be flashed.

解析作業を行う場合、HDD212やRAM202に格納されたログ情報やエラー情報へアクセスし、それらの情報の詳細な解析を行うことができる。このため、ステップ450で、モニタまたはPCからシリアル通信によるアクセスがあるかを判断する。なお、省エネI/O制御部204は、デバッグインタフェース制御部215にPCやモニタからのシリアル通信によるアクセスがあるかどうかの通信状態を監視している。   When performing analysis work, it is possible to access log information and error information stored in the HDD 212 and RAM 202 and perform detailed analysis of the information. Therefore, in step 450, it is determined whether there is an access by serial communication from the monitor or the PC. Note that the energy saving I / O control unit 204 monitors the communication state as to whether or not the debug interface control unit 215 is accessed by serial communication from a PC or a monitor.

アクセスがある場合は、解析作業が行われているため、デバッグモードを維持し、ステップ430で、イニシャライズ動作を終了する。   If there is an access, since the analysis work is being performed, the debug mode is maintained, and the initialization operation is terminated at step 430.

一方、アクセスがない場合は、ステップ455へ進み、ステップ435において計測を開始した時間がT時間以上となったかを判断する。T時間未満である場合は、再びステップ450へ戻り、アクセスがあるかを判断する。アクセスがなく、経過時間もT時間以上になった場合、解析作業がない、あるいは終了したものと判断し、ステップ425へ進み、省エネI/O制御部204に指示し、電源生成部213へ電源制御信号を送信させ、デバッグインタフェース制御部215およびデバッグLED制御部216への電源供給をオフにさせ、ステップ430でイニシャライズ動作を終了する。   On the other hand, if there is no access, the process proceeds to step 455, where it is determined whether the time when the measurement is started in step 435 is equal to or longer than T time. If it is less than T time, the process returns to step 450 again to determine whether there is access. If there is no access and the elapsed time is equal to or greater than T hours, it is determined that there is no analysis work or has been completed, and the process proceeds to step 425 to instruct the energy saving I / O control unit 204 to supply power to the power generation unit 213. The control signal is transmitted, the power supply to the debug interface control unit 215 and the debug LED control unit 216 is turned off, and the initialization operation is finished in step 430.

このように、デバッグインタフェース制御部215およびデバッグLED制御部216への電源供給をオフにして、T時間以降、不要なこれらへの消費電力を削減することができる。   In this way, power supply to the debug interface control unit 215 and the debug LED control unit 216 can be turned off, and unnecessary power consumption can be reduced after the T time.

Tは、設定値であり、操作部400上で管理者によって予め設定され、不揮発性メモリ205に格納される。   T is a set value, which is set in advance by the administrator on the operation unit 400 and stored in the nonvolatile memory 205.

上記では、電源投入時のイニシャライズ動作について詳細に説明したが、このイニシャライズ動作後のシステム動作においても、上記のような動作確認を行うことができる。図5は、システム動作における電源制御の流れを示したフローチャート図である。   In the above, the initialization operation at the time of power-on has been described in detail. However, the above-described operation check can also be performed in the system operation after the initialization operation. FIG. 5 is a flowchart showing the flow of power control in the system operation.

ステップ500からシステム動作を開始し、まず、ステップ505で指定された機能に従って動作を開始する。印刷であれば、原稿の読み取り、描画、印刷出力という動作を行う。これは、通常動作モードである。   The system operation is started from step 500. First, the operation is started according to the function designated in step 505. In the case of printing, operations of reading a document, drawing, and printing are performed. This is the normal operation mode.

ステップ510において、その動作が正常に終了したかを確認する。正常に終了した場合、ステップ515へ進み、ログ情報を収集して、HDD212やRAM202等に格納する。   In step 510, it is confirmed whether the operation has been normally completed. If the process is completed normally, the process proceeds to step 515, where log information is collected and stored in the HDD 212, RAM 202, or the like.

CPU201は、バグ等がなく正常に終了していることから通常動作モードと判断し、ステップ520へ進み、省エネI/O制御部204に指示し、電源生成部213へ電源制御信号を送信させ、デバッグインタフェース制御部215およびデバッグLED制御部216への電源供給をオフにさせ、ステップ525でシステム動作を終了する。   The CPU 201 determines that it is in the normal operation mode because there is no bug or the like, and proceeds to step 520, instructs the energy saving I / O control unit 204 to transmit a power control signal to the power generation unit 213, The power supply to the debug interface control unit 215 and the debug LED control unit 216 is turned off, and the system operation is terminated in step 525.

一方、ステップ510で異常動作が検出された場合、ステップ530へ進み、RTC210において時間計測を開始し、ステップ535で、ログ情報およびエラー情報を収集してHDD212やRAM202等に格納し、デバッグモードへ入る。デバッグモードは、デバッグ用プログラムを実行することにより入ることができる。   On the other hand, if an abnormal operation is detected in step 510, the process proceeds to step 530 and time measurement is started in the RTC 210. In step 535, log information and error information are collected and stored in the HDD 212, RAM 202, etc., and the debug mode is entered. enter. The debug mode can be entered by executing a debug program.

CPU201は、デバッグモードへ入る場合、ステップ540へ進み、省エネI/O制御部204に指示し、電源生成部213へ電源制御信号を送信させ、デバッグインタフェース制御部215およびデバッグLED制御部216への電源供給をオンにさせる。これにより、デバッグを開始し、デバッグインタフェース制御部215およびシリアルインタフェース214を介してモニタやPCが備えるディスプレイにその異常を表示し、また、デバッグLED制御部216を介してデバッグ用のLED217を点灯または点滅させることができる。   When entering the debug mode, the CPU 201 proceeds to step 540 and instructs the energy saving I / O control unit 204 to transmit a power control signal to the power generation unit 213, and to the debug interface control unit 215 and the debug LED control unit 216. Turn on the power supply. As a result, debugging is started, the abnormality is displayed on the monitor or PC display via the debug interface control unit 215 and the serial interface 214, and the debug LED 217 is turned on via the debug LED control unit 216. Can be flashed.

解析作業を行う場合、HDD212やRAM202等に格納されたログ情報やエラー情報へアクセスし、それらの情報の詳細な解析を行う。このため、ステップ545で、モニタまたはPCからシリアル通信によるアクセスがあるかを判断する。なお、省エネI/O制御部204は、デバッグインタフェース制御部215にPCやモニタからのシリアル通信によるアクセスがあるかどうかの通信状態を監視している。   When performing analysis work, the log information and error information stored in the HDD 212, RAM 202, etc. are accessed, and detailed analysis of those information is performed. Therefore, in step 545, it is determined whether there is an access by serial communication from the monitor or the PC. Note that the energy saving I / O control unit 204 monitors the communication state as to whether or not the debug interface control unit 215 is accessed by serial communication from a PC or a monitor.

アクセスがある場合は、解析作業が行われているため、デバッグモードを維持し、ステップ525で、システム動作を終了する。   If there is an access, since the analysis work is being performed, the debug mode is maintained, and in step 525, the system operation is terminated.

一方、アクセスがない場合は、ステップ550へ進み、ステップ530において計測を開始した時間がT時間以上となったかを判断する。T時間未満である場合は、再びステップ545へ戻り、アクセスがあるかを判断する。アクセスがなく、経過時間もT時間以上になった場合、解析作業がない、あるいは終了したものと判断し、ステップ520へ進み、省エネI/O制御部204に指示し、電源生成部213へ電源制御信号を送信させ、デバッグインタフェース制御部215およびデバッグLED制御部216への電源供給をオフにさせ、ステップ525でシステム動作を終了する。   On the other hand, if there is no access, the process proceeds to step 550, and it is determined whether or not the time when the measurement is started in step 530 is equal to or longer than T time. If it is less than T time, the process returns to step 545 again to determine whether there is access. If there is no access and the elapsed time is equal to or greater than T time, it is determined that there is no analysis work or has been completed, and the process proceeds to step 520 to instruct the energy saving I / O control unit 204 to supply power to the power generation unit 213. The control signal is transmitted, the power supply to the debug interface control unit 215 and the debug LED control unit 216 is turned off, and the system operation is terminated in step 525.

この場合も、デバッグインタフェース制御部215およびデバッグLED制御部216への電源供給をオフにして、T時間以降、不要なこれらへの消費電力を削減することができる。   Also in this case, the power supply to the debug interface control unit 215 and the debug LED control unit 216 can be turned off to reduce unnecessary power consumption after these times.

このTも、設定値であり、操作部400上で管理者によって予め設定され、不揮発性メモリ205に格納される。   This T is also a set value, which is set in advance by the administrator on the operation unit 400 and stored in the nonvolatile memory 205.

これまで本発明を上述した実施の形態をもって説明してきたが、上記スイッチはモード切り替え部として機能し、省エネI/O制御部204はデバッグ用デバイスへの電源供給を制御する入出力制御部として機能し、CPU201はプログラムの実行によりモード切り替え部、正常動作か異常動作かを判定する動作判定部、デバッグ用デバイスが通信しているかを検出する通信検出部として機能し、RTC210は、異常動作と判定されてからの経過時間を計測する時間計測部として機能するものである。   Although the present invention has been described with the above-described embodiment, the switch functions as a mode switching unit, and the energy saving I / O control unit 204 functions as an input / output control unit that controls power supply to a debugging device. The CPU 201 functions as a mode switching unit by program execution, an operation determination unit that determines whether the operation is normal or abnormal, and a communication detection unit that detects whether the debugging device is communicating. The RTC 210 determines that the operation is abnormal. It functions as a time measuring unit that measures the elapsed time since being applied.

また、本発明は上述した実施の形態に限定されるものではなく、他の実施の形態、追加、変更、削除など、当業者が想到することができる範囲内で変更することができ、いずれの態様においても本発明の作用・効果を奏する限り、本発明の範囲に含まれるものである。したがって、電子機器であれば、MFPに限らず、PC等にも適用することができる。また、上記の電源制御を実現するためのコンピュータ可読な制御プログラムやその制御プログラムが記録された記録媒体も提供することができるものである。   In addition, the present invention is not limited to the above-described embodiments, and other embodiments, additions, changes, deletions, and the like can be modified within a range that can be conceived by those skilled in the art. The embodiment is also included in the scope of the present invention as long as the operations and effects of the present invention are exhibited. Therefore, as long as it is an electronic device, it can be applied not only to the MFP but also to a PC or the like. In addition, a computer-readable control program for realizing the power control described above and a recording medium on which the control program is recorded can be provided.

10…MFP、20…ノートPC、30…ネットワーク、40…PC、100…エンジン制御部、101…スキャナ制御部、102…プロッタ制御部、103…周辺機制御部、104…電源生成部、200…コントローラ制御部、201…CPU、202…RAM、203…RAM制御部、204…省エネI/O制御部、205…不揮発性メモリ、206…FlashROM、207…EEPROM、208…SD CARDインタフェース、209…ネットワークインタフェース、210…RTC、211…画像処理制御部、212…HDD、213…電源生成部、214…シリアルインタフェース、215…デバッグインタフェース制御部、216…デバッグLED制御部、217…LED、218…ハードスイッチ、300…エンジンインタフェース、400…操作部、500…PSU部 DESCRIPTION OF SYMBOLS 10 ... MFP, 20 ... Notebook PC, 30 ... Network, 40 ... PC, 100 ... Engine control part, 101 ... Scanner control part, 102 ... Plotter control part, 103 ... Peripheral device control part, 104 ... Power generation part, 200 ... Controller control unit 201 ... CPU 202 ... RAM 203 ... RAM control unit 204 ... Energy saving I / O control unit 205 ... Non-volatile memory 206 ... Flash ROM 207 ... EEPROM 208 ... SD CARD interface 209 ... Network Interface 210 210 RTC 211 Image processing control unit 212 HDD 213 Power generation unit 214 Serial interface 215 Debug interface control unit 216 Debug LED control unit 217 LED 218 Hard switch , 300 ... engine interface, 400 ... operation part, 500 ... PSU part

特開2007−193570号公報JP 2007-193570 A

Claims (11)

1以上の機能を備える電子機器であって、
前記機能に従って動作する通常動作モードと、バグを発見し修正するデバッグモードとを切り替えるモード切り替え部と、
切り替えられた前記モードに応じて、前記デバッグモードで使用されるデバッグ用デバイスへの電源供給を開始または停止させる入出力制御部とを備える、電子機器。
An electronic device having one or more functions,
A mode switching unit that switches between a normal operation mode that operates according to the function and a debug mode that finds and corrects bugs;
An electronic apparatus comprising: an input / output control unit that starts or stops power supply to a debugging device used in the debug mode according to the switched mode.
前記モード切り替え部が、スライド可能な端子を備えるハードスイッチである、請求項1に記載の電子機器。   The electronic device according to claim 1, wherein the mode switching unit is a hard switch including a slidable terminal. 前記モード切り替え部が、表示部上に表示し、前記通常動作モードまたは前記デバッグモードのいずれかの選択を受け付けるソフトスイッチである、請求項1に記載の電子機器。   The electronic device according to claim 1, wherein the mode switching unit is a soft switch that is displayed on a display unit and receives selection of either the normal operation mode or the debug mode. 前記モード切り替え部は、電源投入後の前記電子機器が備える各デバイスの初期設定および動作確認を行う初期動作において、前記各デバイスの動作確認結果に基づき、正常動作であるか、または異常動作であるかを判定する動作判定部を含み、前記異常動作と判定された場合に、前記モード切り替え部が前記デバッグモードへ切り替え、前記入出力制御部が、前記デバッグ用デバイスへの電源供給を開始する、請求項1に記載の電子機器。   The mode switching unit is a normal operation or an abnormal operation based on an operation check result of each device in an initial operation for performing initial setting and operation check of each device included in the electronic device after power is turned on. Including an operation determination unit that determines whether or not the abnormal operation is determined, the mode switching unit switches to the debug mode, the input / output control unit starts power supply to the debugging device, The electronic device according to claim 1. 前記動作判定部は、前記通常動作モードで動作中に前記正常動作または前記異常動作を判定する、請求項4に記載の電子機器。   The electronic device according to claim 4, wherein the operation determination unit determines the normal operation or the abnormal operation during operation in the normal operation mode. 前記動作判定部が前記異常動作と判定したことに応答して、前記異常動作と判定されてからの経過時間を計測する時間計測部と、前記デバッグ用デバイスが通信を行っているか否かを判断する通信検出部とをさらに備え、
前記入出力制御部は、前記時間計測部および前記通信検出部に問い合わせ、前記デバッグ用デバイスが通信を行っておらず、かつ計測されている前記時間が指定された時間を経過した旨の応答を受け取った場合に、前記デバッグ用デバイスへの電源供給を停止させる、請求項4または5に記載の電子機器。
In response to determining that the operation determination unit has performed the abnormal operation, it is determined whether the debugging device is communicating with a time measurement unit that measures an elapsed time after the operation is determined to be abnormal. A communication detection unit that
The input / output control unit inquires to the time measurement unit and the communication detection unit, and sends a response that the debug device is not communicating and the measured time has passed a specified time. The electronic device according to claim 4, wherein when received, the power supply to the debugging device is stopped.
1以上の機能を備える電子機器において供給する電源を制御する方法であって、
前記電子機器が備えるモード切り替え部により、前記機能に従って動作する通常動作モードと、バグを発見し修正するデバッグモードとを切り替えるステップと、
切り替えられた前記モードに応じて、前記電子機器が備える入出力制御部により、前記デバッグモードで使用されるデバッグ用デバイスへの電源供給を開始または停止させるステップとを含む、電源制御方法。
A method of controlling power supplied in an electronic device having one or more functions,
Switching between a normal operation mode that operates according to the function and a debug mode that finds and corrects bugs by the mode switching unit provided in the electronic device;
And a step of starting or stopping power supply to a debugging device used in the debug mode by an input / output control unit included in the electronic device according to the switched mode.
前記モード切り替え部が備える動作判定部により、電源投入後の前記電子機器が備える各デバイスの初期設定および動作確認を行う初期動作において、前記各デバイスの動作確認結果に基づき、正常動作であるか、または異常動作であるかを判定するステップを含み、
前記電源供給を開始または停止させるステップでは、前記判定するステップで異常動作と判定された場合に、前記デバッグモードへ切り替え、前記デバッグ用デバイスへの電源供給を開始する、請求項7に記載の電源制御方法。
In the initial operation of performing initial setting and operation check of each device provided in the electronic device after power is turned on by the operation determination unit provided in the mode switching unit, whether the operation is normal based on the operation check result of each device, Or determining whether the operation is abnormal,
8. The power supply according to claim 7, wherein in the step of starting or stopping the power supply, the power supply to the debug device is started by switching to the debug mode when it is determined in the determination step that the operation is abnormal. Control method.
前記判定するステップでは、前記通常動作モードで動作中に前記正常動作または前記異常動作を判定する、請求項7に記載の電源制御方法。   The power supply control method according to claim 7, wherein in the determining step, the normal operation or the abnormal operation is determined during the operation in the normal operation mode. 前記異常動作と判定したことに応答して、前記電子機器が備える時間計測部により、前記異常動作と判定されてからの経過時間を計測するステップと、前記電子機器が備える通信検出部により、前記デバッグ用デバイスが通信を行っているか否かを判断するステップとをさらに含み、
前記電源供給を開始または停止させるステップでは、前記時間計測部および前記通信検出部に問い合わせ、前記デバッグ用デバイスが通信を行っておらず、かつ計測されている前記時間が指定された時間を経過した旨の応答を受け取った場合に、前記デバッグ用デバイスへの電源供給を停止させる、請求項8または9に記載の電源制御方法。
In response to the determination as the abnormal operation, the time measurement unit included in the electronic device measures the elapsed time since the electronic device is determined as the abnormal operation, and the communication detection unit included in the electronic device includes the Determining whether the debugging device is communicating or not,
In the step of starting or stopping the power supply, the time measurement unit and the communication detection unit are inquired, the debugging device is not communicating, and the measured time has passed a specified time The power supply control method according to claim 8 or 9, wherein when a response to the effect is received, power supply to the debugging device is stopped.
請求項7〜10のいずれか1項に記載の電源制御方法を実行するためのコンピュータ可読な制御プログラム。   The computer-readable control program for performing the power supply control method of any one of Claims 7-10.
JP2009151852A 2009-06-26 2009-06-26 Electronic equipment, method for controlling power source and control program Pending JP2011008568A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009151852A JP2011008568A (en) 2009-06-26 2009-06-26 Electronic equipment, method for controlling power source and control program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009151852A JP2011008568A (en) 2009-06-26 2009-06-26 Electronic equipment, method for controlling power source and control program

Publications (1)

Publication Number Publication Date
JP2011008568A true JP2011008568A (en) 2011-01-13

Family

ID=43565139

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009151852A Pending JP2011008568A (en) 2009-06-26 2009-06-26 Electronic equipment, method for controlling power source and control program

Country Status (1)

Country Link
JP (1) JP2011008568A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130262928A1 (en) * 2012-04-02 2013-10-03 Compal Electronics, Inc. Debugging device and method for performing a debugging process to a target system
JP2017055319A (en) * 2015-09-11 2017-03-16 ブラザー工業株式会社 Image processing apparatus and terminal device
CN113759814A (en) * 2021-08-02 2021-12-07 上海二十冶建设有限公司 Step-by-step debugging method for tundish car electrical system of continuous casting machine

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130262928A1 (en) * 2012-04-02 2013-10-03 Compal Electronics, Inc. Debugging device and method for performing a debugging process to a target system
US8886996B2 (en) * 2012-04-02 2014-11-11 Compal Electronics, Inc. Debugging device and method for performing a debugging process to a target system
JP2017055319A (en) * 2015-09-11 2017-03-16 ブラザー工業株式会社 Image processing apparatus and terminal device
CN113759814A (en) * 2021-08-02 2021-12-07 上海二十冶建设有限公司 Step-by-step debugging method for tundish car electrical system of continuous casting machine

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
US8922805B2 (en) Image processing apparatus having updatable firmware, method for controlling image processing apparatus, and program
CN111158229B (en) Consumable chip, control method thereof, consumable and image forming device
US9049321B2 (en) Image forming apparatus in which time taken to return from sleep state is reduced, method of controlling image forming apparatus, and storage medium
RU2573111C2 (en) Image forming apparatus, method of controlling said apparatus and program
US9164875B2 (en) Error detection method, information processing circuit, and error detection computer program product
US20150098104A1 (en) Setting power savings modes based on ambient light and user set time periods
JP2017177573A (en) Information processing device provided with pci (peripheral component interconnect) device with connecting to pci bus and method for controlling information processing device
US10162695B2 (en) Information processing apparatus and fault diagnosis method
JP2017209869A (en) Information processing apparatus that determines level of electric power saving of processor according to return time reported from device connected to processor and electric power saving method for processor
JP2008131603A (en) Image processor and image processing method
US10728409B2 (en) Electronic apparatus with a user interface module having a diagnosis unit to detect an abnormality of a display at the time of boot, and abnormality detection method
JP2011008568A (en) Electronic equipment, method for controlling power source and control program
JP5581906B2 (en) Image processing apparatus, control method for image processing apparatus, control program for image processing apparatus, and recording medium
CN104349001A (en) Information processing apparatus, method for controlling the same, and program
JP2013250911A (en) Image formation device, control method of image formation device and computer program
US11048451B2 (en) Image forming device having additional operation mode for additional module
US11537192B2 (en) Power control for a controlled device and communication relay unit of an image processing apparatus
US11330132B2 (en) Information processing apparatus capable of resetting system, method of controlling same, and storage medium
JP7284629B2 (en) Image forming apparatus, unit management program and unit management method in image forming apparatus
US11616890B2 (en) Information processing apparatus, non-transitory computer readable medium storing program, and information processing method for setting value of restarting
JP7298355B2 (en) Information processing equipment
US20240103782A1 (en) Image forming apparatus and control method for image forming apparatus
JP2023177238A (en) Information processing apparatus, image forming apparatus, information processing method, and program
JP5447112B2 (en) Image forming apparatus