JPH0869346A - Memory rewrite device - Google Patents

Memory rewrite device

Info

Publication number
JPH0869346A
JPH0869346A JP6225563A JP22556394A JPH0869346A JP H0869346 A JPH0869346 A JP H0869346A JP 6225563 A JP6225563 A JP 6225563A JP 22556394 A JP22556394 A JP 22556394A JP H0869346 A JPH0869346 A JP H0869346A
Authority
JP
Japan
Prior art keywords
power supply
main body
rewriting
program
supply voltage
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP6225563A
Other languages
Japanese (ja)
Inventor
Masakazu Kimura
端一 木村
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.)
Fujifilm Business Innovation Corp
Original Assignee
Fuji Xerox Co 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 Fuji Xerox Co Ltd filed Critical Fuji Xerox Co Ltd
Priority to JP6225563A priority Critical patent/JPH0869346A/en
Publication of JPH0869346A publication Critical patent/JPH0869346A/en
Pending legal-status Critical Current

Links

Abstract

PURPOSE: To continue the rewrite operation without the reception of the effect of an interrupted power supply of the device main body while rewriting a basic program. CONSTITUTION: The system using the device is provided with a copying machine main body 1 having a flush EEPROM 11 storing a basic program, an EPROM 12 storing a rewrite program, and a power supply changeover circuit 15 supplying a power supply voltage from a main body power supply section 17 to the ROMs 11, 12 and applying an external power supply voltage when the power of the main body power supply section 17 is interrupted while the basic program is rewritten, with an external terminal equipment 2 providing a new program to the copying machine main body 1 and a transmission cable 3 through which data are sent between the copying machine main body 1 and the external terminal equipment 2 and a power supply voltage from a backup power supply 24 of the external terminal equipment 2 is applied to the power supply changeover circuit 15 as an external power supply voltage.

Description

【発明の詳細な説明】Detailed Description of the Invention

【0001】[0001]

【産業上の利用分野】本発明は、メモリの記憶内容を書
き換えるためのメモリ書き換え装置に関し、特に基本プ
ログラムが記憶されている書き換え可能なメモリを搭載
している複写機などの機器において、当該メモリに記憶
されている基本プログラムを書き換えるためのメモリ書
き換え装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory rewriting device for rewriting the contents stored in a memory, and more particularly, in a device such as a copying machine equipped with a rewritable memory in which a basic program is stored. The present invention relates to a memory rewriting device for rewriting a basic program stored in.

【0002】[0002]

【従来の技術】複写機などの機器において、バージョン
を変えてその性能を向上させるいわゆるバージョン・ア
ップは、その機器の基本プログラムを書き換えることに
よって行われる。このバージョン・アップの際に、基本
プログラムを記憶しているメモリを新たなプログラムを
記憶しているメモリと交換するのでは、コスト的に不利
である。このため、基本プログラムを記憶するメモリと
して、EEPROM(Electrically Erasable Programma
ble Read Only Memory) やフラッシュEEPROM(Fl
ash EEPROM)などの書き換え可能なROMを用
い、基本プログラムそのものを書き換えるようにしてい
る。
2. Description of the Related Art In a device such as a copying machine, so-called version upgrade for changing the version to improve the performance is performed by rewriting a basic program of the device. At the time of this version upgrade, it is costly to replace the memory storing the basic program with the memory storing the new program. Therefore, as a memory for storing the basic program, an EEPROM (Electrically Erasable Programma) is used.
ble Read Only Memory) and flash EEPROM (Fl
The basic program itself is rewritten using a rewritable ROM such as ash EEPROM).

【0003】また、基本プログラムを書き換えるための
書き換え用プログラムを基本プログラムと一緒に書き換
え可能なROMに記憶させておくと、この書き換え用プ
ログラムによって基本プログラムの書き換えを行う際
に、書き換え用プログラムまで書き換えられてしまい、
特にフラッシュEEPROMの場合には、その内容を書
き換える際に記憶内容すべてが一度に消去されることに
なる。そのため、基本プログラムを記憶しているROM
とは異なる他のROMに、書き換え用プログラムを記憶
するようにしている。
Further, if a rewriting program for rewriting the basic program is stored in a rewritable ROM together with the basic program, when the basic program is rewritten by this rewriting program, the rewriting program is also rewritten. I was killed,
Particularly in the case of the flash EEPROM, all the stored contents are erased at once when the contents are rewritten. Therefore, the ROM that stores the basic program
The rewriting program is stored in another ROM different from the above.

