JP2001018463A - Dma controller and dma controlling method - Google Patents

Dma controller and dma controlling method

Info

Publication number
JP2001018463A
JP2001018463A JP11193616A JP19361699A JP2001018463A JP 2001018463 A JP2001018463 A JP 2001018463A JP 11193616 A JP11193616 A JP 11193616A JP 19361699 A JP19361699 A JP 19361699A JP 2001018463 A JP2001018463 A JP 2001018463A
Authority
JP
Japan
Prior art keywords
data
control board
printer control
printer
dma
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
JP11193616A
Other languages
Japanese (ja)
Inventor
Yoshiaki Hirano
義昭 平野
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.)
Canon Inc
Original Assignee
Canon Inc
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 Canon Inc filed Critical Canon Inc
Priority to JP11193616A priority Critical patent/JP2001018463A/en
Publication of JP2001018463A publication Critical patent/JP2001018463A/en
Pending legal-status Critical Current

Links

Abstract

PROBLEM TO BE SOLVED: To obtain a DMA controller for printer in which the order of data can be matched even if a user is unconscious of the type of printer control board or the type of data being transferred. SOLUTION: A CPU in an engine body reads out the value of a configuration register 328 in a printer control board and makes a decision which printer control board is inserted by that value. Based on the decision results, a data bus select register 310 is latched to Low or High so that the order of data is matched between the printer control board and the engine body thus selecting connection of the data bus between them. At the same time, connection of the data bus is altered depending on the type of data being transferred such that the order of data is matched between the printer control board and the engine body.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、プリンタ装置にお
けるDMA(ダイレクトメモリアクセス)制御装置およ
びDMA制御方法に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a DMA (Direct Memory Access) control device and a DMA control method in a printer device.

【0002】[0002]

【従来の技術】従来、レーザビームプリンタで代表され
る電子写真方式のプリンタにおいては、ホストコンピュ
ータ等の外部装置からプリントデータ(コードデータや
イメージデータ等)を受信して、その受信したプリント
データに基づいたビットマップデータを展開し、その展
開が終了した後、展開されたビットマップデータをビデ
オデータとしてプリンタエンジンに出力している。
2. Description of the Related Art Conventionally, in an electrophotographic printer represented by a laser beam printer, print data (code data, image data, etc.) is received from an external device such as a host computer, and the received print data is added to the print data. Based on the developed bitmap data, after the development is completed, the developed bitmap data is output to the printer engine as video data.

【0003】ところで、昨今、この種の装置における解
像度は非常に高くなってきており、それにつれて転送す
るビットマップデータも膨大な量を要するようになっ
た。
[0003] In recent years, the resolution of this type of device has become extremely high, and accordingly, an enormous amount of bitmap data to be transferred has been required.

【0004】これを解決するために、従来は、シリアル
データとしてビットマップデータを転送していたが、最
近では、ビットマップデータをパラレルデータとして転
送するようになってきている。
In order to solve this problem, bitmap data has been conventionally transferred as serial data, but recently bitmap data has been transferred as parallel data.

【0005】また昨今、PDL(ページ記述言語)で記
述されたデータなど様々なデータ形式で送られてくるプ
リント対象の受信データをラスタ形式のイメージデータ
としてメモリに展開するプリンタ制御ボード(プリンタ
制御部、あるいはPDLボードともいう)とプリンタエ
ンジン本体のエンジン制御部との間を標準的でパラレル
なインターフェース(以降、I/Fと称する)を用いて
接続し、ビットマップデータ及び、プリンタ制御ボー
ド、プリンタエンジン間の通信も同じバスを用いてやり
取りする手法がとられるようになってきている。
[0005] Recently, a printer control board (printer control unit) that expands received data to be printed transmitted in various data formats such as data described in PDL (page description language) into a memory as raster image data. Or a PDL board) and an engine control unit of the printer engine main body by using a standard parallel interface (hereinafter, referred to as an I / F) to connect bitmap data, a printer control board, and a printer. A method of exchanging communication between engines using the same bus has been adopted.

【0006】代表的なI/F(インターフェース)とし
てたとえば、VL(VESA-Local)−I/F,PCI(Pe
ripheral Component Interconnect),IDE(Integra
tedDevice Electronics)I/Fなどがある。そして、
これらのI/Fを用いて、プリンタ制御ボードで展開し
たビットマップデータを一度エンジン本体のエンジン制
御部のRAM(ランダムアクセスメモリ)に格納してか
ら印刷したり、同じバスを用いて、コマンド/ステータ
スデータのやり取りも行なうようになっている。
As typical I / Fs (interfaces), for example, VL (VESA-Local) -I / F, PCI (Pe
ripheral Component Interconnect), IDE (Integra
tedDevice Electronics) I / F. And
Using these I / Fs, the bitmap data developed by the printer control board is temporarily stored in the RAM (random access memory) of the engine control unit of the engine main body and then printed, or the command / command is transmitted using the same bus. It also exchanges status data.

【0007】[0007]

【発明が解決しようとする課題】しかしながら、ビット
マップデータとコマンド/ステータスデータを同じバス
を用いて転送する場合、プリンタ制御ボードとプリンタ
エンジンのエンジン制御部とのデータの並びが合致して
いないために、不具合が生じる場合がある。
However, when bitmap data and command / status data are transferred using the same bus, the data arrangement between the printer control board and the engine control unit of the printer engine does not match. In some cases, problems may occur.

【0008】これは、例えば、図4、図5に示すよう
に、プリンタ制御ボード内のメモリーに展開された画像
データは紙面左上がLSB(最下位ビット)であるよう
なデータの並びであるが、プリンタエンジン本体のエン
ジン制御部のメモリに格納された画像データは紙面左上
がMSB(最上位ビット)となるようなデータの並びの
場合である。この場合、プリンタ制御ボードから転送す
る画像データのLSBをプリンタエンジン本体のエンジ
ン制御部のMSBに対応するようにデータバスの接続を
変更しなければならないが、コマンド/ステータスをや
り取りする場合にはMSBどうし、LSBどうしが対応
するようにデータバスを接続しなければならない、とい
うことがあった。
For example, as shown in FIGS. 4 and 5, the image data developed in the memory in the printer control board is a data sequence in which the upper left of the page is LSB (least significant bit). The image data stored in the memory of the engine control unit of the printer engine main body is a case where the data is arranged such that the MSB (most significant bit) is at the upper left of the page. In this case, the connection of the data bus must be changed so that the LSB of the image data transferred from the printer control board corresponds to the MSB of the engine control unit of the printer engine main unit. In some cases, the data buses must be connected so that the LSBs correspond to each other.

【0009】更に、1つのプリンタエンジンに複数種類
のプリンタ制御ボードが接続される場合には、プリンタ
制御ボードによっては、ビットマップデータ及び、コマ
ンド/ステータスデータがプリンタエンジン本体のエン
ジン制御部のデータの並びと同じものも有り得る。そこ
で、接続されるプリンタ制御ボードの種類、及び転送す
るデータの種類に応じて、プリンタ制御ボードとプリン
タエンジン本体のデータの接続を変更しなければならな
い、ということがあった。
Further, when a plurality of types of printer control boards are connected to one printer engine, bitmap data and command / status data may be converted to data of an engine control unit of the printer engine body depending on the printer control boards. Some may be the same as the row. Therefore, the connection between the printer control board and the data of the printer engine itself must be changed according to the type of printer control board to be connected and the type of data to be transferred.

