JP2001148752A - Facsimile equipment and its program rewriting method - Google Patents

Facsimile equipment and its program rewriting method

Info

Publication number
JP2001148752A
JP2001148752A JP33017099A JP33017099A JP2001148752A JP 2001148752 A JP2001148752 A JP 2001148752A JP 33017099 A JP33017099 A JP 33017099A JP 33017099 A JP33017099 A JP 33017099A JP 2001148752 A JP2001148752 A JP 2001148752A
Authority
JP
Japan
Prior art keywords
program
memory
divided
stored
communication
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
JP33017099A
Other languages
Japanese (ja)
Inventor
Nobuhiro Mogi
伸宏 茂木
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.)
Panasonic System Solutions Japan Co Ltd
Original Assignee
Matsushita Graphic Communication Systems 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 Matsushita Graphic Communication Systems Inc filed Critical Matsushita Graphic Communication Systems Inc
Priority to JP33017099A priority Critical patent/JP2001148752A/en
Publication of JP2001148752A publication Critical patent/JP2001148752A/en
Pending legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)
  • Facsimiles In General (AREA)
  • Facsimile Transmission Control (AREA)

Abstract

PROBLEM TO BE SOLVED: To rewrite a program without making large the storage capacity of an F-ROM temporarily storing a new program. SOLUTION: While divided programs are received from a communication line and temporarily stored in the F-ROM 104, a program for rewriting a program stored in the F-ROM 103 is copied from a program controlling a device main body to an SRAM 105 and stored; and the program stored in the F-ROM 103 is rewritten into the divided programs stored in the F-ROM 104 according to the program stored in the SRAM.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、メモリに格納され
たプログラムを書き換え可能なファクシミリ装置及びそ
のプログラムの書換方法に関する。
The present invention relates to a facsimile apparatus capable of rewriting a program stored in a memory and a method of rewriting the program.

【0002】[0002]

【従来の技術】従来、外部のファクシミリ装置や外部の
パーソナルコンピュータ(以下、「PC」という)から
電話回線を通じて受信したプログラムに、装置内部のプ
ログラムを書き換えるファクシミリ装置が知られてい
る。このようなファクシミリ装置は、例えば、特開平6
−314202号公報に提案されている。
2. Description of the Related Art Conventionally, there has been known a facsimile apparatus which rewrites a program inside the apparatus into a program received from an external facsimile apparatus or an external personal computer (hereinafter referred to as "PC") through a telephone line. Such a facsimile apparatus is disclosed in, for example,
No. 3,314,202.

【0003】このようなファクシミリ装置は、プログラ
ムの書き換えを行う場合、装置内部に用意した2つの書
き換え可能な記録媒体(例えば、フラッシュメモリ(以
下、「F−ROM」という))のうち、一方にファクシ
ミリ装置を制御している現在のプログラムを格納し、他
方に外部のファクシミリ装置等から電話回線を通じて受
信した新しいプログラムを格納する。このように、一方
に現在のプログラム、他方に新しいプログラムを格納す
ることにより、現在実行しているプログラムを書き換え
ることができないというハード上の制限を回避すると共
にプログラムの書き換え時の安全を確保している。
In such a facsimile apparatus, when rewriting a program, one of two rewritable recording media (for example, a flash memory (hereinafter, referred to as "F-ROM")) prepared inside the apparatus is used. The current program for controlling the facsimile machine is stored, and the other program is stored for a new program received from an external facsimile machine or the like via a telephone line. In this way, by storing the current program on one side and the new program on the other side, it is possible to avoid the hardware limitation that the currently running program cannot be rewritten, and to ensure the safety when rewriting the program. I have.

【0004】また、ファクシミリ装置は、書き換え可能
な記録媒体(例えば、SRAM)を用意し、プログラム
の書き換え時にこのSRAMに、現在のプログラムの中
にある書き換えプログラムを書き込む。そして、この書
き換えプログラムを実行することにより、装置内部のプ
ログラムを、現在のプログラムから新しいプログラムに
書き換えるようにしている。
The facsimile apparatus prepares a rewritable recording medium (for example, an SRAM), and writes a rewrite program in the current program into the SRAM when rewriting the program. By executing the rewriting program, the program in the apparatus is rewritten from the current program to a new program.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、従来の
ファクシミリ装置においては、外部のファクシミリ装置
等から受信した、新しいプログラムを一時的にF−RO
Mに格納する。このため、ファクシミリ装置は、新しい
プログラムを一時的に格納するものであるにも関わら
ず、現在のプログラムを格納しているF−ROMと同等
の記憶容量を有するF−ROMを用意しなければ、プロ
グラムの書き換えを行うことができないという問題があ
る。また、プログラムの書き換えに記憶容量の大きなF
−ROMを必要とするため、このF−ROMにかかるコ
ストを下げることができず、装置の低価格化を図ること
ができないという問題も発生する。
However, in the conventional facsimile apparatus, a new program received from an external facsimile apparatus or the like is temporarily stored in the F-RO.
Stored in M. For this reason, the facsimile apparatus temporarily stores a new program, but does not prepare an F-ROM having the same storage capacity as the F-ROM storing the current program. There is a problem that the program cannot be rewritten. In addition, when rewriting a program, a large storage capacity F
Since a ROM is required, the cost of the F-ROM cannot be reduced, and the cost of the apparatus cannot be reduced.

【0006】本発明は、かかる点に鑑みてなされたもの
であり、プログラムの書き換えを行う際、新しいプログ
ラムを一時的に格納するメモリ(F−ROM)の記憶容
量を大きくすることなく、プログラムの書き換えを行う
ことができるファクシミリ装置を提供することを目的と
する。
[0006] The present invention has been made in view of the above point. When a program is rewritten, the program (F-ROM) for temporarily storing a new program can be rewritten without increasing the storage capacity of the memory. An object of the present invention is to provide a facsimile apparatus capable of performing rewriting.

【0007】[0007]

【課題を解決するための手段】本発明は、通信回線から
分割されたプログラムを順次受信する一方、この分割さ
れたプログラムを受信する都度、装置本体を制御してい
るプログラムを、この分割されたプログラムに書き換え
るようにしたものである。
According to the present invention, while receiving divided programs sequentially from a communication line, each time the divided programs are received, the program controlling the apparatus main body is divided into the divided programs. It is rewritten as a program.

【0008】これにより、装置本体を制御しているプロ
グラムを書き換えるための新しいプログラムを分割して
受信し、この分割されたプログラムを受信する都度、装
置本体を制御しているプログラムを書き換える。このた
め、この分割された新しいプログラムを一時的に格納す
るメモリの記憶容量を大きくすることなく、装置本体を
制御しているプログラムを新しいプログラムに書き換え
ることができる。
Thus, a new program for rewriting the program controlling the apparatus body is divided and received, and each time the divided program is received, the program controlling the apparatus body is rewritten. For this reason, the program controlling the apparatus main body can be rewritten to a new program without increasing the storage capacity of the memory for temporarily storing the divided new program.

【0009】[0009]

【発明の実施の形態】本発明の第1の態様に係るファク
シミリ装置は、通信回線から分割されたプログラムを順
次受信する一方、当該分割されたプログラムを受信する
都度、装置本体を制御しているプログラムを受信した当
該分割されたプログラムに書き換える構成を採る。
DESCRIPTION OF THE PREFERRED EMBODIMENTS A facsimile apparatus according to a first aspect of the present invention receives divided programs sequentially from a communication line, and controls the apparatus main body every time the divided programs are received. A configuration is adopted in which the program is rewritten to the received divided program.

【0010】この構成によれば、装置本体を制御してい
るプログラムを書き換えるための新しいプログラムを分
割し、この分割されたプログラムを受信する都度、装置
本体を制御しているプログラムを書き換える。このた
め、この分割された新しいプログラムを一時的に格納す
るメモリの記憶容量を大きくすることなく、装置本体を
制御しているプログラムを新しいプログラムに書き換え
ることができる。
According to this configuration, a new program for rewriting the program controlling the apparatus main body is divided, and each time the divided program is received, the program controlling the apparatus main body is rewritten. For this reason, the program controlling the apparatus main body can be rewritten to a new program without increasing the storage capacity of the memory for temporarily storing the divided new program.

【0011】本発明の第2の態様に係るファクシミリ装
置は、装置本体を制御するプログラムを格納する第1メ
モリと、通信回線から受信した新しいプログラムを一時
的に格納する第2メモリと、前記第1メモリに格納され
たプログラムを書き換えるためのプログラムを格納する
第3メモリと、前記通信回線から分割されたプログラム
を受信したならば、その都度、前記第3メモリに格納さ
れたプログラムにしたがって、前記第1メモリに格納さ
れたプログラムを前記第2メモリに格納された、前記分
割されたプログラムに書き換える処理を実行する制御部
と、を具備する構成を採る。
A facsimile apparatus according to a second aspect of the present invention includes a first memory for storing a program for controlling the apparatus main body, a second memory for temporarily storing a new program received from a communication line, A third memory for storing a program for rewriting the program stored in the first memory, and, each time a divided program is received from the communication line, the third memory stores the program in accordance with the program stored in the third memory. A control unit for executing a process of rewriting a program stored in the first memory into the divided program stored in the second memory.

【0012】この構成によれば、第1メモリに格納され
たプログラムを書き換えるための新しいプログラムが分
割されて一時的に第2メモリに格納されるので、第2メ
モリに格納されるデータ容量を縮小することができる。
したがって、第2メモリの記憶容量を大きくすることな
く、第1メモリに格納されたプログラムを新しいプログ
ラムに書き換えることができる。また、第2メモリの記
憶容量を小さくすることができるので、第2メモリにか
かるコストを下げることができ、ひいては、装置の低価
格化を図ることができる。
According to this configuration, a new program for rewriting the program stored in the first memory is divided and temporarily stored in the second memory, so that the data capacity stored in the second memory is reduced. can do.
Therefore, the program stored in the first memory can be rewritten with a new program without increasing the storage capacity of the second memory. Further, since the storage capacity of the second memory can be reduced, the cost of the second memory can be reduced, and the price of the device can be reduced.

【0013】本発明の第3の態様に係るファクシミリ装
置は、第2の態様において、前記第3メモリは、少なく
とも前記第1メモリに格納されたプログラムを書き換え
るためのプログラム及び前記通信回線との通信を制御す
るためのプログラムを格納する構成を採る。
[0013] In a facsimile apparatus according to a third aspect of the present invention, in the second aspect, the third memory may include at least a program for rewriting a program stored in the first memory and communication with the communication line. Is configured to store a program for controlling

【0014】この構成によれば、第3メモリに第1メモ
リに格納されたプログラムを書き換えるためのプログラ
ムのみならず、通信回線との通信を制御するためのプロ
グラムが格納されているので、通信不良等によって、分
割されたプログラムを全て受信することができなかった
としても、この第3メモリに格納されたプログラムを用
いることにより、プログラムの書き換えが途中で停止す
るのを防止することができる。
According to this structure, not only the program for rewriting the program stored in the first memory but also the program for controlling the communication with the communication line is stored in the third memory. For example, even if all of the divided programs cannot be received, the use of the program stored in the third memory can prevent the rewriting of the program from being stopped halfway.

【0015】本発明の第4の態様に係るファクシミリ装
置は、第3の態様において、前記第3メモリは、前記第
1メモリに格納されたプログラムを書き換えるためのプ
ログラム及び前記通信回線との通信を制御するためのプ
ログラムを、前記装置本体を制御するプログラムからコ
ピーして格納する構成を採る。
[0015] In a facsimile apparatus according to a fourth aspect of the present invention, in the facsimile apparatus according to the third aspect, the third memory communicates a program for rewriting a program stored in the first memory and communication with the communication line. The program for controlling is copied from the program for controlling the apparatus main body and stored.

【0016】この構成によれば、第1メモリに格納され
たプログラムを書き換えるためのプログラム及び前記通
信回線との通信を制御するためのプログラムが装置本体
を制御するプログラムからコピーされるので、別途これ
らのプログラムを格納する記憶媒体を設ける必要がなく
なる。
According to this configuration, the program for rewriting the program stored in the first memory and the program for controlling communication with the communication line are copied from the program for controlling the apparatus main body. It is not necessary to provide a storage medium for storing the program.

【0017】本発明の第5の態様に係るファクシミリ装
置は、第2から第4のいずれかの態様において、前記通
信回線から分割された最初のプログラムとして、前記第
1メモリに格納されたプログラムを書き換えるためのプ
ログラム及び前記通信回線との通信を制御するためのプ
ログラムを受信し、前記通信回線から分割された全ての
プログラムを受信できなかったならば、前記制御部は、
前記分割された最初のプログラムにしたがって、前記第
1メモリに格納されたプログラムを書き換える処理を実
行する構成を採る。
A facsimile apparatus according to a fifth aspect of the present invention is the facsimile apparatus according to any one of the second to fourth aspects, wherein the program stored in the first memory is the first program divided from the communication line. If a program for rewriting and a program for controlling communication with the communication line are received, and all the divided programs cannot be received from the communication line, the control unit may:
In accordance with the first divided program, a configuration for executing a process of rewriting a program stored in the first memory is adopted.

【0018】この構成によれば、通信回線から分割され
た全てのプログラムを受信できない場合、制御部は、実
行するプログラムを第3メモリに格納されたプログラム
から、分割された最初のプログラムに移す。これによ
り、第1メモリに格納されたプログラムを書き換えるこ
とができるので、通信不良等によって、分割されたプロ
グラムを全て受信することができなかったとしても、プ
ログラムの書き換えが途中で停止するのを防止すること
ができる。
According to this configuration, when not all the divided programs can be received from the communication line, the control unit transfers the program to be executed from the program stored in the third memory to the first divided program. As a result, the program stored in the first memory can be rewritten. Therefore, even if all of the divided programs cannot be received due to a communication failure or the like, the rewriting of the program is prevented from being stopped halfway. can do.

