JP2000207180A - Information processor and program rewriting method - Google Patents

Information processor and program rewriting method

Info

Publication number
JP2000207180A
JP2000207180A JP11010481A JP1048199A JP2000207180A JP 2000207180 A JP2000207180 A JP 2000207180A JP 11010481 A JP11010481 A JP 11010481A JP 1048199 A JP1048199 A JP 1048199A JP 2000207180 A JP2000207180 A JP 2000207180A
Authority
JP
Japan
Prior art keywords
program
memory card
flash memory
stored
determination
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP11010481A
Other languages
Japanese (ja)
Other versions
JP3308920B2 (en
Inventor
Kenichi Hiroi
謙一 広井
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 JP01048199A priority Critical patent/JP3308920B2/en
Publication of JP2000207180A publication Critical patent/JP2000207180A/en
Application granted granted Critical
Publication of JP3308920B2 publication Critical patent/JP3308920B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PROBLEM TO BE SOLVED: To enable proper individual correspondence according to changes of computer environment after product shipment by storing a routine for deciding in which device a program should be rewritten on a card memory side and deciding whether the program needs to be replaced by a newer version. SOLUTION: Once a CPU 2 detects character string data of 'header information showing that a program is stored' from management information of a flash memory card 9, the CPU 2 reads in a main boot program address from the management information of the flash memory card 9 and calls the address. Then a rewrite decision program stored on the flash memory card 9 is executed. Consequently, a program execution area is moved from an internal ROM 7 of the CPU 2 to the flash memory card 9 mounted on a main substrate 1. That is, when the power source is turned on, the rewrite decision program stored on the flash memory card 9 is executed from the device side to give the decision routine for program replacement to the memory card side.

Description

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

【0001】[0001]

【発明の属する技術分野】本発明は、メモリカードを使
用してプログラムを書換えることのできる情報処理装置
及びプログラム書換方法に関する。
[0001] 1. Field of the Invention [0002] The present invention relates to an information processing apparatus and a program rewriting method capable of rewriting a program using a memory card.

【0002】[0002]

【従来の技術】最近は、多くの電気機器が装置内に格納
したプログラムによって動作しており、プログラムをバ
ージョンアップすることにより新しい機能を追加できる
ようになっている。
2. Description of the Related Art Recently, many electric devices are operated by programs stored in devices, and new functions can be added by upgrading the programs.

【0003】従来、電気機器内の旧プログラムをメモリ
カードを使ってバージョンアップされたプログラムに書
換える技術がある。この技術は、バージョンアップされ
たプログラムを格納したメモリカードを電気機器のカー
ドスロットに装着し、装置側でメモリカード内のプログ
ラムと装置内のプログラムとのバージョン番号を比較
し、メモリカード内のプログラムが新版のときは装置内
のプログラムをメモリカード内のプログラムに書きかえ
るというものである。
Conventionally, there is a technique for rewriting an old program in an electric device to a version-upgraded program using a memory card. In this technology, a memory card storing an upgraded program is inserted into a card slot of an electric device, and the device compares the version numbers of the program in the memory card and the program in the device, and compares the program number in the memory card. Is a new version, the program in the device is replaced with the program in the memory card.

【0004】[0004]

【発明が解決しようとする課題】しかしながら、かかる
従来例では装置側に出荷時からROM焼きされている固
定のプログラムによってバージョン判定は行われ、メモ
リカード内のプログラムのバージョンが新しければ常に
プログラムの書換えが行われてしまうため、以下の問題
があった。
However, in such a conventional example, version determination is performed by a fixed program that has been ROM-burned from the time of shipment to the apparatus side, and if the version of the program in the memory card is newer, the version is always determined. Since rewriting is performed, there are the following problems.

【0005】すなわち、どのような場合に装置内のプロ
グラムを書き換えるかについては、製品出荷後において
も種々の条件により変化するため、常に電気機器側に設
定された固定の条件で対応するとすれば、各ユーザの多
様な要求に対応できず、使い勝手が悪いといった問題が
ある。
In other words, when the program in the apparatus is rewritten depends on various conditions even after the product is shipped, if it is assumed that the program is always rewritten under the fixed condition set on the electric device side, There is a problem that it is not possible to respond to various requests of each user and the usability is poor.

【0006】本発明は、以上のような実情に鑑みてなさ
れたものであり、装置内のプログラムのバージョンアッ
プについて製品出荷後の種々の環境の変化に応じて個別
に適切な対応が可能な情報処理装置及びプログラムのバ
ージョンアップ方法を提供することを目的とする。
[0006] The present invention has been made in view of the above-described circumstances, and information capable of individually and appropriately responding to a version upgrade of a program in an apparatus in accordance with various environmental changes after product shipment. It is an object of the present invention to provide a processing device and a method for upgrading a program.

【0007】[0007]

【課題を解決するための手段】本発明は、上記課題を解
決するために以下の手段を講じた。すなわち、どのよう
な場合に装置内のプログラムを書き換えるかの判断ルー
チンを、装置側に固定的の設定するのではなく、カード
メモリ側に書き換え用プログラムと共に個別に格納し、
装置がカードメモリ上で判断ルーチンを実行させてバー
ジョンアップの要否を判定することによって、製品出荷
後の種々の環境の変化に応じて個別に適切な対応を可能
とした。
According to the present invention, the following means are provided to solve the above-mentioned problems. In other words, instead of setting a fixed routine on the device side, a determination routine for rewriting the program in the device in each case is stored separately in the card memory together with the rewriting program,
By allowing the apparatus to execute a determination routine on the card memory to determine whether or not to upgrade, it is possible to individually and appropriately cope with various environmental changes after product shipment.

【0008】[0008]

【発明の実施の形態】本発明の第1の態様は、装置本体
に対して挿脱自在であって書換え用のプログラムと書換
えるか否か判定する判定プログラムとが格納されたメモ
リカードと、装置制御用のプログラムを格納する書き換
え可能な内部メモリと、装置側から前記メモリカード上
で前記判定プログラムを実行させる判定制御手段と、判
定結果に基づいて前記メモリカード内の書換え用のプロ
グラムを前記内部メモリに転送する転送制御手段とを具
備する構成を採る。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS A first aspect of the present invention is a memory card which is removably inserted into an apparatus main body and stores a rewriting program and a judgment program for judging whether or not to rewrite, A rewritable internal memory for storing a device control program, a determination control means for executing the determination program on the memory card from the device side, and a program for rewriting the memory card in the memory card based on the determination result. And a transfer control means for transferring the data to the internal memory.

【0009】この構成によれば、メモリカード上の判定
プログラムによってプログラム書換えの要否を判定する
ので、メモリカードに格納する判定プログラムに任意の
判定条件を設定でき、製品出荷後の種々の環境の変化に
応じて個別に適切な対応が可能となる。
According to this configuration, since the necessity of program rewriting is determined by the determination program on the memory card, any determination condition can be set in the determination program stored in the memory card, and various conditions after shipment of the product can be set. Appropriate measures can be taken individually according to the change.

【0010】本発明の第2の態様は、第1の態様の情報
処理装置において、前記判定制御手段は、前記メモリカ
ードが装置本体に挿入されていることを検出し、この検
出されたメモリカードからヘッダ情報を取り出してプロ
グラムが格納されているか否か判断し、プログラムが格
納されていると判断した場合に当該メモリカード上で判
定プログラムを実行させる構成を採る。
According to a second aspect of the present invention, in the information processing apparatus according to the first aspect, the determination control means detects that the memory card is inserted into the apparatus main body, and the detected memory card is detected. The header information is extracted from the memory card to determine whether or not the program is stored. If it is determined that the program is stored, the determination program is executed on the memory card.

【0011】この構成によれば、メモリカードが装置本
体に挿入されていることを検出してプログラム書換え要
否を判定するので、電源投入時の立上げ処理の中でメモ
リカードが装置本体に挿入されているか否か判断するよ
うに設定されている多くの情報処理装置において電源投
入時にプログラムの書換えの要否を判定することができ
る。また、装置に挿入されているメモリカードにプログ
ラムの格納されている場合にのみ判定プログラムが起動
されるので、装置に挿入されているメモリカードが画情
報の格納など他の用途に使われているときに判定プログ
ラムが実行されるのを防止でき無駄な処理を削減でき
る。
[0011] According to this configuration, since it is determined that the memory card is inserted into the main body of the apparatus, and it is determined whether or not the program needs to be rewritten, the memory card is inserted into the main body of the apparatus during the power-on startup process. Many information processing apparatuses set to determine whether or not the program has been performed can determine whether or not the program needs to be rewritten when the power is turned on. Also, since the determination program is activated only when the program is stored in the memory card inserted in the device, the memory card inserted in the device is used for other purposes such as storing image information. Sometimes, the execution of the determination program can be prevented, and unnecessary processing can be reduced.

【0012】本発明の第3の態様は、第1、2の態様の
情報処理装置において、前記メモリカードに書換え用の
プログラム及び判定プログラムと一緒に転送用プログラ
ムを格納し、前記転送制御手段が前記転送用プログラム
を用いて前記メモリカード内のプログラムを前記内部メ
モリへダウンロードする構成を採る。
According to a third aspect of the present invention, in the information processing apparatus according to the first or second aspect, a transfer program is stored together with a rewriting program and a determination program in the memory card, and the transfer control means is provided. The program in the memory card is downloaded to the internal memory using the transfer program.

【0013】この構成によれば、プログラムを転送する
ための転送用プログラムをメモリカード側に格納するの
で、ユーザに予め転送用プログラムを装置内に準備する
ことを強いることが無くなる。また、メモリカードに格
納されたプログラムに合わせて転送用プログラムを用意
できるので適切できめ細かい処理が可能となる。
According to this configuration, since the transfer program for transferring the program is stored in the memory card, it is not necessary for the user to prepare the transfer program in the apparatus in advance. In addition, since a transfer program can be prepared in accordance with the program stored in the memory card, appropriate and detailed processing can be performed.

【0014】本発明の第4の態様は、第1、2、3の態
様の情報処理装置において、前記転送制御手段は、前記
転送用プログラムを装置側の補助内部メモリへ転送し、
この補助内部メモリ上で転送用プログラムを実行させて
前記メモリカード内の書換え用のプログラムを前記内部
メモリに転送する構成を採る。
According to a fourth aspect of the present invention, in the information processing apparatus according to the first, second or third aspect, the transfer control means transfers the transfer program to an auxiliary internal memory of the apparatus.
A configuration is adopted in which a transfer program is executed on the auxiliary internal memory to transfer a rewrite program in the memory card to the internal memory.

【0015】この構成によれば、装置側の補助内部メモ
リ上で転送用プログラムを実行させるので、カード上で
実行する場合に比べて、プログラム転送の処理速度を速
くすることができる。
According to this configuration, since the transfer program is executed on the auxiliary internal memory of the apparatus, the processing speed of the program transfer can be increased as compared with the case where the transfer program is executed on the card.

【0016】本発明の第5の態様は、書換え用のプログ
ラムとプログラムを書換えるか否か判定する判定プログ
ラムとを格納したメモリカードを装置側に挿入し、この
メモリカードを検出した装置が前記メモリカード上の判
定プログラムを実行させてプログラムを書換えるか否か
判断させるプログラム書換方法である。
According to a fifth aspect of the present invention, a memory card storing a rewriting program and a judgment program for judging whether or not to rewrite the program is inserted into the apparatus, and the apparatus which detects the memory card operates as described above. This is a program rewriting method for executing a determination program on a memory card to determine whether to rewrite the program.

【0017】以下、本発明の実施の形態について図面を
参照して具体的に説明する。
Hereinafter, embodiments of the present invention will be specifically described with reference to the drawings.

【0018】本実施の形態では、メモリカードによって
メインプログラムを書換え可能な電気機器の一つとして
ファクシミリ装置を例に説明する。
In the present embodiment, a facsimile apparatus will be described as an example of one of the electrical devices whose main program can be rewritten by a memory card.

【0019】図1にメモリカードを着脱可能なメイン基
板を備えたファクシミリ装置のブロック図を示す。メイ
ン基板1上のCPU2に対して内部バス3を介してプロ
グラム用フラッシュメモリ4、画情報用フラッシュメモ
リ5、ワーク用DRAM6が接続されている。フラッシ
ュメモリカード9とのインタフェース機能を有するメイ
ン基板1のカードスロットに対してフラッシュメモリカ
ード9が着脱される。
FIG. 1 is a block diagram of a facsimile apparatus having a main board to which a memory card can be attached and detached. A program flash memory 4, an image information flash memory 5, and a work DRAM 6 are connected to the CPU 2 on the main board 1 via the internal bus 3. The flash memory card 9 is attached to and detached from a card slot of the main board 1 having an interface function with the flash memory card 9.

【0020】CPU2は、内部ROM7及び内部RAM
8を有しており、内部ROM7に格納されているプログ
ラムによって判定制御手段及び転送制御手段としての機
能を提供する。図3に内部ROM7のメモリマッピング
を示す。フラッシュメモリカード9にプログラムが格納
されていることを示すヘッダ情報の文字列データが起動
プログラム上に記述されている。内部ROM7には、起
動プログラムの他にソフトウエアーコーデックプログラ
ムが格納されている。
The CPU 2 has an internal ROM 7 and an internal RAM
And a program stored in the internal ROM 7 to provide a function as a judgment control means and a transfer control means. FIG. 3 shows the memory mapping of the internal ROM 7. Character string data of header information indicating that the program is stored in the flash memory card 9 is described in the startup program. The internal ROM 7 stores a software codec program in addition to the startup program.

【0021】プログラム用フラッシュメモリ4は、FA
X本体のメインプログラムが格納されている。CPU2
は、プログラム用フラッシュメモリ4上でメインプログ
ラムを実行することによりファクシミリ装置としてのメ
イン機能を発揮する。プログラム用フラッシュメモリ4
は、フラッシュメモリであるため書換え可能であり、こ
のプログラムがバージョンアップ対象のプログラムとな
る。
The program flash memory 4 stores the FA
The main program of the X main body is stored. CPU2
Performs the main function as a facsimile apparatus by executing the main program on the program flash memory 4. Program flash memory 4
Is a flash memory and can be rewritten, and this program is a program to be upgraded.

【0022】画情報用フラッシュメモリ5は、画情報保
存用のフラッシュメモリであり、ファクシミリ送信する
画情報又は受信した画情報が保存される。FAX本体の
管理情報及びバックアップ情報なども画情報用フラッシ
ュメモリ5に保存される。たとえば、タイマー送信受付
中などの情報も保存される。
The image information flash memory 5 is a flash memory for storing image information, and stores image information to be transmitted by facsimile or received image information. Management information and backup information of the FAX main body are also stored in the image information flash memory 5. For example, information indicating that a timer transmission is being accepted is also stored.

【0023】フラッシュメモリカード9は、FAX本体
(カードスロット)から取り外し可能なメモリカードで
あり、通常は画情報保存用のオプションカードとして使
用できる。プログラム用フラッシュメモリ4に格納され
るメインプログラムのバージョンアップを行う場合は、
フラッシュメモリカード9に新しいメインプログラムが
格納される。
The flash memory card 9 is a memory card that can be removed from the FAX body (card slot) and can be used as an optional card for storing image information. When upgrading the version of the main program stored in the program flash memory 4,
A new main program is stored in the flash memory card 9.

【0024】図2(a)にバージョンアップ用のメイン
プログラムが格納されたフラッシュメモリカード9のメ
モリマッピングを示す。同図に示すように、管理情報、
新メインプログラムの他に、書換判定プログラム、プロ
グラム転送処理プログラムが同時に格納されている。管
理情報には、カード内にプログラムが格納されているこ
とを示すヘッダ情報、書換判定プログラムが格納されて
いるアドレスを示すmain boot program addres、プ
ログラムのバージョンを示すrom label、rev、機種コ
ードを含む。
FIG. 2A shows a memory mapping of the flash memory card 9 in which a main program for upgrading is stored. As shown in FIG.
In addition to the new main program, a rewrite determination program and a program transfer processing program are stored at the same time. The management information includes header information indicating that the program is stored in the card, main boot program addres indicating the address where the rewrite judgment program is stored, rom label and rev indicating the version of the program, and the model code. .

【0025】図2(b)にプログラム用フラッシュメモ
リ4のメモリーマッピングを示している。プログラム用
フラッシュメモリ4に格納されている書換判定プログラ
ム及びプログラム転送処理プログラムは、前回のバージ
ョンアップ時にフラッシュメモリカード9からメインプ
ログラムと一緒に格納されたものであり、プログラム用
フラッシュメモリ4上では実行されることはない。
FIG. 2B shows the memory mapping of the program flash memory 4. The rewrite determination program and the program transfer processing program stored in the program flash memory 4 are stored together with the main program from the flash memory card 9 at the time of the previous version upgrade, and are executed on the program flash memory 4. It will not be done.

【0026】以上のように構成された本ファクシミリ装
置のプログラム書き換えに関する動作について、図4を
参照して説明する。図4は、電源投入時からFAX本体
のメインプログラムが実行されるまでの処理を示してい
る。
The operation of the present facsimile apparatus having the above-described configuration relating to program rewriting will be described with reference to FIG. FIG. 4 shows a process from power-on to execution of the main program of the FAX main body.

【0027】電源が投入されると、CPU2により内部
ROMの起動プログラムが実行されてハードウエアの設
定が行われる(S41)。
When the power is turned on, a startup program in the internal ROM is executed by the CPU 2 to set hardware (S41).

【0028】次に、フラッシュメモリカード9にアクセ
スしてプログラムが格納されていることを示すヘッダ情
報が存在するか否かをチェックする(S42)。内部R
OM7に「プログラムが格納されていることを示すヘッ
ダ情報」の文字列データが保存されているので、この文
字列データと同一の文字列データがフラッシュメモリカ
ード9の管理情報の中から検出されれば、何らかのプロ
グラムが格納されているフラッシュメモリカード9が装
着されたと判断できる。
Next, the flash memory card 9 is accessed to check whether there is header information indicating that the program is stored (S42). Internal R
Since the character string data of “header information indicating that a program is stored” is stored in the OM 7, the same character string data as this character string data is detected from the management information of the flash memory card 9. For example, it can be determined that the flash memory card 9 storing some program is inserted.

【0029】ただし、この時点ではバージョンアップす
ると確定したわけではない。また、上記文字列データが
検出されなければ、バージョンアップ判定を行うこと無
く、メイン基板1のプログラム(プログラム用フラッシ
ュメモリ4のメインプログラムなど)を実行する(S4
8)。フラッシュメモリカード9が装着されていない
か、又は装着されているが画情報用として使用している
場合にも、ヘッダ情報が存在しないと判断することにな
る。これにより、フラッシュメモリカード9が装着され
ていないか、又は装着されているが画情報用として使用
している場合に、バージョンアップの要否を判定する無
駄をなくすことができる。
However, at this point, it has not been decided that the version will be upgraded. If the character string data is not detected, the program of the main board 1 (such as the main program of the program flash memory 4) is executed without performing the version upgrade determination (S4).
8). Even when the flash memory card 9 is not mounted or is mounted but is used for image information, it is determined that the header information does not exist. Accordingly, when the flash memory card 9 is not mounted or is mounted but is used for image information, it is possible to eliminate wasteful determination of whether or not to upgrade the flash memory card 9.

