JP2011186731A - Electronic circuit, control method thereof and image forming apparatus - Google Patents

Electronic circuit, control method thereof and image forming apparatus Download PDF

Info

Publication number
JP2011186731A
JP2011186731A JP2010050633A JP2010050633A JP2011186731A JP 2011186731 A JP2011186731 A JP 2011186731A JP 2010050633 A JP2010050633 A JP 2010050633A JP 2010050633 A JP2010050633 A JP 2010050633A JP 2011186731 A JP2011186731 A JP 2011186731A
Authority
JP
Japan
Prior art keywords
internal memory
electronic circuit
path
switching
power saving
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
JP2010050633A
Other languages
Japanese (ja)
Inventor
Takayuki Suzuki
貴之 鈴木
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2010050633A priority Critical patent/JP2011186731A/en
Publication of JP2011186731A publication Critical patent/JP2011186731A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Power Sources (AREA)
  • Memory System (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide an electronic circuit including an internal memory and capable of improving processing efficiency and power saving during an operation request in a stand-by state. <P>SOLUTION: The electronic circuit 31 includes: a control part 41 capable of accessing an external memory 34 in a normal mode; an internal memory 44 whose power consumption is less than that of the external memory 34; a network I/F 67; second access routes G2, F2 capable of accessing the internal memory 44 from the network I/F 67; and a route switching part 65. In switching from the normal mode to a power saving mode, the route switching part 65 switches a first access route G1 to the external memory 34 to the second access routes G2, F2 in accordance with control of the control part 41 to switch an address space in which an address for the external memory 34 is mapped in the normal mode to an address space for the internal memory 44. <P>COPYRIGHT: (C)2011,JPO&INPIT

Description

本発明は電子回路、該電子回路の制御方法、及び該電子回路を備えた画像形成装置に関し、詳しくは、内部メモリを有する電子回路の待機状態における省電力化と処理効率の向上とを図る技術に関する。   The present invention relates to an electronic circuit, a method for controlling the electronic circuit, and an image forming apparatus including the electronic circuit, and more particularly, a technique for reducing power consumption and improving processing efficiency in an electronic circuit having an internal memory in a standby state. About.

従来、電子回路の待機状態における消費電力を低減させる技術として、例えば、特許文献1に、待機状態に移行する場合に、電子回路に接続される外部メモリに記憶されているデータを電子回路の内部メモリに退避させ、消費電力の削減と処理効率の向上とを図る技術が開示されている。   Conventionally, as a technique for reducing power consumption in a standby state of an electronic circuit, for example, in Patent Document 1, when shifting to a standby state, data stored in an external memory connected to the electronic circuit is transferred to the inside of the electronic circuit. A technology for saving power in a memory and reducing power consumption and improving processing efficiency is disclosed.

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

しかしながら、特許文献1では、上記のように状態を移行させる場合、所定量の消費電力の削減を行なえるものの、待機状態(省電力モード)において、さらなる省電力の余地も残されている。また、待機状態においても外部ネットワークからの要求を受けて動作する必要性が求められており、その際の処理効率の向上を図ることも所望されていた。   However, in Patent Document 1, when shifting the state as described above, although a predetermined amount of power consumption can be reduced, there is still room for further power saving in the standby state (power saving mode). Further, there is a need to operate in response to a request from an external network even in a standby state, and it has been desired to improve the processing efficiency at that time.

本発明は、内部メモリを有する電子回路において、待機状態での動作要求時の処理効率および省電力化の向上を図る技術を提供するものである。   The present invention provides a technique for improving processing efficiency and power saving when an operation request is made in a standby state in an electronic circuit having an internal memory.

第1の発明に係る電子回路は、通常モードと、前記通常モードより電力消費の少ない省電力モードとにおいて動作する電子回路であって、前記通常モードにおいて外部メモリとアクセス可能な制御部と、前記通常モードおよび前記省電力モードにおいて前記制御部によってアクセスされる、前記外部メモリより消費電力の少ない内部メモリと、外部ネットワークに接続されるネットワークI/Fと、前記通常モードにおいて、前記ネットワークI/Fから前記外部メモリへのアクセスを可能とする第1アクセス経路と、前記省電力モードにおいて、前記ネットワークI/Fから前記内部メモリへのアクセスを可能とする第2アクセス経路と、前記通常モードから前記省電力モードへの切替時に、前記制御部の制御に応じて、前記第1アクセス経路を前記第2アクセス経路に切替えることによって、前記通常モードにおいて前記外部メモリ用のアドレスがマッピングされていたアドレス空間を、前記内部メモリ用のアドレス空間に切替る経路切替部とを備える。   An electronic circuit according to a first aspect of the present invention is an electronic circuit that operates in a normal mode and a power saving mode that consumes less power than the normal mode, the controller being capable of accessing an external memory in the normal mode, An internal memory with less power consumption than the external memory, accessed by the control unit in the normal mode and the power saving mode, a network I / F connected to an external network, and in the normal mode, the network I / F A first access path that enables access to the external memory from the network, a second access path that enables access to the internal memory from the network I / F in the power saving mode, and At the time of switching to the power saving mode, the first access is performed according to the control of the control unit. By switching the road to the second access path, and a said address space address for the external memory is mapped in the normal mode, the internal memory toggle its path switching unit to the address space for.

本構成によれば、省電力モードにおいて、ネットワークからネットワークI/F(インターフェイス)を介して外部メモリに替えて、外部メモリより消費電力の少ない内部メモリにアクセスすることができる。その際、外部メモリ用のアドレスマップ領域(論理アドレス空間)に内部メモリ用のアドレス空間(論理アドレス空間)が配置されるため、ネットワークI/FのDMAアドレスを変更する必要がない。そのため、省電力モード(待機状態)でのネットワークからの内部メモリへのアクセス要求時(動作要求時)の処理効率および省電力化の向上を図ることができる。   According to this configuration, in the power saving mode, an internal memory that consumes less power than the external memory can be accessed from the network via the network I / F (interface) instead of the external memory. At this time, since the address space (logical address space) for internal memory is arranged in the address map area (logical address space) for external memory, it is not necessary to change the DMA address of the network I / F. Therefore, it is possible to improve the processing efficiency and power saving when the network requests access to the internal memory (operation request) in the power saving mode (standby state).

第2の発明は、第1の発明の電子回路において、前記第1アクセス経路は、第1経路セレクタおよび外部メモリI/Fを含み、前記第2アクセス経路は、前記第1経路セレクタ、前記経路切替部、および第2経路セレクタを含み、前記第1経路セレクタは前記ネットワークI/Fに接続され、前記第2経路セレクタは前記内部メモリに接続され、前記経路切替部は、前記通常モードから前記省電力モードへの切替時に、前記第1経路セレクタおよび前記第2経路セレクタの切替えを制御して、前記第1アクセス経路を前記第2アクセス経路に切替える。
本構成によれば、第1経路セレクタおよび第2経路セレクタを簡単な回路で構成することができる。
According to a second invention, in the electronic circuit of the first invention, the first access path includes a first path selector and an external memory I / F, and the second access path is the first path selector, the path A switching unit and a second path selector, wherein the first path selector is connected to the network I / F, the second path selector is connected to the internal memory, and the path switching unit is When switching to the power saving mode, the switching of the first path selector and the second path selector is controlled to switch the first access path to the second access path.
According to this configuration, the first route selector and the second route selector can be configured with simple circuits.

第3の発明は、第1または第2の発明の電子回路において、前記省電力モードにおいて、前記外部メモリI/Fへのクロック信号の供給が停止される。
本構成によれば、省電力モードにおいてネットワークI/Fを介して内部メモリにデータを受信する場合の消費電力の削減を確実に図ることができる。
According to a third invention, in the electronic circuit of the first or second invention, the supply of the clock signal to the external memory I / F is stopped in the power saving mode.
According to this configuration, it is possible to reliably reduce power consumption when data is received in the internal memory via the network I / F in the power saving mode.

第4の発明は、第1から第3の発明のいずれか一つの電子回路において、前記通常モードにおいて前記制御部が前記内部メモリにアクセスするための第3アクセス経路であって、内部メモリI/Fを含む第3アクセス経路と、前記省電力モードにおいて前記制御部が前記内部メモリにアクセスするための第4アクセス経路であって、前記内部メモリI/Fより消費電力の少ない低電力内部メモリI/Fを含む前記第4アクセス経路とをさらに備え、前記経路切替部は、前記通常モードから前記省電力モードへの切替時に、前記制御部の制御に応じて、前記第3アクセス経路を前記第4アクセス経路に切替える。
本構成によれば、省電力モードにおいて、制御部が内部メモリにアクセスする際に、内部メモリI/Fより消費電力の少ない低電力内部メモリI/Fが使用されるため、より省電力化することができる。
A fourth invention is the electronic circuit according to any one of the first to third inventions, wherein the control unit accesses the internal memory in the normal mode, and the internal memory I / O A third access path including F, and a fourth access path for the control unit to access the internal memory in the power saving mode, wherein the low power internal memory I consumes less power than the internal memory I / F. And the fourth access path including / F, and the path switching unit switches the third access path to the third access path according to the control of the control unit when switching from the normal mode to the power saving mode. Switch to 4 access paths.
According to this configuration, in the power saving mode, when the control unit accesses the internal memory, the low power internal memory I / F that consumes less power than the internal memory I / F is used. be able to.

第5の発明は、第4の発明の電子回路において、前記第4アクセス経路は、第3経路セレクタを含み、前記第3経路セレクタは、前記内部メモリI/F、前記低電力内部メモリI/Fおよび前記内部メモリに接続され、前記内部メモリと、前記内部メモリI/Fあるいは前記低電力内部メモリI/Fとの接続を選択し、前記経路切替部は、前記通常モードから前記省電力モードへの切替時に、前記低電力内部メモリI/Fおよび前記第3経路セレクタを制御して、前記第3アクセス経路を前記第4アクセス経路に切替える。
本構成によれば、低電力内部メモリI/Fおよび第3経路セレクタを簡単な回路で構成することができる。
According to a fifth invention, in the electronic circuit of the fourth invention, the fourth access path includes a third path selector, and the third path selector includes the internal memory I / F, the low power internal memory I / F and connected to the internal memory, and selects connection between the internal memory and the internal memory I / F or the low power internal memory I / F, and the path switching unit switches from the normal mode to the power saving mode. When switching to, the low-power internal memory I / F and the third path selector are controlled to switch the third access path to the fourth access path.
According to this configuration, the low-power internal memory I / F and the third path selector can be configured with a simple circuit.

第6の発明は、第5の発明の電子回路において、前記第2経路セレクタと前記第3経路セレクタとが一個の経路セレクタによって構成される。
本構成によれば、電子回路の構成を簡略化できる。
According to a sixth invention, in the electronic circuit of the fifth invention, the second route selector and the third route selector are constituted by a single route selector.
According to this configuration, the configuration of the electronic circuit can be simplified.

第7の発明は、第4から第6の発明のいずれか一つの電子回路において、前記省電力モードにおいて、前記内部メモリI/Fへのクロック信号の供給が停止される。
本構成によれば、省電力モードにおいてさらなる消費電力の削減を図ることができる。
According to a seventh aspect, in the electronic circuit according to any one of the fourth to sixth aspects, the supply of the clock signal to the internal memory I / F is stopped in the power saving mode.
According to this configuration, it is possible to further reduce power consumption in the power saving mode.

第8の発明は、第1から第7の発明のいずれか一つの電子回路において、前記制御部は、前記通常モードにおいて動作する第1制御部と、前記省電力モードにおいて動作する第2制御部とを含み、前記第1制御部は、前記通常モードから前記省電力モードへの切替時に、前記第2制御部用のプログラムを前記外部メモリから読み出し前記内部メモリに格納した後、前記第2制御部を起動し、その後、自身の動作を停止する。
本構成によれば、省電力モード時に、省電力モードの用途に適した第2制御部を使用することができ、さらに省電力化することができる。
An eighth invention is the electronic circuit according to any one of the first to seventh inventions, wherein the control unit includes a first control unit that operates in the normal mode and a second control unit that operates in the power saving mode. The first control unit reads the program for the second control unit from the external memory and stores the program in the internal memory when switching from the normal mode to the power saving mode. Start the operation, and then stop its own operation.
According to this configuration, in the power saving mode, the second control unit suitable for the application in the power saving mode can be used, and further power saving can be achieved.

第9の発明に係る画像形成装置は、被記録媒体に画像を形成する画像形成装置であって、請求項1から請求項8のいずれか一項に記載の電子回路と、前記電子回路の制御に基づいて、画像を形成する画像形成部とを備え、前記内部メモリI/Fは、画像データを処理するための画像処理用I/Fであり、前記内部メモリは、前記画像データが格納される画像処理用メモリである。
本構成によれば、省電力モードでのネットワークからの画像形成装置の画像処理用メモリへのアクセス要求時(動作要求時)の処理効率および、画像形成装置の省電力化の向上を図ることができる。
An image forming apparatus according to a ninth aspect is an image forming apparatus that forms an image on a recording medium, and the electronic circuit according to any one of claims 1 to 8 and the control of the electronic circuit. The internal memory I / F is an image processing I / F for processing image data, and the internal memory stores the image data. This is an image processing memory.
According to this configuration, it is possible to improve the processing efficiency at the time of requesting access to the image processing memory of the image forming apparatus from the network in the power saving mode (at the time of requesting operation) and the power saving of the image forming apparatus. it can.

第10の発明に係る電子回路の制御方法は、通常モードと、前記通常モードより電力消費の少ない省電力モードとにおいて動作する電子回路のモード切替えに係る制御方法であって、前記電子回路は、外部ネットワークに接続されるネットワークI/Fと外部メモリより消費電力の少ない内部メモリを含み、前記通常モードにおいて、第1アクセス経路を介して前記ネットワークI/Fから前記外部メモリにアクセスする工程と、前記通常モードから前記省電力モードへの切替時において、前記第1アクセス経路から、前記省電力モードにおいて前記ネットワークI/Fから前記内部メモリへのアクセスを可能とする第2アクセス経路に切替えることによって、前記通常モードにおいて前記外部メモリ用のアドレスがマッピングされていたアドレス空間を、前記内部メモリ用のアドレス空間に切替える第1経路切替工程とを含む。   A control method for an electronic circuit according to a tenth aspect of the present invention is a control method for mode switching of an electronic circuit that operates in a normal mode and a power saving mode that consumes less power than the normal mode. Including a network I / F connected to an external network and an internal memory that consumes less power than an external memory, and accessing the external memory from the network I / F via a first access path in the normal mode; At the time of switching from the normal mode to the power saving mode, by switching from the first access path to a second access path that allows access to the internal memory from the network I / F in the power saving mode. In the normal mode, the address to which the address for the external memory is mapped The less space, and a first path switching step for switching the address space for the internal memory.

本構成によれば、通常モードから省電力モードへの切替時に、外部メモリ用のアドレスマップ領域(アドレス空間)に内部メモリ用のアドレス空間が配置されるため、ネットワークI/FのDMAアドレスを変更する必要がない。そのため、省電力モード(待機状態)でのネットワークからの内部メモリへのアクセス要求時(動作要求時)の処理効率および省電力化の向上を図ることができる。   According to this configuration, when switching from the normal mode to the power saving mode, the address space for the internal memory is arranged in the address map area (address space) for the external memory, so the DMA address of the network I / F is changed. There is no need to do. Therefore, it is possible to improve the processing efficiency and power saving when the network requests access to the internal memory (operation request) in the power saving mode (standby state).

第11の発明は、第10の発明の電子回路の制御方法において、前記電子回路は、前記通常モードにおいて動作する第1制御部と、前記省電力モードにおいて動作する第2制御部とを含み、前記通常モードから前記省電力モードへの切替時において、前記内部メモリI/Fを含む第3アクセス経路から、前記内部メモリI/Fより消費電力の少ない低電力内部メモリI/Fを含む第4アクセス経路に切替える経路切替工程と、前記第1制御部によって、前記第2制御部用のプログラムを前記外部メモリから読み出し、前記第4アクセス経路を介して該プログラムを前記内部メモリに格納する工程と、前記第1制御部によって、前記第2制御部を起動し、当該第1制御部の動作を停止する工程とをさらに含み、その後、前記第1経路切替工程が、前記第2制御部の制御に応じて実行される。
本構成によれば、省電力モード時に、省電力モードの用途に適した第2制御部を使用することができ、さらに省電力化することができる。
An eleventh invention is the electronic circuit control method according to the tenth invention, wherein the electronic circuit includes a first control unit that operates in the normal mode and a second control unit that operates in the power saving mode, At the time of switching from the normal mode to the power saving mode, the third access path including the internal memory I / F includes the fourth low power internal memory I / F that consumes less power than the internal memory I / F. A path switching step of switching to an access path, a step of reading the program for the second control unit from the external memory by the first control unit, and storing the program in the internal memory via the fourth access path; The first control unit further includes a step of starting the second control unit and stopping the operation of the first control unit. Thereafter, the first path switching step includes It is executed according to the control of the second control unit.
According to this configuration, in the power saving mode, the second control unit suitable for the application in the power saving mode can be used, and further power saving can be achieved.

第12の発明は、第10または第11の発明の電子回路の制御方法において、前記電子回路は、被記録媒体に画像を形成する画像形成装置に配置され、画像形成の制御に利用される電子回路であり、前記内部メモリI/Fは、画像データを処理するための画像処理用I/Fであり、前記内部メモリは、前記画像データが格納される画像処理用メモリである。
本構成によれば、省電力モードでのネットワークからの画像形成装置の画像処理用メモリへのアクセス要求時(動作要求時)の処理効率および、画像形成装置の省電力化の向上を図ることができる。
A twelfth aspect of the invention is the electronic circuit control method according to the tenth or eleventh aspect of the invention, wherein the electronic circuit is disposed in an image forming apparatus that forms an image on a recording medium and is used for controlling image formation. The internal memory I / F is an image processing I / F for processing image data, and the internal memory is an image processing memory in which the image data is stored.
According to this configuration, it is possible to improve the processing efficiency at the time of requesting access to the image processing memory of the image forming apparatus from the network in the power saving mode (at the time of requesting operation) and the power saving of the image forming apparatus. it can.

本発明によれば、内部メモリを有する電子回路において、待機状態での動作要求時の処理効率および省電力化の向上を図ることができる。   According to the present invention, in an electronic circuit having an internal memory, it is possible to improve processing efficiency and power saving when an operation request is made in a standby state.

本発明の実施形態に係るプリンタの概略的な電気的構成を示すブロック図1 is a block diagram showing a schematic electrical configuration of a printer according to an embodiment of the present invention. プリンタの電子回路の概略的な電気的構成を示すブロック図Block diagram showing schematic electrical configuration of electronic circuit of printer モード切替え時のメインおよびサブCPUの動作を示すフローチャートFlow chart showing operation of main and sub CPU at mode switching モード変更に係るアドレスマップの変更を示す説明図Explanatory drawing showing change of address map related to mode change 別の、モード変更に係るアドレスマップの変更を示す説明図Explanatory drawing which shows the change of the address map which concerns on another mode change

<実施形態>
本発明の一実施形態について図1から図4を参照して説明する。
1.印刷システムの電気的構成
図1は、コンピュータ10と、プリンタ30(画像形成装置の一例)とを含む印刷システムの電気的構成を示すブロック図である。
<Embodiment>
An embodiment of the present invention will be described with reference to FIGS.
1. FIG. 1 is a block diagram illustrating an electrical configuration of a printing system including a computer 10 and a printer 30 (an example of an image forming apparatus).

コンピュータ10は、CPU11、ROM12、RAM13、ハードディスクドライブ14、キーボードやポインティングデバイス等を有する操作部15、液晶ディスプレイ等を有する表示部16、LAN(ローカルエリアネットワーク)等のネットワーク20に接続されるネットワークインターフェイス17等を含む。ハードディスクドライブ14には、OSや、印刷用のデータを作成可能なアプリケーションソフト、プリンタ30を制御するためのプリンタドライバなどの各種プログラムが記憶されている。   The computer 10 includes a CPU 11, a ROM 12, a RAM 13, a hard disk drive 14, an operation unit 15 having a keyboard and a pointing device, a display unit 16 having a liquid crystal display, and a network interface connected to a network 20 such as a LAN (local area network). 17 etc. are included. The hard disk drive 14 stores various programs such as an OS, application software capable of creating printing data, and a printer driver for controlling the printer 30.

プリンタ30は、ASIC(特定用途向け集積回路)31、外部ROM32、汎用の外部LSI33、SDRAM(同期ダイナミックRAM)34、操作部35、表示部36、および画像形成部37等を含む。ASIC31はメインCPU41、サブCPU42およびネットワークインターフェイス(I/F)67等を含む。外部ROM32はパラレルおよびシリアルROMを含む。   The printer 30 includes an ASIC (application-specific integrated circuit) 31, an external ROM 32, a general-purpose external LSI 33, an SDRAM (synchronous dynamic RAM) 34, an operation unit 35, a display unit 36, an image forming unit 37, and the like. The ASIC 31 includes a main CPU 41, a sub CPU 42, a network interface (I / F) 67, and the like. The external ROM 32 includes parallel and serial ROM.

外部ROM32には、プリンタ30の動作を制御するための各種プログラムが記録されており、通常、メインCPU41は、外部ROM(「外部メモリ」の一例)32から読み出したプログラムに従って、その処理結果をSDRAM(「外部メモリ」の一例)34やASIC内部の画像処理用SRAM44(図2参照)に記憶させながら、プリンタ30の動作を制御する。ネットワークI/F67は、ネットワーク20を介して外部のコンピュータ10等に接続されており、相互のデータ通信が可能となっている。   Various programs for controlling the operation of the printer 30 are recorded in the external ROM 32. Normally, the main CPU 41 displays the processing result in the SDRAM according to the program read from the external ROM (an example of “external memory”) 32. (An example of “external memory”) 34 and the image processing SRAM 44 (see FIG. 2) inside the ASIC are stored, and the operation of the printer 30 is controlled. The network I / F 67 is connected to the external computer 10 or the like via the network 20, and mutual data communication is possible.

プリンタ30は、動作状態として、印刷処理等の通常動作を行う通常モード(ノーマルモード)と、通常動作を行わない省電力モードであるスリープモードとを有する。   The printer 30 has a normal mode (normal mode) in which a normal operation such as a printing process is performed and a sleep mode, which is a power saving mode in which the normal operation is not performed, as operation states.

操作部35は、複数のボタンを備え、ユーザによって印刷開始の指示や動作モード指示などの各種の入力操作が可能である。表示部36は、液晶ディスプレイやランプ等を備えており、各種の設定画面や動作状態等を表示することが可能である。画像形成部37は、用紙等の被記録媒体の表裏両面に印刷を行う機能を備えている。   The operation unit 35 includes a plurality of buttons, and various input operations such as a print start instruction and an operation mode instruction can be performed by the user. The display unit 36 includes a liquid crystal display, a lamp, and the like, and can display various setting screens, operation states, and the like. The image forming unit 37 has a function of performing printing on both front and back surfaces of a recording medium such as paper.

2.ASIC(電子回路)の構成
次に図2を参照して、ASIC31の構成を説明する。図2は、ASIC31の概略的な構成を示すブロック図である。
2. Configuration of ASIC (Electronic Circuit) Next, the configuration of the ASIC 31 will be described with reference to FIG. FIG. 2 is a block diagram showing a schematic configuration of the ASIC 31.

ASIC31は、プリンタ30の動作モードに応じて、通常モード(ノーマルモード)と、通常モードより電力消費の少ない省電力モード(スリープモード)とにおいて動作する。   The ASIC 31 operates in a normal mode (normal mode) and a power saving mode (sleep mode) that consumes less power than the normal mode according to the operation mode of the printer 30.

ASIC31は、図2に示されるように、メインCPU(CPU0)41、サブCPU(CPU1)42、外部デバイスアクセス設定レジスタ43、および画像処理用SRAM(スタティックRAM;「内部メモリ」の一例)44を含む。画像処理用SRAM44は、通常モードにおいてはメインCPU41によってアクセスされ、省電力モードにおいてはメインCPU41あるいはサブCPU42によってアクセスされ、SDRAM34(外部メモリ)よりも消費電力が少ない。   As shown in FIG. 2, the ASIC 31 includes a main CPU (CPU 0) 41, a sub CPU (CPU 1) 42, an external device access setting register 43, and an image processing SRAM (static RAM; an example of “internal memory”) 44. Including. The image processing SRAM 44 is accessed by the main CPU 41 in the normal mode, and is accessed by the main CPU 41 or the sub CPU 42 in the power saving mode, and consumes less power than the SDRAM 34 (external memory).

ASIC31は、各種バス接続回路として、バスブリッジ51,52、低速度BUSアービタ53、高速度BUSアービタ54、および外部バス調停回路55を含む。   The ASIC 31 includes bus bridges 51 and 52, a low speed BUS arbiter 53, a high speed BUS arbiter 54, and an external bus arbitration circuit 55 as various bus connection circuits.

また、ASIC31は、各種インターフェイス(I/F)回路として、外部ROM−I/F61、外部LSI−I/F62、レジスタI/F63、第1スリープSRAM−I/F64、第2スリープSRAM−I/F65、SDRAM−I/F66、およびネットワークI/F67を含む。   The ASIC 31 includes, as various interface (I / F) circuits, an external ROM-I / F 61, an external LSI-I / F 62, a register I / F 63, a first sleep SRAM-I / F 64, and a second sleep SRAM-I /. F65, SDRAM-I / F66, and network I / F67 are included.

また、ASIC31は、各種セレクタ回路として、セレクタ71、第1スリープSRAMセレクタ72、および第2スリープSRAMセレクタ73を含む。   The ASIC 31 includes a selector 71, a first sleep SRAM selector 72, and a second sleep SRAM selector 73 as various selector circuits.

さらに、ASIC31は、画像処理ブロック80を有し、画像処理ブロック80は、画像処理メモリI/F81および画像処理制御ブロック82等を含む。   Further, the ASIC 31 includes an image processing block 80, and the image processing block 80 includes an image processing memory I / F 81, an image processing control block 82, and the like.

メインCPU(「制御部」および「第1制御部」の一例)41は、通常モードにおいて外部ROM32およびSDRAM34とアクセス可能である。また、メインCPU41は、通常モードから省電力モードへの切替時に、サブCPU42用のプログラムを外部メモリ、詳しくは、外部ROM32から読み出し、第1スリープSRAM−I/F64および第1スリープSRAMセレクタ72(第4アクセス経路)を介して該プログラムを画像処理用SRAM44に格納する。そして、メインCPU41は、サブCPU42を起動し、自身の動作を停止する。   The main CPU (an example of “control unit” and “first control unit”) 41 can access the external ROM 32 and the SDRAM 34 in the normal mode. Further, when switching from the normal mode to the power saving mode, the main CPU 41 reads the program for the sub CPU 42 from the external memory, specifically, the external ROM 32, and the first sleep SRAM-I / F 64 and the first sleep SRAM selector 72 ( The program is stored in the image processing SRAM 44 via the fourth access path). Then, the main CPU 41 activates the sub CPU 42 and stops its own operation.

サブCPU42はメインCPU41によって起動されると、画像処理用SRAM44に格納された省電力モード中の制御プログラムを取り出し(フェッチし)、制御プログラムにしたがって省電力モード中の制御を行う。   When activated by the main CPU 41, the sub CPU 42 fetches (fetches) a control program in the power saving mode stored in the image processing SRAM 44, and performs control in the power saving mode in accordance with the control program.

2−1.アクセス経路の構成
第2スリープSRAMセレクタ(「第1経路セレクタ」の一例)73およびSDRAM−I/F(「外部メモリI/F」の一例)66によって第1アクセス経路が構成される。第1アクセス経路によって、通常モードにおいて、ネットワークI/F67からSDRAM(外部メモリ)34へのアクセスが可能とされる。
2-1. Configuration of Access Path A second access SRAM selector (an example of “first path selector”) 73 and an SDRAM-I / F (an example of “external memory I / F”) 66 constitute a first access path. By the first access path, the SDRAM (external memory) 34 can be accessed from the network I / F 67 in the normal mode.

また、第2スリープSRAMセレクタ73、第2スリープSRAM−I/F65、および第1スリープSRAMセレクタ(「第2経路セレクタ」および「第3経路セレクタ」の一例)72によって第2アクセス経路が構成される。第2アクセス経路によって、省電力モードにおいて、ネットワークI/F67から画像処理用SRAM(内部メモリ)44へのアクセスが可能とされる。   The second sleep SRAM selector 73, the second sleep SRAM-I / F 65, and the first sleep SRAM selector (an example of “second path selector” and “third path selector”) 72 constitute a second access path. The With the second access path, the image processing SRAM (internal memory) 44 can be accessed from the network I / F 67 in the power saving mode.

本実施形態では、第2スリープSRAM−I/F(「経路切替部」の一例)65は、通常モードから省電力モードへの切替時に、サブCPU42の制御に応じて、第1アクセス経路を第2アクセス経路に切替える。なお、メインCPU41の制御に応じて、第1アクセス経路を第2アクセス経路に切替えるようにしてもよい。   In the present embodiment, the second sleep SRAM-I / F (an example of the “path switching unit”) 65 sets the first access path to the first access path according to the control of the sub CPU 42 when switching from the normal mode to the power saving mode. Switch to 2 access path. Note that the first access path may be switched to the second access path in accordance with the control of the main CPU 41.

また、レジスタI/F63、画像処理メモリI/F(「内部メモリI/F」の一例)81、および第1スリープSRAMセレクタ72によって第3アクセス経路が構成される。通常モードにおいて、メインCPU41は、第3アクセス経路を介して、画像処理用SRAM(内部メモリ)44にアクセスする。   The register I / F 63, the image processing memory I / F (an example of “internal memory I / F”) 81, and the first sleep SRAM selector 72 constitute a third access path. In the normal mode, the main CPU 41 accesses the image processing SRAM (internal memory) 44 via the third access path.

さらに、第1スリープSRAM−I/F64および第1スリープSRAMセレクタ72によって第4アクセス経路が構成される。ここで、第1スリープSRAM−I/F(「低電力内部メモリI/F」の一例)64は、画像処理メモリI/F81よりも消費電力が少ない。すなわち、画像処理メモリI/F81は、画像データの処理に利用されるため、回路規模が大きい。一方、第1スリープSRAM−I/F64の回路規模は小さく、消費電力が少ない。   Further, the first sleep SRAM-I / F 64 and the first sleep SRAM selector 72 constitute a fourth access path. Here, the first sleep SRAM-I / F (an example of “low power internal memory I / F”) 64 consumes less power than the image processing memory I / F 81. That is, since the image processing memory I / F 81 is used for processing image data, the circuit scale is large. On the other hand, the first sleep SRAM-I / F 64 has a small circuit scale and low power consumption.

第1スリープSRAMセレクタ72は、画像処理メモリI/F81、第1スリープSRAM−I/F64および画像処理用SRAM44に接続され、画像処理用SRAM44と、画像処理メモリI/F81あるいは第1スリープSRAM−I/F64との接続を選択する。   The first sleep SRAM selector 72 is connected to the image processing memory I / F 81, the first sleep SRAM-I / F 64, and the image processing SRAM 44. The image processing SRAM 44 and the image processing memory I / F 81 or the first sleep SRAM- Select connection with I / F64.

第4アクセス経路は、画像処理用SRAM44にアクセスするために、通常モードから省電力モードへの切替時においては、メインCPU41およびサブCPU42によって使用され、省電力モードにおいては、サブCPU42によって利用される。   In order to access the image processing SRAM 44, the fourth access path is used by the main CPU 41 and the sub CPU 42 when switching from the normal mode to the power saving mode, and is used by the sub CPU 42 in the power saving mode. .

なお、本実施形態では、第2スリープSRAM−I/F(「経路切替部」の一例)65は、通常モードから省電力モードへの切替時に、メインCPU41の制御に応じて、第1スリープSRAM−I/F64および第1スリープSRAMセレクタ72を制御して第3アクセス経路を第4アクセス経路に切替える(切替信号Sk2,Sk3)。また、省電力モードにおいては、SDRAM−I/F66および画像処理メモリI/F81へのクロック信号の供給が停止される。
また、本実施形態では、ネットワークI/F67からのDMAアドレス(論理アドレス)のアドレスデコードは、例えば、高速度BUSアービタ54によって行われる。その際、ネットワークI/F67からのDMAアドレスは、SDRAM34および画像処理用SRAM44に対して、共通の物理アドレスとして第2スリープSRAMセレクタ73に供給される。
In the present embodiment, the second sleep SRAM-I / F (an example of the “path switching unit”) 65 is configured to switch the first sleep SRAM according to the control of the main CPU 41 when switching from the normal mode to the power saving mode. The I / F 64 and the first sleep SRAM selector 72 are controlled to switch the third access path to the fourth access path (switching signals Sk2, Sk3). In the power saving mode, the supply of the clock signal to the SDRAM-I / F 66 and the image processing memory I / F 81 is stopped.
In this embodiment, the address decoding of the DMA address (logical address) from the network I / F 67 is performed by the high-speed BUS arbiter 54, for example. At this time, the DMA address from the network I / F 67 is supplied to the second sleep SRAM selector 73 as a common physical address to the SDRAM 34 and the image processing SRAM 44.

3.モード切替時のASICの動作
次に、図3および図4を参照して、通常モード(ノーマルモード)から省電力モード(スリープモード)へのモード切替時のASIC31の動作を説明する。図3は、モード切替時のメインCPU41およびサブCPU42の各処理を示すフローチャートであり、図4は、モード切替に係るASIC(CPU)のメモリアドレスマップ(論理アドレスマップ)の遷移を示す説明図である。なお、図4のアドレスマップにおいて、通常モード時にSDRAM34のアドレス空間(アドレス領域)とされるアドレス空間、すなわち、アドレス(0x2000_0000)以降のアドレス空間が、高速度BUSアービタ54からアクセス可能な空間である。
3. Operation of ASIC at Mode Switching Next, the operation of the ASIC 31 at the time of mode switching from the normal mode (normal mode) to the power saving mode (sleep mode) will be described with reference to FIGS. 3 and 4. FIG. 3 is a flowchart showing each process of the main CPU 41 and the sub CPU 42 at the time of mode switching, and FIG. 4 is an explanatory diagram showing transition of the memory address map (logical address map) of the ASIC (CPU) related to mode switching. is there. In the address map of FIG. 4, the address space that is the address space (address area) of the SDRAM 34 in the normal mode, that is, the address space after the address (0x2000_0000) is a space that can be accessed from the high-speed BUS arbiter 54. .

プリンタ30の電源がONされると、メインCPU(CPU0)41がリセット解除(リセット)され(ステップS100)、メインCPU41は通常モードにおいて通常動作する(ステップS105)。通常動作は、所定時間、プリンタ30に対する動作指令がされない等のスリープ状態突入条件が揃うまで(ステップS110:NO判定)継続される。   When the power of the printer 30 is turned on, the main CPU (CPU0) 41 is reset (reset) (step S100), and the main CPU 41 operates normally in the normal mode (step S105). The normal operation is continued for a predetermined time until the sleep state entry condition such as no operation command is issued to the printer 30 (step S110: NO determination).

スリープ状態突入条件が揃うと(ステップS110:YES判定)、メインCPU41は、画像処理メモリI/F81から画像処理用SRAM44へのアクセス経路(第3アクセス経路)を、第2スリープSRAM−I/F65および第1スリープSRAMセレクタ72を制御して、OFFする(ステップS115)。すなわち、図4の(2)モード切替時(モード変更準備段階)の「レジスタIF」に示されるように、通常モードにおいて「画像処理用SRAM」として使用されていた、メモリマップの領域が「未使用」とされる。   When the sleep state entry conditions are met (step S110: YES determination), the main CPU 41 sets the access path (third access path) from the image processing memory I / F 81 to the image processing SRAM 44 as the second sleep SRAM-I / F 65. Then, the first sleep SRAM selector 72 is controlled to be turned off (step S115). That is, as shown in (2) mode switching (mode change preparation stage) in FIG. 4 in the “register IF”, the area of the memory map used as “image processing SRAM” in the normal mode is “not yet”. "Use".

また、メインCPU41は、画像処理ブロック80を含め、スリープ状態において使用しない回路ブロックの動作を停止し(ステップS120)、第2スリープSRAM−I/F65の切替え動作を制御して、第1スリープSRAM−I/F64(第4アクセス経路)の動作を有効にする(ステップS125)。ここで、ステップS115およびステップS125が、「第2経路切替工程」に相当する。   Also, the main CPU 41 stops the operation of the circuit blocks that are not used in the sleep state, including the image processing block 80 (step S120), and controls the switching operation of the second sleep SRAM-I / F 65 to control the first sleep SRAM. -Enable the operation of the I / F 64 (fourth access route) (step S125). Here, Step S115 and Step S125 correspond to a “second route switching step”.

そして、メインCPU41は、サブCPU(CPU1)42用のプログラムを外部ROM32またはSDRAM34から読み出す。次いで、メインCPU41は、第1スリープSRAM−I/F64の経路(第4アクセス経路)を利用して、図4の(2)モード切替時の「画像処理用SRAM使用状況」に示されるように、画像処理用SRAM44の所定の領域にサブCPU42用のプログラムを格納する(ステップS130)。   Then, the main CPU 41 reads a program for the sub CPU (CPU 1) 42 from the external ROM 32 or the SDRAM 34. Next, the main CPU 41 uses the route (fourth access route) of the first sleep SRAM-I / F 64 as shown in (2) “Image processing SRAM usage status” at the time of mode switching in FIG. 4. Then, the program for the sub CPU 42 is stored in a predetermined area of the image processing SRAM 44 (step S130).

次いで、メインCPU41は、サブCPU42をリセット解除し、サブCPU42へのクロック供給を開始する(ステップS135)。すると、サブCPU42は、クロック供給を受け動作を開始する。すなわち、サブCPU42は、第1スリープSRAM−I/F64の経路(第4アクセス経路)を介して、画像処理用SRAM44からプログラムの読み出し(フェッチ)を開始する(ステップS140)。   Next, the main CPU 41 cancels the reset of the sub CPU 42 and starts supplying the clock to the sub CPU 42 (step S135). Then, the sub CPU 42 receives the clock and starts the operation. That is, the sub CPU 42 starts reading (fetching) the program from the image processing SRAM 44 via the first sleep SRAM-I / F 64 path (fourth access path) (step S140).

次いで、サブCPU42は、所定の初期化動作を行うとともに(ステップS145)、初期化動作の終了等の正常動作開始に関するメッセージをメインCPU41に送信する(ステップS150)。この段階で画像処理ブロック80のクロックを停止することができる。   Next, the sub CPU 42 performs a predetermined initialization operation (step S145), and transmits a message regarding normal operation start such as the end of the initialization operation to the main CPU 41 (step S150). At this stage, the clock of the image processing block 80 can be stopped.

メインCPU41は、サブCPU42からのメッセージを受信すると(ステップS155)、自身へのクロックを停止させて、クロック停止の情報をサブCPU42に通知するとともに、自身の動作を停止する(ステップS160,S165)。なお、停止中のメインCPU41は、プリンタ30に動作指示があると、割り込み信号で停止解除される。すなわち、通常モードに復帰する。   When the main CPU 41 receives a message from the sub CPU 42 (step S155), the main CPU 41 stops the clock to itself, notifies the sub CPU 42 of clock stop information, and stops its own operation (steps S160 and S165). . The stopped main CPU 41 is canceled by an interrupt signal when an operation instruction is given to the printer 30. That is, the normal mode is restored.

サブCPU42は、メインCPU41のクロック停止を確認すると(ステップS170:YES判定)、第2スリープSRAM−I/F65の切替え動作を制御して、第1アクセス経路を無効にするとともに、第2アクセス経路を有効にする(ステップS175:「第1経路切替工程」に相当)。すなわち、第2スリープSRAMセレクタ73、第2スリープSRAM−I/F65、および第1スリープSRAMセレクタ72によって構成される第2アクセス経路が有効にされ、省電力モードにおいて、ネットワークI/F(外部I/F)67から画像処理用SRAM44へのアクセスが可能とされる。   When the sub CPU 42 confirms that the clock of the main CPU 41 is stopped (step S170: YES determination), the sub CPU 42 controls the switching operation of the second sleep SRAM-I / F 65, invalidates the first access path, and also sets the second access path. Is enabled (corresponding to “step S175:“ first route switching step ”). That is, the second access path configured by the second sleep SRAM selector 73, the second sleep SRAM-I / F 65, and the first sleep SRAM selector 72 is enabled, and the network I / F (external I / F) is set in the power saving mode. / F) 67 can access the image processing SRAM 44.

