JP2011005674A - Image forming apparatus, memory control circuit, and memory circuit - Google Patents

Image forming apparatus, memory control circuit, and memory circuit Download PDF

Info

Publication number
JP2011005674A
JP2011005674A JP2009149278A JP2009149278A JP2011005674A JP 2011005674 A JP2011005674 A JP 2011005674A JP 2009149278 A JP2009149278 A JP 2009149278A JP 2009149278 A JP2009149278 A JP 2009149278A JP 2011005674 A JP2011005674 A JP 2011005674A
Authority
JP
Japan
Prior art keywords
memory
data
check
image
image processing
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
JP2009149278A
Other languages
Japanese (ja)
Inventor
Hiroki Kinoshita
浩樹 木下
Seiichi Yoshida
誠一 吉田
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.)
Sharp Corp
Original Assignee
Sharp Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sharp Corp filed Critical Sharp Corp
Priority to JP2009149278A priority Critical patent/JP2011005674A/en
Publication of JP2011005674A publication Critical patent/JP2011005674A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide an image forming apparatus which can reduce a circuit scale and can shorten a processing time.SOLUTION: The digital composite machine includes: a memory 40 which includes both a system region 402 that stores various data used for execution of a control system and an image processing region 404 that stores image data for performing image processing; an image processing part 300 for performing image processing to the image data stored in the image processing region 404 after a power supply of the apparatus is turned on; a memory controller 200 as a memory control circuit which automatically performs memory check of checking whether or not the memory 40 operates normally at the time when the power supply of the apparatus is turned on and which automatically deletes the image data stored in the image processing region 404 after image processing ends; and a CPU 100 which controls operations of the image processing part 300 and the memory controller 200.

Description

本発明は、画像形成装置、メモリ制御回路、及び、メモリ回路に関し、特に、回路規模の縮小及び処理時間の短縮を達成するための技術に関する。   The present invention relates to an image forming apparatus, a memory control circuit, and a memory circuit, and more particularly to a technique for achieving a reduction in circuit scale and a reduction in processing time.

デジタル複合機は、制御システム及び画像処理等を実行するための各種データを記憶するDDR(Double Data Rate)メモリ等のメモリを備える。このようなデジタル複合機では、電源投入時に、メモリが正常に動作するか否かを確認するメモリチェックを初期化処理として行なう。このようなメモリチェックがCPU(Central Processing Unit)によってソフトウェア的に実施される場合、CPUの占有時間が長くなり、初期化に要する時間が長くなるおそれがある。さらに、回路基板に対するメモリの半田付け不良等による接触不良及びメモリモジュール自体の不良等の、ソフトウェア自体が起動できなくなる不良がある場合には、メモリチェックができず、不良基板の解析ができなくなるおそれがある。   The digital multi-function peripheral includes a memory such as a DDR (Double Data Rate) memory that stores various data for executing a control system and image processing. In such a digital multi-function peripheral, when power is turned on, a memory check for confirming whether or not the memory operates normally is performed as an initialization process. When such a memory check is executed by software by a CPU (Central Processing Unit), the time occupied by the CPU becomes long and the time required for initialization may be long. In addition, if there is a failure that prevents the software itself from starting, such as a contact failure due to a soldering failure of the memory to the circuit board and a failure of the memory module itself, the memory check cannot be performed and the failure board cannot be analyzed. There is.

このような問題を解決するために、後掲の特許文献1には、メモリチェックをCPUによらずハードウェア的に行なう自己テスト回路について開示されている。   In order to solve such a problem, Patent Document 1 described later discloses a self-test circuit that performs a memory check by hardware without using a CPU.

特開2003−59293号公報JP 2003-59293 A

特許文献1に開示される技術では、電源の投入時のみに使用される自己テスト回路が設けられるので、回路規模が無駄に大きくなるおそれがある。また、メモリチェックに要する処理時間を短縮できるものの、画像処理等の他の処理の処理時間を短縮することはできない。   In the technique disclosed in Patent Document 1, since a self-test circuit that is used only when the power is turned on is provided, there is a possibility that the circuit scale is unnecessarily large. In addition, although the processing time required for the memory check can be shortened, the processing time of other processing such as image processing cannot be shortened.

本発明の目的は、回路規模の縮小及び処理時間の短縮を達成可能な画像形成装置、メモリ制御回路、及び、メモリ回路を提供することである。   An object of the present invention is to provide an image forming apparatus, a memory control circuit, and a memory circuit that can achieve a reduction in circuit scale and a reduction in processing time.

本発明の第1の局面に係る画像形成装置は、画像処理を行なうための画像データを記憶する画像処理領域を含むメモリと、装置の電源投入後に、画像処理領域に記憶される画像データに対し、画像処理を行なうための画像処理部と、装置の電源投入時に、メモリが正常に動作するか否かを確認するメモリチェックを自動的に行なうとともに、画像処理終了後に、画像処理領域に記憶される画像データを自動的に消去するメモリ制御回路と、画像処理部及びメモリ制御回路の動作を制御する制御手段と、を含む。このように、画像形成装置は、メモリチェックと画像データの消去とを同一の回路を使用して行なうので、回路基板に搭載する回路規模を縮小することができる。したがって、装置の小型化を達成できる。また、メモリチェック及び画像データの消去をハードウェア的に行なうので、ソフトウェア的に行なう場合と比較して制御手段の占有時間を短縮でき、各処理に要する時間を短縮できる。   An image forming apparatus according to a first aspect of the present invention includes a memory including an image processing area for storing image data for performing image processing, and image data stored in the image processing area after the apparatus is turned on. An image processing unit for performing image processing and a memory check for confirming whether the memory operates normally when the apparatus is turned on are automatically performed and stored in the image processing area after the image processing is completed. A memory control circuit for automatically erasing the image data, and a control means for controlling operations of the image processing unit and the memory control circuit. As described above, since the image forming apparatus performs the memory check and the erasure of the image data using the same circuit, the circuit scale mounted on the circuit board can be reduced. Accordingly, it is possible to reduce the size of the apparatus. Further, since the memory check and the erasure of the image data are performed by hardware, the occupation time of the control means can be shortened and the time required for each process can be shortened as compared with the case where it is performed by software.

好ましくは、メモリ制御回路は、ライトデータを生成するデータ生成手段と、メモリに対し、ライトデータを書込む書込手段と、メモリに書込まれたライトデータをリードデータとして読出す読出手段と、ライトデータとリードデータとを比較して、両者が一致するか否かを判定することで、メモリチェックを行なう比較手段と、を含み、書込手段は、ライトデータを画像処理領域に上書きすることで、画像処理領域に記憶される画像データを消去する。このように、メモリ制御回路は、同一のデータ生成手段によって生成されたライトデータを使用して、メモリチェックと画像データの消去とを行なうので、より一層効率良く各処理を行なうことができる。   Preferably, the memory control circuit includes data generation means for generating write data, writing means for writing the write data to the memory, reading means for reading the write data written in the memory as read data, Comparing means for performing a memory check by comparing the write data with the read data and determining whether or not they match, and the writing means overwrites the image processing area with the write data. Thus, the image data stored in the image processing area is erased. As described above, the memory control circuit uses the write data generated by the same data generation means to perform the memory check and the image data erasure, so that each process can be performed more efficiently.

より好ましくは、データ生成手段は、装置の電源投入時に、乱数データ、固定データ、及び、巡回データからなるグループからいずれかのパターンを選択し、選択したパターンに基づいてライトデータを生成する。このように、データ生成手段は、メモリチェックに使用するライトデータのパターンを、例えば、所望されるメモリチェックのレベル等に応じて選択して生成できるので、メモリチェックをより一層効果的に行なうことができる。   More preferably, when the apparatus is powered on, the data generation means selects any pattern from the group consisting of random number data, fixed data, and cyclic data, and generates write data based on the selected pattern. As described above, the data generation means can select and generate the write data pattern used for the memory check in accordance with, for example, a desired level of the memory check, so that the memory check can be performed more effectively. Can do.

さらに好ましくは、データ生成手段は、装置の電源投入時に、8ビット幅を示すBYTE、32ビット幅を示すWORD、64ビット幅を示すDOUBLE WORD、及び、128ビット幅を示すQWDからなるグループからいずれかのデータ幅を選択し、選択したデータ幅に基づいて、ライトデータを生成する。このように、データ生成手段は、メモリチェックに使用するライトデータのデータ幅を、例えば、メモリチェックを行なうアドレス範囲等に応じて選択して生成できるので、メモリチェックをより一層効率良く行なうことができる。   More preferably, when the device is powered on, the data generating means is any of a group consisting of BYTE indicating 8-bit width, WORD indicating 32-bit width, DOUBLE WORD indicating 64-bit width, and QWD indicating 128-bit width. The data width is selected, and write data is generated based on the selected data width. In this way, the data generation means can select and generate the data width of the write data used for the memory check according to, for example, the address range where the memory check is performed, so that the memory check can be performed more efficiently. it can.

さらに好ましくは、書込手段は、ライトデータを書込むアドレス範囲を選択し、メモリにおける、選択したアドレス範囲に対し、ライトデータを書込む。このように、書込み手段は、ライトデータを書き込むアドレス範囲を選択して書込むことができるので、所望のアドレス範囲に対し、メモリチェック等の処理を行なうことができる。したがって、より効率良くメモリチェック及びデータの消去を行なうことができる。   More preferably, the writing means selects an address range in which the write data is written, and writes the write data in the selected address range in the memory. As described above, the writing means can select and write the address range in which the write data is written, so that a process such as a memory check can be performed on the desired address range. Therefore, the memory check and data erasure can be performed more efficiently.

さらに好ましくは、画像形成装置は、メモリ制御回路と接続され、メモリ制御回路の動作を制御する信号を受ける入力端子、をさらに含む。このように、画像形成装置は、メモリ制御回路の動作制御をソフトウェア的に実行する制御手段と、ハードウェア的に実行する入力端子とを含むので、装置の状況に応じていずれかの方法を選択できる。したがって、より一層効率良くメモリチェックを行なうことができる。   More preferably, the image forming apparatus further includes an input terminal connected to the memory control circuit and receiving a signal for controlling the operation of the memory control circuit. As described above, since the image forming apparatus includes a control unit that executes operation control of the memory control circuit in software and an input terminal that executes in hardware, one of the methods is selected according to the state of the apparatus. it can. Therefore, the memory check can be performed more efficiently.

さらに好ましくは、画像形成装置は、入力端子と接続される外部制御手段をさらに含み、外部制御手段は、入力端子の動作を制御するとともに、メモリチェックの終了後、制御手段を起動する。このように、制御手段の起動前に、外部制御手段の制御によってメモリチェックを実行し、メモリチェック終了後に、起動に時間を要する制御手段を起動するので、メモリチェックに要する時間をより一層短縮することができる。   More preferably, the image forming apparatus further includes an external control unit connected to the input terminal. The external control unit controls the operation of the input terminal and activates the control unit after the memory check is completed. In this way, the memory check is executed under the control of the external control means before the control means is started, and the control means that takes time to start up is started after the memory check is completed, thereby further reducing the time required for the memory check. be able to.

