JP2000181670A - Data transfer device and its testing method - Google Patents

Data transfer device and its testing method

Info

Publication number
JP2000181670A
JP2000181670A JP10361675A JP36167598A JP2000181670A JP 2000181670 A JP2000181670 A JP 2000181670A JP 10361675 A JP10361675 A JP 10361675A JP 36167598 A JP36167598 A JP 36167598A JP 2000181670 A JP2000181670 A JP 2000181670A
Authority
JP
Japan
Prior art keywords
data
test
reception signal
reception
signal
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.)
Withdrawn
Application number
JP10361675A
Other languages
Japanese (ja)
Inventor
Kazuhiro Nakada
和宏 中田
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 JP10361675A priority Critical patent/JP2000181670A/en
Publication of JP2000181670A publication Critical patent/JP2000181670A/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Facsimiles In General (AREA)

Abstract

PROBLEM TO BE SOLVED: To speed up an operation test of data transmission and reception without requiring any external device by providing a receive signal generating means which generates a data receive signal for a test. SOLUTION: In a printer control IC 4, a data reception part 11, a test signal generation part 12, and a selector 13 are built. The data reception part 11 stores data received through a parallel interface 3 in a receiving buffer in a RAM 5. Then the test signal generation part 12 generates a data transfer signal for a test. Further, the selector 13 switches signals between normal operation and testing operation. Therefore, data transfer in test mode does not require any external device such as a host computer. The data transfer speed can be equalized nearly to the maximum speed of the storage of data in the receiving buffer, so data can be transferred extremely fast.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は外部装置と接続する
ためのインタフェースを制御するデータ転送装置に関す
るものであり、特にプリンタのインターフェースを制御
するデータ転送装置及びそのテスト方法並びに、その装
置を応用したプリントコントローラ、情報処理装置、画
像形成装置に関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data transfer device for controlling an interface for connecting to an external device, and more particularly to a data transfer device for controlling a printer interface, a test method therefor, and an application of the device. The present invention relates to a print controller, an information processing device, and an image forming device.

【0002】[0002]

【従来の技術】従来、この種のデータ転送装置は、イン
タフェースを制御し、インタフェースの動作をテストす
るための機能を有する。
2. Description of the Related Art Conventionally, this type of data transfer apparatus has a function of controlling an interface and testing the operation of the interface.

【0003】例えば、プリンタや複合機等の画像形成装
置はホストコンピュータ等の外部装置に接続するための
インタフェースを有しており、近年ではデータ転送速度
の向上のため、インタフェースはASIC等に内蔵され
たデータ転送装置で制御される。受信したデータは受信
バッファと呼ぶメモリへ格納される。受信バッファは専
用のメモリを使用する場合もあるが、多くはコスト的な
観点からプリンタ全体で使用するRAMの一部の領域を
使用している。
For example, an image forming apparatus such as a printer or a multifunction peripheral has an interface for connecting to an external device such as a host computer. In recent years, the interface is built in an ASIC or the like in order to improve a data transfer speed. Is controlled by the data transfer device. The received data is stored in a memory called a reception buffer. The reception buffer may use a dedicated memory in some cases, but most use a part of the RAM used in the entire printer from the viewpoint of cost.

【0004】このようなインタフェースの動作をテスト
する場合、実際にコンピュータ等の外部装置に接続する
か、或いは専用のテスト装置に接続してデータの転送を
行い、受信バッファに格納されたデータの内容を確認す
るのが一般的である。またインタフェースの入力と出力
を接続して、送出したデータを自分自身で受信させるル
ープバックと呼ばれる方法も使用される。
When testing the operation of such an interface, data is transferred by actually connecting to an external device such as a computer or a dedicated test device, and the contents of data stored in a reception buffer are transferred. It is common to confirm. A method called loopback is also used in which the input and output of the interface are connected and the transmitted data is received by itself.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、ある程
度の容量のデータを受信バッファに格納しないと確認で
きない機能があるため、受信バッファの大容量化に伴っ
てデータ転送時間が増大し受信バッファのテストが困難
になってきている。
However, since there is a function that cannot be confirmed unless a certain amount of data is stored in the reception buffer, the data transfer time increases as the reception buffer becomes larger, and the test of the reception buffer becomes difficult. It's getting harder.

