JP2008005300A - Computer device and printing device - Google Patents

Computer device and printing device Download PDF

Info

Publication number
JP2008005300A
JP2008005300A JP2006173838A JP2006173838A JP2008005300A JP 2008005300 A JP2008005300 A JP 2008005300A JP 2006173838 A JP2006173838 A JP 2006173838A JP 2006173838 A JP2006173838 A JP 2006173838A JP 2008005300 A JP2008005300 A JP 2008005300A
Authority
JP
Japan
Prior art keywords
data
memory
processor
communication interface
size
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
JP2006173838A
Other languages
Japanese (ja)
Inventor
Takayuki Sakamoto
貴幸 坂本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2006173838A priority Critical patent/JP2008005300A/en
Publication of JP2008005300A publication Critical patent/JP2008005300A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Record Information Processing For Printing (AREA)
  • Bus Control (AREA)
  • Facsimiles In General (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To enable each of a plurality of processors to efficiently access individual memories. <P>SOLUTION: A computer device has a first processor, a second processor, a first memory, a second memory, a communication interface, and a DMA controller. The communication interface receives, as external data, processing data processed by the second processor, and size data concerning the size of the processing data. The size data received here is stored in the first memory. The first processor issues a command to the DMA controller, to transfer the processing data received from the communication interface to the second memory, based on the size data stored in the first memory. The second processor processes the processing data transferred to the second memory by the DMA controller. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、外部から受信したデータを処理する2つ以上のプロセッサを備えたコンピュータ装置および印刷装置に関する。   The present invention relates to a computer apparatus and a printing apparatus including two or more processors that process data received from outside.

近年、媒体に対して印刷を施す印刷部と、原稿から画像を読み取るスキャナ部とを備えた複合機とも呼ばれる複合装置が知られている。この複合装置は、原稿から画像を読み取って画像データを生成してパソコンなどの外部のコンピュータに向けて出力するスキャナ機能や、パソコンなどの外部のコンピュータから送られてきた印刷データに基づき各種媒体に印刷を施す印刷機能をはじめ、原稿から読み取った画像を媒体に印刷して複写するローカルコピー機能などを備えている。   2. Description of the Related Art In recent years, there has been known a multifunction device called a multifunction device including a printing unit that performs printing on a medium and a scanner unit that reads an image from a document. This composite device reads images from a document, generates image data and outputs it to an external computer such as a personal computer, and various media based on print data sent from an external computer such as a personal computer. In addition to a printing function for performing printing, a local copy function for printing and copying an image read from a document on a medium is provided.

このような複合装置は、装置全体の制御を司るCPUのほかに、原稿から読み取った画像を媒体に印刷をするための印刷データに変換するためのプロセッサをはじめとする各種プロセッサを備えている。これらCPUや各種プロセッサには、それぞれに対応して2つのメモリが設けられている。CPUは、これら2つのメモリのうちの一方に対して高速にアクセスをすることができるようになっている。他方、各種プロセッサは、これら2つのメモリのうちの他方に対して高速にアクセスをすることができるようになっている。
特開2004−98636号公報
In addition to a CPU that controls the entire apparatus, such a composite apparatus includes various processors including a processor for converting an image read from a document into print data for printing on a medium. Each of these CPUs and various processors is provided with two memories. The CPU can access one of these two memories at high speed. On the other hand, various processors can access the other of these two memories at high speed.
JP 2004-98636 A

このような複合装置において、外部のコンピュータ等から印刷データ等の各種データを受信した場合、その受信データを、CPUおよび各種プロセッサに対応する2つのメモリのうちのいずれか一方に格納することができる。しかしながら、ここで外部のコンピュータ等から受信される印刷データ等の各種データには、CPUが処理すべきデータと、各種プロセッサが処理すべきデータとが含まれていることがある。このように2つのタイプのデータが外部のコンピュータ等から受信されるデータに含まれている場合に、CPUおよび各種プロセッサに対応する2つのメモリのうちのいずれか一方に格納したときに、CPUおよび各種プロセッサのうちのいずれか一方がアクセスし難くなるという問題が発生した。すなわち、外部から受信したデータがCPUに対応するメモリに格納された場合には、そのデータに対して各種プロセッサからのアクセスがし難くなる。また、外部から受信したデータが各種プロセッサに対応するメモリに格納された場合には、そのデータに対してCPUからのアクセスがし難くなる。これにより、CPUまたは各種プロセッサにより実行される処理が遅れ、全体的に処理がスムーズに行われなくなる場合が発生する虞が生じた。   In such a composite apparatus, when various data such as print data is received from an external computer or the like, the received data can be stored in one of two memories corresponding to the CPU and various processors. . However, various data such as print data received from an external computer or the like here may include data to be processed by the CPU and data to be processed by various processors. As described above, when two types of data are included in data received from an external computer or the like, when stored in one of the two memories corresponding to the CPU and various processors, the CPU and There was a problem that one of the various processors became difficult to access. That is, when data received from the outside is stored in a memory corresponding to the CPU, it is difficult to access the data from various processors. In addition, when data received from the outside is stored in a memory corresponding to various processors, it becomes difficult for the CPU to access the data. As a result, processing executed by the CPU or various processors is delayed, and there is a possibility that the processing may not be performed smoothly as a whole.

本発明は、このような事情に鑑みてなされたものであって、その目的は、複数のプロセッサがそれぞれ個別に複数のメモリに効率良くアクセスをすることができるようにすることにある。   The present invention has been made in view of such circumstances, and an object thereof is to enable a plurality of processors to efficiently access a plurality of memories individually.

前記目的を達成するための主たる発明は、
(A)第1プロセッサおよび第2プロセッサと、
(B)第1メモリおよび第2メモリと、
(C)外部からのデータを受信する通信インターフェイスと、
(D)前記通信インターフェイスにより受信されたデータを前記第2メモリに転送するDMAコントローラと、
を備え、
前記通信インターフェイスにより受信される前記データには、前記第2プロセッサが処理をする処理用データと、当該処理用データのサイズに関するサイズデータとが含まれ、
前記サイズデータが前記第1メモリに格納され、
前記第1プロセッサは、前記第1メモリに格納された前記サイズデータに基づき、前記DMAコントローラに対して、前記通信インターフェイスにより受信された前記処理用データを前記第2メモリに転送する命令を発行し、
前記第2プロセッサは、前記DMAコントローラにより前記第2メモリに転送された前記処理用データについて処理をすることを特徴とするコンピュータ装置である。
The main invention for achieving the object is as follows:
(A) a first processor and a second processor;
(B) a first memory and a second memory;
(C) a communication interface for receiving data from the outside;
(D) a DMA controller that transfers data received by the communication interface to the second memory;
With
The data received by the communication interface includes processing data to be processed by the second processor and size data regarding the size of the processing data.
The size data is stored in the first memory;
The first processor issues an instruction to the DMA controller to transfer the processing data received by the communication interface to the second memory based on the size data stored in the first memory. ,
The second processor is a computer device that processes the processing data transferred to the second memory by the DMA controller.

本発明の他の特徴は、本明細書及び添付図面の記載により明らかにする。   Other features of the present invention will become apparent from the description of the present specification and the accompanying drawings.

本明細書及び添付図面の記載により、少なくとも以下の事項が明らかとなる。   At least the following matters will become apparent from the description of the present specification and the accompanying drawings.

(A)第1プロセッサおよび第2プロセッサと、
(B)第1メモリおよび第2メモリと、
(C)外部からのデータを受信する通信インターフェイスと、
(D)前記通信インターフェイスにより受信されたデータを前記第2メモリに転送するDMAコントローラと、
を備え、
前記通信インターフェイスにより受信される前記データには、前記第2プロセッサが処理をする処理用データと、当該処理用データのサイズに関するサイズデータとが含まれ、
前記サイズデータが前記第1メモリに格納され、
前記第1プロセッサは、前記第1メモリに格納された前記サイズデータに基づき、前記DMAコントローラに対して、前記通信インターフェイスにより受信された前記処理用データを前記第2メモリに転送する命令を発行し、
前記第2プロセッサは、前記DMAコントローラにより前記第2メモリに転送された前記処理用データについて処理をすることを特徴とするコンピュータ装置。
(A) a first processor and a second processor;
(B) a first memory and a second memory;
(C) a communication interface for receiving data from the outside;
(D) a DMA controller that transfers data received by the communication interface to the second memory;
With
The data received by the communication interface includes processing data to be processed by the second processor and size data regarding the size of the processing data.
The size data is stored in the first memory;
The first processor issues an instruction to the DMA controller to transfer the processing data received by the communication interface to the second memory based on the size data stored in the first memory. ,
The computer apparatus, wherein the second processor processes the processing data transferred to the second memory by the DMA controller.

このようなコンピュータ装置にあっては、通信インターフェイスにより受信された、処理用データのサイズに関するサイズデータが第1メモリに格納され、このサイズデータに基づき、第1プロセッサがDMAコントローラに対して、通信インターフェイスにより受信された処理用データを第2メモリに転送する命令を発行し、第2プロセッサがDMAコントローラにより第2メモリに転送された処理用データについて処理をすることで、第1プロセッサおよび第2プロセッサの処理の効率化を図ることができる。   In such a computer apparatus, the size data relating to the size of the processing data received by the communication interface is stored in the first memory, and the first processor communicates with the DMA controller based on the size data. An instruction for transferring the processing data received by the interface to the second memory is issued, and the second processor processes the processing data transferred to the second memory by the DMA controller, whereby the first processor and the second processor The processing efficiency of the processor can be improved.

かかるコンピュータ装置にあっては、前記第1プロセッサがCPUであっても良い。このように第1プロセッサがCPUであれば、CPUと他のプロセッサの処理の効率化を図ることができる。   In such a computer apparatus, the first processor may be a CPU. As described above, if the first processor is a CPU, it is possible to improve the efficiency of processing of the CPU and other processors.

また、かかるコンピュータ装置にあっては、前記第2プロセッサが画像処理用プロセッサであっても良い。このように第2プロセッサが画像処理用プロセッサであれば、第1プロセッサと画像処理用プロセッサの処理の効率化を図ることができる。   In such a computer apparatus, the second processor may be an image processing processor. Thus, if the second processor is an image processing processor, the processing efficiency of the first processor and the image processing processor can be improved.

また、かかるコンピュータ装置にあっては、前記第1メモリとしてSDRAMを有しても良い。このように第1メモリとしてSDRAMを有していれば、第1プロセッサは、第1メモリに格納されたサイズデータに基づきDMAコントローラに対してスムーズに命令を発行することができる。   In addition, such a computer apparatus may have an SDRAM as the first memory. As described above, if the first memory has the SDRAM, the first processor can issue instructions smoothly to the DMA controller based on the size data stored in the first memory.

また、かかるコンピュータ装置にあっては、前記通信インターフェイスは、前記処理用データおよび前記サイズデータを1つのパケットデータとして受信しても良い。このように通信インターフェイスが、処理用データおよびサイズデータを1つのパケットデータとして受信すれば、第1プロセッサおよび第2プロセッサは、処理用データおよびサイズデータについてスムーズに処理をすることができる。   In this computer apparatus, the communication interface may receive the processing data and the size data as one packet data. As described above, when the communication interface receives the processing data and the size data as one packet data, the first processor and the second processor can smoothly process the processing data and the size data.

また、かかるコンピュータ装置にあっては、前記通信インターフェイスは、前記処理用データよりも先に前記サイズデータを受信しても良い。このように通信インターフェイスが処理用データよりも先にサイズデータを受信すれば、第2プロセッサの処理をスムーズに行うことができる。   In the computer device, the communication interface may receive the size data before the processing data. Thus, if the communication interface receives the size data before the processing data, the processing of the second processor can be performed smoothly.

また、かかるコンピュータ装置にあっては、前記第1プロセッサによる前記第1メモリへのアクセスと、前記第2プロセッサによる前記第2メモリへのアクセスとが異なる経路を通じて行われても良い。このように第1プロセッサによる第1メモリへのアクセスと、第2プロセッサによる第2メモリへのアクセスとが異なる経路を通じて行われれば、第1プロセッサおよび第2プロセッサの処理をスムーズに行うことができる。   In such a computer apparatus, the access to the first memory by the first processor and the access to the second memory by the second processor may be performed through different paths. Thus, if the access to the first memory by the first processor and the access to the second memory by the second processor are performed through different paths, the processing of the first processor and the second processor can be performed smoothly. .

また、かかるコンピュータ装置にあっては、前記第2メモリは、前記第1メモリよりもデータ容量が大きくても良い。このように第2メモリが第1メモリよりもデータ容量が大きければ、処理用データに第2メモリにスムーズに格納することができる。   In the computer device, the second memory may have a data capacity larger than that of the first memory. As described above, if the data capacity of the second memory is larger than that of the first memory, the processing data can be smoothly stored in the second memory.

また、かかるコンピュータ装置にあっては、前記第1プロセッサは、前記第1メモリに対して前記第2メモリに比べて高速にアクセスをすることができても良い。このように第1プロセッサが、第1メモリに対して第2メモリに比べて高速にアクセスをすることができれば、第1プロセッサは処理を効率よく実行することができる。   In such a computer apparatus, the first processor may be able to access the first memory at a higher speed than the second memory. In this way, if the first processor can access the first memory at a higher speed than the second memory, the first processor can execute the processing efficiently.

また、かかるコンピュータ装置にあっては、前記第2プロセッサを複数備えても良い。このように第2プロセッサを複数備えれば、処理用データについてスムーズに処理をすることができる。   Such a computer apparatus may include a plurality of the second processors. If a plurality of second processors are provided in this way, processing data can be processed smoothly.

(A)第1プロセッサおよび第2プロセッサと、
(B)第1メモリおよび第2メモリと、
(C)外部からのデータを受信する通信インターフェイスと、
(D)前記通信インターフェイスにより受信されたデータを前記第2メモリに転送するDMAコントローラと、
を備え、
前記通信インターフェイスにより受信される前記データには、前記第2プロセッサが処理をする処理用データと、当該処理用データのサイズに関するサイズデータとが含まれ、
前記サイズデータが前記第1メモリに格納され、
前記第1プロセッサは、前記第1メモリに格納された前記サイズデータに基づき、前記DMAコントローラに対して、前記通信インターフェイスにより受信された前記処理用データを前記第2メモリに転送する命令を発行し、
前記第2プロセッサは、前記DMAコントローラにより前記第2メモリに転送された前記処理用データについて処理をし、
前記第1プロセッサがCPUであり、前記第2プロセッサが画像処理用プロセッサであり、前記第1メモリとしてSDRAMを有し、
前記通信インターフェイスは、前記処理用データおよび前記サイズデータを1つのパケットデータとして受信し、
前記通信インターフェイスは、前記処理用データよりも先に前記サイズデータを受信し、
前記第1プロセッサによる前記第1メモリへのアクセスと、前記第2プロセッサによる前記第2メモリへのアクセスとが異なる経路を通じて行われ、
前記第2メモリは、前記第1メモリよりもデータ容量が大きく、
前記第1プロセッサは、前記第1メモリに対して前記第2メモリに比べて高速にアクセスをすることができ、
前記第2プロセッサを複数備えたことを特徴とするコンピュータ装置。
(A) a first processor and a second processor;
(B) a first memory and a second memory;
(C) a communication interface for receiving data from the outside;
(D) a DMA controller that transfers data received by the communication interface to the second memory;
With
The data received by the communication interface includes processing data to be processed by the second processor and size data regarding the size of the processing data.
The size data is stored in the first memory;
The first processor issues an instruction to the DMA controller to transfer the processing data received by the communication interface to the second memory based on the size data stored in the first memory. ,
The second processor processes the processing data transferred to the second memory by the DMA controller,
The first processor is a CPU, the second processor is an image processing processor, and the first memory includes an SDRAM;
The communication interface receives the processing data and the size data as one packet data,
The communication interface receives the size data prior to the processing data;
Access to the first memory by the first processor and access to the second memory by the second processor are performed through different paths,
The second memory has a larger data capacity than the first memory,
The first processor can access the first memory faster than the second memory,
A computer apparatus comprising a plurality of the second processors.

(A)第1プロセッサおよび第2プロセッサと、
(B)第1メモリおよび第2メモリと、
(C)外部からのデータを受信する通信インターフェイスと、
(D)前記通信インターフェイスにより受信されたデータを前記第2メモリに転送するDMAコントローラと、
(E)媒体に対して印刷を施す印刷部と、
を備え、
前記通信インターフェイスにより受信される前記データには、前記第2プロセッサが処理をする処理用データと、当該処理用データのサイズに関するサイズデータとが含まれ、
前記サイズデータが前記第1メモリに格納され、
前記第1プロセッサは、前記第1メモリに格納された前記サイズデータに基づき、前記DMAコントローラに対して、前記通信インターフェイスにより受信された前記処理用データを前記第2メモリに転送する命令を発行し、
前記第2プロセッサは、前記DMAコントローラにより前記第2メモリに転送された前記処理用データについて処理をし、
前記印刷部は、前記第2プロセッサによる前記処理により生成されたデータに基づき、媒体に対して印刷を施すことを特徴とする印刷装置。
(A) a first processor and a second processor;
(B) a first memory and a second memory;
(C) a communication interface for receiving data from the outside;
(D) a DMA controller that transfers data received by the communication interface to the second memory;
(E) a printing unit that performs printing on the medium;
With
The data received by the communication interface includes processing data to be processed by the second processor and size data regarding the size of the processing data.
The size data is stored in the first memory;
The first processor issues an instruction to the DMA controller to transfer the processing data received by the communication interface to the second memory based on the size data stored in the first memory. ,
The second processor processes the processing data transferred to the second memory by the DMA controller,
The printing apparatus, wherein the printing unit performs printing on a medium based on data generated by the processing by the second processor.

===印刷装置の概要===
本発明に係る印刷装置の一実施形態について説明する。ここでは、印刷装置として、原稿から画像を読み取って画像データを生成するスキャナ部と、媒体に対して印刷を施すプリンタ部とを備えた複合装置を例にして説明する。
=== Overview of Printing Apparatus ===
An embodiment of a printing apparatus according to the present invention will be described. Here, a description will be given by taking, as an example, a composite apparatus including a scanner unit that reads an image from a document and generates image data and a printer unit that performs printing on a medium.

図1〜図5は、複合装置の一例について説明したものである。図1は、複合装置1の外観を示した斜視図である。図2は、複合装置1のスキャナ部10の概要を説明する斜視図である。図3は、複合装置1のプリンタ部の概要を説明する斜視図である。図4は、複合装置1の内部構成を概略的に説明する説明図である。図5は、複合装置1のシステム構成例を説明した図である。   1 to 5 describe an example of a composite apparatus. FIG. 1 is a perspective view showing the external appearance of the composite apparatus 1. FIG. 2 is a perspective view illustrating an outline of the scanner unit 10 of the multifunction apparatus 1. FIG. 3 is a perspective view illustrating an outline of the printer unit of the composite apparatus 1. FIG. 4 is an explanatory diagram schematically illustrating the internal configuration of the composite apparatus 1. FIG. 5 is a diagram illustrating a system configuration example of the composite apparatus 1.

この複合装置1は、原稿から画像を読み取って画像データを生成するスキャナ機能と、ホストコンピュータ(図示外)から送られてきた印刷データに基づき印刷用紙等の各種媒体に印刷を施すプリンタ機能と、原稿から読み取った画像を媒体に印刷して複写するローカルコピー機能とを備えている。この複合装置1は、図1に示すように、その上部6に原稿5から画像を読み取るためのスキャナ部10を備えている。また、この複合装置1は、その下部9に印刷用紙等の媒体Sに印刷をするためのプリンタ部30を備えている。また、この複合装置1の前面部には、操作パネル2と、カードリーダー部20とが設けられている。   The composite apparatus 1 includes a scanner function that reads an image from a document and generates image data, a printer function that prints on various media such as printing paper based on print data sent from a host computer (not shown), And a local copy function for printing an image read from a document on a medium and copying it. As shown in FIG. 1, the multifunction apparatus 1 includes a scanner unit 10 for reading an image from a document 5 at an upper portion 6 thereof. In addition, the multifunction apparatus 1 includes a printer unit 30 for printing on a medium S such as printing paper in the lower part 9. In addition, an operation panel 2 and a card reader unit 20 are provided on the front surface of the composite apparatus 1.

スキャナ部10は、図2に示すように、原稿5がセットされるガラス板が設けられた原稿台11と、当該原稿台11を上方から覆う原稿台カバー12とを備えている。原稿台カバー12は、複合装置1の後端部に回動可能に取付けられ、原稿台11の上面部を開閉するように設けられている。   As shown in FIG. 2, the scanner unit 10 includes a document table 11 provided with a glass plate on which the document 5 is set, and a document table cover 12 that covers the document table 11 from above. The document table cover 12 is rotatably attached to the rear end portion of the multifunction apparatus 1 and is provided so as to open and close the upper surface portion of the document table 11.

一方、プリンタ部30は、図3に示すように、スキャナ部10を上方に持ち上げることによって、その内部が外部に開放されるように構成されている。つまり、スキャナ部10は、複合装置1の後部にヒンジ部34を介して回動自在に装着されている。スキャナ部10が上方へと持ち上げられると、プリンタ部30の内部が開放される。プリンタ部30の内部には、キャリッジ41などが配置されている。このキャリッジ41には、インクを吐出するプリンタヘッド(図示外)が設けられている。このプリンタヘッドは、キャリッジ41とともに移動しながら用紙等の媒体に向けてインクを吐出して印刷を施す。   On the other hand, as shown in FIG. 3, the printer unit 30 is configured such that the inside of the printer unit 30 is opened to the outside by lifting the scanner unit 10 upward. That is, the scanner unit 10 is rotatably attached to the rear part of the multifunction apparatus 1 via the hinge unit 34. When the scanner unit 10 is lifted upward, the inside of the printer unit 30 is opened. A carriage 41 and the like are arranged inside the printer unit 30. The carriage 41 is provided with a printer head (not shown) that ejects ink. The printer head performs printing by ejecting ink toward a medium such as paper while moving with the carriage 41.

この他に、プリンタ部30には、媒体を搬送する搬送部(不図示)が設けられている。この搬送部は、複合装置1の背部に設けられた背部給紙口22又は複合装置1の前部に設けられた前部給紙口23にセットされた媒体をプリンタ部30の内部へと送り込み、そして、プリンタヘッドにより印刷された媒体を、複合装置1の前部に設けられた排紙トレイ25を通じて排紙する。   In addition, the printer unit 30 is provided with a conveyance unit (not shown) for conveying the medium. The transport unit feeds the medium set in the back paper feed port 22 provided on the back of the multifunction device 1 or the front paper feed port 23 provided on the front of the multifunction device 1 into the printer unit 30. Then, the medium printed by the printer head is discharged through a discharge tray 25 provided at the front of the multifunction apparatus 1.

また、複合装置1の下部9の前面の左右には、インクカートリッジカバー27が設けられている。インクカートリッジ26の取り付け時又は交換時、ユーザは、このインクカートリッジカバー27を開き、インクカートリッジ26を取り付け又は交換する。取り付け後又は交換後にユーザがインクカートリッジカバー27を閉じることにより、インクカートリッジ26のセットが完了する。このインクカートリッジ26には、インクが収容されており、このインクは、キャリッジ41に搭載されたプリンタヘッドに供給される。   Ink cartridge covers 27 are provided on the left and right sides of the front surface of the lower portion 9 of the composite apparatus 1. When installing or replacing the ink cartridge 26, the user opens the ink cartridge cover 27 and installs or replaces the ink cartridge 26. When the user closes the ink cartridge cover 27 after installation or replacement, the setting of the ink cartridge 26 is completed. The ink cartridge 26 contains ink, and the ink is supplied to a printer head mounted on the carriage 41.

カードリーダー部20は、各種メモリカードを差し込むなどしてセットする部分である。そして、カードリーダー部20は、セットされた各種メモリカードから、格納された画像データを読み込む。ここで読み込まれた画像データの画像は、プリンタ部30により印刷することができる。カードリーダー部20にセットすることができるメモリカードとしては、例えば、コンパクトフラッシュやスマートメディア、メモリスティック、SDメモリカード、xDピクチャーカードなどといった各種フラッシュメモリがある。この他、カードリーダー部20は、デジタルカメラや携帯電話で使用される各種メモリカードに対応することができる。   The card reader unit 20 is a part that is set by inserting various memory cards. Then, the card reader unit 20 reads stored image data from various set memory cards. The image of the image data read here can be printed by the printer unit 30. Examples of the memory card that can be set in the card reader unit 20 include various flash memories such as a compact flash, smart media, a memory stick, an SD memory card, and an xD picture card. In addition, the card reader unit 20 can correspond to various memory cards used in digital cameras and mobile phones.

===スキャナ部10・プリンタ部30の内部機構===
図4は、スキャナ部10およびプリンタ部30の内部機構を示したものである。
=== Internal Mechanism of Scanner Unit 10 and Printer Unit 30 ===
FIG. 4 shows the internal mechanism of the scanner unit 10 and the printer unit 30.

<スキャナ部>
スキャナ部10は、同図の上部に示すように、原稿台11の下側に、スキャナ用キャリッジ60と、このスキャナ用キャリッジ60を原稿台11に対して所定の間隔を保ちつつ図中矢印A方向に沿って平行に移動させる駆動機構62と、このスキャナ用キャリッジ60を支持しつつその移動を案内するガイド64とを備えている。
<Scanner part>
As shown in the upper part of the figure, the scanner unit 10 has a scanner carriage 60 below the document table 11 and an arrow A in the figure while keeping the scanner carriage 60 at a predetermined distance from the document table 11. A driving mechanism 62 that moves in parallel along the direction and a guide 64 that supports the scanner carriage 60 and guides its movement are provided.

スキャナ用キャリッジ60には、原稿台11を介して原稿5に対し光を照射する光源としての露光ランプ66と、原稿5により反射された反射光が入射するレンズ70と、このレンズ70を通じてスキャナ用キャリッジ60の内部に取り込まれた反射光を受光するイメージセンサ72とが設けられている。   The scanner carriage 60 has an exposure lamp 66 as a light source for irradiating light on the document 5 through the document table 11, a lens 70 on which reflected light reflected by the document 5 is incident, and the scanner 70 through the lens 70. An image sensor 72 that receives the reflected light taken into the carriage 60 is provided.

本実施形態では、このイメージセンサ72は、光信号を電気信号に変換するフォトダイオード等の光電変換素子が列状に配置されたリニアCCDセンサにより構成されている。イメージセンサ72により読み取られた画像に関するデータは、制御部50に出力される。   In the present embodiment, the image sensor 72 is configured by a linear CCD sensor in which photoelectric conversion elements such as photodiodes that convert an optical signal into an electrical signal are arranged in a line. Data relating to the image read by the image sensor 72 is output to the control unit 50.

また、駆動機構62は、スキャナ用キャリッジ60に接続されたタイミングベルト74と、このタイミングベルト74が掛け渡された一対のプーリ75、76と、一方のプーリ75を回転駆動する駆動モータ77とを備えている。駆動モータ77は、制御部50からの制御信号によって駆動制御される。   The drive mechanism 62 includes a timing belt 74 connected to the scanner carriage 60, a pair of pulleys 75 and 76 around which the timing belt 74 is stretched, and a drive motor 77 that rotationally drives one pulley 75. I have. The drive motor 77 is driven and controlled by a control signal from the control unit 50.

<プリンタ部>
一方、プリンタ部30は、図4の下部に示すように、プリンタ用キャリッジ41と、このプリンタ用キャリッジ41に搭載されたプリンタヘッド21と、プリンタ用キャリッジ41を媒体Sに対して所定の間隔を保持しつつ相対的に平行に移動させる駆動機構24と、媒体Sをプリンタ用キャリッジ41の移動方向と直交する方向に沿って搬送する搬送機構36とを備えている。
<Printer section>
On the other hand, as shown in the lower part of FIG. 4, the printer unit 30 has a printer carriage 41, the printer head 21 mounted on the printer carriage 41, and the printer carriage 41 at a predetermined interval with respect to the medium S. A driving mechanism 24 that moves the paper S relatively in parallel while being held, and a transport mechanism 36 that transports the medium S along a direction orthogonal to the moving direction of the printer carriage 41 are provided.

プリンタ用キャリッジ41には、カートリッジ装着部が設けられ、このカートリッジ装着部には、ブラック(K)、シアン(C)、マゼンタ(M)、イエロ(Y)等のインクが収容されたインクカートリッジが装着される。プリンタヘッド21は、インクカートリッジから供給された各色のインクを媒体Sに向けて吐出して当該媒体S上にドットを形成して、媒体Sに画像を印刷する。   The printer carriage 41 is provided with a cartridge mounting portion. In this cartridge mounting portion, an ink cartridge containing ink such as black (K), cyan (C), magenta (M), and yellow (Y) is stored. Installed. The printer head 21 ejects ink of each color supplied from the ink cartridge toward the medium S to form dots on the medium S, and prints an image on the medium S.

駆動機構24は、プリンタ用キャリッジ41に接続されたタイミングベルト45と、このタイミングベルト45に噛合されたプーリ44と、このプーリ44を回転駆動するキャリッジモータ42(以下、CRモータともいう)と、プリンタ用キャリッジ41の移動を案内するガイドレール46と、プリンタ用キャリッジ41の位置を検出するリニア式エンコーダとしてリニア式エンコーダ符号板51およびこのリニア式エンコーダ符号板51を読み取る検出部52とを備えている。この駆動機構24は、キャリッジモータ42を駆動してプーリ44を介してタイミングベルト45を回転させる。これにより、プリンタ用キャリッジ41は、媒体Sに対してガイドレール46に沿って相対的に移動する。キャリッジモータ42は、制御部50からの制御信号により駆動制御される。   The drive mechanism 24 includes a timing belt 45 connected to the printer carriage 41, a pulley 44 meshed with the timing belt 45, a carriage motor 42 (hereinafter also referred to as a CR motor) that rotationally drives the pulley 44, and A guide rail 46 that guides the movement of the printer carriage 41, a linear encoder code plate 51 as a linear encoder that detects the position of the printer carriage 41, and a detection unit 52 that reads the linear encoder code plate 51 are provided. Yes. The drive mechanism 24 drives the carriage motor 42 to rotate the timing belt 45 via the pulley 44. As a result, the printer carriage 41 moves relative to the medium S along the guide rail 46. The carriage motor 42 is driven and controlled by a control signal from the control unit 50.

搬送機構36は、プラテン14と、搬送ローラ17Aと、当該搬送ローラ17Aを回転駆動する搬送モータ15と、媒体Sが所定位置に到達したか否かを検出する紙検知センサ53と、搬送ローラ17Aの回転量を検出するロータリ式エンコーダ56とを備えている。プラテン14は、プリンタヘッド21に対向して配置されている。搬送モータ15が駆動すると、搬送ローラ17Aが回転して、媒体Sがプラテン14上を搬送される。搬送モータ15は、制御部50からの制御信号により駆動制御される。   The transport mechanism 36 includes a platen 14, a transport roller 17A, a transport motor 15 that rotationally drives the transport roller 17A, a paper detection sensor 53 that detects whether the medium S has reached a predetermined position, and the transport roller 17A. And a rotary encoder 56 for detecting the amount of rotation. The platen 14 is disposed to face the printer head 21. When the transport motor 15 is driven, the transport roller 17 </ b> A rotates and the medium S is transported on the platen 14. The conveyance motor 15 is driven and controlled by a control signal from the control unit 50.

印刷時には、媒体Sが搬送ローラ17Aにより間欠的に所定の搬送量で搬送され、その間欠的な搬送の合間にプリンタ用キャリッジ41が、搬送ローラ17Aによる搬送方向に対して交差する方向に沿って移動しながら、プリンタヘッド21から媒体Sに向けてインクが吐出されて印刷が施される。   At the time of printing, the medium S is intermittently transported by a predetermined transport amount by the transport roller 17A, and the printer carriage 41 is along the direction intersecting the transport direction by the transport roller 17A between the intermittent transports. While moving, ink is ejected from the printer head 21 toward the medium S to perform printing.

===制御部===
<制御部の構成>
次にこの複合装置1の内部に搭載された制御部50の構成について説明する。図5は、この制御部50の構成の一例を説明するためのブロック構成図である。
=== Control unit ===
<Configuration of control unit>
Next, the configuration of the control unit 50 mounted inside the composite apparatus 1 will be described. FIG. 5 is a block configuration diagram for explaining an example of the configuration of the control unit 50.

この制御部50は、複合装置1の全体の制御を司るCPU80と、ROM82と、SDRAM84(Synchronous DRAM)と、DMAコントローラ86と、カードインターフェイス88と、USBインターフェイス90と、操作入力インターフェイス92と、スキャナ機能や印刷機能、ローカルコピー機能等の各機能を実現するためのプロセッサユニット94と、DDRSDRAM96(Double Data Rate SDRAM)とを備えている。これらのうち、CPU80と、ROM82と、SDRAM84と、DMAコントローラ86と、カードインターフェイス88と、USBインターフェイス90と、操作入力インターフェイス92とは、CPUバス98に接続されている。   The control unit 50 includes a CPU 80 that controls the entire composite device 1, a ROM 82, an SDRAM 84 (Synchronous DRAM), a DMA controller 86, a card interface 88, a USB interface 90, an operation input interface 92, a scanner. A processor unit 94 for realizing functions such as a function, a printing function, and a local copy function, and a DDR SDRAM 96 (Double Data Rate SDRAM) are provided. Among these, the CPU 80, ROM 82, SDRAM 84, DMA controller 86, card interface 88, USB interface 90, and operation input interface 92 are connected to the CPU bus 98.

ROM82には、CPU80により実行される各種制御用プログラム等が記憶されている。SDRAM84は、主に、CPU80が作業用データ格納領域として利用するもので、CPU80により高速にデータの読み込みおよび書き込みが行われる。操作入力インターフェイス92(操作入力IF)は、操作パネル2に設けられた各種ボタン等からの操作入力を受け付けて、これをCPU80に伝達する。カードインターフェイス88(カードIF)は、カードリーダー部20にセットされた各種メモリカードから、当該メモリカードに格納された画像データ等の各種データの読み込みを行う。   The ROM 82 stores various control programs executed by the CPU 80. The SDRAM 84 is mainly used by the CPU 80 as a work data storage area, and the CPU 80 reads and writes data at high speed. The operation input interface 92 (operation input IF) receives operation inputs from various buttons and the like provided on the operation panel 2 and transmits them to the CPU 80. The card interface 88 (card IF) reads various data such as image data stored in the memory card from various memory cards set in the card reader unit 20.

また、USBインターフェイス90は、外部のパーソナルコンピュータ等のホストコンピュータ120に接続されて、外部のホストコンピュータ120との間で通信を行う。具体的には、当該複合装置1にて印刷処理を実行するために外部のホストコンピュータ120にて生成された印刷データを受信したり、また、当該複合装置1のスキャナ部10により原稿から読み取った画像のデータを外部のホストコンピュータ120に送信したりする。この他に、USBインターフェイス90は、外部のホストコンピュータ120から当該複合装置1を制御するためのコマンドデータを受信したり、また、当該複合装置1の状態に関するステータスデータなどを外部のホストコンピュータ120に向けて送信したりする。   The USB interface 90 is connected to a host computer 120 such as an external personal computer, and communicates with the external host computer 120. Specifically, print data generated by an external host computer 120 for executing print processing in the composite apparatus 1 is received, or read from a document by the scanner unit 10 of the composite apparatus 1. The image data is transmitted to the external host computer 120. In addition, the USB interface 90 receives command data for controlling the multifunction device 1 from the external host computer 120, and also sends status data regarding the state of the multifunction device 1 to the external host computer 120. Or send to.

また、DMAコントローラ86は、CPU80を介することなく、SDRAM84またはDDRSDRAM96にアクセスをすることができる。具体的には、DMAコントローラ86は、USBインターフェイス90により受信された外部のホストコンピュータ120からの各種データをSDRAM84に格納したり、また、DDRSDRAM96に格納したりすることができる。また、DMAコントローラ86は、カードリーダー部20にセットされた各種メモリカードからカードインターフェイス88により読み取られた画像データ等の各種データをSDRAM84に格納したり、またはDDRSDRAM96に格納したりすることができる。   Further, the DMA controller 86 can access the SDRAM 84 or the DDR SDRAM 96 without going through the CPU 80. Specifically, the DMA controller 86 can store various data received from the external host computer 120 received by the USB interface 90 in the SDRAM 84 or stored in the DDR SDRAM 96. The DMA controller 86 can store various data such as image data read by the card interface 88 from various memory cards set in the card reader unit 20 in the SDRAM 84 or in the DDR SDRAM 96.

一方、プロセッサユニット94は、スキャナ機能や印刷機能、ローカルコピー機能等の各機能を実現するためのユニットである。このプロセッサユニット94には、スキャナコントロールユニット100と、画像処理ユニット102と、JPEGデコーダユニット104と、バスコントロールユニット106と、ヘッドコントロールユニット108と、ローカルバス112と、DDRSDRAMコントローラ110とが設けられている。これらのうち、スキャナコントロールユニット100、画像処理ユニット102、JPEGデコーダユニット104、バスコントロールユニット106、ヘッドコントロールユニット108およびDDRSDRAMコントローラ110は、それぞれローカルバス112に接続されている。これによって、スキャナコントロールユニット100、画像処理ユニット102、JPEGデコーダユニット104、バスコントロールユニット106およびヘッドコントロールユニット108は、ローカルバス112を介してDDRSDRAMコントローラ110を通じてDDRSDRAM96にアクセスをすることができる。   On the other hand, the processor unit 94 is a unit for realizing each function such as a scanner function, a print function, and a local copy function. The processor unit 94 includes a scanner control unit 100, an image processing unit 102, a JPEG decoder unit 104, a bus control unit 106, a head control unit 108, a local bus 112, and a DDR SDRAM controller 110. Yes. Among these, the scanner control unit 100, the image processing unit 102, the JPEG decoder unit 104, the bus control unit 106, the head control unit 108, and the DDR SDRAM controller 110 are each connected to the local bus 112. Accordingly, the scanner control unit 100, the image processing unit 102, the JPEG decoder unit 104, the bus control unit 106, and the head control unit 108 can access the DDR SDRAM 96 through the DDR SDRAM controller 110 via the local bus 112.

スキャナコントロールユニット100は、スキャナ部10に設けられた露光ランプ66やイメージセンサ72、駆動モータ77等を制御する。そして、スキャナコントロールユニット100は、スキャナ部10により原稿から画像を読み込んで画像データを生成して、その画像データをDDRSDRAM96に格納する。このとき、スキャナコントロールユニット100は、DDRSDRAM96に格納された画像データについてライン間補正やシェーディング補正等の各種補正処理を施すことがある。   The scanner control unit 100 controls the exposure lamp 66, the image sensor 72, the drive motor 77, and the like provided in the scanner unit 10. Then, the scanner control unit 100 reads an image from the original by the scanner unit 10 to generate image data, and stores the image data in the DDR SDRAM 96. At this time, the scanner control unit 100 may perform various correction processes such as interline correction and shading correction on the image data stored in the DDR SDRAM 96.

画像処理ユニット102は、スキャナコントロールユニット100によって原稿から読み込まれた画像のデータをプリンタ部30にて印刷をするための印刷データに変換したりする機能を有している。具体的には、画像処理ユニット102は、スキャナ部10により原稿から読み込まれた画像のRGBデータを、プリンタ部30にて印刷をするためのCMYKデータに変換する処理を実行する。このとき、画像処理ユニット102は、DDRSDRAM96に格納されたルックアップテーブル等を参照してRGBデータをCMYKデータに変換する。この変換により生成されたCMYKデータは、画像処理ユニット102によりDDRSDRAM96に格納される。   The image processing unit 102 has a function of converting image data read from a document by the scanner control unit 100 into print data for printing by the printer unit 30. Specifically, the image processing unit 102 executes processing for converting RGB data of an image read from a document by the scanner unit 10 into CMYK data for printing by the printer unit 30. At this time, the image processing unit 102 refers to a lookup table stored in the DDR SDRAM 96 and converts RGB data into CMYK data. The CMYK data generated by this conversion is stored in the DDR SDRAM 96 by the image processing unit 102.

JPEGデコーダユニット104は、カードリーダー部20にセットされた各種メモリカードをはじめ、ホストコンピュータ120などから取得したJPEG形式の画像データをデコードする。具体的には、例えば、JPEGデコーダユニット104は、DDRSDRAM96に格納されたJPEG形式の画像データをYUV色空間により表現されるYUVデータに変換する。このようにしてJPEGデコーダユニット104により変換されたYUVデータは、さらに、JPEGデコーダユニット104により、RGB色空間により表現されたRGBデータに変換される。そして、これにより生成されたRGBデータは、画像処理ユニット102によってプリンタ部30にて印刷をするための印刷データ(CMYKデータ等)に変換される。   The JPEG decoder unit 104 decodes JPEG format image data acquired from the host computer 120 and the like as well as various memory cards set in the card reader unit 20. Specifically, for example, the JPEG decoder unit 104 converts JPEG format image data stored in the DDR SDRAM 96 into YUV data expressed in the YUV color space. The YUV data converted by the JPEG decoder unit 104 in this way is further converted by the JPEG decoder unit 104 into RGB data expressed in the RGB color space. The RGB data thus generated is converted into print data (CMYK data or the like) for printing by the printer unit 30 by the image processing unit 102.

一方、バスコントロールユニット106は、CPUバス98と、ローカルバス112との間に介設されて、CPUバス98とローカルバス112との間でデータのやり取りを中継している。バスコントロールユニット106は、CPUバス98側と、DMAコントローラ86を介して接続されている。これにより、USBインターフェイス90により受信された外部のホストコンピュータ120からの各種データを、DMAコントローラ86を通じてDDRSDRAM96に転送することができる。また、カードリーダー部20にセットされた各種メモリカードからカードインターフェイス88により読み取られた画像データ等の各種データをDMAコントローラ86を通じてDDRSDRAM96に転送することができる。また、CPU80もDMAコントローラ86を通じてDDRSDRAM96にアクセスをすることができる。   On the other hand, the bus control unit 106 is interposed between the CPU bus 98 and the local bus 112, and relays data exchange between the CPU bus 98 and the local bus 112. The bus control unit 106 is connected to the CPU bus 98 side via the DMA controller 86. As a result, various data from the external host computer 120 received by the USB interface 90 can be transferred to the DDR SDRAM 96 through the DMA controller 86. Various data such as image data read by the card interface 88 from various memory cards set in the card reader unit 20 can be transferred to the DDR SDRAM 96 through the DMA controller 86. The CPU 80 can also access the DDR SDRAM 96 through the DMA controller 86.

一方、ヘッドコントロールユニット108は、予め生成されたヘッド駆動データに基づきプリンタヘッド21を駆動して、プリンタヘッド21の各ノズルからインクを吐出させる。ここで、ヘッド駆動データは、USBインターフェイス90により外部のホストコンピュータ120から受信した印刷データに含まれていたり、また画像処理ユニット102により変換されたCMYKデータに基づき生成されたりする。ヘッドコントロールユニット108は、このようにして生成されたヘッド駆動データに基づき、プリンタヘッド21の各ノズル毎に設けられたピエゾ素子等の駆動素子を駆動して各ノズルからインクを吐出する。   On the other hand, the head control unit 108 drives the printer head 21 based on the head drive data generated in advance, and ejects ink from each nozzle of the printer head 21. Here, the head drive data is included in the print data received from the external host computer 120 via the USB interface 90, or is generated based on the CMYK data converted by the image processing unit 102. Based on the head drive data generated in this way, the head control unit 108 drives a drive element such as a piezo element provided for each nozzle of the printer head 21 to eject ink from each nozzle.

===制御部内のデータの流れ===
<スキャナ機能時>
スキャナ機能時には、スキャナコントロールユニット100によってスキャナ部10の露光ランプ66やイメージセンサ72、駆動機構62等が制御されて、原稿台11にセットされた原稿から画像が読み取られる。このようにしてスキャナ部10により読み取られた画像のデータは、スキャナコントロールユニット100によりDDRSDRAM96に格納される。
=== Data Flow in the Control Unit ===
<Scanner function>
During the scanner function, the scanner control unit 100 controls the exposure lamp 66, the image sensor 72, the drive mechanism 62, and the like of the scanner unit 10 to read an image from the document set on the document table 11. The image data read by the scanner unit 10 in this way is stored in the DDR SDRAM 96 by the scanner control unit 100.

そして、スキャナコントロールユニット100は、DDRSDRAM96に格納された画像データについてライン間補正やシェーディング補正等の各種補正処理を施す。このようにスキャナコントロールユニット100により各種補正処理が施された画像データは、DDRSDRAM96からバスコントロールユニット106を経由してDMAコントローラ86を通じてUSBインターフェイス90へと転送される。そして、画像データは、USBインターフェイス90から外部のホストコンピュータ120へと送信される。   Then, the scanner control unit 100 performs various correction processes such as interline correction and shading correction on the image data stored in the DDR SDRAM 96. The image data subjected to various correction processes by the scanner control unit 100 as described above is transferred from the DDR SDRAM 96 to the USB interface 90 via the bus control unit 106 and the DMA controller 86. Then, the image data is transmitted from the USB interface 90 to the external host computer 120.

<印刷機能時>
印刷機能時には、外部のホストコンピュータ120にインストールされたプリンタドライバが、ヘッド駆動データを含む印刷データを生成する。また、そのプリンタドライバが印刷すべき画像のデータを含む印刷データを生成する。このように外部のホストコンピュータ120のプリンタドライバにより生成された印刷データは、ホストコンピュータ120からUSBインターフェイス90へと送信される。
<In printing function>
During the printing function, a printer driver installed in the external host computer 120 generates print data including head drive data. The printer driver generates print data including image data to be printed. Thus, the print data generated by the printer driver of the external host computer 120 is transmitted from the host computer 120 to the USB interface 90.

USBインターフェイス90は、外部のホストコンピュータ120から送信された印刷データを受信する。ここで受信された印刷データは、DMAコントローラ86によりバスコントロールユニット106を経由してDDRSDRAM110に格納される。ヘッドコントロールユニット108は、DDRSDRAM110に格納された印刷データからヘッド駆動データを取得して、ヘッド駆動データに基づき、プリンタヘッド21の各ノズル毎に設けられたピエゾ素子等の駆動素子を駆動して各ノズルからインクを吐出して、媒体に印刷を施す。   The USB interface 90 receives print data transmitted from the external host computer 120. The received print data is stored in the DDR SDRAM 110 by the DMA controller 86 via the bus control unit 106. The head control unit 108 acquires head drive data from the print data stored in the DDR SDRAM 110, and drives each drive element such as a piezo element provided for each nozzle of the printer head 21 based on the head drive data. Ink is ejected from the nozzles to print on the medium.

<ローカルコピー機能時>
ローカルコピーは、操作パネル2を通じてユーザ等により、例えばコピーボタンなどが操作されると、ローカルコピーが実行される。CPU80は、操作パネル2のコピーボタンなどが操作されると、スキャナコントロールユニット100に対して画像読み取り命令を発行する。スキャナコントロールユニット100は、スキャナ部10の露光ランプ66やイメージセンサ72、駆動機構62等を制御して、原稿台11にセットされた原稿から画像を読み取る。そして、スキャナコントロールユニット100は、読み取った画像のデータを生成して、その画像データをDDRSDRAM96に格納する。このとき、スキャナコントロールユニット100は、DDRSDRAM96に格納された画像データについてライン間補正やシェーディング補正等の各種補正処理を施す。
<Local copy function>
The local copy is executed when, for example, a copy button is operated by the user or the like through the operation panel 2. When the copy button or the like on the operation panel 2 is operated, the CPU 80 issues an image reading command to the scanner control unit 100. The scanner control unit 100 reads the image from the document set on the document table 11 by controlling the exposure lamp 66, the image sensor 72, the drive mechanism 62, and the like of the scanner unit 10. The scanner control unit 100 generates read image data and stores the image data in the DDR SDRAM 96. At this time, the scanner control unit 100 performs various correction processes such as interline correction and shading correction on the image data stored in the DDR SDRAM 96.

DDRSDRAM96に格納された画像データは、画像処理ユニット102によってプリンタ部30にて印刷をするための印刷データに変換される。ここで、画像処理ユニット102は、プリンタ部30にて印刷をするためのCMYKデータに変換する処理等を実行する。このとき、画像処理ユニット102は、DDRSDRAM96に格納されたルックアップテーブル等を参照してRGBデータをCMYKデータに変換する。この変換により生成されたCMYKデータは、DDRSDRAM96に格納される。   The image data stored in the DDR SDRAM 96 is converted into print data for printing by the printer unit 30 by the image processing unit 102. Here, the image processing unit 102 executes processing for conversion into CMYK data for printing by the printer unit 30. At this time, the image processing unit 102 converts RGB data into CMYK data with reference to a lookup table or the like stored in the DDR SDRAM 96. The CMYK data generated by this conversion is stored in the DDR SDRAM 96.

ヘッドコントロールユニット108は、DDRSDRAM110に格納されたCMYKデータに基づきヘッド駆動データを取得して、この取得したヘッド駆動データに基づき、プリンタヘッド21の各ノズル毎に設けられたピエゾ素子等の駆動素子を駆動して各ノズルからインクを吐出して媒体に画像を印刷する。これにより、原稿台にセットされた原稿の画像を複写する。   The head control unit 108 acquires head drive data based on the CMYK data stored in the DDR SDRAM 110, and based on the acquired head drive data, drives the drive elements such as piezo elements provided for each nozzle of the printer head 21. The image is printed on the medium by driving and ejecting ink from each nozzle. As a result, the image of the document set on the document table is copied.

<メモリカード印刷時>
メモリカード印刷では、カードリーダー部20にセットされた各種メモリカードに格納されたJPEG形式等の画像データを印刷処理する。具体的には、カードリーダー部20にセットされた各種メモリカードからカードインターフェイス88を通じてJPEG形式等の画像データを読み取る。ここで読み取られたJPEG形式等の画像データは、DMAコントローラ86によりバスコントロールユニット106を通じてDDRSDRAM96に格納される。DDRSDRAM96にJPEG形式の画像データが格納された場合には、その画像データは、JPEGデコーダユニット104によりデコードされる。ここでは、例えば、JPEG形式の画像データは、YUV色空間により表現されるYUVデータに変換される。
<When printing a memory card>
In memory card printing, image data in JPEG format or the like stored in various memory cards set in the card reader unit 20 is printed. Specifically, image data in JPEG format or the like is read from various memory cards set in the card reader unit 20 through the card interface 88. The read image data in JPEG format or the like is stored in the DDR SDRAM 96 through the bus control unit 106 by the DMA controller 86. When JPEG format image data is stored in the DDR SDRAM 96, the image data is decoded by the JPEG decoder unit 104. Here, for example, image data in JPEG format is converted into YUV data expressed in the YUV color space.

このようにしてJPEGデコーダユニット104により変換されたYUVデータは、さらに、JPEGデコーダユニット104により、RGB色空間により表現されたRGBデータに変換される。これにより生成されたRGBデータは、画像処理ユニット102によってプリンタ部30にて印刷をするためのCMYKデータに変換される。   The YUV data converted by the JPEG decoder unit 104 in this way is further converted by the JPEG decoder unit 104 into RGB data expressed in the RGB color space. The RGB data thus generated is converted into CMYK data for printing by the printer unit 30 by the image processing unit 102.

ヘッドコントロールユニット108は、このようにして生成されたCMYKデータに基づき生成されたヘッド駆動データに基づき、プリンタヘッド21の各ノズル毎に設けられたピエゾ素子等の駆動素子を駆動して各ノズルからインクを吐出して媒体に画像を印刷する。   The head control unit 108 drives a driving element such as a piezo element provided for each nozzle of the printer head 21 on the basis of the head driving data generated based on the CMYK data generated in this way. An image is printed on the medium by ejecting ink.

===従来の問題点および解決方法===
<従来の問題点>
このような複合装置にあっては、次のような問題があった。すなわち、外部のホストコンピュータ120から印刷データ等の各種データを受信した場合、その受信データを、CPU80と、画像処理ユニット102やJPEGデコーダユニット104などの各種プロセッサとにそれぞれ対応する2つのメモリ、即ちここでは、SDRAM84およびDDRSDRAM96のうちのいずれか一方に格納することができる。
=== Conventional Problems and Solutions ===
<Conventional problems>
Such a composite apparatus has the following problems. That is, when various data such as print data is received from the external host computer 120, the received data is converted into two memories corresponding to the CPU 80 and various processors such as the image processing unit 102 and the JPEG decoder unit 104, that is, Here, it can be stored in either SDRAM 84 or DDR SDRAM 96.

しかしながら、ここで外部のホストコンピュータ120から受信される印刷データ等の各種データには、CPU80が処理すべきデータと、画像処理ユニット102やJPEGデコーダユニット104などが処理すべきデータとが含まれている。このように2つのタイプのデータが外部のホストコンピュータ120から受信されるデータに含まれている場合に、CPU80と、画像処理ユニット102やJPEGデコーダユニット104などの各種プロセッサにそれぞれ対応するSDRAM84およびDDRSDRAM96のうちのいずれか一方に格納したときに、CPU80および画像処理ユニット102やJPEGデコーダユニット104などのうちのいずれか一方がアクセスし難くなるという問題が発生した。すなわち、外部から受信したデータがCPU80に対応するSDRAM84に格納された場合には、そのデータに対して各画像処理ユニット102やJPEGデコーダユニット104などからのアクセスがし難くなる。   However, various data such as print data received from the external host computer 120 includes data to be processed by the CPU 80 and data to be processed by the image processing unit 102, the JPEG decoder unit 104, and the like. Yes. As described above, when two types of data are included in the data received from the external host computer 120, the SDRAM 84 and the DDR SDRAM 96 corresponding to the CPU 80 and various processors such as the image processing unit 102 and the JPEG decoder unit 104, respectively. When the data is stored in any one of them, there is a problem that any one of the CPU 80, the image processing unit 102, the JPEG decoder unit 104, etc. becomes difficult to access. That is, when data received from the outside is stored in the SDRAM 84 corresponding to the CPU 80, it is difficult to access the data from each image processing unit 102, JPEG decoder unit 104, or the like.

また、外部から受信したデータが画像処理ユニット102やJPEGデコーダユニット104などに対応するDDRSDRAM96に格納された場合には、そのデータに対してCPU80からのアクセスがし難くなる。これにより、CPU80または画像処理ユニット102やJPEGデコーダユニット104などの各種プロセッサにより実行される処理が遅れ、全体的に処理がスムーズに行われなくなる場合が発生する虞が生じた。   Further, when data received from the outside is stored in the DDR SDRAM 96 corresponding to the image processing unit 102, the JPEG decoder unit 104, or the like, it becomes difficult for the CPU 80 to access the data. As a result, processing executed by the CPU 80 or various processors such as the image processing unit 102 and the JPEG decoder unit 104 is delayed, and there is a possibility that the processing may not be performed smoothly as a whole.

<解決方法>
そこで、本実施形態では、このような問題を解決するために、外部のホストコンピュータ120から印刷データ等から受信した各種データのうち、CPU80が処理すべきデータをCPU80に対応するSDRAM84に格納するとともに、画像処理ユニット102やJPEGデコーダユニット104などが処理すべきデータを画像処理ユニット102やJPEGデコーダユニット104などが対応するDDRSDRAM96に格納することとする。以下に本実施形態の手法について詳しく説明する。
<Solution>
Therefore, in the present embodiment, in order to solve such a problem, among the various data received from the print data or the like from the external host computer 120, the data to be processed by the CPU 80 is stored in the SDRAM 84 corresponding to the CPU 80. The data to be processed by the image processing unit 102, the JPEG decoder unit 104, and the like are stored in the DDR SDRAM 96 corresponding to the image processing unit 102, the JPEG decoder unit 104, and the like. The method of this embodiment will be described in detail below.

===受信データ===
ここで、USBインターフェイス90によって外部のホストコンピュータ120から印刷データ等の受信データの一例について説明する。図6は、USBインターフェイス90が外部のホストコンピュータ120から受信するデータの一例について説明したものである。USBインターフェイス90は、ここでは、外部のホストコンピュータ120から送られてくるデータをパケットデータとして受信する。このパケットデータは、本実施形態では、USB(Universal Serial Bus)の規格に基づき生成されたパケットデータである。USBインターフェイス90は、このパケットデータを1つの基本単位として、外部のホストコンピュータ120から順次受信する。
=== Received data ===
Here, an example of received data such as print data from the external host computer 120 by the USB interface 90 will be described. FIG. 6 illustrates an example of data received by the USB interface 90 from the external host computer 120. Here, the USB interface 90 receives data sent from the external host computer 120 as packet data. In this embodiment, this packet data is packet data generated based on the USB (Universal Serial Bus) standard. The USB interface 90 sequentially receives this packet data from the external host computer 120 as one basic unit.

さらに、本実施形態では、USBインターフェイス90は、外部のホストコンピュータ120から受信した1または複数のUSBパケットデータを『1284.4パケット』(別名:D4パケットともいう)として受信する。また、さらに、本実施形態では、USBインターフェイス90は、外部のホストコンピュータ120から受信した1または複数の『1284.4パケット』(別名:D4パケットともいう)を『ESCPパケット』として受信する。   Furthermore, in this embodiment, the USB interface 90 receives one or more USB packet data received from the external host computer 120 as “1284.4 packets” (also referred to as “D4 packet”). Furthermore, in the present embodiment, the USB interface 90 receives one or more “1284.4 packets” (also referred to as D4 packets) received from the external host computer 120 as “ESCP packets”.

このUSBパケットデータは、同図に示すように、メインデータ部と、サブデータ部とから構成されている。ここでは、サブデータ部は、USBパケットデータの先頭部と後尾部とにそれぞれ設けられている。USBパケットデータの先頭部に設けられたサブデータ部を『先頭データ』という。また、USBパケットデータの後尾部に設けられたサブデータ部を『後尾データ』という。これら『先頭データ』および『後尾データ』のサブデータ部は、メインデータ部を外部のホストコンピュータ120から複合装置1に向けて送信するための補助的なデータ部である。これら『先頭データ』および『後尾データ』のサブデータ部には、これら『先頭データ』および『後尾データ』が含まれるUSBパケットデータに関する情報が格納されている。具体的には、これら『先頭データ』および『後尾データ』のサブデータ部には、USBパケットデータの送信元に関する情報や、USBパケットの受信先に関する情報、USBパケットデータのサイズに関する情報などが格納される。これら『先頭データ』および『後尾データ』のサブデータ部は、USBインターフェイス90により受信された後、切り捨てられる。   As shown in the figure, the USB packet data is composed of a main data portion and a sub data portion. Here, the sub data part is provided at the head part and the tail part of the USB packet data, respectively. The sub data part provided at the head part of the USB packet data is referred to as “head data”. Further, the sub data part provided in the tail part of the USB packet data is referred to as “tail data”. The sub-data portions of “head data” and “tail data” are auxiliary data portions for transmitting the main data portion from the external host computer 120 to the composite apparatus 1. In the sub-data portions of “head data” and “tail data”, information regarding USB packet data including these “head data” and “tail data” is stored. Specifically, in the sub-data portion of these “head data” and “tail data”, information on the USB packet data transmission source, information on the USB packet reception destination, information on the size of the USB packet data, etc. are stored. Is done. Sub-data portions of these “first data” and “tail data” are discarded after being received by the USB interface 90.

一方、メインデータ部は、USBパケットデータの先頭部に設けられたサブデータ部、即ち『先頭データ』と、USBパケットデータの後尾部に設けられたサブデータ部、『後尾データ』との間に設けられている。このメインデータ部には、外部のホストコンピュータ120が複合装置1に向けて送信したいデータが格納される。具体的には、本実施形態では、このメインデータ部には、サイズデータまたは処理用データが含まれている。   On the other hand, the main data portion is located between the sub data portion provided at the head portion of the USB packet data, that is, “head data” and the sub data portion provided at the tail portion of the USB packet data, “tail data”. Is provided. In the main data portion, data that the external host computer 120 wants to transmit to the composite apparatus 1 is stored. Specifically, in the present embodiment, the main data portion includes size data or processing data.

サイズデータには、処理用データのサイズに関する情報が含まれている。このサイズデータは、USBインターフェイス90が外部のホストコンピュータ120から受信する1または複数のUSBパケットデータからなる『1284.4パケット』(別名:D4パケットともいう)の最初のUSBパケットデータのメインデータ部に格納されている。さらに、このサイズデータは、その最初のUSBパケットデータに含まれるメインデータ部の先頭部に格納されている。これにより、サイズデータは、処理用データよりも先にUSBインターフェイス90に受信されるようになっている。   The size data includes information regarding the size of the processing data. This size data is the main data portion of the first USB packet data of “1284.4 packets” (also called D4 packets) made up of one or more USB packet data received by the USB interface 90 from the external host computer 120. Stored in Further, this size data is stored at the head of the main data portion included in the first USB packet data. Thus, the size data is received by the USB interface 90 before the processing data.

また、この最初のUSBパケットデータには、サイズデータの後ろに処理用データが格納されている。また、USBインターフェイス90が外部のホストコンピュータ120から受信する他のUSBパケットデータ、即ち、最初のUSBパケットデータを除く他の2番目から最後のUSBパケットデータにも、それぞれメインデータ部に処理用データが格納される。なお、サイズデータが格納されるのは、USBインターフェイス90が外部のホストコンピュータ120から『1284.4パケット』(別名:D4パケットともいう)として受信するUSBパケットデータのうち、最初のUSBパケットデータのみである。このサイズデータには、USBインターフェイス90が受信する『1284.4パケット』(別名:D4パケットともいう)に含まれる処理用データのサイズに関する情報が含まれている。USBインターフェイス90は、1つの『1284.4パケット』(別名:D4パケットともいう)ごとに、サイズデータを受信する。   In the first USB packet data, processing data is stored after the size data. Further, other USB packet data received by the USB interface 90 from the external host computer 120, that is, second to last USB packet data other than the first USB packet data are also processed in the main data portion. Is stored. The size data is stored only in the first USB packet data among the USB packet data that the USB interface 90 receives from the external host computer 120 as “1284.4 packets” (also referred to as D4 packet). It is. This size data includes information related to the size of the processing data included in “1284.4 packets” (also known as D4 packets) received by the USB interface 90. The USB interface 90 receives the size data for each “1284.4 packet” (also called D4 packet).

また、このサイズデータは、USBインターフェイス90により受信された後、SDRAM84に格納される。SDRAM84に格納されたサイズデータは、CPU80によって処理される。CPU80は、SDRAM84に格納されたこのサイズデータに基づき、DMAコントローラ86に対して『1284.4パケット』(別名:D4パケットともいう)に含まれる他のデータ、即ちここでは、処理用データをDDRSDRAM96に転送する命令を発行する。つまり、このサイズデータは、CPU80がDMAコントローラ86に対して他の残りの処理用データをDDRSDRAM96に転送する命令を発行するために利用されている。   The size data is received by the USB interface 90 and then stored in the SDRAM 84. The size data stored in the SDRAM 84 is processed by the CPU 80. Based on this size data stored in the SDRAM 84, the CPU 80 sends other data included in “1284.4 packets” (also referred to as D4 packet) to the DMA controller 86, that is, here, processing data is DDR SDRAM 96. Issue instructions to transfer to. That is, this size data is used by the CPU 80 to issue an instruction to the DMA controller 86 to transfer other remaining processing data to the DDR SDRAM 96.

一方、処理用データは、プロセッサユニット94に設けられた各種プロセッサ、例えば、画像処理ユニット102やJPEGデコーダユニット104などによって処理されデータである。この処理用データは、USBインターフェイス90が外部のホストコンピュータ120から『1284.4パケット』(別名:D4パケットともいう)として受信するUSBパケットデータのメインデータ部にそれぞれ分散されて格納されている。そして、この処理用データは、サイズデータよりも後にUSBインターフェイス90に受信される。この処理用データは、USBインターフェイス90により受信された後、DMAコントローラ86によりDDRSDRAM96に格納される。   On the other hand, the processing data is data processed by various processors provided in the processor unit 94, such as the image processing unit 102 and the JPEG decoder unit 104. The processing data is distributed and stored in the main data portion of the USB packet data that the USB interface 90 receives as “1284.4 packets” (also called D4 packets) from the external host computer 120. The processing data is received by the USB interface 90 after the size data. The processing data is received by the USB interface 90 and then stored in the DDR SDRAM 96 by the DMA controller 86.

DDRSDRAM96に格納された処理用データは、プロセッサユニット94に設けられた各種プロセッサ、例えば、画像処理ユニット102やJPEGデコーダユニット104などによって処理される。具体的には、処理用データは、画像処理ユニット102が実行する、プリンタ部30にて印刷をするための印刷データに変換する処理に利用されたり、また、JPEGデコーダユニット104が実行するデコード処理、即ち、JPEG形式の画像データをYUV色空間により表現されるYUVデータに変換する処理に利用されたりする。   The processing data stored in the DDR SDRAM 96 is processed by various processors provided in the processor unit 94, such as the image processing unit 102 and the JPEG decoder unit 104. More specifically, the processing data is used for processing to be converted into print data to be printed by the printer unit 30 that is executed by the image processing unit 102, or is decoded by the JPEG decoder unit 104. In other words, it is used for processing for converting JPEG format image data into YUV data expressed in the YUV color space.

なお、本実施形態では、USBインターフェイス90は、「通信インターフェイス」に相当する。また、CPU80は、「第1プロセッサ」に相当する。また、プロセッサユニット94に設けられた画像処理ユニット102やJPEGデコーダユニット104などの各種プロセッサは、「第2プロセッサ」に相当する。また、SDRAM84は、「第1メモリ」に相当する。また、DDRSDRAM96は、「第2メモリ」に相当する。   In the present embodiment, the USB interface 90 corresponds to a “communication interface”. The CPU 80 corresponds to a “first processor”. Various processors such as the image processing unit 102 and the JPEG decoder unit 104 provided in the processor unit 94 correspond to a “second processor”. The SDRAM 84 corresponds to a “first memory”. The DDR SDRAM 96 corresponds to a “second memory”.

===データの流れ===
図7は、USBインターフェイス90が外部のホストコンピュータ120から受信したサイズデータと処理用データの処理手順の一例について説明したものである。
=== Data flow ===
FIG. 7 illustrates an example of the processing procedure of the size data and processing data received by the USB interface 90 from the external host computer 120.

USBインターフェイス90は、外部のホストコンピュータ120からUSBパケットデータとしてサイズデータと処理用データとを順次受信する。これらサイズデータおよび処理用データのうち、サイズデータは、直ちにDMAコントローラ86によりSDRAM84へと転送される。   The USB interface 90 sequentially receives size data and processing data as USB packet data from the external host computer 120. Of these size data and processing data, the size data is immediately transferred to the SDRAM 84 by the DMA controller 86.

DMAコントローラ86によりSDRAM84に転送されたサイズデータは、CPU80により処理される。ここで、CPU80は、SDRAM84に格納されたサイズデータに基づき、DMAコントローラ86に対して他の残りの処理用データをDDRSDRAM96に転送する転送命令を発行する。   The size data transferred to the SDRAM 84 by the DMA controller 86 is processed by the CPU 80. Here, the CPU 80 issues a transfer command for transferring other remaining processing data to the DDR SDRAM 96 to the DMA controller 86 based on the size data stored in the SDRAM 84.

DMAコントローラ86は、CPU80からの転送命令に基づき、USBインターフェイス90により外部のホストコンピュータ120から受信されたUSBパケットデータのデータ転送の途中において、USBパケットデータの転送先をSDRAM84からDDRSDRAM96へと切り替える。これにより、DMAコントローラ86は、USBパケットデータに含まれる処理用データを順次DDRSDRAM96へと転送する。   The DMA controller 86 switches the transfer destination of the USB packet data from the SDRAM 84 to the DDR SDRAM 96 during the data transfer of the USB packet data received from the external host computer 120 by the USB interface 90 based on the transfer command from the CPU 80. Thereby, the DMA controller 86 sequentially transfers the processing data included in the USB packet data to the DDR SDRAM 96.

DMAコントローラ86によりDDRSDRAM96に転送された処理用データは、順次プロセッサユニット94の各種プロセッサ、即ちここでは例えば、画像処理ユニット102やJPEGデコーダユニット104などによって処理される。ここで、画像処理ユニット102は、DDRSDRAM96に格納された処理用データを、例えば、プリンタ部30にて印刷をするための印刷データに変換する処理を実行する。また、JPEGデコーダユニット104は、DDRSDRAM96に格納された処理用データを、例えば、YUV色空間により表現されるYUVデータに変換する処理を実行する。   The processing data transferred to the DDR SDRAM 96 by the DMA controller 86 is sequentially processed by various processors of the processor unit 94, that is, for example, the image processing unit 102 and the JPEG decoder unit 104 here. Here, the image processing unit 102 executes processing for converting processing data stored in the DDR SDRAM 96 into print data for printing by the printer unit 30, for example. Further, the JPEG decoder unit 104 executes processing for converting processing data stored in the DDR SDRAM 96 into, for example, YUV data expressed in a YUV color space.

このようにUSBインターフェイス90により受信された、外部のホストコンピュータ120からのUSBパケットデータに含まれるサイズデータが、CPU80が高速にアクセスをすることができるSDRAM84に格納され、また、USBパケットデータに含まれる処理用データが、DDRSDRAM96に格納されることで、CPU80は、SDRAM84に格納されたサイズデータに基づき、DMAコントローラ86に対して、残りの処理用データをDDRSDRAM96に転送する転送命令を速やかに発行することができる。   The size data included in the USB packet data from the external host computer 120 received by the USB interface 90 as described above is stored in the SDRAM 84 that can be accessed at high speed by the CPU 80, and is also included in the USB packet data. Is stored in the DDR SDRAM 96, the CPU 80 promptly issues a transfer command for transferring the remaining processing data to the DDR SDRAM 96 to the DMA controller 86 based on the size data stored in the SDRAM 84. can do.

他方、画像処理ユニット102やJPEGデコーダユニット104などのプロセッサユニット94に設けられた各種プロセッサは、DDRSDRAM96に格納された処理用データに高速にアクセスをすることができる。これにより、画像処理ユニット102やJPEGデコーダユニット104などの各種プロセッサは、処理を速やかに終了させることができる。したがって、複合装置1は、外部のホストコンピュータ120から送信された各種データを速やかに処理することができる。   On the other hand, various processors provided in the processor unit 94 such as the image processing unit 102 and the JPEG decoder unit 104 can access the processing data stored in the DDR SDRAM 96 at high speed. As a result, various processors such as the image processing unit 102 and the JPEG decoder unit 104 can quickly end the processing. Therefore, the composite apparatus 1 can quickly process various data transmitted from the external host computer 120.

===その他応用例===
ここでは、「第1プロセッサ」としてCPU80を備え、また、「第2プロセッサ」としてプロセッサユニット94に設けられた画像処理ユニット102やJPEGデコーダユニット104などの各種プロセッサを備えた場合を例にして説明したが、ここでいう「第1プロセッサ」および「第2プロセッサ」としては、必ずしもこのようなCPU80や、画像処理ユニット102やJPEGデコーダユニット104などの各種プロセッサである必要はない。
=== Other application examples ===
Here, a case where the CPU 80 is provided as the “first processor” and various processors such as the image processing unit 102 and the JPEG decoder unit 104 provided in the processor unit 94 are provided as the “second processor” will be described as an example. However, the “first processor” and “second processor” here do not necessarily need to be various processors such as the CPU 80, the image processing unit 102, and the JPEG decoder unit 104.

また、ここでは、「第1メモリ」としてSDRAM84を備え、また、「第2メモリ」としてDDRSDRAM96を備えた場合を例にして説明したが、ここでいう「第1メモリ」および「第2プロセッサ」は、必ずしもこのようなSDRAM84やDDRSDRAM96である必要はない。すなわち、これら「第1メモリ」および「第2メモリ」にあっては、どのようなタイプのメモリであっても構わない。   Further, here, the case where the SDRAM 84 is provided as the “first memory” and the DDR SDRAM 96 is provided as the “second memory” has been described as an example. However, the “first memory” and the “second processor” referred to herein are described. Need not be such SDRAM 84 or DDR SDRAM 96. In other words, these “first memory” and “second memory” may be any type of memory.

また、ここでは、「通信インターフェイス」として、USBインターフェイス90を備え、外部からのデータをUSBパケットデータとして受信していたが、ここでいう「通信インターフェイス」にあっては、必ずしもこのようなUSBパケットデータを外部からのデータとして受信する必要はない。すなわち、「通信インターフェイス」は、外部からのデータであれば、どのようなタイプのデータを受信しても構わない。また、「通信インターフェイス」が外部から受信するデータにあっては、必ずしもパケットデータである必要はない。   In this example, the USB interface 90 is provided as the “communication interface”, and external data is received as USB packet data. However, in the “communication interface”, such a USB packet is not necessarily provided. There is no need to receive data as external data. That is, the “communication interface” may receive any type of data as long as it is data from the outside. Further, the data received from the outside by the “communication interface” does not necessarily need to be packet data.

また、ここでは、「サイズデータ」が、USBインターフェイス90が外部のホストコンピュータ120から受信する『1284.4パケット』(別名:D4パケットともいう)に含まれる処理用データのサイズに関するサイズデータであったが、ここでいう「サイズデータ」にあっては、必ずしもこのような『1284.4パケット』(別名:D4パケットともいう)に含まれる処理用データのサイズに関するサイズデータである必要はない。すなわち、処理用データのサイズに関するサイズデータであれば、どのようなタイプのサイズであっても構わない。   Further, here, the “size data” is the size data relating to the size of the processing data included in “1284.4 packets” (also referred to as D4 packets) received by the USB interface 90 from the external host computer 120. However, the “size data” here does not necessarily need to be size data related to the size of the processing data included in such “1284.4 packets” (also referred to as D4 packet). That is, as long as the size data is related to the size of the processing data, any type of size may be used.

また、ここでは、「第1プロセッサ」としてCPU80のみの1つのプロセッサを備えた場合を例にして説明したが、ここでいう「第1プロセッサ」にあっては、2つ以上備えていても良い。   In addition, here, the case where only one CPU 80 is provided as the “first processor” has been described as an example, but the “first processor” herein may include two or more. .

また、ここでは、「第2プロセッサ」として画像処理ユニット102やJPEGデコーダユニット104など、複数のプロセッサを備えていたが、「第2プロセッサ」は、1つだけであっても構わない。   In this example, a plurality of processors such as the image processing unit 102 and the JPEG decoder unit 104 are provided as the “second processor”. However, only one “second processor” may be provided.

===まとめ===
以上、本実施形態にあっては、USBインターフェイス90により受信された、外部のホストコンピュータ120からのUSBパケットデータに含まれるサイズデータがSDRAM84に格納され、また、USBパケットデータに含まれる処理用データが、DDRSDRAM96に格納されることで、CPU80は、SDRAM84に格納されたサイズデータに基づき、DMAコントローラ86に対して、残りの処理用データをDDRSDRAM96に転送する転送命令を速やかに発行することができる。
=== Summary ===
As described above, in this embodiment, the size data included in the USB packet data received from the external host computer 120 and received by the USB interface 90 is stored in the SDRAM 84, and the processing data included in the USB packet data However, the CPU 80 can promptly issue a transfer command for transferring the remaining processing data to the DDR SDRAM 96 to the DMA controller 86 based on the size data stored in the SDRAM 84. .

また、画像処理ユニット102やJPEGデコーダユニット104などのプロセッサユニット94に設けられた各種プロセッサは、DDRSDRAM96に格納された処理用データに高速にアクセスをして、処理を速やかに完了させることができる。これによって、CPU80による処理と、画像処理ユニット102やJPEGデコーダユニット104などの各種プロセッサによる処理とを相互に干渉させることなく、速やかに実行させることができる。このことから、外部のホストコンピュータ120から送信されてきた各種データに基づき、複合装置1において実行される処理をスムーズに実行させることができる。   Also, various processors provided in the processor unit 94 such as the image processing unit 102 and the JPEG decoder unit 104 can access the processing data stored in the DDR SDRAM 96 at high speed, and can complete the processing quickly. As a result, the processing by the CPU 80 and the processing by various processors such as the image processing unit 102 and the JPEG decoder unit 104 can be promptly executed without interfering with each other. Thus, based on various data transmitted from the external host computer 120, the processing executed in the composite apparatus 1 can be executed smoothly.

===その他の実施の形態===
以上、一実施形態に基づき、プリンタ等の印刷装置について説明したが、上記の実施の形態は、本発明の理解を容易にするためのものであり、本発明を限定して解釈するためのものではない。本発明は、その趣旨を逸脱することなく、変更または改良され得るとともに、本発明には、その等価物が含まれることは言うまでもない。特に、以下に述べる実施形態であっても、本発明に含まれるものである。
=== Other Embodiments ===
As described above, a printing apparatus such as a printer has been described based on one embodiment. However, the above-described embodiment is for facilitating understanding of the present invention, and is intended to limit the interpretation of the present invention. is not. The present invention can be changed or improved without departing from the gist thereof, and needless to say, the present invention includes equivalents thereof. In particular, the embodiments described below are also included in the present invention.

<第1プロセッサについて>
前述した実施の形態では、「第1プロセッサ」として、CPU80を備えていたが、他のタイプのプロセッサを備えていても良い。
<About the first processor>
In the embodiment described above, the CPU 80 is provided as the “first processor”, but other types of processors may be provided.

<第2プロセッサについて>
前述した実施の形態では、「第2プロセッサ」として、画像処理ユニット102やJPEGデコーダユニット104などを備えていたが、他のタイプのプロセッサを備えていても良い。
<About the second processor>
In the above-described embodiment, the “second processor” includes the image processing unit 102, the JPEG decoder unit 104, and the like. However, other types of processors may be included.

<第1メモリについて>
前述した実施の形態では、「第1メモリ」として、SDRAM84を備えていたが、他のタイプのメモリを備えていても良い。
<About the first memory>
In the above-described embodiment, the SDRAM 84 is provided as the “first memory”, but another type of memory may be provided.

<第2メモリについて>
前述した実施の形態では、「第2メモリ」として、DDRSDRAM96を備えていたが、他のタイプのメモリを備えていても良い。
<About the second memory>
In the above-described embodiment, the DDR SDRAM 96 is provided as the “second memory”, but other types of memories may be provided.

<通信インターフェイスについて>
前述した実施の形態では、「通信インターフェイス」として、USBインターフェイス90を備えていてたが、他のタイプの通信インターフェイスを備えていても良い。
<About communication interface>
In the above-described embodiment, the USB interface 90 is provided as the “communication interface”, but another type of communication interface may be provided.

<処理用データについて>
前述した実施の形態では、複合装置に適用した場合を例にして説明する関係から、「処理用データ」として、画像処理ユニット102によりプリンタ部30にて印刷をするための印刷データに変換する処理に利用されるデータや、JPEGデコーダユニット104によりJPEG形式の画像データをYUV色空間により表現されるYUVデータに変換する処理に利用されるデータを例にして説明したが、ここでいう「処理用データ」にあっては、必ずしもこのようなデータには限られない。
<About processing data>
In the above-described embodiment, from the relationship described with reference to the case where the present invention is applied to a composite apparatus, processing for converting the image processing unit 102 into print data to be printed by the printer unit 30 as “processing data”. As an example, the data used for the image processing and the data used for the processing for converting the image data in the JPEG format into the YUV data expressed in the YUV color space by the JPEG decoder unit 104 have been described. “Data” is not necessarily limited to such data.

<印刷装置について>
前述した実施の形態では、「印刷装置」として、原稿から画像を読み取って画像データを生成するスキャナ部と、媒体に対して印刷を施すプリンタ部とを備えた複合装置を例にして説明したが、ここでいう「印刷装置」にあっては、必ずしもこのようなタイプの印刷装置である必要はない。すなわち、ここでいう「印刷装置」にあっては、媒体に対して印刷を施す印刷部を備えていれば、どのようなタイプの印刷装置であっても構わない。具体的には、レーザービーム方式により印刷を施す印刷装置をはじめとする各種印刷装置であっても良い。
<About printing devices>
In the above-described embodiment, the “printing apparatus” is described as an example of a composite apparatus including a scanner unit that reads an image from a document and generates image data, and a printer unit that performs printing on a medium. In this case, the “printing apparatus” does not necessarily need to be such a type of printing apparatus. In other words, the “printing apparatus” here may be any type of printing apparatus as long as it includes a printing unit that performs printing on a medium. Specifically, various printing apparatuses including a printing apparatus that performs printing by a laser beam method may be used.

複合装置の一例を説明する斜視図。The perspective view explaining an example of a compound device. 複合装置のスキャナ部のカバーを開いたときの斜視図。The perspective view when the cover of the scanner part of a compound apparatus is opened. 複合装置の印刷部を示す斜視図。The perspective view which shows the printing part of a composite apparatus. 複合装置のスキャナ部及びプリンタ部の構成を説明する説明図。FIG. 3 is an explanatory diagram illustrating configurations of a scanner unit and a printer unit of the multifunction apparatus. 複合装置の制御部のシステム構成の一例の説明図。Explanatory drawing of an example of the system configuration | structure of the control part of a compound apparatus. 受信データのデータ構成の一例の説明図。Explanatory drawing of an example of a data structure of reception data. 受信データの流れの一例を説明する説明図。Explanatory drawing explaining an example of the flow of reception data.

符号の説明Explanation of symbols

1 複合装置、2 操作パネル、5 原稿、6 上部、9 下部、
10 スキャナ部、11 原稿台、12 原稿台カバー、14 プラテン、
15 搬送モータ、17A 搬送ローラ、20 カードリーダー部、
21 プリンタヘッド、22 背部給紙口、23 前部給紙口、
24 駆動機構、25 排紙トレイ、26 インクカートリッジ、
27 インクカートリッジカバー、28 固定用レバー、
29A レバー本体、29B 凹部、30 プリンタ部、34 ヒンジ部、
36 搬送機構、41 キャリッジ、42 キャリッジモータ、44 プーリ、
45 タイミングベルト、46 ガイドレール、50 制御部、
51 リニア式エンコーダ符号板、52 検出部、53 紙検知センサ、
56 ロータリ式エンコーダ、60 スキャナ用キャリッジ、60A 後端部、
62 駆動機構、64 ガイド、66 露光ランプ、70 レンズ、
72 イメージセンサ、74 タイミングベルト、75 プーリ、76 プーリ、
77 駆動モータ、80 CPU、82 ROM、84 SDRAM、
86 DMAコントローラ、88 カードインターフェイス、
90 USBインターフェイス、92 操作入力インターフェイス、
94 プロセッサユニット、96 DDRSDRAM、
98 CPUバス、100 スキャナコントロールユニット、
102 画像処理ユニット、104 JPEGデコーダユニット、
106 バスコントロールユニット、108 ヘッドコントロールユニット、
110 DDRSDRAMコントローラ、112 ローカルバス、
120 ホストコンピュータ
1 composite device, 2 operation panel, 5 document, 6 upper part, 9 lower part,
10 scanner unit, 11 document table, 12 document table cover, 14 platen,
15 transport motor, 17A transport roller, 20 card reader section,
21 Printer head, 22 Back feed slot, 23 Front feed slot,
24 drive mechanism, 25 discharge tray, 26 ink cartridge,
27 ink cartridge cover, 28 fixing lever,
29A Lever body, 29B Concave part, 30 Printer part, 34 Hinge part,
36 transport mechanism, 41 carriage, 42 carriage motor, 44 pulley,
45 timing belt, 46 guide rail, 50 control unit,
51 linear encoder code plate, 52 detector, 53 paper detection sensor,
56 rotary encoder, 60 scanner carriage, 60A rear end,
62 drive mechanism, 64 guide, 66 exposure lamp, 70 lens,
72 image sensor, 74 timing belt, 75 pulley, 76 pulley,
77 Drive motor, 80 CPU, 82 ROM, 84 SDRAM,
86 DMA controller, 88 card interface,
90 USB interface, 92 operation input interface,
94 processor units, 96 DDR SDRAM,
98 CPU bus, 100 Scanner control unit,
102 image processing unit, 104 JPEG decoder unit,
106 bus control unit, 108 head control unit,
110 DDR SDRAM controller, 112 local bus,
120 Host computer

Claims (12)

(A)第1プロセッサおよび第2プロセッサと、
(B)第1メモリおよび第2メモリと、
(C)外部からのデータを受信する通信インターフェイスと、
(D)前記通信インターフェイスにより受信されたデータを前記第2メモリに転送するDMAコントローラと、
を備え、
前記通信インターフェイスにより受信される前記データには、前記第2プロセッサが処理をする処理用データと、当該処理用データのサイズに関するサイズデータとが含まれ、
前記サイズデータが前記第1メモリに格納され、
前記第1プロセッサは、前記第1メモリに格納された前記サイズデータに基づき、前記DMAコントローラに対して、前記通信インターフェイスにより受信された前記処理用データを前記第2メモリに転送する命令を発行し、
前記第2プロセッサは、前記DMAコントローラにより前記第2メモリに転送された前記処理用データについて処理をすることを特徴とするコンピュータ装置。
(A) a first processor and a second processor;
(B) a first memory and a second memory;
(C) a communication interface for receiving data from the outside;
(D) a DMA controller that transfers data received by the communication interface to the second memory;
With
The data received by the communication interface includes processing data to be processed by the second processor and size data regarding the size of the processing data.
The size data is stored in the first memory;
The first processor issues an instruction to the DMA controller to transfer the processing data received by the communication interface to the second memory based on the size data stored in the first memory. ,
The computer apparatus, wherein the second processor processes the processing data transferred to the second memory by the DMA controller.
前記第1プロセッサがCPUであることを特徴とする請求項1に記載のコンピュータ装置。   The computer apparatus according to claim 1, wherein the first processor is a CPU. 前記第2プロセッサが画像処理用プロセッサであることを特徴とする請求項1または2に記載のコンピュータ装置。   The computer apparatus according to claim 1, wherein the second processor is an image processing processor. 前記第1メモリとしてSDRAMを有することを特徴とする請求項1〜3のいずれか1項に記載のコンピュータ装置。   The computer apparatus according to claim 1, further comprising an SDRAM as the first memory. 前記通信インターフェイスは、前記処理用データおよび前記サイズデータを1つのパケットデータとして受信することを特徴とする請求項1〜4のいずれか1項に記載のコンピュータ装置。   The computer apparatus according to claim 1, wherein the communication interface receives the processing data and the size data as one packet data. 前記通信インターフェイスは、前記処理用データよりも先に前記サイズデータを受信することを特徴とする請求項1〜5のいずれか1項に記載のコンピュータ装置。   The computer apparatus according to claim 1, wherein the communication interface receives the size data before the processing data. 前記第1プロセッサによる前記第1メモリへのアクセスと、前記第2プロセッサによる前記第2メモリへのアクセスとが異なる経路を通じて行われることを特徴とする請求項1〜6のいずれか1項に記載のコンピュータ装置。   7. The access to the first memory by the first processor and the access to the second memory by the second processor are performed through different paths. Computer equipment. 前記第2メモリは、前記第1メモリよりもデータ容量が大きいことを特徴とする請求項1〜7のいずれか1項に記載のコンピュータ装置。   The computer apparatus according to claim 1, wherein the second memory has a data capacity larger than that of the first memory. 前記第1プロセッサは、前記第1メモリに対して前記第2メモリに比べて高速にアクセスをすることができることを特徴とする請求項1〜8のいずれか1項に記載のコンピュータ装置。   9. The computer apparatus according to claim 1, wherein the first processor can access the first memory at a higher speed than the second memory. 前記第2プロセッサを複数備えたことを特徴とする請求項1〜9のいずれか1項に記載のコンピュータ装置。   The computer apparatus according to claim 1, comprising a plurality of the second processors. (A)第1プロセッサおよび第2プロセッサと、
(B)第1メモリおよび第2メモリと、
(C)外部からのデータを受信する通信インターフェイスと、
(D)前記通信インターフェイスにより受信されたデータを前記第2メモリに転送するDMAコントローラと、
を備え、
前記通信インターフェイスにより受信される前記データには、前記第2プロセッサが処理をする処理用データと、当該処理用データのサイズに関するサイズデータとが含まれ、
前記サイズデータが前記第1メモリに格納され、
前記第1プロセッサは、前記第1メモリに格納された前記サイズデータに基づき、前記DMAコントローラに対して、前記通信インターフェイスにより受信された前記処理用データを前記第2メモリに転送する命令を発行し、
前記第2プロセッサは、前記DMAコントローラにより前記第2メモリに転送された前記処理用データについて処理をし、
前記第1プロセッサがCPUであり、前記第2プロセッサが画像処理用プロセッサであり、前記第1メモリとしてSDRAMを有し、
前記通信インターフェイスは、前記処理用データおよび前記サイズデータを1つのパケットデータとして受信し、
前記通信インターフェイスは、前記処理用データよりも先に前記サイズデータを受信し、
前記第1プロセッサによる前記第1メモリへのアクセスと、前記第2プロセッサによる前記第2メモリへのアクセスとが異なる経路を通じて行われ、
前記第2メモリは、前記第1メモリよりもデータ容量が大きく、
前記第1プロセッサは、前記第1メモリに対して前記第2メモリに比べて高速にアクセスをすることができ、
前記第2プロセッサを複数備えたことを特徴とするコンピュータ装置。
(A) a first processor and a second processor;
(B) a first memory and a second memory;
(C) a communication interface for receiving data from the outside;
(D) a DMA controller that transfers data received by the communication interface to the second memory;
With
The data received by the communication interface includes processing data to be processed by the second processor and size data regarding the size of the processing data.
The size data is stored in the first memory;
The first processor issues an instruction to the DMA controller to transfer the processing data received by the communication interface to the second memory based on the size data stored in the first memory. ,
The second processor processes the processing data transferred to the second memory by the DMA controller,
The first processor is a CPU, the second processor is an image processing processor, and the first memory includes an SDRAM;
The communication interface receives the processing data and the size data as one packet data,
The communication interface receives the size data prior to the processing data;
Access to the first memory by the first processor and access to the second memory by the second processor are performed through different paths,
The second memory has a larger data capacity than the first memory,
The first processor can access the first memory faster than the second memory,
A computer apparatus comprising a plurality of the second processors.
(A)第1プロセッサおよび第2プロセッサと、
(B)第1メモリおよび第2メモリと、
(C)外部からのデータを受信する通信インターフェイスと、
(D)前記通信インターフェイスにより受信されたデータを前記第2メモリに転送するDMAコントローラと、
(E)媒体に対して印刷を施す印刷部と、
を備え、
前記通信インターフェイスにより受信される前記データには、前記第2プロセッサが処理をする処理用データと、当該処理用データのサイズに関するサイズデータとが含まれ、
前記サイズデータが前記第1メモリに格納され、
前記第1プロセッサは、前記第1メモリに格納された前記サイズデータに基づき、前記DMAコントローラに対して、前記通信インターフェイスにより受信された前記処理用データを前記第2メモリに転送する命令を発行し、
前記第2プロセッサは、前記DMAコントローラにより前記第2メモリに転送された前記処理用データについて処理をし、
前記印刷部は、前記第2プロセッサによる前記処理により生成されたデータに基づき、媒体に対して印刷を施すことを特徴とする印刷装置。
(A) a first processor and a second processor;
(B) a first memory and a second memory;
(C) a communication interface for receiving data from the outside;
(D) a DMA controller that transfers data received by the communication interface to the second memory;
(E) a printing unit for printing on the medium;
With
The data received by the communication interface includes processing data to be processed by the second processor and size data regarding the size of the processing data.
The size data is stored in the first memory;
The first processor issues an instruction to the DMA controller to transfer the processing data received by the communication interface to the second memory based on the size data stored in the first memory. ,
The second processor processes the processing data transferred to the second memory by the DMA controller,
The printing apparatus, wherein the printing unit performs printing on a medium based on data generated by the processing by the second processor.
JP2006173838A 2006-06-23 2006-06-23 Computer device and printing device Pending JP2008005300A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006173838A JP2008005300A (en) 2006-06-23 2006-06-23 Computer device and printing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006173838A JP2008005300A (en) 2006-06-23 2006-06-23 Computer device and printing device

Publications (1)

Publication Number Publication Date
JP2008005300A true JP2008005300A (en) 2008-01-10

Family

ID=39009309

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006173838A Pending JP2008005300A (en) 2006-06-23 2006-06-23 Computer device and printing device

Country Status (1)

Country Link
JP (1) JP2008005300A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102152668A (en) * 2009-11-26 2011-08-17 佳能株式会社 Printing apparatus and processing method therefor

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102152668A (en) * 2009-11-26 2011-08-17 佳能株式会社 Printing apparatus and processing method therefor
CN102152668B (en) * 2009-11-26 2014-06-11 佳能株式会社 Printing apparatus and processing method thereof
US8947684B2 (en) 2009-11-26 2015-02-03 Canon Kabushiki Kaisha Printing apparatus and processing method therefor

Similar Documents

Publication Publication Date Title
CN101626445B (en) Image reading apparatus, and image forming apparatus
JP2007072394A (en) Screen display controller, screen display control method, screen display device, screen display control system, and printer
US6264384B1 (en) Multi-functional apparatus having a small size and method for same
JP2008005300A (en) Computer device and printing device
JPH04153072A (en) Picture processor
JP2007067627A (en) Recording apparatus and control method thereof
JP4631278B2 (en) Printing apparatus and printing method
JP2004122645A (en) Printing device, printing method, program, and computer system
JP2008036884A (en) Printer
JP2005117462A (en) Printer, image reading device, printing method and printing system
JP5854472B2 (en) Image forming apparatus
JP2004237599A (en) Image data transmission control device
JP4760990B2 (en) Printing method, printing apparatus, and program
KR100277772B1 (en) How to print fax data using a color cartridge
JP6562763B2 (en) Sheet feeding apparatus and sheet processing apparatus
JP2008036883A (en) Printer
JP2007243611A (en) Multifunction device, program, and system
KR20080021439A (en) Image forming apparatus and image forming method capable of performing printing without space
JP2007172268A (en) Computer device
JP2009073131A (en) Printing device
JP6660125B2 (en) Image forming apparatus, control method therefor, program, and storage medium
JP2007194959A (en) Image data conversion device and method, and printer
JP2021176687A (en) Information processing device, control method and program
JP4582240B2 (en) Printing method, printing apparatus, and program
JP2005193543A (en) Printer and method of printing