JP2005242512A - Data processor - Google Patents

Data processor Download PDF

Info

Publication number
JP2005242512A
JP2005242512A JP2004049097A JP2004049097A JP2005242512A JP 2005242512 A JP2005242512 A JP 2005242512A JP 2004049097 A JP2004049097 A JP 2004049097A JP 2004049097 A JP2004049097 A JP 2004049097A JP 2005242512 A JP2005242512 A JP 2005242512A
Authority
JP
Japan
Prior art keywords
data
control program
area
program
read
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.)
Granted
Application number
JP2004049097A
Other languages
Japanese (ja)
Other versions
JP4556104B2 (en
Inventor
Hidenori Hirao
英典 平尾
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.)
Murata Machinery Ltd
Original Assignee
Murata Machinery Ltd
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 Murata Machinery Ltd filed Critical Murata Machinery Ltd
Priority to JP2004049097A priority Critical patent/JP4556104B2/en
Publication of JP2005242512A publication Critical patent/JP2005242512A/en
Application granted granted Critical
Publication of JP4556104B2 publication Critical patent/JP4556104B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a data processor whose power supply is not backed-up for preventing the generation of such a problem that a system is not started even when power failure is generated during the update of a control program. <P>SOLUTION: This data processor 1 is provided with a selecting means which selects the storage place of a control program to be read and executed from a plurality of predetermined storage places on the basis of identification information and a writing means which writes received rewrite data in a storage place different from the storage place where the control program under execution is read among the plurality of predetermined storage places. <P>COPYRIGHT: (C)2005,JPO&NCIPI

Description

本発明は、データ処理装置に関し、詳しくは外部から受信した制御プログラムの書換データにより自装置のメモリに記憶されている制御プログラムをアップデートするデータ処理装置に関するものである。   The present invention relates to a data processing apparatus, and more particularly to a data processing apparatus that updates a control program stored in a memory of the apparatus itself with rewrite data of the control program received from the outside.

制御プログラムのアップデートを比較的頻繁に行う必要があるデータ処理装置では、書換え可能なフラッシュメモリ等に自身の制御プログラムが記憶されており、該フラッシュメモリの制御プログラムを外部から受信した書換データに書換えることにより、制御プログラムのアップデート処理が行われている。   In a data processing apparatus that needs to update a control program relatively frequently, its own control program is stored in a rewritable flash memory or the like, and the control program for the flash memory is rewritten to rewritten data received from the outside. Thus, the update process of the control program is performed.

このようなアップデート処理を行うものとして、例えば、特許文献1に開示されているメモリ書換システムがある。特許文献1のメモリ書換システム40では、図5に示すように、まず、外部端末装置41のCPU(Central Processing Unit)42によって記憶装置43から読み出された書換データがデータ送信回路44によってI/F45からデータ処理装置46へと送信される。そして、データ処理装置46のデータ受信回路47がI/F48から入力された書換データを受信すると、その書換データは一旦RAM(Random Access Memory)49に格納され、CPU50がフラッシュメモリ51の制御プログラムをRAM49に格納された書換データに書換えることにより制御プログラムのアップデート処理が行われる。   As an example of performing such an update process, there is a memory rewriting system disclosed in Patent Document 1. In the memory rewriting system 40 of Patent Document 1, as shown in FIG. 5, first, rewrite data read from a storage device 43 by a CPU (Central Processing Unit) 42 of an external terminal device 41 is transferred to an I / O by a data transmission circuit 44. The data is transmitted from F45 to the data processing device 46. When the data receiving circuit 47 of the data processing device 46 receives the rewritten data input from the I / F 48, the rewritten data is temporarily stored in a RAM (Random Access Memory) 49, and the CPU 50 executes a control program for the flash memory 51. The control program is updated by rewriting the rewritten data stored in the RAM 49.

なお、このメモリ書換システム40では、電源切換回路52によって本体電源53からデータ処理装置46の各部への電力供給が常時監視されており、電源切換回路52は、アップデート処理中に本体電源53からデータ処理装置46の各部への電力供給が遮断された場合に、外部端末装置41のバックアップ電源54から伝送ケーブル55を介して電力が供給されるように電力供給経路を切換える。したがって、データ処理装置46は、制御プログラムのアップデート中に停電等により本体電源53からデータ処理装置46の各部への電力供給が遮断されたとしても、その影響を受けることなくアップデート処理を継続して行うことができる。
特開平8−69346号公報
In this memory rewriting system 40, the power supply switching circuit 52 constantly monitors the power supply from the main body power supply 53 to each part of the data processing device 46, and the power supply switching circuit 52 receives data from the main body power supply 53 during the update process. When power supply to each part of the processing device 46 is interrupted, the power supply path is switched so that power is supplied from the backup power supply 54 of the external terminal device 41 via the transmission cable 55. Therefore, even if the power supply from the main power source 53 to each part of the data processing device 46 is interrupted due to a power failure or the like during the update of the control program, the data processing device 46 continues the update processing without being affected by it. It can be carried out.
JP-A-8-69346

しかしながら、特許文献1のメモリ書換システム40とは異なり、電力供給がバックアップされないシステム、例えばLAN(Local Area Network)やインターネット等を介してアップデート処理が行われるシステムにおいては、制御プログラムのアップデート中に停電等が発生した場合に、データ処理装置のフラッシュメモリの制御プログラムが書換え途中のままの不完全なものとなり、最悪の場合、データ処理装置のシステムが起動しなくなるという問題があった。   However, unlike the memory rewriting system 40 of Patent Document 1, in a system in which power supply is not backed up, for example, a system in which update processing is performed via a LAN (Local Area Network), the Internet, or the like, a power failure occurs during control program update. In such a case, the control program of the flash memory of the data processing device becomes incomplete while being rewritten, and in the worst case, there is a problem that the system of the data processing device cannot be started.

本発明は、かかる課題に鑑みてなされたものであり、電力供給がバックアップされていないデータ処理装置において、制御プログラムのアップデート中に停電等が発生したとしても、システムが起動しなくなるという問題が発生するのを防止することができるデータ処理装置を提供することを目的とする。   The present invention has been made in view of such a problem, and in a data processing apparatus whose power supply is not backed up, even if a power failure or the like occurs during a control program update, there is a problem that the system does not start up. It is an object of the present invention to provide a data processing apparatus that can prevent this from happening.

上記目的を達成するために、請求項1記載のデータ処理装置は、読み出して実行すべき制御プログラムの記憶場所を識別情報に基づいて所定の複数の記憶場所から選択する選択手段と、実行中の制御プログラムと同じ制御プログラムの書換データを外部から受信した場合に、前記所定の複数の記憶場所のうち、前記実行中の制御プログラムが読み出された記憶場所と異なる記憶場所に、受信した前記書換データを書込む書込み手段と、を備えることを特徴としている。   In order to achieve the above object, a data processing apparatus according to claim 1, wherein a selection means for selecting a storage location of a control program to be read out and executed from a plurality of predetermined storage locations based on identification information; When the rewrite data of the same control program as the control program is received from the outside, the received rewrite is received in a memory location different from the memory location from which the control program being executed is read out among the predetermined plurality of memory locations. And writing means for writing data.