【0006】例えば、データ転送装置は受信バッファの
データ量を数えるためのカウンタを有するが、このカウ
ンタの全ビットの動作を確認するためには、カウンタが
最大値になるまでまで実際にカウントさせるか、或いは
テスト用モードを用意してカウンタの上位ビットを直接
動作させる必要がある。
For example, a data transfer device has a counter for counting the amount of data in a reception buffer. To check the operation of all bits of this counter, it is necessary to check whether the counter actually counts up to the maximum value. Alternatively, it is necessary to prepare a test mode and directly operate the upper bits of the counter.

【0007】ところが、テスト用モードでは実際の動作
条件とタイミング等が異なるため故障を検出できない場
合がある。また、一般に外部インタフェースのデータ転
送速度は、機器内部でのデータ転送速度に比べて遅いた
め、外部装置からデータを転送して受信バッファを満杯
にするには多大な時間を要することになる。特に量産品
の製造工程内においてはテスト時間が限られているた
め、受信バッファを満杯にするようなテストを行うこと
は実質的に不可能であった。
However, in the test mode, failures may not be detected because actual operation conditions and timing are different. In general, the data transfer rate of the external interface is lower than the data transfer rate inside the device, and it takes a lot of time to transfer data from the external device and fill the reception buffer. In particular, since the test time is limited in the manufacturing process of mass-produced products, it is practically impossible to perform a test for filling the reception buffer.

【0008】更に、データ転送装置は受信バッファが満
杯になったときにはデータ転送を禁止する等の処理を行
うが、この機能をテストするためにも受信バッファが満
杯の状態を実現しなければならず、このテストを行なう
場合にも、テスト時間の観点から問題があった。
Further, the data transfer apparatus performs processing such as prohibiting data transfer when the reception buffer becomes full. To test this function, the reception buffer must be full. However, this test also has a problem in terms of test time.

【0009】また、ループバックテストを行う場合は専
用のアダプタを接続する必要があるが、アダプタを装備
するのは手間がかかり、アダプタの着脱がテスト効率を
悪化させていた。
In addition, when performing a loopback test, it is necessary to connect a dedicated adapter, but it is troublesome to equip the adapter, and attaching / detaching the adapter deteriorates the test efficiency.

【0010】本発明は上記の従来技術の課題を解決する
ためになされたもので、その目的とするところは、外部
装置を必要とすることなくデータ送受信の動作テストを
高速に行うことの可能なデータ転送装置及びそのテスト
方法並びに、その装置を応用した各種の装置を提供する
ことにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems of the prior art. It is an object of the present invention to enable a high-speed data transmission / reception operation test without the need for an external device. An object of the present invention is to provide a data transfer device, a test method thereof, and various devices to which the device is applied.

【0011】[0011]

【課題を解決するための手段】上記目的を達成するた
め、本発明は、受信したデータを転送するデータ転送装
置であって、テスト用のデータ受信信号を発生する受信
信号発生手段を有することを特徴とする。
According to the present invention, there is provided a data transfer apparatus for transferring received data, comprising a reception signal generating means for generating a test data reception signal. Features.

【0012】ここで、前記テスト用のデータ受信信号
と、外部からのデータ受信信号とを選択的に入力する入
力手段を更に有することを特徴とする。
Here, it is characterized by further comprising input means for selectively inputting the test data reception signal and an external data reception signal.

【0013】また、データ受信信号をカウントするカウ
ンタを有し、データ受信信号が所定の数に達すると、デ
ータの受信を中止すべく処理する受信中止処理手段を有
することを特徴とする。
[0013] Further, it is characterized in that it has a counter for counting data reception signals, and has reception stop processing means for performing processing to stop data reception when the number of data reception signals reaches a predetermined number.

【0014】さらに、受信したデータを転送するデータ
転送装置のテスト方法であって、テスト用のデータ受信
信号を前記データ転送装置の内部で発生させ、そのテス
ト用データ受信信号を用いて、データの受信テストを行
なうことを特徴とする。
Further, the present invention relates to a method of testing a data transfer device for transferring received data, wherein a test data reception signal is generated inside the data transfer device, and the test data reception signal is used by using the test data reception signal. A reception test is performed.

【0015】また、本発明は、インタフェースから入力
したデータをメモリに転送するプリントコントローラで
あって、データ受信テスト用のデータ受信信号を発生す
る受信信号発生手段を有することを特徴とする。
Further, the present invention is a print controller for transferring data input from an interface to a memory, characterized by having a reception signal generating means for generating a data reception signal for a data reception test.