さらに好ましくは、画像形成装置は、各部に対する電力の供給状態を通常モード又は省エネモードに設定する電源制御手段と、省エネモードから通常モードへの復帰時に、メモリチェックを行なうようにメモリ制御回路を制御する手段と、をさらに含む。これによって、省エネルギーモード(以下「省エネモード」と記す。)から通常モードへの復帰時においても、メモリチェックを実行できるようになるので、ユーザの利便性がさらに向上する。   More preferably, the image forming apparatus controls the memory control circuit so as to perform a memory check when returning from the energy saving mode to the normal mode, and a power supply control unit that sets a power supply state to each unit to the normal mode or the energy saving mode. And means for performing. As a result, the memory check can be executed even when returning from the energy saving mode (hereinafter referred to as “energy saving mode”) to the normal mode, which further improves user convenience.

本発明の第2の局面に係るメモリ制御回路は、所定の処理を行なうためのデータを記憶する処理領域を含むメモリを含む装置に設けられ、装置の電源投入時に、メモリが正常に動作するか否かを確認するメモリチェックを自動的に行なうとともに、所定の処理終了後に、処理領域に記憶されるデータを自動的に消去する。これによって、メモリチェックとデータの消去とを同一の回路を使用して行なうので、回路基板に搭載する回路規模を縮小することができる。したがって、装置の小型化を達成できる。また、メモリチェック及びデータの消去をハードウェア的に行なうので、ソフトウェア的に行なう場合と比較してメモリ制御回路の動作制御を行なう制御手段の占有時間を短縮でき、各処理に要する時間を短縮できる。   A memory control circuit according to a second aspect of the present invention is provided in a device including a memory including a processing area for storing data for performing predetermined processing, and whether the memory operates normally when the device is turned on. A memory check for confirming whether or not is performed is automatically performed, and data stored in the processing area is automatically deleted after a predetermined process is completed. As a result, the memory check and the data erasure are performed using the same circuit, so that the circuit scale mounted on the circuit board can be reduced. Accordingly, it is possible to reduce the size of the apparatus. In addition, since the memory check and data erasure are performed by hardware, the occupation time of the control means for controlling the operation of the memory control circuit can be shortened and the time required for each process can be shortened as compared with the case where it is performed by software. .

本発明の第3の局面に係るメモリ回路は、所定の処理を行なうためのデータを記憶する処理領域を含むメモリと、メモリを備える装置の電源投入時に、メモリが正常に動作するか否かを確認するメモリチェックを自動的に行なうとともに、所定の処理終了後に、処理領域に記憶されるデータを自動的に消去するメモリ制御回路と、を含む。これによって、メモリチェックとデータの消去とを同一の回路を使用して行なうので、回路基板に搭載する回路規模を縮小することができる。したがって、装置の小型化を達成できる。また、メモリチェック及びデータの消去をハードウェア的に行なうので、ソフトウェア的に行なう場合と比較してメモリ制御回路の動作制御を行なう制御手段の占有時間を短縮でき、各処理に要する時間を短縮できる。   A memory circuit according to a third aspect of the present invention includes a memory including a processing area for storing data for performing predetermined processing, and whether or not the memory operates normally when a device including the memory is turned on. A memory control circuit that automatically performs a memory check to be confirmed and automatically erases data stored in the processing area after completion of a predetermined process. As a result, the memory check and the data erasure are performed using the same circuit, so that the circuit scale mounted on the circuit board can be reduced. Accordingly, it is possible to reduce the size of the apparatus. In addition, since the memory check and data erasure are performed by hardware, the occupation time of the control means for controlling the operation of the memory control circuit can be shortened and the time required for each process can be shortened as compared with the case where it is performed by software. .

本発明によれば、画像形成装置は、メモリチェックと画像データの消去とを同一の回路を使用して行なうので、回路基板に搭載する回路規模を縮小することができる。したがって、装置の小型化を達成できる。また、メモリチェック及び画像データの消去をハードウェア的に行なうので、ソフトウェア的に行なう場合と比較して制御手段の占有時間を短縮でき、各処理に要する時間を短縮できる。   According to the present invention, the image forming apparatus performs the memory check and the erasure of the image data by using the same circuit, so that the circuit scale mounted on the circuit board can be reduced. Accordingly, it is possible to reduce the size of the apparatus. Further, since the memory check and the erasure of the image data are performed by hardware, the occupation time of the control means can be shortened and the time required for each process can be shortened as compared with the case where it is performed by software.

複合機コントロール基板の構成を示すブロック図である。2 is a block diagram illustrating a configuration of a multifunction machine control board. FIG. CPUによって実行される、全メモリチェック処理を実現するためのプログラムの制御構造をフローチャート形式で示す図である。It is a figure which shows the control structure of the program for implement | achieving all the memory check processes performed by CPU in the format of a flowchart. 設定レジスタのレジスタマップを示す表である。It is a table | surface which shows the register map of a setting register. メモリコントローラの構成及びその動作の流れを示すブロック図である。It is a block diagram which shows the structure of a memory controller, and the flow of its operation | movement. 全メモリチェック処理時におけるメモリコントローラの動作の流れを示すタイミングチャートである。It is a timing chart which shows the flow of operation of a memory controller at the time of all memory check processing. プリント処理時におけるメモリコントローラの動作の流れを示すタイミングチャートである。6 is a timing chart showing a flow of operation of the memory controller during print processing. 実施の形態の変形例に係る複合機コントロール基板の構成を示すブロック図である。It is a block diagram which shows the structure of the multifunctional device control board which concerns on the modification of embodiment.

以下の説明及び図面においては、同一の部品には同一の参照符号及び名称を付してある。それらの機能も同様である。したがって、それらについての詳細な説明は繰返さない。なお、以下の説明では、各信号及び端子の状態について、アクティブの状態を「H(Highの頭文字)」で示し、非アクティブの状態を「L(Lowの頭文字)」で示す。   In the following description and drawings, the same reference numerals and names are assigned to the same components. Their functions are also the same. Therefore, detailed description thereof will not be repeated. In the following description, for each signal and terminal state, the active state is indicated by “H (acronym for high)” and the inactive state is indicated by “L (acronym for low)”.

本実施の形態に係るデジタル複合機は、後述する複合機コントロール基板、原稿画像を読取るスキャナ部、画像データに基づいて画像を形成するプリンタ部、及び、液晶ディスプレイとタッチパネルとを重ねて構成される操作パネル等を含む。デジタル複合機は、上述した各部を動作させることによって、ユーザの入力操作による操作パネルからの指示に応じて、原稿画像を読取り記録用紙に画像を印刷するプリント処理、及び、原稿画像を読取り外部装置に画像データを送信するファクシミリ処理等を行なう。   The digital multi-function peripheral according to the present embodiment is configured by superposing a multi-function peripheral control board (to be described later), a scanner section for reading a document image, a printer section for forming an image based on image data, and a liquid crystal display and a touch panel. Including operation panel. The digital multi-function peripheral operates the above-described units to print a document image and print an image on a recording sheet according to an instruction from an operation panel by a user input operation, and an external device that reads the document image and reads the document image Facsimile processing for transmitting image data to the camera.

図1は、複合機コントロール基板10の構成を示すブロック図である。図1を参照して、複合機コントロール基板10は、ASIC(Application Specific Integrated Circuit)20、ROM(Read−Only Memory)30、メモリ40、HDD(Hard Disk Drive)70とのインターフェイスをとるSATA(Serial Advanced Technology Attachment)50、及び、SOC(System On a Chip)60を搭載する。   FIG. 1 is a block diagram showing a configuration of the multifunction machine control board 10. Referring to FIG. 1, an MFP control board 10 has an ASIC (Application Specific Integrated Circuit) 20, a ROM (Read-Only Memory) 30, a memory 40, and an HDD (Hard Disk Drive) 70 as an SATA (Serial Drive). An Advanced Technology Attachment (SOC) 50 and an SOC (System On a Chip) 60 are mounted.

ASIC20は、デジタル複合機全体の動作を制御する制御システムを実行する。ASIC20は、CPU100、メモリコントローラ200、及び、複数の画像処理部300を含む。以下の説明及び図面において、個々の画像処理部300を区別する場合には、アルファベットを参照符号の末尾に付し、総称する場合は参照符号のみで表わす。また、図1には画像処理部300を2つのみ図示するが、実際には多数存在する。   The ASIC 20 executes a control system that controls the operation of the entire digital multi-function peripheral. The ASIC 20 includes a CPU 100, a memory controller 200, and a plurality of image processing units 300. In the following description and drawings, when distinguishing individual image processing units 300, alphabets are added to the end of the reference numerals, and when referring collectively, only the reference numerals are used. Further, only two image processing units 300 are illustrated in FIG.

CPU100には、BUSライン(図示せず。)が接続されており、このBUSラインには、ROM30、SATA50、メモリコントローラ200、及び、画像処理部300が電気的に接続される。CPU100は、操作パネル(図示せず。)等からの指示に応じて各種コンピュータプログラムを実行してデジタル複合機の各部の動作を制御することで、例えば、画像処理部300に対する命令、メモリコントローラ200へのアクセス、及び、HDD70からメモリ40へのデータ転送等の所望の処理を実行する。上記の各種コンピュータプログラムは、予めROM30又はHDD70に記憶されており、所望の処理の実行時において、当該ROM30又はHDD70から読出されてメモリ40に転送される。CPU100は、CPU100内のプログラムカウンタ(図示せず。)と呼ばれるレジスタに格納された値によって指定される、メモリ40内のアドレスからプログラムの命令を読出し、解釈する。CPU100はまた、読出された命令によって指定されるアドレスから演算に必要なデータを読出し、そのデータに対し命令に対応する演算を実行する。実行の結果も、メモリ40、HDD70及びCPU100内のレジスタ等の、命令によって指定されるアドレスに格納される。   A BUS line (not shown) is connected to the CPU 100, and the ROM 30, the SATA 50, the memory controller 200, and the image processing unit 300 are electrically connected to the BUS line. The CPU 100 executes various computer programs in accordance with instructions from an operation panel (not shown) or the like to control the operation of each unit of the digital multi-function peripheral, for example, commands to the image processing unit 300, the memory controller 200, and the like. And a desired process such as data transfer from the HDD 70 to the memory 40 is executed. The various computer programs are stored in advance in the ROM 30 or the HDD 70, and are read from the ROM 30 or the HDD 70 and transferred to the memory 40 when a desired process is executed. The CPU 100 reads and interprets a program instruction from an address in the memory 40 specified by a value stored in a register called a program counter (not shown) in the CPU 100. CPU 100 also reads data necessary for the operation from the address specified by the read instruction, and executes an operation corresponding to the instruction on the data. The execution result is also stored at an address specified by the instruction, such as a register in the memory 40, the HDD 70, and the CPU 100.

