JP2006120179A - Program output device - Google Patents

Program output device Download PDF

Info

Publication number
JP2006120179A
JP2006120179A JP2005366529A JP2005366529A JP2006120179A JP 2006120179 A JP2006120179 A JP 2006120179A JP 2005366529 A JP2005366529 A JP 2005366529A JP 2005366529 A JP2005366529 A JP 2005366529A JP 2006120179 A JP2006120179 A JP 2006120179A
Authority
JP
Japan
Prior art keywords
program
processing
rewriting
firmware
storage area
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
JP2005366529A
Other languages
Japanese (ja)
Other versions
JP3856044B2 (en
Inventor
Kiyotaka Ohara
清孝 大原
Koji Hattori
浩司 服部
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.)
Brother Industries Ltd
Original Assignee
Brother Industries 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 Brother Industries Ltd filed Critical Brother Industries Ltd
Priority to JP2005366529A priority Critical patent/JP3856044B2/en
Publication of JP2006120179A publication Critical patent/JP2006120179A/en
Application granted granted Critical
Publication of JP3856044B2 publication Critical patent/JP3856044B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To rewrite storage contents of a programmable ROM all at once by a single rewriting program. <P>SOLUTION: In a rewritable storage area 12a of the ROM, firmware 403, the rewriting program 404 rewriting the storage contents of the storage area 12a, and a control program 405 used for the following processing are stored (A). By the control program 405, the rewriting program 404 is copied onto a RAM 3 in receipt of new firmware (B). Then, processing based on the rewriting program 404 copied onto the RAM 3 is carried out for rewriting data stored in the storage area 12a, and then, processing is finished (C). Since the rewriting program 404 is duplicated (copied) once to the RAM 13 and the storage contents of the ROM are rewritten based on the duplicated rewriting program 404, the storage contents of the ROM can be rewritten all at once by a single rewriting program 404. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、記憶内容を書き換え可能な記憶領域を備えたプログラマブルROMに対してその記憶領域に記憶された処理プログラムを書き換える技術に関し、詳しくは、そのプログラマブルROMを備えた処理装置に対して新たな処理プログラムを出力するプログラム出力装置に関する。   The present invention relates to a technique for rewriting a processing program stored in a storage area of a programmable ROM having a rewritable storage area. Specifically, the present invention is new to a processing apparatus having the programmable ROM. The present invention relates to a program output device that outputs a processing program.

従来より、データを読み出し専用に記憶したROM(リード・オンリ・メモリ)が知られており、このROMには各種制御用の処理プログラム等が記憶される。また、近年、通常はデータの読み出し専用に使用されるが、特殊な操作をしたときに記憶内容が書き換え可能となる記憶領域を備えたプログラマブルROMも開発されている(例えば、フラッシュROM)。この書き換え可能な記憶領域に記憶された処理プログラムをソフトウェア処理によって書き換えるためには書換プログラムが必要となるが、従来、次のようにして書き換えを行うことが考えられている。   Conventionally, a ROM (Read Only Memory) that stores data exclusively for reading is known, and various control processing programs and the like are stored in the ROM. In recent years, a programmable ROM having a storage area that is normally used exclusively for reading data but whose memory contents can be rewritten when a special operation is performed has been developed (for example, a flash ROM). In order to rewrite the processing program stored in the rewritable storage area by software processing, a rewriting program is required. Conventionally, it has been considered to rewrite as follows.

すなわち、書換プログラムをプログラマブルROMに記憶しておいた場合、その書換プログラムによって自身が記憶された記憶領域を書き換えることは、読み出し時と書き込み時との電気的特性の相違等から不可能である。そこで、プログラマブルROMを2個設け、それぞれのプログラマブルROMに個々に書換プログラムを記憶しておく方法が考えられる。この場合、一方のプログラマブルROMの記憶領域を書き換えるときは他方のプログラマブルROMに記憶された書換プログラムによって書き換えの処理が実行できる。   That is, when the rewriting program is stored in the programmable ROM, it is impossible to rewrite the storage area stored by the rewriting program due to the difference in electrical characteristics between reading and writing. Therefore, a method is conceivable in which two programmable ROMs are provided and the rewrite program is stored individually in each programmable ROM. In this case, when rewriting the storage area of one programmable ROM, the rewriting process can be executed by the rewriting program stored in the other programmable ROM.

また、一つのプログラマブルROMを前後半に分割し、その前後半それぞれに書換プログラムを記憶しておく方法も考えられる。この場合、前半または後半の記憶領域を書き換えるときは、後半または前半の記憶領域に記憶された書換プログラムによって書き換えの処理が実行できる。   Another possible method is to divide one programmable ROM into the first and second half and store the rewrite program in each of the first and second half. In this case, when the first half or second half storage area is rewritten, the rewriting process can be executed by the rewriting program stored in the second half or first half storage area.

特開平09−237182号公報JP 09-237182 A 特開平08−123678号公報Japanese Patent Laid-Open No. 08-123678 特開平09−282170号公報JP 09-282170 A

ところが、前者の場合、プログラマブルROMを2個設ける必要があり、そのプログラマブルROMを備えた装置の機械的な構成が複雑化する。また、2個のプログラマブルROMの間である程度の相関性を保持する必要があり、制御システムとしての構成も複雑化する。更に、後者の場合は、一つのプログラマブルROMに2個の書換プログラムを記憶しておかなければならないので、プログラマブルROMの記憶容量が充分有効に活用できない。また、書き換えの処理もプログラマブルROMの前後半に対して個々に実行しなければならないので、書き換えに要する処理時間も長くなる。   However, in the former case, it is necessary to provide two programmable ROMs, which complicates the mechanical configuration of a device including the programmable ROMs. In addition, it is necessary to maintain a certain degree of correlation between the two programmable ROMs, which complicates the configuration as a control system. Furthermore, in the latter case, since two rewriting programs must be stored in one programmable ROM, the storage capacity of the programmable ROM cannot be utilized sufficiently effectively. In addition, since the rewriting process must be executed individually for the first and second half of the programmable ROM, the processing time required for the rewriting becomes longer.

そこで、本発明は、一つの書換プログラムによってプログラマブルROMの記憶内容を一気に書き換えることを可能とするプログラム出力装置を提供することを目的としてなされた。   Therefore, the present invention has been made for the purpose of providing a program output device that can rewrite the stored contents of the programmable ROM at once with one rewrite program.

上記目的を達するためになされた請求項1記載の発明は、記憶内容を書き換え可能な記憶領域を備えたプログラマブルROMと、上記記憶領域に記憶された処理プログラムに基づく処理を実行するCPUと、該CPUによる処理に必要なデータを一時的に記憶するRAMと、を備えた処理装置に対し、上記記憶領域に記憶させるための新たな処理プログラムを出力する出力手段を備えたプログラム出力装置であって、上記出力手段が、上記記憶領域に記憶された上記処理プログラムの書き換えを上記処理装置に対して指示する指示情報と、上記新たな処理プログラムを記憶した上記記憶領域の記憶内容を書き換えるための書換プログラムと、該書換プログラムを上記RAMに複写する書換プログラム複写処理、及び、該書換プログラム複写処理によって上記RAMに複写された書換プログラムを上記CPUに実行させて、上記記憶領域に記憶された上記新たな処理プログラムを他の処理プログラムに書き換える処理プログラム書換処理を、順次実行させるソフトウェアプログラムと、を、上記新たな処理プログラムと共に上記処理装置に対して出力することを特徴とする。   In order to achieve the above object, the invention according to claim 1 is characterized in that a programmable ROM having a storage area in which stored contents can be rewritten, a CPU for executing processing based on a processing program stored in the storage area, A program output device comprising an output means for outputting a new processing program to be stored in the storage area to a processing device comprising a RAM for temporarily storing data necessary for processing by the CPU. Rewriting for rewriting the stored information in the storage area storing the new processing program and the instruction information for instructing the processing apparatus to rewrite the processing program stored in the storage area Program, a rewrite program copy process for copying the rewrite program to the RAM, and the rewrite program copy process A software program for sequentially executing a processing program rewriting process for causing the CPU to execute the rewriting program copied to the RAM by rewriting the new processing program stored in the storage area with another processing program. And output to the processing device together with the new processing program.

また、請求項2記載の発明は、請求項1記載の構成に加え、上記出力手段による上記指示情報,上記書換プログラム,上記ソフトウェアプログラム,及び上記新たな処理プログラムの出力先としての上記処理装置が、画像形成装置に内蔵されていると共に、上記新たな処理プログラムに、そのプログラムを上記記憶領域のどの位置に記憶するかを指定する記憶位置指定情報が添付されたことを特徴とする。   According to a second aspect of the present invention, in addition to the configuration of the first aspect, the processing device as an output destination of the instruction information by the output means, the rewrite program, the software program, and the new processing program is provided. The image forming apparatus is built in, and storage position specifying information for specifying in which position of the storage area the program is stored is attached to the new processing program.

請求項1記載の発明では、記憶内容を書き換え可能な記憶領域を有するプログラマブルROMを備えた処理装置に対し、出力手段が、上記記憶領域に記憶させるための新たな処理プログラムと共に次のデータを出力する。すなわち、上記記憶領域に記憶された処理プログラムの書き換えを上記処理装置に対して指示する指示情報と、上記新たな処理プログラムを記憶した上記記憶領域の記憶内容を書き換えるための書換プログラムと、該書換プログラムを上記RAMに複写する書換プログラム複写処理、及び、該書換プログラム複写処理によって上記RAMに複写された書換プログラムを上記CPUに実行させて、上記記憶領域に記憶された上記新たな処理プログラムを他の処理プログラムに書き換える処理プログラム書換処理を、順次実行させるソフトウェアプログラムと、を、上記新たな処理プログラムと共に上記処理装置に対して出力する。   According to the first aspect of the present invention, the output means outputs the next data together with a new processing program to be stored in the storage area to a processing apparatus having a programmable ROM having a storage area in which the storage contents can be rewritten. To do. That is, instruction information for instructing the processing device to rewrite the processing program stored in the storage area, a rewriting program for rewriting the storage contents of the storage area storing the new processing program, and the rewriting A rewrite program copy process for copying the program to the RAM, and a CPU for executing the rewrite program copied to the RAM by the rewrite program copy process, so that the new processing program stored in the storage area A software program that sequentially executes the processing program rewriting process to be rewritten to the processing program is output to the processing device together with the new processing program.

このため、処理装置が上記指示情報に基づいて、上記出力されたデータをプログラマブルROMに記憶すると、そのソフトウェアプログラムに基づき、書換プログラム複写手段に相当する書換プログラム複写処理、及び、処理プログラム書換手段に相当する処理プログラム書換処理を、順次実行させることが可能となる。   Therefore, when the processing device stores the output data in the programmable ROM based on the instruction information, the rewriting program copying process corresponding to the rewriting program copying means and the processing program rewriting means are based on the software program. Corresponding processing program rewriting processing can be executed sequentially.

なお、本発明の出力手段は、ネットワーク等の通信回線を介して上記データを送信するものであってもよく、処理装置のカードスロットに挿入されるICカード等に上記データを記憶するものであってもよく、更に、その他の出力形態をとるものであってもよい。また、出力手段によって出力された上記データを処理装置が記憶するか否かは、処理装置の側で選択できるようにしてもよい。また更に、上記指示情報は処理装置のCPUに処理を実行させるコマンド等を必ずしも含む必要はなく、処理装置の形態によっては(例えば、処理装置がプログラム書換装置を備えている場合のように、新たな処理プログラムの受信時に自動的に書き換えを行う場合は)、その指示情報が付与された一連のデータが新たな処理プログラムを含むことを単に指示するものであってもよい。   The output means of the present invention may transmit the data via a communication line such as a network, and stores the data in an IC card or the like inserted into a card slot of a processing device. Further, other output forms may be used. Further, whether or not the processing device stores the data output by the output means may be selectable on the processing device side. Furthermore, the instruction information does not necessarily include a command or the like that causes the CPU of the processing device to execute processing. Depending on the form of the processing device (for example, when the processing device includes a program rewriting device, a new In the case of rewriting automatically when a correct processing program is received), it may simply indicate that the series of data to which the instruction information is added includes a new processing program.