【0019】また、分割された最初のプログラムに通信
回線との通信を制御するプログラムが含まれるので、第
3メモリに格納するプログラムから通信回線との通信を
制御するプログラムを除くことができるので、第3メモ
リの記憶容量を小さくすることができる。このため、第
3メモリにかかるコストを下げることができ、ひいて
は、装置の低価格化を図ることができる。
Further, since the first divided program includes a program for controlling communication with the communication line, the program stored in the third memory can be excluded from the program for controlling communication with the communication line. The storage capacity of the third memory can be reduced. Therefore, the cost for the third memory can be reduced, and the cost of the device can be reduced.

【0020】本発明の第6の態様に係るファクシミリ装
置は、第2から第4のいずれかの態様において、前記通
信回線から分割された最後のプログラムとして、前記通
信回線との通信を制御するためのプログラムを受信する
ファクシミリ装置において、前記通信回線から分割され
た最後のプログラムを受信できなかったならば、前記制
御部は、前記第1メモリに格納された書き換え前の前記
通信回線との通信を制御するためのプログラムにしたが
って、前記通信回線との通信を制御して前記第1メモリ
に格納されたプログラムを書き換える処理を実行する構
成を採る。
A facsimile apparatus according to a sixth aspect of the present invention, in any one of the second to fourth aspects, for controlling communication with the communication line as the last program divided from the communication line. In the facsimile apparatus receiving the program, if the last divided program from the communication line cannot be received, the control unit performs communication with the communication line before rewriting stored in the first memory. According to a control program, the communication with the communication line is controlled to execute a process of rewriting a program stored in the first memory.

【0021】この構成によれば、通信回線から分割され
た最後のプログラムを受信できなかった場合、第1メモ
リに格納された書き換え前の通信回線との通信を制御す
るためのプログラムにしたがって、通信回線との通信を
制御して第1メモリに格納されたプログラムが書き換え
られる。このため、通信制御プログラムが通信を制御す
る場合に用いるパラメータを取得することができない場
合に発生し得る、通信を制御できないという事態を回避
することができる。この結果、通信制御プログラムが通
信を制御することができないという事態が防止されるの
で、引き続きプログラムの書き換えを行うことができ
る。
According to this configuration, when the last program divided from the communication line cannot be received, the communication is performed according to the program for controlling communication with the communication line before rewriting stored in the first memory. By controlling the communication with the line, the program stored in the first memory is rewritten. Therefore, it is possible to avoid a situation in which communication cannot be controlled, which may occur when the communication control program cannot acquire a parameter used for controlling communication. As a result, a situation in which the communication control program cannot control the communication is prevented, so that the program can be continuously rewritten.

【0022】本発明の第7の態様に係るファクシミリ装
置は、第5又は第6の態様において、前記制御部は、前
記第1メモリに格納されたプログラムを書き換える処理
を実行する際、前記分割されたプログラムを前記第1メ
モリに格納する度に前記分割されたプログラムの各部分
の書き換え完了を示すフラグを前記第1メモリに立てる
一方、前記分割された全てのプログラムを受信したか判
断する際、前記フラグの有無を判断することにより前記
分割された全てのプログラムを受信したか判断する構成
を採る。
A facsimile apparatus according to a seventh aspect of the present invention is the facsimile apparatus according to the fifth or sixth aspect, wherein the control unit executes the processing for rewriting a program stored in the first memory. While setting a flag indicating completion of rewriting of each part of the divided program in the first memory each time the divided program is stored in the first memory, while determining whether all the divided programs have been received, A configuration is employed in which it is determined whether all of the divided programs have been received by determining the presence or absence of the flag.

【0023】この構成によれば、第1メモリに格納され
たプログラムを書き換える処理を実行する際、分割され
たプログラムの各部分の書き換え完了を示すフラグの有
無を判断することによって、分割された全てのプログラ
ムを受信したか判断することができるので、制御部が誤
った処理を選択するのを防止することができる。
According to this configuration, when the process of rewriting the program stored in the first memory is executed, the presence or absence of a flag indicating completion of rewriting of each portion of the divided program is determined, so that all of the divided programs are determined. It can be determined whether or not the program has been received, so that the control unit can be prevented from selecting an erroneous process.

【0024】本発明の第8の態様に係るファクシミリ装
置のプログラム書換方法は、通信回線から分割されたプ
ログラムを順次受信する一方、当該分割されたプログラ
ムを受信する都度、装置本体を制御しているプログラム
を受信した当該分割されたプログラムに書き換えるよう
にした。
In a method for rewriting a program in a facsimile apparatus according to an eighth aspect of the present invention, while receiving divided programs sequentially from a communication line, the apparatus main body is controlled each time the divided programs are received. The program is rewritten to the received divided program.

【0025】この方法によれば、装置本体を制御してい
るプログラムを書き換えるための新しいプログラムを分
割し、この分割されたプログラムを受信する都度、装置
本体を制御しているプログラムを書き換える。このた
め、この分割された新しいプログラムを一時的に格納す
るメモリの記憶容量を大きくすることなく、装置本体を
制御しているプログラムを新しいプログラムに書き換え
ることができる。
According to this method, a new program for rewriting the program controlling the apparatus body is divided, and each time the divided program is received, the program controlling the apparatus body is rewritten. For this reason, the program controlling the apparatus main body can be rewritten to a new program without increasing the storage capacity of the memory for temporarily storing the divided new program.

【0026】本発明の第9の態様に係るファクシミリ装
置のプログラム書換方法は、通信回線から分割されたプ
ログラムを受信し、当該分割されたプログラムを第2メ
モリに一時的に格納する一方、第1メモリに格納された
装置本体を制御するプログラムを書き換えるためのプロ
グラム及び前記通信回線との通信を制御するためのプロ
グラムを前記第1メモリに格納されたプログラムから第
3メモリにコピーして格納し、当該第3メモリに格納さ
れたプログラムにしたがって、前記第1メモリに格納さ
れたプログラムを前記第2メモリに格納された、前記分
割されたプログラムに書き換えるようにした。
A program rewriting method for a facsimile apparatus according to a ninth aspect of the present invention receives a divided program from a communication line, temporarily stores the divided program in a second memory, and stores the divided program in a first memory. A program for rewriting a program for controlling the device main body stored in the memory and a program for controlling communication with the communication line are copied from the program stored in the first memory to a third memory, and stored. According to the program stored in the third memory, the program stored in the first memory is rewritten to the divided program stored in the second memory.

【0027】この方法によれば、第1メモリに格納され
たプログラムを書き換えるための新しいプログラムが分
割されて一時的に第2メモリに格納されるので、第2メ
モリに格納されるデータ容量を縮小することができる。
したがって、第2メモリに記憶容量を大きくすることな
く、第1メモリに格納されたプログラムを新しいプログ
ラムに書き換えることができる。
According to this method, a new program for rewriting the program stored in the first memory is divided and temporarily stored in the second memory, so that the amount of data stored in the second memory is reduced. can do.
Therefore, the program stored in the first memory can be rewritten with a new program without increasing the storage capacity of the second memory.

【0028】また、第3メモリに第1メモリに格納され
たプログラムを書き換えるためのプログラムのみなら
ず、通信回線との通信を制御するプログラムが格納され
ているので、通信不良等によって、分割されたプログラ
ムを全て受信することができなかったとしても、プログ
ラムの書き換えが途中で停止するのを防止することがで
きる。
In addition, since the third memory stores not only a program for rewriting the program stored in the first memory but also a program for controlling communication with a communication line, the third memory is divided due to poor communication or the like. Even if all the programs cannot be received, it is possible to prevent the rewriting of the program from being stopped halfway.

【0029】さらに、第1メモリに格納されたプログラ
ムを書き換えるためのプログラム及び通信回線との通信
を制御するプログラムが装置本体を制御するプログラム
からコピーされるので、別途これらのプログラムを格納
する記憶媒体を設ける必要がなくなる。
Further, since a program for rewriting the program stored in the first memory and a program for controlling communication with a communication line are copied from a program for controlling the apparatus main body, a storage medium for storing these programs separately There is no need to provide

【0030】本発明の第10の態様に係るファクシミリ
装置のプログラム書換方法は、第9の態様において、通
信回線から分割された最初のプログラムとして、第1メ
モリに格納されたプログラムを書き換えるためのプログ
ラム及び前記通信回線との通信を制御するためのプログ
ラムを受信し、前記通信回線から分割された全てのプロ
グラムを受信できなかったならば、前記分割された最初
のプログラムにしたがって、前記第1メモリに格納され
たプログラムを書き換えるようにした。
A program rewriting method for a facsimile apparatus according to a tenth aspect of the present invention is the program for rewriting a program stored in the first memory as the first program divided from the communication line according to the ninth aspect. And receiving a program for controlling communication with the communication line, if not all the programs divided from the communication line can be received, according to the first program divided, the first memory The stored program was rewritten.

【0031】この方法によれば、通信回線から分割され
た全てのプログラムを受信できない場合、分割された最
初のプログラムにしたがって、第1メモリに格納された
プログラムを書き換えることができるので、通信不良等
によって、分割されたプログラムを全て受信することが
できなかったとしても、プログラムの書き換えが途中で
停止するのを防止することができる。
According to this method, if all the divided programs cannot be received from the communication line, the program stored in the first memory can be rewritten according to the first divided program. Thus, even if all of the divided programs cannot be received, it is possible to prevent the rewriting of the program from being stopped halfway.

【0032】また、分割された最初のプログラムに通信
回線との通信を制御するプログラムが含まれる。したが
って、第3メモリに格納するプログラムから通信回線と
の通信を制御するプログラムを除くことができるので、
第3メモリの記憶容量を小さくすることができる。この
ため、第3メモリにかかるコストを下げることができ、
ひいては、装置の低価格化を図ることができる。
Further, the first divided program includes a program for controlling communication with a communication line. Therefore, the program for controlling communication with the communication line can be excluded from the program stored in the third memory.
The storage capacity of the third memory can be reduced. Therefore, the cost for the third memory can be reduced,
As a result, the cost of the device can be reduced.

【0033】本発明の第11の態様に係るファクシミリ
装置のプログラム書換方法は、第9の態様において、前
記通信回線から分割された最後のプログラムとして、前
記通信回線との通信を制御するためのプログラムを受信
するファクシミリ装置において、前記通信回線から分割
された最後のプログラムを受信できなかったならば、前
記第1メモリに格納された書き換え前の前記通信回線と
の通信を制御するためのプログラムにしたがって、前記
通信回線との通信を制御して前記第1メモリに格納され
たプログラムを書き換えるようにした。
A program rewriting method for a facsimile apparatus according to an eleventh aspect of the present invention is the program for controlling communication with the communication line as the last program divided from the communication line in the ninth aspect. If the last program divided from the communication line cannot be received by the facsimile apparatus that receives the program, the facsimile apparatus according to the program for controlling communication with the communication line before rewriting stored in the first memory. And controlling the communication with the communication line to rewrite the program stored in the first memory.

【0034】この方法によれば、通信回線から分割され
た最後のプログラムを受信できなかった場合、第1メモ
リに格納された書き換え前の通信回線との通信を制御す
るためのプログラムにしたがって、通信回線との通信を
制御して第1メモリに格納されたプログラムが書き換え
られる。このため、通信制御プログラムが通信を制御す
る場合に用いるパラメータを取得することができない場
合に発生し得る、通信を制御できないという事態を回避
することができる。この結果、通信制御プログラムが通
信を制御することができないという事態が防止されるの
で、引き続きプログラムの書き換えを行うことができ
る。
According to this method, if the last divided program cannot be received from the communication line, the communication is performed according to the program for controlling communication with the communication line before rewriting stored in the first memory. By controlling the communication with the line, the program stored in the first memory is rewritten. Therefore, it is possible to avoid a situation in which communication cannot be controlled, which may occur when the communication control program cannot acquire a parameter used for controlling communication. As a result, a situation in which the communication control program cannot control the communication is prevented, so that the program can be continuously rewritten.

【0035】本発明の第12の態様に係るファクシミリ
装置のプログラム書換方法は、第10又は第11の態様
において、前記第1メモリに格納されたプログラムを書
き換える際、前記分割されたプログラムを前記第1メモ
リに格納する度に前記分割されたプログラムの各部分の
書き換え完了を示すフラグを前記第1メモリに立て、分
割された全てのプログラムを受信したか判断する際、前
記フラグの有無を判断することにより前記分割された全
てのプログラムを受信したか判断するようにした。
According to a twelfth aspect of the present invention, in the method for rewriting a program of a facsimile apparatus according to the tenth or eleventh aspect, when rewriting a program stored in the first memory, the divided program is written in the first memory. Each time the data is stored in one memory, a flag indicating completion of rewriting of each part of the divided program is set in the first memory, and when it is determined whether all the divided programs have been received, the presence or absence of the flag is determined. Thus, it is determined whether all the divided programs have been received.

【0036】この方法によれば、フラグの有無を判断す
ることによって、分割された全てのプログラムを受信し
たか判断することができるので、誤った処理が選択さ
れ、実行されるのを防止することができる。
According to this method, it is possible to determine whether all the divided programs have been received by determining the presence or absence of the flag. Therefore, it is possible to prevent an erroneous process from being selected and executed. Can be.

【0037】(実施の形態1)以下、本発明の実施の形
態1について図面を参照して詳細に説明する。
(Embodiment 1) Hereinafter, Embodiment 1 of the present invention will be described in detail with reference to the drawings.