【0030】CPU2は、ステップS42においてフラ
ッシュメモリカード9の管理情報から「プログラムが格
納されていることを示すヘッダ情報」の文字列データを
検出した場合は、フラッシュメモリカード9の管理情報
からmain boot programaddresを読み込んで、そのア
ドレスをコールする(S43)。 main bootprogram
addresをコールするとフラッシュメモリカード9に格
納されている書換判定プログラムが実行される(S4
4)。この結果、プログラム実行エリアが、CPU2の
内部ROM7からメイン基板1に装着されているフラッ
シュメモリカード9へ移る。このように、電源投入時に
装置側からフラッシュメモリカード9の管理情報を読み
込んでフラッシュメモリカード9に格納されている書換
判定プログラムを実行することにより、バージョンアッ
プの判断ルーチンをメモリカード側に持たせることがで
きる。
When the CPU 2 detects the character string data of “header information indicating that a program is stored” from the management information of the flash memory card 9 in step S 42, the main boot is performed from the management information of the flash memory card 9. The programaddres is read and its address is called (S43). main bootprogram
When addres is called, the rewrite judgment program stored in the flash memory card 9 is executed (S4).
4). As a result, the program execution area moves from the internal ROM 7 of the CPU 2 to the flash memory card 9 mounted on the main board 1. As described above, when the power is turned on, the management information of the flash memory card 9 is read from the device side, and the rewrite determination program stored in the flash memory card 9 is executed, so that the memory card side has a version upgrade determination routine. be able to.