【0016】また、本発明は、情報処理装置であって、
外部装置と接続するためのインタフェースと、前記イン
タフェースからデータ受信信号と、該データ受信信号に
応じたデータとを受信する受信手段と、前記受信手段に
より受信したデータを格納する格納手段と、テスト用の
データ受信信号を発生するデータ受信信号発生手段と、
前記データ受信信号発生手段からのテスト用の受信信号
と前記インタフェースから受信した受信信号とで切り替
えて前記受信手段に対して入力する切替手段と、を備え
たことを特徴とする。
Further, the present invention relates to an information processing apparatus,
An interface for connecting to an external device, receiving means for receiving a data reception signal from the interface, and data corresponding to the data reception signal; storage means for storing data received by the reception means; Data reception signal generating means for generating a data reception signal of
Switching means for switching between a test reception signal from the data reception signal generation means and a reception signal received from the interface and inputting the received signal to the reception means.

【0017】一方、本発明は、画像形成装置であって、
外部装置と接続するためのインタフェースと、前記イン
タフェースからデータ受信信号と、該データ受信信号に
応じたデータとを受信する受信手段と、前記受信手段に
より受信したデータを格納する格納手段と、テスト用の
データ受信信号を発生するデータ受信信号発生手段と、
前記データ受信信号発生手段からのテスト用の受信信号
と前記インタフェースから受信した受信信号とで切り替
えて前記受信手段に対して入力する切替手段と、前記格
納手段に格納されたデータに基づいて画像形成を行う画
像形成手段と、を備えたことを特徴とする。
Meanwhile, the present invention relates to an image forming apparatus,
An interface for connecting to an external device, receiving means for receiving a data reception signal from the interface, and data corresponding to the data reception signal; storage means for storing data received by the reception means; Data reception signal generating means for generating a data reception signal of
Switching means for switching between a test reception signal from the data reception signal generation means and a reception signal received from the interface and inputting the received signal to the reception means; and forming an image based on the data stored in the storage means. And an image forming means for performing the following.

【0018】上記構成によれば外部装置を必要とするこ
となく受信バッファにデータを高速に格納し、データの
受信機能を短時間でテストすることが可能である。
According to the above configuration, data can be stored in the reception buffer at high speed without the need for an external device, and the data reception function can be tested in a short time.

【0019】[0019]

【発明の実施の形態】以下に、図面を参照して、この発
明の好適な実施の形態を例示的に詳しく説明する。ただ
し、この実施の形態に記載されている構成要素の相対配
置、数式、数値等は、特に特定的な記載がない限りは、
この発明の範囲をそれらのみに限定する趣旨のものでは
ない。
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, the relative arrangement of components described in this embodiment, formulas, numerical values, etc., unless otherwise specified,
It is not intended to limit the scope of the present invention only to them.

【0020】(第1の実施の形態)図2は本発明の第1
の実施の形態としてのデータ転送装置を適用可能なプリ
ンタの概略構成図である。
(First Embodiment) FIG. 2 shows a first embodiment of the present invention.
1 is a schematic configuration diagram of a printer to which a data transfer device according to an embodiment can be applied.

【0021】図において、リードスクリュー5005
は、キャリッジモータ5013の正逆回転に連動して駆
動力伝達ギア5011,5009を介して回転する。キ
ャリッジHCは、リードスクリュー5004の螺旋溝5
005に対して係合するピン(不図示)を有し、リード
スクリュー5004の回転に伴って矢印a,b方向に往
復移動される。このキャリッジHCには、インクジェッ
トカートリッジIJCが搭載されている。
In the figure, a lead screw 5005
Rotates through the driving force transmission gears 5011 and 5009 in conjunction with the forward / reverse rotation of the carriage motor 5013. The carriage HC is provided with a spiral groove 5 of the lead screw 5004.
It has a pin (not shown) that engages with the 005, and reciprocates in the directions of arrows a and b with the rotation of the lead screw 5004. An ink jet cartridge IJC is mounted on the carriage HC.

