JPS63271629A - Recorder - Google Patents

Recorder

Info

Publication number
JPS63271629A
JPS63271629A JP62104539A JP10453987A JPS63271629A JP S63271629 A JPS63271629 A JP S63271629A JP 62104539 A JP62104539 A JP 62104539A JP 10453987 A JP10453987 A JP 10453987A JP S63271629 A JPS63271629 A JP S63271629A
Authority
JP
Japan
Prior art keywords
control means
mpu
reset
reset signal
pia
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
JP62104539A
Other languages
Japanese (ja)
Inventor
Yukihisa Ota
享寿 太田
Hideaki Okamoto
岡本 秀昭
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 JP62104539A priority Critical patent/JPS63271629A/en
Publication of JPS63271629A publication Critical patent/JPS63271629A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE:To attain resetting processing without adding any additional circuit by sending out a reset signal directly to another control means from a 1st control means after it is confirmed that the other control means reads data from the 1st control means. CONSTITUTION:When 1st and 2nd MPUs have a communication through peripheral interfaces (PIA) 3 and 4 and the MPU 1 receives an external reset signal, the reception of an READ pulse in the PIA 3 is waited for and then the MPU 1 waits for the external reset signal to reset after confirming the reception. Then the MPU 1 writes data to the output port of the PIA 3 after the resetting and also sends out the reset signal directly to the MPU 2 through an internal reset line 6. Further, the MPU 2 writes data to the output port of the PIA 4 and also sends out the READ pulse to the MPU 1 to perform the resetting process, and the MPU 1 receives the READ pulse and performs the resetting process.

Description

【発明の詳細な説明】 [産業上の利用分野] 本発明は記録装置に関し、特に複数の制御手段を有する
各種の記録装置に関する。
DETAILED DESCRIPTION OF THE INVENTION [Field of Industrial Application] The present invention relates to a recording apparatus, and particularly to various recording apparatuses having a plurality of control means.