【0031】図5に、ステップS44で実行される判断
ルーチンのフローチャートを示す。まず、プログラム用
フラッシュメモリ4に格納されているメインプログラム
のヘッダ情報をプログラム用フラッシュメモリ4から取
り出し(S51)、このプログラム用フラッシュメモリ
4のヘッダ情報とフラッシュメモリカード9のヘッダ情
報とが一致するかどうかチェックする(S52)。
FIG. 5 shows a flowchart of the judgment routine executed in step S44. First, the header information of the main program stored in the program flash memory 4 is extracted from the program flash memory 4 (S51), and the header information of the program flash memory 4 matches the header information of the flash memory card 9. It is checked whether it is (S52).

【0032】双方のヘッダ情報が一致しない場合は、プ
ログラム用フラッシュメモリ4にフラッシュメモリカー
ド9に格納されているプログラムを書き込む。ここで、
ステップS44の判断ルーチンにおいてヘッダ情報が一
致しない場合というのは、プログラム用フラッシュメモ
リ4にプログラムが何もインストールされていない状態
が該当する。したがって、このような場合はバージョン
アップすると判定して、フラッシュメモリカード9のプ
ログラムをプログラム用フラッシュメモリ4へインスト
ールする。
If the header information does not match, the program stored in the flash memory card 9 is written into the program flash memory 4. here,
The case where the header information does not match in the determination routine of step S44 corresponds to a state where no program is installed in the program flash memory 4. Therefore, in such a case, it is determined that the version is to be upgraded, and the program of the flash memory card 9 is installed in the program flash memory 4.