請求項2記載のデータ処理装置は、請求項1に記載のデータ処理装置において、前記書換データが前記異なる記憶場所に書込まれた場合に、前記選択手段が前記読み出して実行すべき制御プログラムの記憶場所として前記異なる記憶場所を選択するように、前記識別情報を変更する変更手段を備えることを特徴としている。   The data processing device according to claim 2 is the data processing device according to claim 1, wherein when the rewrite data is written in the different storage location, the selection means reads the control program to be executed. It is characterized by comprising a changing means for changing the identification information so as to select the different storage location as the storage location.

請求項1に記載のデータ処理装置では、実行中の制御プログラムが読み出された記憶場所と異なる記憶場所に受信した書換データが書込まれるので、たとえ、異なる記憶場所への書換データの書込み中に停電等が発生して異なる記憶場所の制御プログラムが不完全なものになったとしても、実行中の制御プログラムを読み出した記憶場所から再度制御プログラムを読み出して実行することができる。したがって、一つの記憶場所の制御プログラムが受信した書換データに書換えられる従来のデータ処理装置のように、停電等が発生した場合にシステムが起動しなくなるということはない。   In the data processing device according to claim 1, since the rewritten data received is written in a memory location different from the memory location from which the control program being executed is read, the rewrite data is being written to a different memory location. Even if a power failure or the like occurs and a control program in a different storage location becomes incomplete, the control program can be read again from the storage location from which the control program being executed is read and executed. Therefore, unlike the conventional data processing apparatus that rewrites the rewrite data received by the control program in one storage location, the system does not stop when a power failure occurs.

請求項2に記載のデータ処理装置によれば、請求項1に記載のデータ処理装置の効果に加え、受信した書換データが実行中の制御プログラムが読み出された記憶場所と異なる記憶場所に書込まれた場合に、異なる記憶場所から制御プログラムを読み出して実行するように記憶場所の選択が変更されるため、次回システム起動時からアップデートされた最新の制御プログラムを読み出して実行することができる。   According to the data processing device of claim 2, in addition to the effect of the data processing device of claim 1, the received rewrite data is written to a storage location different from the storage location from which the control program being executed is read. In this case, since the selection of the storage location is changed so that the control program is read out and executed from a different storage location, the latest control program updated from the next system startup can be read out and executed.

以下、本発明の実施の形態に係るデータ処理装置を、LPD(Line Printer Daemon)プロトコルに基づいてLAN(Local Area Network)上のクライアントPCから受信したプリントデータを複合機の印刷処理モジュールに転送するLPDサーバ機能を備えたネットワーク インターフェース コントローラに適用した場合について、図面に基づき説明する。   Hereinafter, the data processing apparatus according to the embodiment of the present invention transfers print data received from a client PC on a LAN (Local Area Network) based on an LPD (Line Printer Daemon) protocol to the print processing module of the multifunction peripheral. A case where the present invention is applied to a network interface controller having an LPD server function will be described with reference to the drawings.

このデータ処理装置1は、図1に例示するように、コピー機能、ファクシミリ機能、PCスキャナ機能、PCプリント機能等を備えた複合機2に組込まれており、LAN3上のクライアントPC4からLAN3を介して送信されたプリントデータ等を複合機2に転送したり、逆に複合機2において読取られた原稿の画像データ等をクライアントPC4に送信するものである。   As illustrated in FIG. 1, the data processing apparatus 1 is incorporated in a multi-function device 2 having a copy function, a facsimile function, a PC scanner function, a PC print function, and the like, and from a client PC 4 on the LAN 3 via the LAN 3. The print data transmitted in this way is transferred to the multifunction device 2, and conversely, the image data of the original read by the multifunction device 2 is transmitted to the client PC 4.

このデータ処理装置1にプリントデータを送信するクライアントPC4は、一般的な機能を備えたPC(Personal Computer)であり、LPR(Line Printer Remote)プロトコルに基づいてLAN3上の他のクライアントPC4と通信を行ったり、データ処理装置1にプリントデータの印刷要求を行った後、該プリントデータを送信する。具体的には、プリントデータの送信に先立って、プリントデータのファイル名等の制御用データが格納されたコントロールファイルをデータ処理装置1に送信した後に、プリントデータを送信する。   A client PC 4 that transmits print data to the data processing apparatus 1 is a PC (Personal Computer) having a general function, and communicates with other client PCs 4 on the LAN 3 based on an LPR (Line Printer Remote) protocol. Or after making a print request for print data to the data processing apparatus 1, the print data is transmitted. Specifically, prior to transmission of the print data, a control file storing control data such as a file name of the print data is transmitted to the data processing apparatus 1 and then the print data is transmitted.

また、このクライアントPC4は、プリントデータをデータ処理装置1に送信する上記の手順と同じ手順にてデータ処理装置1が制御プログラム(ファームウェア)をアップデートするための書換データをデータ処理装置1に送信する。すなわち、クライアントPC4は、プリントデータ又は書換データのいずれかであるデータファイルの送信に先立って、まず、データファイルのファイル名等が格納されたコントロールファイルをデータ処理装置1に送信し、その後、データファイルを送信する。なお、このデータファイルの他には、複合機2からファクシミリ送信させるための原稿の画像データがクライアントPC4から送信される。   The client PC 4 transmits rewrite data for updating the control program (firmware) to the data processing apparatus 1 by the same procedure as the above-described procedure for transmitting print data to the data processing apparatus 1. . That is, prior to transmission of a data file that is either print data or rewrite data, the client PC 4 first transmits a control file in which the file name of the data file is stored to the data processing apparatus 1, and then the data file Send the file. In addition to this data file, document image data for facsimile transmission from the multifunction device 2 is transmitted from the client PC 4.

一方、データ処理装置1は、図示するように、制御部(MPU:Microprocessing Unit)5、インターフェース回路6、Flash ROM(Read Only Memory)7、SDRAM(Synchronous Dynamic Random Access Memory)8を備えたものであり、各部5乃至8は、バス9によって通信可能に接続されている。また、データ処理装置1は、複合機2と通信可能に接続されている。   On the other hand, the data processing apparatus 1 includes a control unit (MPU: Microprocessing Unit) 5, an interface circuit 6, a flash ROM (Read Only Memory) 7, and an SDRAM (Synchronous Dynamic Random Access Memory) 8, as shown in the figure. Yes, the respective units 5 to 8 are connected by a bus 9 so as to be communicable. The data processing device 1 is connected to the multifunction device 2 so as to be communicable.

制御部5は、Flash ROM7に記憶されている制御プログラムに従って、このデータ処理装置1を構成する各部を制御する。インターフェース回路6は、制御部5が実行中の制御プログラムと同じ制御プログラムの書換データを外部から受信するものであり、ここではクライアントPC4から送信された書換データを受信する。なお、インターフェース回路6は、書換データの他にクライアントPC4から送信されたプリントデータを受信し、複合機2から出力された画像データ等をLAN3上のクライアントPC4に送信する。また、インターフェース回路6は、クライアントPC4からプリントデータ又は書換データであるデータファイルを受信する場合には、まずクライアントPC4から送信されたコントロールファイルを受信した後、データファイルを受信する。   The control unit 5 controls each unit constituting the data processing device 1 according to a control program stored in the flash ROM 7. The interface circuit 6 receives rewrite data of the same control program as the control program being executed by the control unit 5 from the outside, and receives rewrite data transmitted from the client PC 4 here. The interface circuit 6 receives print data transmitted from the client PC 4 in addition to the rewrite data, and transmits image data output from the multi-function device 2 to the client PC 4 on the LAN 3. Further, when receiving a data file that is print data or rewrite data from the client PC 4, the interface circuit 6 first receives the control file transmitted from the client PC 4, and then receives the data file.