また、サブCPU42は、画像処理ブロック80とSDRAM−I/F66へのクロック信号の供給を停止し、画像処理ブロック80とSDRAM−I/F66の動作を停止させる。   Further, the sub CPU 42 stops the supply of the clock signal to the image processing block 80 and the SDRAM-I / F 66, and stops the operations of the image processing block 80 and the SDRAM-I / F 66.

そして、省電力モードにおいてネットワークI/F67からのデータ受信があった場合(ステップS180:YES判定)、サブCPU42の制御に応じて、ネットワークI/F67からの受信データが、第2スリープSRAM−I/F65の経路、すなわち第2アクセス経路を介して画像処理用SRAM44の所定領域に書き込まれる(ステップS185)。この所定領域は、図4の(3)省電力モード時の「画像処理用SRAM使用状況」の「DMAエリア」に相当する。「DMAエリア」は、通常モード時にネットワークI/F67が使用していたアドレス領域(物理アドレス領域)である。   When data is received from the network I / F 67 in the power saving mode (step S180: YES determination), the received data from the network I / F 67 is changed to the second sleep SRAM-I according to the control of the sub CPU 42. The data is written into a predetermined area of the image processing SRAM 44 via the / F65 path, that is, the second access path (step S185). This predetermined area corresponds to “DMA area” of “Image processing SRAM usage status” in (3) power saving mode of FIG. The “DMA area” is an address area (physical address area) used by the network I / F 67 in the normal mode.