【0033】一方、双方のヘッダ情報が一致した場合
は、さらにプログラム用フラッシュメモリ4の管理情報
から機種コードを取り出し(S53)、このプログラム
用フラッシュメモリ4の管理情報内の機種コードとフラ
ッシュメモリカード9の管理情報内の機種コードとが一
致するかどうかチェックする(S54)。
On the other hand, when the header information matches, the model code is further extracted from the management information of the program flash memory 4 (S53), and the model code in the management information of the program flash memory 4 is compared with the flash memory card. It is checked whether the model code in the management information of No. 9 matches (S54).

【0034】ステップS54において双方の機種コード
が一致しないと判定された場合は、バージョンアップは
しないと判定する。機種コードが一致しないということ
は、フラッシュメモリカード9に異なる機種のプログラ
ムが格納されているからである。これにより、異なる機
種のプログラムに書換えられるのを防止する。
If it is determined in step S54 that the two model codes do not match, it is determined that the version is not upgraded. The reason that the model codes do not match is that programs of different models are stored in the flash memory card 9. This prevents rewriting to a program of a different model.

【0035】ステップS54において双方の機種コード
が一致した場合は、プログラム用フラッシュメモリ4に
格納されたいるメインプログラムとフラッシュメモリカ
ード9に格納されているメインプログラムとが同一種別
のプログラム(バージョンが異なるものを含む)である
ことが確定する。すなわち、バージョンによってはプロ
グラムの書き換えを行うべきプログラムであることが判
る。
If the two model codes match in step S54, the main program stored in the program flash memory 4 and the main program stored in the flash memory card 9 have the same type of program (the version is different). ). That is, it can be seen that the program needs to be rewritten depending on the version.