Flash ROM7は、制御部5によってデータ処理装置1の各部が制御されるための制御プログラム等を記憶するフラッシュメモリである。SDRAM8は、制御部5の主メモリ、ワークエリア等として機能し、インターフェース回路6が外部から受信した書換データ等を一時的に格納する。図2は、このFlash ROM7とSDRAM8の記憶領域を論理的に示したものであり、Flash ROM7は、ブートエリア11、識別エリア12、プライマリプログラムエリア13、及びセカンダリプログラムエリア14に論理的に分割されている。一方、SDRAM8は、プログラムエリア15とデータエリア16に論理的に分割されている。   The flash ROM 7 is a flash memory that stores a control program for controlling each unit of the data processing device 1 by the control unit 5. The SDRAM 8 functions as a main memory, work area, and the like of the control unit 5 and temporarily stores rewrite data received from the outside by the interface circuit 6. FIG. 2 logically shows the storage areas of the flash ROM 7 and the SDRAM 8. The flash ROM 7 is logically divided into a boot area 11, an identification area 12, a primary program area 13, and a secondary program area 14. ing. On the other hand, the SDRAM 8 is logically divided into a program area 15 and a data area 16.

Flash ROM7のブートエリア11は、システム起動時に実行される基本プログラムを記憶している。プライマリプログラムエリア13及びセカンダリプログラムエリア14は、読み出して実行すべき制御プログラムの記憶場所であり、同じサイズで構成されている。本発明の実施の形態においては、Flash ROM7が所定の複数の記憶場所として、このプライマリプログラムエリア13とセカンダリプログラムエリア14の2つの記憶場所(以下、「エリア」ともいう。)を備えている場合について説明する。   The boot area 11 of the flash ROM 7 stores a basic program that is executed when the system is started. The primary program area 13 and the secondary program area 14 are storage locations for control programs to be read and executed, and are configured in the same size. In the embodiment of the present invention, the flash ROM 7 includes two storage locations (hereinafter also referred to as “areas”) of the primary program area 13 and the secondary program area 14 as a plurality of predetermined storage locations. Will be described.

プライマリプログラムエリア13とセカンダリプログラムエリア14が記憶する制御プログラムは、クライアントPC4との間でLPDプロトコルに基づいて所定の通信処理を行うための通信処理プログラムや、受信した書換データにより自装置1の制御プログラムをアップデートするための書換処理プログラムや、受信したプリントデータを複合機2の印刷処理モジュールに転送するための転送処理プログラム等である。そして、これらの制御プログラムがプライマリプログラムエリア13とセカンダリプログラムエリア14のうちのいずれか一方又は両方に記憶されるようになっている。   The control program stored in the primary program area 13 and the secondary program area 14 is a communication processing program for performing predetermined communication processing with the client PC 4 based on the LPD protocol, and the control of the device 1 by the received rewrite data. A rewrite processing program for updating the program, a transfer processing program for transferring the received print data to the print processing module of the multifunction peripheral 2, and the like. These control programs are stored in either one or both of the primary program area 13 and the secondary program area 14.

識別エリア12は、プライマリプログラムエリア13とセカンダリプログラムエリア14の2つのエリアのうちのいずれのエリアから制御プログラムをロードして実行するか、すなわち2つのエリアのうちのいずれのエリアから制御プログラムを読み出して実行するかを示す識別情報を記憶している。制御部5は、読み出して実行すべき制御プログラムの記憶場所を識別情報に基づいて所定の複数の記憶場所から選択する選択手段として機能する。ここでは、制御部5は、読み出して実行すべき制御プログラムのエリアをこの識別エリア12に記憶されている識別情報に基づいて、プライマリプログラムエリア13とセカンダリプログラムエリア14から選択する。本発明の実施の形態においては、所定の複数の記憶場所がプライマリプログラムエリア13とセカンダリプログラムエリア14の2つであるため、識別エリア12には、識別情報として例えば「1」又は「2」が記憶されている。   The identification area 12 loads and executes the control program from any one of the two areas of the primary program area 13 and the secondary program area 14, that is, reads the control program from any of the two areas. Identification information indicating whether or not to execute. The control unit 5 functions as a selection unit that selects a storage location of a control program to be read and executed from a plurality of predetermined storage locations based on the identification information. Here, the control unit 5 selects a control program area to be read and executed from the primary program area 13 and the secondary program area 14 based on the identification information stored in the identification area 12. In the embodiment of the present invention, since the predetermined plural storage locations are the primary program area 13 and the secondary program area 14, for example, “1” or “2” is included in the identification area 12 as identification information. It is remembered.

SDRAM8のプログラムエリア15は、Flash ROM7のプライマリプログラムエリア13又はセカンダリプログラムエリア14から読み出して実行すべき制御プログラムが格納されるエリアである。データエリア16は、データ処理装置1が受信した書換データやプリントデータ等が一時的に格納されるエリアである。なお、図示していないが、プログラムエリア15の所定領域には、特定の文字列及び文字数が格納されている。制御部5は、クライアントPC4からコントロールファイルを受信したときに、そのコントロールファイルに格納されているファイル名にこの特定の文字列が含まれ、且つファイル名の文字数が前記特定の文字数と一致する場合に、後に送られてくるデータファイルが書換データであると判断し、その他の場合はプリントデータであると判断する。したがって、制御部5は、クライアントPC4からデータファイルを受信する前に、送られてくるデータファイルがプリントデータであるか又は書換データであるかを判断することができる。制御部5は、この判断結果に基づいて、インターフェース回路6がクライアントPC4からプリントデータを受信した場合には、そのプリントデータをSDRAM8に一旦格納した後、複合機2の印刷処理モジュールへと転送する。一方、インターフェース回路6がクライアントPC4から書換データを受信した場合には、その書換データにより自装置1の制御プログラムをアップデートする。   The program area 15 of the SDRAM 8 is an area in which a control program to be read and executed from the primary program area 13 or the secondary program area 14 of the flash ROM 7 is stored. The data area 16 is an area in which rewrite data, print data, etc. received by the data processing device 1 are temporarily stored. Although not shown, a specific character string and the number of characters are stored in a predetermined area of the program area 15. When the control unit 5 receives a control file from the client PC 4, the file name stored in the control file includes this specific character string, and the number of characters in the file name matches the specific number of characters. In addition, it is determined that the data file sent later is rewrite data, and in other cases, it is determined that the data file is print data. Therefore, the control unit 5 can determine whether the data file sent is print data or rewrite data before receiving the data file from the client PC 4. Based on the determination result, when the interface circuit 6 receives print data from the client PC 4, the control unit 5 temporarily stores the print data in the SDRAM 8 and then transfers the print data to the print processing module of the multifunction device 2. . On the other hand, when the interface circuit 6 receives rewrite data from the client PC 4, it updates the control program of the own device 1 with the rewrite data.

以下、プライマリプログラムエリア13から読み出した制御プログラムを実行中にインターフェース回路6が書換データを受信した場合を例として、制御部5によって行われる制御プログラムのアップデート処理について説明する。制御部5は、プライマリプログラムエリア13から読み出してSDRAM8のプログラムエリア15に格納した制御プログラムを実行中に、インターフェース回路6が書換データを受信したと判断した場合、受信した書換データをSDRAM8のデータエリア16に一旦格納する。   Hereinafter, the control program update process performed by the control unit 5 will be described by taking as an example the case where the interface circuit 6 receives rewrite data while executing the control program read from the primary program area 13. When the control unit 5 determines that the interface circuit 6 has received the rewrite data while executing the control program read from the primary program area 13 and stored in the program area 15 of the SDRAM 8, the received rewrite data is stored in the data area of the SDRAM 8. 16 is temporarily stored.