ROM30は、デジタル複合機の一般的な動作を実現するためのコンピュータプログラムとともに、後述する全メモリチェック処理を実現するためのコンピュータプログラムを記憶する。HDD70は、各種コンピュータプログラムとともに、画像データ等を含む各種データを記憶する。   The ROM 30 stores a computer program for realizing a general operation of the digital multi-function peripheral and a computer program for realizing all memory check processing described later. The HDD 70 stores various data including image data together with various computer programs.

メモリコントローラ200は、メモリ40に対してアクセスを行ない、メモリ40に対するライトデータの書込み及びリードデータの読出し等を行なう回路である。メモリコントローラ200は、CPU100及びメモリ40と、BUSライン(図示せず。)を介して電気的に接続されるとともに、メモリチェックスタート端子及びチェックモード端子と電気的に接続される。メモリコントローラ200は、デジタル複合機の電源投入時に、対象のメモリの全てのアドレス範囲に対してメモリチェックを自動的に行なう全メモリチェック機能を有する。メモリチェックの結果は、全メモリチェック完了信号等の信号によって、CPU100又はSOC60に対して通知される。メモリコントローラ200はさらに、画像処理部300による画像処理終了後に、メモリ40の画像処理領域404に記憶される画像データを自動的に消去する画像領域データ消去機能を有する。メモリコントローラ200の詳細な構成については後述する。   The memory controller 200 is a circuit that accesses the memory 40, writes write data to the memory 40, reads read data, and the like. The memory controller 200 is electrically connected to the CPU 100 and the memory 40 via a BUS line (not shown), and is electrically connected to a memory check start terminal and a check mode terminal. The memory controller 200 has an all memory check function that automatically performs a memory check for all address ranges of the target memory when the digital multifunction peripheral is turned on. The result of the memory check is notified to the CPU 100 or the SOC 60 by a signal such as an all memory check completion signal. The memory controller 200 further has an image area data erasing function for automatically erasing image data stored in the image processing area 404 of the memory 40 after the image processing by the image processing unit 300 is completed. A detailed configuration of the memory controller 200 will be described later.

画像処理部300は、MPU(図示せず。)を含む。画像処理部300は、メモリ40の画像処理領域404に記憶される画像データに対して、例えば、JBIG(Joint Bi−level Image Experts Group)圧縮処理、JPEG(Joint Photographic Experts Group)圧縮処理、画像回転処理、及び、変倍処理等の所定の画像処理を施して、所定の階調の出力画像データを生成する。そして、生成した出力画像データを、出力画像データに基づく画像形成を行なうプリンタ部(図示せず。)に対して出力する。   The image processing unit 300 includes an MPU (not shown). The image processing unit 300 performs, for example, JBIG (Joint Bi-level Image Experts Group) compression processing, JPEG (Joint Photographic Experts Group) compression processing, image rotation on the image data stored in the image processing area 404 of the memory 40. Predetermined image processing such as processing and scaling processing is performed to generate output image data of a predetermined gradation. The generated output image data is output to a printer unit (not shown) that performs image formation based on the output image data.

メモリ40は、DDRメモリ等からなるメモリである。メモリ40は、制御システムの実行に使用される各種データを記憶するシステム領域402、及び、画像処理を行なうための画像データを記憶する画像処理領域404を提供する。メモリ40は、デジタル複合機の電源投入時に行なわれる全メモリチェック処理の対象となるメモリである。   The memory 40 is a memory composed of a DDR memory or the like. The memory 40 provides a system area 402 for storing various data used for execution of the control system, and an image processing area 404 for storing image data for performing image processing. The memory 40 is a memory that is a target of all memory check processing performed when the power of the digital multi-function peripheral is turned on.

SOC60は、ASIC20外部からメモリコントローラ200の制御を行なう。SOC60は、メモリチェックスタート端子及びチェックモード端子を介してメモリコントローラ200と電気的に接続される。SOC60は、デジタル複合機の電源投入時であって、CPU100が起動していない場合(例えば、CPU100が省エネモードで待機している場合等)には、図3を参照して後述するモード設定レジスタのビット[1:0](レジスタのビット1からビット0までの範囲を示す。以下同じ。)に設定される値に従って、所望の値をチェックモード端子に入力するとともに、メモリチェックスタート端子を「H」に設定する。これを受けて、メモリコントローラ200は、チェックモード端子から入力される値に従って、例えば、全メモリチェック処理を実行するとともに、全メモリチェック処理完了後に、「H」に設定した全メモリチェック完了信号をSOC60に対して出力する。「H」に設定された全メモリチェック完了信号が入力されると、SOC60は、電気的に接続されるCPU100に対してリセット信号を出力する。リセット信号が入力されると、CPU100は、リセットされて起動する。   The SOC 60 controls the memory controller 200 from the outside of the ASIC 20. The SOC 60 is electrically connected to the memory controller 200 via a memory check start terminal and a check mode terminal. The SOC 60 is a mode setting register to be described later with reference to FIG. 3 when the power of the digital multi-function peripheral is turned on and the CPU 100 is not activated (for example, when the CPU 100 is waiting in the energy saving mode). In accordance with the value set in bits [1: 0] (indicating the range from bit 1 to bit 0 of the register; the same applies hereinafter), a desired value is input to the check mode terminal and the memory check start terminal is set to “ Set to “H”. In response to this, the memory controller 200 executes, for example, all memory check processing in accordance with the value input from the check mode terminal, and after the completion of all memory check processing, outputs the all memory check completion signal set to “H”. Output to the SOC 60. When an all memory check completion signal set to “H” is input, the SOC 60 outputs a reset signal to the electrically connected CPU 100. When the reset signal is input, the CPU 100 is reset and activated.

〈ソフトウェア構成〉
(全メモリチェック処理)
図2は、CPU100によって実行される、全メモリチェック処理を実現するためのプログラムの制御構造をフローチャート形式で示す図である。上記したように、ROM30に記憶されるコンピュータプログラムは、全メモリチェック処理を実行するようにプログラミングされている。CPU100によって実行される、全メモリチェック処理を実現するためのプログラムは、デジタル複合機の電源が投入されることによって起動される。
<Software configuration>
(All memory check processing)
FIG. 2 is a flowchart showing a control structure of a program for realizing the all memory check process executed by the CPU 100. As described above, the computer program stored in the ROM 30 is programmed to execute the entire memory check process. A program for executing the all-memory check process executed by the CPU 100 is activated when the power of the digital multi-function peripheral is turned on.

図2を参照して、このプログラムは、全メモリチェック処理及び画像領域データ消去処理の実行トリガとなる自動チェック開始信号を「H」に設定するステップS101と、全メモリチェック完了信号が「H」に設定されるまで待機するステップS102と、ステップS102において、全メモリチェック完了信号が「H」に設定されたと判定された場合(YESの場合)に実行され、入力されたメモリチェックNG信号が「H」に設定されているか否かを判定するステップS103と、を含む。ステップS103において、メモリチェックNG信号が「H」に設定されていないと判定された場合(NOの場合)、すなわち、メモリエラーが発生していない場合には、本プログラムは終了する。   Referring to FIG. 2, in this program, step S101 for setting an automatic check start signal as an execution trigger for all memory check processing and image area data erasing processing to “H” and all memory check completion signal “H” are set. In step S102 that waits until it is set to, and in step S102, when it is determined that all memory check completion signals are set to “H” (in the case of YES), the input memory check NG signal is “ Step S103 for determining whether or not “H” is set. If it is determined in step S103 that the memory check NG signal is not set to “H” (NO), that is, if a memory error has not occurred, the program ends.

このプログラムはさらに、ステップS103において、メモリチェックNG信号が「H」に設定されていると判定された場合(YESの場合)、すなわち、メモリエラーが発生した場合に実行され、操作パネル(図示せず。)に対してメモリエラーが発生した旨のエラーメッセージを表示することで、エラー処理を実行するステップS104を含む。   This program is further executed in step S103 when it is determined that the memory check NG signal is set to “H” (in the case of YES), that is, when a memory error occurs, and an operation panel (not shown) is executed. In step S104, an error message indicating that a memory error has occurred is displayed.

ここで、メモリコントローラ200内の後述するレジスタ部205(図4参照)に含まれる、設定レジスタについて説明する。図3は、設定レジスタのレジスタマップを示す表である。図3を参照して、設定レジスタは、自動チェック開始設定レジスタ、モード設定レジスタ、書込みパターン設定レジスタ、メモリ領域スタートアドレスレジスタ、メモリ領域エンドアドレスレジスタ、及び、データ幅設定レジスタ、を含む。   Here, a setting register included in a later-described register unit 205 (see FIG. 4) in the memory controller 200 will be described. FIG. 3 is a table showing a register map of the setting register. Referring to FIG. 3, the setting register includes an automatic check start setting register, a mode setting register, a write pattern setting register, a memory area start address register, a memory area end address register, and a data width setting register.

自動チェック開始設定レジスタのアドレスは「00000000H」であり、そのビット[0]の値は自動チェック開始信号である。すなわち、このビットの値が「0」であれば自動チェック開始信号は「L」であり、「1」であれば自動チェック開始信号は「H」である。   The address of the automatic check start setting register is “00000000H”, and the value of bit [0] is an automatic check start signal. That is, if the value of this bit is “0”, the automatic check start signal is “L”, and if it is “1”, the automatic check start signal is “H”.

モード設定レジスタはアドレス「00000004H」であり、メモリコントローラ200の動作を設定する。モード設定レジスタのビット[1:0]の値が「00」であれば、CPU100又は画像処理部300からの通常のメモリアクセスを制御する通常メモリアクセスモードであり、「01」であれば、CPU100による制御システム起動前に全メモリチェック処理を行ない、制御システム起動後に画像領域データ消去処理を自動で行なうようにメモリコントローラ200を制御する自動設定モードであり、「10」であれば、メモリコントローラ200の起動後に、メモリ領域スタートアドレスレジスタ及びメモリ領域エンドアドレスレジスタによって指定されるアドレス範囲のメモリチェックを実行するようにメモリコントローラ200を制御するメモリチェックモードであり、「11」であれば、メモリ40の、メモリ領域スタートレジスタ及びメモリ領域エンドアドレスレジスタによって指定されるアドレス範囲にデータを書込むように、メモリコントローラ200を制御するメモリ書込みモードである。   The mode setting register has an address “00000004H” and sets the operation of the memory controller 200. If the value of bit [1: 0] of the mode setting register is “00”, it is a normal memory access mode for controlling normal memory access from the CPU 100 or the image processing unit 300. If it is “01”, the CPU 100 This is an automatic setting mode in which the memory controller 200 is controlled so that the entire memory check process is performed before the control system is activated and the image area data erasure process is automatically performed after the control system is activated. Is the memory check mode in which the memory controller 200 is controlled to execute the memory check in the address range specified by the memory area start address register and the memory area end address register. Memory area start register To write the data at the address range specified by the data and a memory area end address register, a memory write mode for controlling the memory controller 200.