このとき、サブCPU42は、第2スリープSRAM−I/F65による経路切替えを制御して、通常モードにおいてSDRAM34(外部メモリ)用のアドレスがマッピングされていたアドレス空間(論理アドレス領域)を、画像処理用SRAM44(内部メモリ)用のアドレス空間に切替える。すなわち、例えば、図4の(3)省電力モード時の「メモリアドレスマップ」に示されるように、通常モードにおいてSDRAM34用に割り当てられていたアドレス(0x2000_0000)以降のアドレス空間が、省電力モードにおいて、画像処理用SRAM44用のアドレス空間に割り当て変更される。   At this time, the sub CPU 42 controls the path switching by the second sleep SRAM-I / F 65 to perform image processing on the address space (logical address area) to which the address for the SDRAM 34 (external memory) is mapped in the normal mode. The address space for the SRAM 44 (internal memory) is switched. That is, for example, as shown in (3) “Memory Address Map” in the power saving mode in FIG. 4, the address space after the address (0x2000_0000) allocated for the SDRAM 34 in the normal mode is in the power saving mode. The address space for the image processing SRAM 44 is changed.

そのため、省電力モードにおいて、ネットワークI/F67からの受信データを画像処理用SRAM44に書き込む際に、ネットワークI/FのDMAアドレスを変更する必要がなく、その際の処理効率が向上される。   Therefore, it is not necessary to change the DMA address of the network I / F when writing the received data from the network I / F 67 to the image processing SRAM 44 in the power saving mode, and the processing efficiency at that time is improved.