【0036】このような場合は、プログラム用フラッシ
ュメモリ4の管理情報からバージョン情報を取り出し
(S55)、このプログラム用フラッシュメモリ4のプ
ログラムのバージョンとフラッシュメモリカード9に格
納されているプログラムのバージョンとが一致するか否
かチェックする(S56)。双方のバージョンが一致す
る場合は、全くの同一プログラムであるからバージョン
アップしないと判定する。一方、双方のバージョンが一
致しない場合は、フラッシュメモリカード9から判断テ
ーブルをロードする(S57)。
In such a case, the version information is extracted from the management information of the program flash memory 4 (S55), and the version of the program in the program flash memory 4 and the version of the program stored in the flash memory card 9 are compared. Are checked to see if they match (S56). If the two versions match, it is determined that the version is not upgraded because they are completely the same program. On the other hand, when the two versions do not match, the determination table is loaded from the flash memory card 9 (S57).

【0037】図6に判断テーブルの具体例を示す。基本
的には、フラッシュメモリカード9のバージョンがプロ
グラム用フラッシュメモリ4のバージョンよりも新しけ
ればバージョンアップし(OKで表示)、フラッシュメ
モリカード9のバージョンがプログラム用フラッシュメ
モリ4のバージョンよりも古ければバージョンアップし
ない(NGで表示)。
FIG. 6 shows a specific example of the judgment table. Basically, if the version of the flash memory card 9 is newer than the version of the program flash memory 4, the version is upgraded (indicated by OK), and the version of the flash memory card 9 is older than the version of the program flash memory 4. If not, the version is not upgraded (displayed as NG).

【0038】さらに、この判断テーブルでは、バージョ
ン番号の新旧だけでなく、バージョン番号に現われた特
殊データまで考慮して判断するように設定されている。
例えば、フラッシュメモリカード9のバージョン番号が
V2.10でプログラム用フラッシュメモリ4のバージ
ョン番号がV1.01の組合わせでは、フラッシュメモ
リカード9のバージョン番号のほうが新しいにも拘わら
ずバージョンアップしない(NG)。これはプログラム
用フラッシュメモリ4のバージョン番号V1.01が特
殊仕様のプログラムであることを示しているからであ
る。このような場合には、バージョンアップ前の予約さ
れた動作を保証できない可能性があるので自動バージョ
ンアップしないようにしている。
Further, this determination table is set so that the determination is made in consideration of not only the new and old version numbers but also special data appearing in the version numbers.
For example, in a combination where the version number of the flash memory card 9 is V2.10 and the version number of the program flash memory 4 is V1.01, the version is not upgraded even though the version number of the flash memory card 9 is newer (NG). ). This is because the version number V1.01 of the program flash memory 4 indicates that the program has a special specification. In such a case, there is a possibility that the reserved operation before the version upgrade cannot be guaranteed, so that automatic version upgrade is not performed.