【0004】このように、基本プログラムを書き換え可
能なROMに記憶するとともに、書き換え用プログラム
をこの書き換え可能なROMとは異なる他のROMに記
憶するようにした従来装置として、例えば特開平5−1
35596号公報に開示のものが知られている。この従
来装置では、基本プログラムの書き換え中に、電源オフ
になることを前提としている。すなわち、基本プログラ
ムに基づく通常処理モードと書き換え用プログラムに基
づく書き換え処理モードとを切り替えるためのモード選
択スイッチを設け、書き換え処理の実行中に電源オフと
なった場合に、モード選択スイッチを書き換え処理モー
ド選択状態にして電源を再投入してから書き換え処理を
最初から改めて行う構成となっている。
As a conventional device in which the basic program is stored in the rewritable ROM and the rewriting program is stored in another ROM different from the rewritable ROM as described above, for example, Japanese Patent Laid-Open No. 5-1
The one disclosed in Japanese Patent No. 35596 is known. In this conventional device, it is premised that the power is turned off while the basic program is being rewritten. That is, a mode selection switch for switching between the normal processing mode based on the basic program and the rewriting processing mode based on the rewriting program is provided, and when the power is turned off during execution of the rewriting processing, the mode selection switch is set to the rewriting processing mode. The rewriting process is performed again from the beginning after the power is turned on again in the selected state.

【0005】[0005]

【発明が解決しようとする課題】上述したように、従来
装置では、基本プログラムの書き換え中に電源オフにな
ったときにその対策を採る構成となっているが、電源オ
フ状態にならないバックアップ電源で動作させるのが最
良であることは明らかである。しかしながら、複写機な
どの機器本体にバックアップ電源を搭載するとコストア
ップになるとともに、機器自体の大きさも大きくなって
しまい、機器の小型化の傾向に逆行することになるため
好ましくない。また、上述した従来装置では、モード選
択スイッチを誤操作したときの対策のためのハードウェ
アを設けているが、各機器ごとにその余分な機能が必要
になってしまう。
As described above, in the conventional device, the countermeasure is taken when the power is turned off during the rewriting of the basic program, but the backup power supply does not turn off. It is clear that it is best to work. However, it is not preferable to mount a backup power supply on the main body of a device such as a copying machine, because the cost increases and the size of the device itself increases, which goes against the tendency toward downsizing of the device. Further, in the above-mentioned conventional device, the hardware is provided as a countermeasure against the erroneous operation of the mode selection switch, but the extra function is required for each device.

【0006】本発明は、上記課題に鑑みてなされたもの
であり、その目的とするところは、基本プログラムの書
き換え中に装置本体の電源がオフになっても、その影響
を受けることなくそのまま書き換え動作を継続可能なメ
モリ書き換え装置を提供することにある。
The present invention has been made in view of the above problems. An object of the present invention is to rewrite a basic program as it is without being affected even if the power of the apparatus main body is turned off during rewriting. It is to provide a memory rewriting device capable of continuing the operation.

【0007】[0007]

【課題を解決するための手段】本発明によるメモリ書き
換え装置は、基本プログラムが記憶されている書き換え
可能な第1のメモリと、この第1のメモリの記憶内容を
書き換えるための書き換え用プログラムが記憶されてい
る第2のメモリと、第1,第2のメモリに対して本体電
源部からの電源電圧を供給するとともに、本体電源部が
電源オフのときは外部電源電圧を供給する電源切り替え
手段とを有する装置本体と、第1のメモリに記憶するた
めの新しいプログラムを前記装置本体に与える外部端末
装置と、装置本体と外部端末装置との間でデータの伝送
を行うとともに、外部端末装置側の電源電圧を電源切り
替え手段に外部電源電圧として供給する伝送手段とを具
備した構成となっている。
A memory rewriting device according to the present invention stores a rewritable first memory in which a basic program is stored, and a rewriting program for rewriting the stored contents of the first memory. And a power supply switching means for supplying a power supply voltage from the main body power supply unit to the first and second memories and supplying an external power supply voltage when the main body power supply unit is powered off. And an external terminal device that gives the device main body a new program to be stored in the first memory, data transmission between the device main body and the external terminal device, and the external terminal device side The power supply voltage is supplied to the power supply switching means as an external power supply voltage, and the transmission means is provided.

【0008】[0008]