なお、図4に示されるように、図4の(1)通常モードにおいては、画像処理用SRAM44内へは、メインCPU41によって、例えば、アドレス(0x1C00_0000)のレジスタI/F63用のアドレスからアクセス可能である。   As shown in FIG. 4, in the (1) normal mode of FIG. 4, the image processing SRAM 44 can be accessed by the main CPU 41 from, for example, the address for the register I / F 63 of the address (0x1C00_0000). It is.

また、図4の(2)モード切替時(モード変更準備段階)においては、画像処理用SRAM44内へは、メインCPU41あるいはサブCPU42によって、例えば、アドレス(0x1900_0000)の画像処理用SRAM44用のアドレスからアクセス可能である。   Further, in (2) mode switching (mode change preparation stage) in FIG. 4, the main CPU 41 or the sub CPU 42 enters the image processing SRAM 44 from, for example, the address for the image processing SRAM 44 at the address (0x1900_0000). Is accessible.

また、図4の(3)省電力モードにおいては、画像処理用SRAM44内へは、サブCPU42からは、例えば、アドレス(0x1900_0000)およびアドレス(0x2000_0000)の画像処理用SRAM44用のアドレスからアクセス可能である。一方、ネットワークI/F67からは、例えば、アドレス(0x2000_0000)の画像処理用SRAM44用のアドレスからアクセス可能である。   In (3) power saving mode of FIG. 4, the image processing SRAM 44 can be accessed from the sub CPU 42 from, for example, the address for the image processing SRAM 44 at address (0x1900_0000) and address (0x2000_0000). is there. On the other hand, the network I / F 67 can be accessed from, for example, the address for the image processing SRAM 44 at the address (0x2000_0000).