【0010】本発明は、上記課題を解決するためになさ
れたものであり、その目的は、どのプリンタ制御ボード
が接続されているかを判断し、この判断結果に基づき接
続されたプリンタ制御ボードとプリンタエンジン本体の
データの並びが合うように接続し、さらには転送するデ
ータの種類によっても、プリンタ制御ボードとプリンタ
エンジン本体のデータの並びが合うようにデータバスの
接続を変更することで、プリンタ制御ボードの種類及
び、転送するデータの種類を使用者が意識せずに、デー
タの並びを自動的に合わせることが可能となるように図
ったプリンタ装置のDMA制御装置およびDMA制御方
法を提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to determine which printer control board is connected, and to connect the connected printer control board and printer based on the determination result. The printer is controlled by changing the connection of the data bus so that the data of the printer control board and the printer engine are aligned according to the type of data to be transferred. To provide a DMA control device and a DMA control method for a printer device that enable automatic alignment of data arrangement without the user being conscious of the type of board and the type of data to be transferred. It is in.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するた
め、請求項1の発明は、エンジン本体が複数種類のプリ
ンタ制御ボードと接続可能であって、該プリンタ制御ボ
ードと該エンジン本体間でパラレルのデータバスを介し
て画像データ及び、コマンド/ステータスデータをDM
A転送するプリンタ装置のDMA制御装置において、前
記プリンタ制御ボード内に夫々設けられ当該プリンタ制
御ボードの識別を表わす値を予め格納したコンフィグレ
ーションレジスタと、前記プリンタ制御ボード内の前記
コンフィグレーションレジスタの値により、どのプリン
タ制御ボードが接続されているかを判断する前記エンジ
ン本体内の判断手段と、前記プリンタ制御ボードによっ
てはコマンド/ステータスデータと画像データの並びと
が前記エンジン本体のデータの並びと異なる場合におい
ても、前記判断手段の判断結果に基づき、前記プリンタ
制御ボードと前記エンジン本体のデータの並びが合うよ
うに、前記データバスの接続を選択する前記エンジン本
体内のデータバス接続選択手段とを具備することを特徴
とする。
According to a first aspect of the present invention, an engine body is connectable to a plurality of types of printer control boards, and a parallel connection is provided between the printer control board and the engine body. Image data and command / status data via the data bus
In the DMA control device of the printer device that performs the A transfer, a configuration register provided in the printer control board and preliminarily storing a value indicating the identification of the printer control board, and a value of the configuration register in the printer control board A determination means in the engine main body for determining which printer control board is connected, and a case where the arrangement of command / status data and image data is different from the arrangement of data of the engine main body depending on the printer control board. And a data bus connection selecting means in the engine main body for selecting the connection of the data bus so that the data of the printer control board and the data of the engine main body are aligned based on the judgment result of the judgment means. It is characterized by doing.

【0012】ここで、転送するデータが画像データかコ
マンド/ステータスデータかを判別する前記プリンタ制
御ボード内のデータ判別手段を更に有し、前記データバ
ス接続選択手段は、前記データ判別手段から送られるデ
ータ判別結果に基ずき、当該プリンタ制御ボードと当該
エンジン本体のデータの並びが合うように前記データバ
スの接続を選択することを特徴とすることができる。
Here, the printer control board further includes data discriminating means for discriminating whether data to be transferred is image data or command / status data, and the data bus connection selecting means is sent from the data discriminating means. Based on the data determination result, the connection of the data bus is selected so that the data of the printer control board and the data of the engine main body are aligned.

【0013】また、前記データバスの接続が同じものと
異なるものとの複数のDMA転送チャネルを有し、前記
データバス接続選択手段は、前記プリンタ制御ボードの
コンフィグレーションレジスタの値から、どのプリンタ
制御ボードが接続されているかを判断し、接続された当
該プリンタ制御ボードと当該エンジン本体のデータの並
びが合うように、前記DMA転送チャネルを選択するこ
とを特徴とすることができる。
[0013] The data bus connection selecting means has a plurality of DMA transfer channels for the same and different data bus connections, and the data bus connection selecting means determines which printer control channel from the value of the configuration register of the printer control board. It may be characterized in that it is determined whether a board is connected or not, and the DMA transfer channel is selected so that the data of the connected printer control board and the data of the engine main body match.

【0014】上記目的を達成するため、請求項4の発明
は、エンジン本体が複数種類のプリンタ制御ボードと接
続可能であって、該プリンタ制御ボードと該エンジン本
体間でパラレルのデータバスを介して画像データ及び、
コマンド/ステータスデータをDMA転送するプリンタ
装置のDMA制御装置において、前記プリンタ制御ボー
ド内に夫々設けられ当該プリンタ制御ボードの識別を表
わす値を予め格納したコンフィグレーションレジスタ
と、前記プリンタ制御ボード内の前記コンフィグレーシ
ョンレジスタの値と前記エンジン本体のデータの並びと
に基づいて、前記プリンタ制御ボードと前記エンジン本
体のコマンド/ステータスデータと画像データの並びと
が合うように、前記データバスの接続を選択する前記プ
リンタ制御ボード内のデータバス接続選択手段とを具備
することを特徴とする。
According to a fourth aspect of the present invention, an engine body is connectable to a plurality of types of printer control boards, and the printer control board and the engine body are connected via a parallel data bus. Image data and
In a DMA control device of a printer device for transferring command / status data by DMA, a configuration register provided in the printer control board and preliminarily storing a value indicating the identification of the printer control board; The connection of the data bus is selected based on a value of a configuration register and an arrangement of data of the engine body so that an arrangement of command / status data and image data of the printer control board and the engine body is matched. Data bus connection selecting means in the printer control board.

【0015】ここで、前記DMA転送は、双方向バッフ
ァ、マスタコントローラ、およびターゲットコントロー
ラを介して行うことを特徴とすることができる。
Here, the DMA transfer may be performed via a bidirectional buffer, a master controller, and a target controller.

【0016】また、一対のFIFOおよびDMAコント
ローラを1つにまとめたDMA転送チャンネルを2組有
することを特徴とすることができる。
Further, the present invention is characterized by having two sets of DMA transfer channels in which a pair of FIFO and DMA controllers are integrated into one.

【0017】また、前記画像データは、ビットマップデ
ータであることを特徴とすることができる。
Further, the image data may be bitmap data.

【0018】また、前記プリンタ装置は、プリンタ、複
写機、ファクシミリ装置、複合周辺装置を少なくとも包
含するプリンタ機構を持つデジタル電子機器または情報
処理システムであることを特徴とすることができる。
The printer device may be a digital electronic device or an information processing system having a printer mechanism including at least a printer, a copier, a facsimile device, and a complex peripheral device.

【0019】上記目的を達成するため、請求項9の発明
は、エンジン本体が複数種類のプリンタ制御ボードと接
続可能であって、該プリンタ制御ボードと該エンジン本
体間でパラレルのデータバスを介して画像データ及び、
コマンド/ステータスデータをDMA転送するプリンタ
装置のDMA制御方法において、前記プリンタ制御ボー
ド内のコンフィグレーションレジスタに当該プリンタ制
御ボードの識別を表わす値を予め格納するステップと、
前記コンフィグレーションレジスタの値により、どのプ
リンタ制御ボードが接続されているかを判断する判断ス
テップと、前記プリンタ制御ボードによってはコマンド
/ステータスデータと画像データの並びとが前記エンジ
ン本体のデータの並びと異なる場合においても、前記判
断ステップでの判断結果に基づき、前記プリンタ制御ボ
ードと前記エンジン本体のデータの並びが合うように、
前記データバスの接続を選択するデータバス接続選択ス
テップとを有することを特徴とする。
According to a ninth aspect of the present invention, an engine body is connectable to a plurality of types of printer control boards, and the printer control board and the engine body are connected via a parallel data bus. Image data and
In a DMA control method for a printer device for transferring command / status data by DMA, a step of storing in advance a value representing the identification of the printer control board in a configuration register in the printer control board;
A determination step of determining which printer control board is connected according to the value of the configuration register; and, depending on the printer control board, the arrangement of command / status data and image data differs from the arrangement of data of the engine body. In such a case, based on the result of the determination in the determination step, the data of the printer control board and the data of the engine body are aligned,
A data bus connection selecting step of selecting the connection of the data bus.