【0038】図1は、本発明の実施の形態1に係るファ
クシミリ装置の概略構成を示すブロック図である。本発
明の実施の形態1に係るファクシミリ装置100は、制
御バス101を備え、この制御バス101により各構成
部分とデータを通信する。すなわち、制御バス101に
は、CPU102、F−ROM103、F−ROM10
4及びSRAM105が接続されている。
FIG. 1 is a block diagram showing a schematic configuration of a facsimile apparatus according to Embodiment 1 of the present invention. The facsimile apparatus 100 according to the first embodiment of the present invention includes a control bus 101, and the control bus 101 communicates data with each component. That is, the control bus 101 includes the CPU 102, the F-ROM 103, the F-ROM 10
4 and the SRAM 105 are connected.

【0039】CPU102は、プログラムや後述する操
作パネルから入力されるコマンド等に基づいて、ファク
シミリ装置100の全体を制御する。F−ROM103
には、CPU102が実行するプログラムが格納され、
書き換え可能な構成になっている。F−ROM104
は、後述するスキャナで読み取ったイメージデータや電
話回線網を介して受信したイメージデータを格納する。
また、F−ROM104には、F−ROM103に格納
されたプログラムを書き換える場合に、電話回線を通じ
て受信した新しいプログラムを一時的に格納される。S
RAM105には、F−ROM103に格納されたプロ
グラムを書き換える場合に、書き換えプログラムが一時
的に書き込まれる。これにより、ファクシミリ装置10
0の機能が停止するのが防止される。
The CPU 102 controls the entire facsimile apparatus 100 based on a program, commands input from an operation panel described later, and the like. F-ROM103
Stores a program to be executed by the CPU 102.
It has a rewritable configuration. F-ROM104
Stores image data read by a scanner described later or image data received via a telephone line network.
Further, when rewriting a program stored in the F-ROM 103, a new program received via a telephone line is temporarily stored in the F-ROM 104. S
When rewriting the program stored in the F-ROM 103, the rewriting program is temporarily written into the RAM 105. Thereby, the facsimile machine 10
0 is prevented from stopping.

【0040】また、制御バス101には、操作パネルI
/F106、パラレルI/F107、モデム108及び
スキャナI/F109が接続されている。操作パネルI
/F106は、後述する操作パネルとの間でコマンド、
ステータス等の通信を行う。パラレルI/F107は、
PC等とのデータの送受を行う。モデム108は、後述
する電話回線網を介して、ファクシミリ通信やインター
ネット通信を行う。スキャナI/F109は、スキャナ
110から読み取ったイメ−ジデータを受け取る。
The control bus 101 includes an operation panel I
/ F 106, parallel I / F 107, modem 108, and scanner I / F 109 are connected. Operation Panel I
/ F106 is a command for an operation panel to be described later,
Communication of status etc. is performed. The parallel I / F 107 is
It sends and receives data to and from a PC or the like. The modem 108 performs facsimile communication and Internet communication via a telephone network described later. The scanner I / F 109 receives the image data read from the scanner 110.

【0041】操作パネルI/F106には、操作パネル
111が接続されている。ユーザは、この操作パネル1
11からモード指示や書き換え指示等を入力する。操作
パネル111は、CPU102の制御に基いて、所定の
情報を表示可能な表示部を有している。
An operation panel 111 is connected to the operation panel I / F 106. The user operates the operation panel 1
A mode instruction, a rewriting instruction, and the like are input from 11. The operation panel 111 has a display unit that can display predetermined information based on the control of the CPU 102.

【0042】パラレルI/F107には、PC112が
接続されている。このパラレルI/F107を介して、
PC112は、ファクシミリ装置100とデータ通信を
行うことができる。PC112は、LANやインターネ
ット等のネットワーク113に接続されている。これに
より、PC112は、遠隔地等に設置されたPC114
とデータ通信を行うことが可能となっている。
The PC 112 is connected to the parallel I / F 107. Through this parallel I / F 107,
The PC 112 can perform data communication with the facsimile machine 100. The PC 112 is connected to a network 113 such as a LAN or the Internet. Thereby, the PC 112 is connected to the PC 114 installed in a remote place or the like.
It is possible to perform data communication with the server.

【0043】モデム108は、ファクシミリ装置100
がG3通信や、インターネット通信を行うための電話回
線網115に接続されている。これにより、ファクシミ
リ装置100は、遠隔地等に設置されたFAX116と
ファクシミリ通信やインターネット通信を行うことが可
能となっている。
The modem 108 is connected to the facsimile machine 100
Are connected to a telephone network 115 for performing G3 communication and Internet communication. As a result, the facsimile apparatus 100 can perform facsimile communication and Internet communication with the facsimile 116 installed at a remote place or the like.

【0044】本実施の形態のファクシミリ装置100
は、以上のような構成を備えており、これらの構成部分
を制御することにより、新しいプログラムを一時的に格
納するF−ROM104の記憶容量を大きくすることな
く、F−ROM103に格納されたプログラム(以下、
「プログラムA」という)を、電話回線網を介して受信
した新しいプログラム(以下、「プログラムB」とい
う)に書き換えることができる。
Facsimile apparatus 100 of the present embodiment
Has a configuration as described above. By controlling these components, the program stored in the F-ROM 103 can be temporarily stored in the F-ROM 103 without increasing the storage capacity of the F-ROM 104. (Less than,
"Program A") can be rewritten to a new program (hereinafter, referred to as "Program B") received via the telephone line network.

【0045】すなわち、本ファクシミリ装置100は、
プログラムBデータの通信を行う前に、送信機側のファ
クシミリ装置(以下、「送信機」という)に送信する命
令信号によって、プログラムBデータを分割して送信す
る旨を送信機に通知する。送信機がこの通知に対応可能
な場合、送信機からプログラムBデータが分割して送信
されてくるので、本ファクシミリ装置100は、この分
割されたプログラムBデータを順次受信して、F−RO
M104に一時的に格納する。そして、その分割された
プログラムBデータをF−ROM103に書き換えてい
く。これにより、F−ROM104に格納される、プロ
グラムBデータの容量が小さくなるため、F−ROM1
04の記憶容量を大きくすることなく、F−ROM10
3に格納されたプログラムを、新しいプログラムに書き
換えることができる。
That is, the facsimile apparatus 100
Prior to the communication of the program B data, the transmitter is notified that the program B data is to be divided and transmitted by a command signal transmitted to a facsimile apparatus (hereinafter, referred to as a “transmitter”) on the transmitter side. When the transmitter can respond to this notification, the program B data is divided and transmitted from the transmitter. Therefore, the facsimile apparatus 100 sequentially receives the divided program B data and sends the F-RO
It is temporarily stored in M104. Then, the divided program B data is rewritten to the F-ROM 103. As a result, the capacity of the program B data stored in the F-ROM 104 is reduced.
04 without increasing the storage capacity of the F-ROM 10
3 can be rewritten with a new program.

【0046】次に、プログラムの書き換えを行う場合に
おける、送信機と本ファクシミリ装置100との間の信
号又はデータのやりとりについて、図2に示すシーケン
ス図を用いて説明する。図2において、本ファクシミリ
装置100は、電話回線網を介してプログラムを受信す
る受信機側のファクシミリ装置である。
Next, the exchange of signals or data between the transmitter and the facsimile apparatus 100 when the program is rewritten will be described with reference to the sequence diagram shown in FIG. In FIG. 2, a facsimile apparatus 100 is a facsimile apparatus on the receiver side that receives a program via a telephone network.

【0047】本ファクシミリ装置100のF−ROM1
03に格納されたプログラムの書き換えを行う場合、図
2に示すように、送信機から出力された発呼信号が、電
話回線網115を介して、交換局により呼出し信号に変
換されて、本ファクシミリ装置100に出力される。
F-ROM 1 of facsimile apparatus 100
When rewriting the program stored in the facsimile machine 03, as shown in FIG. 2, the call signal output from the transmitter is converted into a call signal by the exchange via the telephone line network 115, and this facsimile is transmitted. Output to the device 100.

【0048】この呼出し信号を受け取ると、本ファクシ
ミリ装置100は、能力信号として、本ファクシミリ装
置100の標準機能を示すDIS信号、本ファクシミリ
装置100を識別するためのCSI信号及び本ファクシ
ミリ装置100の非標準機能を示すNSF信号を送信機
に送信する。
Upon receiving the calling signal, the facsimile apparatus 100 receives the DIS signal indicating the standard function of the facsimile apparatus 100, the CSI signal for identifying the facsimile apparatus 100, and the non- An NSF signal indicating a standard function is transmitted to the transmitter.

【0049】この能力信号を受信すると、送信機は、送
信機を識別するためのTSI信号及びNSF信号に対す
る応答信号として、送信命令を指示するNSS信号を受
信機に送信する。
When receiving the capability signal, the transmitter transmits an NSS signal indicating a transmission command to the receiver as a response signal to the TSI signal and the NSF signal for identifying the transmitter.

【0050】ここで、受信機である本ファクシミリ装置
100の非標準機能を示すNSF信号及び送信機がその
NSF信号に対する応答信号として送信するNSS信号
について、図3及び図4を用いて説明する。図3(a)
は、本ファクシミリ装置100が送信するNSF信号の
フレーム構成を示した図であり、図4(a)は、送信機
が送信するNSS信号のフレーム構成を示した図であ
る。
Here, an NSF signal indicating a non-standard function of the facsimile apparatus 100 as a receiver and an NSS signal transmitted by the transmitter as a response signal to the NSF signal will be described with reference to FIGS. FIG. 3 (a)
FIG. 4 is a diagram illustrating a frame configuration of an NSF signal transmitted by the facsimile apparatus 100, and FIG. 4A is a diagram illustrating a frame configuration of an NSS signal transmitted by the transmitter.

【0051】図3(a)、図4(a)に示すように、N
SF信号及びNSS信号のフレームは、フレームの開
始、終了を示し、フレーム同期を確立するために用いら
れるフラグフィールドと、アドレス情報を伝送するため
に用いられるアドレスフィールドと、フレームの機能を
識別するために用いられる制御フィールドと、を有して
いる。
As shown in FIGS. 3A and 4A, N
The frames of the SF signal and the NSS signal indicate the start and end of the frame, and are used for identifying a flag field used for establishing frame synchronization, an address field used for transmitting address information, and a function of the frame. And a control field used for

【0052】また、NSF信号及びNSS信号のフレー
ムは、制御信号の機能を識別するためのファクシミリ制
御フィールドを有している。このファクシミリ制御フィ
ールドにおいて、それぞれNSF信号、NSS信号とし
て識別可能な情報が配置されている。
The frames of the NSF signal and the NSS signal have a facsimile control field for identifying the function of the control signal. In this facsimile control field, information that can be identified as an NSF signal and an NSS signal, respectively, is arranged.

【0053】さらに、NSF信号及びNSS信号のフレ
ームは、送信機、受信機(本ファクシミリ装置100)
それぞれのファクシミリ装置が有する機能情報等を伝送
するファクシミリ通信情報フィールドを有している。こ
のファクシミリ通信情報フィールドの所定アドレスにお
いて、NSF信号のフレームには、プログラム転送受信
機能情報が配置され、NSS信号のフレームには、プロ
グラム転送送信機能情報が配置されている。
Further, the frames of the NSF signal and the NSS signal are transmitted by the transmitter and the receiver (the facsimile apparatus 100).
It has a facsimile communication information field for transmitting function information and the like of each facsimile device. At a predetermined address in the facsimile communication information field, program transfer reception function information is arranged in the NSF signal frame, and program transfer transmission function information is arranged in the NSS signal frame.

【0054】図3(b)、図4(b)は、それぞれプロ
グラム転送受信機能情報、プログラム転送送信機能情報
の詳細を示した図である。図3(b)、図4(b)に示
すように、プログラム転送受信機能情報及びプログラム
転送送信機能情報には、共に8ビットが割り当てられて
いる。
FIGS. 3B and 4B are diagrams showing details of the program transfer reception function information and the program transfer transmission function information, respectively. As shown in FIGS. 3B and 4B, 8 bits are allocated to both the program transfer reception function information and the program transfer transmission function information.

【0055】プログラム転送受信機能情報において、プ
ログラム受信機能の有無を示すビットが割り当てられて
いる。図3(b)においては、第8ビット(MSB:M
ost Significant Bit)に割り当てら
れているが、これに限定されず、いずれのビットを割り
当てても良い。このビットを「1」にすることにより、
本ファクシミリ装置100がプログラムデータの受信機
能を有することを示し、このビットを「0」にすること
により、本ファクシミリ装置100がプログラムデータ
の受信機能を有しないことを示すようになっている。ま
た、このプログラム転送受信機能情報の最初のビットを
「1」にすることによって、通常のファクシミリデータ
の代わりにプログラムデータを受信可能であることを示
すと共に、送信機にプログラムデータを分割送信するこ
とを通知することになる。
In the program transfer reception function information, a bit indicating the presence or absence of the program reception function is assigned. In FIG. 3B, the eighth bit (MSB: M
ost Significant Bit), but is not limited to this, and any bit may be assigned. By setting this bit to “1”,
This indicates that the facsimile apparatus 100 has a function of receiving program data, and setting this bit to “0” indicates that the facsimile apparatus 100 has no function of receiving program data. By setting the first bit of the program transfer reception function information to "1", it is indicated that program data can be received instead of normal facsimile data, and the program data is transmitted to the transmitter in a divided manner. Will be notified.