3−1.ASICの経路切替え動作と各モードとの関係
次に、ASIC31の経路切替え動作を、図4の(1)通常モード、(2)モード切替時、および(3)省電力モードと関連させて、説明する。
3-1-1.
画像処理が終了し、次の動作指令が所定時間なされないと、プリンタ30はスリープモードの前にスタンバイモードに入る。スタンバイモードにおいて、メインCPU41はレジスタI/F63を介して第2スリープSRAM−I/F65内の設定レジスタに第1スリープSRAMセレクタ72の回路が経路F1から画像処理用SRAM44にアクセスする経路(第3アクセス経路)を遮断し、経路F2、F3から画像処理用SRAM44にアクセスする経路を有効にする(切替信号Sk2)。このとき、図4の(1)通常モードから(2)モード切替時(モード変更準備段階)に切替る。
3-1. Relationship between ASIC Path Switching Operation and Each Mode Next, the path switching operation of the ASIC 31 will be described in relation to (1) normal mode, (2) mode switching, and (3) power saving mode in FIG. To do.
3-1-1.
When the image processing is completed and the next operation command is not issued for a predetermined time, the printer 30 enters the standby mode before the sleep mode. In the standby mode, the main CPU 41 accesses the setting register in the second sleep SRAM-I / F 65 via the register I / F 63 to access the circuit for the first sleep SRAM selector 72 from the path F1 to the image processing SRAM 44 (third The access path) is blocked, and the path for accessing the image processing SRAM 44 from the paths F2 and F3 is enabled (switching signal Sk2). At this time, the mode is switched from (1) normal mode to (2) mode switching (mode change preparation stage) in FIG.

