JPH11282690A - Method for writing control program, information processor and information processing system - Google Patents

Method for writing control program, information processor and information processing system

Info

Publication number
JPH11282690A
JPH11282690A JP10087134A JP8713498A JPH11282690A JP H11282690 A JPH11282690 A JP H11282690A JP 10087134 A JP10087134 A JP 10087134A JP 8713498 A JP8713498 A JP 8713498A JP H11282690 A JPH11282690 A JP H11282690A
Authority
JP
Japan
Prior art keywords
program
storage medium
control program
rewriting
writing
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
JP10087134A
Other languages
Japanese (ja)
Inventor
Takeshi Muto
剛 武藤
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Canon Inc
Original Assignee
Canon Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Canon Inc filed Critical Canon Inc
Priority to JP10087134A priority Critical patent/JPH11282690A/en
Priority to US09/215,194 priority patent/US6854000B2/en
Publication of JPH11282690A publication Critical patent/JPH11282690A/en
Priority to US10/979,181 priority patent/US7403957B2/en
Withdrawn legal-status Critical Current

Links

Landscapes

  • Control Or Security For Electrophotography (AREA)
  • Stored Programmes (AREA)
  • Facsimiles In General (AREA)
  • Accessory Devices And Overall Control Thereof (AREA)
  • Record Information Processing For Printing (AREA)

Abstract

PROBLEM TO BE SOLVED: To efficiently load down a control program. SOLUTION: When a dip switch points out a control program download mode, a CPU starts up a storing program stored in an EPROM after turning on a power supply (S105). When a rewrite program is transmitted from a host computer, the storing program stores the rewriting program in a specified address in a RAM (S106). Then the CPU starts up the rewriting program stored in the RAM (S107). When a control program to which the address information of the flash ROM is added is transmitted from the host computer, the rewriting program reads out the address information also together with the control program and stores the control program in the specified address (S108).

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の属する技術分野】本発明は、制御プログラムの
書込方法及びその方法を用いることのできる情報処理装
置並びに情報処理システムに関するものである。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a control program writing method and an information processing apparatus and an information processing system that can use the method.

【0002】[0002]

【従来の技術】一般に、情報処理装置においては、CP
U(中央演算処理装置)がROM(リード・オンリ・メ
モリ)にプリセットされた制御プログラムに従って他の
各構成要素を制御しながら各種処理を実行する。
2. Description of the Related Art Generally, in an information processing apparatus, a CP
U (central processing unit) executes various processes while controlling other components according to a control program preset in a ROM (read only memory).

【0003】制御プログラムは読み書き可能な不揮発性
ROMに格納させて、新たな制御プログラムの書込を可
能としているが、その制御プログラムをダウンロードす
るために用いられる制御プログラムは更新されない記憶
媒体上に固定的に保持されており、その変更は予定され
ていなかった。
A control program is stored in a readable and writable nonvolatile ROM so that a new control program can be written. However, a control program used to download the control program is fixed on a storage medium that is not updated. And no changes were planned.

【0004】このような情報処理装置の中で、例えば複
写機やプリンタ等においては、制御プログラムは不揮発
性のEPROM(Erasable Programa
ble ROM)またはマスクROMに記憶されていた
が、将来の機能追加やバージョンアップの際に、ROM
を交換せずに制御プログラムの更新を可能にするため、
オンボード上で読み書き可能な不揮発性メモリであるF
lashROMやEEPROM(Electrical
ly Erasable Programable R
OM)等を使用するようになった。
In such an information processing apparatus, for example, in a copying machine or a printer, a control program is a nonvolatile EPROM (Erasable Programmer).
ble ROM) or mask ROM.
In order to be able to update the control program without replacing
F which is a nonvolatile memory readable and writable on the board
flashROM and EEPROM (Electrical
ly Erasable Programmable R
OM) and the like.

【0005】FlachROM上の制御プログラムを更
新する場合、情報処理装置に接続されたホストコンピュ
ータ、CD−ROMドライブ、フロッピードライブ等か
ら新規の制御プログラムをROMにダウンロードすると
いう方法がとられる。
When updating the control program in the FlachROM, a method of downloading a new control program to the ROM from a host computer, a CD-ROM drive, a floppy drive, or the like connected to the information processing apparatus is used.

【0006】このため、情報処理装置に通信手段を設
け、情報処理装置の更新されない記憶媒体上にその装置
用のダウンロード用制御プログラムを保持していた。
[0006] For this reason, a communication means is provided in the information processing apparatus, and a download control program for the apparatus is held on a storage medium which is not updated in the information processing apparatus.

【0007】[0007]

【発明が解決しようとする課題】しかし、従来の情報処
理装置においてはダウンロード用の制御プログラムが固
定的に保持されていたため、ダウンロードしたい制御プ
ログラムは、そのダウンロード用制御プログラムによっ
て制約を受けていた。
However, in a conventional information processing apparatus, a control program for download is fixedly held, so that a control program to be downloaded is restricted by the control program for download.