【0022】5002は紙押え板であり、キャリッジの
移動方向に亙って紙をプラテン5000に対して押圧す
る。5007,5008はフォトセンサで、キャリッジ
のレバー5006のこの域での存在を確認して、キャリ
ッジモータ8の回転方向切り換え等を行うためのホーム
ポジション検知手段である。5016は記録ヘッドの前
面をキャップするキャップ部材5022を支持する部材
である。また、5015はこのキャップ内を吸引する吸
引手段で、キャップ内開口5023を介して記録ヘッド
の吸引回復を行う。5017はクリーニングブレード
で、5019はこのブレードを前後方向に移動可能にす
る部材であり、本体支持板5018にこれらが支持され
ている。5021は、吸引回復の吸引を開始するための
レバーで、キャリッジと係合するカム5020の移動に
伴って移動し、駆動モータからの駆動力がクラッチ切り
換え等の公知の伝達手段で移動制御される。
A paper pressing plate 5002 presses the paper against the platen 5000 in the moving direction of the carriage. Photo position sensors 5007 and 5008 are home position detecting means for confirming the presence of the carriage lever 5006 in this area and switching the rotation direction of the carriage motor 8. A member 5016 supports a cap member 5022 for capping the front surface of the recording head. Reference numeral 5015 denotes a suction unit that suctions the inside of the cap, and performs suction recovery of the recording head through the opening 5023 in the cap. Reference numeral 5017 denotes a cleaning blade. Reference numeral 5019 denotes a member which allows the blade to move in the front-rear direction. These members are supported by a main body support plate 5018. Reference numeral 5021 denotes a lever for starting suction for suction recovery. The lever 5021 moves with the movement of the cam 5020 that engages with the carriage, and the driving force from the driving motor is controlled by a known transmission means such as clutch switching. .

【0023】これらのキャッピング、クリーニング、吸
引回復は、キャリッジがホームポジション側の領域に来
た時にリードスクリュー5004の作用によってそれら
の対応位置で所望の処理が行えるように構成されてい
る。
The capping, cleaning, and suction recovery are configured so that desired operations can be performed at the corresponding positions by the action of the lead screw 5004 when the carriage comes to the area on the home position side.

【0024】5024は紙送りモータであって、ベルト
5025を介してプラテン5000に駆動力を伝達す
る。
Reference numeral 5024 denotes a paper feed motor, which transmits a driving force to a platen 5000 via a belt 5025.

【0025】図1は本プリンタの制御回路の主要構成を
示すブロック図である。図1において1はCPU、2は
ROM、3はパラレルインターフェース、4はプリンタ
コントロールIC、5はRAM、6は記録ヘッド、8は
キャリッジモータ、9は紙送りモータである。
FIG. 1 is a block diagram showing a main configuration of a control circuit of the printer. In FIG. 1, 1 is a CPU, 2 is a ROM, 3 is a parallel interface, 4 is a printer control IC, 5 is a RAM, 6 is a recording head, 8 is a carriage motor, and 9 is a paper feed motor.

【0026】CPU1はプリンタ全体を制御するもの
で、プログラムを実行するプロセッサ部の他にタイマー
機能、入出力ポート等を内蔵する。ROM2はCPU1
が実行するプログラムや制御に必要な各種データを内蔵
する。パラレルインターフェース3はコンピュータ等の
ホストシステムに接続され、印字データやコマンドを受
信する。プリンタコントロールIC4はバス信号でCP
U1に接続され、CPU1からの指示に基づいてパラレ
ルインターフェース3、RAM5、記録ヘッド6を制御
する。RAM5は一時記憶用の記憶手段であり、ロード
されるプログラムを格納するプログラムロード領域、受
信データや画像データ等の格納領域を含む。記録ヘッド
6は4色のインクジェットノズルが一列に配列されたイ
ンクジェットヘッドであり、プリンタコントロールIC
4によって制御される。キャリッジモータ8はCPU1
によって制御され、キャリッジを主走査方向に走査す
る。紙送りモータ9はCPU1によって制御され、印刷
媒体を副走査方向に搬送する。
The CPU 1 controls the entire printer, and incorporates a timer function, an input / output port, and the like, in addition to a processor section for executing a program. ROM2 is CPU1
It contains programs to be executed and various data necessary for control. The parallel interface 3 is connected to a host system such as a computer and receives print data and commands. The printer control IC 4 uses the bus signal to
It is connected to U 1 and controls the parallel interface 3, RAM 5, and recording head 6 based on instructions from the CPU 1. The RAM 5 is storage means for temporary storage, and includes a program load area for storing a program to be loaded, and a storage area for received data, image data, and the like. The recording head 6 is an ink jet head in which four color ink jet nozzles are arranged in a line, and a printer control IC.
4. The carriage motor 8 is the CPU 1
And scans the carriage in the main scanning direction. The paper feed motor 9 is controlled by the CPU 1 and conveys the print medium in the sub-scanning direction.

【0027】プリンタコントロールIC4には、データ
受信部11、テスト信号発生部12、セレクタ13が内
蔵される。データ受信部11は、パラレルインターフェ
ース3を通じて受信したデータをRAM5中の受信バッ
ファに格納する。テスト信号発生部12はテスト用のデ
ータ転送信号を発生する。セレクタ13は通常時とテス
ト時で信号の切り替えを行う。
The printer control IC 4 includes a data receiving section 11, a test signal generating section 12, and a selector 13. The data receiving unit 11 stores data received via the parallel interface 3 in a reception buffer in the RAM 5. The test signal generator 12 generates a test data transfer signal. The selector 13 switches signals between a normal time and a test time.

