JP2005085220A - Interface device and image forming apparatus using it - Google Patents

Interface device and image forming apparatus using it Download PDF

Info

Publication number
JP2005085220A
JP2005085220A JP2003319806A JP2003319806A JP2005085220A JP 2005085220 A JP2005085220 A JP 2005085220A JP 2003319806 A JP2003319806 A JP 2003319806A JP 2003319806 A JP2003319806 A JP 2003319806A JP 2005085220 A JP2005085220 A JP 2005085220A
Authority
JP
Japan
Prior art keywords
data
control program
program code
transmission
reception
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
JP2003319806A
Other languages
Japanese (ja)
Inventor
Kazuhisa Maruyama
和久 丸山
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 JP2003319806A priority Critical patent/JP2005085220A/en
Publication of JP2005085220A publication Critical patent/JP2005085220A/en
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an executable means that is free from complicated processings, without increase in processing run time, even when rewriting a control program of a printer engine. <P>SOLUTION: Normally, a communication method between a video controller and engine is conducted by adding parity bits for processing errors. When transmitting and receiving mass data, such as rewriting a flash memory, the transmission and reception of data is conducted by the maximum bit width, without adding parity bits, and the parity data with a unified unit are transmitted separately. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、例えばプリンタにおけるビデオコントローラ等の制御部とエンジンコントローラ等の被制御部とを接続するインターフェース装置及びそれを用いた印刷装置及びインターフェース制御方法に関するものである。   The present invention relates to an interface device that connects a control unit such as a video controller and a controlled unit such as an engine controller in a printer, a printing apparatus using the interface device, and an interface control method.

印刷装置を一例として従来のインターフェース装置を説明する。従来の印刷装置は、画像情報をビットマップデータに変換するビデオコントローラとその画素データに基づいて画像を形成し記録媒体上に転写定着するプリンタエンジンとからなっている。ビデオコントローラとプリンタエンジンの間のインターフェースはビデオI/Fと呼ばれ、その一例を以下に示す。   A conventional interface apparatus will be described by taking a printing apparatus as an example. A conventional printing apparatus includes a video controller that converts image information into bitmap data and a printer engine that forms an image based on the pixel data and transfers and fixes the image on a recording medium. An interface between the video controller and the printer engine is called a video I / F, and an example is shown below.

図4はビデオI/Fの信号一覧を示す図である。図4において、“出力”はエンジンよりビデオコントローラへの出力を示し、“入力”はビデオコントローラよりエンジンへの入力を示す。なお、エンジンはそれを制御するエンジンコントローラを含み、ビデオコントローラとの信号の交換やエンジンの制御は、このエンジンコントローラにより行われる。   FIG. 4 is a diagram showing a list of video I / F signals. In FIG. 4, “output” indicates an output from the engine to the video controller, and “input” indicates an input from the video controller to the engine. The engine includes an engine controller that controls the engine. Signal exchange with the video controller and engine control are performed by the engine controller.

/BD信号はプリンタエンジンの主走査方向の水平同期信号で、ビデオコントローラは、/BD信号の立ち下がりに同期して主走査1ライン分のビデオデータ/VDO信号を送出する。   The / BD signal is a horizontal synchronizing signal in the main scanning direction of the printer engine, and the video controller sends video data / VDO signal for one main scanning line in synchronization with the falling of the / BD signal.

/RDY信号は、プリンタエンジンがビデオコントローラからプリント開始指令(/PRNT信号が真)により、プリント動作が可能になったことを示す信号である。この/RDY信号が真になる条件としては、定着ユニット内の加熱ローラの温度が適正(トナー像の紙への定着に十分な温度)、記録紙がジャム状態でない、ポリゴンミラーが既定回転数で正常に回転している、/BD信号が既定周期で正常に出力されている等がある。   The / RDY signal is a signal indicating that the printing operation is enabled by the printer engine in response to a print start command (/ PRNT signal is true) from the video controller. As a condition for the / RDY signal to be true, the temperature of the heating roller in the fixing unit is appropriate (temperature sufficient for fixing the toner image on the paper), the recording paper is not in a jammed state, and the polygon mirror is at a predetermined rotational speed. There is a normal rotation, the / BD signal is normally output in a predetermined cycle, and the like.

/TOP信号はプリンタエンジンにおける副走査方向の印刷同期信号で、ビデオコントローラは、この/TOP信号の立ち下がりに同期して、副走査方向の画像書き出し位置を設定する。   The / TOP signal is a print synchronization signal in the sub-scanning direction in the printer engine, and the video controller sets an image writing position in the sub-scanning direction in synchronization with the falling of the / TOP signal.

この例では、給紙センサで記録紙の先端を検知してから、この記録紙が転写ローラに到達するまでの時間と、レーザ光により感光体上に形成された潜像が感光体ドラムの回転により転写ローラに到達するまでの時間とが等しくなるように、給紙センサを配置している。このため、エンジンコントローラは給紙センサからの給紙センサ信号(PFSNS)が真になったのを検知すると、直ちに/TOP信号を1秒間、真にしている。   In this example, the time from when the leading edge of the recording paper is detected by the paper feed sensor to the time when the recording paper reaches the transfer roller, and the latent image formed on the photosensitive member by the laser light are rotated by the photosensitive drum. Thus, the paper feed sensor is arranged so that the time until it reaches the transfer roller becomes equal. For this reason, when the engine controller detects that the paper feed sensor signal (PFSNS) from the paper feed sensor has become true, it immediately sets the / TOP signal to true for 1 second.

/STS信号は、エンジンコントローラがビデオコントローラに送信する16ビット単位のシリアル情報で、この信号はステータスと呼ばれる。   The / STS signal is 16-bit serial information transmitted from the engine controller to the video controller, and this signal is called a status.

/PRNT信号は、ビデオコントローラが、プリンタエンジンに対して、プリント動作の開始を指令する信号である。ただし、連続プリントの場合は、プリント動作の継続を意味することになる。   The / PRNT signal is a signal used by the video controller to instruct the printer engine to start a printing operation. However, in the case of continuous printing, this means continuation of the printing operation.