【0008】又、制御プログラムのダウンロードの仕方
も、ダウンロード用制御プログラムによって決まってい
たため、ダウンロードの仕方に自由度が少なく、効率よ
いダウンロードが困難であった。
In addition, since the method of downloading the control program is also determined by the control program for downloading, the degree of freedom in the method of downloading is small, and efficient downloading is difficult.

【0009】例えば、従来は、制御プログラムを割り付
けるROM上のアドレスを変更することは予定されてお
らず、あらかじめ制御プログラム用に割り当てられてい
たアドレス領域の範囲内で新たな制御プログラムをダウ
ンロードするものであった。従って、例えば、元の制御
プログラムとは割付アドレス領域が異なる新たな制御プ
ログラムをダウンロードする場合、アドレス構成の違い
により、情報処理装置に組み込まれるダウンロード用制
御プログラムやホストコンピュータ上で動作するダウン
ロード用アプリケーションを利用することができず、R
OMの交換を余儀なくされており効率が悪かった。
For example, conventionally, it is not planned to change the address on the ROM to which the control program is allocated, but to download a new control program within the address area previously allocated for the control program. Met. Therefore, for example, when downloading a new control program having a different assigned address area from the original control program, the download control program incorporated in the information processing apparatus or the download application running on the host computer may be changed due to the difference in the address configuration. Is not available and R
The OM had to be replaced, which was inefficient.

【0010】又、上記ダウンロード用制御プログラム
が、情報処理装置内の更新されない記憶媒体(例えばマ
スクROM)に格納されていると、そのダウンロード用
制御プログラムに不具合があった場合には、そのROM
の交換が必要となっていた。
If the download control program is stored in a non-updated storage medium (for example, a mask ROM) in the information processing apparatus, if the download control program is defective, the ROM
Had to be replaced.

【0011】本発明は上記の従来技術の課題を解決する
ためになされたもので、その目的とするところは、効率
よく制御プログラムのダウンロードを行うことのできる
制御プログラムの書込方法及びその方法を用いた情報処
理装置並びに情報処理システムを提供することにある。
SUMMARY OF THE INVENTION The present invention has been made to solve the above-mentioned problems of the prior art. It is an object of the present invention to provide a control program writing method and a control method capable of efficiently downloading a control program. An object of the present invention is to provide an information processing apparatus and an information processing system used.

【0012】[0012]

【課題を解決するための手段】本発明の制御プログラム
更新方式は、データを受信し、受信したデータを基に制
御プログラムを更新する制御プログラム更新方式であっ
て、第1の記憶手段に記憶されている格納プログラムを
実行し、受信したデータを第2の記憶手段に格納する格
納工程と、前記第2の記憶手段に記憶されている書換プ
ログラムを実行し、第3の記憶手段に記憶されている制
御プログラムを受信されたデータに書き換える書換工程
を設けたものである。
A control program updating method according to the present invention is a control program updating method for receiving data and updating a control program based on the received data, and is stored in a first storage means. Executing the stored program stored in the second storage means, and executing the rewriting program stored in the second storage means, and executing the rewriting program stored in the second storage means. A rewriting step is provided for rewriting a control program that is present to received data.

【0013】[0013]

【発明の実施の形態】以下に図面を参照して、この発明
の好適な実施の形態を例示的に詳しく説明する。ただ
し、この実施の形態に記載されている構成要素の大き
さ、配置、処理のフローチャート等は、特に特定的な記
載がない限り、この発明の範囲をそれらのみに限定する
趣旨のものではない。
Preferred embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, the sizes, arrangements, processing flowcharts, and the like of the components described in this embodiment are not intended to limit the scope of the present invention only to them unless otherwise specified.

【0014】(第1の実施の形態)本発明の第1の実施
の形態について図1及び図2を用いて説明する。
(First Embodiment) A first embodiment of the present invention will be described with reference to FIGS.

【0015】図2は、本実施の形態に係る制御プログラ
ム書込方法が適用可能な情報処理装置の構成を示すブロ
ック図である。
FIG. 2 is a block diagram showing a configuration of an information processing apparatus to which the control program writing method according to the present embodiment can be applied.

【0016】この情報処理装置200は例えば複写機や
プリンタ等が相当する。CPU201、RAM202、
フラッシュROM203、データ入力部204、EPR
OM205及びこれらを結ぶシステムバス207、ディ
ップスイッチ206とからその主要部は構成されてい
る。
The information processing apparatus 200 corresponds to, for example, a copying machine or a printer. CPU 201, RAM 202,
Flash ROM 203, data input unit 204, EPR
The OM 205, the system bus 207 connecting them, and the DIP switch 206 constitute the main part.

【0017】CPU201は、本装置全体を制御する演
算・制御用の中央処理装置、RAM202は、一時記憶
用の記憶媒体、フラッシュROM203は、CPU20
1で実行する制御プログラムや固定値等を格納するRO
M、EPROMは更新することの無いプログラムを格納
するROMである。データ入力部204は、ホストコン
ピュータ208との接続に用いられるインタフェースで
ある。
A CPU 201 is a central processing unit for calculation and control for controlling the entire apparatus, a RAM 202 is a storage medium for temporary storage, and a flash ROM 203 is a CPU 20.
RO that stores the control program executed in step 1 and fixed values
M and EPROM are ROMs for storing programs that are not updated. The data input unit 204 is an interface used to connect to the host computer 208.