そして、制御部5は、システム起動時に既にプライマリプログラムエリア13から読み出されてプログラムエリア15に格納されている書換処理プログラムに従って、まず識別情報が「1」であるか又は「2」であるかを判断する。すなわち、実行中の制御プログラムが読み出されたエリア(記憶場所)がプライマリプログラムエリア13であるか又はセカンダリプログラムエリア14であるかを判断する。なお、この場合、識別情報は「1」であるため、実行中の制御プログラムが読み出されたエリアはプライマリプログラムエリア13であり、識別情報「2」に対応するセカンダリプログラムエリア14からは制御プログラムが読み出されていないと判断することができる。   Then, the control unit 5 first determines whether the identification information is “1” or “2” according to the rewrite processing program that has been read from the primary program area 13 and stored in the program area 15 when the system is started. Judging. That is, it is determined whether the area (storage location) from which the control program being executed is read is the primary program area 13 or the secondary program area 14. In this case, since the identification information is “1”, the area from which the control program being executed is read is the primary program area 13, and the control program starts from the secondary program area 14 corresponding to the identification information “2”. It can be determined that is not read out.

続いて、制御部5は、実行中の制御プログラムが読み出されたエリアと異なるエリア、すなわち、セカンダリプログラムエリア14に、受信した書換データを書込むことにより、制御プログラムをアップデートする。なお、本発明における書込む処理は、記憶場所に制御プログラムが記憶されていない場合には書換データを記憶場所に書込む処理であり、制御プログラムが記憶されている場合には、その制御プログラムを書換データに書換える処理である。すなわち、ここでは、セカンダリプログラムエリア14に制御プログラムが記憶されていない場合には該セカンダリプログラムエリア14に書換データを書込み、制御プログラムが記憶されている場合にはその記憶されている制御プログラムを書換データに書換える。したがって、制御部5は、実行中の制御プログラムと同じ制御プログラムの書換データを外部から受信した場合に、所定の複数の記憶場所のうち、実行中の制御プログラムが読み出された記憶場所と異なる記憶場所に、受信した書換データを書込む書込み手段として機能する。   Subsequently, the control unit 5 updates the control program by writing the received rewrite data in an area different from the area where the control program being executed is read, that is, the secondary program area 14. The process of writing in the present invention is a process of writing rewrite data to the storage location when the control program is not stored in the storage location. If the control program is stored, the control program is This is a process of rewriting to rewritten data. That is, here, when the control program is not stored in the secondary program area 14, the rewrite data is written in the secondary program area 14, and when the control program is stored, the stored control program is rewritten. Rewrite to data. Accordingly, when the control unit 5 receives rewrite data of the same control program as the control program being executed from the outside, the control unit 5 is different from the storage location from which the control program being executed is read out of a plurality of predetermined storage locations. It functions as a writing means for writing the received rewrite data in the storage location.

このようにして、制御プログラムのアップデート処理が完了すると、複合機2において再起動の処理が行われる。その際、データ処理装置1の制御部5は、識別エリア12の識別情報を「2」に変更する。これにより、次回システムが起動した際には、制御部5は、識別情報「2」に対応するセカンダリプログラムエリア14から制御プログラムを読み出すことになり、アップデートされた最新の制御プログラムを実行することができる。したがって、制御部5は、書換データが異なる記憶場所に書込まれた場合に、読み出して実行すべき制御プログラムの記憶場所として異なる記憶場所を選択するように識別情報を変更する変更手段として機能する。なお、セカンダリプログラムエリア14から読み出した制御プログラムを実行中に書換データを受信した場合も、上記と同様の方法でプライマリプログラムエリア13への制御プログラムのアップデート処理が行われる。   In this way, when the control program update process is completed, the MFP 2 performs a restart process. At that time, the control unit 5 of the data processing device 1 changes the identification information of the identification area 12 to “2”. Thereby, when the system is started next time, the control unit 5 reads the control program from the secondary program area 14 corresponding to the identification information “2”, and can execute the latest updated control program. it can. Therefore, when the rewrite data is written in different storage locations, the control unit 5 functions as a changing unit that changes the identification information so as to select a different storage location as the storage location of the control program to be read and executed. . Even when rewrite data is received while the control program read from the secondary program area 14 is being executed, the update process of the control program to the primary program area 13 is performed in the same manner as described above.

一方、データ処理装置1から転送されたプリントデータの印刷処理を行う複合機2は、制御部(MPU)18、ROM19、RAM(Random Access Memory)20、原稿読取部21、コーデック(CODEC:Coder and Decoder)22、画像メモリ23、操作部24、表示部25、記録部26、及び通信部27を備えたものであって、各部18乃至27は、バス28によって通信可能に接続されている。   On the other hand, the multifunction device 2 that performs print processing of print data transferred from the data processing apparatus 1 includes a control unit (MPU) 18, a ROM 19, a RAM (Random Access Memory) 20, a document reading unit 21, a codec (CODER). Decoder) 22, image memory 23, operation unit 24, display unit 25, recording unit 26, and communication unit 27, and each unit 18 to 27 is communicably connected by a bus 28.

制御部18は、ROM19に記憶されているプログラムに従って、この複合機2を構成する各部を制御する。ROM19は、前記プログラムを記憶している。RAM20は、制御部18の主メモリ、ワークエリア等として機能し、ファクシミリ番号などの予め登録された各種設定情報を記憶している。原稿読取部21は、例えば、CCD(Charge Coupled Device)等のイメージセンサにより原稿の画像データを読取るものである。   The control unit 18 controls each unit constituting the multifunction machine 2 according to a program stored in the ROM 19. The ROM 19 stores the program. The RAM 20 functions as a main memory, a work area, and the like of the control unit 18 and stores various setting information registered in advance such as a facsimile number. The document reading unit 21 reads image data of a document with an image sensor such as a CCD (Charge Coupled Device).

コーデック22は、画像データの符号化(エンコード)及び復号(デコード)を行うものであり、原稿読取部21で読取られた原稿の画像データをMH(Modified Huffman)、MR(Modified Read)、MMR(Modified Modified Read)、JBIG(Joint Bi-level Image Group)方式等により符号化し、符号化されている画像データを復号する。画像メモリ23は、コーデック22によって符号化された原稿の画像データ、外部の装置(不図示)からファクシミリ受信した原稿の画像データ、データ処理装置1から転送されたプリントデータ等を格納する。   The codec 22 performs encoding (decoding) and decoding (decoding) of image data, and converts the image data of the document read by the document reading unit 21 into MH (Modified Huffman), MR (Modified Read), and MMR ( Modified Modified Read), JBIG (Joint Bi-level Image Group) method, etc., and decodes the encoded image data. The image memory 23 stores document image data encoded by the codec 22, document image data received by facsimile from an external device (not shown), print data transferred from the data processing device 1, and the like.