/CPRDY信号は、ビデオコントローラに電源が供給され、ビデオコントローラのイニシャライズが完了して、プリンタ・コントローラとの間でコマンド・ステータスの通信が可能になったことを示す信号である。   The / CPRDY signal is a signal indicating that power is supplied to the video controller, initialization of the video controller is completed, and command status communication with the printer controller becomes possible.

/VDO信号は、プリンタエンジンが印刷すべき画像信号を示している。この画像信号は、ビデオコントローラがホストコンピュータより受け取った画像コードデータを変換して、ドットデータに変換して送出される。   The / VDO signal indicates an image signal to be printed by the printer engine. This image signal is converted from image code data received by the video controller from the host computer, converted into dot data, and transmitted.

/CMD信号は、ビデオコントローラよりエンジンコントローラに送信される16ビット単位のシリアル情報で、コマンドと呼ばれる。   The / CMD signal is 16-bit serial information transmitted from the video controller to the engine controller, and is called a command.

/SCLK信号は、/CMD信号および/STS信号の送信を行う場合の、シリアルデータの同期クロックである。   The / SCLK signal is a serial data synchronization clock when the / CMD signal and the / STS signal are transmitted.

ここで、シリアル通信により送受信される、ビデオコントローラよりエンジンコントローラへのコマンド、及びエンジンコントローラよりビデオコントローラへのステータス信号の構成について説明する。   Here, the configuration of commands sent from the video controller to the engine controller and status signals sent from the engine controller to the video controller, which are transmitted and received by serial communication, will be described.

前述した様に、コマンド及びステータス情報は、16ビットのシリアル信号である。図5にコマンド及びステータス情報のデータ形式を示す。16ビットデータは、MSBを送受信データの最上位ビット、15番目のビットを送受信データの最下位ビットとし、LSBを奇数パリティビットとして定義する。   As described above, the command and status information are 16-bit serial signals. FIG. 5 shows the data format of the command and status information. For 16-bit data, MSB is defined as the most significant bit of transmission / reception data, the 15th bit is defined as the least significant bit of transmission / reception data, and LSB is defined as an odd parity bit.

前述したデータ形式で、1ワードのコマンド情報が/SCLK信号に同期してビデオコントローラからエンジンコントローラヘ与えられると、エンジンコントローラは1ワードのステータスをビデオコントローラに返送する。このコマンドには、プリンタエンジンのステータス(状態)を調べるためのステータス要求コマンドと、プリンタエンジンへ何らかの動作を行うように指令する実行コマンドが含まれている。   In the data format described above, when 1-word command information is supplied from the video controller to the engine controller in synchronization with the / SCLK signal, the engine controller returns a 1-word status to the video controller. This command includes a status request command for checking the status (state) of the printer engine and an execution command for instructing the printer engine to perform some operation.

/RESET信号はビデオコントローラからエンジンコントローラへプリンタの初期化を要求する信号である。この信号が既定時間以上LOWレベルの時エンジンコントローラはプリンタを初期化する。   The / RESET signal is a signal for requesting initialization of the printer from the video controller to the engine controller. When this signal is at a LOW level for a predetermined time or more, the engine controller initializes the printer.

また、プリンタエンジンプログラムのバージョンアップ等のためビデオコントローラからプリンタエンジンの制御プログラムデータが送信されることが記載されている(例えば、特許文献1参照。)。
特開2002−297389号公報
Further, it is described that printer engine control program data is transmitted from a video controller in order to upgrade the printer engine program (see, for example, Patent Document 1).
JP 2002-297389 A

前述したように、ビデオコントローラとプリンタエンジン間インターフェース上のコマンド及びステータス情報である16ビットのシリアルデータは、MSBを送受信データの最上位ビット、15番目のビットを送受信データの最下位ビットとし、LSBを奇数パリティビットとして定義している。ここで、ビデオコントローラからプリンタエンジンの制御プログラムデータを送信し、プリンタエンジンの制御プログラムの書き換えを行う場合、大量のデータ送信が必要となる。制御プログラムデータは、通常16ビットを1単位で扱っているため、前述した様な15ビットのみ有効なデータ送受信形式においてデータ送受信を行う場合には、制御プログラムコードデータを15ビットずつ変則的に変換して送信するか、変換処理を簡単にするために8ビット単位に変換して送信するかのいずれかの処理を行う必要があり、データ処理が煩雑になるうえ、データ処理実行時間の増加、および変換処理を行うための制御プログラムコード量の増加が発生し、装置のコストアップの要因ともなってしまう。   As described above, the 16-bit serial data which is the command and status information on the interface between the video controller and the printer engine has the MSB as the most significant bit of the transmission / reception data and the 15th bit as the least significant bit of the transmission / reception data. Are defined as odd parity bits. Here, when the printer engine control program data is transmitted from the video controller and the printer engine control program is rewritten, a large amount of data transmission is required. Since the control program data is usually handled in units of 16 bits, when data transmission / reception is performed in the data transmission / reception format in which only 15 bits are valid as described above, the control program code data is irregularly converted by 15 bits. Data transmission, or in order to simplify the conversion process, it is necessary to perform a process of either 8-bit unit conversion and transmission, which complicates the data processing and increases the data processing execution time. In addition, an increase in the amount of control program code for performing the conversion processing occurs, which causes an increase in the cost of the apparatus.

本発明の目的は、上記問題点に鑑み、プリンタエンジンの制御プログラム書き換えを行うような場合においても、処理が煩雑にならず、処理実行時間の増加もなく、実行できる手段を提案するものである。   SUMMARY OF THE INVENTION In view of the above problems, an object of the present invention is to propose means capable of executing a printer engine control program rewriting without complicating the processing and increasing the processing execution time. .

上記目的を達成するため、本発明はつぎのような構成からなる。   In order to achieve the above object, the present invention has the following configuration.