【0018】ディップスイッチ206は、通常動作を行
うか、制御プログラムのダウンロードを行うか、を選択
するスイッチであり、電源投入時に起動すべきプログラ
ムの切り替えを行う。
A dip switch 206 is a switch for selecting whether to perform a normal operation or to download a control program, and switches a program to be started when the power is turned on.

【0019】図1は本実施の形態に係る制御プログラム
書込の処理手順を示すフローチャートである。
FIG. 1 is a flowchart showing a procedure for writing a control program according to the present embodiment.

【0020】ホストコンピュータ208とデータ入力部
204を接続した後(ステップS101)、情報処理装
置200の電源をONにする(ステップS102)。
After connecting the host computer 208 and the data input unit 204 (step S101), the power of the information processing apparatus 200 is turned on (step S102).

【0021】装置の電源が投入されると、ディップスイ
ッチ206が、通常動作モードと制御プログラムダウン
ロードモードとのどちらを示しているかが判断される
(ステップS103)。
When the power of the apparatus is turned on, it is determined whether the dip switch 206 indicates the normal operation mode or the control program download mode (step S103).

【0022】ディップスイッチ206が通常動作モード
を指している場合、電源投入後、CPU201は、フラ
ッシュROM203に格納されている制御プログラムを
起動する(ステップS104)。
When the dip switch 206 indicates the normal operation mode, after the power is turned on, the CPU 201 starts the control program stored in the flash ROM 203 (step S104).

【0023】ディップスイッチ206が制御プログラム
のダウンロードモードを指している場合、電源投入後、
CPU201はEPROM205に記憶されている格納
プログラムを起動する(ステップS105)。
When the dip switch 206 indicates the download mode of the control program, after the power is turned on,
The CPU 201 starts the storage program stored in the EPROM 205 (step S105).

【0024】格納プログラムが起動されると、ホストコ
ンピュータ208から書換プログラムを受信する状態に
なリ、ホストコンピュータ208が操作されて、書換プ
ログラムが送信され、データ入力部204で受信され
る。
When the stored program is started, the rewriting program is received from the host computer 208, the host computer 208 is operated, the rewriting program is transmitted, and the data input unit 204 receives the rewriting program.

【0025】この時、書換プログラムにはホストコンピ
ュータ208においてRAM202のアドレス情報が付
加される。格納プログラムは、このアドレス情報を読取
り、RAM202上のここで指定されたアドレスに書換
プログラムを格納する(ステップS106)。言い換え
れば、CPU201が、格納プログラムに基づいてデー
タ入力部204で受信したデータを付加されたアドレス
情報を基にRAM202上に格納する。書換プログラム
の受信と格納が終了後、CPU201はRAM202に
格納された書換プログラムを起動し、ホストコンピュー
タ208から制御プログラムを受信する状態になる(ス
テップS107)。ホストコンピュータ208が操作さ
れて、制御プログラムが送信され、データ入力部204
で受信される。
At this time, the host computer 208 adds address information of the RAM 202 to the rewriting program. The storage program reads this address information and stores the rewrite program at the address designated here on the RAM 202 (step S106). In other words, the CPU 201 stores the data received by the data input unit 204 on the RAM 202 based on the address information with the added data based on the storage program. After receiving and storing the rewriting program, the CPU 201 starts the rewriting program stored in the RAM 202 and enters a state of receiving a control program from the host computer 208 (step S107). The host computer 208 is operated to transmit the control program, and the data input unit 204
Received at.

【0026】この時、制御プログラムにはフラッシュR
OM203のアドレス情報が付加され、書換プログラム
は制御プログラムと共にアドレス情報もダウンロードす
る。すなわち、CPU201は書換プログラムに従い、
まず、付加されたアドレス情報を読取り、書き換えられ
るフラッシュROM203上のエリアを特定し、同エリ
アを消去する。そして、消去終了後、CPU201はデ
ータ入力部204で受信したデータを、フラッシュRO
M203の同エリアにに格納する(ステップS10
8)。
At this time, the control program includes the flash R
The address information of the OM 203 is added, and the rewriting program downloads the address information together with the control program. That is, the CPU 201 follows the rewriting program,
First, the added address information is read, an area on the flash ROM 203 to be rewritten is specified, and the area is erased. Then, after erasing, the CPU 201 stores the data received by the data input unit 204 in the flash RO.
M203 in the same area (step S10).
8).

【0027】このように、書換プログラムをもダウンロ
ードする構成にすることによって、装置の製造時には格
納プログラムとして、非常に単純なプログラムのみを設
けておけばよく、装置の機種にかかわらず同種のものを
用いることができる。
As described above, by adopting a configuration in which the rewriting program is also downloaded, only a very simple program needs to be provided as a storage program at the time of manufacturing the apparatus, and the same type of program can be stored regardless of the model of the apparatus. Can be used.