書込みパターン設定レジスタはアドレス「00000008H」であり、全メモリチェック処理時に、メモリ40に書込むライトデータのパターンを規定する。パターン設定レジスタのビット[1:0]の値が「00」であれば、固定データをライトデータとして書込むことを指定する固定データ書込みモードであり、「01」であれば、ランダムデータをライトデータとして書込むことを指定する乱数モードであり、「10」であれば、巡回データをライトデータとして書込むことを指定する巡回データモードである。ここで、固定データとは、アドレス「0006」に予め記憶されるデータである。ランダムデータとは、ランダムな数値からなるデータである。巡回データとは、1,2,3,4…等の、規則的に繰返される所定の数値からなるデータである。   The write pattern setting register has an address “00000008H” and defines a pattern of write data to be written in the memory 40 at the time of all memory check processing. If the value of bit [1: 0] of the pattern setting register is “00”, this is a fixed data write mode that specifies that fixed data is written as write data. If “01”, random data is written. This is a random number mode for designating writing as data, and if it is “10”, it is a cyclic data mode for designating writing cyclic data as write data. Here, the fixed data is data stored in advance at the address “0006”. Random data is data consisting of random numerical values. The cyclic data is data composed of predetermined numerical values such as 1, 2, 3, 4,.

メモリ領域スタートアドレスレジスタはアドレス「0000000AH」であり、そのビット[31:0]はデータの書込み又は読出しを開始するアドレスを指定する。メモリ領域エンドアドレスレジスタはアドレス「0000000EH」であり、そのビット[31:0]はデータの書込み又は読出しを終了するアドレスを指定する。メモリ領域スタートアドレスレジスタ及びメモリ領域エンドアドレスレジスタによって、メモリチェック及びデータ消去を行なうアドレス範囲が設定される。   The memory area start address register has an address “0000000AH”, and its bits [31: 0] designate an address at which data writing or reading is started. The memory area end address register has an address “0000000EH”, and its bit [31: 0] designates an address at which data writing or reading ends. An address range for performing memory check and data erasure is set by the memory area start address register and the memory area end address register.

データ幅設定レジスタはアドレス「00000012H」であり、全メモリチェック処理及び画像領域データ消去処理時等において生成されるライトデータのデータ幅を規定する。すなわち、データ幅設定レジスタのビット[1:0]の値が「00」であれば、32ビット幅のライトデータの生成を指定するWORDアクセスモードであり、「01」であれば、8ビット幅のライトデータの生成を指定するBYTEアクセスモードであり、「10」であれば、64ビット幅のライトデータの生成を指定するDOUBLE WORDアクセスモードであり、「11」であれば、128ビット幅のライトデータの生成を指定するQWDアクセスモードである。   The data width setting register has an address “00000012H”, and defines the data width of the write data generated during all memory check processing and image area data erasing processing. That is, if the value of the bit [1: 0] of the data width setting register is “00”, it is a WORD access mode for designating generation of 32-bit width write data, and if it is “01”, it is an 8-bit width. This is a BYTE access mode that specifies the generation of write data, and if it is “10”, it is a DOUBLE WORD access mode that specifies the generation of 64-bit width write data. If it is “11”, it is a 128-bit width. This is a QWD access mode for designating generation of write data.

設定レジスタの値は、デジタル複合機の起動時等に予め設定される。また、SOC60によるメモリコントローラ200の制御時には、モード設定レジスタのビット[1:0]に対応する値が、チェックモード端子に入力される。   The value of the setting register is set in advance when the digital multi-function peripheral is started up. When the memory controller 200 is controlled by the SOC 60, a value corresponding to bits [1: 0] of the mode setting register is input to the check mode terminal.

図4は、メモリコントローラ200の構成及びその動作の流れを示すブロック図である。図4を参照して、メモリコントローラ200は、スタート信号生成部201、データ生成部202、メモリライト/リード部203、データ比較部204、及び、レジスタ部205を含む。   FIG. 4 is a block diagram showing the configuration of the memory controller 200 and the flow of its operation. Referring to FIG. 4, the memory controller 200 includes a start signal generation unit 201, a data generation unit 202, a memory write / read unit 203, a data comparison unit 204, and a register unit 205.

スタート信号生成部201は、通常は全メモリチェック処理の実行トリガとなる全メモリチェック開始信号を「L」レベルとしているが、自動チェック開始信号が「H」レベルに立ち上がったことに応答して、全メモリチェック開始信号を1クロックの間だけ「H」レベルに設定してデータ生成部202及びメモリライト/リード部203に対して出力する。スタート信号生成部201は、画像データ転送処理の実行トリガとなる画像処理開始信号を「H」又は「L」に設定してメモリライト/リード部203に対して出力する。スタート信号生成部201は、画像領域データ消去処理の実行トリガとなる画像領域データ消去開始信号を「H」又は「L」に設定してデータ生成部202及びメモリライト/リード部203に対して出力する。   The start signal generation unit 201 normally sets the all memory check start signal serving as an execution trigger for the all memory check processing to the “L” level, but in response to the automatic check start signal rising to the “H” level, All memory check start signals are set to the “H” level only for one clock and output to the data generation unit 202 and the memory write / read unit 203. The start signal generation unit 201 sets an image processing start signal serving as an execution trigger for image data transfer processing to “H” or “L” and outputs the signal to the memory write / read unit 203. The start signal generation unit 201 sets an image region data erasure start signal serving as an execution trigger for the image region data erasure processing to “H” or “L” and outputs the signal to the data generation unit 202 and the memory write / read unit 203. To do.

データ生成部202は、全メモリチェック開始信号が1クロック間「H」に設定されたことに応答して、書込みパターン設定レジスタ及びデータ幅設定レジスタにてそれぞれ設定されるパターン及びデータ幅に従って、乱数データ、固定データ、及び、巡回データのうちのいずれかのパターンのデータであって、BYTE、WORD、DOUBLEWORD及びQUADWORDのうちのいずれかのデータ幅を有する全メモリチェック用データをライトデータとして生成する。生成された全メモリチェック用データは、メモリライト/リード部203に対して出力されるとともに、メモリライト/リード部203が指示するタイミングに従って、データ比較部204に対して出力される。   In response to the all memory check start signal being set to “H” for one clock, the data generation unit 202 generates random numbers according to the patterns and data widths set in the write pattern setting register and the data width setting register, respectively. All memory check data having a data width of any one of BYTE, WORD, DOUBLEWORD, and QUADWORD are generated as write data, which is data in any pattern of data, fixed data, and cyclic data . The generated all memory check data is output to the memory write / read unit 203 and also output to the data comparison unit 204 in accordance with the timing instructed by the memory write / read unit 203.

データ生成部202は、また、画像領域データ消去開始信号が「H」から「L」に立ち下がったことに応答して、消去用データをライトデータとして生成する。消去用データとしては、例えば、白の画像を表す白データを使用できる。生成された消去用データは、メモリライト/リード部203に対して出力される。   The data generation unit 202 also generates erasure data as write data in response to the image region data erasure start signal falling from “H” to “L”. As the erasure data, for example, white data representing a white image can be used. The generated erasure data is output to the memory write / read unit 203.

メモリライト/リード部203は、メモリライトイネーブル信号及びメモリリードイネーブル信号を「H」又は「L」に設定してメモリ40に対して出力する。メモリライト/リード部203は、メモリ40にデータを書込む際には、メモリライトイネーブル信号を「H」に設定するとともに、ライトデータ及びメモリアドレスデータをメモリ40に対して出力することで、メモリ40の所定のアドレス範囲にライトデータを書込む。上記したメモリアドレスデータとは、メモリ40におけるデータの書込み又は読出しを行なう領域のアドレスを指定するデータであって、メモリ領域スタートアドレスレジスタ及びメモリ領域エンドアドレスレジスタによって指定されるアドレス範囲に基づいて生成されるデータである。メモリライト/リード部203は、メモリ40からデータを読出す際には、メモリリードイネーブル信号を「H」に設定するとともに、メモリアドレスデータをメモリ40に対して出力することで、メモリ40の所定のアドレス範囲に書込まれたライトデータを、リードデータとして読出す。   The memory write / read unit 203 sets the memory write enable signal and the memory read enable signal to “H” or “L” and outputs them to the memory 40. When writing data to the memory 40, the memory write / read unit 203 sets the memory write enable signal to “H” and outputs the write data and the memory address data to the memory 40. Write data is written to 40 predetermined address ranges. The memory address data described above is data for designating the address of the area where data is written or read in the memory 40, and is generated based on the address range designated by the memory area start address register and the memory area end address register. Data. When reading data from the memory 40, the memory write / read unit 203 sets the memory read enable signal to “H” and outputs the memory address data to the memory 40, thereby Write data written in the address range is read as read data.

メモリライト/リード部203は、また、全メモリチェック完了信号、画像処理完了信号、及び、データ消去完了信号を「H」又は「L」に設定して、レジスタ部205に対して出力する。メモリライト/リード部203は、さらに、メモリ40からリードデータを読出すタイミングの調整、及び、読出したリードデータを比較用データとしてデータ比較部204に与えるタイミングの調整等を行なう。   The memory write / read unit 203 also sets the all memory check completion signal, the image processing completion signal, and the data erasure completion signal to “H” or “L” and outputs them to the register unit 205. The memory write / read unit 203 further adjusts the timing of reading the read data from the memory 40, adjusts the timing of giving the read data read to the data comparison unit 204 as comparison data, and the like.

データ比較部204は、データ生成部202から入力される全メモリチェック用データと、メモリライト/リード部203から入力される比較用データであるリードデータとを比較して、両者が一致するか否かを判定するとともに、判定結果に基づいて、メモリチェックNG信号をレジスタ部205に対して出力する。すなわち、データ比較部204は、全メモリチェック用データと対応するリードデータとが一致していれば何もせず、両者が一致していなければメモリチェックNG信号を「H」に設定する。これによって、メモリ40に異常がなければメモリチェックNG信号は「L」のままとなり、メモリ40に異常が発生していれば、メモリチェック信号は「H」となる。   The data comparison unit 204 compares all the memory check data input from the data generation unit 202 with the read data that is comparison data input from the memory write / read unit 203, and determines whether or not they match. And a memory check NG signal is output to the register unit 205 based on the determination result. In other words, the data comparison unit 204 does nothing if all the memory check data matches the corresponding read data, and sets the memory check NG signal to “H” if they do not match. Accordingly, if there is no abnormality in the memory 40, the memory check NG signal remains “L”, and if there is an abnormality in the memory 40, the memory check signal becomes “H”.