【0028】図3にパラレルインターフェース3と、プ
リンタコントロールIC4との間でやり取りされる信号
即ち、ホストとプリンタとのを示す。ホストが8ビット
のデータ信号Data[8:1]を設定して、nStr
obe信号をローレベルにすると、それに対応して、プ
リンタはBusy信号をハイレベルにしてデータを受信
し、nAck信号にネガティブパルスを出力してBus
y信号をローレベルにする。
FIG. 3 shows signals exchanged between the parallel interface 3 and the printer control IC 4, that is, signals between the host and the printer. The host sets the 8-bit data signal Data [8: 1] and sets nStr
When the ob signal is set to a low level, the printer receives the data by setting the Busy signal to a high level, and outputs a negative pulse to the nAck signal to respond to the Bus signal.
Set the y signal to low level.

【0029】図4にテスト信号発生部12とセレクタ1
3の構成を示す。テスト信号発生部12は制御部21と
カウンタ22で構成される。制御部21は切り替え信号
Sel、テスト用ストローブ信号nTStrobeを出
力する。カウンタ22はデータの転送数つまりはストロ
ーブ信号のパルス数をカウントする。セレクタ13は切
り替え信号SelによってnStrobeを入力する
か、nTStorbeを入力するかを切り替える。ま
た、TBusyをBusyとして出力する。
FIG. 4 shows the test signal generator 12 and the selector 1
3 is shown. The test signal generator 12 includes a controller 21 and a counter 22. The control unit 21 outputs a switching signal Sel and a test strobe signal nTStrobe. The counter 22 counts the number of data transfers, that is, the number of pulses of the strobe signal. The selector 13 switches between inputting nStrobe and inputting nTStrobe based on the switching signal Sel. Also, TBBus is output as Busy.

【0030】図5に通常時におけるデータ転送動作のフ
ローチャートを、図6にそのタイミングチャートを示
す。通常時には切り替え信号Selはローレベルに設定
されており、パラレルインターフェース3からのストロ
ーブ信号nStrobeがnSStrobeとして出力
され、データ受信部11に入力される。
FIG. 5 is a flowchart of a data transfer operation in a normal state, and FIG. 6 is a timing chart thereof. Normally, the switching signal Sel is set to the low level, and the strobe signal nStrobe from the parallel interface 3 is output as nSStrobe and input to the data receiving unit 11.

【0031】外部からのデータ送信ストローブnStr
obeとしてネガティブパルスが入力され、nSStr
obeがローレベルになると(S501)、不図示のカ
ウンタがnSStrobeのパルスをカウントし(S5
02)、データ受信部11はTBusy信号をハイレベ
ルにして(S503)データを受信する(S504)。
受信データを受信バッファに格納すると(S505)、
S502でカウントしたカウント値が所定値かどうか調
べる(S506)。カウント値が所定値でなければTB
usy信号をローレベルにする(S507)。TBus
y信号の内容(ローレベル)はそのままBusy信号と
してパラレルインターフェース3に出力される(S50
8)。そして、次のデータの受信を待つ。S506でカ
ウント値が所定値に達すると、例えば、受信バッファが
フルの状態であると判断し、Busy信号をハイレベル
のままにして、データ受信処理を終了する。このとき、
受信バッファがフルである旨の信号をインタフェース3
を介して外部装置に通知してもよい。
External data transmission strobe nStr
A negative pulse is input as “ob” and nSSStr
When “ob” goes low (S501), a counter (not shown) counts nSStrobe pulses (S5).
02), the data receiving unit 11 sets the TBusy signal to high level (S503) and receives data (S504).
When the reception data is stored in the reception buffer (S505),
It is checked whether the count value counted in S502 is a predetermined value (S506). If the count value is not the predetermined value, TB
The usy signal is set to low level (S507). TBus
The content (low level) of the y signal is output as it is to the parallel interface 3 as a busy signal (S50).
8). Then, it waits for reception of the next data. When the count value reaches the predetermined value in S506, for example, it is determined that the reception buffer is full, the Busy signal is kept at the high level, and the data reception process ends. At this time,
A signal indicating that the receive buffer is full is sent to interface 3
The notification may be sent to an external device via.