【0020】ここで、転送するデータが画像データかコ
マンド/ステータスデータかを判別するデータ判別ステ
ップとを更に有し、前記データバス接続選択ステップで
は、前記データ判別ステップでのデータ判別結果に基ず
き、当該プリンタ制御ボードと当該エンジン本体のデー
タの並びが合うように前記データバスの接続を選択する
ことを特徴とすることができる。
Here, the method further comprises a data discriminating step of discriminating whether the data to be transferred is image data or command / status data. In the data bus connection selecting step, the data bus connection selecting step is performed based on the data discrimination result in the data discriminating step. In this case, the connection of the data bus is selected so that the data of the printer control board and the data of the engine main body are aligned.

【0021】また、前記データバスの接続が同じものと
異なるものとの複数のDMA転送チャネルを有し、前記
データバス接続選択ステップでは、前記プリンタ制御ボ
ードのコンフィグレーションレジスタの値から、どのプ
リンタ制御ボードが接続されているかを判断し、接続さ
れた当該プリンタ制御ボードと当該エンジン本体のデー
タの並びが合うように、前記DMA転送チャネルを選択
することを特徴とすることができる。
In addition, the data bus connection has a plurality of DMA transfer channels of the same or different data bus connections. In the data bus connection selecting step, which printer control board It may be characterized in that it is determined whether a board is connected or not, and the DMA transfer channel is selected so that the data of the connected printer control board and the data of the engine main body match.

【0022】[0022]

【発明の実施の形態】以下、図面を参照して本発明の実
施の形態を詳細に説明する。
Embodiments of the present invention will be described below in detail with reference to the drawings.

【0023】(第1の実施の形態)図1は本発明を適用
したDMA制御装置を備えた印刷システムの構成例を示
す。なお、本例では、一例としてPCIバスを利用して
いる。
(First Embodiment) FIG. 1 shows a configuration example of a printing system provided with a DMA control device to which the present invention is applied. In this example, a PCI bus is used as an example.

【0024】図1において、1はPDLで記述されたデ
ータなど様々なデータ形式で送られてくるプリント対象
の受信データをイメージデータとしてメモリに展開する
プリンタ制御ボード(プリンタ制御部ともいう)であ
り、2はPCIバス3を通じてプリンタ制御ボード1か
ら供給されたビットマップデータをプリンタ206で印
刷させる制御を行うエンジン制御部である。
In FIG. 1, reference numeral 1 denotes a printer control board (also referred to as a printer control unit) for expanding received data to be printed transmitted in various data formats, such as data described in PDL, into a memory as image data. Reference numeral 2 denotes an engine control unit that controls the printer 206 to print bitmap data supplied from the printer control board 1 via the PCI bus 3.

【0025】プリンタ制御ボード1において、101は
表示パネルであり、パネルI/F102を介してプリン
タ制御ボード内のバス110に接続している。103は
ホストI/Fであり、ホストコンピュータ等の外部機器
104と接続するためのI/Fである。105はビット
マップデータ(画像データ)を発生する画像データ発生
部であり、発生されたビットマップデータはRAM10
6内に書き込まれる。ROM(リードオンリメモリ)1
07にはCPU(中央演算ユニット)108の動作を制
御するプログラム及び、フォントデータが予め書き込ま
れている。109はRAM106内に書き込まれた画像
データ及び、コマンド/ステータスデータをプリンタエ
ンジンのエンジン制御部2へ転送するPCI(Peripher
al Component Interconnect)コントローラであり、P
CIバス3に接続されている。
In the printer control board 1, a display panel 101 is connected to a bus 110 in the printer control board via a panel I / F 102. Reference numeral 103 denotes a host I / F, which is an interface for connecting to an external device 104 such as a host computer. An image data generator 105 generates bitmap data (image data). The generated bitmap data is stored in the RAM 10.
6 is written. ROM (read only memory) 1
In 07, a program for controlling the operation of the CPU (Central Processing Unit) 108 and font data are written in advance. A PCI (Peripheral) 109 transfers image data and command / status data written in the RAM 106 to the engine control unit 2 of the printer engine.
al Component Interconnect) controller and P
It is connected to the CI bus 3.

【0026】プリンタエンジンのエンジン制御部2にお
いて、201はプリンタエンジン内のPCIコントロー
ラであり、プリンタ制御ボード1のRAM106からP
CIコントローラ109、PCIバス3を通じて送られ
てくるビットマップデータ及び、コマンド/ステータス
データをプリンタエンジン内のRAM204へ転送す
る。202はプリンタエンジンの動作を制御するCP
U、203はその制御プログラムが予め書込まれたRO
M、205はRAM204内に格納された画像データを
プリンタ206へ転送するプリンタI/F部である。
In the engine control unit 2 of the printer engine, reference numeral 201 denotes a PCI controller in the printer engine.
The CI controller 109 transfers bitmap data and command / status data sent via the PCI bus 3 to the RAM 204 in the printer engine. 202 is a CP for controlling the operation of the printer engine.
U and 203 are ROs in which the control program is written in advance.
M and 205 are printer I / F units that transfer image data stored in the RAM 204 to the printer 206.

【0027】図2は本発明の一実施の形態における図1
のPCIコントローラ109の詳細な内部構成を示す。
図2において、301はプリンタ制御ボード1内のリー
ド信号、302はプリンタ制御ボード1内のデータバ
ス、303はプリンタ制御ボード内のアドレスバスであ
る。336、337、338はそれぞれPCIバス側
の、AD(アドレス)バス、コントロール信号、コマン
ド/バイトイネーブル信号である。
FIG. 2 shows one embodiment of the present invention.
2 shows a detailed internal configuration of the PCI controller 109 of FIG.
2, reference numeral 301 denotes a read signal in the printer control board 1, 302 denotes a data bus in the printer control board 1, and 303 denotes an address bus in the printer control board. Reference numerals 336, 337, and 338 denote an AD (address) bus, a control signal, and a command / byte enable signal on the PCI bus side.

【0028】305は双方向バッファ、334はマスタ
ーコントローラ、335はターゲットコントローラであ
る。313はセレクタ、322および323はFIFO
(ファースト・イン・ファースト・アウト回路)であ
る。324はDMAコントローラ、326はアドレスデ
コーダ、328はコンフィグレーションレジスタ、32
9はデコーダである。315、319はNAND回路、
310、318はデータバス選択レジスタ、312はア
ドレスカウンタ、306は双方向バッファである。
305 is a bidirectional buffer, 334 is a master controller, and 335 is a target controller. 313 is a selector, 322 and 323 are FIFOs
(First-in first-out circuit). 324, a DMA controller; 326, an address decoder; 328, a configuration register;
9 is a decoder. 315 and 319 are NAND circuits,
310 and 318 are data bus selection registers, 312 is an address counter, and 306 is a bidirectional buffer.