【0028】更に、書換プログラムは、装置にもともと
備えられているものではなく、自由度が大きいため、ダ
ウンロードすべき制御プログラムにあわせたものを用意
することができる。又、制御プログラムの一部をダウン
ロードすることや、制御プログラムに用いられるデータ
のみのダウンロードが可能な設計にすることも容易に可
能となる。しかも、書換プログラムに不具合が発見され
たとしても、装置に影響を与えずにその交換が可能であ
る。
Further, since the rewriting program is not originally provided in the apparatus and has a high degree of freedom, a rewriting program suitable for a control program to be downloaded can be prepared. Further, it is also possible to easily download a part of the control program or to design such that only the data used in the control program can be downloaded. Moreover, even if a defect is found in the rewriting program, it can be replaced without affecting the device.

【0029】制御プログラムを設計する際にはその制御
プログラムにあわせた書換プログラムを設計することが
できるため、書換プログラムの制約を受けることなく、
自由な制御プログラムの設計が可能となる。
When a control program is designed, a rewrite program can be designed in accordance with the control program.
Free control program design becomes possible.

【0030】又、書換プログラムにはRAM202のア
ドレス情報が、制御プログラムにはフラッシュROM2
03のアドレス情報が、付加されてダウンロードされる
ので、プログラム割付番地がハード変更になった場合に
も、その影響を受けることなく、書換プログラム及び制
御プログラムの書込を行うことができる。
The rewriting program contains the address information of the RAM 202, and the control program contains the flash ROM 2
Since the address information 03 is added and downloaded, the rewriting program and the control program can be written without being affected even when the program allocation address is changed by hardware.

【0031】(第2の実施の形態)次に図3を用いて、
本発明の第2の実施の形態について説明する。
(Second Embodiment) Next, referring to FIG.
A second embodiment of the present invention will be described.

【0032】上記第1の実施の形態は、ディップスイッ
チ206の状態によって、ダウンロードの処理と通常動
作とを切り替えるものであったが、本実施の形態は、ダ
ウンロードの処理と通常動作の切り替えをホストコンピ
ュータ208からのコマンドによって行う。
In the first embodiment, the download processing and the normal operation are switched depending on the state of the DIP switch 206. However, in the present embodiment, the switching between the download processing and the normal operation is performed by the host. This is performed by a command from the computer 208.

【0033】その他の構成及び作用について第1の実施
の形態と同様であるので、同膣の構成要素についてはそ
の説明は省略する。すなわち、本実施の形態に係る制御
プログラムの書込方法は、図2に示された装置にそのま
ま適用することができ、更には、その構成要素のうちデ
ィップスイッチ206を持たない装置にも適用可能であ
る。
Since other configurations and operations are the same as those of the first embodiment, the description of the components of the vagina will be omitted. In other words, the method of writing a control program according to the present embodiment can be applied to the device shown in FIG. 2 as it is, and further can be applied to a device having no DIP switch 206 among its components. It is.

【0034】図3には本実施の形態に係る制御プログラ
ム書込の処理手順を説明するフローチャートが示されて
いる。
FIG. 3 is a flowchart for explaining the procedure of writing a control program according to the present embodiment.

【0035】ホストコンピュータ208とデータ入力部
を接続した後(ステップS301)、情報処理装置20
0の電源をONにする(ステップS302)。電源がO
Nになった際、ホストコンピュータとの接続が確認され
ると、CPU201はEPROM205に記憶されてい
る格納プログラムを起動し、ホストコンピュータ208
からデータを受信する状態になる(ステップS30
3)。始めのデータを受信したら(ステップS30
4)、受信データが更新コマンドかどうか確認し、更新
コマンドであった場合、ステップS307以下の処理を
行い、更新コマンドでなかった場合、ステップS306
で制御プログラムを起動する(ステップS305)。
After connecting the host computer 208 and the data input unit (step S301), the information processing device 20
0 is turned on (step S302). Power supply is O
When the connection to the host computer is confirmed at N, the CPU 201 activates a storage program stored in the EPROM 205 and
(Step S30)
3). When the first data is received (step S30)
4) Check whether the received data is an update command. If the received data is an update command, perform the processes in and after step S307. If not, update the command in step S306.
To start the control program (step S305).

【0036】更新コマンドであった場合、次に、CPU
201はホストコンピュータ208から書換プログラム
を受信する状態になる。ホストコンピュータ208が操
作されて、書換プログラムが送信され、データ入力部2
04で受信される。
If it is an update command, then the CPU
Reference numeral 201 denotes a state where the rewriting program is received from the host computer 208. When the host computer 208 is operated, the rewriting program is transmitted, and the data input unit 2
04.

【0037】この時、書換プログラムにはRAM202
のアドレス情報が付加される。
At this time, the rewriting program includes the RAM 202
Is added.