即ち、制御側と被制御側とを接続するインターフェース装置であって、前記制御側と前記被制御側との間には、前記制御側から同期信号を送信する同期信号送信手段と、前記同期信号に同期したデータ信号を送受信するシリアルデータ送受信手段を有し、前記制御側は、前記被制御側に対して所定の処理を指示する指示手段を備え、前記被制御側は、前記制御側からの前記所定の処理を実行する処理実行手段を備え、前記被制御側は、書き換え可能なメモリを有し、前記書き換え可能なメモリに、制御プログラムコードデータを格納する構成を有し、前記シリアルデータ送受信手段により、前記制御側から前記被制御側に前記被制御側の制御プログラムコードデータを送信して、制御プログラムコードデータの書き換えを行う、制御プログラムコードデータ書き換え手段を有し、前記制御プログラムコード書き換え手段により制御プログラムコードの書き換えを実行する場合のシリアル送受信データ形式は、前記制御プログラムコード書き換えを実行する場合以外の送受信データとは、データ形式が異なる手段でデータの送受信を行う手段を備えることを特徴とするインターフェース装置である。   That is, an interface device for connecting a control side and a controlled side, a synchronization signal transmitting means for transmitting a synchronization signal from the control side between the control side and the controlled side, and the synchronization signal Serial data transmission / reception means for transmitting / receiving a data signal synchronized with the control side, the control side includes instruction means for instructing the controlled side to perform predetermined processing, and the controlled side is A process execution unit configured to execute the predetermined process, wherein the controlled side includes a rewritable memory, and the control program code data is stored in the rewritable memory; Means for transmitting the control program code data of the controlled side from the control side to the controlled side and rewriting the control program code data. The serial transmission / reception data format when the control program code rewriting is executed by the control program code rewriting means includes the code data rewriting means, and the transmission / reception data other than the case of executing the control program code rewriting is the data format An interface device comprising means for transmitting and receiving data by different means.

また、本発明に係る第二の発明は、前記構成のインターフェース装置において、前記シリアル送受信データは、16ビットを1データの単位とし、制御プログラムコードの書き換えを実行する場合には、16ビット全部をデータ領域として定義し、データ制御プログラムコードの書き換えを実行する場合以外は、15ビットのデータに1ビットのパリティビットを付加した形式の送受信データとして処理を行う手段とを備えることを特徴とするインターフェース装置である。   According to a second aspect of the present invention, in the interface device configured as described above, the serial transmission / reception data has 16 bits as one data unit, and when rewriting the control program code, all 16 bits are used. An interface comprising: means for processing as transmission / reception data in a format in which a 1-bit parity bit is added to 15-bit data, except when the data area is defined and data control program code is rewritten Device.

また、本発明に係る第三の発明は、前記構成のインターフェース装置において、前記シリアル送受信データは、16ビットを1データの単位とし、制御プログラムコードの書き換えを実行する場合には、16ビット全部をデータ領域として定義し、あらかじめ決められた複数のデータを送受信した時点で、送受信された複数のデータの整合性を確認するデータを1データ送受信し、送受信データの整合性確認処理を行う手段とを備えることを特徴とするインターフェース装置である。   According to a third aspect of the present invention, in the interface device having the above-described configuration, the serial transmission / reception data has 16 bits as one data unit, and when the control program code is rewritten, all 16 bits are used. Means for defining a data area, and transmitting / receiving one piece of data for confirming the consistency of a plurality of transmitted / received data at the time of transmitting / receiving a plurality of predetermined data, and performing a consistency confirmation process for the transmitted / received data; It is an interface device characterized by comprising.

また、本発明に係る第四の発明は、前記構成のインターフェース装置において、制御プログラムコードの書き換えを実行する場合に、16ビット全部をデータ領域として定義する送受信データは、前記被制御側の制御プログラムコードのアドレス情報および制御プログラムコードデータであることを特徴とするインターフェース装置である。   According to a fourth aspect of the present invention, in the interface device configured as described above, when the control program code is rewritten, the transmission / reception data defining all 16 bits as a data area is the control program on the controlled side. An interface device characterized by code address information and control program code data.

また、本発明に係る第五の発明は、前記構成のインターフェース装置により、画像信号を生成するビデオコントローラ部と該ビデオコントローラ部により生成された画像信号を印刷出力するエンジン部とを接続してなることを特徴とする画像形成装置である。   According to a fifth aspect of the present invention, the interface device configured as described above connects a video controller section that generates an image signal and an engine section that prints out the image signal generated by the video controller section. An image forming apparatus characterized by the above.

以上、本発明を整理して要約すれば以下の構成に集約できる。   As described above, if the present invention is organized and summarized, it can be integrated into the following configurations.

(1)制御側と被制御側とを接続するインターフェース装置であって、
前記制御側と前記被制御側との間には、前記制御側から同期信号を送信する同期信号送信手段と、前記同期信号に同期したデータ信号を送受信するシリアルデータ送受信手段を有し、
前記制御側は、前記被制御側に対して所定の処理を指示する指示手段を備え、
前記被制御側は、前記制御側からの前記所定の処理を実行する処理実行手段を備え、
前記被制御側は、書き換え可能なメモリを有し、前記書き換え可能なメモリに、制御プログラムコードデータを格納する構成を有し、
前記シリアルデータ送受信手段により、前記制御側から前記被制御側に前記被制御側の制御プログラムコードデータを送信して、制御プログラムコードデータの書き換えを行う、制御プログラムコードデータ書き換え手段を有し、
前記制御プログラムコードデータ書き換え手段により制御プログラムコードデータの書き換えを実行する場合のシリアル送受信データ形式は、前記制御プログラムコードデータ書き換えを実行する場合以外の送受信データとは、データ形式が異なる手段でデータの送受信を行う手段を備えることを特徴とするインターフェース装置。
(1) An interface device for connecting a control side and a controlled side,
Between the control side and the controlled side, there is a synchronization signal transmission means for transmitting a synchronization signal from the control side, and a serial data transmission / reception means for transmitting and receiving a data signal synchronized with the synchronization signal,
The control side includes instruction means for instructing the controlled side to perform predetermined processing,
The controlled side includes processing execution means for executing the predetermined processing from the controlling side,
The controlled side has a rewritable memory, and has a configuration for storing control program code data in the rewritable memory,
A control program code data rewriting means for rewriting the control program code data by transmitting the control program code data of the controlled side from the control side to the controlled side by the serial data transmitting and receiving means;
The serial transmission / reception data format when the control program code data rewrite is executed by the control program code data rewrite means is different from the transmission / reception data except when the control program code data rewrite is executed by means of a data format different from that of the transmission / reception data. An interface device comprising means for performing transmission / reception.