レジスタ部205は、各種処理結果を格納する記憶領域を提供するとともに、上記した設定レジスタを含む。レジスタ部205は、入力されたメモリチェックNG信号及びデータ消去完了信号を格納する。レジスタ部205は、メモリライト/リード部203から入力される全メモリチェック完了信号及びメモリチェックNG信号、画像処理完了信号、並びに、データ消去完了信号を、CPU100に対して与える。   The register unit 205 provides a storage area for storing various processing results and includes the above-described setting register. The register unit 205 stores the input memory check NG signal and data erasure completion signal. The register unit 205 provides the CPU 100 with all memory check completion signals, memory check NG signals, image processing completion signals, and data erasure completion signals input from the memory write / read unit 203.

〈動作〉
本実施の形態に係るデジタル複合機は、全メモリチェック処理及びプリント処理時において、以下のように動作する。なお、以下に示す動作を除く動作は、従来の一般的なデジタル複合機の動作と同じである。
<Operation>
The digital multi-function peripheral according to the present embodiment operates as follows during all memory check processing and print processing. The operations other than the operations described below are the same as those of a conventional general digital multi-function peripheral.

(全メモリチェック処理時の動作)
図5は、全メモリチェック処理時におけるメモリコントローラ200の動作の流れを示すタイミングチャートである。図5を参照して、デジタル複合機の電源が投入されると、各信号は「L」に初期化される。
(Operation during all memory check processing)
FIG. 5 is a timing chart showing the operation flow of the memory controller 200 during the all-memory check process. Referring to FIG. 5, when the power of the digital multi-function peripheral is turned on, each signal is initialized to “L”.

電源投入直後の時刻T0において、CPU100は、自動チェック開始設定レジスタのビット[0]に「1」を書込む。この設定に応答して、スタート信号生成部201は、時刻T1において、全メモリチェック開始信号を「H」に設定し、時刻T2において再び「L」に設定する。すなわち、全メモリチェック開始信号は1クロック間だけ「H」に設定される。   At time T0 immediately after power-on, the CPU 100 writes “1” to bit [0] of the automatic check start setting register. In response to this setting, the start signal generation unit 201 sets the all memory check start signal to “H” at time T1 and sets it to “L” again at time T2. That is, all memory check start signals are set to “H” only for one clock.

データ生成部202は、全メモリチェック開始信号が「H」に設定されたことに応答して、書込みパターン設定レジスタ及びデータ幅設定レジスタにてそれぞれ設定されるパターン及びデータ幅に従って、乱数データ、固定データ、及び、巡回データのうちのいずれかのパターンのデータであって、BYTE、WORD、DOUBLEWORD及びQUADWORDのうちのいずれかのデータ幅を有する全メモリチェック用データD0〜DN…(以下の説明では、図及び説明を明りょうにするためN=4として説明することとし、全メモリチェック用データを「チェック用データD0〜D4」と記す。なお、一度に書込むデータ量に応じてNの値が定まることはいうまでもない。)をライトデータとして生成する。生成されたチェック用データD0〜D4は、メモリライト/リード部203に対して出力される。   In response to the all memory check start signal being set to “H”, the data generation unit 202 fixes the random number data according to the pattern and data width set in the write pattern setting register and the data width setting register, respectively. Data and cyclic data, all memory check data D0 to DN having a data width of BYTE, WORD, DOUBLEWORD, and QUADWORD (in the following description) In order to clarify the figure and explanation, it is assumed that N = 4, and all the memory check data is referred to as “check data D0 to D4.” Note that the value of N depends on the amount of data written at one time. Needless to say, is generated as write data. The generated check data D0 to D4 are output to the memory write / read unit 203.

メモリライト/リード部203は、全メモリチェック開始信号が「H」に設定されたことに応答して、時刻T2から時刻T7までの5クロックの間、メモリライトイネーブル信号を「H」に設定するとともに、チェック用データD0〜D4、及び、メモリアドレスデータA0〜A4をメモリ40に対して出力する。このとき、生成されるメモリアドレスの範囲は、メモリ領域スタートアドレスレジスタ及びメモリ領域エンドアドレスレジスタとは無関係であり、メモリ40の全アドレス範囲にチェック用データが書込まれる。   The memory write / read unit 203 sets the memory write enable signal to “H” for 5 clocks from time T2 to time T7 in response to the all memory check start signal being set to “H”. At the same time, the check data D0 to D4 and the memory address data A0 to A4 are output to the memory 40. At this time, the range of the generated memory address is independent of the memory area start address register and the memory area end address register, and the check data is written in the entire address range of the memory 40.

チェック用データD0〜D4の書込終了後、ライトイネーブル信号は「L」に立下がり、予め定める所定時間(本実施の形態では、時刻T7から時刻T8までの1クロックの間)が経過した後、時刻T8から時刻T13までの5クロックの間、メモリライト/リード部203は、今度はメモリリードイネーブル信号を「H」に設定するとともに、上記と同様の全アドレス範囲を示すメモリアドレスデータA0〜A4をメモリ40に対して出力する。これによって、メモリ40の全アドレス範囲に書込まれたチェック用データD0〜D4が、リードデータD0〜D4として読出される。読出されたリードデータD0〜D4はデータ比較部204に与えられる。   After the writing of the check data D0 to D4, the write enable signal falls to “L” and after a predetermined time (in the present embodiment, one clock from time T7 to time T8) has elapsed. During the five clocks from time T8 to time T13, the memory write / read unit 203 sets the memory read enable signal to “H” this time, and the memory address data A0 to A0 indicating the entire address range as described above. A4 is output to the memory 40. As a result, the check data D0 to D4 written in the entire address range of the memory 40 are read as read data D0 to D4. The read data D0 to D4 read out is applied to the data comparison unit 204.

リードデータD0〜D4の読出しに同期して、データ生成部202は、チェック用データD0〜D4を比較用データとしてデータ比較部204に対して順次出力する。データ比較部204は、入力された、リードデータD0〜D4とチェック用データD0〜D4とを比較して、両者が一致するか否かを判定する。データ比較部204は、判定結果に基づいて、メモリチェックNG信号をレジスタ部205に対して出力する。すなわち、データ比較部204は、リードデータ(例えばリードデータD2)と、対応する比較用データ(比較用データD2)とが一致していれば何もせず、両者が一致していなければメモリチェックNG信号を「H」に設定する。これによって、メモリに異常がなければメモリチェックNG信号は「L」のままとなり、メモリに異常が発生していれば、そのアドレス(例えばアドレスA2)での比較が行なわれるタイミング(例えば時刻T10)でメモリチェックNG信号が「H」となり、メモリエラーが発生したことが示される。レジスタ部205は、このメモリチェックNG信号を格納し、CPU100に対して与える。   In synchronization with the reading of the read data D0 to D4, the data generation unit 202 sequentially outputs the check data D0 to D4 to the data comparison unit 204 as comparison data. The data comparison unit 204 compares the input read data D0 to D4 with the check data D0 to D4 and determines whether or not they match. The data comparison unit 204 outputs a memory check NG signal to the register unit 205 based on the determination result. That is, the data comparison unit 204 does nothing if the read data (for example, read data D2) and the corresponding comparison data (comparison data D2) match, and if they do not match, the memory check NG Set the signal to “H”. Thus, if there is no abnormality in the memory, the memory check NG signal remains “L”, and if there is an abnormality in the memory, the timing at which the comparison at that address (for example, address A2) is performed (for example, time T10) The memory check NG signal becomes “H”, indicating that a memory error has occurred. The register unit 205 stores the memory check NG signal and gives it to the CPU 100.

メモリの全アドレスに対するテストが完了すると(図5の例では時刻T13において)、メモリライト/リード部203は、全メモリチェック完了信号を「H」に設定する。全メモリチェック完了信号も、CPU100に与えられる。   When the test for all addresses in the memory is completed (at time T13 in the example of FIG. 5), the memory write / read unit 203 sets the all memory check completion signal to “H”. An all memory check completion signal is also given to the CPU 100.

CPU100は、全メモリチェック完了信号が「H」に設定されるまで待機する(S102)。全メモリチェック信号が「H」であると判定すると(S102にてYES)、メモリチェックNG信号が「H」であるか否かを判定し(S103)、メモリチェックNG信号が「H」に設定されていると判定する(S103にてYES)と、操作パネルに対してメモリエラーが発生した旨のエラーメッセージを表示する等のエラー処理を実行して(S104)、初期化時の全メモリチェック処理を終了する。メモリチェックNG信号が「L」に設定されていれば(S103にてNO)何もせず、処理を終了する。   The CPU 100 waits until the all memory check completion signal is set to “H” (S102). If it is determined that all the memory check signals are “H” (YES in S102), it is determined whether or not the memory check NG signal is “H” (S103), and the memory check NG signal is set to “H”. If it is determined (YES in S103), error processing such as displaying an error message indicating that a memory error has occurred on the operation panel is executed (S104), and all memory checks at initialization are performed. The process ends. If the memory check NG signal is set to “L” (NO in S103), nothing is done and the process is terminated.

例えば、ユーザは、エラーメッセージが表示されている場合、そのメッセージを確認し、デジタル複合機の電源を切る。そして、メモリ40の接続不良等の不良を取り除いた後、再度電源を投入する。電源の投入後、上記した全メモリチェック処理が再度行なわれる。   For example, if an error message is displayed, the user confirms the message and turns off the digital multifunction peripheral. Then, after removing defects such as connection failure of the memory 40, the power is turned on again. After the power is turned on, the above-described all memory check process is performed again.

メモリエラーが発生せず、上記したS103でメモリチェックNG信号が「L」に設定されていると判定されれば、CPU100はメモリの初期化が正常に完了したと判定し、制御システムを起動させる。   If it is determined that no memory error occurs and the memory check NG signal is set to “L” in S103 described above, the CPU 100 determines that the initialization of the memory has been completed normally and activates the control system. .

なお、デジタル複合機の電源投入後、SOC60を用いた外部指示によりメモリチェック処理を行なうことができる。すなわち、SOC60は、図1に示すチェックモード端子に、図3に示すモード設定レジスタのビット[1:0]で表される値のうち、所望の値(例えば「01」)を入力するとともに、メモリチェックスタート端子を「H」に設定する。これを受けて、メモリコントローラ200は、チェックモード端子から入力される値に従って、上記した全メモリチェック処理を実行するとともに、全メモリチェック処理完了後に、「H」に設定した全メモリチェック完了信号をSOC60に対して出力する。「H」に設定された全メモリチェック完了信号が入力されると、SOC60は、CPU100に対してリセット信号を出力する。リセット信号が入力されると、CPU100は、リセットされて起動するとともに、入力されるメモリチェックNG信号に基づいて、エラー処理を行なうか、又は、制御システムを起動させる。   It should be noted that the memory check process can be performed by an external instruction using the SOC 60 after the digital multifunction peripheral is turned on. That is, the SOC 60 inputs a desired value (for example, “01”) among the values represented by the bits [1: 0] of the mode setting register shown in FIG. 3 to the check mode terminal shown in FIG. Set the memory check start terminal to “H”. In response to this, the memory controller 200 executes the above-described all-memory check process according to the value input from the check mode terminal, and after the all-memory check process is completed, outputs the all-memory check completion signal set to “H”. Output to the SOC 60. When an all memory check completion signal set to “H” is input, the SOC 60 outputs a reset signal to the CPU 100. When the reset signal is input, the CPU 100 is reset and activated, and performs error processing or activates the control system based on the input memory check NG signal.