操作部24は、図示しないが原稿読取部21に原稿の読取開始を指示するためのスタートキー、コピー部数やファクシミリ番号等を入力するためのテンキー、各種設定を行うためのカーソルキーなど、表示部25と連動した各種操作キーを備えている。表示部25は、各種の設定状態や複合機2の動作状態などを文字や図形などで表示する液晶表示装置(LCD:Liquid Crystal Display)や、点灯又は消灯で表示するLEDランプなどを備えている。   Although not shown, the operation unit 24 includes a display unit such as a start key for instructing the document reading unit 21 to start reading a document, a numeric keypad for inputting the number of copies, a facsimile number, and the like, and a cursor key for performing various settings. Various operation keys linked to 25 are provided. The display unit 25 includes a liquid crystal display (LCD) that displays various setting states and operation states of the multifunction device 2 with characters, graphics, and the like, and an LED lamp that is turned on or off. .

記録部(印刷処理モジュール)26は、原稿読取部21において読み取られた原稿の画像データ、ファクシミリ受信した原稿の画像データ、及びデータ処理装置1から転送されたプリントデータの画像を用紙に記録するものである。すなわち、クライアントPC4から送信されたプリントデータがデータ処理装置1によって転送されると、転送されたプリントデータは画像メモリ23に一旦格納された後、この記録部26に転送されその画像が用紙に記録される。この記録部26における記録方式としては、例えば、電子写真方式を用いることができる。   The recording unit (print processing module) 26 records the image data of the document read by the document reading unit 21, the image data of the document received by facsimile, and the image of the print data transferred from the data processing device 1 on a sheet. It is. That is, when the print data transmitted from the client PC 4 is transferred by the data processing apparatus 1, the transferred print data is temporarily stored in the image memory 23 and then transferred to the recording unit 26, and the image is recorded on a sheet. Is done. As a recording method in the recording unit 26, for example, an electrophotographic method can be used.

通信部27は、モデム29及びNCU(Network Control Unit)30を備えている。モデム29は、例えばITU−T(国際電気通信連合電気通信標準化部門)の勧告V.34規格又はこれと同様のものに従って送受信データの変調及び復調を行うものである。NCU30は、電話回線を制御して電話をかけたり、切ったりする回線網制御装置であり、PSTN(Public Switched Telephone Network)31に接続されている。   The communication unit 27 includes a modem 29 and an NCU (Network Control Unit) 30. The modem 29 is, for example, a recommendation V.16 of ITU-T (International Telecommunication Union Telecommunication Standardization Sector). The transmission and reception data are modulated and demodulated in accordance with the 34 standard or the like. The NCU 30 is a line network control device that controls a telephone line to make or cut a call, and is connected to a PSTN (Public Switched Telephone Network) 31.

以下、システム起動時に、データ処理装置1において行われる処理動作について、図3に示すフローチャートに基づいて説明する。なお、図3のフローチャートに基づいて説明するデータ処理装置1の処理動作は、ブートエリア11に記憶されている基本プログラムに基づいて制御部5が発行する命令に従って行われる。   Hereinafter, processing operations performed in the data processing apparatus 1 when the system is started will be described based on the flowchart shown in FIG. Note that the processing operation of the data processing device 1 described based on the flowchart of FIG. 3 is performed according to a command issued by the control unit 5 based on a basic program stored in the boot area 11.

制御部5は、例えば、複合機2の電源が投入されるなどして、データ処理装置1の各部に電力が供給されると、まずブートエリア11の基本プログラムを実行し(S1)、識別エリア12の識別情報が「1」であるか又は「2」であるかを判断する(S2)。ここで、識別情報が「1」であると判断した場合には(S2:識別情報「1」)、プライマリプログラムエリア13から制御プログラムを読出し(S3)、SDRAM8のプログラムエリア15に格納する。一方、識別情報が「2」であると判断した場合には(S2:識別情報「2」)、セカンダリプログラムエリア14から制御プログラムを読出し(S4)、SDRAM8のプログラムエリア15に格納する。   For example, when power is supplied to each unit of the data processing device 1 by turning on the power of the multifunction device 2, the control unit 5 first executes the basic program of the boot area 11 (S1), and the identification area. It is determined whether the identification information 12 is “1” or “2” (S2). If it is determined that the identification information is “1” (S2: identification information “1”), the control program is read from the primary program area 13 (S3) and stored in the program area 15 of the SDRAM 8. On the other hand, when it is determined that the identification information is “2” (S2: identification information “2”), the control program is read from the secondary program area 14 (S4) and stored in the program area 15 of the SDRAM 8.

このように、本発明の実施の形態に係るデータ処理装置1においては、識別エリア12の識別情報に基づいてプライマリプログラムエリア13又はセカンダリプログラムエリア14のいずれかのエリアから全ての制御プログラムが読み出され、必要に応じて制御部5によって実行されるようになっている。   Thus, in the data processing device 1 according to the embodiment of the present invention, all control programs are read from either the primary program area 13 or the secondary program area 14 based on the identification information of the identification area 12. And is executed by the control unit 5 as necessary.

以下、上記のようにプライマリプログラムエリア13又はセカンダリプログラムエリア14から読み出した制御プログラムを実行中に、クライアントPC4からデータファイルを受信した場合に、データ処理装置1において行われる処理動作について図4に示すフローチャートに基づき説明する。なお、図4のフローチャートで説明するデータ処理装置1の処理動作は、識別エリア12の識別情報に基づきプライマリプログラムエリア13又はセカンダリプログラムエリア14のいずれか一方から読み出した制御プログラムに基づいて制御部5が発行する命令に従って行われる。   FIG. 4 shows processing operations performed in the data processing apparatus 1 when a data file is received from the client PC 4 while the control program read from the primary program area 13 or the secondary program area 14 is being executed as described above. This will be described based on a flowchart. The processing operation of the data processing device 1 described in the flowchart of FIG. 4 is performed based on the control program read from either the primary program area 13 or the secondary program area 14 based on the identification information of the identification area 12. Is performed according to the instructions issued by

データ処理装置1の制御部5は、プライマリプログラムエリア13又はセカンダリプログラムエリア14から読み出した制御プログラムを実行中に、LAN3上のクライアントPC4から送信されたデータファイルをインターフェース回路6が受信したと判断した場合(S6:YES)、受信したデータファイルをSDRAM8のデータエリア16に格納し、データファイルが書換データであるか否かを判断する(S7)。なお、本発明の実施の形態においては、データ処理装置1は、上記の通りデータファイルを受信する前に受信したコントロールファイルに格納されているデータファイルのファイル名から、データファイルが書換データであるか否かを判断できるため、S6の判断処理の前にS7の判断処理が既に行われており、その判断結果に基づいて以降の処理が行われる。また、コントロールファイルではなく、データファイル内に該データファイルが書換データであるか否かを示す情報が格納されている場合には、データファイル受信後にその情報に基づいてデータファイルが書換データであるか否かを判断する。   The control unit 5 of the data processing apparatus 1 determines that the interface circuit 6 has received the data file transmitted from the client PC 4 on the LAN 3 while executing the control program read from the primary program area 13 or the secondary program area 14. In the case (S6: YES), the received data file is stored in the data area 16 of the SDRAM 8, and it is determined whether or not the data file is rewritten data (S7). In the embodiment of the present invention, the data processing apparatus 1 uses the file name of the data file stored in the control file received before receiving the data file as described above, so that the data file is rewritten data. Since the determination process of S7 has already been performed before the determination process of S6, the subsequent processes are performed based on the determination result. In addition, when information indicating whether the data file is rewritten data is stored in the data file instead of the control file, the data file is the rewritten data based on the information after receiving the data file. Determine whether or not.