【0056】プログラム転送送信機能情報において、プ
ログラムデータを送信するか否かを決定するビットが割
り当てられている。図4(b)においては、第8ビット
(MSB)に割り当てられているが、これに限定され
ず、いずれのビットを割り当てても良い。このビットが
「1」にされた場合にプログラムが送信され、このビッ
トが「0」にされた場合にプログラムデータが送信され
ないようになっている。
In the program transfer transmission function information, a bit for determining whether or not to transmit program data is assigned. In FIG. 4B, the bit is assigned to the eighth bit (MSB), but is not limited to this, and any bit may be assigned. When this bit is set to "1", a program is transmitted, and when this bit is set to "0", program data is not transmitted.

【0057】また、図4(b)においては、第6ビット
及び第7ビットに、プログラムデータを分割して送信す
る場合の送信回数を決定するビットが割り当てられてい
る。すなわち、プログラムデータの送信回数は、第6ビ
ット、第7ビットがそれぞれ「0」、「0」にされた場
合に1回で送信され、「1」、「0」にされた場合に2
回で送信され、「0」、「1」にされた場合に3回で送
信され、「1」、「1」にされた場合に4回で送信され
る。プログラムデータの送信回数は、送信機が本ファク
シミリ装置100のF−ROM104の記憶容量を予め
認識し、その記憶容量に基いて決定されるようになって
いる。本実施の形態では、プログラムデータを2回に分
割して送信する場合について説明する。
In FIG. 4B, a bit for determining the number of transmissions when program data is divided and transmitted is assigned to the sixth bit and the seventh bit. That is, the number of transmissions of the program data is one when the sixth bit and the seventh bit are set to “0” and “0”, respectively, and two when the bit is “1” and “0”.
It is transmitted three times when it is set to "0" and "1", and is transmitted four times when it is set to "1" and "1". The number of transmissions of the program data is determined based on the storage capacity of the F-ROM 104 of the facsimile apparatus 100, which is recognized in advance by the transmitter, and based on the storage capacity. In the present embodiment, a case will be described where the program data is divided into two and transmitted.

【0058】なお、本実施の形態では、送信回数を示す
ビットに2ビットを割り当てて、1〜4回の送信回数を
設定する場合のについて説明しているが、これに限定さ
れず、送信回数を示すビットに3ビット以上のビットを
割り当てることにより、4回以上の送信回数を設定する
ようにしてもよい。
In this embodiment, a case is described in which two bits are assigned to bits indicating the number of transmissions and the number of transmissions is set to one to four. However, the present invention is not limited to this. By assigning three or more bits to the bit indicating, the number of transmissions four or more times may be set.

【0059】そして、このような命令信号を受信する
と、本ファクシミリ装置100は、図2に示すように、
プログラムデータの送信開始を許可することを示すCF
R信号を送信機に送信する。
When such a command signal is received, the facsimile apparatus 100 receives the command signal as shown in FIG.
CF indicating permission to start transmission of program data
Transmit the R signal to the transmitter.

【0060】このCFR信号を受信すると、送信機は、
プログラムデータ(1/2)を本ファクシミリ装置10
0に送信する。そして、プログラムデータ(1/2)の
送信を終了すると、プログラムデータ(1/2)の送信
の終了を示し、さらに連送があることを示すMPS信号
(プログラムデータが分割して送信されない場合には、
EOM信号)を本ファクシミリ装置100に送信する。
Upon receiving this CFR signal, the transmitter:
The program data (1/2) is transferred to the facsimile machine 10
Send to 0. When the transmission of the program data (1/2) is completed, the transmission of the program data (1/2) is completed, and an MPS signal indicating that there is continuous transmission (when the program data is not divided and transmitted). Is
EOM signal) to the facsimile apparatus 100.

【0061】このMPS信号を受信すると、本ファクシ
ミリ装置100は、プログラムデータ(1/2)が正し
く受信されたことを示すMCF信号を送信機に送信す
る。
Upon receiving this MPS signal, facsimile apparatus 100 transmits to the transmitter an MCF signal indicating that program data (1/2) has been correctly received.

【0062】このMCF信号を受信すると、送信機は、
プログラムデータ(2/2)を本ファクシミリ装置10
0に送信する。そして、プログラムデータ(2/2)の
送信を終了すると、プログラムデータ(2/2)の送信
の終了を示し、連送がないことを示すEOP信号を本フ
ァクシミリ装置100に送信する。
Upon receiving this MCF signal, the transmitter:
The program data (2/2) is transferred to the facsimile machine 10
Send to 0. When the transmission of the program data (2/2) is completed, an EOP signal indicating the end of the transmission of the program data (2/2) and indicating that there is no continuous transmission is transmitted to the facsimile apparatus 100.

【0063】このEOP信号を受信すると、本ファクシ
ミリ装置100は、MPS信号を受信した場合と同様に
プログラムデータ(2/2)が正しく受信されたことを
示すMCF信号を送信機に送信する。
Upon receiving the EOP signal, the facsimile apparatus 100 transmits to the transmitter an MCF signal indicating that the program data (2/2) has been correctly received, as in the case of receiving the MPS signal.

【0064】そして、このMCF信号を受信した送信機
が、接続していた回線の切断命令を示すDCN信号を本
ファクシミリ装置100に送信することにより、回線が
切断されて、プログラムの書き換えを行う場合におけ
る、送信機と本ファクシミリ装置100との間の信号又
はデータのやりとりが終了する。
When the transmitter receiving the MCF signal transmits a DCN signal indicating a disconnection command of the connected line to the facsimile apparatus 100, the line is disconnected and the program is rewritten. , The exchange of signals or data between the transmitter and the facsimile apparatus 100 ends.

【0065】次に、プログラムの書き換えを行う場合に
おける本ファクシミリ装置100の動作について、図5
を用いて説明する。図5は、本ファクシミリ装置100
のプログラムを書き換える場合のフロー図である。
Next, the operation of the facsimile apparatus 100 when rewriting a program will be described with reference to FIG.
This will be described with reference to FIG. FIG. 5 shows the facsimile apparatus 100.
FIG. 6 is a flowchart in the case of rewriting the program of FIG.

【0066】プログラムの書き換えを行う前段階では、
本ファクシミリ装置100は、通常待機モードに設定さ
れている(ステップ(以下、「ST」という)50
1)。通常待機モードとは、通常の状態でファクシミリ
通信等を待機している場合をいう。
Before rewriting the program,
The facsimile apparatus 100 is set to the normal standby mode (step (hereinafter, referred to as “ST”) 50).
1). The normal standby mode refers to a case where a normal state is waiting for facsimile communication or the like.

【0067】この通常待機モードの状態で電話回線網1
15を介して着信があったならば(ST502)、本フ
ァクシミリ装置100は、応答信号として、上述のDI
S信号、CSI信号及びNSF信号を送信機に送信する
(ST503)。具体的には、CPU102が電話回線
網115を介してファクシミリ装置116(送信機)に
応答信号を送信する。
In the normal standby mode, the telephone network 1
15 (ST502), the facsimile apparatus 100 sends the above-described DI as a response signal.
The S signal, the CSI signal, and the NSF signal are transmitted to the transmitter (ST503). Specifically, the CPU 102 transmits a response signal to the facsimile apparatus 116 (transmitter) via the telephone network 115.

【0068】これらの応答信号を送信すると、CPU1
02は、送信機からNSF信号に対する命令信号とし
て、NSS信号を受信したかを判断する(ST50
4)。ここで、NSS信号を受信していないならば、C
PU102は、標準のファクシミリ通信モードを実行す
る(ST505)。
When these response signals are transmitted, the CPU 1
02 determines whether an NSS signal has been received from the transmitter as a command signal for the NSF signal (ST50).
4). Here, if the NSS signal is not received, C
PU 102 executes the standard facsimile communication mode (ST505).

【0069】送信機からNSS信号を受信したならば、
CPU102は、ST503で送信したNSF信号が示
す非標準機能が特殊通信要求であるか判断する(ST5
06)。ここで、NSF信号が示す非標準機能が特殊通
信要求でないならば、CPU102は、特殊通信要求以
外の非標準通信モードを実行する(ST507)。
When the NSS signal is received from the transmitter,
CPU 102 determines whether the non-standard function indicated by the NSF signal transmitted in ST503 is a special communication request (ST5).
06). Here, if the non-standard function indicated by the NSF signal is not a special communication request, CPU 102 executes a non-standard communication mode other than the special communication request (ST507).

【0070】NSF信号が示す非標準機能が特殊通信要
求であるならば、CPU102は、この特殊通信要求が
プログラムの書き換えであるか判断する(ST50
8)。ここで、特殊通信要求がプログラムの書き換えで
ないならば、CPU102は、プログラムの書き換え以
外の特殊通信モードを実行する(ST509)。プログ
ラムの書き換え以外の特殊通信モードは、例えば、リモ
ート診断や装置同士の機能転送等が該当する。
If the non-standard function indicated by the NSF signal is a special communication request, CPU 102 determines whether the special communication request is a program rewrite (ST50).
8). Here, if the special communication request is not a program rewrite, CPU 102 executes a special communication mode other than the program rewrite (ST509). The special communication mode other than the program rewriting corresponds to, for example, remote diagnosis and function transfer between devices.

【0071】特殊通信要求がプログラムの書き換えであ
るならば、CPU102は、プログラムデータの送信が
分割して行われるか判断する(ST510)。具体的に
は、CPU102は、NSS信号に含まれるプログラム
データの送信回数を識別することにより、プログラムデ
ータの送信が分割して行われるか判断する。
If the special communication request is for rewriting the program, CPU 102 determines whether the transmission of the program data is performed in a divided manner (ST510). Specifically, the CPU 102 determines whether the transmission of the program data is performed in a divided manner by identifying the number of transmissions of the program data included in the NSS signal.

【0072】プログラムデータの送信が分割して行われ
るならば、CPU102は、上述のNSS信号に含まれ
る送信回数NをSRAM105に書き込む(ST51
1)。そして、CPU102は、本ファクシミリ装置1
00に書き換えモードを設定し、電話回線網115を介
してCFR信号をファクシミリ装置116(送信機)に
送信する(ST512)。
If the transmission of the program data is performed in a divided manner, the CPU 102 writes the number of transmissions N included in the NSS signal into the SRAM 105 (ST51).
1). Then, the CPU 102 controls the facsimile machine 1
The rewriting mode is set to 00, and a CFR signal is transmitted to the facsimile apparatus 116 (transmitter) via the telephone network 115 (ST512).

【0073】なお、プログラムデータの送信が分割して
行われないならば(ST510)、CPU102は、本
ファクシミリ装置100に書き換えモードを設定し、電
話回線網115を介してCFR信号をファクシミリ装置
116(送信機)に送信する(ST512)。
If the transmission of the program data is not performed in a divided manner (ST510), CPU 102 sets a rewrite mode in facsimile apparatus 100, and transmits a CFR signal via facsimile apparatus 116 (facsimile apparatus 116). (ST512).

【0074】本実施の形態のファクシミリ装置100に
おいては、プログラムデータの送信が2分割して行われ
るため、ST510の判断において、プログラムデータ
の送信が分割して行われると判断され、ST511にお
いて、SRAM105に送信回数である「2」が書き込
まれる。そして、ST512において、本ファクシミリ
装置100が書き換えモードに設定された後、CFR信
号がファクシミリ装置116に送信される。
In the facsimile apparatus 100 of the present embodiment, the transmission of the program data is performed by dividing the program data into two parts. Therefore, in the determination of ST510, it is determined that the transmission of the program data is performed by dividing the data. "2", which is the number of times of transmission, is written in. Then, in ST512, after facsimile apparatus 100 is set to the rewrite mode, a CFR signal is transmitted to facsimile apparatus 116.

【0075】そして、CPU102は、電話回線網11
5からプログラムデータを受信したか判断する(ST5
13)。プログラムデータを受信したならば、その受信
したプログラムデータをF−ROM104に格納する
(ST514)。
Then, the CPU 102 sets the telephone line network 11
It is determined whether program data has been received from ST5 (ST5).
13). When the program data is received, the received program data is stored in F-ROM 104 (ST514).

【0076】本実施の形態のファクシミリ装置100に
おいては、2分割されたプログラムBデータ(以下、
「プログラムBデータ(1/2)」という)を受信した
ならば、その受信したプログラムBデータ(1/2)を
F−ROM104に格納する。
In the facsimile apparatus 100 according to the present embodiment, program B data (hereinafter, referred to as a “divided program B
When “program B data (1 /)” is received, the received program B data (1 /) is stored in the F-ROM 104.

【0077】なお、プログラムデータの送信が分割して
行われる場合、最初に送信機から送信されるプログラム
データ(本実施の形態では、プログラムBデータ(1/
2))には、少なくとも、通信を制御するプログラム
(以下、「通信制御プログラム」という)及びプログラ
ムの書き換えプログラム(後述するプログラムCと同一
のプログラム)が含まれており、必要に応じて、操作パ
ネル111を制御するプログラムが含まれる。
When the transmission of the program data is performed in a divided manner, the program data transmitted first from the transmitter (in the present embodiment, the program B data (1/1)
2)) includes at least a program for controlling communication (hereinafter, referred to as a “communication control program”) and a program rewriting program (the same program as a program C described later). A program for controlling panel 111 is included.