(2)前記構成のインターフェース装置において、前記シリアル送受信データ形式は、16ビットを1データの単位とし、制御プログラムコードの書き換えを実行する場合には、16ビット全部をデータ領域として定義し、制御プログラムコードの書き換えを実行する場合以外は、15ビットのデータに1ビットのパリティビットを付加した形式の送受信データとして処理を行う手段を備えることを特徴とする前記(1)記載のインターフェース装置。   (2) In the interface device having the above-described configuration, the serial transmission / reception data format has 16 bits as one data unit, and when rewriting the control program code, all 16 bits are defined as a data area, and the control program The interface apparatus according to (1), further comprising means for processing as transmission / reception data in a format in which 1-bit parity bit is added to 15-bit data, except when code rewriting is performed.

(3)前記構成のインターフェース装置において、前記シリアル送受信データは、16ビットを1データの単位とし、制御プログラムコードの書き換えを実行する場合には、16ビット全部をデータ領域として定義し、あらかじめ決められた複数のデータを送受信した時点で、送受信された複数のデータの整合性を確認するデータを1データ送受信し、送受信データの整合性確認処理を行う手段とを備えることを特徴とする前記(1)記載のインターフェース装置。   (3) In the interface device having the above-described configuration, the serial transmission / reception data has 16 bits as one data unit, and when rewriting the control program code, all 16 bits are defined as a data area and determined in advance. And (1) transmitting / receiving one piece of data for confirming the consistency of the plurality of transmitted / received data at the time of transmitting / receiving the plurality of data, and performing a process for confirming the consistency of the transmitted / received data. ) The interface device described.

(4)前記構成のインターフェース装置において、制御プログラムコードの書き換えを実行する場合に、16ビット全部をデータ領域として定義する送受信データは、前記被制御側の制御プログラムコードのアドレス情報および制御プログラムコードデータであることを特徴とする前記(1)記載のインターフェース装置。   (4) In the interface device having the above configuration, when rewriting the control program code, the transmission / reception data defining all 16 bits as the data area includes address information and control program code data of the control program code on the controlled side The interface device according to (1), characterized in that:

(5)前記構成のインターフェース装置により、画像信号を生成するビデオコントローラ部と該ビデオコントローラ部により生成された画像信号を印刷出力するエンジン部とを接続してなることを特徴とする画像形成装置。   (5) An image forming apparatus comprising a video controller section that generates an image signal and an engine section that prints and outputs the image signal generated by the video controller section by the interface apparatus having the above-described configuration.

以上説明したように、本発明のインターフェース装置及びそれを用いた印刷装置及びインターフェース制御方法は、制御側から被制御側に制御プログラムコードデータを転送し、被制御側の制御プログラムコードの書き換えを行うような場合においても、制御プログラムコードデータの送受信に関する処理が煩雑にならず、処理実行時間の増加もなく、実行できる手段を実現できる。   As described above, the interface apparatus of the present invention, the printing apparatus using the interface apparatus, and the interface control method transfer control program code data from the control side to the controlled side, and rewrite the control program code on the controlled side. Even in such a case, it is possible to realize a means that can be executed without complicating the processing related to transmission / reception of the control program code data and without increasing the processing execution time.

以下、本発明の実施例を図面に基づいて説明する。   Embodiments of the present invention will be described below with reference to the drawings.

図1は本発明の第1の実施形態を示す印刷装置の構成を説明するブロック図である。   FIG. 1 is a block diagram illustrating the configuration of a printing apparatus according to the first embodiment of the present invention.

図1において、印刷装置はコントローラ部26とエンジン部25とを有する。コントローラ部26においては、CPU16は、ROM19に格納されている制御プログラムの実行により外部の装置とのインターフェース17を介してホストコンピュータ等から画像情報を受信する。受信された画像情報は画像処理部20へと入力される。画像処理部20ではそのコードデータをRAM21に格納し、画像情報の解析を行う。RAM18はレジスタなどに用いられる。ROM22には画像情報の値に対応したフォントデータが格納されており、画像処理部20は、対応するフォントデータをROM22から読み出して、受信した画像情報をすべてドットからなるビデオデータに変換し、フレームメモリ23に格納する。フレームメモリ23に1ページ分のビデオデータが格納されると、CPU16はビデオインターフェース24を介してエンジン部25に印字指令を送出すると共に、エンジン部25からの主・副走査同期信号に同期してフレームメモリ23に格納されたビデオデータをエンジン部25に送出する。エンジン部25は、CPU30により制御されるエンジンコントローラ25aにより制御される。   In FIG. 1, the printing apparatus includes a controller unit 26 and an engine unit 25. In the controller unit 26, the CPU 16 receives image information from a host computer or the like via the interface 17 with an external device by executing a control program stored in the ROM 19. The received image information is input to the image processing unit 20. The image processing unit 20 stores the code data in the RAM 21 and analyzes the image information. The RAM 18 is used as a register. The ROM 22 stores font data corresponding to the value of the image information. The image processing unit 20 reads the corresponding font data from the ROM 22, converts the received image information into video data consisting of all dots, Store in the memory 23. When one page of video data is stored in the frame memory 23, the CPU 16 sends a print command to the engine unit 25 via the video interface 24 and is synchronized with the main / sub-scan synchronization signal from the engine unit 25. The video data stored in the frame memory 23 is sent to the engine unit 25. The engine unit 25 is controlled by an engine controller 25 a that is controlled by the CPU 30.