【0032】次に図7にテスト時におけるデータ転送動
作のフローチャートを、図8にそのタイミングチャート
を示す。
Next, FIG. 7 shows a flowchart of a data transfer operation at the time of a test, and FIG. 8 shows a timing chart thereof.

【0033】テスト時には、テスト信号発生部12は切
り替え信号Selをハイレベルして(S701)、テス
ト用ストローブ信号nTStrobeがnSStrob
e信号に出力されるようにする(S702)。続いて、
テスト信号発生部12はnTStorobe信号として
ネガティブパルスを出力する(S703)。S703で
出力されたネガティブパルスに従って、カウンタ22が
カウントアップされる(S704)。データ受信部11
はnSStrobeがローレベルになるとTBusy信
号をハイレベルにし(S705)、カウント値が所定値
に達していない場合には、所定のタイミングでTBus
y信号をローレベルにする(S707)。
At the time of testing, the test signal generator 12 sets the switching signal Sel to high level (S701), and sets the test strobe signal nTStrobe to nSStrob.
The signal is output as the e signal (S702). continue,
The test signal generator 12 outputs a negative pulse as the nTStrobe signal (S703). The counter 22 counts up according to the negative pulse output in S703 (S704). Data receiving unit 11
Sets the TBusy signal to a high level when nSStrobe goes to a low level (S705). If the count value does not reach a predetermined value, the TBusy signal is set at a predetermined timing.
The y signal is set to low level (S707).

【0034】切り替え信号Selがハイレベルの間は、
TBusy信号の状態に関わらずBusy信号はハイレ
ベルに設定されている。TBusy信号がローレベルに
なると、テスト信号発生部12は直ちにnTStoro
be信号に次のネガティブパルスを出力する(S70
3)。カウント値が所定値に達すると(S706)、T
Busy信号がハイレベルのままかどうかを確認する。
ここで、所定値は、受信バッファがフルになった状態で
のカウンタの値であるものとする。もし、カウント値が
所定値に達したにもかかわらず、TBusy信号がロー
レベルになってしまうと、受信バッファがフルであるに
もかかわらず更に新たなデータを受信することになり、
データ転送機能に異常を有していることとなる。従っ
て、S708においてTBusy信号がハイレベルでな
い場合には、S711でCPU1はErrorと判断す
る。その後、S710で切り替え信号Selをローレベ
ルにする。S708でTBusy信号がハイレベルであ
ることが確認されると、S709でTBusy信号をロ
ーレベルにし(S710)、更に、テスト信号発生部1
2は切り替え信号Selをローレベルにし、テストモー
ドを終了する。
While the switching signal Sel is at the high level,
The Busy signal is set to a high level regardless of the state of the TBusy signal. When the TBusy signal goes to a low level, the test signal generator 12 immediately starts nTStor
The next negative pulse is output to the be signal (S70).
3). When the count value reaches a predetermined value (S706), T
Check whether the Busy signal remains at the high level.
Here, it is assumed that the predetermined value is the value of the counter when the reception buffer is full. If the TBusy signal goes low even though the count value has reached a predetermined value, new data will be received even though the reception buffer is full,
This means that the data transfer function has an abnormality. Therefore, if the TBusy signal is not at the high level in S708, the CPU 1 determines in S711 that it is Error. After that, the switching signal Sel is set to a low level in S710. If it is confirmed in S708 that the TBusy signal is at the high level, the TBusy signal is set to the low level in S709 (S710).
2 sets the switching signal Sel to low level and ends the test mode.

【0035】即ち、S711で、CPU1がError
と判断しなければ、テストの結果問題が無いことにな
る。
That is, in step S711, the CPU 1 sets the Error
If it is not determined, there is no problem as a result of the test.

【0036】上記のテストモードにおけるデータ転送に
おいてはホストコンピュータ等の外部装置を必要としな
い。また、データ転送速度はデータを受信バッファに格
納可能な最大速度とほとんど等しくすることができるた
め、極めて高速にデータを転送することができる。
The data transfer in the test mode does not require an external device such as a host computer. Further, since the data transfer rate can be made almost equal to the maximum rate at which data can be stored in the reception buffer, data can be transferred at a very high speed.

【0037】テストモードを終了した後にデータ転送量
を確認することにより、データ受信部11内のカウンタ
の機能が正常かどうかをテストすることができる。ま
た、受信バッファの容量に合わせてデータ転送量を設定
し、受信バッファが満杯時の処理が正常に行われている
どうかを確認することにより、受信バッファ満杯処理機
能をテストすることができる。
By confirming the data transfer amount after the end of the test mode, it is possible to test whether the function of the counter in the data receiving unit 11 is normal. Also, the data transfer amount is set according to the capacity of the reception buffer, and it is possible to test the reception buffer full processing function by confirming whether the processing when the reception buffer is full is performed normally.