【0078】ST514において、受信したプログラム
データをF−ROM104に格納すると、CPU102
は、プログラムデータの受信が終了したか判断する(S
T515)。具体的には、CPU102は、モデム10
9からデータ出力が終了したか判断する。プログラムデ
ータの受信が終了しているならば、CPU102は、プ
ログラムデータを正常に受信終了したか判断する(ST
516)。プログラムデータを正常に受信終了していな
いならば、CPU102は、プログラムデータが再送可
能であるか判断する(ST517)。具体的には、CP
U102は、回線状況が悪くて通信ができない場合等を
判断する。プログラムデータの再送が可能であるなら
ば、処理をST513に戻し、再度ST513以降の処
理を行う。
In ST514, when the received program data is stored in F-ROM 104, CPU 102
Determines whether the reception of the program data has been completed (S
T515). Specifically, the CPU 102
It is determined from step 9 whether data output has been completed. If the reception of the program data has ended, the CPU 102 determines whether the reception of the program data has ended normally (ST
516). If the reception of the program data has not been completed normally, CPU 102 determines whether or not the program data can be retransmitted (ST517). Specifically, CP
U102 determines a case where communication is not possible due to poor line conditions. If retransmission of the program data is possible, the process returns to ST513, and the processes after ST513 are performed again.

【0079】本実施の形態のファクシミリ装置100に
おいては、ST513の判断において、プログラムBデ
ータ(1/2)を受信したか判断され、ST514にお
いて、プログラムBデータ(1/2)がFROM104
に格納された後、ST515の判断において、プログラ
ムBデータ(1/2)の受信が終了したか判断される。
In facsimile apparatus 100 of the present embodiment, it is determined in ST513 whether program B data (1/2) has been received. In ST514, program B data (1/2) is stored in FROM 104.
After that, in ST515, it is determined whether the reception of the program B data (1/2) has been completed.

【0080】ST516の判断において、プログラムデ
ータを正常に受信終了しているならば、CPU102
は、SRAM105にプログラムの書き換えプログラム
(以下、「プログラムC」という)が書き込まれている
か判断する(ST518)。このプログラムCは、プロ
グラムAの中に含まれるプログラムの書き換えプログラ
ムである。SRAM105にプログラムCが書き込まれ
ていないならば、CPU102は、プログラムAの中か
らプログラムCをSRAM105に書き込む(ST51
9)。そして、CPU102は、このプログラムCを実
行する(ST520)。このように、CPU102がS
RAM105に書き込んだプログラムCを実行すること
により、FROM103にCPU102がアクセスしな
くなるので、FROM103が書き換え可能になる。
If it is determined in ST516 that the reception of the program data has been completed normally,
Determines whether a program rewriting program (hereinafter, referred to as “program C”) is written in the SRAM 105 (ST518). The program C is a program for rewriting a program included in the program A. If the program C has not been written to the SRAM 105, the CPU 102 writes the program C from the program A to the SRAM 105 (ST51).
9). Then, CPU 102 executes this program C (ST520). Thus, the CPU 102
By executing the program C written in the RAM 105, the CPU 103 does not access the FROM 103, so that the FROM 103 can be rewritten.

【0081】なお、ST518の判断において、SRA
M105にプログラムCが書き込まれているならば(例
えば、プログラムデータの送信が分割して行われる場合
であって、2回目以降のプログラムデータを受信する場
合)、CPU102は、プログラムCを実行する(ST
520)。
Note that, in the determination of ST518, the SRA
If the program C is written in M105 (for example, when the transmission of the program data is divided and the second and subsequent program data are received), the CPU 102 executes the program C ( ST
520).

【0082】このプログラムCを実行すると、図6に示
すように、CPU102は、まず、F−ROM103の
書換完了情報F(1)〜F(n)をクリアしたか判断す
る(ST521)。書換完了情報F(1)〜F(n)と
は、プログラムデータをF−ROM103に格納すると
き(本ファクシミリ装置100の製造時を含む)に、n
分割されたプログラムデータのそれぞれの部分が格納し
終わったことを示す情報である。具体的には、書換完了
情報F(1)〜F(n)にフラグを立てることにより、
それぞれの部分において、プログラムの格納が終わった
ことを示している。
When the program C is executed, as shown in FIG. 6, the CPU 102 first determines whether or not the rewrite completion information F (1) to F (n) of the F-ROM 103 has been cleared (ST521). The rewrite completion information F (1) to F (n) are defined as n when the program data is stored in the F-ROM 103 (including when the facsimile apparatus 100 is manufactured).
This is information indicating that each part of the divided program data has been stored. Specifically, by setting flags in the rewrite completion information F (1) to F (n),
Each part indicates that the program has been stored.

【0083】ST521の判断において、書換完了情報
F(1)〜F(n)をクリアしていないならば、CPU
102は、書換完了情報F(1)〜F(n)をクリアす
る(ST522)。そして、CPU102は、受信した
プログラムデータをFROM104からFROM103
の所定位置に転送する(ST523)。このとき、FR
OM103の書換完了情報F(1)にフラグが立てられ
る。
If it is determined in ST521 that the rewrite completion information F (1) to F (n) has not been cleared, the CPU
102 clears the rewrite completion information F (1) to F (n) (ST522). Then, the CPU 102 transfers the received program data from the FROM 104 to the FROM 103
(ST523). At this time, FR
A flag is set in the rewrite completion information F (1) of the OM 103.

【0084】このように、分割されたプログラムデータ
を受信する場合、F−ROM103の書換完了情報をク
リアした後、分割されたプログラムデータを受信する度
に、対応する書換完了情報にフラグを立てていく。これ
により、分割されたプログラムデータがどこまで書き換
えられたかを認識することができる。
As described above, when receiving the divided program data, after clearing the rewrite completion information in the F-ROM 103, every time the divided program data is received, the corresponding rewrite completion information is flagged. Go. This makes it possible to recognize how much the divided program data has been rewritten.

【0085】本実施の形態のファクシミリ装置100に
おいては、ST521の判断において、書換完了情報F
(1)〜F(n)をクリアしていないと判断されるた
め、ST522において、書換完了情報F(1)〜F
(n)がクリアされる。そして、ST523において、
ST514でFROM104に格納したプログラムBデ
ータ(1/2)をFROM104からFROM103の
所定位置に転送する。
In facsimile apparatus 100 of the present embodiment, rewriting completion information F
Since it is determined that (1) to F (n) have not been cleared, in ST522, the rewrite completion information F (1) to F (n) is determined.
(N) is cleared. Then, in ST523,
In ST514, program B data (1/2) stored in FROM 104 is transferred from FROM 104 to a predetermined position in FROM 103.

【0086】なお、ST521の判断において、書換完
了情報F(1)〜F(n)をクリアしているならば(例
えば、プログラムデータの送信が分割して行われる場合
であって、2回目以降のプログラムデータを受信する場
合)、CPU102は、その直前に受信したプログラム
データをFROM104からFROM103の所定位置
に転送する(ST523)。
In the determination of ST521, if the rewrite completion information F (1) to F (n) is cleared (for example, when the transmission of the program data is performed in a divided manner, In this case, the CPU 102 transfers the program data received immediately before to the predetermined position of the FROM 103 from the FROM 104 (ST523).

【0087】F−ROM104に格納したプログラムデ
ータをF−ROM103の所定位置に転送すると、CP
U102は、プログラムデータの転送が終了したか判断
する(ST524)。プログラムデータの転送が終了し
ているならば、CPU102は、プログラムデータの送
信が分割して行われるか判断する(ST525)。
When the program data stored in the F-ROM 104 is transferred to a predetermined position in the F-ROM 103,
U102 determines whether the transfer of the program data has been completed (ST524). If the transfer of the program data has been completed, CPU 102 determines whether the transmission of the program data is performed in a divided manner (ST525).

【0088】プログラムデータの送信が分割して行われ
るならば、CPU102は、分割された全てのプログラ
ムデータの送信が終了しているか判断する(ST52
6)。全てのプログラムデータの送信が終了していない
ならば、CPU102は、処理をST513に戻し、再
度ST513以降の処理を行う。分割された全てのプロ
グラムデータの送信が終了しているならば、CPU10
2は、通信を終了する(ST527)。
If the transmission of the program data is performed in a divided manner, CPU 102 determines whether the transmission of all the divided program data has been completed (ST52).
6). If transmission of all program data has not been completed, CPU 102 returns the processing to ST513 and performs the processing after ST513 again. If the transmission of all the divided program data has been completed, the CPU 10
2 ends the communication (ST527).

【0089】なお、ST525の判断において、プログ
ラムデータの送信が分割して行われないならば、CPU
102は、通信を終了する(ST527)。
In the determination of ST525, if the transmission of the program data is not performed in a divided manner, the CPU
102 ends the communication (ST527).

【0090】本実施の形態のファクシミリ装置100に
おいては、プログラムBデータの送信が2分割して行わ
れるため、ST525の判断において、プログラムデー
タの送信が分割して行われると判断され、ST526の
判断において、分割された全てのプログラムBデータの
送信が終了していないと判断され、処理がST513に
戻される。そして、ST513において、プログラムB
データ(2/2)の受信が行われる。その後、ST51
4〜ST525の処理を経て、ST526の判断におい
て、CPU102は、プログラムBデータを全て受信し
たと判断し、通信を終了する(ST527)。
In facsimile apparatus 100 of the present embodiment, since the transmission of program B data is performed in two parts, it is determined in ST525 that transmission of program data is performed in a divided manner, and the determination in ST526 is performed. In, it is determined that transmission of all the divided program B data has not been completed, and the process returns to ST513. Then, in ST513, the program B
Data (2/2) is received. After that, ST51
After the processes of 4 to ST525, in the determination of ST526, the CPU 102 determines that all the program B data has been received, and ends the communication (ST527).

【0091】通信を終了すると、CPU102は、F−
ROM103に格納したプログラムを実行する(ST5
28)。そして、F−ROM103に格納したプログラ
ムにしたがって、CPU102は、F−ROM104に
格納されたプログラムデータをクリアする(ST52
9)。そして、SRAM105に書き込まれたプログラ
ムCをクリアする(ST530)。最後に、CPU10
2は、通常のファクシミシリ通信を行うためのイニシャ
ル処理を実行し(ST531)、本ファクシミリ装置1
00を通常待機モードに設定する(ST532)。
When the communication is completed, the CPU 102
The program stored in the ROM 103 is executed (ST5).
28). Then, according to the program stored in F-ROM 103, CPU 102 clears the program data stored in F-ROM 104 (ST52).
9). Then, the program C written in the SRAM 105 is cleared (ST530). Finally, the CPU 10
2 executes an initial process for performing normal facsimile communication (ST531), and the facsimile machine 1
00 is set to the normal standby mode (ST532).

【0092】本実施の形態のファクシミリ装置100に
おいては、通信を終了すると、CPU102は、ST5
28でプログラムBを実行し、ST529において、F
−ROM104に最後に格納されたプログラムBデータ
(2/2)をクリアする。そして、ST530におい
て、SRAM105に書き込まれたプログラムCをクリ
アした後、ST531において、通常のファクシミシリ
通信を行うためのイニシャル処理を実行され、ST53
2において、通常待機モードが設定される。
In the facsimile apparatus 100 of the present embodiment, when the communication ends, the CPU 102
28, the program B is executed.
-Clear the program B data (2/2) stored last in the ROM 104. After clearing the program C written in the SRAM 105 in ST530, in ST531, initial processing for performing normal facsimile communication is executed.
In 2, the normal standby mode is set.

【0093】このように、本実施の形態のファクシミリ
装置によれば、プログラムの書き換えを行う場合に、送
信機から新しいプログラムデータを分割して受信し、そ
の都度、受信したプログラムをF−ROM104に格納
する。そして、F−ROM104に格納したプログラム
をF−ROM103に書き換えていく。これにより、F
−ROM104に格納される、新しいプログラムの容量
が小さくなるため、F−ROM104の記憶容量を大き
くすることなく、F−ROM103に格納されたプログ
ラムを、新しいプログラムに書き換えることができる。
As described above, according to the facsimile apparatus of the present embodiment, when rewriting a program, new program data is divided and received from the transmitter, and the received program is stored in the F-ROM 104 each time. Store. Then, the program stored in the F-ROM 104 is rewritten to the F-ROM 103. Thereby, F
-Since the capacity of the new program stored in the ROM 104 is reduced, the program stored in the F-ROM 103 can be rewritten with a new program without increasing the storage capacity of the F-ROM 104.

【0094】また、上述のように、F−ROM104に
格納される、新しいプログラムの容量が小さくなるた
め、これに伴い、F−ROM104の記憶容量を小さく
することができる。これにより、F−ROM104にか
かるコストを下げることができ、ひいては、装置の低価
格化を図ることができる。
As described above, the capacity of the new program stored in the F-ROM 104 is reduced, and accordingly, the storage capacity of the F-ROM 104 can be reduced. As a result, the cost of the F-ROM 104 can be reduced, and the price of the device can be reduced.

【0095】一方、ST515の判断において、プログ
ラムデータの受信が終了していないならば、CPU10
2は、通信が正常か判断する(ST533)。通信が正
常であるならば、CPU102は、処理をST514に
戻し、再度ST514以降の処理を行う。通信が正常で
ないならば、CPU102は、通信を終了し(ST53
4)、操作パネル111の表示部にプログラムの書き換
えエラーである旨を表示する(ST535)。なお、S
T517の判断において、プログラムデータの再送が不
可能であると判断された場合にも、CPU102は、通
信を終了し(ST534)、操作パネル111の表示部
にプログラムの書き換えエラーである旨を表示する(S
T535)。
On the other hand, if it is determined in ST515 that the reception of the program data has not been completed,
2 judges whether the communication is normal (ST533). If the communication is normal, the CPU 102 returns the processing to ST514 and performs the processing after ST514 again. If the communication is not normal, the CPU 102 ends the communication (ST53).
4) A message indicating a program rewrite error is displayed on the display unit of operation panel 111 (ST535). Note that S
Even if it is determined in T517 that retransmission of the program data is not possible, the CPU 102 terminates the communication (ST534) and displays a program rewriting error on the display unit of the operation panel 111. (S
T535).