また、請求項2記載の発明では、画像形成装置に内蔵された処理装置のプログラマブルROMでは、どの記憶領域にどのような処理プログラムを記憶するかが機種毎にほぼ規定されている。そこで、本発明では、画像形成装置に内蔵された処理装置に出力される上記新たな処理プログラムに、そのプログラムを上記記憶領域のどの位置に記憶するかを指定する記憶位置指定情報を添付している。このため、上記新たな処理プログラムへの書き換え、及び、書き換え後の上記新たな処理プログラムの実行が、一層円滑に行える。従って、本発明では、請求項1記載の発明の効果に加えて、処理装置のおける上記各処理を一層円滑にして、その処理速度を更に向上させることができるといった効果が生じる。   According to the second aspect of the present invention, in the programmable ROM of the processing apparatus built in the image forming apparatus, what processing program is stored in which storage area is almost prescribed for each model. Therefore, in the present invention, the new processing program output to the processing apparatus built in the image forming apparatus is attached with storage location designation information for designating where in the storage area the program is stored. Yes. Therefore, the rewriting to the new processing program and the execution of the new processing program after the rewriting can be performed more smoothly. Therefore, in the present invention, in addition to the effect of the first aspect of the invention, the above-described processing in the processing apparatus can be made smoother and the processing speed can be further improved.

<実施例1>
次に、本発明に好適な実施の形態について、図面に基づいて説明する。なお、以下に説明する実施の形態は、端末装置としてのプリンタを複数台含むと共に、それぞれのプリンタを用いて印刷処理を行うコンピュータを複数含んだ通信システムであって、それぞれのプリンタの制御に使用されるファームウェア等の管理を一元的に実行する通信システムに対して本発明を適用した場合の実施の形態である。
<Example 1>
Next, preferred embodiments of the present invention will be described with reference to the drawings. The embodiment described below is a communication system that includes a plurality of printers as terminal devices and includes a plurality of computers that perform print processing using each printer, and is used for controlling each printer. This is an embodiment when the present invention is applied to a communication system that centrally executes management of firmware and the like.

先ず、本実施の形態の通信システムSの構成について、図1を用いて説明する。図1に示すように、通信システムSは、プログラム出力装置かつプログラム送信装置としてのマネージャ(管理用コンピュータ)Gと、電話回線またはLAN等のネットワークWと、インターフェース装置としての複数のNIC1と、端末装置としてのプリンタ10、30及び40と、当該プリンタ10に接続された複数のコンピュータ20と、プリンタ40に並列に接続されたイメージスキャナ70と、プリンタ40に直列に接続された用紙ソータ80とにより構成されている。ここで、プリンタ10、30及び40は異なる機種のプリンタである。   First, the structure of the communication system S of this Embodiment is demonstrated using FIG. As shown in FIG. 1, a communication system S includes a manager (management computer) G as a program output device and a program transmission device, a network W such as a telephone line or a LAN, a plurality of NICs 1 as interface devices, and a terminal Printers 10, 30 and 40 as apparatuses, a plurality of computers 20 connected to the printer 10, an image scanner 70 connected in parallel to the printer 40, and a paper sorter 80 connected in series to the printer 40. It is configured. Here, the printers 10, 30 and 40 are different types of printers.

一方、マネージャGは、第1情報処理手段としてのCPU50,ROM51,RAM52を備え、キーボード53,CRT54等に接続された周知のパーソナルコンピュータである。   On the other hand, the manager G is a known personal computer that includes a CPU 50, ROM 51, and RAM 52 as first information processing means and is connected to a keyboard 53, a CRT 54, and the like.

また、NIC1は、返信手段としてのトランシーバ2と、LANコントローラ3と、共有メモリ4と、CPU5と、ROM6と、RAM7と、バス8と、を備えている。ここで、ROM6は、フラッシュROM等のプログラマブルROMによって構成され、記憶内容を書き換え可能な記憶領域6aを有している。RAM7は、その内部に端末情報エリア7aを備えている。   The NIC 1 also includes a transceiver 2 as a reply unit, a LAN controller 3, a shared memory 4, a CPU 5, a ROM 6, a RAM 7, and a bus 8. Here, the ROM 6 is configured by a programmable ROM such as a flash ROM, and has a storage area 6a in which stored contents can be rewritten. The RAM 7 includes a terminal information area 7a therein.

一方、プリンタ10は、第2情報処理手段としてのCPU11と、ROM12と、RAM13と、バス14と、出力インタフェース(出力I/F)15と、入力インタフェース(入力I/F)16と、印字部17と、を備えている。ここで、ROM12は、フラッシュROM等のプログラマブルROMによって構成され、記憶内容を書き換え可能な記憶領域12aを有している。RAM13は、その内部に出力バッファ13aと入力バッファ13bとを備えている。また、プリンタ10は、バス14に接続された接続ライン9を介してNIC1に接続されると共に、入力インタフェース16を介して各コンピュータ20に接続されている。 次に、通信システムSにおける概要動作について図1を用いて説明する。なお、以下の概要動作の説明においては、NIC1とプリンタ10とにおける処理について説明するが、他のNIC1とプリンタ30,40等との間においても同様の処理が実行される。   On the other hand, the printer 10 includes a CPU 11 as a second information processing unit, a ROM 12, a RAM 13, a bus 14, an output interface (output I / F) 15, an input interface (input I / F) 16, and a printing unit. 17. Here, the ROM 12 is configured by a programmable ROM such as a flash ROM, and has a storage area 12a in which stored contents can be rewritten. The RAM 13 includes an output buffer 13a and an input buffer 13b. The printer 10 is connected to the NIC 1 via a connection line 9 connected to the bus 14, and is connected to each computer 20 via an input interface 16. Next, an outline operation in the communication system S will be described with reference to FIG. In the following description of the outline operation, processing in the NIC 1 and the printer 10 will be described, but similar processing is executed between the other NIC 1 and the printers 30 and 40 and the like.

マネージャG内のCPU50は、プリンタ10またはそれに接続されているNIC1に送信すべきデータを生成し、ネットワークWを介してNIC1のトランシーバ2に送信する。このとき、当該データの送信は、NIC1にて処理されるべきデータはTFTP(トリビアルファイル転送プロトコル)で、プリンタ10にて処理されるべきデータはLPR(ライン・プリンタ・リモート)で、処理装置を特に指定する必要がないデータはUDP(ユーザーデータグラム転送プロトコル)等の適宜のプロトコルで、それぞれ実行される。そして、データを受信したトランシーバ2は、これを復調し、LANコントローラ3を介してバス8に出力する。ここで、当該LANコントローラ3は、ネットワークWを介したマネージャGとの間におけるデータの送受信を制御する。   The CPU 50 in the manager G generates data to be transmitted to the printer 10 or the NIC 1 connected thereto, and transmits the data to the transceiver 2 of the NIC 1 via the network W. At this time, the data to be transmitted is transmitted using the TFTP (trivial file transfer protocol) for data to be processed by the NIC 1 and LPR (line printer remote) for data to be processed by the printer 10. Data that does not need to be specified is executed by an appropriate protocol such as UDP (User Datagram Transfer Protocol). The transceiver 2 that has received the data demodulates the data and outputs it to the bus 8 via the LAN controller 3. Here, the LAN controller 3 controls data transmission / reception with the manager G via the network W.

次に、CPU5は、NIC1が受信したデータがTFTPで送信されてきたときは、当該データをROM6に記憶されている情報を用いて処理する。このとき、RAM7は、当該CPU5における処理に必要な情報を読み出し可能に一時的に記憶する。その後、CPU5は、処理した結果をバス8、LANコントローラ3、トランシーバ2及びネットワークWを介してマネージャGに返信する。   Next, when the data received by the NIC 1 is transmitted by the TFTP, the CPU 5 processes the data using information stored in the ROM 6. At this time, the RAM 7 temporarily stores information necessary for processing in the CPU 5 so as to be readable. Thereafter, the CPU 5 returns the processed result to the manager G via the bus 8, the LAN controller 3, the transceiver 2, and the network W.

一方、NIC1が受信したデータがLPRで送信されてきたときは、CPU5は、当該データを共有メモリ4及び接続ライン9を介してプリンタ10に転送する。その際、共有メモリ4にデータを書き込んだ後、CPU5は、図示しない信号線を通してCPU11に対してインターラプト(割り込み指令)を発生させ、当該データの処理を実行させる。なお、上述したデータに対するCPU5の処理に必要な制御プログラムは、ROM6に予め記憶されている。   On the other hand, when the data received by the NIC 1 is transmitted by LPR, the CPU 5 transfers the data to the printer 10 via the shared memory 4 and the connection line 9. At this time, after writing data to the shared memory 4, the CPU 5 generates an interrupt (interrupt command) to the CPU 11 through a signal line (not shown), and executes processing of the data. A control program necessary for the processing of the CPU 5 for the data described above is stored in the ROM 6 in advance.

ここで、共有メモリ4は、情報処理の際にNIC1とプリンタ10との間で共有すべき情報を一時的に記憶しておくためのメモリである。   Here, the shared memory 4 is a memory for temporarily storing information to be shared between the NIC 1 and the printer 10 during information processing.

次に、NIC1から転送したプリンタ10において処理すべきデータ(例えば、マネージャGからLPRで送信されてきたデータ)が接続ライン9を介してプリンタ10に入力されると、CPU11は、当該データをバス14を介して取得した後、ROM12内に記憶されている情報を用いて処理する。その後、CPU11は、処理した結果をバス14、接続ライン9、及び共有メモリ4を介してNIC1に返信する。このとき、RAM13は当該CPU11における処理に必要な情報を読み出し可能に一時的に記憶する。このデータに対するCPU11の処理に必要な制御プログラムは、ROM12に予め記憶されている。   Next, when data to be processed by the printer 10 transferred from the NIC 1 (for example, data transmitted from the manager G by LPR) is input to the printer 10 via the connection line 9, the CPU 11 transfers the data to the bus. After being acquired via 14, the processing is performed using the information stored in the ROM 12. Thereafter, the CPU 11 returns the processed result to the NIC 1 via the bus 14, the connection line 9, and the shared memory 4. At this time, the RAM 13 temporarily stores information necessary for processing in the CPU 11 in a readable manner. A control program necessary for the CPU 11 to process this data is stored in the ROM 12 in advance.

更に、プリンタ10において処理すべきデータに対する処理結果をプリンタ10から受領したNIC1は、その処理結果をそのままネットワークWを介してマネージャGに転送する。   Further, the NIC 1 that receives the processing result for the data to be processed in the printer 10 from the printer 10 transfers the processing result to the manager G through the network W as it is.

一方、各コンピュータ20から出力されたプリンタ10において印字出力すべき画像等のデータは、入力インタフェース16を介してプリンタ10内に取り込まれ、バス14を介して入力バッファ13b内に格納され、印刷データに展開処理されて出力バッファ13a内に一時的に記憶された後、再びバス14を介して出力インタフェース15から印字部17に出力され、当該データに対応した印字出力が実行される。一方、図示しない他のコンピュータから出力された印字出力すべき画像等のデータをプリンタ10において出力するときは、当該データがネットワークW経由でNIC1を介してプリンタ10の入力バッファ13bに取り込まれた後、上記と同様にして出力される。このプリンタ10本来の印字出力処理は、ROM12内に記憶されている制御プログラムに基づくCPU11の制御の下で実行される。   On the other hand, data such as an image to be printed out by the printer 10 output from each computer 20 is taken into the printer 10 via the input interface 16, stored in the input buffer 13b via the bus 14, and printed data. And temporarily stored in the output buffer 13a, the data is again output from the output interface 15 to the printing unit 17 via the bus 14, and the print output corresponding to the data is executed. On the other hand, when data such as an image to be printed out output from another computer (not shown) is output in the printer 10, the data is taken into the input buffer 13b of the printer 10 via the NIC 1 via the network W. Are output in the same manner as described above. The original print output process of the printer 10 is executed under the control of the CPU 11 based on the control program stored in the ROM 12.