図2は、図1に示したエンジン部25の一例を示す断面図であり、図1と同一のものは同じ符号を付けてある。図2において、印刷装置本体1として、本実施形態ではレーザビームプリンタの場合を示してある。光学ユニット3は、ビデオインターフェース24を介して送出されてきたビデオデータによりレーザ光を変調し、回転多面鏡により感光体ドラム2上を走査する。折返しミラー4は光学ユニット3から照射されたレーザ光を反射する。帯電器5は、感光体ドラム2を一様に帯電させる。現像機6は感光体ドラム2上の静電画像をトナー像に現像する。転写機7は感光体ドラム2上のトナー像を記録紙に転写する。クリーナ8は転写後に感光体ドラム2上に残留するトナーを回収する。上段給紙ローラ10aは上段カセット9aに収容された用紙を給紙する。下段給紙ローラ10bは、下段カセット9bに収容された用紙を給紙する。給紙搬送ローラ11は給紙された用紙を転写位置まで搬送する。TOPセンサ12は給紙された用紙の有無を検知する。定着器13は用紙に転写されたトナー像を加熱加圧することで、用紙に定着させる。排紙センサ14は定着器13から排紙された用紙の有無を検知する。配置トレイ15は、排出される記録用紙を受ける。   FIG. 2 is a cross-sectional view showing an example of the engine unit 25 shown in FIG. 1, and the same components as those in FIG. In FIG. 2, a laser beam printer is shown as the printing apparatus main body 1 in the present embodiment. The optical unit 3 modulates the laser beam with the video data sent through the video interface 24, and scans the photosensitive drum 2 with the rotating polygon mirror. The folding mirror 4 reflects the laser light emitted from the optical unit 3. The charger 5 uniformly charges the photosensitive drum 2. The developing device 6 develops the electrostatic image on the photosensitive drum 2 into a toner image. The transfer machine 7 transfers the toner image on the photosensitive drum 2 to a recording sheet. The cleaner 8 collects the toner remaining on the photosensitive drum 2 after the transfer. The upper paper feed roller 10a feeds the paper stored in the upper cassette 9a. The lower feed roller 10b feeds the paper stored in the lower cassette 9b. The paper feeding / conveying roller 11 conveys the fed paper to the transfer position. The TOP sensor 12 detects the presence or absence of a fed sheet. The fixing device 13 heats and presses the toner image transferred onto the paper to fix it on the paper. The paper discharge sensor 14 detects the presence or absence of paper discharged from the fixing device 13. The arrangement tray 15 receives the recording paper to be discharged.

図3は本実施形態の印刷装置におけるビデオコントローラ26とエンジンコントローラ25aのインターフェースを示すブロック図である。また、図4はビデオインターフェース24の信号の一覧を示す図である。   FIG. 3 is a block diagram showing an interface between the video controller 26 and the engine controller 25a in the printing apparatus of this embodiment. FIG. 4 is a diagram showing a list of signals of the video interface 24.

図3で示す通り、エンジンコントローラ25aは、前述した様な印刷装置エンジン部を制御するためのCPU30とCPU30が動作するためのメモリとしてRAM31、エンジン制御を行うための制御プログラムコードが書き込まれているフラッシュROM32を中心として、ビデオインターフェース24およびその他の制御負荷を制御している。ここで、制御プログラムコードが書き込まれているフラッシュROM32は、印刷装置の制御に変更が発生した場合に制御プログラムコードの変更が行われる。   As shown in FIG. 3, in the engine controller 25a, the CPU 30 for controlling the printing device engine unit as described above, the RAM 31 as a memory for operating the CPU 30, and a control program code for performing engine control are written. The video interface 24 and other control loads are controlled around the flash ROM 32. Here, in the flash ROM 32 in which the control program code is written, the control program code is changed when the control of the printing apparatus is changed.

これまで述べてきた構成において、図3および図4で示した、ビデオコントローラ26とエンジンコントローラ25aのインターフェースを経由し、エンジンコントローラ25aのフラッシュメモリに記憶されている制御プログラムコードを書き換える手順について説明する。   A procedure for rewriting the control program code stored in the flash memory of the engine controller 25a through the interface between the video controller 26 and the engine controller 25a shown in FIGS. 3 and 4 in the configuration described above will be described. .

図7は、前述した構成において、エンジンコントローラ25aのフラッシュメモリ32に記憶されている制御プログラムコードを書き換える場合の手順を示したフローチャートである。   FIG. 7 is a flowchart showing a procedure for rewriting the control program code stored in the flash memory 32 of the engine controller 25a in the configuration described above.

ビデオコントローラ26に接続されているホストコンピュータもしくは操作パネル(不図示)から、エンジンコントローラ25aの制御プログラム書き換え指示があった場合、まずビデオコントローラ26からエンジンコントローラ25aに対して、制御プログラムコード書き換えモードであることを指定する(S1001)。   When there is an instruction to rewrite the control program of the engine controller 25a from a host computer or an operation panel (not shown) connected to the video controller 26, the video controller 26 first sends the engine controller 25a to the control program code rewriting mode. It is designated that there is (S1001).

次のステップとして、実際に制御プログラムコードの書き込み開始アドレスを、ビデオコントローラ26からエンジンコントローラ25aに対して指定する(S1002)。   As the next step, the actual start address for writing the control program code is designated from the video controller 26 to the engine controller 25a (S1002).

次のステップとして、外部インターフェースを経由して、ホストコンピュータ等から送信された制御プログラムコードのデータを、ビデオコントローラ26からエンジンコントローラ25aに対して指定する(S1003)。ビデオコントローラ26からエンジンコントローラ25aに対して指定する制御プログラムコードのデータは、書き込み制御プログラムコードデータ1つに対して1つのアドレスを指定することはせず、S1002のステップで指定されたアドレスを先頭として、あらかじめ決められた所定の数分のデータを送信する。従って、あらかじめ決められた所定の数分のデータを送信したか否かを判定する(S1004)。この判定結果により、あらかじめ決められた所定の数分のデータを送信していない場合は、S1003のステップに戻り、制御プログラムコードデータの送信を行い、以降、あらかじめ決められた所定の数分のデータを送信するまで繰り返される。S1004のステップにより、あらかじめ決められた所定の数分のデータを送信したと判定した場合は、制御プログラムコードデータの送信を完了する。   As the next step, the control program code data transmitted from the host computer or the like via the external interface is designated from the video controller 26 to the engine controller 25a (S1003). The control program code data specified from the video controller 26 to the engine controller 25a does not specify one address for one write control program code data, but starts with the address specified in step S1002. As described above, a predetermined number of pieces of data are transmitted. Accordingly, it is determined whether or not a predetermined number of pieces of data have been transmitted (S1004). If the determination result indicates that a predetermined number of pieces of data have not been transmitted, the process returns to step S1003 to transmit control program code data. Thereafter, a predetermined number of pieces of data are determined. Until it is sent. If it is determined in step S1004 that a predetermined number of pieces of data have been transmitted, the transmission of the control program code data is completed.