【0096】操作パネル111の表示部にプログラムの
書き換えエラーである旨を表示すると、図7に示すよう
に、CPU102は、分割されたプログラムデータのう
ち、最初のプログラムデータ(プログラムデータの送信
が分割されない場合にはプログラムデータ全体)の受信
を既に完了しているか判断する(ST536)。最初の
プログラムデータの受信を完了していないならば、CP
U102は、処理をST529に移行し、F−ROM1
04及びSRAM105の中のプログラムをクリアし
(ST529・ST530)、通常のファクシミシリ通
信を行うためのイニシャル処理を実行した後(ST53
1)、本ファクシミリ装置100を通常待機モードに設
定する(ST532)。
When the display of the operation panel 111 indicates that a program rewrite error has occurred, as shown in FIG. 7, the CPU 102 selects the first one of the divided program data (the transmission of the program data is divided). If not, it is determined whether reception of the entire program data) has already been completed (ST536). If the first program data has not been received, CP
U102 shifts the processing to ST529 and stores the F-ROM1
04 and the program in the SRAM 105 are cleared (ST529 and ST530), and initial processing for performing normal facsimile communication is executed (ST53).
1) The facsimile apparatus 100 is set to the normal standby mode (ST532).

【0097】ST536の判断において、分割された最
初のプログラムデータの受信を既に完了しているなら
ば、CPU102は、F−ROM103に格納されたプ
ログラムを実行する(ST537)。
If it is determined in ST536 that the reception of the first divided program data has already been completed, CPU 102 executes the program stored in F-ROM 103 (ST537).

【0098】ST537において、F−ROM103に
格納されたプログラムを実行すると、CPU102は、
F−ROM103の書換完了情報F(2)〜F(n)を
判定することにより、分割された全てのプログラムデー
タの受信を完了しているか判断する(ST538)。
In ST537, when the program stored in F-ROM 103 is executed, CPU 102
By determining the rewrite completion information F (2) to F (n) in the F-ROM 103, it is determined whether reception of all the divided program data has been completed (ST538).

【0099】分割された全てのプログラムデータの受信
を完了しているならば、CPU102は、F−ROM1
03に格納されたプログラムを実行する(ST53
9)。そして、CPU102は、処理をST529に移
行し、F−ROM104及びSRAM105の中のプロ
グラムをクリアし(ST529・ST530)、通常の
ファクシミシリ通信を行うためのイニシャル処理を実行
した後(ST531)、本ファクシミリ装置100を通
常待機モードに設定する(ST532)。
If the reception of all the divided program data has been completed, the CPU 102 sets the F-ROM 1
03 (ST53)
9). Then, the CPU 102 shifts the processing to ST 529, clears the programs in the F-ROM 104 and the SRAM 105 (ST 529 and ST 530), and executes initial processing for performing normal facsimile communication (ST 531). The facsimile machine 100 is set to the normal standby mode (ST532).

【0100】ST538の判断において、分割された全
てのプログラムデータの受信を完了していないならば、
CPU102は、F−ROM103に格納されたプログ
ラムデータのうち、分割された最初のプログラムのみ実
行する(ST540)。すなわち、CPU102は、実
行するプログラムを、SRAM105に書き込まれたプ
ログラムCからF−ROM103に格納された、分割さ
れた最初のプログラムに移す。
If it is determined in ST538 that the reception of all the divided program data has not been completed,
CPU 102 executes only the first divided program among the program data stored in F-ROM 103 (ST540). That is, the CPU 102 transfers the program to be executed from the program C written in the SRAM 105 to the first divided program stored in the F-ROM 103.

【0101】本実施の形態のファクシミリ装置100に
おいては、例えば、送信機からプログラムBデータ(1
/2)のみを受信した後、通信不良等によってプログラ
ムBデータ(2/2)を受信できない場合に、ST53
5において、操作パネル111の表示部にエラー表示が
行われ、ST536の処理に移行する。
In the facsimile apparatus 100 of the present embodiment, for example, program B data (1
/ 2), if the program B data (2/2) cannot be received due to communication failure or the like, ST53
In 5, an error message is displayed on the display section of the operation panel 111, and the process shifts to ST536.

【0102】そして、ST536において、プログラム
Bデータ(1/2)の受信が完了しているか判断され、
ST537において、F−ROM103に格納されたプ
ログラムBが実行される。そして、ST538におい
て、F−ROM103の書換完了情報F(2)を判定す
ることにより、全てのプログラムBデータが受信された
か判断される。このとき、全てのプログラムBデータが
受信されていないため、CPU102は、実行するプロ
グラムをSRAM105に書き込まれたプログラムCか
らF−ROM103に格納された、プログラムBデータ
(1/2)に移す。
Then, in ST536, it is determined whether the reception of program B data (1/2) has been completed or not.
In ST537, the program B stored in the F-ROM 103 is executed. Then, in ST538, by determining the rewrite completion information F (2) of the F-ROM 103, it is determined whether all the program B data has been received. At this time, since all the program B data has not been received, the CPU 102 transfers the program to be executed from the program C written in the SRAM 105 to the program B data (1/2) stored in the F-ROM 103.

【0103】ST540において、F−ROM103に
格納されたプログラムデータのうち、分割された最初の
プログラムのみ実行すると、CPU102は、F−RO
M104に格納されたプログラムをクリアする(ST5
41)。そして、SRAM105に書き込まれたプログ
ラムCをクリアする(ST542)。CPU102は、
通常のファクシミシリ通信を行うためのイニシャル処理
を実行した後(ST543)、本ファクシミリ装置10
0を暫定待機モードに設定する(ST544)。暫定待
機モードとは、送信機からプログラムデータが送信され
た場合に、そのプログラムデータを受信することができ
る状態をいう。したがって、ST544において、暫定
待機モードに設定された場合において、送信機からプロ
グラムデータが送信されたならば、ファクシミリ装置1
00は、そのプログラムデータを受信することができ
る。
In ST540, when only the first divided program among the program data stored in F-ROM 103 is executed, CPU 102 executes F-RO
Clear the program stored in M104 (ST5)
41). Then, the program C written in the SRAM 105 is cleared (ST542). The CPU 102
After performing initial processing for performing normal facsimile communication (ST543), the facsimile machine 10
0 is set to the temporary standby mode (ST544). The temporary standby mode refers to a state in which, when program data is transmitted from a transmitter, the program data can be received. Therefore, if the program data is transmitted from the transmitter when the temporary standby mode is set in ST544, the facsimile apparatus 1
00 can receive the program data.

【0104】このように本実施の形態のファクシミリ装
置によれば、通信不良等によって、プログラムの書き換
えが完全に行われなかった場合、CPU102の実行す
るプログラムを、SRAM105に書き込まれた書き換
えプログラムから、分割された最初のプログラムデータ
に含まれるプログラムに移す。このとき、分割された最
初のプログラムデータに含まれるプログラムには、上述
のように、通信制御プログラム及び書き換えプログラム
が含まれている。したがって、プログラムデータが通信
不良等により全て受信できなくても、分割された最初の
プログラムデータを受信しただけで、その後のプログラ
ムの書き換えを行うことができる。これにより、プログ
ラムの書き換えが途中で停止するのを防止することがで
きる。
As described above, according to the facsimile apparatus of the present embodiment, when the program is not completely rewritten due to a communication failure or the like, the program executed by the CPU 102 is changed from the rewriting program written in the SRAM 105 to the Move to the program included in the first divided program data. At this time, the programs included in the first divided program data include the communication control program and the rewriting program as described above. Therefore, even if all of the program data cannot be received due to a communication failure or the like, subsequent program rewriting can be performed only by receiving the first divided program data. This can prevent the rewriting of the program from being stopped halfway.

【0105】また、本実施の形態のファクシミリ装置1
00によれば、通信不良等によって、プログラムの書き
換えが完全に行われなかった場合、CPU102の実行
するプログラムを、SRAM105に書き込まれた書き
換えプログラムから分割された最初のプログラムデータ
に含まれるプログラムに移す。このため、プログラムの
書き換えを行う場合に、SRAM105に書き込まれる
プログラムを書き換えプログラムだけにすることができ
る。したがって、SRAM105に書き込むプログラム
の容量を縮小することができる。これに伴って、SRA
M105の記憶容量も縮小することができるので、SR
AM105にかかるコストを下げることができ、ひいて
は、装置の低価格化を図ることができる。
The facsimile apparatus 1 according to the present embodiment
According to 00, when the program is not completely rewritten due to a communication failure or the like, the program executed by the CPU 102 is transferred to the program included in the first program data divided from the rewrite program written in the SRAM 105. . Therefore, when the program is rewritten, the program written in the SRAM 105 can be only the rewrite program. Therefore, the capacity of the program written in the SRAM 105 can be reduced. Along with this, SRA
Since the storage capacity of M105 can be reduced,
The cost of the AM 105 can be reduced, and the price of the device can be reduced.

【0106】なお、本実施の形態では、送信機から分割
されて送信されるプログラムデータのうち、最初のプロ
グラムデータに、通信制御プログラム及びプログラムの
書き換えプログラムを含めている。これにより、通信不
良等によって、プログラムの書き換えが完全に行われな
かった場合、CPU102の実行するプログラムを、S
RAM105に書き込まれた書き換えプログラムから分
割された最初のプログラムデータに含まれるプログラム
に移すようにしている。
In this embodiment, of the program data divided and transmitted from the transmitter, the first program data includes the communication control program and the program rewriting program. Accordingly, if the program is not completely rewritten due to a communication failure or the like, the program executed by the CPU
The program is transferred from the rewrite program written in the RAM 105 to the program included in the first program data divided.

【0107】しかし、通信不良等によって、プログラム
の書き換えが完全に行われなかった場合、SRAM10
5に書き込まれた書き換えプログラムから分割された最
初のプログラムデータに含まれるプログラムに移すので
はなく、SRAM105に書き込むプログラムに、予め
通信制御プログラム及びプログラムの書き換えプログラ
ムを含めてもよい。
However, if the program is not completely rewritten due to a communication failure or the like, the SRAM 10
Instead of moving from the rewrite program written in 5 to the program included in the first program data divided, the program written in the SRAM 105 may include a communication control program and a program rewrite program in advance.

【0108】このようにSRAM105に書き込むプロ
グラムを変更した場合にも、通信不良等によってプログ
ラムの書き換えが完全に行われなかった場合において、
このSRAM105に書き込まれたプログラムを実行す
ることにより、その後のプログラムの書き換えを行うこ
とができる。これにより、プログラムの書き換えが途中
で停止するのを防止することができる。
As described above, even when the program to be written into the SRAM 105 is changed, if the program is not completely rewritten due to a communication failure or the like,
By executing the program written in the SRAM 105, the subsequent program can be rewritten. This can prevent the rewriting of the program from being stopped halfway.

【0109】(実施の形態2)実施の形態1に係るファ
クシミリ装置100では、送信機から送信される分割さ
れたプログラムデータのうち、最初のプログラムデータ
に、通信制御プログラム及びプログラムの書き換えプロ
グラムが含まれている。これにより、送信機から送信さ
れる、分割されたプログラムデータが通信不良等により
全て受信できなくても、分割された最初のプログラムデ
ータを受信しただけで、その後のプログラムの書き換え
を行うことができる。
(Embodiment 2) In the facsimile apparatus 100 according to Embodiment 1, of the divided program data transmitted from the transmitter, the first program data includes the communication control program and the program rewriting program. Have been. Thus, even if all of the divided program data transmitted from the transmitter cannot be received due to a communication failure or the like, the subsequent program can be rewritten only by receiving the first divided program data. .

【0110】これに対して、本発明の実施の形態2に係
るファクシミリ装置は、送信機から送信される分割され
たプログラムデータのうち、最後のプログラムデータ
に、通信制御プログラムが含まれている。また、プログ
ラムの書き換えプログラムも同様に、分割された最後の
プログラムデータに含まれているが、これに限定され
ず、分割されたその他のプログラムデータに含ませるよ
うにしても良い。なお、本発明の実施の形態2に係るフ
ァクシミリ装置は、実施の形態1と同一の構成を有して
いる。
On the other hand, in the facsimile apparatus according to Embodiment 2 of the present invention, the communication control program is included in the last program data among the divided program data transmitted from the transmitter. Similarly, the program rewriting program is also included in the last divided program data, but is not limited thereto, and may be included in other divided program data. The facsimile apparatus according to the second embodiment has the same configuration as that of the first embodiment.

【0111】このように、通信制御プログラムを、分割
されたプログラムデータのうち、最後のプログラムデー
タに含ませることにより、通信制御プログラムが通信を
制御する場合に用いるパラメータを取得することができ
ない場合に発生し得る、通信を制御できないという事態
を回避することができる。この結果、通信制御プログラ
ムが通信を制御することができないという事態が防止さ
れるので、引き続きプログラムの書き換えを行うことが
できる。
As described above, by including the communication control program in the last program data of the divided program data, it is possible to obtain a parameter used when the communication control program controls communication. A situation in which communication cannot be controlled, which may occur, can be avoided. As a result, a situation in which the communication control program cannot control the communication is prevented, so that the program can be continuously rewritten.