【作用】上記構成のメモリ書き換え装置において、本体
電源部が電源オンのときはこの本体電源部からの電源電
圧が電源切り替え手段によって選択されて第1,第2の
メモリに供給される。この状態において、装置本体に対
して外部端末装置から第1のメモリに記憶するための新
しいプログラムのデータが伝送手段を介して供給され
る。そして、第2のメモリに記憶されている書き換え用
プログラムに基づいて第1のメモリの基本プログラムの
書き換えが行われる。この書き換え中に、本体電源部が
何らかの原因によって電源オフになると、電源切換え手
段は伝送手段を介して外部端末装置から供給される外部
電源電圧を選択し、この外部電源電圧を第1,第2のメ
モリに供給する。これにより、基本プログラムの書き換
え中に本体電源部が突然に電源オフ状態になったとして
も、第1,第2のメモリへの電源供給はその影響を受け
ることなく継続される。
In the memory rewriting device having the above structure, when the main body power supply unit is powered on, the power supply voltage from the main body power supply unit is selected by the power supply switching means and supplied to the first and second memories. In this state, data of a new program to be stored in the first memory is supplied to the apparatus main body from the external terminal apparatus via the transmission means. Then, the basic program in the first memory is rewritten based on the rewriting program stored in the second memory. If the power supply of the main body is turned off for some reason during this rewriting, the power supply switching means selects the external power supply voltage supplied from the external terminal device via the transmitting means, and the external power supply voltage is set to the first and second power supply voltages. Supply to the memory. As a result, even if the main body power supply unit suddenly turns off during rewriting of the basic program, the power supply to the first and second memories continues without being affected by it.

【0009】[0009]

【実施例】以下、本発明を例えば複写機に適用した場合
の実施例について、図面を参照しつつ詳細に説明する。
なお、本発明は、複写機への適用に限定されるものでは
なく、基本プログラムが記憶されている書き換え可能な
メモリを搭載している機器全般に適用可能である。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT An embodiment in which the present invention is applied to a copying machine will be described in detail below with reference to the drawings.
The present invention is not limited to the application to a copying machine, but can be applied to all devices equipped with a rewritable memory in which a basic program is stored.

【0010】図1は、本発明の一実施例を示すブロック
図である。図1において、複写機本体1は、基本プログ
ラムが記憶されている書き換え可能な第1のメモリとし
てのフラッシュEEPROM11と、このフラッシュE
EPROM11の記憶内容を書き換えるための書き換え
用プログラムが記憶されている第2のメモリとしてのE
PROM12と、後述する外部端末装置2との間でデー
タの送受信を行うデータ送受信回路13と、フラッシュ
EEPROM11、EPROM12及びデータ送受信回
路13の制御を行うCPU(Central Processing Unit)
14と、フラッシュEEPROM11、EPROM1
2、データ送受信回路13及びCPU14への電源供給
を行う電源切り替え回路15とを搭載したメインボード
16を内蔵している。
FIG. 1 is a block diagram showing an embodiment of the present invention. In FIG. 1, a copying machine main body 1 includes a flash EEPROM 11 as a rewritable first memory in which a basic program is stored, and a flash EEPROM.
E as a second memory in which a rewriting program for rewriting the stored contents of the EPROM 11 is stored
A data transmission / reception circuit 13 for transmitting / receiving data between the PROM 12 and an external terminal device 2 described below, and a CPU (Central Processing Unit) for controlling the flash EEPROM 11, EPROM 12, and the data transmission / reception circuit 13.
14, flash EEPROM 11, EPROM 1
2. The main board 16 having the data transmitting / receiving circuit 13 and the power supply switching circuit 15 for supplying power to the CPU 14 is built-in.

【0011】複写機本体1はさらに、AC電源電圧を整
流しかつ安定化して例えば5Vの電源電圧を出力する本
体電源部17と、データなどの入出力を行うインタフェ
ース(I/F)18とを内蔵している。本体電源部17
から出力される電源電圧は電源切り替え回路15の一入
力となる。インタフェース18は外部から供給される外
部電源電圧を取り込み、これを電源切り替え回路15の
他入力とする。電源切り替え回路15は、本体電源部1
7が電源オンのとき、即ち本体電源部17から電源電圧
が出力されているときはこの内部電源電圧を、基本プロ
グラムの書き換え中に本体電源部17が電源オフとなっ
たときはインタフェース18を通して供給される外部電
源電圧をそれぞれ選択し、電源ラインLを通してフラッ
シュEEPROM11、EPROM12、データ送受信
回路13及びCPU14に供給する。
The copying machine main body 1 further includes a main body power supply unit 17 that rectifies and stabilizes the AC power supply voltage and outputs a power supply voltage of, for example, 5 V, and an interface (I / F) 18 that inputs and outputs data and the like. Built-in. Main body power supply unit 17
The power supply voltage output from the above becomes one input of the power supply switching circuit 15. The interface 18 takes in an external power supply voltage supplied from the outside and uses it as another input of the power supply switching circuit 15. The power supply switching circuit 15 includes the power supply unit 1 of the main body.
When the power source 7 is turned on, that is, when the power source voltage is output from the main body power source unit 17, this internal power source voltage is supplied through the interface 18 when the main body power source unit 17 is turned off while rewriting the basic program. The selected external power supply voltage is supplied to the flash EEPROM 11, EPROM 12, data transmission / reception circuit 13 and CPU 14 through the power supply line L.