なお、通信システムS内に含まれている各プリンタ10,30,及び40は共通のNIC1を備えているが、プリンタ自体としては異なる機種のものを含んでいる。具体的には、印刷機構や取り扱いデータの相違等に対応して、それぞれのプリンタのROM12には後述のデバイス情報が記憶されているが、そのデバイス情報は各プリンタ毎に異なったものとなっている。また、ネットワークWには、NIC1とは異なる機種のNICを介して図示しない他のプリンタも接続されている。   The printers 10, 30, and 40 included in the communication system S are provided with a common NIC 1 but include printers of different models. Specifically, device information (to be described later) is stored in the ROM 12 of each printer in response to differences in printing mechanism and handling data, but the device information differs for each printer. Yes. In addition, another printer (not shown) is connected to the network W via a NIC of a model different from that of the NIC 1.

次に、ROM6,12の記憶領域6a,12aは前述のように書き換え可能に構成されているので、この部分に記憶されたファームウェア等の処理プログラムを書き換えることにより、プリンタ10の機能をバージョンアップすることができる。続いて、このバージョンアップに関わる処理について説明する。   Next, since the storage areas 6a and 12a of the ROMs 6 and 12 are configured to be rewritable as described above, the function of the printer 10 is upgraded by rewriting the processing program such as firmware stored in this part. be able to. Next, processing related to this version upgrade will be described.

先ず、マネージャGにおいて所定のバージョンアップ用アプリケーションを立ち上げると、CPU50は図2〜図6に示すバージョンアップ処理を実行する。図2に示すように、処理を開始するとCPU50は、先ず、S1(Sはステップを表す:以下同様)にて、デバイス情報要求のためのブロードキャストパケットを、ネットワークWを介して接続された全てのプリンタにUDPで送信する。続くS3では、少なくとも3秒間計時可能なタイマをスタートする。更に、続くS5では、ネットワークWを介して各プリンタからデバイス情報を受信し、受信したデバイス情報をCRT54の画面に表示していく。そして、このS5の処理をタイマをスタートしてから3秒経過するまで繰り返し(S7)、3秒経過すると(S7:YES)、続くS11へ移行する。   First, when a predetermined upgrade application is launched in the manager G, the CPU 50 executes the upgrade process shown in FIGS. As shown in FIG. 2, when the process is started, the CPU 50 first sends a broadcast packet for requesting device information to all the devices connected via the network W in S1 (S represents a step: the same applies hereinafter). Send it to the printer via UDP. In subsequent S3, a timer capable of timing for at least 3 seconds is started. Further, in subsequent S5, device information is received from each printer via the network W, and the received device information is displayed on the screen of the CRT 54. Then, the process of S5 is repeated until 3 seconds have elapsed from the start of the timer (S7), and when 3 seconds have elapsed (S7: YES), the process proceeds to S11.

ここで、プリンタ10等は、上記ブロードキャストパケットを受信すると図示しないルーチンを起動し、自身が接続されたNIC1よりそのNIC1のデバイス名,NIC1のファームウェアのバージョン(NICデバイス名,NICファームウェアバージョンという)等のデバイス情報を取得する。続いて乱数を発生し、その乱数に対応した数msec.待機した後、上記NIC1のデバイス情報を、プリンタ10自身のデバイスクラス,デバイス名,デバイスステータス,ファームウェアバージョン等のデバイス情報と共にマネージャGへ返信する。なお、プリンタ10等は、自身の電源投入時等にNIC1のデバイス情報を予め取得しておいてもよく、また、ネットワークWを介して接続された他のプリンタやNICのデバイス情報を取得しておき、上記デバイス情報と共に返信してもよい。 このため、マネージャGには、上記乱数に応じたバラバラのタイミングで、各プリンタからのデバイス情報がネットワークWを介して返信される。そこで、マネージャGによるS5の処理では、受信したデバイス情報に基づき、CRT54に次のような表示を行う。図7は、プリンタ10から返信されるデバイス情報100の形態を模式的に表す説明図であり、図8は、そのデバイス情報100等に対応したCRT54の表示画面(以下、デバイスリスト画面という)200の一例を表す説明図である。   Here, when the printer 10 or the like receives the broadcast packet, the printer 10 or the like starts a routine (not shown), and from the NIC 1 to which the printer 10 is connected, the NIC 1 device name, the NIC 1 firmware version (NIC device name, NIC firmware version), etc. Get device information for. Subsequently, a random number is generated, and a number of msec. After waiting, the NIC1 device information is returned to the manager G together with device information such as the device class, device name, device status, and firmware version of the printer 10 itself. Note that the printer 10 or the like may acquire device information of the NIC 1 in advance when the power of the printer 10 is turned on, or acquire device information of other printers or NICs connected via the network W. Alternatively, it may be returned together with the device information. For this reason, device information from each printer is sent back to the manager G via the network W at a timing that depends on the random number. Therefore, in the process of S5 by the manager G, the following display is performed on the CRT 54 based on the received device information. FIG. 7 is an explanatory diagram schematically showing the form of the device information 100 returned from the printer 10, and FIG. 8 is a display screen (hereinafter referred to as a device list screen) 200 of the CRT 54 corresponding to the device information 100 or the like. It is explanatory drawing showing an example.

図7に示すように、デバイス情報100は、レーザプリンタ,カラープリンタ等のデバイスの種別を表すデバイスクラス101,デバイスの機種毎に付与されたデバイス名102,プリンタ10の状態を表すステータス103,及びファームウエアのバージョンを表すプリンタバージョン104からなるプリンタ10側のデバイス情報と、NIC1側のデバイス情報としてのNICデバイス名105及びNICバージョン106と、そのプリンタ10に付与されたIPアドレス107とを羅列して構成されている。また、デバイスクラス101,デバイス名102,ステータス103,プリンタバージョン104,NICデバイス名105,及びNICバージョン106のデータの先頭には、各々のデータの長さを表すデバイスクラスレングス111,デバイス名レングス112,ステータスレングス113,プリンタバージョンレングス114,NICデバイス名レングス115,及びNICバージョンレングス116が添付されている。   As shown in FIG. 7, the device information 100 includes a device class 101 indicating the type of a device such as a laser printer or a color printer, a device name 102 assigned to each device model, a status 103 indicating the status of the printer 10, and The device information on the printer 10 side including the printer version 104 representing the firmware version, the NIC device name 105 and NIC version 106 as device information on the NIC 1 side, and the IP address 107 assigned to the printer 10 are listed. Configured. In addition, device class 101, device name 102, status 103, printer version 104, NIC device name 105, and NIC version 106 have data class length 111, device name length 112 indicating the length of each data at the head thereof. , Status length 113, printer version length 114, NIC device name length 115, and NIC version length 116 are attached.

このようなデバイス情報100を受信したCPU50は、S5の処理において、デバイスクラス101,デバイス名102,ステータス103,プリンタバージョン104,NICデバイス名105,NICバージョン106,及びIPアドレスのデータに対応した表記(デバイスクラス,デバイス名,デバイスステータス,本体ファームウェアバージョン,NICデバイス名,NICファームウェアバージョン,及びIPアドレス)を、デバイスクラス101に対応したアイコンの右側に配列してリストアップしたデバイスリスト201を表示する。   The CPU 50 having received such device information 100, in the process of S5, represents the device class 101, device name 102, status 103, printer version 104, NIC device name 105, NIC version 106, and IP address data. (Device class, device name, device status, main body firmware version, NIC device name, NIC firmware version, and IP address) are arranged on the right side of the icon corresponding to the device class 101, and the device list 201 listed is displayed. .

なお、図8に例示するデバイスリスト201では、プリンタの他にスキャナも表示されており、プリンタ,スキャナ等を総称してデバイスと呼んでいる。プリンタ10から返信されるデバイス情報100のプリンタバージョン104に対応した表記が「本体ファームウェアバージョン」の項目に表示されるのもこのためである。また、以下の説明では、同一機種のデバイスには同一機種のNICが対応するものとする。   In the device list 201 illustrated in FIG. 8, a scanner is displayed in addition to the printer, and the printer, the scanner, and the like are collectively referred to as a device. This is why the notation corresponding to the printer version 104 of the device information 100 returned from the printer 10 is displayed in the item “main body firmware version”. In the following description, it is assumed that NICs of the same model correspond to devices of the same model.

デバイスリスト画面200には、このデバイスリスト201の上部に、デバイスのバージョンアップを行うときに押下される本体ファームウェアアップデートボタン202、NICのバージョンアップを行うときに押下されるNICファームウェアアップデートボタン203、バージョンアップの対象として同機種のデバイスを一括して選択するときに押下される同機種全て選択ボタン204、及び、このバージョンアップ処理を終了するときに押下される終了ボタン205が、並べて表示される。また、デバイスリスト201に表示された各デバイスも、例えばアイコンがクリックに対して反応するボタンとなっている。   The device list screen 200 includes a main body firmware update button 202 that is pressed when the device is upgraded, a NIC firmware update button 203 that is pressed when the NIC is upgraded, The same model all selection button 204 that is pressed when devices of the same model are collectively selected as the upgrade target, and the end button 205 that is pressed when the upgrade process is completed are displayed side by side. Each device displayed in the device list 201 is also a button whose icon responds to a click, for example.