【0112】すなわち、通信制御プログラムは、通信を
制御する場合、記録媒体(この場合は、SRAM10
5)の所定アドレスに格納されたパラメータを用いて通
信を制御する。このため、通信制御プログラムを書き換
える場合には、その記録媒体の所定アドレスに格納され
たパラメータを、書き換え前及び書き換え後の通信制御
プログラムで共通して用いることが理想的である。しか
し、プログラムの設計上の理由等で書き換え前及び書き
換え後の通信制御プログラムが通信を制御する場合に用
いるパラメータが、記録媒体の異なるアドレスに格納さ
れている場合が発生する。
That is, when controlling the communication, the communication control program executes the recording on the recording medium (in this case, the SRAM 10
The communication is controlled using the parameter stored at the predetermined address in 5). Therefore, when rewriting the communication control program, it is ideal that the parameters stored at the predetermined address of the recording medium are commonly used in the communication control programs before and after rewriting. However, the parameters used when the communication control programs before and after rewriting control the communication may be stored in different addresses of the recording medium due to the design of the program and the like.

【0113】このような場合において、ファクシミリ装
置を制御するプログラム全体が書き換えられた場合に
は、書き換え前及び書き換え後の通信制御プログラムが
用いるパラメータがそれぞれ意図するアドレスに格納さ
れるため、問題は発生しない。
In such a case, if the entire program for controlling the facsimile apparatus is rewritten, the parameters used by the communication control programs before and after the rewriting are stored at the intended addresses, respectively. do not do.

【0114】しかし、ファクシミリ装置を制御するプロ
グラム全体が書き換えられず、その書き換えが途中で停
止してしまった場合において、通信制御プログラムが既
に書き換えられている場合には、書き換え後の通信制御
プログラムが書き換え前の通信制御プログラムと異なる
アドレスに格納されたパラメータにアクセスしにいく。
このため、書き換え後の通信制御プログラムは、所望の
パラメータを取得することができず、通信を制御できな
いという事態が発生する。本発明の実施の形態2に係る
ファクシミリ装置は、このような事態を回避できるよう
にしたものである。
However, if the entire program for controlling the facsimile apparatus is not rewritten and the rewriting is stopped halfway, and if the communication control program has already been rewritten, the rewritten communication control program is not rewritten. The user accesses a parameter stored at an address different from that of the communication control program before rewriting.
For this reason, the rewritten communication control program cannot acquire desired parameters, and a situation occurs in which communication cannot be controlled. The facsimile apparatus according to Embodiment 2 of the present invention can avoid such a situation.

【0115】以下、本発明に実施の形態2に係るファク
シミリ装置について、図8及び図9を用いて具体的に説
明する。
Hereinafter, a facsimile apparatus according to the second embodiment of the present invention will be specifically described with reference to FIGS.

【0116】図8(a)は、本発明の実施の形態1にお
ける送信機から送信される分割されたプログラムデータ
の概念図であり、図8(b)は、本発明の実施の形態2
における送信機から送信される分割されたプログラムデ
ータの概念図である。なお、図8(a)、(b)では、
プログラムデータが2分割された場合について示してい
る。図9は、本発明の実施の形態1及び実施の形態2に
係るファクシミリ装置において、通信制御プログラムが
通信を制御する場合に用いるパラメータを格納するSR
AM105のメモリ空間を示す模式図である。
FIG. 8A is a conceptual diagram of divided program data transmitted from the transmitter according to the first embodiment of the present invention, and FIG. 8B is a second embodiment of the present invention.
FIG. 4 is a conceptual diagram of divided program data transmitted from a transmitter in FIG. Note that in FIGS. 8A and 8B,
The case where the program data is divided into two is shown. FIG. 9 shows an SR that stores parameters used when the communication control program controls communication in the facsimile apparatus according to Embodiments 1 and 2 of the present invention.
FIG. 3 is a schematic diagram showing a memory space of AM105.

【0117】図8(a)、(b)に示すように、実施の
形態1に係るファクシミリ装置では、分割された最初の
プログラムデータに、通信制御プログラム及びプログラ
ムの書き換えプログラムを含ませ、分割された最後のプ
ログラムデータに、操作パネルを制御するプログラム、
データを圧縮するプログラム及びその他のプログラムを
含ませている。一方、実施の形態2に係るファクシミリ
装置では、分割された最初のプログラムデータに、操作
パネルを制御するプログラム、データを圧縮するプログ
ラム及びその他のプログラムを含ませ、分割された最後
のプログラムデータに、通信制御プログラム及びプログ
ラムの書き換えプログラムを含ませている。
As shown in FIGS. 8A and 8B, in the facsimile apparatus according to the first embodiment, the first divided program data includes the communication control program and the program rewriting program, and The program data for controlling the operation panel,
A program for compressing data and other programs are included. On the other hand, in the facsimile apparatus according to the second embodiment, the first divided program data includes a program for controlling the operation panel, a program for compressing data, and other programs, and the last divided program data includes A communication control program and a program rewriting program are included.

【0118】なお、実施の形態1及び実施の形態2に係
るファクシミリ装置において、通信制御プログラムは、
同一のプログラムであるものとする。また、書き換え前
の通信制御プログラムと書き換え後の通信制御プログラ
ムとは、通信を制御する場合に用いるパラメータがSR
AM105の異なるアドレスに格納されるものとする。
In the facsimile apparatuses according to the first and second embodiments, the communication control program
It is assumed that the programs are the same. Further, the communication control program before rewriting and the communication control program after rewriting are different from each other in that parameters used for controlling communication
It is assumed that it is stored at a different address of the AM 105.

【0119】具体的には、図9に示すように、書き換え
前の通信制御プログラムが通信を制御する場合に用いる
モデムスピード及びモデムボーレートは、それぞれアド
レス00100〜00109、アドレス00110〜0
0119に格納される。一方、書き換え後の通信制御プ
ログラムが通信を制御する場合に用いるモデムスピード
及びモデムボーレートは、それぞれアドレス10100
〜10109、アドレス10110〜10119に格納
される。
More specifically, as shown in FIG. 9, the modem speed and the modem baud rate used when the communication control program before rewriting controls communication have addresses 00100 to 00109 and addresses 00110 to 0100, respectively.
0119 is stored. On the other hand, the modem speed and the modem baud rate used when the rewritten communication control program controls the communication are respectively the address 10100
To 10109 and addresses 1010 to 10119.

【0120】このような場合において、図8(a)、
(b)に示す分割されたプログラムの書き換え途中で通
信が途切れたものとする。
In such a case, FIG.
It is assumed that communication is interrupted during rewriting of the divided program shown in (b).

【0121】図8(a)に示す実施の形態1に係るファ
クシミリ装置においては、分割された最初のプログラム
データに含まれた、通信制御プログラム及びプログラム
の書き換えプログラムが既に書き換えられており、分割
された最後のプログラムデータに含まれた、操作パネル
を制御するプログラム、データを圧縮するプログラム及
びその他のプログラムは、書き換えられていない状態で
ある。
In the facsimile apparatus according to the first embodiment shown in FIG. 8A, the communication control program and the program rewriting program included in the divided first program data have already been rewritten, and The program for controlling the operation panel, the program for compressing the data, and the other programs included in the last program data have not been rewritten.

【0122】この場合、通信制御プログラムが既に書き
換えられているため、書き換え後の通信制御プログラム
は、書き換え後の通信制御プログラムが通信を制御する
場合に用いるパラメータが格納されたSRAM105上
のアドレスにアクセスする。具体的にいうと、書き換え
後の通信制御プログラムは、モデムスピードを設定する
場合、図9に示すアドレス10100〜10109にア
クセスする。
In this case, since the communication control program has already been rewritten, the rewritten communication control program accesses an address on the SRAM 105 in which parameters used when the rewritten communication control program controls communication are stored. I do. Specifically, the communication control program after rewriting accesses the addresses 10100 to 10109 shown in FIG. 9 when setting the modem speed.

【0123】このとき、SRAM105のアドレス10
100〜10109には、書き換え後の通信制御プログ
ラムがモデムスピードを設定する場合に用いるパラメー
タが格納されていない。これにより、通信制御プログラ
ムが通信を制御する場合に用いるパラメータを取得でき
ず、書き換え後の通信制御プログラムが通信を制御する
ことができない事態が発生する。
At this time, the address 10 of the SRAM 105
100 to 10109 do not store parameters used when the rewritten communication control program sets the modem speed. As a result, a situation occurs in which the communication control program cannot acquire the parameters used for controlling the communication, and the rewritten communication control program cannot control the communication.

【0124】一方、図8(b)に示す実施の形態2に係
るファクシミリ装置においては、分割された最初のプロ
グラムデータに含まれた、パネルを制御するプログラ
ム、データを圧縮するプログラム及びその他のプログラ
ムが既に書き換えられており、分割された最後のプログ
ラムデータに含まれた、通信制御プログラム及びプログ
ラムの書き換えプログラムは、書き換えられていない状
態である。
On the other hand, in the facsimile apparatus according to the second embodiment shown in FIG. 8B, a program for controlling a panel, a program for compressing data, and other programs included in the first divided program data. Are already rewritten, and the communication control program and the program rewriting program included in the last divided program data are not rewritten.

【0125】この場合、通信制御プログラムが書き換え
られていないため、書き換え前の通信制御プログラム
は、書き換え前の通信制御プログラムが通信を制御する
場合に用いるパラメータが格納されたSRAM105上
のアドレスにアクセスする。具体的には、書き換え前の
通信制御プログラムは、モデムスピードを設定する場
合、図9に示すアドレス00100〜00109にアク
セスする。
In this case, since the communication control program has not been rewritten, the communication control program before rewriting accesses an address on the SRAM 105 in which parameters used when the communication control program before rewriting controls communication are stored. . Specifically, when setting the modem speed, the communication control program before rewriting accesses addresses 00100 to 00109 shown in FIG.

【0126】このとき、SRAM105のアドレス00
100〜00109には、書き換え前の通信制御プログ
ラムがモデムスピードを設定する場合に用いるパラメー
タが格納されている。したがって、書き換え前の通信制
御プログラムは、そのパラメータを用いて、引き続き通
信を制御することができる。これにより、通信制御プロ
グラムが通信を制御する場合に用いるパラメータを取得
できず、通信を制御することができないという事態を回
避することができる。この結果、通信制御プログラムが
通信を制御することができないという事態が防止される
ので、引き続きプログラムの書き換えを行うことができ
る。
At this time, the address 00 of the SRAM 105
100 to 10009 store parameters used when the communication control program before rewriting sets the modem speed. Therefore, the communication control program before rewriting can continuously control communication using the parameters. This makes it possible to avoid a situation where the communication control program cannot acquire the parameters used for controlling the communication and cannot control the communication. As a result, a situation in which the communication control program cannot control the communication is prevented, so that the program can be continuously rewritten.

【0127】このように、本実施の形態のファクシミリ
装置によれば、分割された最後のプログラムデータに通
信制御プログラムが含まれている。このため、通信不良
等によって、プログラムの書き換えが完全に行われなか
った場合、ファクシミリ装置は、書き換え前の通信制御
プログラムにしたがって通信を制御する。このとき、書
き換え前の通信制御プログラムは、通信を制御する場合
に用いるパラメータを引き続き用いることができるた
め、通信制御プログラムが通信を制御する場合に用いる
パラメータを取得できず、通信を制御することができな
いという事態を回避することができる。この結果、通信
制御プログラムが通信を制御することができないという
事態が防止されるので、引き続きプログラムの書き換え
を行うことができる。
As described above, according to the facsimile apparatus of the present embodiment, the communication control program is included in the last divided program data. Therefore, when the program is not completely rewritten due to a communication failure or the like, the facsimile apparatus controls the communication according to the communication control program before the rewriting. At this time, since the communication control program before rewriting can continue to use the parameters used for controlling the communication, the communication control program cannot obtain the parameters used for controlling the communication, and the communication control program may control the communication. The situation of being unable to do so can be avoided. As a result, a situation in which the communication control program cannot control the communication is prevented, so that the program can be continuously rewritten.

【0128】[0128]

【発明の効果】以上説明したように、本発明によれば、
プログラムの書き換えを行う際、新しいプログラムを分
割して一時的にメモリに格納するため、新しいプログラ
ムを一時的に格納するメモリの記憶容量を大きくするこ
となく、プログラムの書き換えを行うことができる。
As described above, according to the present invention,
When the program is rewritten, the new program is divided and temporarily stored in the memory, so that the program can be rewritten without increasing the storage capacity of the memory for temporarily storing the new program.

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

【図1】本発明の実施の形態1に係るファクシミリ装置
の概略構成を示すブロック図
FIG. 1 is a block diagram showing a schematic configuration of a facsimile apparatus according to Embodiment 1 of the present invention.

【図2】実施の形態1に係るファクシミリ装置と送信機
であるファクシミリ装置との間の信号又はデータの通信
のシーケンス図
FIG. 2 is a sequence diagram of signal or data communication between the facsimile apparatus according to the first embodiment and a facsimile apparatus as a transmitter.

【図3】(a) 実施の形態1に係るファクシミリ装置
が送信するNSF信号のフレーム構成図 (b) 実施の形態1に係るファクシミリ装置が送信す
るNSF信号に含まれるプログラム転送受信機能情報の
構成図
FIG. 3A shows a frame configuration of an NSF signal transmitted by the facsimile apparatus according to the first embodiment. FIG. 3B shows a configuration of program transfer reception function information included in an NSF signal transmitted by the facsimile apparatus according to the first embodiment. Figure

【図4】(a) 実施の形態1に係るファクシミリ装置
に送信機であるファクシミリ装置が送信するNSS信号
のフレーム構成図 (b) 実施の形態1に係るファクシミリ装置に送信機
であるファクシミリ装置が送信するNSS信号に含まれ
るプログラム転送送信機能情報の構成図
FIG. 4A is a diagram illustrating a frame configuration of an NSS signal transmitted by a facsimile apparatus as a transmitter to the facsimile apparatus according to the first embodiment. Configuration diagram of program transfer transmission function information included in an NSS signal to be transmitted