【0012】外部端末装置2は、次に書き換えようとし
ている新しいプログラムが記憶されている記憶装置21
と、複写機本体1との間でデータの送受信を行うデータ
送受信回路22と、記憶装置21及びデータ送受信回路
22の制御を行うCPU23と、記憶装置21、データ
送受信回路22及びCPU23に対して例えば5Vの電
源電圧を供給するバッテリーなどのバックアップ電源2
4と、データなどの入出力を行うインタフェース(I/
F)25とを内蔵している。バックアップ電源24から
の電源電圧はインタフェース25にも供給され、外部へ
出力可能となっている。
The external terminal device 2 has a storage device 21 in which a new program to be rewritten next is stored.
A data transmission / reception circuit 22 for transmitting / receiving data to / from the copying machine main body 1, a CPU 23 for controlling the storage device 21 and the data transmission / reception circuit 22, and a storage device 21, a data transmission / reception circuit 22, and a CPU 23, for example. Backup power supply 2 such as a battery that supplies a power supply voltage of 5V
4 and an interface (I /
F) 25 and are built in. The power supply voltage from the backup power supply 24 is also supplied to the interface 25 and can be output to the outside.

【0013】外部端末装置2内の記憶装置21として
は、この外部端末装置2の入力部(図示せず)から次に
書き換えるべく入力された新しいプログラムデータを記
憶保持する書き換え可能なROMや、新しいプログラム
データがあらかじめ記憶されているフロッピーディスク
などの記憶媒体が用いられる。ただし、外部端末装置2
に記憶装置21を搭載することは必須ではなく、外部端
末装置2の入力部から入力した新しいプログラムデータ
をそのまま扱うようにしても良い。
As the storage device 21 in the external terminal device 2, a rewritable ROM for storing and holding new program data input to be rewritten next from an input section (not shown) of the external terminal device 2, or a new ROM A storage medium such as a floppy disk in which program data is stored in advance is used. However, the external terminal device 2
It is not essential to install the storage device 21 in the above, and new program data input from the input unit of the external terminal device 2 may be directly handled.

【0014】記憶装置21に記憶されている新しいプロ
グラムデータは、データ送受信回路22を通してインタ
フェース25に導かれ、さらに複写機本体1と外部端末
装置2との間に接続された伝送手段としての伝送ケーブ
ル3によって複写機本体1側へ伝送される。伝送ケーブ
ル3はデータを伝送する他、バックアップ電源24から
の電源電圧を複写機本体1に対して外部電源電圧として
供給する。この外部端末装置2としては、バッテリーで
動作可能ないわゆるハンディパソコンなどを用いること
が可能である。
The new program data stored in the storage device 21 is guided to the interface 25 through the data transmission / reception circuit 22 and is further connected as a transmission means between the copying machine main body 1 and the external terminal device 2 as a transmission cable. 3 is transmitted to the copying machine main body 1 side. In addition to transmitting data, the transmission cable 3 supplies the power supply voltage from the backup power supply 24 to the copying machine body 1 as an external power supply voltage. As the external terminal device 2, it is possible to use a so-called handy personal computer that can be operated by a battery.

【0015】次に、上記構成のメモリ書き換え装置にお
ける基本プログラムの書き換え動作について、図2及び
図3のフローチャートにしたがって説明する。
Next, the rewriting operation of the basic program in the memory rewriting device having the above structure will be described with reference to the flowcharts of FIGS.

【0016】先ず、複写機本体1側の動作につき、図2
のフローチャートにしたがって説明するに、電源オンに
よって通常コピー状態(スタンバイ/コピー中)となり
(ステップS1)、この状態においてCPU14は、外
部端末装置2から書き換えコマンドを受信したか否かを
判断する(ステップS2)。書き換えコマンドを受信し
たのであれば、CPU14は、通常コピー状態を中断し
(ステップS3)、命令ステップをフラッシュEEPR
OM11からEPROM12へ移し(ステップS4)、
続いて書き換え可能コマンドを外部端末装置2へ送信す
る(ステップS5)。
First, referring to FIG.
As will be described with reference to the flow chart of FIG. 3, the power-on turns into a normal copy state (standby / copying) (step S1). In this state, the CPU 14 determines whether or not a rewrite command is received from the external terminal device 2 (step S1). S2). If the rewrite command is received, the CPU 14 suspends the normal copy state (step S3), and the command step is flash EEPR.
Move from OM11 to EPROM12 (step S4),
Then, the rewritable command is transmitted to the external terminal device 2 (step S5).