CPU50は、S5の処理によってこのデバイスリスト画面200を表示した後、S11以降の処理を上記各ボタンの押下等に応じて実行する。すなわち、先ずS11では、デバイスリスト201に表示されたデバイスがクリックされたか否かを判断し、クリックされていない場合は否定判断してS13へ移行する。S13では、同機種全て選択ボタン204が押下されたか否かを判断し、押下されていない場合は否定判断してS15へ移行する。以下同様に、本体ファームウェアアップデートボタン202が押下されたか否かを判断して(S15)、押下されていない場合はS17へ移行し、NICファームウェアアップデートボタン203が押下されたか否かを判断して(S17)、押下されていない場合はS19へ移行し、終了ボタン205が押下されたか否かを判断して(S19)、押下されていない場合はS11へ移行する。すなわち、CPU50は、デバイスリスト画面200を表示した後、上記いずれかの操作がなされるまでS11〜S19のループ処理にて待機する。   After displaying the device list screen 200 by the process of S5, the CPU 50 executes the processes after S11 in response to pressing of each button. That is, first, in S11, it is determined whether or not a device displayed in the device list 201 has been clicked. If it has not been clicked, a negative determination is made and the process proceeds to S13. In S13, it is determined whether or not the same model selection button 204 has been pressed. If not, the determination is negative and the process proceeds to S15. Similarly, it is determined whether or not the main body firmware update button 202 has been pressed (S15). If not, the process proceeds to S17 to determine whether or not the NIC firmware update button 203 has been pressed ( If not pressed, the process proceeds to S19, and it is determined whether the end button 205 is pressed (S19). If not pressed, the process proceeds to S11. That is, after displaying the device list screen 200, the CPU 50 stands by in a loop process of S11 to S19 until any of the above operations is performed.

デバイスリスト画面200が表示されると、通常、使用者は先ずバージョンアップしたいデバイスの選択を行う。この場合、デバイスのクリックが最初に行われ、S11にて肯定判断してS21へ移行する。S21では、既に選択されている機種と異機種のデバイスがクリックされたか否かを判断する。デバイスを初めてクリックした場合は、既に選択されている機種がないので、否定判断してS23へ移行する。S23では、クリックされたデバイスに関する表示部を反転表示する。例えば、デバイスリスト201の一番上に表示したレーザプリンタ(デバイス名:1660,NICデバイス名:2010)がクリックされると、デバイスリスト画面200は図9に例示するように変化する。この反転表示(S23)の後は、S11〜S19のループ処理へ復帰する。なお、後述のように本バージョンアップ処理では、反転表示したデバイスがバージョンアップの対象となる。 続いて、同機種全て選択ボタン204が押下されると、S13にて肯定判断してS25へ移行する。S25では、反転表示となっているものと同機種のデバイスを全て反転表示した後、S11〜S19のループ処理へ復帰する。例えば、図9に例示したように、デバイスリスト201の一番上に表示したレーザプリンタ(デバイス名:1660,NICデバイス名:2010)を反転表示した状態で同機種全て選択ボタン204が押下されると、図10に例示するように、そのレーザプリンタと同機種のレーザプリンタを全て反転表示する。従って、同機種全て選択ボタン204を押下することにより、同一機種のデバイスを一括してバージョンアップの対象に指定することができる。   When the device list screen 200 is displayed, usually, the user first selects a device to be upgraded. In this case, the device is clicked first, an affirmative determination is made in S11, and the process proceeds to S21. In S21, it is determined whether a device of a different model from the already selected model is clicked. When the device is clicked for the first time, since there is no model already selected, a negative determination is made and the process proceeds to S23. In S23, the display unit related to the clicked device is highlighted. For example, when a laser printer (device name: 1660, NIC device name: 2010) displayed at the top of the device list 201 is clicked, the device list screen 200 changes as illustrated in FIG. After the reverse display (S23), the process returns to the loop process of S11 to S19. As will be described later, in this version upgrade process, the highlighted device is subjected to version upgrade. Subsequently, when the same model selection button 204 is pressed, an affirmative determination is made in S13 and the process proceeds to S25. In S25, after all the devices of the same model as the highlighted display are highlighted, the process returns to the loop processing of S11 to S19. For example, as illustrated in FIG. 9, the same model selection button 204 is pressed while the laser printer (device name: 1660, NIC device name: 2010) displayed at the top of the device list 201 is highlighted. As shown in FIG. 10, all laser printers of the same model as the laser printer are displayed in reverse video. Accordingly, by depressing the same model selection button 204, devices of the same model can be collectively designated as targets for version upgrade.

また、本バージョンアップ処理では、デバイスを個々に指定してバージョンアップの対象とすることもできる。一つのデバイスを指定する場合は、使用者は前述のように所望の一つのデバイスをクリックすればよいが、複数のデバイスを個々に指定した場合は、デバイスのクリックを複数回繰り返す。   Also, in this version upgrade process, devices can be designated individually for upgrade. When designating one device, the user may click on one desired device as described above. However, when a plurality of devices are individually designated, the device click is repeated a plurality of times.

そこで、CPU50は、二つ目以降のデバイスがクリックされたときは、前述のS21にて、既に選択されている機種と異機種のデバイスがクリックされたか否かを判断する。後述するように、本バージョンアップ処理では、デバイスが選択されるとそのデバイスにファームウェアを送信してバージョンアップを行っている。ところが、一般にファームウェアでは、適合する機種が限定されている。このため、機種の異なる複数のデバイスが選択されると、ファームウェアの適合性の判断や、前述の同機種全て選択ボタン204の押下に対応する処理で問題が生じる。そこで、既に選択されている機種と異機種のデバイスがクリックされた場合は(S21:YES)、S27以下の処理へ移行する。   Therefore, when the second and subsequent devices are clicked, the CPU 50 determines whether or not a device of a different model from the already selected model is clicked in S21 described above. As will be described later, in this version upgrade process, when a device is selected, the firmware is transmitted to the device to upgrade the device. However, in general, compatible models are limited in firmware. For this reason, when a plurality of devices of different models are selected, problems arise in the determination of the compatibility of the firmware and the processing corresponding to the pressing of the above-mentioned all models selection button 204. Therefore, when a device of a different model from the already selected model is clicked (S21: YES), the process proceeds to S27 and subsequent steps.

S27では、図11に示す選択機種変更ダイヤログ220を開き、デバイスリスト画面200の上に重ねて表示する。図11に示すように、選択機種変更ダイヤログ220には、「既に選択している機種とは別の機種が選択されました新しい選択を有効にしますか?」というメッセージと、YESボタン221及びNOボタン222とが表示される。そして、YESボタン221が押下された場合は(S29:YES)、S31へ移行して既に選択されているデバイスの反転表示を解除し、続いて、新たにクリックされたデバイスを前述のS23にて反転表示した後、S11〜S19のループ処理へ移行する。   In S 27, the selected model change dialog 220 shown in FIG. 11 is opened and displayed over the device list screen 200. As shown in FIG. 11, in the selected model change dialog 220, a message “A model different from the already selected model has been selected. Do you want to validate the new selection?”, A YES button 221 and A NO button 222 is displayed. If the YES button 221 is pressed (S29: YES), the process proceeds to S31 to cancel the reverse display of the already selected device, and then the newly clicked device is the above-mentioned S23. After the reverse display, the process proceeds to the loop process of S11 to S19.

この処理により、以前の選択を無効にして、新たにクリックされたデバイスの選択のみを有効にすることができる。また、選択機種変更ダイヤログ220にてNOボタン222が押下された場合は(S29:NO)、何もせずにそのままS11〜S19のループ処理へ移行する。この処理により、以前の選択をそのまま有効にして、新たにクリックされたデバイスの選択を無効にすることができる。なお、YESボタン221またはNOボタン222が押下されると、CPU50は選択機種変更ダイヤログ220を消し、デバイスリスト画面200の全面を表示する。   By this process, it is possible to invalidate the previous selection and validate only the newly clicked device selection. If the NO button 222 is pressed in the selected model change dialog 220 (S29: NO), the process proceeds to the loop process of S11 to S19 without doing anything. This process enables the previous selection as it is and invalidates the selection of the newly clicked device. When the YES button 221 or the NO button 222 is pressed, the CPU 50 deletes the selected model change dialog 220 and displays the entire device list screen 200.

一方、新たにクリックされたデバイスが既に選択されているデバイスと同一機種の場合は(S21:NO)、そのままS23へ移行し、クリックされたデバイスを既に選択されているデバイスと共に反転表示する。この処理により、デバイスリスト201に表示された同一機種のデバイスの内、バージョンアップしたいものだけを複数選択することができる。   On the other hand, if the newly clicked device is the same model as the already selected device (S21: NO), the process proceeds to S23 as it is, and the clicked device is highlighted together with the already selected device. With this process, it is possible to select a plurality of devices of the same model displayed in the device list 201 that are to be upgraded.

以上の処理によってバージョンアップしたい所望のデバイスを選択した後、使用者は、本体ファームウェアアップデートボタン202またはNICファームウェアアップデートボタン203を押下する。本体ファームウェアアップデートボタン202が押下されると、S15にて肯定判断してS33へ移行する。S33では、図12に例示するファイル名指定ダイヤログ230を開き、デバイスリスト画面200の上に重ねて表示する。図12に示すように、ファイル名指定ダイヤログ230には、選択されているデバイスの機種名が表示されると共に、ファイル名入力欄231、OKボタン232、及び参照ボタン233が表示される。 ファイル名指定ダイヤログ230を開くと(S33)、CPU50はS35のファイル名入力/選択処理を実行し、この処理をファイル名指定ダイヤログ230のOKボタン232が押下されるまで繰り返す(S37)。S35のファイル名入力/選択処理では、CPU50は次の一連の処理を実行する。すなわち、キーボード53からファームウェアのファイル名が直接入力された場合、そのファイル名をファイル名入力欄231に表示する。参照ボタン233が押下された場合、マネージャGと通信可能に接続された他の記憶手段(例えば各種サーバ)またはROM51に記憶されたファームウェアを、図示しない新たなダイヤログを開いてリストアップする。そして、キーボード53のカーソルキー等によってファームウェアが選択されると、そのファームウェアのファイル名をファイル名入力欄231に表示する。   After selecting a desired device to be upgraded by the above processing, the user presses the main body firmware update button 202 or the NIC firmware update button 203. When the main body firmware update button 202 is pressed, an affirmative determination is made in S15 and the process proceeds to S33. In S33, the file name designation dialog 230 illustrated in FIG. 12 is opened and displayed over the device list screen 200. As shown in FIG. 12, in the file name designation dialog 230, the model name of the selected device is displayed, and a file name input field 231, an OK button 232, and a reference button 233 are displayed. When the file name designation dialog 230 is opened (S33), the CPU 50 executes the file name input / selection process of S35 and repeats this process until the OK button 232 of the file name designation dialog 230 is pressed (S37). In the file name input / selection process of S35, the CPU 50 executes the following series of processes. That is, when a firmware file name is directly input from the keyboard 53, the file name is displayed in the file name input field 231. When the reference button 233 is pressed, other storage means (for example, various servers) connected to the manager G so as to be communicable or firmware stored in the ROM 51 is listed by opening a new dialog (not shown). When the firmware is selected by a cursor key or the like of the keyboard 53, the file name of the firmware is displayed in the file name input field 231.

以上のファイル名入力/選択処理(S35)によって所望のファイル名がファイル名入力欄231に表示されると、使用者はOKボタン232を押下する。すると、CPU50は、S37で肯定判断してS39へ移行する。S39では、後述のファームウェア送信処理を実行して、上記入力されたファイル名のファームウェアをLPRで、すなわちプリンタ10等のデバイスでのみ処理されるように、ネットワークWへ送信する。また、S39の終了後は、ファイル名指定ダイヤログ230を消し、デバイスリスト画面200の全面を表示してS11〜S19のループ処理へ移行する。   When a desired file name is displayed in the file name input field 231 by the above file name input / selection process (S35), the user presses the OK button 232; Then, the CPU 50 makes an affirmative determination in S37 and proceeds to S39. In S39, a firmware transmission process, which will be described later, is executed, and the firmware having the input file name is transmitted to the network W so as to be processed by the LPR, that is, only by a device such as the printer 10. Further, after the end of S39, the file name designation dialog 230 is deleted, the entire surface of the device list screen 200 is displayed, and the process proceeds to the loop process of S11 to S19.

NICファームウェアアップデートボタン203が押下された場合もほぼ同様であり、この場合、S17にて肯定判断してS43へ移行する。S43では、図12に例示したものとほぼ同様のファイル名指定ダイヤログ230を開き、続いて、上記とほぼ同様のファイル名入力/選択処理(S43)を、ファイル名指定ダイヤログ230のOKボタン232が押下されるまで繰り返す(S47)。但し、S43で表示されるファイル名指定ダイヤログ230では、機種名としてNICの機種名(上記例では2010)が表示される点において図12と異なる。 ファイル名入力/選択処理(S45)によって所望のファイル名を表示し、OKボタン232が押下されると、CPU50は、S47で肯定判断してS49へ移行する。S49では、ファームウェア送信処理を実行して、上記入力されたファイル名のファームウェアをTFTPで、すなわちNICでのみ処理されるように、ネットワークWへ送信する。また、S49の終了後は、ファイル名指定ダイヤログ230を消し、S11〜S19のループ処理へ移行する。更に、そのループ処理中に終了ボタン205が押下されると、このバージョンアップ処理を終了する。   The same applies when the NIC firmware update button 203 is pressed. In this case, an affirmative determination is made in S17, and the process proceeds to S43. In S43, a file name designation dialog 230 substantially similar to that illustrated in FIG. 12 is opened, and subsequently, a file name input / selection process (S43) substantially similar to the above is performed, and an OK button of the file name designation dialog 230 is displayed. The process is repeated until 232 is pressed (S47). However, the file name designation dialog 230 displayed in S43 is different from FIG. 12 in that the NIC model name (2010 in the above example) is displayed as the model name. When a desired file name is displayed by the file name input / selection process (S45) and the OK button 232 is pressed, the CPU 50 makes an affirmative determination in S47 and proceeds to S49. In S49, a firmware transmission process is executed, and the firmware having the input file name is transmitted to the network W so as to be processed only by the TFTP, that is, by the NIC. Further, after the end of S49, the file name designation dialog 230 is deleted and the process proceeds to the loop process of S11 to S19. Further, when the end button 205 is pressed during the loop process, the version upgrade process is terminated.

図6は、上記ファームウェア送信処理を表すフローチャートである。図6に示すように、処理を開始すると、先ずS51にて送信用ファームウェアファイルからデバイス名を読み込む。ここで、本バージョンアップ処理で取り扱うファームウェアには、各ファームウェアに対応して、図13(A)に例示する送信用ファームウェアファイル300が形成されている。図13(A)に例示するように、送信用ファームウェアファイル300は、そのファームウェアが適合するデバイス名301と、そのファームウェアを格納すべきROM(プリンタ10のROM12,NIC1のROM6等)のアドレス302と、ファームウェアの処理プログラムそのもの(ファームウェア303)と、そのファームウェア303を記憶したROM6,12等の記憶領域6a,12a等を書き換えるための書換プログラム304と、後述のようにその書換プログラム304をコピーする処理等を実行するための制御プログラム305と、を羅列して構成されている。   FIG. 6 is a flowchart showing the firmware transmission process. As shown in FIG. 6, when the process is started, first, in S51, the device name is read from the transmission firmware file. Here, the firmware handled in the version upgrade process has a transmission firmware file 300 illustrated in FIG. 13A corresponding to each firmware. As illustrated in FIG. 13A, a transmission firmware file 300 includes a device name 301 to which the firmware is compatible, and an address 302 of a ROM (ROM 12 of the printer 10, ROM 6 of NIC1, etc.) to store the firmware. The firmware processing program itself (firmware 303), the rewriting program 304 for rewriting the storage areas 6a and 12a such as the ROMs 6 and 12 storing the firmware 303, and the processing for copying the rewriting program 304 as will be described later Etc., and a control program 305 for executing the above.

S51では、S35またはS45にて選択されたファイル名に対応する送信用ファームウェアファイル300から、デバイス名301を読み込むのである。続くS53では、デバイスリスト201に表示しているデバイスの総数を検出して変数Nに代入し、S55にて変数iを0にリセットする。続いて、S57にてiに1を加算した後、S59にて、デバイスリスト201の上からi番目のデバイスが、選択されて反転表示となっているか否かを判断する。反転表示となっている場合は(S59:YES)、S61へ移行し、デバイスリスト201に表示したそのi番目のデバイスのデバイス名が、S51で読み込んだファームウェアのデバイス名301と一致するか否かを判断する。   In S51, the device name 301 is read from the transmission firmware file 300 corresponding to the file name selected in S35 or S45. In the subsequent S53, the total number of devices displayed in the device list 201 is detected and substituted into the variable N, and the variable i is reset to 0 in S55. Subsequently, after adding 1 to i in S57, it is determined in S59 whether or not the i-th device from the device list 201 is selected and highlighted. If the display is reversed (S59: YES), the process proceeds to S61, and whether or not the device name of the i-th device displayed in the device list 201 matches the device name 301 of the firmware read in S51. Judging.

そして、一致した場合は(S61:YES)、デバイスリスト201からそのデバイスのIPアドレスを読み込み(S63)、そのIPアドレスにネットワークWを介して送信用ファームウェアファイル300を送信する(S65)。ここで、S65では前述のように、NIC1のROM6の記憶領域6aに書き換えるべきファームウェア303を有する送信用ファームウェアファイル300はTFTPで、プリンタ10のROM12の記憶領域12aに書き換えるべきファームウェア303を有する送信用ファームウェアファイル300はLPRで、それぞれ送信する。   If they match (S61: YES), the IP address of the device is read from the device list 201 (S63), and the transmission firmware file 300 is transmitted to the IP address via the network W (S65). Here, in S65, as described above, the transmission firmware file 300 having the firmware 303 to be rewritten in the storage area 6a of the ROM 6 of the NIC 1 is TFT, and for transmission having the firmware 303 to be rewritten in the storage area 12a of the ROM 12 of the printer 10. The firmware file 300 is transmitted by LPR.

なお、TFTPの転送パラメータには、周知のように、PUTまたはGET(送信または受信)を表すパラメータと、送信先のIPアドレスと、送信元のファームウェアファイルのパス名と、送信先のファームウェアファイルのパス名とがある。しかしながら、NIC1は一般にファイルシステムを持たないので、送信先のファームウェアファイルのパス名はあまり意味を持たない。そこで、本実施の形態では、図13(B)に例示するように、このパス名の代わりにマネージャG固有のパスワードを添付した。このパスワードの効果は、後に詳述する。   As is well known, the TFTP transfer parameters include a parameter indicating PUT or GET (transmission or reception), a destination IP address, a path name of the source firmware file, and a destination firmware file. There is a path name. However, since NIC1 generally does not have a file system, the path name of the destination firmware file has little meaning. Therefore, in this embodiment, as illustrated in FIG. 13B, a password unique to the manager G is attached instead of this path name. The effect of this password will be described in detail later.

図6に戻って、送信用ファームウェアファイル300の送信後は、S67へ移行し、全てのデバイスに対して処理を終了してi=Nとなったか否かを判断する。i=Nでなければ(S67:NO)、前述のS57へ移行してiに1を加算し、次のデバイスに対して同様の処理を行う。このとき、i番目のデバイスが反転表示となっていなければ(S59:NO)、そのままS67へ移行してi=Nとなったか否かを判断する。そして、i=NでなければS57へ移行し、更に次のデバイスに対して同様の処理を行う。この処理を繰り返して、全てのデバイスに対して上記処理を終了してi=Nとなると、S67にて肯定判断して処理を終了し、図5の処理へ復帰する。   Returning to FIG. 6, after transmitting the transmission firmware file 300, the process proceeds to S <b> 67, and it is determined whether or not i = N has been completed for all devices. If i = N is not satisfied (S67: NO), the process proceeds to S57 described above, 1 is added to i, and the same process is performed for the next device. At this time, if the i-th device is not highlighted (S59: NO), the process proceeds to S67 and it is determined whether i = N. If i = N, the process proceeds to S57, and the same process is performed for the next device. This process is repeated, and when the above process is completed for all devices and i = N, an affirmative determination is made in S67, the process is terminated, and the process returns to the process of FIG.

以上の処理により、デバイスリスト201で反転表示した全てのデバイス(またはそれに接続されたNIC)に対して、S35またはS45にて選択されたファームウェア303を有する送信用ファームウェアファイル300を送信することができる。一方、上記処理の途中でS61にて、i番目のデバイスのデバイス名が、S51で読み込んだファームウェアのデバイス名301と一致しないと判断した場合は(S61:NO)、S69へ移行し、その時点ではまだ表示中のファイル名指定ダイヤログ230の上に、図14に例示する警告メッセージ240を重ねて表示する。そして、この場合は、S63,S65による送信用ファームウェアファイル300の送信を行うことなく、そのまま上記67へ移行する。このため、送信用ファームウェアファイル300をそのファームウェア303に適合しないデバイスに送信してしまうのを良好に防止することができる。   Through the above processing, the transmission firmware file 300 having the firmware 303 selected in S35 or S45 can be transmitted to all devices (or NICs connected thereto) highlighted in the device list 201. . On the other hand, if it is determined in S61 that the device name of the i-th device does not match the firmware device name 301 read in S51 (S61: NO), the process proceeds to S69. Then, the warning message 240 illustrated in FIG. 14 is displayed on the file name designation dialog 230 that is still being displayed. In this case, the process directly proceeds to 67 without transmitting the transmission firmware file 300 in S63 and S65. Therefore, it is possible to satisfactorily prevent the transmission firmware file 300 from being transmitted to a device that does not conform to the firmware 303.

このように、マネージャGでは、送信用ファームウェアファイル300を送信可能なデバイスをデバイスリスト201にリストアップして表示することができる。また、その表示されたデバイスの中から、送信用ファームウェアファイル300を送信すべきデバイスを、個々に選択することも同一機種を一括して選択することもできる。このため、バージョンアップしたいデバイスの選択がきわめて容易に行え、通信システムSの作業性をきわめて向上させることができる。しかも、選択したデバイスとファームウェア303とが適合しない場合には、警告メッセージ240が表示されるので、送信用ファームウェアファイル300を適合しないデバイスに送信し、誤動作を招いたり他のエラーメッセージを発生したりするのを良好に防止することができる。   As described above, the manager G can list up and display devices that can transmit the transmission firmware file 300 in the device list 201. In addition, the devices to which the transmission firmware file 300 should be transmitted can be individually selected from the displayed devices, or the same model can be selected at once. For this reason, the device to be upgraded can be selected very easily, and the workability of the communication system S can be greatly improved. In addition, when the selected device and the firmware 303 do not match, a warning message 240 is displayed, so that the transmission firmware file 300 is transmitted to a device that does not match, causing malfunction or generating other error messages. It can be prevented well.

次に、プリンタ10のCPU11が実行する処理について説明する。ROM12の書き換え可能な記憶領域12aには、図15(A)に例示するように、印字部17の制御等に関わる小型の処理プログラムとしてのファームウェア403と、そのファームウェア403等を記憶した記憶領域12aの記憶内容を書き換える書換プログラム404と、その書換プログラム404をRAM13にコピー(複写)する等の後述の処理のための制御プログラム405とが格納されている。 そして、CPU11は、制御プログラム405に基づいて次の処理を実行する。図16は、プリンタ10のCPU11が実行するヴァージョンアップ処理を表わすフローチャートである。図16に示すように、処理を開始すると、先ず、S81にて送信用ファームウェアファイル300を受信したか否か判断し、受信していない場合はS83にて通常の処理を実行してS81へ戻る。すなわち、プリンタ10がマネージャGからネットワークWを介して送信用ファームウェアファイル300を受信するまでは(S81:NO)、記憶領域12aに記憶されたファームウェア403や、ROM12に書き換え不能に記憶された他の処理プログラムに基づき、プリンタ10としての通常の処理を実行する(S83)。   Next, processing executed by the CPU 11 of the printer 10 will be described. In the rewritable storage area 12a of the ROM 12, as illustrated in FIG. 15A, a firmware 403 as a small processing program related to control of the printing unit 17 and the like, and a storage area 12a storing the firmware 403 and the like. A rewriting program 404 for rewriting the stored contents of the above and a control program 405 for later-described processing such as copying (copying) the rewriting program 404 to the RAM 13 are stored. Then, the CPU 11 executes the following processing based on the control program 405. FIG. 16 is a flowchart showing a version up process executed by the CPU 11 of the printer 10. As shown in FIG. 16, when the process is started, first, it is determined whether or not the transmission firmware file 300 has been received in S81. If not, the normal process is executed in S83 and the process returns to S81. . That is, until the printer 10 receives the transmission firmware file 300 from the manager G via the network W (S81: NO), the firmware 403 stored in the storage area 12a or other rewritable memory stored in the ROM 12 Based on the processing program, normal processing as the printer 10 is executed (S83).

なお、この通常の処理としては、印字部17の駆動等の周知の処理の他、マネージャGが送信したデバイス情報要求(S1)に対してデバイス情報100を返信する処理等も含まれている。また、送信用ファームウェアファイル300には、図示しないヘッダ等にそのデータが送信用ファームウェアファイル300であることを示す指示情報が添付されており、CPU11は、その指示情報を検出したときにS81にて肯定判断する。   The normal processing includes processing for returning the device information 100 in response to the device information request (S1) transmitted by the manager G in addition to known processing such as driving of the printing unit 17. The transmission firmware file 300 is attached with instruction information indicating that the data is the transmission firmware file 300 in a header or the like (not shown), and the CPU 11 detects the instruction information in S81. Make an affirmative decision.

プリンタ10が送信用ファームウェアファイル300を受信すると(S81:YES)、S87へ移行し、図15(B)に模式的に例示するように、書換プログラム404をRAM3上へコピーする。そして、続くS91〜S99では、RAM3上へコピーした書換プログラム404に基づく処理を次のように実行し、図15(C)に模式的に例示するように、記憶領域12aに記憶されたデータを書き換えて処理を終了する。   When the printer 10 receives the transmission firmware file 300 (S81: YES), the process proceeds to S87, and the rewrite program 404 is copied onto the RAM 3 as schematically illustrated in FIG. In subsequent S91 to S99, processing based on the rewrite program 404 copied onto the RAM 3 is executed as follows, and the data stored in the storage area 12a is stored as schematically illustrated in FIG. Rewrite and finish the process.

すなわち、S91ではROM12の記憶領域12a上のデータを消去し、続くS93では、受信した送信用ファームウェアファイル300のデータ(ファームウェア303,書換プログラム304,及び制御プログラム305)を、ROM12の記憶領域12aに書き込む。S95では、その書き込みが終了したか否かを判断し、終了するまでS93による書き込みの処理を繰り返した後(S95:YES)、S99へ移行する。S99では、CPU11の処理をROM12上の処理(例えば、プリンタ10をリセットする処理)へ移行させ、一旦処理を終了する。すると、記憶領域12aに新たに記憶されたファームウェア303や、ROM12に書き換え不能に記憶された他の処理プログラムに基づき、プリンタ10としての通常の処理が実行可能となる。   That is, in S91, the data in the storage area 12a of the ROM 12 is erased, and in the subsequent S93, the received data of the firmware file 300 for transmission (firmware 303, rewrite program 304, and control program 305) is stored in the storage area 12a of the ROM 12. Write. In S95, it is determined whether or not the writing is completed. The writing process in S93 is repeated until the writing is completed (S95: YES), and then the process proceeds to S99. In S99, the process of the CPU 11 is shifted to the process on the ROM 12 (for example, the process of resetting the printer 10), and the process is temporarily terminated. Then, normal processing as the printer 10 can be executed based on the firmware 303 newly stored in the storage area 12 a and other processing programs stored in the ROM 12 so as not to be rewritten.

このように、プリンタ10では、書換プログラム404を一旦RAM13に複写(コピー)し、その複写後の書換プログラム404に基づいてROM12の記憶内容を書き換えているので、一つの書換プログラム404によってROM12の記憶内容を一気に書き換えることができる。このため、プリンタ10の機械的な構成や制御システムとしての構成を簡略化し、ROM12の記憶容量を充分有効に活用すると共に、書き換えに要する処理時間も短縮することができる。また、このような書き換えを行ったROM12には、同様に書換プログラム304及び制御プログラム305が記憶されるので、プリンタ10が更に他の送信用ファームウェアファイルを受信したときも、前述の処理と同様に書き換えを行うことができる。   As described above, in the printer 10, the rewriting program 404 is temporarily copied (copied) to the RAM 13, and the storage contents of the ROM 12 are rewritten based on the rewriting program 404 after the copying. The contents can be rewritten at once. Therefore, the mechanical configuration of the printer 10 and the configuration as a control system can be simplified, the storage capacity of the ROM 12 can be used sufficiently effectively, and the processing time required for rewriting can be shortened. The rewritten ROM 12 stores the rewriting program 304 and the control program 305 in the same manner. Therefore, when the printer 10 receives another transmission firmware file, the same processing as described above is performed. Rewriting can be performed.

また、CPU11は、送信用ファームウェアファイル300を受信すると(S81:YES)自動的にS87〜S95の処理を実行して記憶領域12aを書き換え、書き換えが終了すると(S95:YES)、ROM12に基づく通常の処理へ自動的に移行することができる。このため、記憶領域12aの書き換えがきわめて容易に行えると共に、書き換え後にはきわめて迅速に通常の制御に復帰させることができる。従って、プリンタ10の操作性がきわめて向上する。   When the CPU 11 receives the transmission firmware file 300 (S81: YES), the CPU 11 automatically executes the processes of S87 to S95 to rewrite the storage area 12a. The process can be automatically transferred to. Therefore, rewriting of the storage area 12a can be performed very easily, and normal control can be restored very quickly after the rewriting. Therefore, the operability of the printer 10 is greatly improved.

NIC1のROM6の記憶領域6aにも同様にファームウェア,書換プログラム,及び制御プログラムが記憶されており、同様の処理によってROM6の記憶内容を一気に書き換えることができる。しかも、書き換えの開始や通常の処理への復帰も、上記と同様に自動的に行うことができる。但し、NIC1における処理は、送信用ファームウェアファイル300がTFTPで送信されたかLPRで送信されたかによって、次のような振り分けを行う点で異なる。   Similarly, firmware, a rewrite program, and a control program are stored in the storage area 6a of the ROM 6 of the NIC 1, and the storage contents of the ROM 6 can be rewritten at once by the same processing. In addition, the start of rewriting and the return to normal processing can be automatically performed as described above. However, the processing in the NIC 1 is different in that the following distribution is performed depending on whether the transmission firmware file 300 is transmitted by TFTP or LPR.

図17は、NIC1のCPU5が実行するヴァージョンアップ処理を表わすフローチャートである。図17に示すように、この処理は図16の処理とほぼ同様であり、前述のS81とS87との間に次のような処理を設けた点において異なる。すなわち、送信用ファームウェアファイル300を受信してS81にて肯定判断すると、S84へ移行し、その送信用ファームウェアファイル300がTFTPで送信されたものか否かを判断する。送信用ファームウェアファイル300がTFTPで送信された場合は(S84:YES)、S85へ移行して、その送信用ファームウェアファイル300に添付されたパスワードが適切か否か、すなわち、マネージャG固有のものであるか否かを判断する。送信用ファームウェアファイル300がTFTPで送信され、その転送パラメータのパス名の代わりに適切なパスワードが添付されている場合は(S84,S85:YES)、S87以下の処理へ移行して前述のようにROM6の記憶内容を書き換える。   FIG. 17 is a flowchart showing a version up process executed by the CPU 5 of the NIC 1. As shown in FIG. 17, this process is substantially the same as the process of FIG. 16, and is different in that the following process is provided between S81 and S87 described above. That is, when the transmission firmware file 300 is received and an affirmative determination is made in S81, the process proceeds to S84 to determine whether or not the transmission firmware file 300 has been transmitted by the TFTP. When the transmission firmware file 300 is transmitted by the TFTP (S84: YES), the process proceeds to S85, and whether or not the password attached to the transmission firmware file 300 is appropriate, that is, it is unique to the manager G. Judge whether there is. When the transmission firmware file 300 is transmitted by TFTP and an appropriate password is attached instead of the path name of the transfer parameter (S84, S85: YES), the process proceeds to S87 and subsequent steps, as described above. The stored contents of the ROM 6 are rewritten.

一方、送信用ファームウェアファイル300が他のプロトコル(この場合、LPR)で送信された場合は(S84:NO)、S86へ移行する。S86では、その送信用ファームウェアファイル300をそのままプリンタ10に転送し、再びS81,S83のループ処理へ移行して他の送信用ファームウェアファイル300を受信するまで待機する。また、送信用ファームウェアファイル300に添付されたパスワードが適切でない場合は(S85:NO)、そのままS81,S83のループ処理へ移行し、S81で受信した送信用ファームウェアファイル300は破棄する。   On the other hand, when the transmission firmware file 300 is transmitted by another protocol (in this case, LPR) (S84: NO), the process proceeds to S86. In S86, the transmission firmware file 300 is transferred to the printer 10 as it is, and the process proceeds to the loop processing of S81 and S83 again and waits until another transmission firmware file 300 is received. If the password attached to the transmission firmware file 300 is not appropriate (S85: NO), the process proceeds to the loop processing of S81 and S83 as it is, and the transmission firmware file 300 received in S81 is discarded.

マネージャGでは、図6のS65に関連して説明したように、NIC1のROM6の記憶領域6aに書き換えるべき送信用ファームウェアファイル300はTFTPで、プリンタ10のROM12の記憶領域12aに書き換えるべき送信用ファームウェアファイル300はLPRで、それぞれ送信している。そこで、NIC1では、送信用ファームウェアファイル300がTFTPで送信されたかLPRで送信されたかによって、その送信用ファームウェアファイル300を振り分けているのである。そして、プリンタ10に転送された送信用ファームウェアファイル300は、前述の図16の処理によって記憶領域12aに書き換えられる。このため、本実施の形態では次のような効果が生じる。   In the manager G, as described in relation to S65 of FIG. 6, the transmission firmware file 300 to be rewritten to the storage area 6a of the ROM 6 of the NIC 1 is TFT, and the transmission firmware to be rewritten to the storage area 12a of the ROM 12 of the printer 10. Each file 300 is transmitted by LPR. Therefore, the NIC 1 distributes the transmission firmware file 300 depending on whether the transmission firmware file 300 is transmitted by TFTP or LPR. Then, the transmission firmware file 300 transferred to the printer 10 is rewritten to the storage area 12a by the processing of FIG. For this reason, the following effects occur in the present embodiment.

すなわち、ファームウェア303がNIC1に書き換えるべきものであるかデバイスに書き換えるべきものであるかをプロトコルによって判断しているので、そのいずれであるかを示すデータ(例えば識別子等)を、送信用ファームウェアファイル300に添付する必要がない。このため、送信処理が簡略化され、装置の構成を簡略化して製造コストを低減することができると共に、処理速度を向上させることができる。   That is, since it is determined by the protocol whether the firmware 303 is to be rewritten to NIC1 or to the device, data (for example, an identifier or the like) indicating which one is to be transmitted is used as the transmission firmware file 300. There is no need to attach it. For this reason, the transmission process can be simplified, the configuration of the apparatus can be simplified, the manufacturing cost can be reduced, and the processing speed can be improved.

また、NIC1のROM6の書き換えは、送信用ファームウェアファイル300に添付されたパスワードが適切なときにのみ許可されるので、マネージャG以外のコンピュータから送られたファームウェア等がROM6に書き込まれるのを良好に防止することができる。特にNIC1では、他のコンピュータから異常なファームウエアを受信してROM6に書き込むと、マネージャGとの間でデータの送受信が全くできなくなる可能性もあるが、本実施の形態ではこのような事態の発生を良好に防止することができる。しかも、本実施の形態では、TFTPのパス名の代わりにパスワードを添付しただけの簡単なデータ体系によってこのような効果を得ることができるので、通信システムとしての構成を簡略化しつつ、その信頼性を高めることができる。   In addition, since rewriting of the ROM 6 of the NIC 1 is permitted only when the password attached to the transmission firmware file 300 is appropriate, it is possible to satisfactorily write firmware or the like sent from a computer other than the manager G into the ROM 6. Can be prevented. In particular, in the NIC 1, when abnormal firmware is received from another computer and written in the ROM 6, there is a possibility that data cannot be transmitted / received to / from the manager G at all. Generation | occurrence | production can be prevented favorably. In addition, in the present embodiment, such an effect can be obtained by a simple data system in which a password is attached instead of a TFTP path name, so that the reliability of the communication system can be simplified while simplifying the configuration. Can be increased.

以上、詳述したように、本実施の形態の通信システムSでは、NIC1及びプリンタ10が、一つの書き換えプログラムによって、ROM6またはROM12の記憶内容を一気に書き換えることができる。このため、装置の機械的な構成や制御システムとしての構成を簡略化し、ROM6,12の記憶容量を充分有効に活用すると共に、書き換えに要する処理時間も短縮することができる。しかも、デバイスリスト画面200により、その書き換えを行うべきデバイス(処理装置)もきわめて容易に選択できる。   As described above in detail, in the communication system S according to the present embodiment, the NIC 1 and the printer 10 can rewrite the storage contents of the ROM 6 or the ROM 12 at a stretch by one rewriting program. For this reason, the mechanical configuration of the apparatus and the configuration as the control system can be simplified, the storage capacity of the ROMs 6 and 12 can be utilized sufficiently effectively, and the processing time required for rewriting can be shortened. In addition, the device (processing device) to be rewritten can be selected very easily on the device list screen 200.

なお、上記説明では、NIC1にプリンタ10を一対一に接続した場合を中心に説明したが、図1に示すように、NIC1には、プリンタ40を接続すると共にこれに並列に、例えば、イメージスキャナ70を接続することもできる。更に、上記プリンタ40に対して、インテリジェントな(固有のCPUを有した)用紙ソータ80を接続することもできる。この場合には、プリンタ40は、用紙ソータ80のデバイス情報もNIC1のデバイス情報と共に取得し、図7のデバイス情報100に添付してマネージャGに返信する。   In the above description, the case where the printer 10 is connected to the NIC 1 on a one-to-one basis has been mainly described. However, as shown in FIG. 1, a printer 40 is connected to the NIC 1 and in parallel therewith, for example, an image scanner 70 can be connected. Further, an intelligent paper sorter 80 (having a unique CPU) can be connected to the printer 40. In this case, the printer 40 also acquires the device information of the paper sorter 80 together with the device information of the NIC1, attaches it to the device information 100 of FIG.

上記実施の形態において、S87の処理が書換プログラム複写処理に、S91〜S95の処理が処理プログラム書換処理に、S99の処理がリセット処理に、それぞれ相当し、その書換プログラム複写処理,処理プログラム書換処理,またはリセット処理を実行するCPU5または11、及び、それらの処理を記憶したROM6または12の記憶領域が書換プログラム複写手段,処理プログラム書換手段,またはリセット手段に相当する。また、トランシーバ2及び接続ライン9が受信手段に、マネージャGのネットワークWに向けた図示しない出力ポートが出力手段及び送信手段に、デバイスリスト201がリストアップ手段に、そのデバイスリスト201のアイコン及び同機種全て選択ボタン204が送信先指定手段に、それぞれ相当する。   In the above embodiment, the process of S87 corresponds to the rewrite program copy process, the process of S91 to S95 corresponds to the process program rewrite process, and the process of S99 corresponds to the reset process. Alternatively, the CPU 5 or 11 that executes the reset process and the storage area of the ROM 6 or 12 that stores these processes correspond to a rewrite program copy unit, a process program rewrite unit, or a reset unit. Further, the transceiver 2 and the connection line 9 are the receiving means, the output port (not shown) directed to the network W of the manager G is the output means and the transmitting means, the device list 201 is the list-up means, the icon of the device list 201 and the same All model selection buttons 204 correspond to transmission destination designation means.

更に、S69の処理、S5にてデバイス情報100からデバイス名102及びNICデバイス名105を読み取る処理、及び、S35または45にて同機種全て選択ボタン204の押下時に同機種のデバイスを選択する処理が、警報処理,機種情報取得処理,及び機種分類処理にそれぞれ相当し、その警報処理,機種情報取得処理,または機種分類処理を実行するCPU50及びその処理を記憶したROM51の記憶領域が機種情報取得手段及び機種分類手段に、それぞれ相当する。   Further, a process of S69, a process of reading the device name 102 and the NIC device name 105 from the device information 100 in S5, and a process of selecting a device of the same model when the select all models button 204 is pressed in S35 or 45. Corresponding to the alarm process, model information acquisition process, and model classification process, the CPU 50 for executing the alarm process, model information acquisition process, or model classification process, and the storage area of the ROM 51 storing the process are model information acquisition means. And model classification means.

更に、本発明は上記実施の形態になんら限定されるものではなく、本発明の要旨を逸脱しない範囲で種々の形態で実施することができる。例えば、上記実施の形態では、デバイスリスト201に表示されたデバイスをクリックすることによってデバイスを選択しているが(S11)、キーボード53から機種名を直接入力することによって選択することも可能とすることができる。   Furthermore, the present invention is not limited to the above-described embodiment, and can be implemented in various forms without departing from the gist of the present invention. For example, in the above embodiment, a device is selected by clicking a device displayed in the device list 201 (S11), but it is also possible to select a device by directly inputting the model name from the keyboard 53. be able to.

また、上記実施の形態では、送信用ファームウェアファイル300を受信したとき一律にROM12の書き換え(S87〜95)を実行しているが、その前に書き換えの要否を判断してもよい。例えば、送信用ファームウェアファイル300のヘッダにファームウェア303のバージョンを表す識別情報を添付しておき、そのバージョンがROM12に記憶されているファームウェア403と同一であれば、受信したバージョンアップ用のプログラムデータを(受信バッファから)読み捨てて、そのままS81,S83のループ処理へ戻るようにしてもよい。また、同様にバスワード等の管理情報を追加して、バージョンアップの実行を制限してもよい。この場合、同一のファームウェア303,403に対する書き換え処理が実行されるのを良好に防止して、CPU11の処理速度を向上させることができる。また、このことはNIC1に対しても同様にいえる。   In the above embodiment, when the transmission firmware file 300 is received, the ROM 12 is rewritten uniformly (S87 to 95). However, it may be determined whether or not rewriting is necessary before that. For example, identification information indicating the version of the firmware 303 is attached to the header of the transmission firmware file 300, and if the version is the same as the firmware 403 stored in the ROM 12, the received program data for upgrading is received. It may be discarded (from the reception buffer) and returned to the loop processing of S81 and S83 as it is. Similarly, management information such as a password may be added to restrict execution of version upgrade. In this case, it is possible to improve the processing speed of the CPU 11 by satisfactorily preventing the rewriting process for the same firmware 303 and 403 from being executed. This also applies to NIC1.

この場合、上記ファームウェアの異同を判断する処理、及びその処理を実行するCPU11と、その処理を記憶したROM12の記憶領域とが識別手段に相当する。更に、上記書き換え(S87〜S95)を実行するか否かは、プリンタ10の操作パネル等によって個々に設定できるようにしてもよい。   In this case, the processing for determining the difference between the firmware, the CPU 11 that executes the processing, and the storage area of the ROM 12 that stores the processing correspond to the identification means. Further, whether or not to execute the rewriting (S87 to S95) may be individually set by the operation panel of the printer 10 or the like.

また、上記実施の形態では、同一機種のデバイスには同一機種のNICが対応するものとして説明したが、デバイスとNICとの対応関係が自由に設定できる通信システムも考えられる。このような通信システムでは、同機種全て選択ボタン204を、図18に例示するように、同機種のデバイスを一括して選択する同機種本体選択ボタン204aと、同機種のNICを備えたデバイスを一括して選択する同機種NIC選択ボタン204bとに分けることが望ましい。この場合、同機種のNICにROM6の書き換えを行ってバージョンアップしたいときは、そのNICを有するデバイスをクリックした後、同機種NIC選択ボタン204bを押下すればよい。この場合、デバイスクラスの異なるデバイスであっても、NICが同機種であれば一括してバージョンアップすることができる。   In the above embodiment, the same model NIC is described as being supported by the same model device, but a communication system in which the correspondence between the device and the NIC can be freely set is also conceivable. In such a communication system, as shown in FIG. 18, the same model main body selection button 204a for selecting all devices of the same model at once, and a device having the same model NIC as shown in FIG. It is desirable to divide into the same model NIC selection button 204b which selects collectively. In this case, if it is desired to upgrade the version of the NIC of the same model by rewriting the ROM 6, after clicking on the device having the NIC, the same model NIC selection button 204b may be pressed. In this case, even devices having different device classes can be upgraded in a batch if the NIC is the same model.

また、ROM12に予め記憶されたファームウェア403を書き換えるための書換プログラム404は、送信用ファームウェアファイル300に書換プログラム304の代わりに添付してもよい。この場合、CPU11におけるS87の処理を、受信した送信用ファームウェアファイル300からRAM12へ書換プログラム404をコピーする処理とすれば、上記と同様の作用・効果が生じる。また、この場合、書き換え終了後は書換プログラム404は不要となるので、S93ではファームウェア303及び制御プログラム305を書き込むだけでよい。 このように、ROM12(ROM6に対しても同様のことがいえる)の現在の記憶内容を書き換えるための書換プログラムをネットワークWを介して新たに記憶すべきデータ(ファームウェア等)と共に送信する場合、ROM12に予め書換プログラムを記憶させておく必要がなく、そのROM12の記憶容量を一層有効に活用することができる。   A rewriting program 404 for rewriting the firmware 403 stored in advance in the ROM 12 may be attached to the transmission firmware file 300 instead of the rewriting program 304. In this case, if the process of S87 in the CPU 11 is a process of copying the rewrite program 404 from the received transmission firmware file 300 to the RAM 12, the same operations and effects as described above are produced. In this case, since the rewriting program 404 is not required after the rewriting is completed, it is only necessary to write the firmware 303 and the control program 305 in S93. As described above, when a rewrite program for rewriting the current storage contents of the ROM 12 (the same can be said for the ROM 6) is transmitted together with data (firmware or the like) to be newly stored via the network W, the ROM 12 It is not necessary to store a rewrite program in advance, and the storage capacity of the ROM 12 can be used more effectively.

更に、上記実施の形態では、デバイスを選択した後にファームウェアのファイル名を入力しているが、ファームウェアのファイル名を先に入力する構成も考えられる。この場合、デバイスリスト201を表示する際にデバイス名(例えば、デバイス情報100のデバイス名102またはNICデバイス名105)を参照し、そのファームウェアが適合するデバイスのみをリストアップすることができる。この場合、デバイスリスト201に表示されたデバイスはどれを選択してもファームウェアに適合するので、S59,S69の処理が不要となると共に操作性が一層向上する。但し、全てのデバイスに対してファームウェアとの適合性をチェックする必要があるので、デバイスの数が極端に多い場合はデバイスリスト201の表示処理に時間がかかる。従って、上記実施の形態の方が、デバイスリスト201の表示処理を迅速に行うことができる。   Further, in the above embodiment, the firmware file name is input after the device is selected. However, a configuration in which the firmware file name is input first is also conceivable. In this case, when the device list 201 is displayed, the device name (for example, the device name 102 or the NIC device name 105 of the device information 100) can be referred to, and only the devices that match the firmware can be listed. In this case, since any device displayed in the device list 201 is compatible with the firmware, any processing in S59 and S69 is not required and the operability is further improved. However, since it is necessary to check the compatibility with the firmware for all devices, it takes time to display the device list 201 when the number of devices is extremely large. Therefore, the display processing of the device list 201 can be performed more quickly in the above embodiment.

また、デバイスリスト画面200によってバージョンアップすべきデバイスを選択可能とした効果は、上記以外の各種システムに適用した場合にも同様に発揮される。例えば、別のROMに記憶された書換プログラムによってプログラマブルROMの記憶内容を書き換える従来のシステムに対して適用した場合にも、デバイスリスト画面200の上記効果は充分に発揮される。   In addition, the effect of enabling selection of a device to be upgraded on the device list screen 200 is also exhibited when applied to various systems other than those described above. For example, even when the present invention is applied to a conventional system in which the content stored in the programmable ROM is rewritten by a rewriting program stored in another ROM, the above-described effect of the device list screen 200 is sufficiently exhibited.

更に、書換プログラムをRAMに複写してプログラマブルROMの記憶内容を書き換える構成は、プログラマブルROMを複数備えた装置に適用しても効果を発生し、そのプログラマブルROMの記憶容量を有効に活用することが可能となる。特に、プリンタ10等の画像形成装置では、プログラマブルROMを複数備えている場合、どのプログラマブルROMにどのファームウェア303を書き込むかが決まっている。そこで、送信用ファームウェアファイル300のヘッダ等にコマンドを添付し、そのコマンドによってどのプログラマブルROMを書き換えるか指定してもよい。   Furthermore, the configuration in which the rewrite program is copied to the RAM and the stored contents of the programmable ROM are rewritten can produce an effect even when applied to a device having a plurality of programmable ROMs, and the storage capacity of the programmable ROM can be effectively utilized. It becomes possible. In particular, when an image forming apparatus such as the printer 10 includes a plurality of programmable ROMs, which firmware 303 is written in which programmable ROM is determined. Therefore, a command may be attached to the header of the transmission firmware file 300, and it may be specified which programmable ROM is rewritten by the command.

また、上記書換プログラム複写処理,処理プログラム書換処理等を記憶する記憶媒体としては、ROM,RAM等の素子の他、種々の形態が考えられる。例えば、CD−ROM,フロピーディスク等でもよく、カードスロットへ挿入可能なプログラムカートリッジ等でもよく、インターネット上のファイルサーバであってもよい。すなわち、本発明の出力手段は、これらの各種記憶媒体に送信用ファームウェアファイル300等のデータを出力するものも含み、本発明の受信手段は、上記各種記憶媒体から送信用ファームウェアファイル300等のデータを受信するものも含んでいる。 更に、本発明は、プリンタ10等の画像形成装置を中心とした通信システムに限らず、通信カラオケシステム等、他の種々の通信システムに適用することができる。但し、画像形成装置に内蔵されたプログラマブルROMでは、どの記憶領域にどのような処理プログラムを記憶するかが機種毎にほぼ規定されている。このため、上記実施の形態のように、ファームウェア303を記憶領域12aのどの位置に格納すべきかを指定する記憶位置指定情報としてのアドレス302を、送信用ファームウェアファイル300に添付することができる。このため、上記書き換え処理が一層円滑に行え、その処理速度を更に向上させることができる。   In addition to elements such as ROM and RAM, various forms are conceivable as storage media for storing the above-described rewrite program copy process, process program rewrite process, and the like. For example, it may be a CD-ROM, floppy disk, etc., a program cartridge that can be inserted into a card slot, or a file server on the Internet. That is, the output means of the present invention includes those that output data such as the transmission firmware file 300 to these various storage media, and the reception means of the present invention includes data such as the transmission firmware file 300 from the various storage media. It includes those that receive. Furthermore, the present invention is not limited to the communication system centering on the image forming apparatus such as the printer 10, but can be applied to other various communication systems such as a communication karaoke system. However, in the programmable ROM built in the image forming apparatus, what processing program is stored in which storage area is almost prescribed for each model. For this reason, as in the above embodiment, the address 302 as storage location designation information for designating where in the storage area 12a the firmware 303 should be stored can be attached to the transmission firmware file 300. Therefore, the rewriting process can be performed more smoothly, and the processing speed can be further improved.

本発明が適用された通信システムの構成を表すブロック図である。It is a block diagram showing the structure of the communication system to which this invention was applied. マネージャによるバージョンアップ処理を表すフローチャートである。It is a flowchart showing the upgrade process by a manager. そのバージョンアップ処理の続きを表すフローチャートである。It is a flowchart showing the continuation of the upgrade process. そのバージョンアップ処理の更に続きを表すフローチャートである。It is a flowchart showing the further continuation of the version upgrade process. そのバージョンアップ処理の更に続きを表すフローチャートである。It is a flowchart showing the further continuation of the version upgrade process. その処理内のファームウェア送信処理を表すフローチャートである。It is a flowchart showing the firmware transmission process in the process. プリンタが返信するデバイス情報を模式的に表す説明図である。It is explanatory drawing which represents typically the device information which a printer returns. そのデバイス情報に対応したデバイスリスト画面の一例を表す説明図である。It is explanatory drawing showing an example of the device list screen corresponding to the device information. 一つのデバイスが選択されたデバイスリスト画面の一例を表す説明図である。It is explanatory drawing showing an example of the device list screen from which one device was selected. 同機種のデバイス選択時のデバイスリスト画面の一例を表す説明図である。It is explanatory drawing showing an example of the device list screen at the time of device selection of the same model. 選択機種変更ダイヤログの一例を表す説明図である。It is explanatory drawing showing an example of the selection model change dialog. ファイル名指定ダイヤログの一例を表す説明図である。It is explanatory drawing showing an example of a file name designation | designated dialog. 送信用ファームウェアファイルの形態を模式的に例示する説明図である。It is explanatory drawing which illustrates typically the form of the firmware file for transmission. 警告メッセージの一例を表す説明図である。It is explanatory drawing showing an example of a warning message. プリンタによるバージョンアップ処理を模式的に表す説明図である。It is explanatory drawing which represents typically the version upgrade process by a printer. プリンタによるバージョンアップ処理を表すフローチャートである。6 is a flowchart illustrating version upgrade processing by a printer. NICによるバージョンアップ処理を表すフローチャートである。It is a flowchart showing the version upgrade process by NIC. デバイスリスト画面の他の形態を表す説明図である。It is explanatory drawing showing the other form of a device list screen.

符号の説明Explanation of symbols

1...NIC 2...トランシーバ 5,11...CPU 6,12...ROM
7,13...RAM 6a,12a...記憶領域 9...接続ライン
10,30,40...プリンタ 17...印字部 53...キーボード
70...イメージスキャナ 80...用紙ソータ 100...デバイス情報
101...デバイスクラス 102...デバイス名 103...ステータス
104...プリンタバージョン 105...NICデバイス名
106...NICバージョン 107...IPアドレス
200...デバイスリスト画面 201...デバイスリスト
202...本体ファームウェアアップデートボタン
203...NICファームウェアアップデートボタン
204...同機種全て選択ボタン 205...終了ボタン
220...選択機種変更ダイヤログ 230...ファイル名指定ダイヤログ
240...警告メッセージ 300...送信用ファームウェアファイル301...デバイス名 302...アドレス 303,403...ファームウェア304,404...書換プログラム 305,405...制御プログラム
G...マネージャ W...ネットワーク
1 ... NIC 2 ... transceiver 5,11 ... CPU 6,12 ... ROM
7, 13 ... RAM 6a, 12a ... storage area 9 ... connection lines 10, 30, 40 ... printer 17 ... printing section 53 ... keyboard 70 ... image scanner 80 .. Paper sorter 100 ... Device information 101 ... Device class 102 ... Device name 103 ... Status 104 ... Printer version 105 ... NIC device name 106 ... NIC version 107 ... IP Address 200 ... Device list screen 201 ... Device list 202 ... Main body firmware update button 203 ... NIC firmware update button 204 ... Select all buttons of the same model 205 ... End button 220 ... Select Model change dialog 230 ... File name specification dialog 240 ... Warning message 300 ... Transmission firmware file 301 ... Device name 302 ... Address 3 03, 403 ... Firmware 304, 404 ... Rewrite program 305, 405 ... Control program G ... Manager W ... Network

Claims (2)

記憶内容を書き換え可能な記憶領域を備えたプログラマブルROMと、
上記記憶領域に記憶された処理プログラムに基づく処理を実行するCPUと、 該CPUによる処理に必要なデータを一時的に記憶するRAMと、
を備えた処理装置に対し、上記記憶領域に記憶させるための新たな処理プログラムを出力する出力手段を備えたプログラム出力装置であって、
上記出力手段が、
上記記憶領域に記憶された上記処理プログラムの書き換えを上記処理装置に対して指示する指示情報と、
上記新たな処理プログラムを記憶した上記記憶領域の記憶内容を書き換えるための書換プログラムと、
該書換プログラムを上記RAMに複写する書換プログラム複写処理、及び、該書換プログラム複写処理によって上記RAMに複写された書換プログラムを上記CPUに実行させて、上記記憶領域に記憶された上記新たな処理プログラムを他の処理プログラムに書き換える処理プログラム書換処理を、順次実行させるソフトウェアプログラムと、
を、上記新たな処理プログラムと共に上記処理装置に対して出力することを特徴とするプログラム出力装置。
Programmable ROM having a storage area in which stored contents can be rewritten,
A CPU for executing processing based on the processing program stored in the storage area; a RAM for temporarily storing data necessary for processing by the CPU;
A program output device comprising output means for outputting a new processing program to be stored in the storage area.
The output means is
Instruction information for instructing the processing device to rewrite the processing program stored in the storage area;
A rewriting program for rewriting the storage contents of the storage area storing the new processing program;
Rewriting program copying process for copying the rewriting program to the RAM, and the new processing program stored in the storage area by causing the CPU to execute the rewriting program copied to the RAM by the rewriting program copying process. A software program that sequentially executes a processing program rewriting process for rewriting a program to another processing program;
Is output to the processing device together with the new processing program.
上記出力手段による上記指示情報,上記書換プログラム,上記ソフトウェアプログラム,及び上記新たな処理プログラムの出力先としての上記処理装置が、画像形成装置に内蔵されていると共に、上記新たな処理プログラムに、そのプログラムを上記記憶領域のどの位置に記憶するかを指定する記憶位置指定情報が添付されたことを特徴とする請求項2記載のプログラム出力装置。


The processing device as an output destination of the instruction information, the rewriting program, the software program, and the new processing program by the output means is built in the image forming apparatus, and the new processing program includes 3. The program output device according to claim 2, further comprising storage location designation information for designating in which location in the storage area the program is stored.


JP2005366529A 2005-12-20 2005-12-20 Program output device Expired - Fee Related JP3856044B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005366529A JP3856044B2 (en) 2005-12-20 2005-12-20 Program output device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005366529A JP3856044B2 (en) 2005-12-20 2005-12-20 Program output device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP00812998A Division JP3812115B2 (en) 1998-01-19 1998-01-19 Communications system

Publications (2)

Publication Number Publication Date
JP2006120179A true JP2006120179A (en) 2006-05-11
JP3856044B2 JP3856044B2 (en) 2006-12-13

Family

ID=36537938

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005366529A Expired - Fee Related JP3856044B2 (en) 2005-12-20 2005-12-20 Program output device

Country Status (1)

Country Link
JP (1) JP3856044B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009271875A (en) * 2008-05-12 2009-11-19 Hioki Ee Corp Display controller

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009271875A (en) * 2008-05-12 2009-11-19 Hioki Ee Corp Display controller

Also Published As

Publication number Publication date
JP3856044B2 (en) 2006-12-13

Similar Documents

Publication Publication Date Title
JP3812115B2 (en) Communications system
US6990659B1 (en) Device for rewriting software programs in peripheral devices connected to a network
US8493577B2 (en) Control device, image forming apparatus, printing system, control method, and control program
JPH11203218A (en) Data communication system, interface device and storage medium
JP2007007873A (en) Apparatus for accepting operation request, program, recording medium, method for controlling operation request accepting apparatus, communication system, and method for operating communication system
JP4932324B2 (en) Operation request receiving apparatus, program, recording medium, operation request receiving apparatus control method, communication system, and communication system operation method
JP2007066271A (en) Information processor, method for controlling the same, data processor and program
JP4631669B2 (en) Printing system and printing control program
JP3856045B2 (en) Communication system and storage medium
JP4207032B2 (en) Firmware transmission program, control method, data transmission apparatus, and network system
JP2003069569A (en) Network system including terminal or record medium with program
JP3856044B2 (en) Program output device
JP2000112720A (en) Booting method for boot system of remote computer
JP7047504B2 (en) Job system, job execution method, information processing device, program
JP6973063B2 (en) Image processing system and information processing equipment
JP2017199163A (en) Electronic apparatus system and firmware update management program
US6572288B1 (en) Printing system and method of managing data in the printing system
JP2007241672A (en) Emulation device, emulation system, and control method and control program for emulation device
JP2009015531A (en) Information processor, information processing program, and recording medium with information processing program recorded therein
JP2009230668A (en) Printing system
JP2009099093A (en) Management program, information processor and information processing system
JPH08335149A (en) Information processor, printer, printing system and printing data transfer method for printing system
JP4996494B2 (en) Facsimile data transmission program and facsimile data transmission method
JP2005100156A (en) Data processor, print device, image processing system and processing method for print job
JP2003237194A (en) Printer

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060606

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060712

RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20060712

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060807

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060904

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

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100922

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20100922

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110922

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20110922

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120922

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130922

Year of fee payment: 7

LAPS Cancellation because of no payment of annual fees