制御部5は、データファイルが書換データである場合(S7:YES)、識別エリア12の識別情報が「1」であるか又は「2」であるかを判断する(S8)。ここで、識別エリア12の識別情報が「1」であると判断した場合(S8:識別情報「1」)、すなわち、プライマリプログラムエリア13から制御プログラムを読み出して実行中である場合、セカンダリプログラムエリア14に受信した書換データを書込む(S9)。具体的には、セカンダリプログラムエリア14に制御プログラムが記憶されていない場合には書換データを書込み、制御プログラムが記憶されている場合には記憶されているその制御プログラムを書換データに書換える。   When the data file is rewritten data (S7: YES), the controller 5 determines whether the identification information in the identification area 12 is “1” or “2” (S8). Here, when it is determined that the identification information of the identification area 12 is “1” (S8: identification information “1”), that is, when the control program is read from the primary program area 13 and is being executed, the secondary program area The received rewrite data is written in 14 (S9). Specifically, when no control program is stored in the secondary program area 14, the rewrite data is written, and when the control program is stored, the stored control program is rewritten to the rewrite data.

なお、仮にS9の書込み中に停電等が発生してデータ処理装置1の各部への電力供給が遮断されると、制御部5は、以降の処理を行うことはできず、また、セカンダリプログラムエリア14の制御プログラムは書込み途中であるために不完全なものとなる。このような障害が発生した後にシステムを起動させると、図3に基づいて説明したように制御部5は、ブートエリアの基本プログラムを実行し(S1)、識別情報が「1」であるか又は「2」であるかを判断する(S2)。ここでは、識別情報は「1」であるため(S2:識別情報「1」)、障害が発生する前と同じプライマリプログラムエリア13から制御プログラムを読み出して実行することができる。したがって、再度書換データを外部から受信してセカンダリプログラムエリア14への書換データの再書込みを行うことができる。   If a power failure or the like occurs during the writing of S9 and the power supply to each unit of the data processing device 1 is interrupted, the control unit 5 cannot perform the subsequent processing, and the secondary program area The control program 14 is incomplete because it is being written. When the system is started after such a failure occurs, the control unit 5 executes the basic program of the boot area as described with reference to FIG. 3 (S1), and the identification information is “1” or It is determined whether it is “2” (S2). Here, since the identification information is “1” (S2: identification information “1”), the control program can be read and executed from the same primary program area 13 as before the failure occurred. Therefore, the rewrite data can be received again from the outside and rewritten to the secondary program area 14 can be rewritten.

制御部5は、このような停電等の障害が発生することなくS9の書込み処理を行った場合、S9の書込み処理が成功したか否かを判断する(S10)。この判断処理は、例えばセカンダリプログラムエリア14に書込まれた書換データとSDRAM8のデータエリア16の書換データとを比較することにより行うことができる。ここで、書込み処理が成功していないと判断した場合には(S10:NO)、書込み処理が成功するまでS9の処理を継続して行う。そして、書込み処理が成功したと判断した場合には(S10:YES)、識別エリア12の識別情報を「2」に変更する(S11)。したがって、次回システム起動時には、制御部5は、識別情報「2」に対応するセカンダリプログラムエリア14から、アップデートされた新しい制御プログラムを読み出して実行することができる。   When the writing process in S9 is performed without occurrence of such a failure such as a power failure, the control unit 5 determines whether or not the writing process in S9 is successful (S10). This determination process can be performed, for example, by comparing the rewrite data written in the secondary program area 14 with the rewrite data in the data area 16 of the SDRAM 8. If it is determined that the writing process is not successful (S10: NO), the process of S9 is continued until the writing process is successful. If it is determined that the writing process is successful (S10: YES), the identification information in the identification area 12 is changed to “2” (S11). Therefore, at the next system startup, the control unit 5 can read and execute the updated new control program from the secondary program area 14 corresponding to the identification information “2”.

一方、制御部5は、識別エリア12の識別情報が「2」であると判断した場合(S8:識別情報「2」)、すなわち、セカンダリプログラムエリア14から制御プログラムを読み出して実行中である場合、プライマリプログラムエリア13に受信した書換データを書込む(S12)。具体的には、プライマリプログラムエリア13に制御プログラムが記憶されていない場合には書換データを書込み、制御プログラムが記憶されている場合には記憶されているその制御プログラムを書換データに書換える。   On the other hand, when the control unit 5 determines that the identification information of the identification area 12 is “2” (S8: identification information “2”), that is, when the control program is read from the secondary program area 14 and is being executed. The received rewrite data is written in the primary program area 13 (S12). Specifically, when no control program is stored in the primary program area 13, rewrite data is written, and when a control program is stored, the stored control program is rewritten to rewrite data.

なお、仮にS12の書込み中に停電等が発生してデータ処理装置1の各部への電力供給が遮断されると、制御部5は、以降の処理を行うことはできず、また、プライマリプログラムエリア13の制御プログラムは書込み途中であるために不完全なものとなる。このような障害が発生した後にシステムを起動させると、図3に基づいて説明したように制御部5は、ブートエリアの基本プログラムを実行し(S1)、識別情報が「1」であるか又は「2」であるかを判断する(S2)。ここでは、識別情報は「2」であるため(S2:識別情報「2」)、障害が発生する前と同じセカンダリプログラムエリア14から制御プログラムを読み出して実行することができる。したがって、再度書換データを外部から受信してプライマリプログラムエリア13への書換データの再書込みを行うことができる。   If a power failure or the like occurs during the writing of S12 and power supply to each unit of the data processing device 1 is interrupted, the control unit 5 cannot perform subsequent processing, and the primary program area The control program 13 is incomplete because it is being written. When the system is started after such a failure occurs, the control unit 5 executes the basic program of the boot area as described with reference to FIG. 3 (S1), and the identification information is “1” or It is determined whether it is “2” (S2). Here, since the identification information is “2” (S2: identification information “2”), the control program can be read and executed from the same secondary program area 14 as before the failure. Therefore, the rewrite data can be received again from the outside and rewritten to the primary program area 13 can be rewritten.

制御部5は、このような停電等の障害が発生することなくS12の書込み処理を行った場合、S10の処理と同様にS12の書込み処理が成功したか否かを判断する(S13)。ここで、書込み処理が成功していないと判断した場合には(S13:NO)、書込み処理が成功するまでS12の処理を継続して行う。そして、書込み処理が成功したと判断した場合には(S13:YES)、識別エリア12の識別情報を「1」に変更する(S14)。したがって、次回システム起動時には、制御部5は、識別情報「1」に対応するプライマリプログラムエリア13から、アップデートされた新しい制御プログラムを読み出して実行することができる。   When the writing process of S12 is performed without occurrence of such a failure such as a power failure, the control unit 5 determines whether or not the writing process of S12 is successful as in the process of S10 (S13). If it is determined that the writing process is not successful (S13: NO), the process of S12 is continued until the writing process is successful. If it is determined that the writing process is successful (S13: YES), the identification information in the identification area 12 is changed to “1” (S14). Therefore, at the next system startup, the control unit 5 can read and execute the updated new control program from the primary program area 13 corresponding to the identification information “1”.