【0017】電源切り替え回路15は、本体電源部17
が電源オン状態にあるか否かを判断し(ステップS
6)、電源オンであれば、フラッシュEEPROM1
1、EPROM12、データ送受信回路13及びCPU
14に対する本体電源部17からの電源電圧の供給を継
続し(ステップS7)、電源オフであれば、外部端末装
置2からの外部電源電圧を選択して供給する(ステップ
S8)。一方、CPU14は、外部端末装置2から新た
なプログラムデータを受信する(ステップS9)。ここ
で、図2のフローチャートでは、データ受信状態での電
源切り替え回路15による電源監視しか特記されていな
いが、いかなる状態であっても電源監視は常に行われて
いる。
The power supply switching circuit 15 includes a main body power supply unit 17
Determines whether the power is on (step S
6) If the power is on, the flash EEPROM 1
1, EPROM 12, data transmission / reception circuit 13 and CPU
Supply of the power supply voltage from the main body power supply unit 17 to 14 is continued (step S7), and if the power supply is off, the external power supply voltage from the external terminal device 2 is selected and supplied (step S8). On the other hand, the CPU 14 receives new program data from the external terminal device 2 (step S9). Here, in the flowchart of FIG. 2, only power supply monitoring by the power supply switching circuit 15 in the data receiving state is specifically mentioned, but power supply monitoring is always performed in any state.

【0018】データ受信が完了したら、CPU14は、
EPROM12に記憶されている書き換え用プログラム
に基づいてフラッシュEEPROM11の基本プログラ
ムの書き換え及びサムチェックを行う(ステップS1
1)。ここに、サムチェックとは、データが正しくやり
とりされたか否かを検査することを言う。そして、CP
U14は、サムチェックの結果を判断し(ステップS1
2)、サムチェックが“NG”であれば、データ再送の
要求を外部端末装置2に対して送信し(ステップS1
3)、しかる後ステップS6に戻って上述した処理を繰
り返す。
When the data reception is completed, the CPU 14
Based on the rewriting program stored in the EPROM 12, the basic program of the flash EEPROM 11 is rewritten and the sum check is performed (step S1).
1). Here, the sum check means to check whether or not the data is exchanged correctly. And CP
U14 judges the result of the sum check (step S1.
2) If the sum check is “NG”, a data retransmission request is transmitted to the external terminal device 2 (step S1).
3) Then, the process returns to step S6 and the above-described processing is repeated.

【0019】サムチェックが“OK”であれば、CPU
14は、命令ステップをEEPROM12からフラッシ
ュEEPROM11へ移し(ステップS14)、次いで
書き換え完了コマンドを外部端末装置2へ送信し(ステ
ップS15)、続いて複写機本体1の電源スイッチ(図
示せず)がオフになったか否かを判断する(ステップS
16)。そして、電源スイッチがオン状態のままであれ
ば、ステップS1に戻って上述した処理を繰り返し、電
源スイッチがオフであれば、上述した基本プログラムを
書き換えるための一連の処理を終了する。
If the sum check is "OK", the CPU
14 transfers the instruction step from the EEPROM 12 to the flash EEPROM 11 (step S14), then transmits a rewrite completion command to the external terminal device 2 (step S15), and then the power switch (not shown) of the copying machine main body 1 is turned off. Is determined (step S
16). Then, if the power switch remains in the ON state, the process returns to step S1 to repeat the above process, and if the power switch is OFF, the series of processes for rewriting the basic program ends.

【0020】次に、外部端末装置2側の動作につき、図
3のフローチャートにしたがって説明するに、電源オン
によってCPU23は、記憶装置21に記憶されている
新しいプログラムのサムチェックを行い(ステップS2
1)、サムチェックの結果を判断する(ステップS2
2)。そして、サムチェック“OK”であれば、CPU
23は、プログラム書き換えのメニューが選ばれている
か否かを判断し(ステップS23)、プログラム書き換
えのメニューが選ばれていれば、書き換えコマンドを複
写機本体1へ送信し(ステップS24)、複写機本体1
から書き換え可能コマンドが送信されるのを待つ(ステ
ップS25)。
Next, the operation of the external terminal device 2 will be described with reference to the flow chart of FIG. 3. When the power is turned on, the CPU 23 performs a sum check of a new program stored in the storage device 21 (step S2).
1) Judge the result of the sum check (step S2)
2). If the sum check is “OK”, the CPU
23 determines whether or not the program rewriting menu is selected (step S23). If the program rewriting menu is selected, the rewriting command is transmitted to the copying machine main body 1 (step S24), and the copying machine is selected. Body 1
Waits for a rewritable command to be transmitted from (step S25).