[従来の技術1 従来の文字や画像を記録紙等の記録媒体に記録する記録
装置においては、制御手段として車−のMPLI  (
マイクロプロセッサユニット)を用いているものが多か
った。
[Prior art 1] In a conventional recording device that records characters and images on a recording medium such as recording paper, a car's MPLI (
Many of them used microprocessor units.

ところが、最近のカラーインクジェットプリンタのよう
に高速印字や高精細印字が要求されるようになると、M
PUの負担を軽減して高速処理に対応できるように、複
数のMPUを備えて、例えは第1のMPUではホスト側
から送られてくるデータの処理を行い、第2のMP[I
てはキャリッジモータ等の駆動源の駆動制御を行なうと
いう分散処理型の構成のものが現われてきた。
However, when high-speed printing and high-definition printing are required, such as with recent color inkjet printers, M
In order to reduce the load on the PU and support high-speed processing, it is equipped with multiple MPUs.For example, the first MPU processes data sent from the host, and the second
In recent years, a distributed processing type configuration has appeared in which drive control of a drive source such as a carriage motor is performed.

一方、インクジェットプリンタの如き記録装置では、外
部からリセット信号が人力された場合に、電子回路でハ
ード的にリセットを行なうと、インクのパージ処理(目
詰り回復処理)、メモリ(記憶装置)のヂエツク処理等
の、装置が一度立ち上がってしまえば不必要な電源投入
時の処理も同時に行ってしまうので、ソフトウェアによ
る割り込みを用いて外部リセットを処理し、上述の不必
要な処理を行なわないようにしたものが多かった。
On the other hand, in recording devices such as inkjet printers, when a reset signal is input manually from the outside, if a hardware reset is performed using an electronic circuit, ink purge processing (clogging recovery processing) and memory (storage device) cleaning will be performed. Once the device starts up, unnecessary processing such as power-on processing will be performed at the same time, so we used software interrupts to handle external resets to avoid performing the above-mentioned unnecessary processing. There were many things.

[発明が解決しようとする問題点1 ところか、複数の制御手段を備えた従来の記録装置にお
いては、第1のMPuと他のMPUとの間でコマンド等
のハンドシェイクを行なっているので、第1のMPUか
割り込みによって受は付けた外部リセットをリセットコ
マンドによって第1のMPUから他の1ilPUに知ら
せようとしても、あるコマンドを他のMPIIが実行中
には、他のM P tlにそのリセットコマンドを送出
できず、またハード的に第1のMPtlから他のMPU
に対して、リセット信号の送出を行う送出手段だけ設け
ると、ハンドシェイクが乱れるという可能性があるので
、上述のリセット信号を受は付けたことを他のMPUが
第1のMPIJに対し知らせるための特別な手段か、各
M P Uに対して必要となるという欠点があった。
[Problem to be Solved by the Invention 1] However, in conventional recording devices equipped with a plurality of control means, handshaking of commands etc. is performed between the first MPu and the other MPUs. Even if an attempt is made from the first MPU to inform other 1ilPUs by a reset command of an external reset accepted by the first MPU or an interrupt, if a certain command is being executed by another MPII, the The reset command cannot be sent, and the hardware does not allow the first MPtl to send the reset command.
However, if only a sending means for sending a reset signal is provided, there is a possibility that the handshake will be disrupted. This has the disadvantage that special measures are required for each MPU.

本発明は、上述の欠点を除去し、他のmlJ御手段かり
セットコマンドを受は付けたことを第1の制御手段に知
らせる特別な手段なしで、ハンドシェー〆りによる外部
リセット処理を可能にした記録装置を提供することを目
的とする。
The present invention eliminates the above-mentioned drawbacks and enables external reset processing by handshaking without special means for notifying the first control means that other MLJ control means have accepted the set command. The purpose is to provide a recording device with

[問題点を解決するための手段] かかる目的を達成するため、本発明は、第】の制御手段
と他の制御手段間でハンドシェークを行うためのインタ
フェース手段と、外部からのリセット信号を第1の制御
手段から他の制御手段に、インタフェース手段を介さず
に伝送する伝送手段とを有し、リセット信号を受信した
旨をインタフェース手段を介して第1の制御手段とハン
ドシェークした後に、第1の制御手段と第2の制御手段
は外部からのリセット信号に対応したリセット処理をそ
れぞれ実行することを特徴とする。
[Means for Solving the Problems] In order to achieve the above object, the present invention provides an interface means for handshaking between the first control means and other control means, and an interface means for handshaking between the first control means and the other control means, and an interface means for transmitting a reset signal from the outside to the first control means. transmission means for transmitting from the control means to the other control means without going through the interface means, and after handshaking with the first control means via the interface means that the reset signal has been received, The control means and the second control means are characterized in that they each execute a reset process corresponding to a reset signal from the outside.

[作 用] 本発明は、他の制御手段が第1の制御手段の送出したデ
ータを読み込んだことを確証してから第1の制御手段が
他の制御手段に対してハンドシェーク用インタフェース
を介さずに直接リセット信号を送出するようにして、こ
れにより外部リセット信号によるリセット信号を複数の
制御手段間でハンドシェイクを実行しながら行なえ得る
ようにしたので、複雑な追加回路なしで、リセット処理
が可能となる。また、本発明によればソフトウェア的に
リセット処理を行なうことができるので電源投入時のリ
セット処理と、外部リセット信号によるリセット処理と
を異なるように処理することができ、例えは外部リセッ
ト時には、RAM(ランダムアクセスメモリのメモリの
チェックやパージ処理を省略し、外部リセット信号によ
るリセット処理時間を短縮させることが可能となる。
[Function] In the present invention, after confirming that the other control means has read the data sent by the first control means, the first control means communicates with the other control means without using a handshake interface. By sending a reset signal directly to the controller, it is possible to send a reset signal using an external reset signal while handshaking between multiple control means, making it possible to perform reset processing without the need for complicated additional circuits. becomes. Further, according to the present invention, since the reset process can be performed by software, the reset process at power-on and the reset process by an external reset signal can be performed differently. For example, at the time of external reset, the RAM (It is possible to omit the memory check and purge process of the random access memory, and shorten the reset process time using an external reset signal.

[実施例] 以下、図面を参照して本発明の実施例を詳細に説明する
[Example] Hereinafter, an example of the present invention will be described in detail with reference to the drawings.

第1図は本発明を適用した記録装置の制御装置間のイン
タフェース部分の回路構成例を示す。本図において、1
は第1の制御手段であるMPII  (マイクロプロセ
ッサ)であり、装置全体の動作の制御を行なう。2はそ
の他の制御手段であるMPIIであり、キャリッジモー
タ、パージ処理モータ等の駆動部分の制御を行なう。3
および4はそれぞれPIA  (ペリフェラルインタフ
ェース)であり、第1のMPU 1とその他のMPU 
2は互いに本装置31.4を介してデータやコマンドの
通信を行なう。
FIG. 1 shows an example of a circuit configuration of an interface portion between control devices of a recording apparatus to which the present invention is applied. In this figure, 1
MPII (microprocessor) is the first control means and controls the operation of the entire device. Reference numeral 2 denotes MPII, which is another control means, and controls driving parts such as a carriage motor and a purge processing motor. 3
and 4 are PIAs (peripheral interfaces), which connect the first MPU 1 and the other MPUs.
2 communicate data and commands with each other via this device 31.4.

5はMPUの入力側に接続する外部リセットラインであ
り、このライン5を通じてMPU  1に割り込み人力
する外部リセット信号(リセットパルス)をMPII 
1は受は取ると、直ちに割り込み処理を実行する。6は
第1のMPLI 1からその他のMPU 2に送出され
るリセット信号の内部リセットラインであり、上述の外
部リセットパルスを受は付けた第1のMPII 1は、
割り込み処理によって、PIA3゜4を介せずに直接内
部リセットラインを通じてリセット信号を第2のMP[
I2に送出する。
5 is an external reset line connected to the input side of the MPU, and through this line 5 an external reset signal (reset pulse) that interrupts the MPU 1 is sent to the MPII.
1 executes interrupt processing immediately upon receipt. 6 is an internal reset line for the reset signal sent from the first MPLI 1 to the other MPUs 2, and the first MPLI 1 receives the above-mentioned external reset pulse.
By interrupt processing, the reset signal is sent directly to the second MP via the internal reset line without going through PIA3.
Send to I2.

7は第1のMPU 1からその他のMPU2に送出さ、
れるコマンドデータ(DへTへ)を送出するコマンドデ
ータライン、8はMPIJ 1がコマンドデータを第1
のPIA3に書ぎ込んだことをMPII 2に知らせる
ためのW旧7E (i込み)パルスライン、9はMPI
I2がコマンドデータを読みこんたことをMPIJ 1
に知らせるためのREAD (読み込み)パルスライン
である。また、lOはMPII 2からMPII 1に
送出されるコマンドデータを伝送するコマンドデータラ
イン、11はMPU 2がコマンドデータをPIA 4
に書き込んたことをMPU 1に知らせるためのWIt
ITEパルスライン、12はMPU 1がコマンドデー
タを書き込んだことをMPU 2に知らせるためのII
EADパルスラインである。
7 is sent from the first MPU 1 to the other MPU 2,
8 is the MPIJ command data line that sends the command data (to D to T).
W old 7E (i included) pulse line to notify MPII 2 that it has been written to PIA3, 9 is MPII
MPIJ 1 indicates that I2 has read the command data.
This is the READ (read) pulse line to notify the user. In addition, IO is a command data line for transmitting command data sent from MPII 2 to MPII 1, and 11 is a command data line for transmitting command data from MPII 2 to PIA 4.
WIt to notify MPU 1 that it has written to
ITE pulse line, 12 is II for informing MPU 2 that MPU 1 has written command data
This is the EAD pulse line.

第2図は第1図の実施例装置における制御手順と信号の
送受状態の一例を示す。本図において、左側がMPLI
 i内の処理手順、右側がMPII 2内の処、理手順
、中間部が信号の送受状態を示す。
FIG. 2 shows an example of a control procedure and a signal transmission/reception state in the embodiment apparatus of FIG. In this diagram, the left side is MPLI
The processing procedure in i, the right side shows the processing and processing procedure in MPII 2, and the middle part shows the signal transmission/reception status.

最初に外部リセットライン5から外部リセット信号が第
1MPt1lに人力すると、MPU 1は直ちに割り込
み処理開始して、以下の動作を行なう。まずステップS
1においてMpuiは第1のPIA B内のコントロー
ルレジスタ(図示しない)を読んで、READパルスを
受信したか否かを検出する。
First, when an external reset signal is input from the external reset line 5 to the first MPt1l, the MPU 1 immediately starts interrupt processing and performs the following operations. First step S
At 1, Mpui reads a control register (not shown) in the first PIA B to detect whether a READ pulse has been received.

RE八へパルスを受信している場合には、既に第1MP
111からその他のMPU 2に対して送出した何らか
のコマンドをその他のMPIJ 2が受は付けているこ
とを示すので、次のステップS2に移行する。
If a pulse is being received to RE8, the first MP
This indicates that the other MPIJ 2 has accepted some command sent from the MPU 111 to the other MPU 2, so the process moves to the next step S2.

その他のMPIJ 2はIIE八Dへルスを送出した後
、次のコマンド人力の待機に入る(ステップ31′ )
After the other MPIJ 2 sends IIE8D, it waits for the next command (step 31').
.

一方、READパルスを第1のPTA 3がRE八へパ
ルスを受信していないときには、そのREADパルスか
その他のMPU 2から送出されるまで第1のMPII
 1は待つ。こうすることにより、第1のMPIJ 1
が外部リセット信号をいつ受は取っても、第1のMII
U 1と第2のMPtl 2との間でのハンドシェイク
は保たれる。
On the other hand, when the first PTA 3 does not receive a READ pulse to the RE 8, the first MPII
1 waits. By doing this, the first MPIJ 1
No matter when the first MII receives an external reset signal,
The handshake between U 1 and the second MPtl 2 is maintained.

次に、ステップS2において、MPII 1は外部リセ
ット信号が解除されたか否かを検出する。解除されてい
る場合には、次のステップS3に移行する。一方、外部
リセット信号が解除されていない場合には、その信号が
解除されるまでMPU +は待つ。
Next, in step S2, the MPII 1 detects whether the external reset signal is released. If it has been released, the process moves to the next step S3. On the other hand, if the external reset signal has not been released, the MPU+ waits until that signal is released.

ステップS3におイテ、MPII 1は第1<7)PI
A3のアウトプットボート(図示しない)にFF(16
進)のデータを書き込み、リセットパルス(リセット信
号)をその他のMPII 2に対して内部リセットライ
ン6を通して送出する。この場合は、書き込んだ事をM
PU 2に知らせるためのWRITEパルスをMPU 
1は送出しない。続いて、ステップS4に移行して、M
PII 2からRE八へパルスが送出されるのを待機す
る。この間、その他のMPII 2側では第1MPIJ
 1からリセットパルスを受は取ると割り込み処理に入
り、その他のPIA 4のアウトプットボート(図示し
ない)にFF(16進)のデータを書き込み(ステップ
52′) 、IIEADパルスを第1のMPtl 1に
対して送出して、リセット処理を行う。
In step S3, MPII 1 is the 1st < 7) PI
FF (16
It writes data in the MPII 2 and sends a reset pulse (reset signal) to the other MPII 2 through the internal reset line 6. In this case, M
MPU sends a WRITE pulse to notify PU 2
1 is not sent. Next, the process moves to step S4, and M
Wait for a pulse to be sent from PII 2 to RE 8. During this time, on the other MPII 2 side, the 1st MPIJ
When the reset pulse is received from 1, it enters interrupt processing, writes FF (hexadecimal) data to the output port (not shown) of other PIA 4 (step 52'), and sends the IIEAD pulse to the first MPtl 1. and performs reset processing.

一方、第2のMPII 2から送出されたREADパル
スを受は取った第1のMPtl 1はその他のMPII
 2と同様にリセット処理を行なう。なお、ステップS
3およびステ・ンブ32’ において、互し1にPIへ
のアウトプットボートにデータFFを書き込んだのは、
リセット処理時において互いに通信準備が整った場合に
、上述のボートを書き換えて通信準備が完了したことを
検知可能にするためである。なお、そのデータ(FF)
はイニシャライズ処理か未終了であることを示すもので
あるので、該処理か終了した場合に書き込む値(本実施
例では”oo’)以外であれば°’FF”に限らない。
On the other hand, the first MPtl 1, which received the READ pulse sent from the second MPII 2,
Perform the reset process in the same manner as in step 2. In addition, step S
3 and step 32', the data FF was written to the output port to the PI in 1.
This is to enable detection of completion of communication preparation by rewriting the above-mentioned boat when communication preparations are completed with each other during the reset process. Furthermore, the data (FF)
Since this indicates that the initialization process has not yet been completed, the value is not limited to 'FF' as long as it is a value other than the value to be written when the process is completed (in this embodiment, 'oo').

以上の本実施例においては、2つの制御手段(MPU 
1 、 MPU 2 )を有する場合を例示したが、さ
らに多くの制御手段を有する場合でも同様に本発明を適
用できる。
In this embodiment described above, two control means (MPU
1, MPU 2), but the present invention can be similarly applied to a case in which more control means are provided.

[発明の効果] 以上説明したように、本発明によれば、他の制御手段が
第1の制御手段の送出したデータを読み込んだことを確
認してから第1の制御手段が他の制御手段に対してハン
ドシェーク用インタフェースを介さずに直接リセット信
号を送出するようにして、これにより外部リセット信号
によるリセット信号を複数の制御手段間でハンドシェイ
クを実行しながら行なえ得るようにしたので、複雑な追
加回路なしで、リセット処理が可能となる効果が得られ
る。また、本発明によればソフトウェア的にリセット処
理を行なうことができるので電源投入時のリセット処理
と、外部リセット信号によるリセット処理とを異なるよ
うに処理することかてぎ、例えは外部リセット時には、
RAM (ランダムアクセスメモリのメモリのチェック
やパージ処理を省略し、外部リセット信号によるリセッ
ト処理時間を短縮させることが可能となる効果が得られ
る。
[Effects of the Invention] As explained above, according to the present invention, the first control means controls the other control means after confirming that the other control means has read the data sent by the first control means. By sending a reset signal directly to the controller without going through a handshake interface, we have made it possible to send a reset signal using an external reset signal while handshaking between multiple control means. This provides the effect of enabling reset processing without any additional circuitry. Further, according to the present invention, the reset process can be performed by software, so the reset process at power-on and the reset process by an external reset signal can be handled differently.For example, at the time of external reset,
It is possible to omit checking and purging of the RAM (random access memory) and shorten the reset processing time using an external reset signal.

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

第1図は本発明を適用した記録装置の制御装置間のイン
タフェース部分の回路構成例を示すブロック図、 第2図は第1図の本発明実施例装置における制御手段と
信号の送受の状態の一例を示すフローチャートである。 1.2・・・MPII(マルチプロセッサユニット)、
3.4・・・PIA(ペリフェラルインタフェース)、
5〜12・・・信号ライン。 突垢イ列nフローチャート 第2図
FIG. 1 is a block diagram showing an example of the circuit configuration of an interface between control devices of a recording apparatus to which the present invention is applied, and FIG. It is a flowchart which shows an example. 1.2...MPII (multiprocessor unit),
3.4...PIA (peripheral interface),
5-12...Signal line. Flowchart Figure 2

Claims (1)

【特許請求の範囲】 第1の制御手段と他の制御手段間でハンド シェークを行うためのインタフェース手段と、外部から
のリセット信号を前記第1の制御手段から前記他の制御
手段に、前記インタフェース手段を介さずに伝送する伝
送手段とを有し、 前記リセット信号を受信した旨を前記インタフェース手
段を介して前記第1の制御手段とハンドシェークした後
に、前記第1の制御手段と前記第2の制御手段は前記外
部からのリセット信号に対応したリセット処理をそれぞ
れ実行することを特徴とする記録装置。
[Scope of Claims] Interface means for handshaking between the first control means and another control means, and an interface means for transmitting an external reset signal from the first control means to the other control means. and a transmission means for transmitting the reset signal without going through the interface means, and after handshaking with the first control means via the interface means to the effect that the reset signal has been received, the first control means and the second control means A recording apparatus characterized in that the means executes reset processing corresponding to each of the reset signals from the outside.
JP62104539A 1987-04-30 1987-04-30 Recorder Pending JPS63271629A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP62104539A JPS63271629A (en) 1987-04-30 1987-04-30 Recorder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP62104539A JPS63271629A (en) 1987-04-30 1987-04-30 Recorder

Publications (1)

Publication Number Publication Date
JPS63271629A true JPS63271629A (en) 1988-11-09

Family

ID=14383298

Family Applications (1)

Application Number Title Priority Date Filing Date
JP62104539A Pending JPS63271629A (en) 1987-04-30 1987-04-30 Recorder

Country Status (1)

Country Link
JP (1) JPS63271629A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1132826A2 (en) * 2000-01-20 2001-09-12 Fujitsu Limited Bus control system for integrated circuit device with improved bus access efficiency

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1132826A2 (en) * 2000-01-20 2001-09-12 Fujitsu Limited Bus control system for integrated circuit device with improved bus access efficiency
EP1132826A3 (en) * 2000-01-20 2004-10-06 Fujitsu Limited Bus control system for integrated circuit device with improved bus access efficiency
US6917995B2 (en) 2000-01-20 2005-07-12 Fujitsu Limited Bus control system for integrated circuit device with improved bus access efficiency
US7349998B2 (en) 2000-01-20 2008-03-25 Fujitsu Limited Bus control system for integrated circuit device with improved bus access efficiency

Similar Documents

Publication Publication Date Title
US6816931B2 (en) Upstream peripheral device serving as a USB host
US7200685B2 (en) Communication apparatus for communicating data between separate toplogies, and related method, storage medium, and program
EP1217576B1 (en) Method and apparatus for formatting and serving inkjet image data
JP4829408B2 (en) Image processing method and image processing apparatus
JPS63271629A (en) Recorder
JP3478519B2 (en) Printer device
US20030053130A1 (en) Recording apparatus, interface control apparatus, and interface control method
JP2982608B2 (en) Printer device
JPH10222445A (en) Method, system for bidirectional data communication and recording medium recording control program for performing bidirectional data communication
JP3250118B2 (en) Printing device data management method
US20030145131A1 (en) SCSI-message parity error handling during data phase
JP2000122964A (en) Processor, input/output processing circuit, instruction executing method for the processor, and memory access method for the input/output processing circuit
JPH01263064A (en) Printer device
JPH0229357A (en) Interface for printer
JPH1091461A (en) Multifunction parallel processing electronic device
JPS62175855A (en) Input/output interface
JP2001005771A (en) Printer interface system, its controlling method and recording medium recording its control program
JPH01233651A (en) Communication control system
JPH02148346A (en) Peripheral device with serial transmission
JPH0811358A (en) Hard disk built-in printer
JP2002014913A (en) Interface circuit and printer device
JPS6355621A (en) Control method for reset signal in device of printer or the like
JP2001325049A (en) Interface device and output device
JP2003216351A (en) Color picture data transmitting/receiving method by usb and its printer and printer driver
JPS63216103A (en) Controller