一方、制御部5は、S7において、データファイルは書換データではないと判断した場合(S7:NO)、他の処理を実行する(S15)。例えば、S7において書換データではないと判断したデータファイルがプリントデータである場合には、受信したプリントデータをSDRAM8のデータエリア16に一旦格納した後、複合機2の印刷処理モジュールに転送する。このようにして転送されたプリントデータは、複合機2の画像メモリ23に一旦格納された後、記録部26においてその画像が用紙に記録される。   On the other hand, if the control unit 5 determines in S7 that the data file is not rewritten data (S7: NO), it executes another process (S15). For example, if the data file determined not to be rewritten data in S 7 is print data, the received print data is temporarily stored in the data area 16 of the SDRAM 8 and then transferred to the print processing module of the multifunction device 2. The print data transferred in this way is temporarily stored in the image memory 23 of the multifunction device 2 and then the image is recorded on the paper in the recording unit 26.

以上説明したように、このデータ処理装置1では、自装置1の各部を制御するための制御プログラムがFlash ROM7のプライマリプログラムエリア13とセカンダリプログラムエリア14の2つの記憶場所に記憶されるようになっており、一方の記憶場所への書換データのアップデート中に停電等が発生して制御プログラムが不完全なものになったとしても、他方の記憶場所から完全な状態の制御プログラムを読み出して実行することができる。すなわち、制御プログラムが記憶される記憶場所が分割されていないFlash ROMを備えた従来のデータ処理装置のように、制御プログラムが不完全なものとなってシステムが起動しなくなるという重大な問題が生じるのを防止することができる。また、システムを再び起動させた後、外部から再度書換データを受信してアップデート処理を行うことができる。   As described above, in this data processing device 1, the control program for controlling each part of the device 1 is stored in the two storage locations of the flash ROM 7, the primary program area 13 and the secondary program area 14. Even if a power failure occurs during the update of rewrite data to one storage location and the control program becomes incomplete, the complete control program is read from the other storage location and executed. be able to. That is, a serious problem arises that the control program becomes incomplete and the system cannot be started up like a conventional data processing apparatus having a flash ROM in which the storage location for storing the control program is not divided. Can be prevented. In addition, after the system is restarted, rewrite data can be received from the outside and the update process can be performed.

なお、本発明の実施の形態においては、制御プログラムがプライマリプログラムエリア13とセカンダリプログラムエリア14の2つの記憶場所に記憶される場合について説明したが、3以上の記憶場所に制御プログラムを記憶するようにすることも当然可能である。但し、制御プログラムが記憶される記憶場所が多くなるにつれて、必要となるメモリ容量が増大し、結果としてコストを増加させることに繋がるため、本発明の実施の形態のように、2つの記憶場所に制御プログラムを記憶するのが好適である。また、Flash ROMを複数併設して制御プログラムをロードするFlash ROMを識別情報によって切換えるようにしてもよい。   In the embodiment of the present invention, the case where the control program is stored in two storage locations of the primary program area 13 and the secondary program area 14 has been described, but the control program is stored in three or more storage locations. Of course, it is possible. However, as the number of storage locations where the control program is stored increases, the required memory capacity increases, resulting in an increase in cost. Therefore, as in the embodiment of the present invention, two storage locations are provided. It is preferable to store the control program. Further, a plurality of flash ROMs may be provided side by side, and the flash ROM that loads the control program may be switched according to the identification information.

また、外部から書換データを受信する方法は、LPDプロトコルに基づいてLAN3を介してクライアントPC4から受信する方法に限定されるものではない。例えば、クライアントPC4からUSB(Universal Serial Bus)を介して独自プロトコルにて書換データを受信したり、PSTN31を介して複合機2がファクシミリ通信の手順に従ってサービスセンター等の外部のファクシミリ装置から書換データを受信し、データ処理装置1に転送するようにしてもよい。また、LAN3上にインターネットに接続するためのルータ等を設置し、HTTP(Simple Mail Transfer Protocol)、POP(Post Office Protocol)、SMTP(Simple Mail Transfer Protocol)に基づいてインターネットを介して書換データを受信するようにしてもよい。   Further, the method of receiving the rewrite data from the outside is not limited to the method of receiving from the client PC 4 via the LAN 3 based on the LPD protocol. For example, rewrite data is received from the client PC 4 via a USB (Universal Serial Bus) using a unique protocol, or the multi-function device 2 receives rewrite data from an external facsimile device such as a service center according to a facsimile communication procedure via the PSTN 31. It may be received and transferred to the data processing apparatus 1. In addition, a router for connecting to the Internet is installed on the LAN 3, and rewritten data is received via the Internet based on HTTP (Simple Mail Transfer Protocol), POP (Post Office Protocol), and SMTP (Simple Mail Transfer Protocol). You may make it do.

また、本発明の実施の形態においては、ネットワーク インターフェース コントローラとして複合機2に組込まれたデータ処理装置1について説明したが、外部から書換データを受信することができ、フラッシュメモリ等の書換え可能なメモリを備えた装置であれば、本発明を適用可能な装置はデータ処理装置1に限定されるものではない。例えば、複合機2のROM19を2つのプログラムエリア(記憶場所)を有するフラッシュメモリで構成し、データ処理装置1にクライアントPC4から送信された書換データを自装置2に転送させてRAM20に一旦格納紙した後、ROM19のいずれかのエリアに書換データをアップデートするようにしてもよい。   Further, in the embodiment of the present invention, the data processing device 1 incorporated in the multifunction device 2 as a network interface controller has been described. However, the rewrite data can be received from the outside, and a rewritable memory such as a flash memory can be received. The apparatus to which the present invention is applicable is not limited to the data processing apparatus 1. For example, the ROM 19 of the multifunction device 2 is configured by a flash memory having two program areas (storage locations), and the data processing device 1 transfers the rewrite data transmitted from the client PC 4 to the own device 2 and temporarily stores it in the RAM 20. After that, the rewrite data may be updated in any area of the ROM 19.

本発明は、外部から受信した書換データにより自身の制御プログラムをアップデートする各種データ処理装置に適用することができる。   The present invention can be applied to various data processing apparatuses that update their own control program with rewrite data received from the outside.

本発明の実施の形態に係るデータ処理装置の構成例を示したブロック図である。It is the block diagram which showed the structural example of the data processor which concerns on embodiment of this invention. Flash ROMとSDRAMの記憶領域を示した図である。It is the figure which showed the storage area of Flash ROM and SDRAM. システム起動時にデータ処理装置において行われる処理動作を示したフローチャートである。It is the flowchart which showed the processing operation performed in a data processor at the time of system starting. クライアントPCからデータファイルを受信した場合に、データ処理装置において行われる処理動作を示したフローチャートである。It is the flowchart which showed the processing operation performed in a data processor, when a data file is received from client PC. データ処理装置と該データ処理装置に書換データを送信する外部端末装置とからなる従来のメモリ書換システムを示した図である。It is the figure which showed the conventional memory rewriting system which consists of a data processor and the external terminal device which transmits rewrite data to this data processor.

符号の説明Explanation of symbols

1 データ処理装置
5 制御部(MPU)
6 インターフェース回路
7 Flash ROM
8 SDRAM
11 ブートエリア
12 識別エリア
13 プライマリプログラムエリア
14 セカンダリプログラムエリア
15 プログラムエリア
1 Data processing device 5 Control unit (MPU)
6 Interface circuit 7 Flash ROM
8 SDRAM
11 Boot area 12 Identification area 13 Primary program area 14 Secondary program area 15 Program area

Claims (2)