【0029】以上の構成において、プリンタ制御ボード
1内のRAM106からプリンタエンジン内のエンジン
制御部2のRAM204へコマンドデータを転送する場
合には、プリンタ制御ボード1のデータバス302から
双方向バッファ305を介して、データの並びがそのま
まのデータバス308のデータが、及びデータの並びが
それとは逆のデータバス309のデータがセレクタ31
3にそれぞれ入力されるが、このとき選択信号311が
Low(ローレベル)のため、セレクタ313でデータ
バス308が選択され、コマンドデータのデータの並び
は変更されずに、データバス314に出力される。
In the above configuration, when command data is transferred from the RAM 106 in the printer control board 1 to the RAM 204 in the engine control unit 2 in the printer engine, the bidirectional buffer 305 is transferred from the data bus 302 of the printer control board 1 to the printer. The data on the data bus 308 in which the data arrangement is unchanged and the data on the data bus 309 in which the data arrangement is reverse to the data
3, since the selection signal 311 is Low (low level) at this time, the data bus 308 is selected by the selector 313, and the command data is output to the data bus 314 without being changed. You.

【0030】何故ならば、エンジン制御部2のRAM2
04へコマンドデータを転送するに先立ち、プリンタエ
ンジンのCPU202は、コンフィグレーションレジス
タ328の値を、データバス333、ターゲットコント
ローラ335、AD(アドレス)バス336を介して読
み出し、呼び出したコンフィグレーションレジスタ32
8の値に基ずき、どのプリンタ制御ボードがプリンタに
接続されているかを判断した後、ADバス336、ター
ゲットコントローラ335、データバス325を介し
て、データバス選択レジスタ310をラッチして、選択
信号311をLowにするからである。
The reason is that the RAM 2 of the engine control unit 2
Prior to transferring the command data to the configuration register 32, the CPU 202 of the printer engine reads the value of the configuration register 328 via the data bus 333, the target controller 335, and the AD (address) bus 336, and calls the configuration register 32.
After determining which printer control board is connected to the printer based on the value of 8, the data bus selection register 310 is latched via the AD bus 336, the target controller 335, and the data bus 325 to select the printer control board. This is because the signal 311 is set to Low.

【0031】ここで、アドレスデコーダ326は、アド
レスバス327上の信号をデコードして、データバス選
択レジスタを選択する信号316を作成し、デコーダ3
29はコマンド/バイトイネーブル信号338をデコー
ドしてライト信号320を作成する。信号316と信号
320を入力したNAND(否定論理積)回路315に
より、データバス選択レジスタ用ライト信号を作成す
る。また、デコーダ329によりコマンド/バイトイネ
ーブル信号338をデコードして作られたリード信号3
21により、コンフィグレーションレジスタ328から
データをデータバス333へ読み出す。
Here, the address decoder 326 decodes the signal on the address bus 327 to generate a signal 316 for selecting the data bus selection register, and
29 decodes the command / byte enable signal 338 to create a write signal 320. A write signal for a data bus selection register is created by a NAND (Negative AND) circuit 315 to which the signal 316 and the signal 320 are input. A read signal 3 generated by decoding the command / byte enable signal 338 by the decoder 329
21 reads data from the configuration register 328 to the data bus 333.

【0032】コマンドデータは、一旦バッファメモリ用
のFIFO(ファースト・イン−ファースト・アウト回
路)323に格納された後、マスタコントローラ334
を経由してPCIバス336に出力され、エンジン制御
部2のRAM204に書き込まれる。RAM204への
書き込み先アドレスは、エンジンCPU202がPCI
バス336、ターゲットコントローラ335、データバ
ス325を介してDMAコントローラ324に設定さ
れ、更にアドレスバス332を通してマスタコントロー
ラ334に入力され、ADバス336から出力される。
Command data is temporarily stored in a FIFO (first-in-first-out circuit) 323 for a buffer memory, and then stored in a master controller 334.
And is output to the PCI bus 336 via the CPU and written to the RAM 204 of the engine control unit 2. The write destination address to the RAM 204 is determined by the engine CPU 202 by the PCI
The data is set in the DMA controller 324 via the bus 336, the target controller 335, and the data bus 325, further input to the master controller 334 via the address bus 332, and output from the AD bus 336.

【0033】プリンタエンジンのステータスデータはR
AM204からPCIバス336、マスタコントローラ
334、バッファ用FIFO322、双方向バッファ3
05を介してプリンタ制御ボードデータバス302へ出
力され、RAM106に格納される。この場合も、デー
タの並びは変わらずに転送される。
The printer engine status data is R
AM 204 to PCI bus 336, master controller 334, buffer FIFO 322, bidirectional buffer 3
The data is output to the printer control board data bus 302 via the CPU 05 and stored in the RAM 106. Also in this case, the data arrangement is transferred without change.

【0034】一方、プリンタ制御ボード1のRAM10
6からプリンタエンジン内のRAM204へビットマッ
プデータを転送する場合は、エンジンCPU202のコ
ントロール信号(データバス選択信号)がADバス33
6、ターゲットコントローラ335、データバス325
を介してデータバス選択レジスタ310にラッチされる
が、プリンタ制御ボード内のビットマップデータの並び
がエンジン本体内のデータの並びと異なる場合は、エン
ジンCPU202はデータバス選択レジスタ310にH
igh(ハイレベル)をラッチし、それによりOR(論
理和)回路356を介して選択信号311はHighに
なる。
On the other hand, the RAM 10 of the printer control board 1
When the bitmap data is transferred from the CPU 6 to the RAM 204 in the printer engine, the control signal (data bus selection signal) of the engine CPU 202 is transmitted to the AD bus 33.
6, target controller 335, data bus 325
Is latched in the data bus selection register 310 via the CPU. When the arrangement of the bitmap data in the printer control board is different from the arrangement of the data in the engine body, the engine CPU 202 stores the H in the data bus selection register 310.
High (high level) is latched, so that the selection signal 311 becomes High via the OR (OR) circuit 356.

【0035】その結果、データの並びを逆(プリンタ制
御ボードのビットマップデータのLSB/MSBをエン
ジン本体のデータMSB/LSBへ接続)にしたデータ
バス309がセレクタ313により選択され、データの
並びを逆にしたビットマップデータがデータバス31
4、FIFO323、データバス331、マスターコン
トローラ334、ADバス336を経由して、RAM2
04に転送される。
As a result, the data bus 309 in which the data arrangement is reversed (the LSB / MSB of the bitmap data of the printer control board is connected to the data MSB / LSB of the engine body) is selected by the selector 313, and the data arrangement is changed. The inverted bitmap data is stored in the data bus 31.
4, the RAM 323 via the FIFO 323, the data bus 331, the master controller 334, and the AD bus 336.
04.

【0036】プリンタ制御ボード内のビットマップデー
タの並びがエンジン本体内のデータの並びと同じ場合
は、エンジンCPU202はデータバス選択レジスタ3
10にLow(ローレベル)をラッチするため、OR回
路356を介して選択信号311はLowになり、デー
タバス308がセレクタ313により選択されるので、
プリンタ制御ボード内のビットマップデータはデータの
並びが変更されずにRAM204に転送される。
If the arrangement of the bitmap data in the printer control board is the same as the arrangement of the data in the engine body, the engine CPU 202 sets the data bus selection register 3
10 is latched low (low level), the selection signal 311 becomes low via the OR circuit 356, and the data bus 308 is selected by the selector 313.
The bitmap data in the printer control board is transferred to the RAM 204 without changing the data arrangement.

【0037】なお、図2において、317は転送元アド
レスレジスタ318を選択する信号であり、319は転
送元アドレスレジスタライト用の信号を作成するNAN
D回路である。転送元アドレスレジスタ318によって
設定されたアドレスは、アドレスカウンタ312、双方
向バッファ306を介してプリンタ制御ボード側へ出力
される。
In FIG. 2, reference numeral 317 denotes a signal for selecting the transfer source address register 318, and reference numeral 319 denotes a NAN for generating a transfer source address register write signal.
This is a D circuit. The address set by the transfer source address register 318 is output to the printer control board via the address counter 312 and the bidirectional buffer 306.