【0038】(他の実施形態)上記実施の形態では、B
Jプリンタのインタフェース及びデータ受信装置につい
て説明したが、本発明は、これに限らず、レーザプリン
タや複写機、ファクシミリ装置、更には、複数の機器
(例えばホストコンピュータ,インタフェイス機器,リ
ーダ,プリンタなど)から構成されるシステムに適用し
てもよい。
(Other Embodiments) In the above embodiment, B
Although the interface and the data receiving device of the J printer have been described, the present invention is not limited to this, and a laser printer, a copying machine, a facsimile device, and a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.) ) May be applied.

【0039】[0039]

【発明の効果】以上説明したように本発明によれば、外
部装置を必要とすることなく、外部装置を必要とするこ
となくデータ送受信の動作テストを高速に行うことが可
能である。
As described above, according to the present invention, an operation test for data transmission / reception can be performed at a high speed without requiring an external device and without requiring an external device.

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

【図1】プリンタの制御回路の主要構成を示すブロック
図である。
FIG. 1 is a block diagram illustrating a main configuration of a control circuit of a printer.

【図2】プリンタの概略内部構成を示す斜視図であるFIG. 2 is a perspective view showing a schematic internal configuration of the printer.

【図3】インタフェース信号を示す図である。FIG. 3 is a diagram showing interface signals.

【図4】テスト信号発生部とセレクタの構成を示すブロ
ック図である。
FIG. 4 is a block diagram showing a configuration of a test signal generator and a selector.

【図5】通常時のデータ転送動作を示すフローチャート
である。
FIG. 5 is a flowchart showing a normal data transfer operation.

【図6】通常時のデータ転送動作を示すタイミングチャ
ートである。
FIG. 6 is a timing chart showing a normal data transfer operation.

【図7】テスト時のデータ転送動作を示すフローチャー
トである。
FIG. 7 is a flowchart showing a data transfer operation during a test.

【図8】テスト時のデータ転送動作を示すタイミングチ
ャートである。
FIG. 8 is a timing chart showing a data transfer operation during a test.

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

1 CPU 2 ROM 3 パラレルインターフェース 4 プリンタコントロールIC 5 RAM 6 記録ヘッド 8 キャリッジモータ 9 紙送りモータ 11 データ受信部 12 テスト信号発生部 13 セレクタ 21 制御部 22 カウンタ DESCRIPTION OF SYMBOLS 1 CPU 2 ROM 3 Parallel interface 4 Printer control IC 5 RAM 6 Recording head 8 Carriage motor 9 Paper feed motor 11 Data reception unit 12 Test signal generation unit 13 Selector 21 Control unit 22 Counter

Claims (7)