(プリント処理後のメモリ消去時の動作)
図6は、プリント処理時におけるメモリコントローラ200の動作の流れを示すタイミングチャートである。図6を参照して、制御システムの起動後、時刻T0にユーザによってプリントジョブ開始指示がなされたものとする。この前までは、自動チェック開始信号は「H」であるものとする。電源投入時に自動チェック開始信号が「H」であったため、初期化が行なわれ、その結果、全メモリチェック完了信号も「H」に設定されている。これ以外の各信号は時刻T0において「L」に設定されているものとする。
(Operation when erasing memory after print processing)
FIG. 6 is a timing chart showing an operation flow of the memory controller 200 during the print processing. Referring to FIG. 6, it is assumed that a print job start instruction is given by the user at time T0 after the control system is activated. Until this time, the automatic check start signal is assumed to be “H”. Since the automatic check start signal is “H” when the power is turned on, initialization is performed. As a result, the all memory check completion signal is also set to “H”. It is assumed that the other signals are set to “L” at time T0.

時刻T0において、プリントジョブ開始指示により画像処理部300からのプリント処理信号が「H」となる。自動チェック開始信号が「H」、全メモリチェック完了信号も「H」の状態のときにプリント処理信号が「H」となったことに応答して、スタート信号生成部201は、時刻T0から時刻T1までの1クロック間、画像処理開始信号を「H」に設定する。   At time T0, the print processing signal from the image processing unit 300 becomes “H” in response to a print job start instruction. In response to the print processing signal becoming “H” when the automatic check start signal is “H” and the all memory check completion signal is also “H”, the start signal generation unit 201 starts from time T0 to time The image processing start signal is set to “H” for one clock until T1.

画像処理開始信号が「L」レベルに立下がると、メモリライト/リード部203は、時刻T1から時刻T6までの5クロックの間、メモリライトイネーブル信号を「H」に設定するとともに、画像処理部300から転送される画像データD〜Dn+4、及び、メモリアドレスデータA〜An+4をメモリ40に対して出力する。このとき、メモリ領域スタートアドレスレジスタ及びメモリ領域エンドアドレスレジスタによってメモリ40の画像処理領域404内の所定のアドレス範囲が指定される。したがって、メモリ40の画像処理領域404における所定のアドレス範囲に画像データD〜Dn+4が順次書込まれる。 When the image processing start signal falls to the “L” level, the memory write / read unit 203 sets the memory write enable signal to “H” for 5 clocks from time T1 to time T6, and the image processing unit Image data D n to D n + 4 and memory address data A n to A n + 4 transferred from 300 are output to the memory 40. At this time, a predetermined address range in the image processing area 404 of the memory 40 is designated by the memory area start address register and the memory area end address register. Therefore, the image data D n to D n + 4 are sequentially written in a predetermined address range in the image processing area 404 of the memory 40.

画像データD〜Dn+4の書込終了後、メモリライトイネーブル信号が「L」に立ち下げられ、予め定める所定時間(本実施の形態では、時刻T6から時刻T8までの2クロックの間)、メモリ40の画像処理領域404に書込まれた画像データD〜Dn+4は保持される。このとき、画像処理部300a,300bは、画像データD〜Dn+4に対して、例えば、JBIG圧縮処理、JPEG圧縮処理、画像回転処理、及び、変倍処理等の所定の画像処理を施して、所定の階調の出力画像データを生成する。そして、生成した出力画像データをプリンタ部に対して出力する。プリンタ部は、記録用紙上に出力画像データに基づく画像を形成する。 After the writing of the image data D n to D n + 4 is finished, the memory write enable signal is lowered to “L” and predetermined time (in this embodiment, between two clocks from time T6 to time T8), The image data D n to D n + 4 written in the image processing area 404 of the memory 40 is held. In this case, the image processing unit 300a, 300b, to the image data D n ~D n + 4, for example, JBIG compression, JPEG compression, image rotation processing, and performs predetermined image processing scaling process such Then, output image data of a predetermined gradation is generated. The generated output image data is output to the printer unit. The printer unit forms an image based on the output image data on the recording paper.

メモリライト/リード部203は、画像処理が終了すると、時刻T7から時刻T8までの1クロック間、画像処理完了信号を「H」に設定する。画像処理完了信号は、レジスタ部205に出力された後CPU100に与えられる。スタート信号生成部201は、全メモリチェック完了信号が「H」であり、かつ、自動チェック開始信号が「H」なので、時刻T7から時刻T8までの1クロック間、画像領域データを消去する処理のトリガとして画像領域データ消去開始信号を「H」とする。データ生成部202は、画像領域データ消去開始信号が「H」から「L」に立ち下がったことに応答して、白データを消去用データとして生成し出力する処理を開始する。生成された消去用データは、メモリライト/リード部203に与えられる。   When the image processing is completed, the memory write / read unit 203 sets the image processing completion signal to “H” for one clock from time T7 to time T8. The image processing completion signal is supplied to the CPU 100 after being output to the register unit 205. The start signal generation unit 201 deletes the image area data for one clock from time T7 to time T8 because the all memory check completion signal is “H” and the automatic check start signal is “H”. The image area data erasure start signal is set to “H” as a trigger. In response to the image region data deletion start signal falling from “H” to “L”, the data generation unit 202 starts processing to generate and output white data as deletion data. The generated erasure data is given to the memory write / read unit 203.

メモリライト/リード部203は、画像領域データ消去開始信号が「H」から「L」に立ち下がったことに応答して、時刻T8から時刻T13までの5クロックの間、メモリライトイネーブル信号を「H」に立ち上げ、データ生成部202から与えられる消去用データ、及び、画像が書き込まれたアドレスであるメモリアドレスデータA〜An+4をメモリ40に順次出力する。これによって、メモリ40の画像処理領域404内の、画像データが時刻T1−T6までに書込まれたアドレス範囲に消去用データが上書きされる。すなわち、メモリ40内の画像データD〜Dn+4は消去される。時刻T13においてメモリライトイネーブル信号は「L」に立ち下げられる。 In response to the image region data erasure start signal falling from “H” to “L”, the memory write / read unit 203 sends the memory write enable signal “5” from time T8 to time T13. The data for erasure given from the data generation unit 202 and memory address data A n to A n + 4 that are addresses where images are written are sequentially output to the memory 40. As a result, the erasure data is overwritten in the address range in which the image data is written by the time T1-T6 in the image processing area 404 of the memory 40. That is, the image data D n to D n + 4 in the memory 40 is deleted. At time T13, the memory write enable signal falls to “L”.

1クロック後、時刻T14において、メモリライト/リード部203は、データ消去完了信号を「H」に設定する。レジスタ部205は、このデータ消去処理完了信号を格納し、CPU100に対して与える。   After one clock, at time T14, the memory write / read unit 203 sets the data erase completion signal to “H”. The register unit 205 stores this data erasure processing completion signal and gives it to the CPU 100.

〈作用・効果〉
上記実施の形態によれば、デジタル複合機は、制御システムの実行に使用される各種データを記憶するシステム領域402、及び、画像処理を行なうための画像データを記憶する画像処理領域404を含むメモリ40と、装置の電源投入後に、画像処理領域404に記憶される画像データに対し、画像処理を行なうための画像処理部300と、装置の電源投入時に、メモリ40が正常に動作するか否かを確認するメモリチェックを自動的に行なうとともに、画像処理終了後に、画像処理領域404に記憶される画像データを自動的に消去するメモリ制御回路であるメモリコントローラ200と、画像処理部300及びメモリコントローラ200の動作を制御するCPU100と、を含む。このように、デジタル複合機は、全メモリチェック処理と画像領域データ消去処理とを同一の回路を使用して行なうので、回路基板に搭載する回路規模を縮小することができる。したがって、装置の小型化を達成できる。また、全メモリチェック処理及び画像領域データ消去処理をハードウェア的に行なうので、ソフトウェア的に行なう場合と比較してCPU100の占有時間を短縮でき、各処理に要する時間を短縮できる。本デジタル複合機によれば、メモリの初期化に要する時間を40分から1分に短縮可能である。
<Action and effect>
According to the above embodiment, the digital multi-function peripheral includes a system area 402 that stores various data used for execution of the control system, and a memory that includes an image processing area 404 that stores image data for performing image processing. 40, an image processing unit 300 for performing image processing on image data stored in the image processing area 404 after the apparatus is turned on, and whether the memory 40 operates normally when the apparatus is turned on. A memory controller 200 that is a memory control circuit that automatically deletes image data stored in the image processing area 404 after the image processing is completed, an image processing unit 300, and a memory controller CPU 100 that controls the operation of 200. As described above, since the digital multi-function peripheral performs all memory check processing and image area data erasing processing using the same circuit, the circuit scale mounted on the circuit board can be reduced. Accordingly, it is possible to reduce the size of the apparatus. Further, since the all memory check process and the image area data erasing process are performed by hardware, the occupation time of the CPU 100 can be shortened compared with the case where it is performed by software, and the time required for each process can be shortened. According to this digital multi-function peripheral, the time required for memory initialization can be reduced from 40 minutes to 1 minute.

また上記実施の形態によれば、メモリコントローラ200は、ライトデータを生成するデータ生成部202と、メモリ40に対しライトデータを書込むとともに、メモリ40に書込まれたライトデータをリードデータとして読出すメモリライト/リード部203と、ライトデータとリードデータとを比較して、両者が一致するか否かを判定することで、メモリチェックを行なうデータ比較部204と、を含み、メモリライト/リード部203は、消去用データを画像処理領域404に上書きすることで、画像処理領域404に記憶される画像データを消去する。このように、メモリコントローラ200は、同一のデータ生成部202によって生成されたライトデータを使用して、全メモリチェック処理及び画像領域データ消去処理を行なうので、より一層効率良く各処理を行なうことができる。   Further, according to the above embodiment, the memory controller 200 writes the write data to the data generation unit 202 that generates the write data and the memory 40, and reads the write data written to the memory 40 as the read data. A memory write / read unit 203 that outputs data, and a data comparison unit 204 that performs a memory check by comparing the write data and the read data to determine whether or not they match. The unit 203 erases the image data stored in the image processing area 404 by overwriting the erasing data on the image processing area 404. In this way, the memory controller 200 uses the write data generated by the same data generation unit 202 to perform all memory check processing and image area data erasing processing, so that each processing can be performed more efficiently. it can.