【0038】また、上記説明では、データバス選択信号
をプリンタエンジン内のCPU202から設定したが、
プリンタ制御ボード内のCPU108から設定してもよ
く、上記実施の形態と同様の効果を奏する。図2におい
て、351〜357がその部分であり、351がデータ
バス、352がプリンタ制御ボート内ライト信号、35
3がNAND回路、354がデータバス選択レジスタ、
356がOR回路、357はデータバス選択レジスタ3
54を選択するためのデコーダである。
In the above description, the data bus selection signal is set by the CPU 202 in the printer engine.
The setting may be made from the CPU 108 in the printer control board, and the same effects as in the above-described embodiment can be obtained. In FIG. 2, reference numerals 351 to 357 denote these parts, 351 denotes a data bus, 352 denotes a write signal in the printer control boat,
3 is a NAND circuit, 354 is a data bus selection register,
356 is an OR circuit, 357 is a data bus selection register 3
This is a decoder for selecting 54.

【0039】このデコード357のデコーダ信号とプリ
ンタ制御ボード側から入力されるライト信号352をN
AND回路353へ入力して、データバス選択レジスタ
354用のライト信号を作る。OR回路356はデータ
バス選択レジスタ354のラッチ出力355を入力し
て、データバス選択信号311を作る。データバス選択
信号311は前述のようにセレクタ313に供給され、
データバスが選択される。
The decoder signal of the decoder 357 and the write signal 352 input from the printer control board are
The write signal is input to the AND circuit 353 to generate a write signal for the data bus selection register 354. The OR circuit 356 receives the latch output 355 of the data bus selection register 354 and generates a data bus selection signal 311. The data bus selection signal 311 is supplied to the selector 313 as described above,
The data bus is selected.

【0040】(第2の実施の形態)図3に本発明の第2
の実施の形態を示す。図3は、図2においてDMA転送
を制御するFIFO322、FIFO323、DMAコ
ントローラ324を1つにまとめ、それらDMA転送チ
ャネルを402,403として2個設けた場合を示す。
ここで、図3では図2と変わらないブロックには、同じ
番号をつけている。
(Second Embodiment) FIG. 3 shows a second embodiment of the present invention.
An embodiment will be described. FIG. 3 shows a case where the FIFO 322, the FIFO 323, and the DMA controller 324 for controlling the DMA transfer in FIG. 2 are integrated into one, and two DMA transfer channels 402 and 403 are provided.
Here, in FIG. 3, the same blocks as those in FIG. 2 are given the same numbers.

【0041】図3において、プリンタ制御ボードのRA
M106からプリンタエンジン内のRAM204へコマ
ンドデータを転送する場合は、プリンタ制御ボードデー
タバス302から双方向バッファ305を介して、デー
タの並びがそのままのデータバス308を介して、一旦
DMA転送チャンネル402内のFIFOに格納され、
データバス405を介してセレクタ409に入力され
る。
In FIG. 3, the RA of the printer control board
When the command data is transferred from the M106 to the RAM 204 in the printer engine, the data is transferred from the printer control board data bus 302 via the bidirectional buffer 305 via the bidirectional buffer 305 via the data bus 308 where the data sequence is kept, and then temporarily transferred from the DMA transfer channel 402. Stored in the FIFO of
The data is input to the selector 409 via the data bus 405.

【0042】また、プリンタエンジンのRAM204へ
の書き込み先アドレスは、プリンタエンジンのCPU2
02がPCIバス336、ターゲットコントローラ33
5、データバス325を介してDMA転送チャンネル4
02内のDMAコントローラに設定され、更にアドレス
バス406を通じてセレクタ409に入力される。
The write destination address to the RAM 204 of the printer engine is determined by the CPU 2 of the printer engine.
02 is a PCI bus 336, a target controller 33
5, DMA transfer channel 4 via data bus 325
02 is set to the DMA controller in the address controller 02, and further input to the selector 409 through the address bus 406.

【0043】ところで、プリンタエンジンのCPU20
2のコントロール信号(データバス選択信号)はADバ
ス336、ターゲットコントローラ335を介してデー
タバス選択レジスタ310にラッチし、データバス選択
レジスタ310からの選択信号311をLowにする。
この選択信号311のLowに応じて、セレクタ409
によりデータバス405、転送先アドレスバス406が
選択されて、それぞれのバス上のデータ/アドレスが、
データバス331、アドレスバス332へ出力され、マ
スタコントローラ334を経由してPCIバス336に
出力され、データの並びは変わらずにプリンタエンジン
のRAM204に書き込まれる。
By the way, the CPU 20 of the printer engine
The second control signal (data bus selection signal) is latched in the data bus selection register 310 via the AD bus 336 and the target controller 335, and the selection signal 311 from the data bus selection register 310 is set to low.
The selector 409 is selected according to the Low of the selection signal 311.
Selects the data bus 405 and the transfer destination address bus 406, and the data / address on each bus is
The data is output to the data bus 331 and the address bus 332, output to the PCI bus 336 via the master controller 334, and written to the RAM 204 of the printer engine without changing the data arrangement.

【0044】プリンタエンジンのステータスデータはR
AM204からPCIバス336、マスタコントローラ
334、DMA転送チャンネル402内のFIFO、セ
レクタ401、双方向バッファ305を介して、プリン
タ制御ボードデータバス302へ出力され、プリンタ制
御ボード1のRAM106に格納される。この場合も、
データの並びは変わらずにRAM106に転送される。
The status data of the printer engine is R
The data is output from the AM 204 to the printer control board data bus 302 via the PCI bus 336, the master controller 334, the FIFO in the DMA transfer channel 402, the selector 401, and the bidirectional buffer 305, and is stored in the RAM 106 of the printer control board 1. Again,
The data arrangement is transferred to the RAM 106 without change.

【0045】一方、プリンタ制御ボードのRAM106
からプリンタエンジン内のRAM204へビットマップ
データを転送する際に、プリンタエンジンのCPU20
2がコンフィグレーションレジスタ328の値により、
プリンタ制御ボード内のビットマップデータとエンジン
内のデータの並びが異なると判断した場合には、プリン
タエンジンのCPU202はコントロール信号(データ
バス選択信号)をADバス336、ターゲットコントロ
ーラ335を介してデータバス選択レジスタ310にラ
ッチし、データバス選択レジスタ310からの選択信号
311をHighにする。その結果、データバス30
8,おおびDMA転送チャンネル403内のFIFOを
介して出力されたデータバス407のデータがセレクタ
409により選択されるが、データバス407はデータ
の並びを逆(プリンタ制御ボードデータのLSB/MS
Bをエンジン本体のデータMSB/LSBへ接続)にし
てあるため、データの並びが逆になったビットマップデ
ータがデータバス331、マスターコントローラ33
4、ADバス336を経由して、プリンタエンジンのR
AM204に転送される。
On the other hand, the RAM 106 of the printer control board
When transferring bitmap data from the printer engine to the RAM 204 in the printer engine, the CPU 20 of the printer engine
2 is determined by the value of the configuration register 328.
If it is determined that the arrangement of the bitmap data in the printer control board and the data in the engine is different, the CPU 202 of the printer engine sends a control signal (data bus selection signal) to the data bus via the AD bus 336 and the target controller 335. The data is latched in the selection register 310, and the selection signal 311 from the data bus selection register 310 is set to High. As a result, the data bus 30
8, and the data on the data bus 407 output via the FIFO in the DMA transfer channel 403 is selected by the selector 409, but the data bus 407 reverses the data arrangement (LSB / MS of the printer control board data).
B is connected to the data MSB / LSB of the engine body), so that the bitmap data in which the data arrangement is reversed is stored in the data bus 331 and the master controller 33.
4. The printer engine R via the AD bus 336
Transferred to AM 204.