3-1-2.
メインCPU41はサブCPU42のプログラムを外部デバイス(SDRAM34または外部ROM32)から読み出し、低速度BUSアービタ53と第1スリープSRAM−I/F64を介して画像処理用SRAM44にサブCPU42のプログラムを書き込む。このとき、図4の(2)モード切替時の状態のままである。
3-1-2.
The main CPU 41 reads the program of the sub CPU 42 from the external device (SDRAM 34 or external ROM 32), and writes the program of the sub CPU 42 to the image processing SRAM 44 via the low-speed BUS arbiter 53 and the first sleep SRAM-I / F 64. At this time, the state at the time of (2) mode switching of FIG. 4 remains.

3-1-3.
次いで、サブCPU42のプログラムのコピーが終了した場合、メインCPU41はサブCPU42を起動する。サブCPU42は低速度BUSアービタ53、第1スリープSRAM−I/F64を介して画像処理用SRAM44からプログラムをフェッチする。このとき、図4の(2)モード切替時の状態のままである。
3-1-3.
Next, when copying of the program of the sub CPU 42 is completed, the main CPU 41 activates the sub CPU 42. The sub CPU 42 fetches a program from the image processing SRAM 44 via the low-speed BUS arbiter 53 and the first sleep SRAM-I / F 64. At this time, the state at the time of (2) mode switching of FIG. 4 remains.

3-1-4.
サブCPU42は、高速度BUSアービタ54に接続されるCPU41およびその他の回路からSDRAM34へのアクセスが終了し、メインCPU41がスリープモードに入ったことを確認する。その後、サブCPU42は、第2スリープSRAM−I/F65内の設定レジスタを設定して、第2スリープSRAMセレクタ73から経路G1への経路を遮断し、経路G2への経路を有効にする(切替信号Sk1)。このとき、図4の(2)モード切替時から(3)省電力モード(スリープモード)に切替る。
3-1-4.
The sub CPU 42 confirms that the access to the SDRAM 34 from the CPU 41 and other circuits connected to the high-speed BUS arbiter 54 is completed and the main CPU 41 enters the sleep mode. Thereafter, the sub CPU 42 sets a setting register in the second sleep SRAM-I / F 65, blocks the path from the second sleep SRAM selector 73 to the path G1, and enables the path to the path G2 (switching). Signal Sk1). At this time, the mode is switched from (2) mode switching to (3) power saving mode (sleep mode) in FIG.

3-1-5.
それによって、ネットワークI/F67は高速度BUSアービタ54、第2スリープSRAMセレクタ73、および第2スリープSRAM−I/F65を介して、すなわち、第2アクセス経路を介して画像処理用SRAM44にデータを送信することができる。このとき、図4の(3)省電力モードの状態のままである。
3-1-5.
Thereby, the network I / F 67 sends data to the image processing SRAM 44 via the high-speed BUS arbiter 54, the second sleep SRAM selector 73, and the second sleep SRAM-I / F 65, that is, via the second access path. Can be sent. At this time, it remains in the state of (3) power saving mode in FIG.

ここで、スリープモード(省電力モード)時、画像処理用SRAM44には経路F2および経路F3の2経路でアクセスするが、その調停は、第2スリープSRAM−I/F65で行っている。なお、本実施形態では、各種経路の切替えを行う経路切替部を第2スリープSRAM−I/F65によって構成しているが、これには限られない。また、第1スリープSRAMセレクタ72によって、第2経路セレクタおよび第3経路セレクタを構成する例を示しているが、第2経路セレクタおよび第3経路セレクタを個別の経路セレクタによって構成するようにしてもよい。   Here, in the sleep mode (power saving mode), the image processing SRAM 44 is accessed through the two routes of the route F2 and the route F3. The arbitration is performed by the second sleep SRAM-I / F 65. In the present embodiment, the path switching unit that switches various paths is configured by the second sleep SRAM-I / F 65, but is not limited thereto. Further, although the second sleep selector and the third route selector are configured by the first sleep SRAM selector 72, the second route selector and the third route selector may be configured by individual route selectors. Good.

ここで、画像処理用SRAM44は同期式SRAMであり、例えば、その動作クロックの1/2の周波数のクロック信号を生成する。そして、例えば、1/2分周クロック信号がロー(L)の場合は経路F2によって、ハイ(H)の場合は経路F3によって画像処理用SRAM44にアクセスできるように第1スリープSRAMセレクタ72が制御される。   Here, the image processing SRAM 44 is a synchronous SRAM, and generates, for example, a clock signal having a frequency half that of the operation clock. Then, for example, the first sleep SRAM selector 72 controls the image processing SRAM 44 so that it can be accessed by the path F2 when the 1/2 frequency-divided clock signal is low (L) and by the path F3 when it is high (H). Is done.

この場合、第1、第2スリープSRAMセレクタ72、73は、単純な切替(スイッチ)なので、回路規模が小さくできる。また、スリープモード時も高速度BUSアービタ54をそのまま調停回路として使用しているので、第2スリープSRAM−I/F65の回路規模も小さくできる。   In this case, since the first and second sleep SRAM selectors 72 and 73 are simple switching (switches), the circuit scale can be reduced. Further, since the high-speed BUS arbiter 54 is used as it is as an arbitration circuit even in the sleep mode, the circuit scale of the second sleep SRAM-I / F 65 can be reduced.

4.実施形態の効果
本実施形態においては、省電力モードにおいて、ネットワーク20からネットワークI/F67を介して、SDRAM(外部メモリ)34より消費電力の少ない画像処理用SRAM(内部メモリ)44にアクセスすることができる。また、省電力モードにおいて、簡易な回路構成(65,72,73)による経路切替えによって、SDRAM用のアドレスマップ領域(論理アドレス空間)に画像処理用SRAM用のアドレス空間(論理アドレス空間)が配置される。そのため、省電力モードにおいて、ネットワークI/F67を介して画像処理用SRAM44にアクセスする際に、ネットワークI/F67のDMAアドレスを変更する必要がない。したがって、省電力モード(待機状態)でのネットワーク20からの画像処理用SRAM44へのアクセス要求時の処理効率および省電力化の向上を図ることができる。
4). Effects of the Embodiment In the present embodiment, in the power saving mode, the image processing SRAM (internal memory) 44 that consumes less power than the SDRAM (external memory) 34 is accessed from the network 20 via the network I / F 67. Can do. Further, in the power saving mode, the address space (logical address space) for the image processing SRAM is arranged in the address map area (logical address space) for the SDRAM by the path switching by the simple circuit configuration (65, 72, 73). Is done. Therefore, it is not necessary to change the DMA address of the network I / F 67 when accessing the image processing SRAM 44 via the network I / F 67 in the power saving mode. Therefore, it is possible to improve processing efficiency and power saving when requesting access to the image processing SRAM 44 from the network 20 in the power saving mode (standby state).