読み出して実行すべき制御プログラムの記憶場所を識別情報に基づいて所定の複数の記憶場所から選択する選択手段と、実行中の制御プログラムと同じ制御プログラムの書換データを外部から受信した場合に、前記所定の複数の記憶場所のうち、前記実行中の制御プログラムが読み出された記憶場所と異なる記憶場所に、受信した前記書換データを書込む書込み手段と、を備えることを特徴とするデータ処理装置。   The selection means for selecting the storage location of the control program to be read and executed from a plurality of predetermined storage locations based on the identification information, and when rewriting data of the same control program as the control program being executed is received from the outside, A data processing apparatus comprising: a writing unit that writes the received rewrite data to a storage location different from a storage location from which the control program being executed is read out of a plurality of predetermined storage locations. . 前記書換データが前記異なる記憶場所に書込まれた場合に、前記選択手段が前記読み出して実行すべき制御プログラムの記憶場所として前記異なる記憶場所を選択するように、前記識別情報を変更する変更手段を備えることを特徴とする請求項1記載のデータ処理装置。   Changing means for changing the identification information so that the selection means selects the different storage location as the storage location of the control program to be read and executed when the rewritten data is written to the different storage location. The data processing apparatus according to claim 1, further comprising:
JP2004049097A 2004-02-25 2004-02-25 Data processing device Expired - Fee Related JP4556104B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004049097A JP4556104B2 (en) 2004-02-25 2004-02-25 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004049097A JP4556104B2 (en) 2004-02-25 2004-02-25 Data processing device

Publications (2)

Publication Number Publication Date
JP2005242512A true JP2005242512A (en) 2005-09-08
JP4556104B2 JP4556104B2 (en) 2010-10-06

Family

ID=35024216

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004049097A Expired - Fee Related JP4556104B2 (en) 2004-02-25 2004-02-25 Data processing device

Country Status (1)

Country Link
JP (1) JP4556104B2 (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007184753A (en) * 2006-01-06 2007-07-19 Sony Corp Reception display system, receiving device, and display terminal
JP2010231489A (en) * 2009-03-27 2010-10-14 Nec Corp Microcode rewriting method
JP2012248189A (en) * 2011-05-24 2012-12-13 Heiderberger Druckmaschinen Ag Installation method of operating system software
CN104350543A (en) * 2012-05-31 2015-02-11 松下知识产权经营株式会社 Optical disk information device and information processing device
CN114968317A (en) * 2022-04-01 2022-08-30 北京遥测技术研究所 Program upgrading method based on ZYNQ fool-proof design
CN114968317B (en) * 2022-04-01 2024-04-26 北京遥测技术研究所 Program upgrading method based on ZYNQ fool-proof design

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63115253A (en) * 1986-10-31 1988-05-19 Fujitsu Ltd Initial program data revising system
JPH0869376A (en) * 1994-08-31 1996-03-12 Hitachi Ltd Reload control circuit for bios
WO1997036226A1 (en) * 1996-03-22 1997-10-02 Hitachi, Ltd. Printing system
JPH09288579A (en) * 1996-04-22 1997-11-04 Murata Mach Ltd Communication terminal equipment and its remote maintenance method
JP2000163268A (en) * 1998-11-27 2000-06-16 Nec Corp Computer
JP2000357131A (en) * 1999-06-16 2000-12-26 Matsushita Electric Ind Co Ltd Electronic equipment control system using communication protocol
JP2002232638A (en) * 2001-02-02 2002-08-16 Matsushita Graphic Communication Systems Inc Picture information transmission system, scanner device, user terminal device and method for transmitting picture information
JP2003114807A (en) * 2001-10-02 2003-04-18 Fuji Photo Film Co Ltd Electronics device and method for rewriting main body control program

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63115253A (en) * 1986-10-31 1988-05-19 Fujitsu Ltd Initial program data revising system
JPH0869376A (en) * 1994-08-31 1996-03-12 Hitachi Ltd Reload control circuit for bios
WO1997036226A1 (en) * 1996-03-22 1997-10-02 Hitachi, Ltd. Printing system
JPH09288579A (en) * 1996-04-22 1997-11-04 Murata Mach Ltd Communication terminal equipment and its remote maintenance method
JP2000163268A (en) * 1998-11-27 2000-06-16 Nec Corp Computer
JP2000357131A (en) * 1999-06-16 2000-12-26 Matsushita Electric Ind Co Ltd Electronic equipment control system using communication protocol
JP2002232638A (en) * 2001-02-02 2002-08-16 Matsushita Graphic Communication Systems Inc Picture information transmission system, scanner device, user terminal device and method for transmitting picture information
JP2003114807A (en) * 2001-10-02 2003-04-18 Fuji Photo Film Co Ltd Electronics device and method for rewriting main body control program

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007184753A (en) * 2006-01-06 2007-07-19 Sony Corp Reception display system, receiving device, and display terminal
JP2010231489A (en) * 2009-03-27 2010-10-14 Nec Corp Microcode rewriting method
JP2012248189A (en) * 2011-05-24 2012-12-13 Heiderberger Druckmaschinen Ag Installation method of operating system software
US9477456B2 (en) 2011-05-24 2016-10-25 Heidelberger Druckmaschinen Ag Method for installing and simultaneously updating operating system software
CN104350543A (en) * 2012-05-31 2015-02-11 松下知识产权经营株式会社 Optical disk information device and information processing device
CN104350543B (en) * 2012-05-31 2016-12-28 松下知识产权经营株式会社 Optical disc information device and information processor
CN114968317A (en) * 2022-04-01 2022-08-30 北京遥测技术研究所 Program upgrading method based on ZYNQ fool-proof design
CN114968317B (en) * 2022-04-01 2024-04-26 北京遥测技术研究所 Program upgrading method based on ZYNQ fool-proof design

Also Published As

Publication number Publication date
JP4556104B2 (en) 2010-10-06

Similar Documents

Publication Publication Date Title
US8194261B2 (en) Image processing apparatus, method for controlling image processing apparatus, control program, and recording medium
JP6418006B2 (en) Facsimile apparatus and printing method of facsimile apparatus
JP2013165343A (en) Image forming device, image forming method, and program
US20070296932A1 (en) Image Forming Apparatus and Image Forming Method
JP4556104B2 (en) Data processing device
US7793016B2 (en) Information processing apparatus, its control method and control program
JP4103823B2 (en) Data processing device
JP2009188820A (en) Image storage system, image processor, image storage method, program, and storage medium
JP2007015223A (en) Image forming apparatus
JP2007074101A (en) Communication terminal device
JP2016127313A (en) Information processing unit, memory control method and program of information processing unit
EP1445939B1 (en) Method and apparatus for reliable and secure facsimile communications, and program and computer-readable medium storing the program for reliable and secure facsimile communications
JP2004148612A (en) Image forming apparatus and program
JP2004110731A (en) Image forming apparatus and memory storage area securing method
JP2010016657A (en) Data communication device having recalling function
JP3576839B2 (en) Communication terminal device and communication terminal control method
JP4232846B2 (en) Method for installing program in image processing apparatus, system for installing program in image processing apparatus, Web server, and relay server
JP2006245690A (en) Facsimile machine
JP6344377B2 (en) Information processing system and information processing method
JP2023081208A (en) Information processing apparatus and information processing method
JP2005217831A (en) Image processing apparatus
JP2005123843A (en) Communication apparatus
JP2005277993A (en) Image processing apparatus
JP2005258508A (en) Data processor
JP2006019952A (en) Device and method for information processing, and program

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20061218

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20090424

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20090929

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20091007

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20091126

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20100624

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20100707

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130730

Year of fee payment: 3

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

LAPS Cancellation because of no payment of annual fees