【0039】このように、判断テーブルにバージョンア
ップ判定のための任意のルールを設定している。判断テ
ーブルのルールは製品出荷後であってもメモリカードへ
のプログラムインストール時に任意に設定できる。
As described above, an arbitrary rule for version upgrade determination is set in the determination table. The rules of the judgment table can be set arbitrarily when the program is installed in the memory card even after the product is shipped.

【0040】ステップS58では判断テーブルを参照し
てバージョンアップしては行けない組み合わせであるか
否かチェックし(S58)、バージョンアップの要否を
判定する。上記判断ルーチン(S44)によってバージ
ョンアップの要否が判定される。
In step S58, it is checked whether or not the combination cannot be upgraded by referring to the determination table (S58), and it is determined whether the version needs to be upgraded. It is determined by the above determination routine (S44) whether or not a version upgrade is necessary.

【0041】CPU2は、ステップS44の判断ルーチ
ンからバージョンアップの判定結果を受け取ると、プロ
グラム実行エリアをプログラム用フラッシュメモリ4に
移して判定結果がバージョンアップするとなっているか
否か判断する(S45)。そして判断ルーチンにおいて
バージョンアップすると判定した場合は、フラッシュメ
モリカード9のプログラム転送処理プログラムをCPU
2の内部RAM8にコピーする(S46)。
When the CPU 2 receives the version upgrade determination result from the determination routine of step S44, the CPU 2 moves the program execution area to the program flash memory 4 and determines whether or not the version upgrade is determined (S45). If it is determined in the determination routine that the version is to be upgraded, the program transfer processing program of the flash memory card 9 is executed by the CPU.
2 is copied to the internal RAM 8 (S46).

【0042】次に、CPU2の内部RAM8上でプログ
ラム転送処理プログラムを実行して、フラッシュメモリ
カード9のプログラムを、プログラム用フラッシュメモ
リ4へ転送する。このように、プログラム転送処理プロ
グラムをCPU2の内部RAM8上へ移して、そこでプ
ログラム転送処理を実行することにより、フラッシュメ
モリカード9上でプログラム転送処理を実行する場合に
比べて、処理スピードが向上する利点がある。なお、フ
ラッシュメモリカード9上でプログラム転送処理プログ
ラムを実行してプログラムを書き換えるようにしても良
い。
Next, the program transfer processing program is executed on the internal RAM 8 of the CPU 2 to transfer the program of the flash memory card 9 to the program flash memory 4. As described above, by transferring the program transfer processing program to the internal RAM 8 of the CPU 2 and executing the program transfer processing there, the processing speed is improved as compared with the case where the program transfer processing is executed on the flash memory card 9. There are advantages. The program transfer processing program may be executed on the flash memory card 9 to rewrite the program.

【0043】そして、バージョンアップされたプログラ
ム用フラッシュメモリ4のメインプログラムを実行する
(S48)。
Then, the main program of the upgraded program flash memory 4 is executed (S48).

【0044】このように本実施の形態によれば、プログ
ラムの格納されたフラッシュメモリカード9に書換判定
プログラムを一緒に書き込んでおき、装置側から書換判
定プログラムを起動してメモリカード上で実行するよう
にしたので、メモリカードに書き込む書換判定プログラ
ムを操作するだけで、製品出荷後であってもバージョン
アップ判定の条件を自由に設定でき、ユーザの使い勝手
を向上できる。また、プログラムを転送するための転送
用プログラムをメモリカード側に格納するので、ユーザ
に予め転送用プログラムを装置内に準備することを強い
ることが無くなる。また、メモリカードに格納されたプ
ログラムに合わせて転送用プログラムを用意できるので
適切できめ細かい処理が可能となる。
As described above, according to the present embodiment, the rewriting judgment program is also written in the flash memory card 9 storing the program, and the rewriting judgment program is started from the device side and executed on the memory card. With this configuration, the conditions for the upgrade determination can be freely set even after the product is shipped, and the user's usability can be improved only by operating the rewrite determination program written to the memory card. Further, since the transfer program for transferring the program is stored in the memory card, the user is not required to prepare the transfer program in the apparatus in advance. In addition, since a transfer program can be prepared in accordance with the program stored in the memory card, appropriate and detailed processing can be performed.

【0045】なお、図5に示す判断ルーチンではステッ
プS56においてバージョン番号を比較した後に、判断
テーブルを使ってバージョンアップしては行けない組み
合わせでないかどうかのチェックを行っているが、図7
に示すように図5のステップ57、58を削除して判断
を簡略化しても良い。図7に示す判断ルーチンのフロー
チャートにおいてステップS71からステップS76ま
では先に説明した図5に示すフローチャートのステップ
51からステップ56までの処理と同じであるのでここ
での説明は省略する。
In the judgment routine shown in FIG. 5, after comparing the version numbers in step S56, it is checked whether or not the combination cannot be upgraded by using the judgment table, as shown in FIG.
As shown in FIG. 5, steps 57 and 58 in FIG. 5 may be deleted to simplify the judgment. In the flowchart of the determination routine shown in FIG. 7, steps S71 to S76 are the same as the processes of steps 51 to 56 in the flowchart shown in FIG. 5 described above, and thus description thereof will be omitted.