また、省電力モードにおいて、画像処理ブロック80とSDRAM−I/F66へのクロック信号の供給が停止されるため、より低消費電力化できる。   Further, in the power saving mode, the supply of the clock signal to the image processing block 80 and the SDRAM-I / F 66 is stopped, so that the power consumption can be further reduced.

<他の実施形態>
本発明は上記記述及び図面によって説明した実施形態に限定されるものではなく、例えば次のような実施形態も本発明の技術的範囲に含まれる。
<Other embodiments>
The present invention is not limited to the embodiments described with reference to the above description and drawings. For example, the following embodiments are also included in the technical scope of the present invention.

(1)上記実施形態では、省電力モード時にサブCPU42から画像処理用SRAM44へアクセスする際、画像処理ブロック80を介さずに第4アクセス経路を介してアクセスする例を示したがこれに限られない。サブCPU42から画像処理用SRAM44へアクセスする際、画像処理ブロック80を介して、すなわち、従来の第3アクセス経路を介して画像処理用SRAM44にアクセスするようにしてもよい。   (1) In the above embodiment, when accessing the image processing SRAM 44 from the sub CPU 42 in the power saving mode, an example of accessing via the fourth access path without passing through the image processing block 80 has been shown. Absent. When accessing the image processing SRAM 44 from the sub CPU 42, the image processing SRAM 44 may be accessed via the image processing block 80, that is, via the conventional third access path.

この場合、第1スリープSRAM−I/F64は不要となる。この場合のアドレスマップを図5に示す。図5に示されるように、レジスタI/F63に関するアドレス領域は変更されない。しかしながら、上記実施形態と同様に、通常モードにおいてSDRAM34用に割り当てられていたアドレス(0x2000_0000)以降のアドレス空間が、省電力モードにおいて、画像処理用SRAM44用のアドレス空間に変更される。したがって、この場合であっても、省電力モードにおいて、ネットワークI/F67を介して画像処理用SRAM44へアクセスする際、ネットワークI/F67のDMAアドレスを変更する必要がない。   In this case, the first sleep SRAM-I / F 64 is not necessary. An address map in this case is shown in FIG. As shown in FIG. 5, the address area related to the register I / F 63 is not changed. However, as in the above embodiment, the address space after the address (0x2000_0000) assigned to the SDRAM 34 in the normal mode is changed to the address space for the image processing SRAM 44 in the power saving mode. Therefore, even in this case, it is not necessary to change the DMA address of the network I / F 67 when accessing the image processing SRAM 44 via the network I / F 67 in the power saving mode.

(2)上記実施形態では、メインCPU41およびサブCPU42を設け、通常モード時にメインCPU41を利用し、省電力モード時にサブCPU42を利用する例を示したが、これに限られない。一個のCPU(制御部)を設け、通常モード時および省電力モード時において、一個のCPUによって制御するようにしてもよい。すなわち、メインCPU41およびサブCPU42の動作を一個のCPUによって行うようにしてもよい。   (2) In the above embodiment, the main CPU 41 and the sub CPU 42 are provided, the main CPU 41 is used in the normal mode, and the sub CPU 42 is used in the power saving mode. However, the present invention is not limited to this. One CPU (control unit) may be provided and controlled by one CPU in the normal mode and the power saving mode. That is, the operations of the main CPU 41 and the sub CPU 42 may be performed by a single CPU.

30…プリンタ
31…ASIC
41…メインCPU
42…サブCPU
44…画像処理用SRAM
64…第1スリープSRAM−I/F
65…第2スリープSRAM−I/F
67…ネットワークI/F
72…第1スリープSRAMセレクタ
73…第2スリープSRAMセレクタ
30 ... Printer 31 ... ASIC
41 ... Main CPU
42 ... Sub CPU
44 ... SRAM for image processing
64: First sleep SRAM-I / F
65. Second sleep SRAM-I / F
67 ... Network I / F
72 ... First sleep SRAM selector 73 ... Second sleep SRAM selector

Claims (12)