【0046】同様にして、プリンタエンジンのRAM2
04への書き込み先アドレスは、プリンタエンジンのC
PU202がPCIバス336、ターゲットコントロー
ラ335、データバス325を介してDMA転送チャン
ネル403内のDMAコントローラに設定され、更にア
ドレスバス408を通してセレクタ409に入力され、
セレクタ409に選択されて、アドレスバス332、マ
スタコントローラ334を経由してPCIバス336に
出力される。
Similarly, the RAM 2 of the printer engine
04 is written in C of the printer engine.
The PU 202 is set as a DMA controller in the DMA transfer channel 403 via the PCI bus 336, the target controller 335, and the data bus 325, and further input to the selector 409 via the address bus 408.
The signal is selected by the selector 409 and output to the PCI bus 336 via the address bus 332 and the master controller 334.

【0047】また、プリンタ制御ボードのRAM106
からプリンタエンジン内のRAM204へビットマップ
データを転送する際、プリンタエンジンのCPU202
がコンフィグレーションレジスタ328の値により、プ
リンタ制御ボード内のビットマップデータとプリンタエ
ンジン内のデータの並びが同じと判断した場合には、プ
リンタエンジンのCPU202はコントロール信号をA
Dバス336、ターゲットコントローラ335を介して
データバス選択レジスタ310にラッチし、データバス
選択レジスタ310からの選択信号311をLowにす
る。その結果、セレクタ409により、データバス40
5が選択され、データの並びは変更されずにエンジン本
体のRAM204へビットマップデータが転送される。
The RAM 106 of the printer control board
When transferring bitmap data from the printer engine to the RAM 204 in the printer engine, the CPU 202 of the printer engine
Determines from the value of the configuration register 328 that the arrangement of the bitmap data in the printer control board and the data in the printer engine are the same, the CPU 202 of the printer engine changes the control signal to A
It is latched in the data bus selection register 310 via the D bus 336 and the target controller 335, and the selection signal 311 from the data bus selection register 310 is set to low. As a result, the selector 409 allows the data bus 40
5 is selected, and the bitmap data is transferred to the RAM 204 of the engine body without changing the data arrangement.

【0048】ところで、セレクタ401はDMA転送チ
ャネル選択信号404により選択されるが、このセレク
タ401はプリンタエンジンのステータスデータをRA
M204からプリンタ制御ボード内のRAM106に転
送する際に、402あるいは403のDMA転送チャネ
ルのうち、どちらを使用するかを選択する回路である。
The selector 401 is selected by the DMA transfer channel selection signal 404.
This is a circuit for selecting which of the DMA transfer channels 402 and 403 to use when transferring data from the M204 to the RAM 106 in the printer control board.

【0049】(他の実施形態)なお、本発明は、複数の
機器(例えば、ホストコンピュータ、インターフェース
機器、リーダ、プリンタなど)から構成されるシステム
に適用しても、1つの機器からなる装置(例えば、複写
機、ファクシミリ装置など)に適用してもよい。
(Other Embodiments) Even if the present invention is applied to a system composed of a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), an apparatus (one device) For example, the present invention may be applied to a copying machine, a facsimile machine, and the like.

【0050】また、本発明の目的は、前述した実施の形
態の機能を実現するソフトウエアのプログラムコードを
記録した記録媒体(記憶媒体)を、システムあるいは装
置に供給し、そのシステムあるいは装置のコンピュータ
(またはCPUやMPU)が記録媒体に格納されたプロ
グラムコードを読み出し、実行することによっても、達
成されることは言うまでもない。
Another object of the present invention is to provide a recording medium (storage medium) recording software program codes for realizing the functions of the above-described embodiments to a system or apparatus, and to provide a computer for the system or apparatus. Needless to say, the present invention is also achieved when the CPU (or the CPU or the MPU) reads out and executes the program code stored in the recording medium.

【0051】この場合、記録媒体から読み出されたプロ
グラムコード自体が前述した実施の形態の機能を実現す
ることになり、そのプログラムコードを記録した記録媒
体は本発明を構成することになる。
In this case, the program code itself read from the recording medium implements the functions of the above-described embodiment, and the recording medium on which the program code is recorded constitutes the present invention.

【0052】そのプログラムコードを記録し、またテー
ブル等の変数データを記録する記録媒体としては、例え
ばフロッピディスク(FD)、ハードディスク、光ディ
スク、光磁気ディスク、CD−ROM、CD−R、磁気
テープ、不揮発性のメモリカード(ICメモリカー
ド)、ROMなどを用いことができる。
Examples of a recording medium for recording the program code and variable data such as a table include a floppy disk (FD), hard disk, optical disk, magneto-optical disk, CD-ROM, CD-R, magnetic tape, A nonvolatile memory card (IC memory card), a ROM, or the like can be used.

【0053】また、コンピュータが読み出したプログラ
ムコードを実行することにより、前述の実施の形態の機
能が実現されるだけでなく、そのプログラムコードの指
示に基づいて、コンピュータ上で稼動しているOS(オ
ペレーティングシステム)などが実際の処理の一部また
は全部を行ない、その処理によって前述した実施の形態
の機能が実現される場合も含まれることは言うまでもな
い。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the operating system (OS) running on the computer based on the instruction of the program code. It goes without saying that an operating system) may perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.

【0054】[0054]

【発明の効果】以上説明したように、本発明によれば、
エンジン本体のCPUがプリンタ制御ボード内のコンフ
ィグレーションレジスタを読み出し、どのプリンタ制御
ボードが挿入されているか判断し、データバス選択レジ
スタをLow又は、Highにラッチして、プリンタ制
御ボードとエンジンとのデータバスの接続を選択するの
で、プリンタ制御ボードの種類及び、転送するデータの
種類を意識せずに、データの並びを自動的に合わせるこ
とが可能となる。
As described above, according to the present invention,
The CPU of the engine main body reads the configuration register in the printer control board, judges which printer control board is inserted, latches the data bus selection register to Low or High, and stores the data between the printer control board and the engine. Since the connection of the bus is selected, the data arrangement can be automatically adjusted without considering the type of the printer control board and the type of the data to be transferred.

【図面の簡単な説明】[Brief description of the drawings]

【図1】プリンタ制御装置のブロック図である。FIG. 1 is a block diagram of a printer control device.

【図2】本発明の第1の実施の形態を示すPCIコント
ローラ内のブロック図である。
FIG. 2 is a block diagram showing the inside of a PCI controller according to the first embodiment of the present invention.

【図3】本発明の第2の実施の形態を示すPCIコント
ローラ内のブロック図である。
FIG. 3 is a block diagram showing the inside of a PCI controller according to a second embodiment of the present invention;

【図4】プリンタ制御ボードメモリ内プリントデータの
並びを示す図である。
FIG. 4 is a diagram showing an arrangement of print data in a printer control board memory.

【図5】エンジン本体メモリ内プリントデータの並びを
示す図である。
FIG. 5 is a diagram showing an arrangement of print data in an engine main body memory.

【符号の説明】[Explanation of symbols]