【0046】なお、上記実施の形態では電気機器の一つ
としてファクシミリ装置を例にして説明したが、メモリ
カードでプログラムを書換え可能な装置であれば他の装
置にも同様に適用できる。
In the above embodiment, a facsimile apparatus is described as an example of one of the electric devices. However, the present invention can be similarly applied to other apparatuses that can rewrite a program with a memory card.

【0047】[0047]

【発明の効果】以上詳記したように本発明によれば、ど
のような場合に装置内のプログラムを書き換えるかの判
断ルーチンをカードメモリ側に格納し、装置がカードメ
モリ上で判断ルーチンを実行させてバージョンアップの
要否を判定するようにしたので、製品出荷後の種々の環
境の変化に応じて個別に適切な対応が可能になる。
As described above in detail, according to the present invention, a decision routine for determining when to rewrite a program in the device is stored in the card memory, and the device executes the decision routine on the card memory. Since the necessity of the version upgrade is determined in this manner, it is possible to individually and appropriately respond to various environmental changes after the product is shipped.

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

【図1】本発明の一実施の形態にかかるファクシミリ装
置のブロック図
FIG. 1 is a block diagram of a facsimile apparatus according to an embodiment of the present invention.

【図2】(a) 上記実施の形態におけるメモリカード
のメモリーマッピング図 (b) 上記実施の形態におけるフラッシュメモリのメ
モリーマッピング図
FIG. 2A is a memory mapping diagram of a memory card according to the embodiment; FIG. 2B is a memory mapping diagram of a flash memory according to the embodiment;

【図3】上記実施の形態における内部ROMのメモリー
マッピング図
FIG. 3 is a memory mapping diagram of an internal ROM in the embodiment.

【図4】上記実施の形態における電源投入からメインプ
ログラム実行までのフロー図
FIG. 4 is a flowchart from power-on to execution of a main program in the embodiment.

【図5】上記実施の形態における判断ルーチンのフロー
FIG. 5 is a flowchart of a determination routine in the embodiment.

【図6】上記実施の形態における判断テーブルの構成図FIG. 6 is a configuration diagram of a judgment table in the embodiment.

【図7】判断ルーチンを簡略化したフロー図FIG. 7 is a flowchart showing a simplified judgment routine.

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

1 メイン基板 2 CPU 3 内部バス 4 プログラム用フラッシュメモリ 5 画情報用フラッシュメモリ 6 ワーク用DRAM 7 内部ROM 8 内部RAM 9 フラッシュメモリカード DESCRIPTION OF SYMBOLS 1 Main board 2 CPU 3 Internal bus 4 Flash memory for program 5 Flash memory for image information 6 DRAM for work 7 Internal ROM 8 Internal RAM 9 Flash memory card

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 装置本体に対して挿脱自在であって書換
え用のプログラムと書換えるか否か判定する判定プログ
ラムとが格納されたメモリカードと、装置制御用のプロ
グラムを格納する書き換え可能な内部メモリと、装置側
から前記メモリカード上で前記判定プログラムを実行さ
せる判定制御手段と、判定結果に基づいて前記メモリカ
ード内の書換え用のプログラムを前記内部メモリに転送
する転送制御手段と、を具備する情報処理装置。
A memory card storing a program for rewriting and a determination program for determining whether to rewrite, and a rewritable program for storing a program for controlling the apparatus. An internal memory, a determination control unit for executing the determination program on the memory card from the device side, and a transfer control unit for transferring a rewriting program in the memory card to the internal memory based on a determination result. Information processing device to be equipped.
【請求項2】 前記判定制御手段は、前記メモリカード
が装置本体に挿入されていることを検出し、この検出さ
れたメモリカードからヘッダ情報を取り出してプログラ
ムが格納されているか否か判断し、プログラムが格納さ
れていると判断した場合に当該メモリカード上で判定プ
ログラムを実行させることを特徴とする請求項1に記載
の情報処理装置。
2. The determination control means detects that the memory card is inserted into the main body of the apparatus, extracts header information from the detected memory card, and determines whether a program is stored. The information processing apparatus according to claim 1, wherein when it is determined that the program is stored, the determination program is executed on the memory card.
【請求項3】 前記メモリカードに書換え用のプログラ
ム及び判定プログラムと一緒に転送用プログラムを格納
し、前記転送制御手段が前記転送用プログラムを用いて
前記メモリカード内のプログラムを前記内部メモリへダ
ウンロードすることを特徴とする請求項1又は請求項2
に記載の情報処理装置。
3. A transfer program is stored in the memory card together with a rewriting program and a determination program, and the transfer control means downloads a program in the memory card to the internal memory using the transfer program. 3. The method according to claim 1, wherein
An information processing apparatus according to claim 1.
【請求項4】 前記転送制御手段は、前記転送用プログ
ラムを装置側の補助内部メモリへ転送し、この補助内部
メモリ上で転送用プログラムを実行させて前記メモリカ
ード内の書換え用のプログラムを前記内部メモリに転送
することを特徴とする請求項1から請求項3のいずれか
に記載の情報処理装置。
4. The transfer control means transfers the transfer program to an auxiliary internal memory on the device side, executes the transfer program on the auxiliary internal memory, and executes a rewrite program in the memory card. 4. The information processing apparatus according to claim 1, wherein the information is transferred to an internal memory.
【請求項5】 書換え用のプログラムとプログラムを書
換えるか否か判定する判定プログラムとを格納したメモ
リカードを装置側に挿入し、このメモリカードを検出し
た装置が前記メモリカード上の判定プログラムを実行さ
せてプログラムを書換えるか否か判断させることを特徴
とするプログラム書換方法。
5. A memory card storing a rewriting program and a judgment program for judging whether or not to rewrite the program is inserted into the device, and the device which detects the memory card reads the judgment program on the memory card. A program rewriting method, characterized in that it is executed to determine whether or not to rewrite a program.
JP01048199A 1999-01-19 1999-01-19 Information processing device Expired - Fee Related JP3308920B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP01048199A JP3308920B2 (en) 1999-01-19 1999-01-19 Information processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP01048199A JP3308920B2 (en) 1999-01-19 1999-01-19 Information processing device