図8に、前述した処理フローを時系列データの送受信として示したタイミングチャートを示す。図8で示す通り、図7で示したビデオコントローラ26からエンジンコントローラ25aとのデータの送受信は、ビデオコントローラ26からの送信データに対応して、エンジンコントローラ25aからステータスが返送される構成となっている。   FIG. 8 is a timing chart showing the above-described processing flow as time-series data transmission / reception. As shown in FIG. 8, the transmission / reception of data from the video controller 26 to the engine controller 25a shown in FIG. 7 is configured such that the status is returned from the engine controller 25a corresponding to the transmission data from the video controller 26. Yes.

ビデオコントローラ26からエンジンコントローラ25aに送信されるデータ形式を図6に示す。図6で示した、制御プログラムコード書き換え時に使用するデータ形式は、従来実施例で示した図5の形式とは異なり、図5で付加されていたパリティビットを削除し、全16ビットを制御プログラムコードデータとして定義している。このデータ形式を取ることにより、大量の制御プログラムコードデータの送受信においても、制御プログラムコードデータを15ビットずつ変則的に変換して送信するか、変換処理を簡単にするために8ビット単位に変換して送信するかのいずれかの処理を行う必要が無く、ビデオコントローラ26およびエンジンコントローラ25aでの処理が単純化される。   FIG. 6 shows a data format transmitted from the video controller 26 to the engine controller 25a. The data format used at the time of rewriting the control program code shown in FIG. 6 is different from the format of FIG. 5 shown in the conventional example, and the parity bits added in FIG. It is defined as code data. By adopting this data format, even when a large amount of control program code data is sent and received, the control program code data is irregularly converted by 15 bits and transmitted, or converted into 8-bit units to simplify the conversion process. Thus, it is not necessary to perform any processing for transmission, and the processing in the video controller 26 and the engine controller 25a is simplified.

所定の制御プログラムコードデータを受信したエンジンコントローラ25aは、ビデオコントローラ26から送信された制御プログラムコードデータをフラッシュメモリへの書き込みを実行する。   The engine controller 25a that has received the predetermined control program code data writes the control program code data transmitted from the video controller 26 to the flash memory.

印刷装置構成は第1の実施の形態と同一なのでその説明は省略する。   Since the configuration of the printing apparatus is the same as that of the first embodiment, the description thereof is omitted.

図9は、前述した構成において、エンジンコントローラ25aのフラッシュメモリに記憶されている制御プログラムコードを書き換える場合の第二の手順を示したフローチャートである。   FIG. 9 is a flowchart showing a second procedure in the case where the control program code stored in the flash memory of the engine controller 25a is rewritten in the configuration described above.

ビデオコントローラ26に接続されているホストコンピュータもしくは操作パネル(不図示)から、エンジンコントローラ25aの制御プログラム書き換え指示があった場合、まずビデオコントローラ26からエンジンコントローラ25aに対して、制御プログラムコード書き換えモードであることを指定する(S1101)。   When there is an instruction to rewrite the control program of the engine controller 25a from a host computer or an operation panel (not shown) connected to the video controller 26, the video controller 26 first sends the engine controller 25a to the control program code rewriting mode. It is specified that there is (S1101).

次のステップとして、実際に制御プログラムコードの書き込み開始アドレスを、ビデオコントローラ26からエンジンコントローラ25aに対して指定する(S1102)。   As the next step, the actual start address for writing the control program code is designated from the video controller 26 to the engine controller 25a (S1102).

次のステップとして、ホストコンピュータ等から送信された制御プログラムコードのデータを、ビデオコントローラ26からエンジンコントローラ25aに対して指定する(S1103)。ビデオコントローラ26からエンジンコントローラ25aに対して指定する制御プログラムコードのデータは、書き込み制御プログラムコードデータ1つに対して1つのアドレスを指定することはせず、S1102のステップで指定されたアドレスを先頭として、あらかじめ決められた所定の数分のデータを送信する。従って、あらかじめ決められた所定の数分のデータを送信したか否かを判定する(S1104)。この判定結果により、あらかじめ決められた所定の数分のデータを送信していない場合は、S1103のステップに戻り、制御プログラムコードデータの送信を行い、以降、あらかじめ決められた所定の数分のデータを送信するまで繰り返される。S1104のステップにより、あらかじめ決められた所定の数分のデータを送信したと判定した場合は、制御プログラムコードデータの送信を完了する。   As the next step, control program code data transmitted from the host computer or the like is designated from the video controller 26 to the engine controller 25a (S1103). The control program code data specified from the video controller 26 to the engine controller 25a does not specify one address for one write control program code data, but starts with the address specified in step S1102. As described above, a predetermined number of pieces of data are transmitted. Therefore, it is determined whether or not a predetermined number of pieces of data have been transmitted (S1104). If the determination result indicates that the predetermined number of data is not transmitted, the process returns to step S1103 to transmit the control program code data, and thereafter the predetermined number of data is determined. Until it is sent. If it is determined in step S1104 that a predetermined number of pieces of data have been transmitted, the transmission of the control program code data is completed.

その後、ビデオコントローラ26では、ビデオコントローラ26からエンジンコントローラ25aに転送した制御プログラムコードデータの各ビット位置毎に、奇数パリティを算出する(S1105)。   Thereafter, the video controller 26 calculates odd parity for each bit position of the control program code data transferred from the video controller 26 to the engine controller 25a (S1105).

上記で算出された奇数パリティは、ビデオコントローラ26からエンジンコントローラ25aに送信される(S1106)。この時送信される、各ビット毎の奇数パリティのデータ形式を、図10に示す。エンジンコントローラ25aは、送信された奇数パリティデータにより、それまでにビデオコントローラ26から送信された制御プログラムコードデータの整合性を確認する。   The odd parity calculated above is transmitted from the video controller 26 to the engine controller 25a (S1106). FIG. 10 shows the data format of the odd parity for each bit transmitted at this time. The engine controller 25a confirms the consistency of the control program code data transmitted from the video controller 26 by the transmitted odd parity data.

