JP2007200156A - Information processor and flash rom rewriting method of information processor - Google Patents

Information processor and flash rom rewriting method of information processor Download PDF

Info

Publication number
JP2007200156A
JP2007200156A JP2006019876A JP2006019876A JP2007200156A JP 2007200156 A JP2007200156 A JP 2007200156A JP 2006019876 A JP2006019876 A JP 2006019876A JP 2006019876 A JP2006019876 A JP 2006019876A JP 2007200156 A JP2007200156 A JP 2007200156A
Authority
JP
Japan
Prior art keywords
flash rom
program
rewriting
rewrite
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Withdrawn
Application number
JP2006019876A
Other languages
Japanese (ja)
Other versions
JP2007200156A5 (en
Inventor
Hiroyuki Motoyama
浩之 本山
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2006019876A priority Critical patent/JP2007200156A/en
Publication of JP2007200156A publication Critical patent/JP2007200156A/en
Publication of JP2007200156A5 publication Critical patent/JP2007200156A5/ja
Withdrawn legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide an information processor wherein rewrite processing of a flash ROM is performed by a correct rewrite program coping with a change of an address map, and a flash ROM rewrite method of the information processor. <P>SOLUTION: A flash ROM rewrite part 310 determines whether map information and model information designated by a rewrite program coincide with those stored in a flash ROM 311 or not and executes rewrite in accordance with the rewrite program in the case of coincidence but doesn't execute it in the case of non-coincidence. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、ホストコンピュータからの指示に応じて動作する情報処理装置およびその制御方法に係り、特にフラッシュROMの書き換えを行う情報処理装置及び情報処理装置のフラッシュROM書換方法に関する。   The present invention relates to an information processing apparatus that operates in response to an instruction from a host computer and a control method thereof, and more particularly to an information processing apparatus that rewrites a flash ROM and a flash ROM rewriting method of the information processing apparatus.

プリンタやスキャナ等のホストコンピュータと通信可能に接続された周辺機器には、印刷機構や用紙送り機構、画像読み取り機構等の各種ハードウェアの制御を行うためのファームウェアが組み込まれている。一般にファームウェアは周辺機器の内部に設けられた不揮発性のメモリであるフラッシュROM内に格納されている。   A peripheral device connected to be able to communicate with a host computer such as a printer or a scanner incorporates firmware for controlling various hardware such as a printing mechanism, a sheet feeding mechanism, and an image reading mechanism. In general, firmware is stored in a flash ROM which is a nonvolatile memory provided in a peripheral device.

一般に、フラッシュROMは、各種ハードウェアの制御を行うための基本プログラムであるファームウェアが格納された基本プログラム領域と、基本プログラムを更新プログラムへ書き換えるプログラムが格納された書き換えプログラム領域と、プリンタ電源投入時の状態に応じて基本プログラムまたは書き換えプログラムのいずれかをメインメモリへ読み出すIPL(Initial Program Loader)が格納されたIPL領域と、を備えている(特許文献1参照)。これらの領域は予め規定されているアドレスマップに基づいて配置された領域であって、基本プログラムを書き換える際には、ホストコンピュータからダウンロードされた更新プログラムを基本プログラム領域へ書き込むようになっている。ここでアドレスマップとは周辺機器の制御部が各種データを読み出す際に指定するアドレスの割り当て表のようなもので、どのアドレスにどんなデータが格納されているかを示すものである。   In general, the flash ROM has a basic program area in which firmware, which is a basic program for controlling various hardware, a rewrite program area in which a program for rewriting a basic program into an update program, and a printer power-on And an IPL area in which an IPL (Initial Program Loader) for reading either a basic program or a rewriting program to the main memory is stored according to the state (see Patent Document 1). These areas are areas arranged based on a predetermined address map. When the basic program is rewritten, an update program downloaded from the host computer is written into the basic program area. Here, the address map is like an address assignment table specified when the control unit of the peripheral device reads various data, and indicates what data is stored at which address.

ところで、これらの領域の配置を変更したい場合、つまりアドレスマップを変更する必要がある場合には、一度フラッシュROMに格納されたデータを全て消去したり、フラッシュROM自体を新たに交換した後、新たに規定したアドレスマップに基づいて、各領域にホストコンピュータからダウンロードした更新プログラム、書き換えプログラム及びIPLが書き込まれる。このような場合、アドレスマップを変更する毎にそれに対応した正しい書き換えプログラム及びIPLがダウンロードされなければならない。   By the way, when it is desired to change the arrangement of these areas, that is, when it is necessary to change the address map, all the data once stored in the flash ROM is erased or the flash ROM itself is newly replaced, The update program, rewrite program, and IPL downloaded from the host computer are written in each area based on the address map defined in (1). In such a case, every time the address map is changed, a correct rewriting program and IPL corresponding to the address map must be downloaded.

このように、アドレスマップを変更して、変更毎に書き換えプログラム及びIPLをホストコンピュータからダウンロードする場合には、ホストコンピュータ側には、変更前のアドレスマップに対応した書き換えプログラムやIPLプログラムが変更後もそのまま保持されていることが多い。   As described above, when the address map is changed and the rewrite program and the IPL are downloaded from the host computer for each change, the rewrite program or IPL program corresponding to the address map before the change is changed on the host computer side. Are often held as they are.

特開2001−51844号公報JP 2001-51844 A

しかしながら、ホストコンピュータから変更後のアドレスマップに対応した書き換えプログラム等をダウンロードしたつもりが、誤って、変更前のアドレスマップに対応した書き換えプログラムやIPL等をダウンロードしてしまう場合が生じる。この場合、変更前のアドレスマップにしたがって書き込まれたデータの上に、変更後のアドレスマップにしたがって書き換えプログラム等が書き込まれてしまうためプログラムが破壊されてしまう。プログラムが破壊された状態では機器自体を起動させることができず再度フラッシュROMのデータを全て消去したり、交換する等の対応をとらなければならない。   However, there is a case where a rewrite program or the like corresponding to the changed address map is downloaded from the host computer, but the rewrite program or IPL or the like corresponding to the address map before the change is erroneously downloaded. In this case, since the rewrite program or the like is written on the data written according to the address map before the change according to the address map after the change, the program is destroyed. In the state where the program is destroyed, the device itself cannot be started up, and all the data in the flash ROM must be erased or replaced again.

本発明は、上記問題点に鑑みてなされたものであり、フラッシュROMの書き換え処理において、アドレスマップを変更しても変更に対応した正しい書き換えプログラムによって、書き換え処理が行われるような情報処理装置及び情報処理装置のフラッシュROM書換方法を提供することを目的とする。   The present invention has been made in view of the above problems, and in the flash ROM rewriting process, an information processing apparatus in which rewriting processing is performed by a correct rewriting program corresponding to the change even if the address map is changed, and An object of the present invention is to provide a flash ROM rewriting method for an information processing apparatus.

本発明の上記目的は、以下の手段によって達成される。
(1) 画像の印刷出力または取得を行う画像処理部と、プログラム及び前記プログラムの実行時に参照される設定値が記録されたフラッシュROMと、前記プログラムに応じて、前記画像処理部を制御する画像制御部と、を備え、ホストコンピュータからの指示に応じて動作する情報処理装置であって、
前記ホストコンピュータから書き換えプログラムを受信する受信部と、
前記書き換えプログラムに応じて、前記フラッシュROMの書き換えを実行するフラッシュROM書換部を備え、
前記フラッシュROMには、該フラッシュROM内のデータの記憶パターンを示すマップ情報が記憶されており、
前記フラッシュROM書換部は、前記書き換えプログラムに指定されたマップ情報と、前記フラッシュROMに記憶されたマップ情報とが一致している場合には前記書き換えプログラムに応じて書き換えを実行し、一致していない場合には書き換えを行わないことを特徴とする情報処理装置。
(2) 前記フラッシュROMには、前記情報処理装置の機種を示す機種情報が記憶されており、
前記フラッシュROM書換部は、前記書き換えプログラムに指定された機種情報と前記フラッシュROMに記憶された機種情報とが一致している場合には前記書き換えプログラムに応じて書き換えを実行し、一致していない場合には書き換えを行わないことを特徴とする(1)に記載の情報処理装置。
(3) 画像の印刷出力または取得を行う画像処理部と、プログラム及び前記プログラムの実行時に参照される設定値が記録され、内部のデータの記憶パターンを示すマップ情報を備えたフラッシュROMと、前記プログラムに応じて、前記画像処理部を制御する画像制御部と、を備え、ホストコンピュータからの指示に応じて動作する情報処理装置のフラッシュROM書換方法であって、
前記ホストコンピュータから書き換えプログラムを受信し、
前記書き換えプログラムに指定されたマップ情報と、前記フラッシュROMに記憶されたマップ情報とが一致している場合には前記書き換えプログラムに応じて書き換えを実行し、一致していない場合には書き換えを行わないことを特徴とする情報処理装置のフラッシュROM書換方法。
(4) 前記フラッシュROMには、前記情報処理装置の機種を示す機種情報が記憶されており、
前記書き換えプログラムに指定された機種情報と前記フラッシュROMに記憶された機種情報とが一致している場合には前記書き換えプログラムに応じて書き換えを実行し、一致していない場合には書き換えを行わないことを特徴とする(3)に記載の情報処理装置のフラッシュROM書換方法。
The above object of the present invention is achieved by the following means.
(1) An image processing unit that prints out or acquires an image, a flash ROM that stores a program and setting values that are referred to when the program is executed, and an image that controls the image processing unit according to the program And an information processing apparatus that operates in response to an instruction from a host computer,
A receiving unit for receiving a rewriting program from the host computer;
In accordance with the rewriting program, a flash ROM rewriting unit for executing rewriting of the flash ROM
The flash ROM stores map information indicating a storage pattern of data in the flash ROM,
The flash ROM rewriting unit executes rewriting according to the rewriting program when the map information specified in the rewriting program matches the map information stored in the flash ROM, and they match. An information processing apparatus characterized in that rewriting is not performed when there is not.
(2) The flash ROM stores model information indicating the model of the information processing apparatus,
The flash ROM rewriting unit executes rewriting according to the rewriting program when the model information specified in the rewriting program matches the model information stored in the flash ROM, and does not match. The information processing apparatus according to (1), wherein rewriting is not performed in some cases.
(3) An image processing unit that prints out or obtains an image, a flash ROM that includes a program and setting values that are referred to when the program is executed, and includes map information that indicates a storage pattern of internal data; A flash ROM rewriting method for an information processing apparatus that operates according to an instruction from a host computer, and an image control unit that controls the image processing unit according to a program,
Receiving a rewrite program from the host computer;
If the map information specified in the rewrite program matches the map information stored in the flash ROM, rewrite is executed according to the rewrite program, and if not, rewrite is performed. A flash ROM rewriting method for an information processing apparatus, characterized in that:
(4) The flash ROM stores model information indicating a model of the information processing apparatus,
If the model information specified in the rewrite program matches the model information stored in the flash ROM, rewrite is executed according to the rewrite program, and if not, rewrite is not performed. (2) The flash ROM rewriting method for an information processing apparatus according to (3).

本発明の情報処理装置及び情報処理装置のフラッシュROM書換方法によれば、フラッシュROM内に記憶されたマップ情報と、書き換えプログラムに指定されたマップ情報とが一致した場合にのみフラッシュROM書換部が書き換え処理を行うように構成されている。したがって、情報処理装置のマップ変更があった場合でも、ホストコンピュータから送信された書き換えプログラムが変更後のマップに対応しているかどうかをマップ情報の一致不一致によって判断することができる。一致しない場合は、書き換え処理を行わないので間違った書き換えプログラムによってフラッシュROMが書き換えられることがなく、プログラムが破壊される虞がない。   According to the information processing apparatus and the flash ROM rewriting method of the information processing apparatus of the present invention, the flash ROM rewriting unit is provided only when the map information stored in the flash ROM matches the map information specified in the rewriting program. The rewriting process is performed. Therefore, even when the map of the information processing apparatus is changed, whether or not the rewriting program transmitted from the host computer corresponds to the map after the change can be determined based on the match / mismatch of the map information. If they do not match, the rewriting process is not performed, so that the flash ROM is not rewritten by a wrong rewriting program, and there is no possibility that the program is destroyed.

また、本発明の情報処理装置及び情報処理装置のフラッシュROM書換方法によれば、フラッシュROM内に記憶されたマップ情報及び機種情報の少なくとも何れか一方と、書き換えプログラムに指定された情報とが一致した場合にフラッシュROM書換部が書き換え処理を行うように構成されている。したがって、ホストコンピュータに複数機種の情報処理装置の書き換えプログラムが保持されている場合でも、異なる機種の書き換えプログラムによってフラッシュROMが書き換えられることなく、プログラムが破壊されないので書き換え処理後も情報処理装置を正常に起動させることが可能である。また、ホストコンピュータと複数機種の情報処理装置が接続された状態で各情報処理装置のマップが変更された場合でも、夫々の情報処理装置はマップ情報と機種情報が一致しない限り書き換え処理を行わないので、複雑なネットワーク環境下においても正確に個々の情報処理装置の書き換え処理を行うことが可能である。   Further, according to the information processing apparatus and the information processing apparatus flash ROM rewriting method of the present invention, at least one of the map information and the model information stored in the flash ROM matches the information specified in the rewriting program. In this case, the flash ROM rewriting unit is configured to perform the rewriting process. Therefore, even if the rewrite program for multiple types of information processing devices is held in the host computer, the flash ROM is not rewritten by the rewrite program for different models, and the program is not destroyed, so the information processing device can be operated normally after the rewrite processing. Can be activated. Even if the map of each information processing device is changed while a host computer and a plurality of types of information processing devices are connected, each information processing device does not perform rewrite processing unless the map information matches the model information. Therefore, it is possible to accurately rewrite individual information processing apparatuses even in a complicated network environment.

以下、図面を参照しながら、本発明にかかる情報処理装置の実施形態の一例としてプリンタを挙げて詳細に説明する。なお、本実施形態のプリンタ240は、ホストコンピュータ220とネットワークを介して通信可能に接続され、ホストコンピュータ220から送信される制御コマンドまたは印刷データに応じて印刷を行うインクジェット式のプリンタである。   Hereinafter, a printer will be described in detail as an example of an embodiment of an information processing apparatus according to the present invention with reference to the drawings. The printer 240 of this embodiment is an ink jet printer that is connected to the host computer 220 via a network so as to be communicable and performs printing in accordance with a control command or print data transmitted from the host computer 220.

図1は、本実施形態のプリンタの内部処理を示した機能ブロック図である。
図1に示すように、本実施形態のプリンタ240は画像の印刷を行う画像処理部307と、ファームウェア(プログラム)及びファームウェアの実行時に参照される各種設定値が記録されたフラッシュROM311と、ファームウェアに従って、画像処理部307を制御する画像制御部306と、を備えている。
FIG. 1 is a functional block diagram showing internal processing of the printer of this embodiment.
As shown in FIG. 1, the printer 240 according to this embodiment includes an image processing unit 307 that prints an image, a flash ROM 311 that stores firmware (program) and various setting values that are referred to when executing the firmware, and the firmware. And an image control unit 306 that controls the image processing unit 307.

またホストコンピュータ220は、図示していないが、CPUと、不揮発性メモリであるROMと、揮発性メモリであるRAMと、大規模記憶装置としてのHDDと、入力装置と、通信インタフェースとを備えている。ホストコンピュータ220は、CPUがHDDに記憶されたオペレーティングシステム及びアプリケーションプログラムを実行しながら、通信インタフェースを介してプリンタ240に各種コマンドや印刷データを出力することにより、プリンタ240を制御する。   Although not shown, the host computer 220 includes a CPU, a ROM that is a nonvolatile memory, a RAM that is a volatile memory, an HDD as a large-scale storage device, an input device, and a communication interface. Yes. The host computer 220 controls the printer 240 by outputting various commands and print data to the printer 240 via the communication interface while the CPU executes the operating system and application programs stored in the HDD.

フラッシュROM書き換え処理の観点では、入力装置を介して書き換え処理が指示されると、CPUがHDDから書き換え指示に応じた書き換えプログラムを読み出し、通信インタフェースを介してプリンタ240へ書き換えプログラムを送信する。   From the viewpoint of the flash ROM rewriting process, when the rewriting process is instructed via the input device, the CPU reads a rewriting program corresponding to the rewriting instruction from the HDD and transmits the rewriting program to the printer 240 via the communication interface.

(フラッシュROMの書換処理の構成)
本実施形態のプリンタ240は、ホストコンピュータ220から書き換えプログラムを受信すると、受信した書き換えプログラムによって正常な書き換えを行うことができるかを判断し、正常な書き換えを行うことができると判断したときに、フラッシュROM311の書き換えを行うように構成されている。
(Configuration of flash ROM rewrite processing)
When the printer 240 of this embodiment receives a rewrite program from the host computer 220, the printer 240 determines whether normal rewrite can be performed by the received rewrite program, and when it is determined that normal rewrite can be performed, The flash ROM 311 is rewritten.

以下では、正常な書き換えを行うことができるかどうかを、プリンタ240がどのように判断してフラッシュROM311の書き換えを行うかを説明する。
プリンタ240内には、ホストコンピュータ220から送信される各種コマンドや印刷データを受信する受信部301と、受信部301が受信した各種コマンドや印刷データを一時的に保持する受信バッファ302が設けられている。受信バッファ302によって受信されたデータは、コマンド解析部303によって解析され、制御コマンドの場合は制御コマンドバッファ304に、印刷データの場合には印刷バッファ305にDMA転送等により転送される。
Hereinafter, how the printer 240 determines whether or not normal rewriting can be performed and how to rewrite the flash ROM 311 will be described.
In the printer 240, a receiving unit 301 that receives various commands and print data transmitted from the host computer 220 and a reception buffer 302 that temporarily stores various commands and print data received by the receiving unit 301 are provided. Yes. The data received by the reception buffer 302 is analyzed by the command analysis unit 303 and transferred to the control command buffer 304 in the case of a control command, and transferred to the print buffer 305 in the case of print data by DMA transfer or the like.

印刷バッファ305に一時保存された印刷データは、データ展開処理が行われてデータ変換され、最終的には図示せぬ印刷ヘッドのノズル列に対応したドットパターンデータが生成されて印刷バッファ305に記憶される。一方、制御コマンドバッファ304に一時保存された制御コマンドデータは、主制御部308によって読み出されて、当該制御コマンドに応じた処理が実行される。   The print data temporarily stored in the print buffer 305 is subjected to data expansion processing and converted into data, and finally dot pattern data corresponding to a nozzle array of a print head (not shown) is generated and stored in the print buffer 305. Is done. On the other hand, the control command data temporarily stored in the control command buffer 304 is read by the main control unit 308, and processing according to the control command is executed.

画像処理部307は、印刷ヘッドや用紙搬送機構等の画像印刷を行う際に駆動される機械的構成部分である。主制御部308によって印刷コマンドが読み出されると、用紙搬送機構によって用紙を搬送しながら、印刷ヘッドのノズル列から印刷バッファに保存されたドットパターンデータに応じたインクが吐出される。   The image processing unit 307 is a mechanical component that is driven when image printing such as a print head or a paper transport mechanism is performed. When the print command is read by the main control unit 308, ink corresponding to the dot pattern data stored in the print buffer is ejected from the nozzle array of the print head while the paper is transported by the paper transport mechanism.

画像制御部306は、主制御部308によって印刷コマンドが読み出されると、フラッシュROM311に記憶されたファームウェアにしたがって、画像処理部307を駆動させる。   When the main control unit 308 reads a print command, the image control unit 306 drives the image processing unit 307 according to the firmware stored in the flash ROM 311.

フラッシュROM311は、書き換え可能な不揮発性メモリである。本実施形態では、フラッシュROM311内のデータの記憶パターンを示すマップ情報とプリンタの機種を示す機種情報が記憶されている。ここでマップとは、プリンタ240内の主制御部308が各種データを読み出す際に指定するアドレスの割り当て表のようなもので、どのアドレスにどんなデータが記憶されるかを示すものである。そして、マップ情報とはマップ毎に定められた名称のようなものである。具体的なマップ情報及び機種情報については後ほど説明する。   The flash ROM 311 is a rewritable nonvolatile memory. In the present embodiment, map information indicating a storage pattern of data in the flash ROM 311 and model information indicating a printer model are stored. Here, the map is like an address assignment table designated when the main control unit 308 in the printer 240 reads various data, and indicates what data is stored at which address. The map information is like a name defined for each map. Specific map information and model information will be described later.

フラッシュROM書換部310は、ホストコンピュータ220から書き換えプログラムを受信することによって構成される制御部であって、ホストコンピュータ220から送信された書き換えプログラムに応じてフラッシュROM311の書換処理を実行する。また、書き換えプログラムを受信したときに、フラッシュROM311に記憶されているマップ情報及び機種情報に基づいて、フラッシュROM311を書き換えてもよいかどうかを判断する。   The flash ROM rewrite unit 310 is a control unit configured by receiving a rewrite program from the host computer 220, and executes a rewrite process of the flash ROM 311 in accordance with the rewrite program transmitted from the host computer 220. Further, when the rewrite program is received, it is determined whether or not the flash ROM 311 can be rewritten based on the map information and model information stored in the flash ROM 311.

次に、図2を参照して、プリンタ240におけるフラッシュROM書換処理について詳細に説明する。図2はプリンタ240により構成されるフラッシュROM書換処理を説明するためのフローチャートである。
本実施形態では、ホストコンピュータ220から送信されたコマンドがコマンド解析部303により書き換えコマンド(書き換えプログラム)であると解析されると(ステップS11)、フラッシュROM書換部310が構成される。フラッシュROM書換部310は、書き換えプログラムに指定されたマップ情報及び機種情報と、フラッシュROM311に記憶されたマップ情報及び機種情報とが一致しているかどうかを判断する(ステップS12)。
Next, the flash ROM rewriting process in the printer 240 will be described in detail with reference to FIG. FIG. 2 is a flowchart for explaining a flash ROM rewriting process constituted by the printer 240.
In this embodiment, when the command transmitted from the host computer 220 is analyzed by the command analysis unit 303 as a rewrite command (rewrite program) (step S11), the flash ROM rewrite unit 310 is configured. The flash ROM rewriting unit 310 determines whether the map information and model information specified in the rewriting program match the map information and model information stored in the flash ROM 311 (step S12).

ここで、具体的なマップ情報及び機種情報について説明する。マップ情報のフォーマットは"MAP"+ASCII2桁数字、ASCII2桁数字は"01"〜"FF"まで有効とし、例えばマップ毎に"MAP01", "MAP02"・・・として設定されている。機種情報はプリンタ240の具体的な機種名、例えば"XX-R600", "XX-R100"等である。   Here, specific map information and model information will be described. The format of the map information is “MAP” + ASCII two-digit number, and ASCII two-digit number is valid from “01” to “FF”. For example, “MAP01”, “MAP02”,. The model information is a specific model name of the printer 240, for example, “XX-R600”, “XX-R100”, and the like.

フラッシュROM書換部310は、書き換えプログラムに指定されたマップ情報"MAP01"及び機種情報" XX-R600"と、フラッシュROMに記憶されたマップ情報"MAP01"及び機種情報" XX-R600"とが一致している場合には書き換えプログラムに応じて書き換えを実行する(ステップS12:Yes)。一方、書き換えプログラムに指定されたマップ情報"MAP01"及び機種情報" XX-R600"と、フラッシュROMに記憶されたマップ情報"MAP02"及び機種情報" XX-R100"と一致していない場合には書き換えを行うことなく終了する(ステップS12:No)   In the flash ROM rewriting unit 310, the map information “MAP01” and model information “XX-R600” specified in the rewriting program and the map information “MAP01” and model information “XX-R600” stored in the flash ROM are the same. If yes, rewriting is executed according to the rewriting program (step S12: Yes). On the other hand, when the map information “MAP01” and model information “XX-R600” specified in the rewrite program do not match the map information “MAP02” and model information “XX-R100” stored in the flash ROM End without rewriting (step S12: No)

なお、本実施形態ではマップ情報及び機種情報から書き換え可能かどうかを判断しているが、何れか一方の情報のみから判断してもよい。また、本実施形態ではマップ情報および機種情報をそれぞれ別個の情報としてフラッシュROM311の所定の領域に記憶されているが、マップ情報及び機種情報とを一つの情報として記憶させて、書き換えプログラムにマップ情報及び機種情報を指定させるように構成することも可能である。   In the present embodiment, whether or not rewriting is possible is determined from the map information and the model information, but it may be determined from only one of the information. In this embodiment, the map information and the model information are stored as separate information in a predetermined area of the flash ROM 311. However, the map information and the model information are stored as one information, and the map information is stored in the rewrite program. It is also possible to configure to specify model information.

このように、本実施形態ではホストコンピュータから書き換えプログラムを受信する毎に書き換えプログラムがマップ情報及び機種情報と一致しているかを判断するので、誤ったマップにしたがって書き換えプログラムが書き込まれることがなく、また異なる機種の書き換えプログラムが誤って書き込まれることがないのでフラッシュROM311に書き込まれたデータが破壊されることを防止することが可能である。さらに、実際にフラッシュROM書換部310が書き換えを行う前にマップ情報及び機種情報を照らし合わせるだけで、書き込み可能かを判断するので複雑な判断を必要としない。したがって、書き換え時間を短縮することができ、書き換え途中の電源断等によるリスクを小さくすることが可能である。   Thus, in this embodiment, every time the rewrite program is received from the host computer, it is determined whether the rewrite program matches the map information and the model information. Therefore, the rewrite program is not written according to an incorrect map. In addition, since rewriting programs of different models are not written by mistake, data written in the flash ROM 311 can be prevented from being destroyed. Furthermore, since the flash ROM rewriting unit 310 actually compares the map information and the model information before rewriting, it is determined whether writing is possible, so that no complicated determination is required. Therefore, the rewriting time can be shortened, and the risk due to power interruption during rewriting can be reduced.

本実施形態のプリンタの内部処理を示した機能ブロック図である。It is a functional block diagram showing internal processing of the printer of the present embodiment. 本実施形態のプリンタにより構成されるフラッシュROM書換処理を説明するためのフローチャートである。It is a flowchart for demonstrating the flash ROM rewriting process comprised by the printer of this embodiment.

符号の説明Explanation of symbols

220 ホストコンピュータ
240 プリンタ(情報処理装置)
301 受信部
306 画像制御部
307 画像処理部
310 フラッシュROM書換部
311 フラッシュROM
220 Host computer 240 Printer (information processing device)
301 Reception Unit 306 Image Control Unit 307 Image Processing Unit 310 Flash ROM Rewrite Unit 311 Flash ROM

Claims (4)

画像の印刷出力または取得を行う画像処理部と、プログラム及び前記プログラムの実行時に参照される設定値が記録されたフラッシュROMと、前記プログラムに応じて、前記画像処理部を制御する画像制御部と、を備え、ホストコンピュータからの指示に応じて動作する情報処理装置であって、
前記ホストコンピュータから書き換えプログラムを受信する受信部と、
前記書き換えプログラムに応じて、前記フラッシュROMの書き換えを実行するフラッシュROM書換部を備え、
前記フラッシュROMには、該フラッシュROM内のデータの記憶パターンを示すマップ情報が記憶されており、
前記フラッシュROM書換部は、前記書き換えプログラムに指定されたマップ情報と、前記フラッシュROMに記憶されたマップ情報とが一致している場合には前記書き換えプログラムに応じて書き換えを実行し、一致していない場合には書き換えを行わないことを特徴とする情報処理装置。
An image processing unit that prints out or acquires an image, a flash ROM that stores a program and setting values that are referred to when the program is executed, and an image control unit that controls the image processing unit according to the program And an information processing device that operates in response to an instruction from a host computer,
A receiving unit for receiving a rewriting program from the host computer;
In accordance with the rewriting program, a flash ROM rewriting unit for executing rewriting of the flash ROM
The flash ROM stores map information indicating a storage pattern of data in the flash ROM,
The flash ROM rewriting unit executes rewriting according to the rewriting program when the map information specified in the rewriting program matches the map information stored in the flash ROM, and they match. An information processing apparatus characterized in that rewriting is not performed when there is not.
前記フラッシュROMには、前記情報処理装置の機種を示す機種情報が記憶されており、
前記フラッシュROM書換部は、前記書き換えプログラムに指定された機種情報と前記フラッシュROMに記憶された機種情報とが一致している場合には前記書き換えプログラムに応じて書き換えを実行し、一致していない場合には書き換えを行わないことを特徴とする請求項1に記載の情報処理装置。
The flash ROM stores model information indicating the model of the information processing apparatus,
The flash ROM rewriting unit executes rewriting according to the rewriting program when the model information specified in the rewriting program matches the model information stored in the flash ROM, and does not match. 2. The information processing apparatus according to claim 1, wherein rewriting is not performed in some cases.
画像の印刷出力または取得を行う画像処理部と、プログラム及び前記プログラムの実行時に参照される設定値が記録され、内部のデータの記憶パターンを示すマップ情報を備えたフラッシュROMと、前記プログラムに応じて、前記画像処理部を制御する画像制御部と、を備え、ホストコンピュータからの指示に応じて動作する情報処理装置のフラッシュROM書換方法であって、
前記ホストコンピュータから書き換えプログラムを受信し、
前記書き換えプログラムに指定されたマップ情報と、前記フラッシュROMに記憶されたマップ情報とが一致している場合には前記書き換えプログラムに応じて書き換えを実行し、一致していない場合には書き換えを行わないことを特徴とする情報処理装置のフラッシュROM書換方法。
An image processing unit that prints out or acquires an image, a flash ROM that includes a program and setting information that is referred to when the program is executed, and that includes map information indicating a storage pattern of internal data, and the program And a flash ROM rewriting method for an information processing apparatus that operates in response to an instruction from a host computer.
Receiving a rewrite program from the host computer;
If the map information specified in the rewrite program matches the map information stored in the flash ROM, rewrite is executed according to the rewrite program, and if not, rewrite is performed. A flash ROM rewriting method for an information processing apparatus, characterized in that:
前記フラッシュROMには、前記情報処理装置の機種を示す機種情報が記憶されており、
前記書き換えプログラムに指定された機種情報と前記フラッシュROMに記憶された機種情報とが一致している場合には前記書き換えプログラムに応じて書き換えを実行し、一致していない場合には書き換えを行わないことを特徴とする請求項3に記載の情報処理装置のフラッシュROM書換方法。
The flash ROM stores model information indicating the model of the information processing apparatus,
If the model information specified in the rewrite program matches the model information stored in the flash ROM, rewrite is executed according to the rewrite program, and if not, rewrite is not performed. The flash ROM rewriting method for an information processing apparatus according to claim 3.
JP2006019876A 2006-01-27 2006-01-27 Information processor and flash rom rewriting method of information processor Withdrawn JP2007200156A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006019876A JP2007200156A (en) 2006-01-27 2006-01-27 Information processor and flash rom rewriting method of information processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006019876A JP2007200156A (en) 2006-01-27 2006-01-27 Information processor and flash rom rewriting method of information processor

Publications (2)

Publication Number Publication Date
JP2007200156A true JP2007200156A (en) 2007-08-09
JP2007200156A5 JP2007200156A5 (en) 2009-02-19

Family

ID=38454691

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006019876A Withdrawn JP2007200156A (en) 2006-01-27 2006-01-27 Information processor and flash rom rewriting method of information processor

Country Status (1)

Country Link
JP (1) JP2007200156A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09134307A (en) * 1995-11-13 1997-05-20 Denso Corp Memory rewriting system for electronic controller, the electronic controller and memory rewriting device
JP2000148466A (en) * 1998-11-04 2000-05-30 Canon Inc Information processor, and control program updating method of information processor
JP2000339152A (en) * 1999-05-28 2000-12-08 Hitachi Denshi Ltd Method for changing application program
JP2003099313A (en) * 2001-09-25 2003-04-04 Ricoh Co Ltd Memory rewrite method, and program for making computer execute the method
JP2005135116A (en) * 2003-10-29 2005-05-26 Nec Corp Storage device and access control method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH09134307A (en) * 1995-11-13 1997-05-20 Denso Corp Memory rewriting system for electronic controller, the electronic controller and memory rewriting device
JP2000148466A (en) * 1998-11-04 2000-05-30 Canon Inc Information processor, and control program updating method of information processor
JP2000339152A (en) * 1999-05-28 2000-12-08 Hitachi Denshi Ltd Method for changing application program
JP2003099313A (en) * 2001-09-25 2003-04-04 Ricoh Co Ltd Memory rewrite method, and program for making computer execute the method
JP2005135116A (en) * 2003-10-29 2005-05-26 Nec Corp Storage device and access control method thereof

Similar Documents

Publication Publication Date Title
US20060221684A1 (en) Printing apparatus and control program updating method
JP2006227830A (en) Information processor and method for controlling information processor
JP4784100B2 (en) Processing device and firmware download method thereof.
JPH08238812A (en) Device with flash memory control function for correction
JP6431279B2 (en) Printing apparatus and printing apparatus control method
JP6531523B2 (en) Printing apparatus control method and printing apparatus
KR100503484B1 (en) Image forming device
JP2007200156A (en) Information processor and flash rom rewriting method of information processor
JP2008162054A (en) Printer
JP2006315340A (en) Printer, its control method, program and storage medium
JP2008059360A (en) Printer
JP2009032076A (en) Update method for control program
JP6554944B2 (en) Printing apparatus control method, program update system, and printing apparatus
JPH06219021A (en) Image forming device
JP4635831B2 (en) Printer and printer control method
JP2008305328A (en) Image forming apparatus and data processor, and data processing method and program for executing data processing method
JP6638323B2 (en) PRINTING APPARATUS AND PRINTING APPARATUS CONTROL METHOD
JP2005085121A (en) Data update method for flash memory, data update program, information processor, and information processing system
JP2006285756A (en) Image forming system
JP2008117404A (en) Memory rewriting control system
JP2004255847A (en) Printing system
KR101101829B1 (en) Image forming system and driver installation method thereof
JPH11184651A (en) Printer
JPH08174922A (en) Electronic apparatus and controlling method therefor
JP2002149359A (en) Printing device, information recording medium, interface device, print device control method and interface device control method

Legal Events

Date Code Title Description
A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20081224

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20081224

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20110826

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20110913

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20111102