【図5】実施の形態1に係るファクシミリ装置におい
て、プログラムを書き換える場合のフロー図
FIG. 5 is a flowchart for rewriting a program in the facsimile apparatus according to the first embodiment.

【図6】実施の形態1に係るファクシミリ装置におい
て、プログラムを書き換える場合のフロー図
FIG. 6 is a flowchart for rewriting a program in the facsimile apparatus according to the first embodiment.

【図7】実施の形態1に係るファクシミリ装置におい
て、プログラムを書き換える場合のフロー図
FIG. 7 is a flowchart for rewriting a program in the facsimile apparatus according to the first embodiment.

【図8】(a) 実施の形態1におけるファクシミリ装
置において、送信機から送信される分割されたプログラ
ムデータの概念図 (b) 本発明の実施の形態2におけるファクシミリ装
置において、送信機から送信される分割されたプログラ
ムデータの概念図
FIG. 8A is a conceptual diagram of divided program data transmitted from a transmitter in the facsimile apparatus according to the first embodiment. FIG. 8B is a conceptual view of the program data transmitted from the transmitter in the facsimile apparatus according to the second embodiment of the present invention. Conceptual diagram of divided program data

【図9】実施の形態1及び実施の形態2に係るファクシ
ミリ装置において、通信制御プログラムが通信を制御す
る場合に用いるパラメータを格納する記録媒体のメモリ
空間を示す模式図
FIG. 9 is a schematic diagram showing a memory space of a recording medium for storing parameters used when the communication control program controls communication in the facsimile apparatuses according to the first and second embodiments.

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

100 ファクシミリ装置 102 CPU 103 F−ROM 104 F−ROM 105 SRAM 111 操作パネル 115 電話回線網 116 ファクシミリ装置 REFERENCE SIGNS LIST 100 facsimile apparatus 102 CPU 103 F-ROM 104 F-ROM 105 SRAM 111 operation panel 115 telephone network 116 facsimile apparatus

Claims (12)

【特許請求の範囲】[Claims] 【請求項1】 通信回線から分割されたプログラムを順
次受信する一方、当該分割されたプログラムを受信する
都度、装置本体を制御しているプログラムを受信した当
該分割されたプログラムに書き換えることを特徴とする
ファクシミリ装置。
1. While receiving divided programs sequentially from a communication line, each time the divided programs are received, a program controlling the apparatus main body is rewritten to the received divided programs. Facsimile machine.
【請求項2】 装置本体を制御するプログラムを格納す
る第1メモリと、通信回線から受信した新しいプログラ
ムを一時的に格納する第2メモリと、前記第1メモリに
格納されたプログラムを書き換えるためのプログラムを
格納する第3メモリと、前記通信回線から分割されたプ
ログラムを受信したならば、その都度、前記第3メモリ
に格納されたプログラムにしたがって、前記第1メモリ
に格納されたプログラムを前記第2メモリに格納され
た、前記分割されたプログラムに書き換える処理を実行
する制御部と、を具備することを特徴とするファクシミ
リ装置。
2. A first memory for storing a program for controlling the apparatus main body, a second memory for temporarily storing a new program received from a communication line, and a memory for rewriting a program stored in the first memory. When a divided memory is received from the third memory for storing the program and the communication line, the program stored in the first memory is updated in accordance with the program stored in the third memory each time. 2. A facsimile apparatus, comprising: a control unit that executes a process of rewriting the divided program stored in the memory.
【請求項3】 前記第3メモリは、少なくとも前記第1
メモリに格納されたプログラムを書き換えるためのプロ
グラム及び前記通信回線との通信を制御するためのプロ
グラムを格納することを特徴とする請求項2記載のファ
クシミリ装置。
3. The method according to claim 2, wherein the third memory includes at least the first memory.
3. The facsimile apparatus according to claim 2, wherein a program for rewriting a program stored in a memory and a program for controlling communication with the communication line are stored.
【請求項4】 前記第3メモリは、前記第1メモリに格
納されたプログラムを書き換えるためのプログラム及び
前記通信回線との通信を制御するためのプログラムを、
前記装置本体を制御するプログラムからコピーして格納
することを特徴とする請求項3記載のファクシミリ装
置。
4. The third memory stores a program for rewriting a program stored in the first memory and a program for controlling communication with the communication line.
4. A facsimile apparatus according to claim 3, wherein said facsimile apparatus is copied from a program for controlling said apparatus body and stored.
【請求項5】 前記通信回線から分割された最初のプロ
グラムとして、前記第1メモリに格納されたプログラム
を書き換えるためのプログラム及び前記通信回線との通
信を制御するためのプログラムを受信し、前記通信回線
から分割された全てのプログラムを受信できなかったな
らば、前記制御部は、前記分割された最初のプログラム
にしたがって、前記第1メモリに格納されたプログラム
を書き換える処理を実行することを特徴とする請求項2
から請求項4のいずれかに記載のファクシミリ装置。
5. A program for rewriting a program stored in the first memory and a program for controlling communication with the communication line, as a first program divided from the communication line, and receiving the program. When not receiving all the programs divided from the line, the control unit executes a process of rewriting a program stored in the first memory according to the first program divided. Claim 2
A facsimile apparatus according to any one of claims 1 to 4.
【請求項6】 前記通信回線から分割された最後のプロ
グラムとして、前記通信回線との通信を制御するための
プログラムを受信するファクシミリ装置において、前記
通信回線から分割された最後のプログラムを受信できな
かったならば、前記制御部は、前記第1メモリに格納さ
れた書き換え前の前記通信回線との通信を制御するため
のプログラムにしたがって、前記通信回線との通信を制
御して前記第1メモリに格納されたプログラムを書き換
える処理を実行することを特徴とする請求項2から請求
項4のいずれかに記載のファクシミリ装置。
6. A facsimile apparatus which receives a program for controlling communication with the communication line as the last program divided from the communication line, cannot receive the last program divided from the communication line. Then, the control unit controls communication with the communication line according to a program for controlling communication with the communication line before rewriting stored in the first memory, and stores the communication in the first memory. 5. The facsimile apparatus according to claim 2, wherein a process of rewriting a stored program is executed.
【請求項7】 前記制御部は、前記第1メモリに格納さ
れたプログラムを書き換える処理を実行する際、前記分
割されたプログラムを前記第1メモリに格納する度に前
記分割されたプログラムの各部分の書き換え完了を示す
フラグを前記第1メモリ又は前記第3メモリに立てる一
方、分割された全てのプログラムを受信したか判断する
際、前記フラグの有無を判断することにより前記分割さ
れた全てのプログラムを受信したか判断することを特徴
とする請求項5又は請求項6記載のファクシミリ装置。
7. The control unit, when executing a process of rewriting a program stored in the first memory, each time a part of the divided program is stored in the first memory. A flag indicating the completion of rewriting is set in the first memory or the third memory, and when it is determined whether all of the divided programs have been received, the presence or absence of the flag is determined to determine whether all of the divided programs have been received. 7. The facsimile apparatus according to claim 5, wherein it is determined whether or not a facsimile has been received.
【請求項8】 通信回線から分割されたプログラムを順
次受信する一方、当該分割されたプログラムを受信する
都度、装置本体を制御しているプログラムを受信した当
該分割されたプログラムに書き換えることを特徴とする
ファクシミリ装置のプログラム書換方法。
8. A program for sequentially receiving divided programs from a communication line, and each time receiving the divided program, rewriting the program controlling the apparatus main body with the received divided program. Facsimile machine program rewriting method.
【請求項9】 通信回線から分割されたプログラムを受
信し、当該分割されたプログラムを第2メモリに一時的
に格納する一方、第1メモリに格納された装置本体を制
御するプログラムを書き換えるためのプログラム及び前
記通信回線との通信を制御するためのプログラムを前記
第1メモリに格納されたプログラムから第3メモリにコ
ピーして格納し、当該第3メモリに格納されたプログラ
ムにしたがって、前記第1メモリに格納されたプログラ
ムを前記第2メモリに格納された、前記分割されたプロ
グラムに書き換えることを特徴とするファクシミリ装置
のプログラム書換方法。
9. A program for receiving a divided program from a communication line, temporarily storing the divided program in a second memory, and rewriting a program for controlling an apparatus main body stored in the first memory. A program and a program for controlling communication with the communication line are copied from the program stored in the first memory to a third memory and stored, and the first and the second programs are stored in accordance with the program stored in the third memory. A program rewriting method for a facsimile apparatus, wherein a program stored in a memory is rewritten to the divided program stored in the second memory.
【請求項10】 前記通信回線から分割された最初のプ
ログラムとして、第1メモリに格納されたプログラムを
書き換えるためのプログラム及び前記通信回線との通信
を制御するためのプログラムを受信し、前記通信回線か
ら分割された全てのプログラムを受信できなかったなら
ば、前記分割された最初のプログラムにしたがって、前
記第1メモリに格納されたプログラムを書き換えること
を特徴とする請求項9記載のファクシミリ装置のプログ
ラム書換方法。
10. A program for rewriting a program stored in a first memory and a program for controlling communication with the communication line as an initial program divided from the communication line, and 10. The facsimile apparatus according to claim 9, wherein if all of the programs divided from the first program are not received, the program stored in the first memory is rewritten according to the first program divided. Rewriting method.
【請求項11】 前記通信回線から分割された最後のプ
ログラムとして、前記通信回線との通信を制御するため
のプログラムを受信するファクシミリ装置において、前
記通信回線から分割された最後のプログラムを受信でき
なかったならば、前記第1メモリに格納された書き換え
前の前記通信回線との通信を制御するためのプログラム
にしたがって、前記通信回線との通信を制御して前記第
1メモリに格納されたプログラムを書き換えることを特
徴とする請求項9記載のファクシミリ装置のプログラム
書換方法。
11. A facsimile apparatus which receives a program for controlling communication with the communication line as the last program divided from the communication line, cannot receive the last program divided from the communication line. Then, according to a program for controlling communication with the communication line before rewriting stored in the first memory, communication with the communication line is controlled to execute a program stored in the first memory. 10. The method according to claim 9, wherein the program is rewritten.
【請求項12】 前記第1メモリに格納されたプログラ
ムを書き換える際、前記分割されたプログラムを前記第
1メモリに格納する度に前記分割されたプログラムの各
部分の書き換え完了を示すフラグを前記第1メモリ又は
前記第3メモリに立て、分割された全てのプログラムを
受信したか判断する際、前記フラグの有無を判断するこ
とにより前記分割された全てのプログラムを受信したか
判断することを特徴とする請求項10又は請求項11記
載のファクシミリ装置のプログラム書換方法。
12. When rewriting a program stored in the first memory, each time the divided program is stored in the first memory, a flag indicating completion of rewriting of each part of the divided program is set to the flag. When determining whether all the divided programs have been received in the first memory or the third memory, it is determined whether all the divided programs have been received by determining whether or not the flag is present. The method for rewriting a program of a facsimile apparatus according to claim 10 or 11, wherein
JP33017099A 1999-11-19 1999-11-19 Facsimile equipment and its program rewriting method Pending JP2001148752A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP33017099A JP2001148752A (en) 1999-11-19 1999-11-19 Facsimile equipment and its program rewriting method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP33017099A JP2001148752A (en) 1999-11-19 1999-11-19 Facsimile equipment and its program rewriting method

Publications (1)

Publication Number Publication Date
JP2001148752A true JP2001148752A (en) 2001-05-29

Family

ID=18229614

Family Applications (1)

Application Number Title Priority Date Filing Date
JP33017099A Pending JP2001148752A (en) 1999-11-19 1999-11-19 Facsimile equipment and its program rewriting method

Country Status (1)

Country Link
JP (1) JP2001148752A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008108048A (en) * 2006-10-25 2008-05-08 Nec Corp Computer and method for updating firmware therefor
JP2013050862A (en) * 2011-08-31 2013-03-14 Mitsubishi Electric Corp Program rewriting system and program rewriting method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008108048A (en) * 2006-10-25 2008-05-08 Nec Corp Computer and method for updating firmware therefor
JP2013050862A (en) * 2011-08-31 2013-03-14 Mitsubishi Electric Corp Program rewriting system and program rewriting method

Similar Documents

Publication Publication Date Title
US20010040692A1 (en) Data processing apparatus connectable to a LAN
JPH08186696A (en) Facsimile equipment
JPH11275338A (en) Facsimile communication method
JPS5958963A (en) Managing system of facsimile device
EP1267562A2 (en) Data processing apparatus, software program and data processing method to be applied to the apparatus
JP2001148752A (en) Facsimile equipment and its program rewriting method
JP3269423B2 (en) Communication terminal device with automatic program update function and recording medium readable by this device
JPH10190922A (en) Facsimile adaptor remote maintenance equipment
JPH1174983A (en) Data communication equipment
JP3246419B2 (en) Communications system
JPH08274922A (en) Facsimile equipment
JP3207445B2 (en) Facsimile machine
JP3011976B2 (en) Facsimile machine
JP2002320043A (en) Facsimile server
JPH10243146A (en) Remote diagnostic communication method
JPH1028216A (en) Facsimile communication system
JP2000125063A (en) Facsimile device and received image display method
JPH0435141A (en) Teleprinter
JPH01227566A (en) Facsimile equipment
JPH10145509A (en) Line communication system
JPH0568154A (en) Facsimile equipment
JPS63249258A (en) Document communication terminal equipment
JP2003032411A (en) Facsimile equipment and control mehtod therefor
JP2002319980A (en) Facsimile server
JPH0253380A (en) Transmission control method for facsimile equipment