Publications (2)

Publication Number Publication Date
JP2000207180A true JP2000207180A (en) 2000-07-28
JP3308920B2 JP3308920B2 (en) 2002-07-29

Family

ID=11751367

Family Applications (1)

Application Number Title Priority Date Filing Date
JP01048199A Expired - Fee Related JP3308920B2 (en) 1999-01-19 1999-01-19 Information processing device

Country Status (1)

Country Link
JP (1) JP3308920B2 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006079259A (en) * 2004-09-08 2006-03-23 Juki Corp Controller
JP2006106960A (en) * 2004-10-01 2006-04-20 Funai Electric Co Ltd Information processor
JP2006172176A (en) * 2004-12-16 2006-06-29 Funai Electric Co Ltd Disk unit and determining method of firmware
JP2021015327A (en) * 2019-07-10 2021-02-12 富士ゼロックス株式会社 Processing device and program

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006079259A (en) * 2004-09-08 2006-03-23 Juki Corp Controller
JP2006106960A (en) * 2004-10-01 2006-04-20 Funai Electric Co Ltd Information processor
US7681189B2 (en) 2004-10-01 2010-03-16 Funai Electric Co., Ltd. Information processing device capable of updating a stored program
JP4720140B2 (en) * 2004-10-01 2011-07-13 船井電機株式会社 Information processing device
JP2006172176A (en) * 2004-12-16 2006-06-29 Funai Electric Co Ltd Disk unit and determining method of firmware
US7490232B2 (en) 2004-12-16 2009-02-10 Funai Electric Co., Ltd. Disk device using disk to rewrite firmware and firmware determination method
JP4715189B2 (en) * 2004-12-16 2011-07-06 船井電機株式会社 Disk device and firmware determination method
JP2021015327A (en) * 2019-07-10 2021-02-12 富士ゼロックス株式会社 Processing device and program
JP7298352B2 (en) 2019-07-10 2023-06-27 富士フイルムビジネスイノベーション株式会社 processor and program

Also Published As

Publication number Publication date
JP3308920B2 (en) 2002-07-29

Similar Documents

Publication Publication Date Title
US6553490B1 (en) Computer system including local computer with capability to automatically update operating system or application program from network server
US20040015941A1 (en) Information-processing apparatus equipped with nonvolatile memory device and firmware-updating method for use in the apparatus
TW528987B (en) Automatic update of camera firmware
US20030233493A1 (en) Firmware installation methods and apparatus
US7337312B2 (en) Processor and firmware download method for same
CN109240748B (en) Mirror image starting and adapting method and system applied to embedded system
US7302596B2 (en) Circuit capable of updating power supply specification of microprocessor and method thereof
JPH1021060A (en) Communication system with automatic program update processing function, and recording medium equipped with program performing program update processing
JP3308920B2 (en) Information processing device
JP2000357093A (en) Computer system and reloading method for non-volatile memory
JP2004021463A (en) Peripheral device firmware updating device
JPH06314202A (en) Image-forming device
KR100775431B1 (en) Apparatus and Method for System Imbedded System and Firmware Updating Method Therein
JP2000215034A (en) Printer and its program updating method
JP4076113B2 (en) Electronic control unit
JP2001344156A (en) Device with flash memory and data rewriting method
JPH113220A (en) Control software supply system
JPH05274157A (en) Image generating device
JPH08305561A (en) Method and device for down-loading firmware
JP2004255847A (en) Printing system
JP2002108582A (en) Printing device and printing system and printing method
JP2006154988A (en) Updating method and device thereof
JP2003259000A (en) Version update system and method for ip telephone set service function in ip-pbx
JPH10287001A (en) Data rewriting device
KR20040052305A (en) System and method for loading operating system for embedded system

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090517

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090517

Year of fee payment: 7

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

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

Free format text: PAYMENT UNTIL: 20090517

Year of fee payment: 7

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

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

Free format text: PAYMENT UNTIL: 20100517

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20110517

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110517

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20120517

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120517

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20130517

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130517

Year of fee payment: 11

LAPS Cancellation because of no payment of annual fees