また上記実施の形態によれば、データ生成部202は、装置の電源投入時に、乱数データ、固定データ、及び、巡回データからなるグループからいずれかのパターンを選択し、選択したパターンに基づいて全メモリチェック用データをライトデータとして生成する。このように、データ生成部202は、全メモリチェック用データのパターンを、例えば、所望されるメモリチェックのレベル等に応じて選択して生成できるので、全メモリチェック処理をより一層効果的に行なうことができる。   Further, according to the above embodiment, when the apparatus is turned on, the data generation unit 202 selects any pattern from the group consisting of random number data, fixed data, and cyclic data, and based on the selected pattern, Memory check data is generated as write data. In this way, the data generation unit 202 can select and generate a pattern of all memory check data according to, for example, a desired level of memory check, so that the all memory check process is performed more effectively. be able to.

また上記実施の形態によれば、データ生成部202は、装置の電源投入時に、8ビット幅を示すBYTE、32ビット幅を示すWORD、64ビット幅を示すDOUBLE WORD、及び、128ビット幅を示すQWDからなるグループからいずれかのデータ幅を選択し、選択したデータ幅に基づいて、全メモリチェック用データをライトデータとして生成する。このように、データ生成部202は、全メモリチェック用データのデータ幅を、例えば、メモリチェックを行なうアドレス範囲等に応じて選択して生成できるので、メモリチェックをより一層効率良く行なうことができる。   Further, according to the above embodiment, when the apparatus is powered on, the data generation unit 202 indicates BYTE indicating 8-bit width, WORD indicating 32-bit width, DOUBLE WORD indicating 64-bit width, and 128-bit width. One of the data widths is selected from the group consisting of QWDs, and all memory check data is generated as write data based on the selected data width. As described above, the data generation unit 202 can select and generate the data width of all the memory check data according to, for example, the address range where the memory check is performed, so that the memory check can be performed more efficiently. .

また上記実施の形態によれば、メモリライト/リード部203は、ライトデータを書込むアドレス範囲を選択し、メモリ40における、選択したアドレス範囲に対し、ライトデータを書込む。このように、メモリライト/リード部203は、ライトデータを書込むアドレス範囲を選択して書込むことができるので、所望のアドレス範囲に対し、メモリチェック等の処理を行なうことができる。したがって、より効率良く全メモリチェック処理及び画像領域データ消去処理を行なうことができる。   According to the above embodiment, the memory write / read unit 203 selects an address range in which write data is written, and writes the write data in the selected address range in the memory 40. As described above, the memory write / read unit 203 can select and write the address range in which the write data is written, and therefore can perform processing such as memory check on the desired address range. Therefore, the entire memory check process and the image area data erasure process can be performed more efficiently.

また上記実施の形態によれば、デジタル複合機は、メモリコントローラ200と接続され、CPU100がメモリコントローラ200の動作制御を行なわない場合に、メモリコントローラ200の動作を制御する信号を受けてメモリコントローラ200に与えるメモリチェックスタート端子をさらに含む。このように、デジタル複合機は、メモリコントローラ200の動作制御をソフトウェア的に実行するCPU100と、ハードウェア的に実行するメモリチェックスタート端子とを含むので、装置の状況に応じていずれかの方法を選択できる。したがって、より一層効率良くメモリチェックを行なうことができる。   Further, according to the above embodiment, the digital multi-function peripheral is connected to the memory controller 200 and receives a signal for controlling the operation of the memory controller 200 when the CPU 100 does not control the operation of the memory controller 200. Further included is a memory check start terminal to be provided to. As described above, the digital multi-function peripheral includes the CPU 100 that executes the operation control of the memory controller 200 in software and the memory check start terminal that executes in hardware. You can choose. Therefore, the memory check can be performed more efficiently.

また上記実施の形態によれば、デジタル複合機は、メモリチェックスタート端子と接続されるSOC60をさらに含み、SOC60は、メモリチェックスタート端子の動作を制御するとともに、全メモリチェック処理の終了後、CPU100を起動する。このように、CPU100の起動前に、SOC60の制御によって全メモリチェック処理を実行し、全メモリチェック処理終了後に、起動に時間を要するCPU100を起動するので、メモリの初期化に要する時間をより一層短縮することができる。   According to the above embodiment, the digital multi-function peripheral further includes the SOC 60 connected to the memory check start terminal. The SOC 60 controls the operation of the memory check start terminal, and after the completion of the all memory check process, the CPU 100 Start up. As described above, the entire memory check process is executed under the control of the SOC 60 before the CPU 100 is activated, and the CPU 100 that requires a long time for activation is activated after the completion of the all memory check process. It can be shortened.

なお、上記実施の形態によれば、エラー処理として、操作パネルにエラーメッセージを表示する処理を行なったが、本発明はそのような実施の形態に限定されない。例えば、警告音を発生する処理等を行なってもよい。   According to the above embodiment, the error message is displayed on the operation panel as the error process, but the present invention is not limited to such an embodiment. For example, a process for generating a warning sound may be performed.

また、上記実施の形態によれば、チェックモード端子はSOC60に対して電気的に接続される構成であったが、本発明はそのような実施の形態に限定されない。例えば、別のコントロール回路又はDIP(Dual In−line Package)スイッチ(以上いずれも図示せず。)に対して接続され、それらから値が入力される構成であってもよい。   Moreover, according to the said embodiment, although the check mode terminal was the structure electrically connected with respect to SOC60, this invention is not limited to such embodiment. For example, it may be configured to be connected to another control circuit or a DIP (Dual In-line Package) switch (none of which is shown), and a value is input from them.

[変形例]
図7は、上記実施の形態の変形例に係る複合機コントロール基板10の構成を示すブロック図である。図7を参照して、本変形例に係るデジタル複合機は、SOC60及びチェックモード端子に接続される電源コントローラ500が設けられる点を除いて、上記実施の形態に係るデジタル複合機と同一の構成である。
[Modification]
FIG. 7 is a block diagram showing a configuration of a multifunction machine control board 10 according to a modification of the above embodiment. Referring to FIG. 7, the digital multi-function peripheral according to the present modification has the same configuration as the digital multi-function peripheral according to the above embodiment except that a power supply controller 500 connected to the SOC 60 and the check mode terminal is provided. It is.

電源コントローラ500は、デジタル複合機の各部に対する電力の供給を制御する。例えば、電源コントローラ500は、所定期間デジタル複合機が使用されない場合等に、電力の供給状態を通常モードから省エネモードに移行する。この省エネモード時において、電源コントローラ500は、デジタル複合機の各部に対する電力の供給を遮断し、省エネモードから通常モードへの復帰動作に関わる特定の電子回路のみに電力を供給する。上記特定の電子回路としては、LAN(Local Area Network)とインターフェイスをとり、外部装置から送信される印字用画像データを受付けるNIC(Network Interface Card、図示せず。)、ユーザの手動操作による上記復帰動作を指示する命令を受付けるための復帰スイッチの検知回路(図示せず。)、及び、複合機コントロール基板10等がある。省エネモード時において、NICが印字用画像データを受付けた場合、又は、復帰スイッチが上記命令を受付けた場合には、電源コントローラ500は、デジタル複合機の各部(例えば、プリンタ部)に対する電力の供給を復帰させる。   The power supply controller 500 controls the supply of power to each unit of the digital multifunction peripheral. For example, the power supply controller 500 shifts the power supply state from the normal mode to the energy saving mode when the digital multifunction peripheral is not used for a predetermined period. In this energy saving mode, the power supply controller 500 cuts off the supply of power to each part of the digital multi-function peripheral and supplies power only to specific electronic circuits involved in the return operation from the energy saving mode to the normal mode. The specific electronic circuit is a NIC (Network Interface Card, not shown) that interfaces with a LAN (Local Area Network) and receives image data for printing transmitted from an external device. There are a return switch detection circuit (not shown) for receiving a command for instructing an operation, a multifunction machine control board 10 and the like. In the energy saving mode, when the NIC accepts image data for printing or when the return switch accepts the above command, the power supply controller 500 supplies power to each part (for example, a printer part) of the digital multi-function peripheral. To return.

電源コントローラ500は、上記復帰動作時において、チェックモード端子に、図3に示すモード設定レジスタのビット[1:0]で表される値のうち、所望の値(例えば「01」)を入力するとともに、SOC60に対して復帰信号を入力する。復帰信号の入力に応答して、SOC60は、メモリチェックスタート端子を「H」に設定する。これを受けて、メモリコントローラ200は、チェックモード端子から入力される値に従って、例えば、全メモリチェック処理を実行するとともに、全メモリチェック処理完了後に、「H」に設定した全メモリチェック完了信号をSOC60に対して出力する。「H」に設定された全メモリチェック完了信号が入力されると、SOC60は、CPU100に対してリセット信号を出力する。リセット信号が入力されると、CPU100は、リセットされて起動するとともに、入力されるメモリチェックNG信号に基づいて、エラー処理を行なうか、又は、制御システムを起動させる。   The power supply controller 500 inputs a desired value (for example, “01”) among the values represented by the bits [1: 0] of the mode setting register shown in FIG. 3 to the check mode terminal during the return operation. At the same time, a return signal is input to the SOC 60. In response to the input of the return signal, the SOC 60 sets the memory check start terminal to “H”. In response to this, the memory controller 200 executes, for example, all memory check processing in accordance with the value input from the check mode terminal, and after the completion of all memory check processing, outputs the all memory check completion signal set to “H”. Output to the SOC 60. When an all memory check completion signal set to “H” is input, the SOC 60 outputs a reset signal to the CPU 100. When the reset signal is input, the CPU 100 is reset and activated, and performs error processing or activates the control system based on the input memory check NG signal.

〈作用・効果〉
上記変形例によれば、デジタル複合機は、各部に対する電力の供給状態を通常モード又は省エネモードに設定するとともに、省エネモードから通常モードへの復帰時に、メモリチェック等の処理を行なうようにSOC60及びメモリコントローラ200を制御する電源コントローラ500をさらに含む。これによって、省エネモードから通常モードへの復帰時においても、モード設定レジスタの設定に従った処理(例えば、全メモリチェック処理)を実行できるようになるので、ユーザの利便性がさらに向上する。
<Action and effect>
According to the above modification, the digital multi-function peripheral sets the power supply state to each unit to the normal mode or the energy saving mode, and performs processing such as memory check and the like when returning from the energy saving mode to the normal mode. A power controller 500 that controls the memory controller 200 is further included. As a result, even when returning from the energy saving mode to the normal mode, the process according to the setting of the mode setting register (for example, all memory check process) can be executed, so that the convenience for the user is further improved.