図11に、前述した処理フローを時系列データの送受信として示したタイミングチャートを示す。図11で示す通り、ビデオコントローラ26からエンジンコントローラ25aへの制御プログラムコードデータ送信後、最後に奇数パリティデータが送信される構成となっている。   FIG. 11 is a timing chart showing the above-described processing flow as time-series data transmission / reception. As shown in FIG. 11, after transmitting the control program code data from the video controller 26 to the engine controller 25a, the odd parity data is finally transmitted.

所定の制御プログラムコードデータを受信したエンジンコントローラ25aは、ビデオコントローラ26から送信された制御プログラムコードデータをフラッシュメモリへの書き込みを実行する。   The engine controller 25a that has received the predetermined control program code data writes the control program code data transmitted from the video controller 26 to the flash memory.

なお、本発明は、複数の機器(例えばホストコンピュータ,インターフェース機器,リーダ,プリンタなど)から構成されるシステムに適用しても、一つの機器からなる装置(例えば、複写機,ファクシミリ装置など)に適用してもよい。   Note that the present invention can be applied to a system (for example, a copier, a facsimile machine, etc.) consisting of a single device even when applied to a system composed of a plurality of devices (for example, a host computer, interface device, reader, printer, etc.). You may apply.

第1及び第2の実施形態の印刷装置のブロック図Block diagram of printing apparatus of first and second embodiments 第1及び第2の実施形態の印刷装置の構成を示す図The figure which shows the structure of the printing apparatus of 1st and 2nd embodiment. 第1及び第2の実施形態の印刷装置におけるビデオコントローラ26とエンジンコントローラ25aのインターフェースを示すブロック図The block diagram which shows the interface of the video controller 26 and the engine controller 25a in the printing apparatus of 1st and 2nd embodiment. 第1及び第2の実施形態の印刷装置におけるビデオコントローラ26とエンジンコントローラ25aのインターフェース信号の一覧を示す図The figure which shows the list of the interface signals of the video controller 26 and the engine controller 25a in the printing apparatus of 1st and 2nd embodiment. 第1及び第2の実施形態の印刷装置における、制御プログラムコードデータ書き込みモード時以外に、ビデオコントローラ26とエンジンコントローラ25aの間で送受信されるデータ形式を示す図The figure which shows the data format transmitted / received between the video controller 26 and the engine controller 25a in the printing apparatus of 1st and 2nd embodiment other than the time of the control program code data writing mode. 第1及び第2の実施形態の印刷装置における、制御プログラムコードデータ書き込みモード時に、ビデオコントローラ26とエンジンコントローラ25aの間で送受信されるデータ形式を示す図The figure which shows the data format transmitted / received between the video controller 26 and the engine controller 25a at the time of the control program code data writing mode in the printing apparatus of 1st and 2nd embodiment. 第1の実施形態におけるビデオコントローラ26とエンジンコントローラ25aによる制御手順の概要を示すフローチャートThe flowchart which shows the outline | summary of the control procedure by the video controller 26 and engine controller 25a in 1st Embodiment. 第1の実施形態におけるビデオコントローラ26とエンジンコントローラ25aによる通信制御手順の概要を示すタイムチャートTime chart showing an outline of a communication control procedure by the video controller 26 and the engine controller 25a in the first embodiment 第2の実施形態におけるビデオコントローラ26とエンジンコントローラ25aによる制御手順の概要を示すフローチャートThe flowchart which shows the outline | summary of the control procedure by the video controller 26 and engine controller 25a in 2nd Embodiment. 第2の実施形態の印刷装置における、制御プログラムコードデータ書き込みモード時に、ビデオコントローラ26とエンジンコントローラ25aの間で送受信される奇数パリティデータ形式を示す図The figure which shows the odd parity data format transmitted / received between the video controller 26 and the engine controller 25a at the time of the control program code data writing mode in the printing apparatus of 2nd Embodiment. 第2の実施形態におけるビデオコントローラ26とエンジンコントローラ25aによる通信制御手順の概要を示すタイムチャートTime chart showing an outline of a communication control procedure by the video controller 26 and the engine controller 25a in the second embodiment

符号の説明Explanation of symbols

1 印刷装置
2 感光体ドラム(潜像担持体)
3 光学ユニット
4 折返しミラー
5 帯電機
6 現像機
7 転写機
8 クリーナ
9a 上段カセット
9b 下段カセット
10a 上段給紙ローラ
10b 下段給紙ローラ
11 給紙搬送ローラ
12 TOPセンサ
13 定着機
14 排紙センサ
15 配置トレイ
16 CPU
17 外部インターフェース
18 RAM
19 ROM
20 画像処理部
21 RAM
22 ROM
23 フレームメモリ
24 ビデオインターフェース
25 エンジンコントローラ部(エンジン部)
25a エンジンコントローラ
26 ビデオコントローラ部(コントローラ部)
30 CPU
31 RAM
32 フラッシュROM
1 Printing device 2 Photosensitive drum (latent image carrier)
3 Optical unit 4 Folding mirror 5 Charging machine 6 Developing machine 7 Transfer machine 8 Cleaner 9a Upper cassette 9b Lower cassette 10a Upper paper feed roller 10b Lower paper feed roller 11 Paper feed roller 12 TOP sensor 13 Fixing machine 14 Paper discharge sensor 15 Arrangement Tray 16 CPU
17 External interface 18 RAM
19 ROM
20 Image processing unit 21 RAM
22 ROM
23 Frame memory 24 Video interface 25 Engine controller part (engine part)
25a Engine controller 26 Video controller part (controller part)
30 CPU
31 RAM
32 flash ROM

Claims (5)