【0038】そして、CPU201はデータ入力部20
4で受信したデータを付加されたアドレス情報を基にR
AM202上に格納する(ステップS307)。書換プ
ログラムの受信と格納が終了後、CPU201はRAM
202に格納された書換プログラムを起動し、ホストコ
ンピュータ208から制御プログラムを受信する状態に
なる(ステップS308)。ホストコンピュータ208
が操作されて、制御プログラムが送信され、データ入力
部204で受信される。
The CPU 201 is connected to the data input unit 20
4 based on the address information to which the data received in 4 is added.
It is stored on the AM 202 (step S307). After receiving and storing the rewrite program, the CPU 201
The rewriting program stored in the storage unit 202 is started, and the control program is received from the host computer 208 (step S308). Host computer 208
Is operated, the control program is transmitted, and received by the data input unit 204.

【0039】この時、制御プログラムにはフラッシュR
OM203のアドレス情報が付加される。
At this time, the control program includes flash R
The address information of the OM 203 is added.

【0040】そして、CPU201は付加されたアドレ
ス情報に基づき、書き換えられるフラッシュROM20
3上のエリアを特定し、同エリアを消去する。消去終了
後、CPU201はデータ入力部204で受信したデー
タを付加されたアドレス情報に基づきフラッシュROM
203に格納する(ステップS309)。
Then, the CPU 201 rewrites the flash ROM 20 based on the added address information.
3. Identify the area above and erase the area. After the erasing is completed, the CPU 201 executes the flash ROM based on the address information to which the data received by the data
203 (step S309).

【0041】上記処理を行うことによって、前記第1の
実施の形態による効果以外に、ディップスイッチを設け
る必要がなく、装置のハード構成を単純化できるという
効果を有する。
By performing the above processing, in addition to the effect of the first embodiment, there is no need to provide a dip switch, and the hardware configuration of the device can be simplified.

【0042】(その他の実施の形態)なお、本発明は、
複数の機器(例えばホストコンピュータ,インタフェイ
ス機器,リーダ,プリンタなど)から構成されるシステ
ムに適用しても、一つの機器からなる装置(例えば、複
写機,ファクシミリ装置など)に適用してもよい。
(Other Embodiments) The present invention provides:
The present invention may be applied to a system including a plurality of devices (for example, a host computer, an interface device, a reader, a printer, etc.), or may be applied to a device including one device (for example, a copier, a facsimile device, etc.). .

【0043】また、上述の実施の形態では、ホストコン
ピュータ208から書換プログラムと制御プログラムを
供給したが、本発明の目的は、前述した実施形態の機能
を実現するソフトウェアのプログラムコードを記録した
記憶媒体を、システムあるいは装置に供給し、そのシス
テムあるいは装置のコンピュータ(またはCPUやMP
U)が記憶媒体に格納された書換プログラム、制御プロ
グラム等のプログラムコードを読出し実行することによ
っても、達成されることは言うまでもない。
In the above-described embodiment, the rewriting program and the control program are supplied from the host computer 208. However, an object of the present invention is to provide a storage medium storing software program codes for realizing the functions of the above-described embodiment. Is supplied to a system or a device, and the computer (or CPU or MP) of the system or the device is supplied.
It goes without saying that U) can also be achieved by reading and executing the program codes such as the rewriting program and the control program stored in the storage medium.

【0044】この場合、記憶媒体から読出されたプログ
ラムコード自体が前述した実施形態の機能を実現するこ
とになり、そのプログラムコードを記憶した記憶媒体は
本発明を構成することになる。
In this case, the program code itself read from the storage medium realizes the function of the above-described embodiment, and the storage medium storing the program code constitutes the present invention.

【0045】プログラムコードを供給するための記憶媒
体としては、例えば、フロッピディスク,ハードディス
ク,光ディスク,光磁気ディスク,CD−ROM,CD
−R,磁気テープ,不揮発性のメモリカード,ROMな
どを用いることができる。
As a storage medium for supplying the program code, for example, a floppy disk, hard disk, optical disk, magneto-optical disk, CD-ROM, CD
-R, a magnetic tape, a nonvolatile memory card, a ROM, or the like can be used.

【0046】また、コンピュータが読出したプログラム
コードを実行することにより、前述した実施形態の機能
が実現されるだけでなく、そのプログラムコードの指示
に基づき、コンピュータ上で稼働しているOS(オペレ
ーティングシステム)などが実際の処理の一部または全
部を行い、その処理によって前述した実施形態の機能が
実現される場合も含まれることは言うまでもない。
When the computer executes the readout program code, not only the functions of the above-described embodiment are realized, but also the OS (Operating System) running on the computer based on the instruction of the program code. ) May perform some or all of the actual processing, and the processing may realize the functions of the above-described embodiments.