1 プリンタ制御ボード 2 エンジン制御部 3 PCIバス 101 表示パネル 102 パネルI/F 103 ホストI/F 104 外部機器 105 画像データ発生部 106 RAM 107 ROM 108 CPU 109 PCIコントローラ 110 プリンタ制御ボード内バス 201 PCIコントローラ 202 CPU 203 ROM 204 RAM 205 プリンタコントローラ 206 プリンタ 301 プリンタ制御ボード内リード信号 302 プリンタ制御ボード内データバス 303 プリンタ制御ボード内アドレスバス 304 プリンタ制御ボード内リード信号 305 双方向バッファ 306 双方向バッファ 307 データバス 308 データバス 309 データバス 310 データバス選択レジスタ 311 データバス選択信号 312 アドレスカウンタ 313 セレクタ 314 データバス 315 NAND回路 316 データバス選択レジスタ選択信号 317 転送元アドレスレジスタ選択信号 318 転送元アドレスレジスタ 319 NAND回路 320 ライト信号 321 リード信号 322 FIFO 323 FIFO 324 DMAコントローラ 325 データバス 326 アドレスデコーダ 327 アドレスバス 328 コンフィグレーションレジスタ 329 デコーダ 330 データバス 331 データバス 332 アドレスバス 333 データバス 334 マスターコントローラ 335 ターゲットコントローラ 336 PCI ADバス 337 PCIコントロール信号 338 PCIコマンド/バイトイネーブル信号 351 データバス 352 プリンタ制御ボード内ライト信号 353 NAND回路 354 データバス選択レジスタ 355 データバス選択信号 356 OR回路 401 セレクタ 402 DMA転送チャネル 403 DMA転送チャネル 404 DMA転送チャネル選択信号 405 データバス 406 アドレスバス 407 データバス 408 アドレスバス 409 セレクタ DESCRIPTION OF SYMBOLS 1 Printer control board 2 Engine control part 3 PCI bus 101 Display panel 102 Panel I / F 103 Host I / F 104 External device 105 Image data generation part 106 RAM 107 ROM 108 CPU 109 PCI controller 110 Bus in printer control board 201 PCI controller 202 CPU 203 ROM 204 RAM 205 Printer controller 206 Printer 301 Read signal in printer control board 302 Data bus in printer control board 303 Address bus in printer control board 304 Read signal in printer control board 305 Bidirectional buffer 306 Bidirectional buffer 307 Data bus 308 data bus 309 data bus 310 data bus selection register 311 data bus selection signal 312 address clock Counter 313 selector 314 data bus 315 NAND circuit 316 data bus selection register selection signal 317 transfer source address register selection signal 318 transfer source address register 319 NAND circuit 320 write signal 321 read signal 322 FIFO 323 FIFO 324 DMA controller 325 data bus 326 address decoder 327 Address bus 328 Configuration register 329 Decoder 330 Data bus 331 Data bus 332 Address bus 333 Data bus 334 Master controller 335 Target controller 336 PCI AD bus 337 PCI control signal 338 PCI command / byte enable signal 351 Data bus 352 Printer control board Write signal 353 AND circuit 354 data bus select register 355 data bus selection signal 356 OR circuit 401 selector 402 DMA transfer channel 403 DMA transfer channel 404 DMA transfer channel selection signal 405 data bus 406 an address bus 407 data bus 408 an address bus 409 selector

Claims (11)