【0021】そして、書き換え可能コマンドを受信する
と、CPU23は、プログラムデータを複写機本体1へ
送信し(ステップS26)、このプログラムデータの送
信をステップS27でデータ送信完了と判断するまで繰
り返す。また、複写機本体1からデータ再送の要求があ
れば、同様に、プログラムデータを複写機本体1へ送信
する処理を実行する。そして、複写機本体1から書き換
え完了コマンドを受信したら(ステップS29)、CP
U23は、図示せぬ表示部に書き換え完了の表示を行い
(ステップS30)、しかる後ステップS23に戻る。
When the rewritable command is received, the CPU 23 transmits the program data to the copying machine main body 1 (step S26) and repeats the transmission of the program data until it is determined in step S27 that the data transmission is completed. Further, if there is a data resend request from the copying machine body 1, similarly, a process of transmitting the program data to the copying machine body 1 is executed. When the rewriting completion command is received from the copying machine body 1 (step S29), the CP
The U23 displays the completion of rewriting on the display unit (not shown) (step S30), and then returns to step S23.

【0022】なお、ステップS22でサムチェックが
“NG”と判断した場合、処理を終了する。ステップS
25で複写機本体1から書き換え可能コマンドを受信し
ないと判断した場合又は複写機本体1から書き換え完了
コマンドを受信しないと判断した場合には、CPU23
は、上記表示部に異常表示を行い(ステップS31)、
続いて再トライするか否かを判断する(ステップS3
2)。そして、再トライするのであれば、ステップS2
3に戻って上述した処理を繰り返して実行し、再トライ
しないのであれば、新しいプログラムデータを複写機本
体1へ送信するための一連の処理を終了する。
If it is determined in step S22 that the sum check is "NG", the process ends. Step S
If it is determined that the rewritable command is not received from the copying machine body 1 at 25 or if the rewriting completion command is not received from the copying machine body 1, the CPU 23
Displays an abnormality on the display unit (step S31),
Then, it is determined whether or not to retry (step S3).
2). Then, if it is retried, step S2
Returning to step 3, the above-described processing is repeatedly executed, and if no retry is made, a series of processing for transmitting new program data to the copying machine main body 1 is ended.

【0023】上述したように、外部端末装置2内のバッ
クアップ電源24からの電源電圧を複写機本体1に外部
電源電圧として与えるとともに、電源切り替え回路15
によって本体電源部17の電源オン/オフ状態を監視
し、電源オンのときは本体電源部17からの内部電源電
圧を、電源オフのときは外部端末装置2からの外部電源
電圧をフラッシュEEPROM11、EPROM12、
データ送受信回路13及びCPU14に供給するように
したことにより、基本プログラムの書き換え中にAC電
源断などの不慮の事故によって複写機本体1の本体電源
部17が電源オフになったとしても、その影響を受ける
ことなく書き換え動作を継続できることになる。
As described above, the power supply voltage from the backup power supply 24 in the external terminal device 2 is applied to the copying machine main body 1 as the external power supply voltage, and the power supply switching circuit 15 is provided.
The power supply ON / OFF state of the main body power supply unit 17 is monitored by the flash EEPROM 11, EPROM 12 for the internal power supply voltage from the main body power supply unit 17 when the power supply is on and for the external power supply voltage from the external terminal device 2 when the power supply is off. ,
By supplying the data to the data transmission / reception circuit 13 and the CPU 14, even if the main body power supply unit 17 of the copying machine main body 1 is turned off due to an accident such as AC power interruption during rewriting of the basic program, the influence thereof is exerted. The rewriting operation can be continued without receiving this.