【0047】さらに、記憶媒体から読出されたプログラ
ムコードが、コンピュータに挿入された機能拡張ボード
やコンピュータに接続された機能拡張ユニットに備わる
メモリに書込まれた後、そのプログラムコードの指示に
基づき、その機能拡張ボードや機能拡張ユニットに備わ
るCPUなどが実際の処理の一部または全部を行い、そ
の処理によって前述した実施形態の機能が実現される場
合も含まれることは言うまでもない。
Further, after the program code read from the storage medium is written into a memory provided in a function expansion board inserted into the computer or a function expansion unit connected to the computer, based on the instructions of the program code, It goes without saying that the CPU included in the function expansion board or the function expansion unit performs part or all of the actual processing, and the processing realizes the functions of the above-described embodiments.

【0048】本発明を上記記憶媒体に適用する場合、そ
の記憶媒体には、先に説明したフローチャートに対応す
るプログラムコードを格納することになる。
When the present invention is applied to the storage medium, the storage medium stores program codes corresponding to the flowcharts described above.

【0049】[0049]

【発明の効果】本発明の制御プログラム書込方法によれ
ば、効率のよい制御プログラムのダウンロード及び制御
プログラムの設計が可能となる。
According to the control program writing method of the present invention, it is possible to efficiently download a control program and design a control program.

【0050】又、プログラム割付番地がハード変更にな
った場合でも情報処理装置に組み込まれるダウンロード
用制御プログラムやホストコンピュータ上で動作するダ
ウンロード用アプリケーションを流用することができる
効果がある。
In addition, even when the program allocation address is changed in hardware, there is an effect that a download control program incorporated in the information processing apparatus and a download application operating on the host computer can be used.

【0051】[0051]

【図面の簡単な説明】[Brief description of the drawings]

【図1】本発明の第1の実施の形態に係る制御プログラ
ム書込の処理手順を示すフローチャートである。
FIG. 1 is a flowchart showing a processing procedure for writing a control program according to a first embodiment of the present invention.

【図2】本発明に係る情報処理装置の構成を示すブロッ
ク図である。
FIG. 2 is a block diagram illustrating a configuration of an information processing apparatus according to the present invention.

【図3】本発明の第2の実施の形態に係る制御プログラ
ム書込の処理手順を示すフローチャートである。
FIG. 3 is a flowchart illustrating a processing procedure for writing a control program according to a second embodiment of the present invention.

【符号の説明】[Explanation of symbols]

201 CPU 202 RAM 203 フラッシュROM 204 データ入力部 205 EPROM 206 ディップスイッチ 207 システムバス 208 ホストコンピュータ 201 CPU 202 RAM 203 Flash ROM 204 Data input unit 205 EPROM 206 Dip switch 207 System bus 208 Host computer

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 FI H04N 1/00 H04N 1/00 C ──────────────────────────────────────────────────続 き Continued on the front page (51) Int.Cl. 6 Identification code FI H04N 1/00 H04N 1/00 C

Claims (10)