【特許請求の範囲】[Claims] 【請求項1】 エンジン本体が複数種類のプリンタ制御
ボードと接続可能であって、該プリンタ制御ボードと該
エンジン本体間でパラレルのデータバスを介して画像デ
ータ及び、コマンド/ステータスデータをDMA転送す
るプリンタ装置のDMA制御装置において、 前記プリンタ制御ボード内に夫々設けられ当該プリンタ
制御ボードの識別を表わす値を予め格納したコンフィグ
レーションレジスタと、 前記プリンタ制御ボード内の前記コンフィグレーション
レジスタの値により、どのプリンタ制御ボードが接続さ
れているかを判断する前記エンジン本体内の判断手段
と、 前記プリンタ制御ボードによってはコマンド/ステータ
スデータと画像データの並びとが前記エンジン本体のデ
ータの並びと異なる場合においても、前記判断手段の判
断結果に基づき、前記プリンタ制御ボードと前記エンジ
ン本体のデータの並びが合うように、前記データバスの
接続を選択する前記エンジン本体内のデータバス接続選
択手段とを具備することを特徴とするDMA制御装置。
1. An engine main body is connectable to a plurality of types of printer control boards, and image data and command / status data are DMA-transferred between the printer control board and the engine main body via a parallel data bus. In the DMA control device of the printer device, a configuration register provided in the printer control board and previously storing a value indicating the identification of the printer control board, and a value of the configuration register in the printer control board, Determining means in the engine main body for judging whether a printer control board is connected, and depending on the printer control board, even if the arrangement of command / status data and image data is different from the arrangement of data of the engine main body, Judgment by the judgment means DMA control, comprising: data bus connection selecting means in the engine main body for selecting connection of the data bus so that the data of the printer control board and the data of the engine main body are aligned based on the result. apparatus.
【請求項2】 転送するデータが画像データかコマンド
/ステータスデータかを判別する前記プリンタ制御ボー
ド内のデータ判別手段を更に有し、 前記データバス接続選択手段は、前記データ判別手段か
ら送られるデータ判別結果に基ずき、当該プリンタ制御
ボードと当該エンジン本体のデータの並びが合うように
前記データバスの接続を選択することを特徴とする請求
項1に記載のDMA制御装置。
2. The printer control board according to claim 1, further comprising a data discriminating means for discriminating whether the data to be transferred is image data or command / status data, wherein said data bus connection selecting means includes a data transmitted from said data discriminating means. 2. The DMA controller according to claim 1, wherein the connection of the data bus is selected so that the data of the printer control board and the data of the engine main body are aligned based on the determination result.
【請求項3】 前記データバスの接続が同じものと異な
るものとの複数のDMA転送チャネルを有し、 前記データバス接続選択手段は、前記プリンタ制御ボー
ドのコンフィグレーションレジスタの値から、どのプリ
ンタ制御ボードが接続されているかを判断し、接続され
た当該プリンタ制御ボードと当該エンジン本体のデータ
の並びが合うように、前記DMA転送チャネルを選択す
ることを特徴とする請求項1または2に記載のDMA制
御装置。
3. The printer according to claim 1, further comprising: a plurality of DMA transfer channels for connecting the same data bus and different data bus connections, wherein the data bus connection selecting means determines which printer control is to be performed based on a value of a configuration register of the printer control board. 3. The DMA transfer channel according to claim 1, wherein it is determined whether a board is connected, and the DMA transfer channel is selected so that the data of the connected printer control board and the data of the engine main body are aligned. DMA controller.
【請求項4】 エンジン本体が複数種類のプリンタ制御
ボードと接続可能であって、該プリンタ制御ボードと該
エンジン本体間でパラレルのデータバスを介して画像デ
ータ及び、コマンド/ステータスデータをDMA転送す
るプリンタ装置のDMA制御装置において、 前記プリンタ制御ボード内に夫々設けられ当該プリンタ
制御ボードの識別を表わす値を予め格納したコンフィグ
レーションレジスタと、 前記プリンタ制御ボード内の前記コンフィグレーション
レジスタの値と前記エンジン本体のデータの並びとに基
づいて、前記プリンタ制御ボードと前記エンジン本体の
コマンド/ステータスデータと画像データの並びとが合
うように、前記データバスの接続を選択する前記プリン
タ制御ボード内のデータバス接続選択手段とを具備する
ことを特徴とするDMA制御装置。
4. An engine main body can be connected to a plurality of types of printer control boards, and image data and command / status data are DMA-transferred between the printer control board and the engine main body via a parallel data bus. In the DMA control device of the printer device, a configuration register provided in the printer control board and preliminarily storing a value indicating the identification of the printer control board; a value of the configuration register in the printer control board; A data bus in the printer control board for selecting a connection of the data bus based on the arrangement of the data in the main body so that the arrangement of the command / status data and the image data of the printer control board and the engine main body is matched; Having connection selection means DMA controller according to claim.
【請求項5】 前記DMA転送は、双方向バッファ、マ
スタコントローラ、およびターゲットコントローラを介
して行うことを特徴とする請求項1ないし4のいずれか
に記載のDMA制御装置。
5. The DMA controller according to claim 1, wherein the DMA transfer is performed via a bidirectional buffer, a master controller, and a target controller.
【請求項6】 一対のFIFOおよびDMAコントロー
ラを1つにまとめたDMA転送チャンネルを2組有する
ことを特徴とする請求項1ないし5のいずれかに記載の
DMA制御装置。
6. The DMA controller according to claim 1, wherein the DMA controller has two sets of DMA transfer channels in which a pair of FIFO and DMA controllers are integrated into one.
【請求項7】 前記画像データは、ビットマップデータ
であることを特徴とする請求項1ないし6のいずれかに
記載のDMA制御装置。
7. The DMA control device according to claim 1, wherein said image data is bitmap data.
【請求項8】 前記プリンタ装置は、プリンタ、複写
機、ファクシミリ装置、複合周辺装置を少なくとも包含
するプリンタ機構を持つデジタル電子機器または情報処
理システムであることを特徴とする請求項1ないし7の
いずれかに記載のDMA制御装置。
8. The information processing system according to claim 1, wherein the printer device is a digital electronic device or a data processing system having a printer mechanism including at least a printer, a copier, a facsimile device, and a composite peripheral device. A DMA controller according to any one of claims 1 to 3.
【請求項9】 エンジン本体が複数種類のプリンタ制御
ボードと接続可能であって、該プリンタ制御ボードと該
エンジン本体間でパラレルのデータバスを介して画像デ
ータ及び、コマンド/ステータスデータをDMA転送す
るプリンタ装置のDMA制御方法において、 前記プリンタ制御ボード内のコンフィグレーションレジ
スタに当該プリンタ制御ボードの識別を表わす値を予め
格納するステップと、 前記コンフィグレーションレジスタの値により、どのプ
リンタ制御ボードが接続されているかを判断する判断ス
テップと、 前記プリンタ制御ボードによってはコマンド/ステータ
スデータと画像データの並びとが前記エンジン本体のデ
ータの並びと異なる場合においても、前記判断ステップ
での判断結果に基づき、前記プリンタ制御ボードと前記
エンジン本体のデータの並びが合うように、前記データ
バスの接続を選択するデータバス接続選択ステップとを
有することを特徴とするDMA制御方法。
9. The engine main body can be connected to a plurality of types of printer control boards, and image data and command / status data are DMA-transferred between the printer control board and the engine main body via a parallel data bus. In the DMA control method for a printer device, a step of storing in advance a value indicating the identification of the printer control board in a configuration register in the printer control board, and which printer control board is connected by the value of the configuration register Determining whether or not the command / status data and the image data are arranged in a different sequence from the data in the engine body, depending on the printer control board. Control board and A data bus connection selecting step of selecting a connection of the data bus so that an arrangement of data of the engine main body is aligned.
【請求項10】 転送するデータが画像データかコマン
ド/ステータスデータかを判別するデータ判別ステップ
とを更に有し、 前記データバス接続選択ステップでは、前記データ判別
ステップでのデータ判別結果に基ずき、当該プリンタ制
御ボードと当該エンジン本体のデータの並びが合うよう
に前記データバスの接続を選択することを特徴とする請
求項9に記載のDMA制御方法。
10. A data bus connection selecting step for determining whether data to be transferred is image data or command / status data. In the data bus connection selecting step, the data bus connection selecting step is based on a data determination result in the data determining step. 10. The DMA control method according to claim 9, wherein the connection of the data bus is selected so that the data of the printer control board and the data of the engine main body are aligned.
【請求項11】 前記データバスの接続が同じものと異
なるものとの複数のDMA転送チャネルを有し、 前記データバス接続選択ステップでは、前記プリンタ制
御ボードのコンフィグレーションレジスタの値から、ど
のプリンタ制御ボードが接続されているかを判断し、接
続された当該プリンタ制御ボードと当該エンジン本体の
データの並びが合うように、前記DMA転送チャネルを
選択することを特徴とする請求項9または10に記載の
DMA制御方法。
11. The data bus connection selecting step includes the step of selecting a printer control board based on a value of a configuration register of the printer control board. 11. The DMA transfer channel according to claim 9, wherein it is determined whether a board is connected, and the DMA transfer channel is selected so that the data of the connected printer control board and the data of the engine main body are aligned. DMA control method.
JP11193616A 1999-07-07 1999-07-07 Dma controller and dma controlling method Pending JP2001018463A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP11193616A JP2001018463A (en) 1999-07-07 1999-07-07 Dma controller and dma controlling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP11193616A JP2001018463A (en) 1999-07-07 1999-07-07 Dma controller and dma controlling method

Publications (1)

Publication Number Publication Date
JP2001018463A true JP2001018463A (en) 2001-01-23

Family

ID=16310913

Family Applications (1)

Application Number Title Priority Date Filing Date
JP11193616A Pending JP2001018463A (en) 1999-07-07 1999-07-07 Dma controller and dma controlling method

Country Status (1)

Country Link
JP (1) JP2001018463A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011201319A (en) * 2003-10-20 2011-10-13 Marvell Internatl Technology Ltd Method for operating video controller equipped with printer
CN114564433A (en) * 2022-02-14 2022-05-31 合肥美的智能科技有限公司 Data acquisition method, system, device, equipment and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011201319A (en) * 2003-10-20 2011-10-13 Marvell Internatl Technology Ltd Method for operating video controller equipped with printer
JP2014144640A (en) * 2003-10-20 2014-08-14 Marvell Internatl Technology Ltd Printer having video block
CN114564433A (en) * 2022-02-14 2022-05-31 合肥美的智能科技有限公司 Data acquisition method, system, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
JP2007233800A (en) Transfer system changeover circuit in interface circuit
US7522662B2 (en) Electronic device including image forming apparatus
JP2000158724A (en) Image-processing apparatus, image processing method and recording medium
JP7001001B2 (en) Control device, image forming device, control method and control program
JP4724494B2 (en) PCI bridge and system equipped with PCI bridge
JPH0583451A (en) Laser facsimile system
JP2001018463A (en) Dma controller and dma controlling method
JP2001186328A (en) Picture processor, its control method and picture processing system
JP4890681B2 (en) Image processing device
JP3210598B2 (en) Print control device and print control method
JPS6249570A (en) Picture processor
JPS6322672A (en) Printer
JP2786861B2 (en) Image composition printing method
JP2001239707A (en) Printer controller and method for transferring data
JPH06149735A (en) Data reception controller
JPH05108546A (en) Printer controller
JPH0239383A (en) Image processor
JPH0293821A (en) Personal computer with scanner
JP2002014782A (en) Image output device and ink jet printer
JP2002300328A (en) Image processing unit and its control method, and image processing system
JPS6249534A (en) Picture output device
JP2002219827A (en) Printer, and pdl board
JPH1153129A (en) Printer device
JPH047175A (en) Page printer controlling apparatus
JP2000289265A (en) Device and method for controlling printing and memory medium