【0024】なお、上記実施例では、外部端末装置2に
バックアップ電源24のみを搭載した構成の場合につい
て説明したが、バックアップ電源24と一緒に、AC電
源電圧を整流しかつ安定化して例えば5Vの電源電圧を
出力する電源部をも搭載し、通常は、この電源部からの
電源電圧を内部の各回路に供給するとともに、外部電源
電圧として複写機本体1に供給し、この電源部が電源オ
フのときには、バックアップ電源24からの電源電圧を
内部の各回路に供給するとともに、外部電源電圧として
複写機本体1に供給する構成であっても良いことは勿論
である。この構成によれば、バックアップ電源24の長
寿命化が図れる。
In the above embodiment, the case where only the backup power supply 24 is mounted on the external terminal device 2 has been described, but together with the backup power supply 24, the AC power supply voltage is rectified and stabilized to, for example, 5V. It is also equipped with a power supply unit that outputs a power supply voltage. Normally, the power supply voltage from this power supply unit is supplied to each internal circuit and is also supplied to the copying machine main body 1 as an external power supply voltage. In this case, it goes without saying that the power supply voltage from the backup power supply 24 may be supplied to each internal circuit and also supplied to the copying machine main body 1 as an external power supply voltage. According to this structure, the life of the backup power supply 24 can be extended.

【0025】ただし、AC電源断などの不慮の事故によ
り複写機本体1側の本体電源部17が基本プログラムの
書き換え中に電源オフとなったときには、外部端末装置
2側の電源部も同時に電源オフとなる可能性が高いこと
から、複写機本体1の本体電源部17が電源オフになっ
たときに必ず外部端末装置2から外部電源電圧を与える
ようにするためには、外部端末装置2にバックアップ電
源24を搭載することは必須である。
However, when the main body power supply unit 17 on the side of the copying machine 1 is turned off during the rewriting of the basic program due to an accident such as the disconnection of the AC power supply, the power supply unit on the external terminal device 2 side is also turned off at the same time. Therefore, in order to ensure that the external power supply voltage is supplied from the external terminal device 2 when the main body power supply unit 17 of the copying machine main body 1 is turned off, the external terminal device 2 must be backed up. It is essential to mount the power supply 24.

【0026】[0026]

【発明の効果】以上説明したように、本発明によれば、
外部端末装置からの電源電圧を装置本体に外部電源電圧
として与え、本体電源部が電源オンのときは本体電源部
からの電源電圧を、基本プログラムの書き換え中に電源
オフとなったときは外部電源電圧を、基本プログラムを
記憶している書き換え可能なメモリや、書き換え用プロ
グラムを記憶しているメモリなどに供給するようにした
ので、基本プログラムの書き換え中に本体電源部が電源
オフになったとしても、その影響を受けることなく書き
換え動作を継続できることになる。
As described above, according to the present invention,
The power supply voltage from the external terminal device is applied to the main body of the device as the external power supply voltage. When the power supply of the main body is on, the power supply voltage from the power supply of the main body is turned on. Since the voltage is supplied to the rewritable memory that stores the basic program, the memory that stores the rewriting program, etc., even if the power supply of the main unit is turned off while the basic program is being rewritten, However, the rewriting operation can be continued without being affected by this.

【0027】これにより、装置本体にバックアップ電源
を搭載しなくても、基本プログラムの書き換え中の本体
電源部の電源オフに対応できるので、装置本体が大型化
したり、コストアップすることもない。また、電源の切
り替えは自動的に行われるため、従来装置のように、切
り替えのためのスイッチや、そのスイッチを誤操作した
ときの対策のための回路を設ける必要もなく、簡単な構
成にて所期の目的を達成できることになる。
As a result, even if the main body of the apparatus is not equipped with a backup power source, the main body power supply unit can be turned off while the basic program is being rewritten, so that the main body of the apparatus does not become large and the cost does not increase. Also, since the power supply is switched automatically, it is not necessary to provide a switch for switching and a circuit for countermeasures when the switch is erroneously operated, unlike the conventional device, and the configuration is simple. The purpose of the period can be achieved.

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

【図1】 本発明の一実施例を示すブロック図である。FIG. 1 is a block diagram showing an embodiment of the present invention.

【図2】 複写機本体における基本プログラムの書き換
えの際の動作を説明するためのフローチャートである。
FIG. 2 is a flowchart for explaining an operation when rewriting a basic program in the copying machine main body.

【図3】 外部端末装置における新たなプログラムの送
信動作を説明するためのフローチャートである。
FIG. 3 is a flowchart for explaining a transmission operation of a new program in the external terminal device.

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