制御側と被制御側とを接続するインターフェース装置であって、
前記制御側と前記被制御側との間には、前記制御側から同期信号を送信する同期信号送信手段と、前記同期信号に同期したデータ信号を送受信するシリアルデータ送受信手段を有し、
前記制御側は、前記被制御側に対して所定の処理を指示する指示手段を備え、
前記被制御側は、前記制御側からの前記所定の処理を実行する処理実行手段を備え、
前記被制御側は、書き換え可能なメモリを有し、前記書き換え可能なメモリに、制御プログラムコードデータを格納する構成を有し、
前記シリアルデータ送受信手段により、前記制御側から前記被制御側に前記被制御側の制御プログラムコードデータを送信して、制御プログラムコードデータの書き換えを行う、制御プログラムコードデータ書き換え手段を有し、
前記制御プログラムコードデータ書き換え手段により制御プログラムコードデータの書き換えを実行する場合のシリアル送受信データ形式は、前記制御プログラムコードデータ書き換えを実行する場合以外の送受信データとは、データ形式が異なる手段でデータの送受信を行う手段を備えることを特徴とするインターフェース装置。
An interface device for connecting a control side and a controlled side,
Between the control side and the controlled side, there is a synchronization signal transmission means for transmitting a synchronization signal from the control side, and a serial data transmission / reception means for transmitting and receiving a data signal synchronized with the synchronization signal,
The control side includes instruction means for instructing the controlled side to perform predetermined processing,
The controlled side includes processing execution means for executing the predetermined processing from the controlling side,
The controlled side has a rewritable memory, and has a configuration for storing control program code data in the rewritable memory,
The control program code data rewriting means for rewriting the control program code data by transmitting the control program code data of the controlled side from the control side to the controlled side by the serial data transmitting / receiving means,
The serial transmission / reception data format when the control program code data rewrite is executed by the control program code data rewrite means is different from the transmission / reception data except when the control program code data rewrite is executed by means of a data format different from that of the transmission / reception data. An interface device comprising means for performing transmission / reception.
前記構成のインターフェース装置において、前記シリアル送受信データ形式は、16ビットを1データの単位とし、制御プログラムコードの書き換えを実行する場合には、16ビット全部をデータ領域として定義し、制御プログラムコードの書き換えを実行する場合以外は、15ビットのデータに1ビットのパリティビットを付加した形式の送受信データとして処理を行う手段を備えることを特徴とする請求項1記載のインターフェース装置。   In the interface device having the above-described configuration, the serial transmission / reception data format has 16 bits as one data unit, and when rewriting the control program code, all 16 bits are defined as a data area, and the control program code is rewritten. 2. The interface apparatus according to claim 1, further comprising means for performing processing as transmission / reception data in a format in which 1-bit parity bit is added to 15-bit data, except when executing the above. 前記構成のインターフェース装置において、前記シリアル送受信データは、16ビットを1データの単位とし、制御プログラムコードの書き換えを実行する場合には、16ビット全部をデータ領域として定義し、あらかじめ決められた複数のデータを送受信した時点で、送受信された複数のデータの整合性を確認するデータを1データ送受信し、送受信データの整合性確認処理を行う手段とを備えることを特徴とする請求項1記載のインターフェース装置。   In the interface device having the above-described configuration, the serial transmission / reception data has 16 bits as one data unit, and when rewriting the control program code, all 16 bits are defined as a data area, and a plurality of predetermined data 2. The interface according to claim 1, further comprising means for transmitting / receiving one piece of data for confirming the consistency of a plurality of transmitted / received data at the time of transmitting / receiving the data, and performing a consistency confirmation process for the transmitted / received data. apparatus. 前記構成のインターフェース装置において、制御プログラムコードの書き換えを実行する場合に、16ビット全部をデータ領域として定義する送受信データは、前記被制御側の制御プログラムコードのアドレス情報および制御プログラムコードデータであることを特徴とする請求項1記載のインターフェース装置。   In the interface device configured as described above, when rewriting the control program code, transmission / reception data defining all 16 bits as a data area is address information and control program code data of the control program code on the controlled side The interface device according to claim 1. 前記構成のインターフェース装置により、画像信号を生成するビデオコントローラ部と該ビデオコントローラ部により生成された画像信号を印刷出力するエンジン部とを接続してなることを特徴とする画像形成装置。   An image forming apparatus comprising: a video controller unit that generates an image signal and an engine unit that prints and outputs the image signal generated by the video controller unit by the interface device configured as described above.
JP2003319806A 2003-09-11 2003-09-11 Interface device and image forming apparatus using it Withdrawn JP2005085220A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2003319806A JP2005085220A (en) 2003-09-11 2003-09-11 Interface device and image forming apparatus using it

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2003319806A JP2005085220A (en) 2003-09-11 2003-09-11 Interface device and image forming apparatus using it

Publications (1)

Publication Number Publication Date
JP2005085220A true JP2005085220A (en) 2005-03-31

Family

ID=34418649

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2003319806A Withdrawn JP2005085220A (en) 2003-09-11 2003-09-11 Interface device and image forming apparatus using it

Country Status (1)

Country Link
JP (1) JP2005085220A (en)

Similar Documents

Publication Publication Date Title
US20110037990A1 (en) Image forming apparatus and method for controlling image forming apparatus
JP2007174215A (en) External controller, and remote operation system and method
JP4891273B2 (en) Image forming apparatus and control method thereof
JP5450980B2 (en) Image forming apparatus, control method thereof, program thereof, and storage medium
JP4942205B2 (en) Image forming apparatus, image forming apparatus control method, and program
US20040258428A1 (en) Printing apparatus comprising series-models supporting firmware and series-models supporting method
JP2005085220A (en) Interface device and image forming apparatus using it
EP2141906A2 (en) Image processing apparatus and method for controlling the same
US20040160639A1 (en) Data transfer method
JP3765806B2 (en) Image forming apparatus
JP2001022690A (en) Method and system for data communication between devices
JP2008262439A (en) Information processor, print document adjustment processing program and storage medium
US7450143B2 (en) Electro-photographic image forming device capable of controlling print speed and control method thereof
JP4007371B2 (en) Printing paper supply / discharge control method and printing system
JP5151328B2 (en) Image forming apparatus, image transfer method, program, and recording medium
JP4095296B2 (en) Printing apparatus and printing control method therefor
JP2006195888A (en) Print system
JP2005262655A (en) Printing head driving device, and printing head driving method
KR100491604B1 (en) Image forming device capable for driving with single processor
JP2006174247A (en) Image input/output device, image processing method, computer-readable storage medium with program stored thereon and the program
JP2006285756A (en) Image forming system
JP2006244132A (en) Printing system
JP2009085995A (en) Printer controller
US6256106B1 (en) Two-way image processing system and image forming apparatus in such a system
JP3377292B2 (en) Printing device

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: 20061205