今回開示された実施の形態は単に例示であって、この発明が上記した実施の形態のみに制限されるわけではない。この発明の範囲は、発明の詳細な説明の記載を参酌した上で、特許請求の範囲の各請求項によって示され、そこに記載された文言と均等の意味及び範囲内での全ての変更を含む。   The embodiment disclosed this time is merely an example, and the present invention is not limited to the embodiment described above. The scope of the present invention is indicated by each claim in the scope of claims after taking into account the description of the detailed description of the invention, and all modifications within the meaning and scope equivalent to the wording described therein are included. Including.

10 複合機コントロール基板
20 ASIC
30 ROM
40 メモリ
50 SATA
60 SOC
70 HDD
100 CPU
200 メモリコントローラ
201 スタート信号生成部
202 データ生成部
203 メモリライト/リード部
204 データ比較部
205 レジスタ部
300 画像処理部
402 システム領域
404 画像処理領域
500 電源コントローラ
10 MFP control board 20 ASIC
30 ROM
40 memory 50 SATA
60 SOC
70 HDD
100 CPU
DESCRIPTION OF SYMBOLS 200 Memory controller 201 Start signal generation part 202 Data generation part 203 Memory write / read part 204 Data comparison part 205 Register part 300 Image processing part 402 System area 404 Image processing area 500 Power supply controller

Claims (10)

画像処理を行なうための画像データを記憶する画像処理領域を含むメモリと、
装置の電源投入後に、前記画像処理領域に記憶される画像データに対し、画像処理を行なうための画像処理部と、
装置の電源投入時に、前記メモリが正常に動作するか否かを確認するメモリチェックを自動的に行なうとともに、前記画像処理終了後に、前記画像処理領域に記憶される前記画像データを自動的に消去するメモリ制御回路と、
前記画像処理部及び前記メモリ制御回路の動作を制御する制御手段と、を含む画像形成装置。
A memory including an image processing area for storing image data for performing image processing;
An image processing unit for performing image processing on image data stored in the image processing area after the apparatus is turned on;
When the apparatus is turned on, a memory check is automatically performed to confirm whether or not the memory operates normally, and the image data stored in the image processing area is automatically deleted after the image processing is completed. A memory control circuit to
And an image forming apparatus including a control unit that controls operations of the image processing unit and the memory control circuit.
前記メモリ制御回路は、
ライトデータを生成するデータ生成手段と、
前記メモリに対し、前記ライトデータを書込む書込手段と、
前記メモリに書込まれた前記ライトデータをリードデータとして読出す読出手段と、
前記ライトデータと前記リードデータとを比較して、両者が一致するか否かを判定することで、メモリチェックを行なう比較手段と、を含み、
前記書込手段は、前記ライトデータを前記画像処理領域に上書きすることで、前記画像処理領域に記憶される前記画像データを消去する、請求項1に記載の画像形成装置。
The memory control circuit includes:
Data generation means for generating write data;
Writing means for writing the write data to the memory;
Reading means for reading the write data written in the memory as read data;
Comparing the write data and the read data, and determining whether or not both match, comparing means for performing a memory check,
The image forming apparatus according to claim 1, wherein the writing unit erases the image data stored in the image processing area by overwriting the write data on the image processing area.
前記データ生成手段は、装置の電源投入時に、乱数データ、固定データ、及び、巡回データからなるグループからいずれかのパターンを選択し、選択した前記パターンに基づいて前記ライトデータを生成する、請求項2に記載の画像形成装置。   The data generation means selects any one pattern from a group consisting of random number data, fixed data, and cyclic data when the apparatus is turned on, and generates the write data based on the selected pattern. The image forming apparatus according to 2. 前記データ生成手段は、装置の電源投入時に、8ビット幅を示すBYTE、32ビット幅を示すWORD、64ビット幅を示すDOUBLE WORD、及び、128ビット幅を示すQWDからなるグループからいずれかのデータ幅を選択し、選択した前記データ幅に基づいて、前記ライトデータを生成する、請求項2又は請求項3に記載の画像形成装置。   When the apparatus is powered on, the data generation means is any data from the group consisting of BYTE indicating 8-bit width, WORD indicating 32-bit width, DOUBLE WORD indicating 64-bit width, and QWD indicating 128-bit width. The image forming apparatus according to claim 2, wherein a width is selected, and the write data is generated based on the selected data width. 前記書込手段は、前記ライトデータを書込むアドレス範囲を選択し、前記メモリにおける、選択した前記アドレス範囲に対し、前記ライトデータを書込む、請求項2〜請求項4のいずれか1つに記載の画像形成装置。   5. The write unit according to claim 2, wherein the writing unit selects an address range in which the write data is written, and writes the write data in the selected address range in the memory. The image forming apparatus described. 前記メモリ制御回路と接続され、前記メモリ制御回路の動作を制御する信号を受ける入力端子、をさらに含む、請求項1〜請求項5のいずれか1つに記載の画像形成装置。   The image forming apparatus according to claim 1, further comprising an input terminal connected to the memory control circuit and receiving a signal for controlling an operation of the memory control circuit. 前記入力端子と接続される外部制御手段をさらに含み、
前記外部制御手段は、前記入力端子の動作を制御するとともに、前記メモリチェックの終了後、前記制御手段を起動する、請求項6に記載の画像形成装置。
Further comprising external control means connected to the input terminal;
The image forming apparatus according to claim 6, wherein the external control unit controls the operation of the input terminal and activates the control unit after completion of the memory check.
各部に対する電力の供給状態を通常モード又は省エネルギーモードに設定する電源制御手段と、
前記省エネルギーモードから前記通常モードへの復帰時に、前記メモリチェックを行なうように前記メモリ制御回路を制御する手段と、をさらに含む、請求項1〜請求項7のいずれか1つに記載の画像形成装置。
Power supply control means for setting the power supply state to each part to normal mode or energy saving mode;
8. The image formation according to claim 1, further comprising a unit that controls the memory control circuit to perform the memory check when returning from the energy saving mode to the normal mode. apparatus.
所定の処理を行なうためのデータを記憶する処理領域を含むメモリを備える装置に設けられ、前記装置の電源投入時に、前記メモリが正常に動作するか否かを確認するメモリチェックを自動的に行なうとともに、前記所定の処理終了後に、前記処理領域に記憶される前記データを自動的に消去する、メモリ制御回路。   Provided in a device including a memory including a processing area for storing data for performing predetermined processing, and automatically checking a memory to check whether the memory operates normally when the device is powered on And a memory control circuit for automatically erasing the data stored in the processing area after completion of the predetermined processing. 所定の処理を行なうためのデータを記憶する処理領域を含むメモリと、
前記メモリを備える装置の電源投入時に、前記メモリが正常に動作するか否かを確認するメモリチェックを自動的に行なうとともに、前記所定の処理終了後に、前記処理領域に記憶される前記データを自動的に消去するメモリ制御回路と、を含むメモリ回路。
A memory including a processing area for storing data for performing predetermined processing;
When a device including the memory is turned on, a memory check is automatically performed to confirm whether or not the memory operates normally, and the data stored in the processing area is automatically stored after the predetermined processing is completed. And a memory control circuit for erasing the memory.
JP2009149278A 2009-06-24 2009-06-24 Image forming apparatus, memory control circuit, and memory circuit Pending JP2011005674A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009149278A JP2011005674A (en) 2009-06-24 2009-06-24 Image forming apparatus, memory control circuit, and memory circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009149278A JP2011005674A (en) 2009-06-24 2009-06-24 Image forming apparatus, memory control circuit, and memory circuit

Publications (1)

Publication Number Publication Date
JP2011005674A true JP2011005674A (en) 2011-01-13

Family

ID=43562920

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009149278A Pending JP2011005674A (en) 2009-06-24 2009-06-24 Image forming apparatus, memory control circuit, and memory circuit

Country Status (1)

Country Link
JP (1) JP2011005674A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0689196A (en) * 1992-09-07 1994-03-29 Hitachi Ltd Computer system and main memory controller
JPH06309236A (en) * 1993-04-21 1994-11-04 Nec Corp Illegal write detecting circuit for memory
JP2004127032A (en) * 2002-10-03 2004-04-22 Seiko Epson Corp Recorder, computer system and recording method
JP2005066894A (en) * 2003-08-20 2005-03-17 Fuji Xerox Co Ltd Image forming apparatus and power-saving control method therefor
JP2009098869A (en) * 2007-10-16 2009-05-07 Kyocera Mita Corp Information processing device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0689196A (en) * 1992-09-07 1994-03-29 Hitachi Ltd Computer system and main memory controller
JPH06309236A (en) * 1993-04-21 1994-11-04 Nec Corp Illegal write detecting circuit for memory
JP2004127032A (en) * 2002-10-03 2004-04-22 Seiko Epson Corp Recorder, computer system and recording method
JP2005066894A (en) * 2003-08-20 2005-03-17 Fuji Xerox Co Ltd Image forming apparatus and power-saving control method therefor
JP2009098869A (en) * 2007-10-16 2009-05-07 Kyocera Mita Corp Information processing device

Similar Documents

Publication Publication Date Title
US8700935B2 (en) Power supply unit configured to not control a power supply from reducing the power state to a mirroring unit and storage units during a rebuild operation even when such power reducing state is satisfied
JP5460167B2 (en) Information processing apparatus, control method for information processing apparatus, and control program
TWI331274B (en)
CN104735278B (en) The control method of information processing unit and information processing unit
US20100153622A1 (en) Data Access Controller and Data Accessing Method
JP2020080097A (en) Information processing apparatus capable of detecting alteration of software
US20200264807A1 (en) Information processing apparatus and method for controlling the same
JP2009009323A (en) Setting device, electronic equipment, and setting program
JP2011005674A (en) Image forming apparatus, memory control circuit, and memory circuit
JP2015215684A (en) Information processing apparatus and information processing program
JP2007249808A (en) Function extension system and function extension equipment
JP2010068355A (en) Electronic apparatus and method of controlling the same
JP5966305B2 (en) Printing device
US7457943B2 (en) Controller, image processing apparatus, and method of controlling execution of program
JP2003337759A (en) Flash memory controller
JP4474574B2 (en) Computer
JP7447668B2 (en) Electronic equipment and control methods for electronic equipment
JP2020088490A (en) Information processing device capable of detecting tampering with software
JP6415633B2 (en) Information processing apparatus and control method thereof
JP2014059713A (en) Information processor and repair method therefor
JP2021179787A (en) Information processing apparatus, control method thereof, and program
JP2016115075A (en) Processing system and method for controlling processing system
JP2001249738A (en) Electronic equipment, reset control method and storage medium
JP2006048369A (en) Interface circuit for card type memory, asic mounted with the same and image forming apparatus mounted with asic
JP5720206B2 (en) Microprocessor

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110824

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130130

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130206

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20130611