【特許請求の範囲】[Claims] 【請求項1】受信したデータを転送するデータ転送装置
であって、テスト用のデータ受信信号を発生する受信信
号発生手段を有することを特徴とするデータ転送装置。
1. A data transfer device for transferring received data, comprising a reception signal generating means for generating a test data reception signal.
【請求項2】前記テスト用のデータ受信信号と、外部か
らのデータ受信信号とを選択的に入力する入力手段を更
に有することを特徴とする請求項1に記載のデータ転送
装置。
2. The data transfer apparatus according to claim 1, further comprising input means for selectively inputting the test data reception signal and an external data reception signal.
【請求項3】データ受信信号をカウントするカウンタを
有し、 データ受信信号が所定の数に達すると、データの受信を
中止すべく処理する受信中止処理手段を有することを特
徴とする請求項1又は2に記載のデータ転送装置。
3. A data processing apparatus according to claim 1, further comprising: a counter for counting data reception signals; and reception stop processing means for stopping reception of data when the number of data reception signals reaches a predetermined number. Or the data transfer device according to 2.
【請求項4】受信したデータを転送するデータ転送装置
のテスト方法であって、テスト用のデータ受信信号を前
記データ転送装置の内部で発生させ、そのテスト用デー
タ受信信号を用いて、データの受信テストを行なうこと
を特徴とするデータ転送装置のテスト方法。
4. A method for testing a data transfer device for transferring received data, comprising: generating a test data reception signal inside the data transfer device; and using the test data reception signal to generate a data. A test method for a data transfer device, comprising: performing a reception test.
【請求項5】インタフェースから入力したデータをメモ
リに転送するプリントコントローラであって、データ受
信テスト用のデータ受信信号を発生する受信信号発生手
段を有することを特徴とするプリントコントローラ。
5. A print controller for transferring data input from an interface to a memory, the print controller having a reception signal generating means for generating a data reception signal for a data reception test.
【請求項6】外部装置と接続するためのインタフェース
と、 前記インタフェースからデータ受信信号と、該データ受
信信号に応じたデータとを受信する受信手段と、 前記受信手段により受信したデータを格納する格納手段
と、 テスト用のデータ受信信号を発生するデータ受信信号発
生手段と、 前記データ受信信号発生手段からのテスト用の受信信号
と前記インタフェースから受信した受信信号とで切り替
えて前記受信手段に対して入力する切替手段と、 を備えたことを特徴とする情報処理装置。
6. An interface for connecting to an external device, receiving means for receiving a data reception signal from the interface, and data corresponding to the data reception signal, and storage for storing data received by the reception means. Means, a data reception signal generating means for generating a test data reception signal, and switching between a test reception signal from the data reception signal generation means and a reception signal received from the interface to the reception means. An information processing apparatus, comprising: a switching unit for inputting.
【請求項7】外部装置と接続するためのインタフェース
と、 前記インタフェースからデータ受信信号と、該データ受
信信号に応じたデータとを受信する受信手段と、 前記受信手段により受信したデータを格納する格納手段
と、 テスト用のデータ受信信号を発生するデータ受信信号発
生手段と、 前記データ受信信号発生手段からのテスト用の受信信号
と前記インタフェースから受信した受信信号とで切り替
えて前記受信手段に対して入力する切替手段と、 前記格納手段に格納されたデータに基づいて画像形成を
行う画像形成手段と、 を備えたことを特徴とする画像形成装置。
7. An interface for connecting to an external device, receiving means for receiving a data reception signal from the interface, and data corresponding to the data reception signal, and storage for storing data received by the reception means. Means, a data reception signal generating means for generating a test data reception signal, and switching between a test reception signal from the data reception signal generation means and a reception signal received from the interface to the reception means. An image forming apparatus comprising: a switching unit for inputting; and an image forming unit for forming an image based on data stored in the storage unit.
JP10361675A 1998-12-18 1998-12-18 Data transfer device and its testing method Withdrawn JP2000181670A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP10361675A JP2000181670A (en) 1998-12-18 1998-12-18 Data transfer device and its testing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10361675A JP2000181670A (en) 1998-12-18 1998-12-18 Data transfer device and its testing method

Publications (1)

Publication Number Publication Date
JP2000181670A true JP2000181670A (en) 2000-06-30

Family

ID=18474500

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10361675A Withdrawn JP2000181670A (en) 1998-12-18 1998-12-18 Data transfer device and its testing method

Country Status (1)

Country Link
JP (1) JP2000181670A (en)

Similar Documents

Publication Publication Date Title
JPH0965039A (en) Facsimile equipment
US5630029A (en) Data transfer system for transferring data from a data transmission apparatus to a data reception apparatus via a parallel interface, and data transfer system for printer using this data transfer system
US5680596A (en) Data transfer apparatus with automatic transmission rate adjustment
JP3776660B2 (en) Option determination system
US6359698B1 (en) Printing apparatus and printing control method for printing the smallest received job first
US6028985A (en) Output method and apparatus
US6499069B1 (en) Interface apparatus and method, and image output apparatus having interface apparatus
US5889930A (en) Output method and apparatus
JP2000181670A (en) Data transfer device and its testing method
US7130940B2 (en) Interface apparatus and image forming apparatus
US4996649A (en) Image processor capable of storing character images and graphic images in a memory and including a timer for ensuring image processing operations are carried out in a predetermined time period
JP3301337B2 (en) Inkjet printer
JP4350404B2 (en) Recording apparatus and control method thereof
JP3320233B2 (en) Recording device
US6522416B1 (en) Printing apparatus and method capable of flexibly controlling response signal
US6295135B1 (en) Release of busy signal when free capacity of a reception buffer exceeds a predetermined amount
US10675864B2 (en) Printing apparatus and print control method
JP3612804B2 (en) Recording device
JP3604780B2 (en) Interface control device and image recording device
KR100334111B1 (en) Method for canceling of printing job
JP3195097B2 (en) Output control method and device
JP2860210B2 (en) Printing control device
JP2006281447A (en) Printer apparatus, its control method and its control program
JP3639924B2 (en) Image forming apparatus
JP4895720B2 (en) Data transfer apparatus and image forming apparatus having the same

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20060307