【特許請求の範囲】[Claims] 【請求項1】書換プログラムを読み込む書換プログラム
読込工程と、 読み込んだ前記書換プログラムを実行することによっ
て、新しい制御プログラムを読込み、制御プログラム記
憶用の記憶媒体に書込む書込工程と、 を有することを特徴とする制御プログラムの書込方法。
1. A rewriting program reading step of reading a rewriting program, and a writing step of reading a new control program by executing the read rewriting program and writing the new control program in a storage medium for storing the control program. A method for writing a control program, characterized in that:
【請求項2】前記制御プログラムと共にその制御プログ
ラムを書き込むアドレスを読み込み、 制御プログラム記憶用の記憶媒体の前記アドレスに前記
制御プログラムを書き込むことを特徴とする請求項1に
記載の制御プログラムの書込方法。
2. The writing of the control program according to claim 1, wherein an address for writing the control program is read together with the control program, and the control program is written to the address of a storage medium for storing the control program. Method.
【請求項3】外部から情報を入力する入力手段と、 格納プログラムを記憶した第1の記憶媒体と、 書換プログラム記憶用の第2の記憶媒体と、 制御プログラム記憶用の第3の記憶媒体と、 を有し、 前記格納プログラムは、その実行により、前記入力手段
から前記書換プログラムを入力し、前記第2の記憶媒体
に格納するプログラムであって、 前記書換プログラムは、その実行により、前記入力手段
から前記制御プログラムを入力し、前記第3の記憶媒体
に格納するプログラムであることを特徴とする情報処理
装置。
3. Input means for externally inputting information, a first storage medium storing a storage program, a second storage medium for storing a rewrite program, a third storage medium for storing a control program, and The storage program is a program that, when executed, inputs the rewriting program from the input unit and stores the rewriting program in the second storage medium. An information processing apparatus, which is a program that inputs the control program from a means and stores the control program in the third storage medium.
【請求項4】前記書換プログラムの実行により、制御プ
ログラムを前記第3の記憶媒体に格納する際、前記制御
プログラムに付加されたアドレスを読取り、前記制御プ
ログラムを前記第2の記憶媒体の前記アドレスに書込む
ことを特徴とする請求項3に記載の情報処理装置。
4. When the control program is stored in the third storage medium by executing the rewriting program, an address added to the control program is read, and the control program is stored in the address of the second storage medium. The information processing apparatus according to claim 3, wherein the information is written in a file.
【請求項5】前記第3の記憶媒体に、制御プログラムが
格納された状態で、 前記格納プログラムと、制御プログラムとのどちらを実
行するか切り替え可能な切り替え手段を有することを特
徴とする請求項3又は4に記載の情報処理装置。
5. A switching means capable of switching between the storage program and the control program in a state where the control program is stored in the third storage medium. The information processing device according to 3 or 4.
【請求項6】通信手段により互いに接続された第1の記
憶媒体と第2の記憶媒体と第3の記憶媒体と第4の記憶
媒体を含む情報処理システムであって、 前記第1の記憶媒体には制御プログラムが格納されてお
り、 前記第2の記憶媒体には、前記制御プログラムを前記第
1の記憶媒体から呼び出し、前記第3の記憶媒体へ書込
む為の書換プログラムが格納されており、 前記第3に記憶媒体には、前記書換プログラムを前記第
2の記憶媒体から呼び出し、前記第4の記憶媒体へ書込
む為の格納プログラムが格納されていることを特徴とす
る情報処理システム。
6. An information processing system including a first storage medium, a second storage medium, a third storage medium, and a fourth storage medium connected to each other by a communication unit, wherein the first storage medium is provided. Stores a control program. The second storage medium stores a rewrite program for calling the control program from the first storage medium and writing the control program in the third storage medium. An information processing system, wherein a storage program for calling the rewriting program from the second storage medium and writing the rewriting program in the fourth storage medium is stored in the third storage medium.
【請求項7】前記第1の記憶媒体には制御プログラム及
びその制御プログラムを書込むアドレスが格納されてお
り、 前記書換プログラムは前記第1の記憶媒体に格納された
制御プログラムとアドレスを呼び出し、前記第3の記憶
媒体の前記アドレスに、前記制御プログラムを書込むこ
とを特徴とする請求項6に記載の情報処理システム。
7. A control program and an address for writing the control program are stored in the first storage medium. The rewrite program calls the control program and the address stored in the first storage medium, The information processing system according to claim 6, wherein the control program is written to the address of the third storage medium.
【請求項8】前記第1の記憶媒体及び前記第2の記憶媒
体を含むホストコンピュータと、 前記第3の記憶媒体及び前記第4の記憶媒体を含み、前
記ホストコンピュータに接続された画像処理装置と、 を備えることを特徴とする請求項7に記載の情報処理シ
ステム。
8. A host computer including the first storage medium and the second storage medium, and an image processing apparatus including the third storage medium and the fourth storage medium and connected to the host computer The information processing system according to claim 7, comprising:
【請求項9】格納プログラムを格納した第1の記憶媒体
及び制御プログラムを格納するための第2の記憶媒体を
有する情報処理装置において前記第2の記憶媒体に前記
制御プログラムを書込むために用いられるプログラム記
憶媒体であって、 前記格納プログラムによって読み出される書換プログラ
ムと、 前記書換プログラムの実行によって読み出され、前記第
2の記憶媒体に書込まれる制御プログラムと、 を備えることを特徴とするプログラム記憶媒体。
9. An information processing apparatus having a first storage medium storing a storage program and a second storage medium for storing a control program is used for writing the control program in the second storage medium. A program storage medium, comprising: a rewrite program read by the storage program; and a control program read by execution of the rewrite program and written to the second storage medium. Storage medium.
【請求項10】外部から情報を入力する入力手段と 格納プログラムを格納した更新されない記憶媒体と、 書換プログラムを一時的に記憶する一時記憶用の記憶媒
体と、 制御プログラムを書込む電気的に読み書き自在な記憶媒
体と、 を備え、 前記格納プログラムは、その実行により、前記入力手段
から前記書換プログラムを入力し、前記一時記憶用の記
憶媒体に一時的に記憶させるプログラムであって、 前記書換プログラムは、その実行により、前記入力手段
から前記制御プログラムを入力し、前記電気的に読み書
き自在な記憶媒体に格納するプログラムであることを特
徴とする画像処理装置。
10. An input means for externally inputting information, a non-updated storage medium storing a storage program, a temporary storage medium for temporarily storing a rewrite program, and an electric read / write for writing a control program A storage medium that can be freely stored. The storage program is a program that, when executed, inputs the rewrite program from the input unit and temporarily stores the rewrite program in the temporary storage medium. The image processing apparatus according to claim 1, wherein the control program is a program that, when executed, inputs the control program from the input unit and stores the control program in the electrically readable and writable storage medium.
JP10087134A 1997-12-27 1998-03-31 Method for writing control program, information processor and information processing system Withdrawn JPH11282690A (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP10087134A JPH11282690A (en) 1998-03-31 1998-03-31 Method for writing control program, information processor and information processing system
US09/215,194 US6854000B2 (en) 1997-12-27 1998-12-18 Image forming apparatus and control method for the same
US10/979,181 US7403957B2 (en) 1997-12-27 2004-11-03 Image forming apparatus having control codes and rewrite control method for the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP10087134A JPH11282690A (en) 1998-03-31 1998-03-31 Method for writing control program, information processor and information processing system

Publications (1)

Publication Number Publication Date
JPH11282690A true JPH11282690A (en) 1999-10-15

Family

ID=13906505

Family Applications (1)

Application Number Title Priority Date Filing Date
JP10087134A Withdrawn JPH11282690A (en) 1997-12-27 1998-03-31 Method for writing control program, information processor and information processing system

Country Status (1)

Country Link
JP (1) JPH11282690A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002132527A (en) * 2000-10-26 2002-05-10 Fuji Heavy Ind Ltd Vehicle-mounted electronic control apparatus
US7443524B2 (en) 2002-02-28 2008-10-28 Ricoh Company, Limited Image processing apparatus, and method of remote controlling the image processing apparatus
JP2008278535A (en) * 2001-08-27 2008-11-13 Ricoh Co Ltd Image forming apparatus, program updating method and recording medium
US7587463B2 (en) 2002-06-17 2009-09-08 Seiko Epson Corporation Apparatus and method of rewriting firmware
US7725890B2 (en) 2001-08-27 2010-05-25 Ricoh Company, Ltd. Image forming apparatus including a device that updates stored program based on updating data which is selected based on program that is started or startable
JP2010530091A (en) * 2007-05-21 2010-09-02 トムソン ライセンシング Robust firmware upgrade on network terminals

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002132527A (en) * 2000-10-26 2002-05-10 Fuji Heavy Ind Ltd Vehicle-mounted electronic control apparatus
JP2008278535A (en) * 2001-08-27 2008-11-13 Ricoh Co Ltd Image forming apparatus, program updating method and recording medium
US7725890B2 (en) 2001-08-27 2010-05-25 Ricoh Company, Ltd. Image forming apparatus including a device that updates stored program based on updating data which is selected based on program that is started or startable
US8453137B2 (en) 2001-08-27 2013-05-28 Ricoh Company, Ltd. Image forming apparatus including a device that updates stored program based on updating data which is selected based on program that is started or startable
JP2014128979A (en) * 2001-08-27 2014-07-10 Ricoh Co Ltd Image forming apparatus, program updating method, and update processing program
US8856773B2 (en) 2001-08-27 2014-10-07 Ricoh Company, Ltd. Image forming apparatus including a device that updates stored program based on updating data which is selected based on program that is started or startable
US9497347B2 (en) 2001-08-27 2016-11-15 Ricoh Company, Ltd. Image forming apparatus including a device that updates stored program based on updating data which is selected based on program that is started or startable
US10277767B2 (en) 2001-08-27 2019-04-30 Ricoh Company, Ltd. Image forming apparatus including a device that updates stored program based on updating data which is selected based on program that is started or startable
US7443524B2 (en) 2002-02-28 2008-10-28 Ricoh Company, Limited Image processing apparatus, and method of remote controlling the image processing apparatus
US7587463B2 (en) 2002-06-17 2009-09-08 Seiko Epson Corporation Apparatus and method of rewriting firmware
JP2010530091A (en) * 2007-05-21 2010-09-02 トムソン ライセンシング Robust firmware upgrade on network terminals

Similar Documents

Publication Publication Date Title
KR100415371B1 (en) Computer
US6148441A (en) Method for reprogramming flash ROM in a personal computer implementing an EISA bus system
JPH10214192A (en) Down-load system for software, and method therefor
JP2000148465A (en) Firmware changing method
JP3727485B2 (en) Microcomputer with built-in nonvolatile memory
JP3830867B2 (en) Single-chip microcomputer and its boot area switching method
JPH11282690A (en) Method for writing control program, information processor and information processing system
JP3805195B2 (en) Program rewriting apparatus and program rewriting method
JP2001331379A (en) Method and device for rewriting flash memory update program
JP2002007152A (en) Download method and download device
JPH1063497A (en) Program updating method
JP2004013536A (en) Flash memory rewrite control system and method, program for operating processe in flash memory rewrite control method, and information storage medium
JP5158883B2 (en) Firmware update method and firmware update apparatus
JP2845839B2 (en) Radio selective call receiver
JP4973472B2 (en) Firmware incorporating method, firmware incorporating apparatus, and firmware incorporating program
JP2000148466A (en) Information processor, and control program updating method of information processor
JP2001344156A (en) Device with flash memory and data rewriting method
JPH08204792A (en) Terminal equipment for communication
JPH09231065A (en) Program changeable electronic controller
CN115437672A (en) User program updating method, device, equipment and storage medium based on SOC chip
JP2002190059A (en) Controlling device for vending machine
JP3070524B2 (en) Storage device
JPH10228373A (en) Control method for rewritable rom
JP2002268907A (en) Memory controller
JPH10171659A (en) Method and device for down-loading

Legal Events

Date Code Title Description
A300 Withdrawal of application because of no request for examination

Free format text: JAPANESE INTERMEDIATE CODE: A300

Effective date: 20050607