通常モードと、前記通常モードより電力消費の少ない省電力モードとにおいて動作する電子回路であって、
前記通常モードにおいて外部メモリとアクセス可能な制御部と、
前記通常モードおよび前記省電力モードにおいて前記制御部によってアクセスされる、前記外部メモリより消費電力の少ない内部メモリと、
外部ネットワークに接続されるネットワークI/Fと、
前記通常モードにおいて、前記ネットワークI/Fから前記外部メモリへのアクセスを可能とする第1アクセス経路と、
前記省電力モードにおいて、前記ネットワークI/Fから前記内部メモリへのアクセスを可能とする第2アクセス経路と、
前記通常モードから前記省電力モードへの切替時に、前記制御部の制御に応じて、前記第1アクセス経路を前記第2アクセス経路に切替えることによって、前記通常モードにおいて前記外部メモリ用のアドレスがマッピングされていたアドレス空間を、前記内部メモリ用のアドレス空間に切替る経路切替部と、
を備えた電子回路。
An electronic circuit that operates in a normal mode and a power saving mode that consumes less power than the normal mode,
A control unit accessible to the external memory in the normal mode;
An internal memory that is accessed by the control unit in the normal mode and the power saving mode and that consumes less power than the external memory;
A network I / F connected to an external network;
A first access path enabling access from the network I / F to the external memory in the normal mode;
A second access path enabling access from the network I / F to the internal memory in the power saving mode;
When switching from the normal mode to the power saving mode, the address for the external memory is mapped in the normal mode by switching the first access path to the second access path according to the control of the control unit. A path switching unit that switches the address space that has been changed to the address space for the internal memory;
With electronic circuit.
請求項1に記載の電子回路において、
前記第1アクセス経路は、第1経路セレクタおよび外部メモリI/Fを含み、
前記第2アクセス経路は、前記第1経路セレクタ、前記経路切替部、および第2経路セレクタを含み、
前記第1経路セレクタは前記ネットワークI/Fに接続され、
前記第2経路セレクタは前記内部メモリに接続され、
前記経路切替部は、前記通常モードから前記省電力モードへの切替時に、前記第1経路セレクタおよび前記第2経路セレクタの切替えを制御して、前記第1アクセス経路を前記第2アクセス経路に切替える、電子回路。
The electronic circuit according to claim 1.
The first access path includes a first path selector and an external memory I / F,
The second access route includes the first route selector, the route switching unit, and a second route selector,
The first path selector is connected to the network I / F;
The second path selector is connected to the internal memory;
The path switching unit controls switching of the first path selector and the second path selector when switching from the normal mode to the power saving mode, and switches the first access path to the second access path. , Electronic circuit.
請求項1または請求項2に記載の電子回路において、
前記省電力モードにおいて、前記外部メモリI/Fへのクロック信号の供給が停止される、電子回路。
The electronic circuit according to claim 1 or 2,
An electronic circuit in which supply of a clock signal to the external memory I / F is stopped in the power saving mode.
請求項1から請求項3のいずれか一項に記載の電子回路において、
前記通常モードにおいて前記制御部が前記内部メモリにアクセスするための第3アクセス経路であって、内部メモリI/Fを含む第3アクセス経路と、
前記省電力モードにおいて前記制御部が前記内部メモリにアクセスするための第4アクセス経路であって、前記内部メモリI/Fより消費電力の少ない低電力内部メモリI/Fを含む前記第4アクセス経路と、をさらに備え、
前記経路切替部は、前記通常モードから前記省電力モードへの切替時に、前記制御部の制御に応じて、前記第3アクセス経路を前記第4アクセス経路に切替える、電子回路。
The electronic circuit according to any one of claims 1 to 3,
A third access path for the control unit to access the internal memory in the normal mode, the third access path including an internal memory I / F;
The fourth access path including a low-power internal memory I / F that consumes less power than the internal memory I / F as a fourth access path for the control unit to access the internal memory in the power saving mode And further comprising
The path switching unit is an electronic circuit that switches the third access path to the fourth access path according to the control of the control unit when switching from the normal mode to the power saving mode.
請求項4に記載の電子回路において、
前記第4アクセス経路は、第3経路セレクタを含み、
前記第3経路セレクタは、前記内部メモリI/F、前記低電力内部メモリI/Fおよび前記内部メモリに接続され、前記内部メモリと、前記内部メモリI/Fあるいは前記低電力内部メモリI/Fとの接続を選択し、
前記経路切替部は、前記通常モードから前記省電力モードへの切替時に、前記低電力内部メモリI/Fおよび前記第3経路セレクタを制御して、前記第3アクセス経路を前記第4アクセス経路に切替える、電子回路。
The electronic circuit according to claim 4.
The fourth access path includes a third path selector;
The third path selector is connected to the internal memory I / F, the low power internal memory I / F, and the internal memory, and the internal memory and the internal memory I / F or the low power internal memory I / F. Select the connection with
The path switching unit controls the low-power internal memory I / F and the third path selector to switch the third access path to the fourth access path when switching from the normal mode to the power saving mode. Switching electronic circuit.
請求項5に記載の電子回路において、
前記第2経路セレクタと前記第3経路セレクタとが一個の経路セレクタによって構成される、電子回路。
The electronic circuit according to claim 5,
An electronic circuit in which the second path selector and the third path selector are configured by a single path selector.
請求項4から請求項6のいずれか一項に記載の電子回路において、
前記省電力モードにおいて、前記内部メモリI/Fへのクロック信号の供給が停止される、電子回路。
The electronic circuit according to any one of claims 4 to 6,
An electronic circuit in which the supply of a clock signal to the internal memory I / F is stopped in the power saving mode.
請求項1から請求項7のいずれか一項に記載の電子回路において、
前記制御部は、前記通常モードにおいて動作する第1制御部と、前記省電力モードにおいて動作する第2制御部とを含み、
前記第1制御部は、前記通常モードから前記省電力モードへの切替時に、
前記第2制御部用のプログラムを前記外部メモリから読み出し前記内部メモリに格納した後、前記第2制御部を起動し、その後、自身の動作を停止する、電子回路。
The electronic circuit according to any one of claims 1 to 7,
The control unit includes a first control unit that operates in the normal mode, and a second control unit that operates in the power saving mode,
The first control unit, when switching from the normal mode to the power saving mode,
An electronic circuit that reads a program for the second control unit from the external memory, stores the program in the internal memory, activates the second control unit, and then stops its own operation.
被記録媒体に画像を形成する画像形成装置であって、
請求項1から請求項8のいずれか一項に記載の電子回路と、
前記電子回路の制御に基づいて、画像を形成する画像形成部とを備え、
前記内部メモリI/Fは、画像データを処理するための画像処理用I/Fであり、
前記内部メモリは、前記画像データが格納される画像処理用メモリである、画像形成装置。
An image forming apparatus for forming an image on a recording medium,
An electronic circuit according to any one of claims 1 to 8,
An image forming unit that forms an image based on the control of the electronic circuit;
The internal memory I / F is an image processing I / F for processing image data,
The image forming apparatus, wherein the internal memory is an image processing memory in which the image data is stored.
通常モードと、前記通常モードより電力消費の少ない省電力モードとにおいて動作する電子回路のモード切替えに係る制御方法であって、
前記電子回路は、外部ネットワークに接続されるネットワークI/Fと外部メモリより消費電力の少ない内部メモリを含み、
前記通常モードにおいて、第1アクセス経路を介して前記ネットワークI/Fから前記外部メモリにアクセスする工程と、
前記通常モードから前記省電力モードへの切替時において、前記第1アクセス経路から、前記省電力モードにおいて前記ネットワークI/Fから前記内部メモリへのアクセスを可能とする第2アクセス経路に切替えることによって、前記通常モードにおいて前記外部メモリ用のアドレスがマッピングされていたアドレス空間を、前記内部メモリ用のアドレス空間に切替える第1経路切替工程と、
を含む、電子回路の制御方法。
A control method for mode switching of an electronic circuit that operates in a normal mode and a power-saving mode that consumes less power than the normal mode,
The electronic circuit includes a network I / F connected to an external network and an internal memory that consumes less power than the external memory,
Accessing the external memory from the network I / F via a first access path in the normal mode;
At the time of switching from the normal mode to the power saving mode, by switching from the first access path to a second access path that allows access to the internal memory from the network I / F in the power saving mode. A first path switching step of switching the address space in which the address for the external memory is mapped in the normal mode to the address space for the internal memory;
A method for controlling an electronic circuit.
請求項10に記載の方法において、
前記電子回路は、前記通常モードにおいて動作する第1制御部と、前記省電力モードにおいて動作する第2制御部とを含み、
前記通常モードから前記省電力モードへの切替時において、
内部メモリI/Fを含む第3アクセス経路から、前記内部メモリI/Fより消費電力の少ない低電力内部メモリI/Fを含む第4アクセス経路に切替える第2経路切替工程と、
前記第1制御部によって、前記第2制御部用のプログラムを前記外部メモリから読み出し、前記第4アクセス経路を介して該プログラムを前記内部メモリに格納する工程と、
前記第1制御部によって、前記第2制御部を起動し、当該第1制御部の動作を停止する工程と、
をさらに含み、
その後、前記第1経路切替工程が、前記第2制御部の制御に応じて実行される、電子回路の制御方法。
The method of claim 10, wherein
The electronic circuit includes a first control unit that operates in the normal mode, and a second control unit that operates in the power saving mode,
At the time of switching from the normal mode to the power saving mode,
A second path switching step of switching from a third access path including an internal memory I / F to a fourth access path including a low-power internal memory I / F that consumes less power than the internal memory I / F;
Reading the program for the second control unit from the external memory by the first control unit, and storing the program in the internal memory via the fourth access path;
Starting the second control unit by the first control unit and stopping the operation of the first control unit;
Further including
Thereafter, the electronic circuit control method, wherein the first path switching step is executed according to the control of the second control unit.
請求項10または請求項11に記載の方法において、
前記電子回路は、被記録媒体に画像を形成する画像形成装置に配置され、画像形成の制御に利用される電子回路であり、
前記内部メモリI/Fは、画像データを処理するための画像処理用I/Fであり、
前記内部メモリは、前記画像データが格納される画像処理用メモリである、
電子回路の制御方法。
12. A method according to claim 10 or claim 11, wherein
The electronic circuit is an electronic circuit that is disposed in an image forming apparatus that forms an image on a recording medium and is used for image formation control.
The internal memory I / F is an image processing I / F for processing image data,
The internal memory is an image processing memory in which the image data is stored.
Electronic circuit control method.
JP2010050633A 2010-03-08 2010-03-08 Electronic circuit, control method thereof and image forming apparatus Pending JP2011186731A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2010050633A JP2011186731A (en) 2010-03-08 2010-03-08 Electronic circuit, control method thereof and image forming apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2010050633A JP2011186731A (en) 2010-03-08 2010-03-08 Electronic circuit, control method thereof and image forming apparatus

Publications (1)

Publication Number Publication Date
JP2011186731A true JP2011186731A (en) 2011-09-22

Family

ID=44792925

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2010050633A Pending JP2011186731A (en) 2010-03-08 2010-03-08 Electronic circuit, control method thereof and image forming apparatus

Country Status (1)

Country Link
JP (1) JP2011186731A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107209721A (en) * 2015-02-20 2017-09-26 高通股份有限公司 Local and non-local memory adaptive memory is accessed

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107209721A (en) * 2015-02-20 2017-09-26 高通股份有限公司 Local and non-local memory adaptive memory is accessed
CN107209721B (en) * 2015-02-20 2020-10-23 高通股份有限公司 Adaptive memory access to local and non-local memory

Similar Documents

Publication Publication Date Title
EP2476037B1 (en) Managing resources to facilitate altering the number of active processors
KR101324885B1 (en) Coordinating performance parameters in multiple circuits
JP6092649B2 (en) Arithmetic unit, array type arithmetic unit, control method therefor, and information processing system
JP5780769B2 (en) Data processing apparatus, control method and program thereof, and storage medium
JP2011095916A (en) Electronic apparatus
JP2007011652A (en) Information processing apparatus, and program for making computer execute power control method
TWI553549B (en) Processor including multiple dissimilar processor cores
JP2010211351A (en) Semiconductor integrated circuit, power saving control method, power saving control program, and recording medium
JPH06318142A (en) Device and method for information processing
JP6590718B2 (en) Information processing apparatus and control method thereof
JP2006004284A (en) Controller, information processor, control method, power saving control program, and recording medium
JP5783348B2 (en) Control device, control program, and image forming apparatus
JP2011013775A (en) Information-processing device, method for controlling information-processing device, and program
JP2011186731A (en) Electronic circuit, control method thereof and image forming apparatus
JP2011248780A (en) Execution control method for program
JP2008225608A (en) Memory controller for controlling memory, memory module, and memory control method
JP2020127184A (en) Electronic apparatus including device connected with pci device and capable of shifting to power saving state, and control method thereof
JP5966305B2 (en) Printing device
JP2011013836A (en) Memory arrangement management device and microprocessor
JP2021005249A (en) Information processing device, image forming device, and power saving control method
JP2006110823A (en) Controller, image forming apparatus and electric power source controlling method
JP2010068355A (en) Electronic apparatus and method of controlling the same
JP2006260092A (en) Information processor or data transfer controller
JP2016103112A (en) Data transfer control device, information processing device, and image forming apparatus
JP4839936B2 (en) Information processing apparatus and information processing method