1 複写機本体 2 外部端末装
置 3 伝送ケーブル 11 フラッシ
ュEEPROM 12 EPROM 15 電源切り
替え回路 16 メインボード 17 本体電源
部 21 記憶装置 24 バックア
ップ電源
1 Copy Machine Main Body 2 External Terminal Device 3 Transmission Cable 11 Flash EEPROM 12 EPROM 15 Power Supply Switching Circuit 16 Main Board 17 Main Body Power Supply Unit 21 Storage Device 24 Backup Power Supply

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 基本プログラムが記憶されている書き換
え可能な第1のメモリと、前記第1のメモリの記憶内容
を書き換えるための書き換え用プログラムが記憶されて
いる第2のメモリと、前記第1及び第2のメモリに対し
て本体電源部からの電源電圧を供給するとともに、前記
本体電源部が電源オフのときは外部電源電圧を供給する
電源切り替え手段とを有する装置本体と、 前記第1のメモリに記憶するための新しいプログラムを
前記装置本体に与える外部端末装置と、 前記装置本体と前記外部端末装置との間でデータの伝送
を行うとともに、前記外部端末装置側の電源電圧を前記
電源切り替え手段に前記外部電源電圧として供給する伝
送手段とを具備したことを特徴とするメモリ書き換え装
置。
1. A rewritable first memory in which a basic program is stored, a second memory in which a rewriting program for rewriting the contents stored in the first memory is stored, and the first memory. And a device main body having a power supply switching unit that supplies a power supply voltage from the main body power supply unit to the second memory and also supplies an external power supply voltage when the main body power supply unit is off. An external terminal device that gives a new program to be stored in the memory to the device body, data transmission between the device body and the external terminal device, and switching the power supply voltage of the external terminal device side to the power supply. A memory rewriting device, characterized in that the memory rewriting device comprises:
JP6225563A 1994-08-26 1994-08-26 Memory rewrite device Pending JPH0869346A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP6225563A JPH0869346A (en) 1994-08-26 1994-08-26 Memory rewrite device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP6225563A JPH0869346A (en) 1994-08-26 1994-08-26 Memory rewrite device

Publications (1)

Publication Number Publication Date
JPH0869346A true JPH0869346A (en) 1996-03-12

Family

ID=16831267

Family Applications (1)

Application Number Title Priority Date Filing Date
JP6225563A Pending JPH0869346A (en) 1994-08-26 1994-08-26 Memory rewrite device

Country Status (1)

Country Link
JP (1) JPH0869346A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7010703B1 (en) 1999-10-20 2006-03-07 Nec Corporation Bus power-supply device and node
JP2008257449A (en) * 2007-04-04 2008-10-23 Matsushita Electric Works Ltd Data collection device
JP2012043353A (en) * 2010-08-23 2012-03-01 Canon Inc Information apparatus, control method therefor, and program
JP2014232364A (en) * 2013-05-28 2014-12-11 京セラドキュメントソリューションズ株式会社 Electronic apparatus

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7010703B1 (en) 1999-10-20 2006-03-07 Nec Corporation Bus power-supply device and node
JP2008257449A (en) * 2007-04-04 2008-10-23 Matsushita Electric Works Ltd Data collection device
JP2012043353A (en) * 2010-08-23 2012-03-01 Canon Inc Information apparatus, control method therefor, and program
JP2014232364A (en) * 2013-05-28 2014-12-11 京セラドキュメントソリューションズ株式会社 Electronic apparatus

Similar Documents

Publication Publication Date Title
EP0471928B1 (en) Connection state confirmation system and method for expansion unit
US6950953B2 (en) Network system provided with multifunctional printer and terminal apparatus connected to the multifunctional printer
US7971085B2 (en) Method and apparatus for supplying power, and display device
KR100188132B1 (en) Digital computer and its control method
US5897252A (en) Peripheral device control method and printing apparatus
KR20030075569A (en) Controlling apparatus and method for information process system of mobile terminal apparatus using flash memory
JPH0869346A (en) Memory rewrite device
EP1083666A2 (en) Automatic receive mode for infrared devices
US7116432B2 (en) Power control for a printing unit with a maintenance function
EP0785508B1 (en) Method of controlling data writing into on-board microcomputer
JP4178915B2 (en) Electronics
JPH09237182A (en) Communication equipment
JP2006017529A (en) Testing apparatus
KR100295987B1 (en) Method for converting suspend/active mode in usb core
JP3376333B2 (en) Built-in battery information processor with power-on control function
JP2671750B2 (en) Peripheral control device
JPH07160598A (en) Computer system
JP3697971B2 (en) Information processing device
JP3483258B2 (en) Information processing equipment
JP2008129969A (en) Power supply backup system and electronic equipment provided with the same
JP2000163167A (en) Electronic equipment and method for controlling data rewriting of electronic equipment and storage medium for storing computer readable program
JPH1083358A (en) Program rewriting method and controller provided with program rewriting function
JP2001306112A (en) Programmable controller
JP2001242969A (en) Uninterruptible power supply
JPH07129425A (en) Reboot processing method