JPH11203141A - Data storage device - Google Patents
Data storage deviceInfo
- Publication number
- JPH11203141A JPH11203141A JP418898A JP418898A JPH11203141A JP H11203141 A JPH11203141 A JP H11203141A JP 418898 A JP418898 A JP 418898A JP 418898 A JP418898 A JP 418898A JP H11203141 A JPH11203141 A JP H11203141A
- Authority
- JP
- Japan
- Prior art keywords
- data
- download
- main program
- program
- load
- 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
Links
- 238000013500 data storage Methods 0.000 title claims abstract description 14
- 238000012545 processing Methods 0.000 claims abstract description 66
- 238000003860 storage Methods 0.000 claims abstract description 31
- 238000000034 method Methods 0.000 abstract description 56
- 230000008569 process Effects 0.000 abstract description 39
- 230000015654 memory Effects 0.000 abstract description 26
- 238000012986 modification Methods 0.000 abstract description 2
- 230000004048 modification Effects 0.000 abstract description 2
- 230000006870 function Effects 0.000 description 14
- 230000002159 abnormal effect Effects 0.000 description 9
- 238000007689 inspection Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 238000004519 manufacturing process Methods 0.000 description 4
- 238000012795 verification Methods 0.000 description 4
- 230000005856 abnormality Effects 0.000 description 3
- 239000000758 substrate Substances 0.000 description 3
- 125000002066 L-histidyl group Chemical group [H]N1C([H])=NC(C([H])([H])[C@](C(=O)[*])([H])N([H])[H])=C1[H] 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000002950 deficient Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012805 post-processing Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
(57)【要約】 (修正有)
【課題】 書換可能な不揮発性記憶装置に対して、ダウ
ンロード処理するに際して、ロード処理状況を外部に報
知してダウンロード処理の状況をオペーレータに正確に
把握させることが可能なデータ格納装置を提供する。
【解決手段】 フラッシュメモリのブートローダー格納
領域に格納されているブートローダープログラムによる
制御下に、メインプログラムのダウンロードを開始した
後ダウンロードが終了するに至るロード処理段階(S4
20、S470、S530、S550、S570、S5
80、S870)にて、そのロード処理状況に対応して
音の高低及び長さを組み合わせることにより、異なる音
の態様をもってブザーユニット、スピーカを介してメイ
ンプログラムのダウンロード状況を外部に報知するよう
に構成する。
(57) [Summary] (Modifications) [Problem] To perform a download process on a rewritable nonvolatile storage device, externally notify a load process status to an operator to accurately grasp the download process status. The present invention provides a data storage device capable of performing the following. SOLUTION: Under a control of a boot loader program stored in a boot loader storage area of a flash memory, a load processing step (S4) from the start of download of a main program to the end of download.
20, S470, S530, S550, S570, S5
80, S870), by combining the pitch and length of the sound in accordance with the load processing status, the download status of the main program is notified to the outside via the buzzer unit and the speaker in different sound modes. Constitute.
Description
【0001】[0001]
【発明の属する技術分野】本発明は、フラッシュメモリ
等の書換可能な不揮発性記憶装置に対して、電子機器の
動作を制御するための各種情報やプログラム等の制御デ
ータを初期ロード時やアップデート時にダウンロード処
理するに際して、そのダウンロードの開始から終了に至
るロード処理段階で、ロード処理状況に対応して異なる
態様にてロード処理状況を外部に報知するように構成し
たデータ格納装置に関するものである。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a rewritable nonvolatile memory device such as a flash memory, which is used when various kinds of information for controlling the operation of electronic equipment and control data such as programs are initially loaded or updated. The present invention relates to a data storage device configured to notify a load processing status to the outside in a different manner corresponding to the load processing status at a load processing stage from the start to the end of the download when the download process is performed.
【0002】[0002]
【従来の技術】従来、例えば世界各国へ輸出される電子
機器においては、国毎に仕様を変えることが多い。ま
た、同じ国への輸出品であってもモデルの相違により仕
様を変更することも行われている。こうした多くの仕様
を有する電子機器に対して、その制御基板を、モデル・
国毎に専用のものとして生産する方法を採用すると、メ
ーカー側で用意すべき部品点数が増大する。2. Description of the Related Art Conventionally, for example, in electronic devices exported to countries around the world, the specifications are often changed for each country. Also, even for products exported to the same country, specifications are changed due to differences in models. For electronic devices with these many specifications, the control board is
If a method is adopted in which production is performed exclusively for each country, the number of parts that must be prepared by the manufacturer increases.
【0003】最近では、こうした制御基板を製造するに
当たり、フラッシュメモリをプログラム格納用のデバイ
スとして用いることで、汎用性のある制御基板を用いて
そこにダウンロードするプログラムのみを変更するとい
う方法が採用される様になってきている。より具体的に
は、フラッシュメモリに、国・モデル等の仕様の違いに
よらず共通なブートローダーを予め格納しておき、この
ブートローダーを用いて、国・モデル毎に作成されたメ
インプログラムを個々のフラッシュメモリにダウンロー
ドする方法が採用されつつある。Recently, in manufacturing such a control board, a method has been adopted in which a flash memory is used as a device for storing a program, and a versatile control board is used to change only a program downloaded to the control board. It is becoming like. More specifically, a common boot loader is stored in advance in the flash memory regardless of differences in specifications such as countries and models, and a main program created for each country / model is stored using this boot loader. A method of downloading to individual flash memories is being adopted.
【0004】また、メインプログラムをフラッシュメモ
リにダウンロードして出荷した後に、メインプログラム
をアップデートする場合もある。かかるメインプログラ
ムのアップデート方法としては、例えば、最近における
インターネットの普及により、海外に対してもインター
ネットを通じて簡単にアップデート用プログラムを配信
することができることから、今後は、メーカーのホーム
ページに国・モデルに応じた複数のアップデート用プロ
グラムへのリンクを設けておき、この複数のリンクの中
から、ユーザーが自分の持っている機器に対応するアッ
プデート用プログラムを自己のパーソナルコンピュータ
へダウンロードし、これを電子機器へダウンロードする
という方法が有力である。尚、メインプログラムのアッ
プデート処理は、前記のようにアップデート用のプログ
ラムをダウンロードする点で、ダウンロード処理の内に
包含されるものである。In some cases, the main program is updated after the main program is downloaded to a flash memory and shipped. As a method of updating the main program, for example, due to the recent spread of the Internet, it is possible to easily distribute the update program through the Internet to overseas, so in the future, the manufacturer's website will be updated according to the country and model. A link to a plurality of update programs is provided, and the user downloads the update program corresponding to the device owned by the user to his / her personal computer from the plurality of links, and downloads the update program to the electronic device. The method of downloading is influential. The update processing of the main program is included in the download processing in that the update program is downloaded as described above.
【0005】[0005]
【発明が解決しようとする課題】ところで、前記のよう
に汎用性のあるブートローダーを使用してメインプログ
ラムのダウンロードやアップデートを行う場合、フラッ
シュメモリに設けられる複数のブロック(セクタ)に対
して消去/書込が行われている。このように、複数のブ
ロックに対して消去/書込を行う際には、その消去時
間、書込時間、データの転送時間等が必要であることか
ら、フラッシュメモリへのメインプログラムのダウンロ
ードやアップデートには、数分程度の時間を要している
のが一般的である。When a main program is downloaded or updated using a versatile boot loader as described above, a plurality of blocks (sectors) provided in a flash memory are erased. / Writing has been performed. As described above, when erasing / writing to a plurality of blocks, the erasing time, the writing time, the data transfer time, and the like are required. Therefore, the main program is downloaded or updated to the flash memory. Generally takes several minutes.
【0006】しかしながら、従来においては、メインプ
ログラムのダウンロード又はアップデートが行われてい
る間に、ダウンロードやアップデートの処理状況をオペ
レータに報知する手段は何ら設けられていない。従っ
て、オペーレータは、ダウンロードやアップデートが行
われている間、その処理が正常に行われているかどうか
について把握することができないという問題がある。However, conventionally, there is no means for notifying the operator of the processing status of the download or update while the download or update of the main program is being performed. Therefore, there is a problem that the operator cannot grasp whether or not the processing is normally performed while the download or the update is being performed.
【0007】本発明は前記従来の問題点を解消するため
になされたものであり、フラッシュメモリ等の書換可能
な不揮発性記憶装置に対して、電子機器の動作を制御す
るための各種情報やプログラム等の制御データを初期ロ
ード時やアップデート時にダウンロード処理するに際し
て、そのダウンロードの開始から終了に至るロード処理
段階で、ロード処理状況に対応して異なる態様にてロー
ド処理状況を外部に報知することにより、ダウンロード
処理の状況を正確にオペーレータに把握させることが可
能なデータ格納装置を提供することを目的とする。SUMMARY OF THE INVENTION The present invention has been made in order to solve the above-mentioned conventional problems, and various kinds of information and programs for controlling the operation of an electronic device in a rewritable nonvolatile storage device such as a flash memory. When downloading control data such as at the time of initial loading or updating, at the loading process stage from the start to the end of the download, by notifying the loading process status to the outside in a different manner corresponding to the loading process status It is another object of the present invention to provide a data storage device that allows an operator to accurately grasp the status of a download process.
【0008】[0008]
【課題を解決するための手段】前記目的を達成するため
本発明に係るデータ格納装置は、電子機器の動作を制御
するための各種情報やプログラム等の制御データを格納
する書換可能な不揮発性の記憶手段と、前記記憶手段に
対して制御データをダウンロードするダウンロード手段
と、前記ダウンロード手段を介して前記制御データのダ
ウンロードを開始した後ダウンロードが終了するに至る
ロード処理段階にて、そのロード処理状況に対応する異
なる態様でロード処理状況を外部に報知する報知手段と
を備えたことを特徴とする。In order to achieve the above object, a data storage device according to the present invention comprises a rewritable nonvolatile storage for storing control data such as various information and programs for controlling the operation of electronic equipment. Storage means, download means for downloading control data to the storage means, and a load processing state at a load processing stage from the start of the download of the control data via the download means to the end of the download. And a notifying means for notifying the load processing status to the outside in a different mode corresponding to the above.
【0009】前記データ格納装置では、制御データの初
期ロード時又はアップデート時に、ダウンロード手段を
介して制御データが記憶手段にダウンロードされる。こ
のとき、ダウンロード手段を介して前記制御データのダ
ウンロードを開始した後ダウンロードが終了するに至る
ロード処理段階にて、報知手段によりそのロード処理状
況に対応する異なる態様でロード処理状況が外部に報知
される。これにより、オペレータは、制御データのダウ
ンロード処理状況を、その処理状態に応じて把握するこ
とが可能となる。In the data storage device, when the control data is initially loaded or updated, the control data is downloaded to the storage means via the download means. At this time, at the load processing stage from the start of the download of the control data via the download means to the end of the download, the notification means notifies the load processing status to the outside in a different manner corresponding to the load processing status. You. As a result, the operator can grasp the status of the control data download processing according to the processing status.
【0010】ここに、前記報知手段としては、各種の手
段、例えば、表示装置にダウンロード処理の状況を順次
表示するように構成してもよいが、音をもってオペレー
タに報知するブザー装置から構成されることが望まし
い。Here, the notifying means may be constituted by various means, for example, a buzzer for notifying the operator with a sound, although it may be configured to sequentially display the status of the download processing on a display device. It is desirable.
【0011】また、報知手段がブザー装置から構成され
る場合には、音の高低及び長さを組み合わせることによ
り、ロード処理状況に対応する異なる態様でロード処理
状況を報知することが望ましい。このように音の高低、
長さの組合せによりダウンロードの処理状況を報知する
場合には、オペーレータがデータ格納装置から多少離れ
た場所で他の作業を行っている場合でも、ダウンロード
の処理状況を把握することが可能となる。In the case where the notification means is constituted by a buzzer device, it is desirable to notify the load processing status in a different manner corresponding to the load processing status by combining the pitch and the length of the sound. Like the pitch of the sound,
When notifying the download processing status by the combination of the lengths, it is possible to grasp the download processing status even when the operator is performing another operation at a place slightly away from the data storage device.
【0012】[0012]
【発明の実施の形態】以下、本発明に係るデータ格納装
置を具体化した一実施形態について、図面を参照しつつ
詳細に説明する。この実施形態は、ファクシミリ機能、
プリンタ機能、複写機能等を備えたマルチ・ファンクシ
ョンデバイスに対して動作プログラムをダウンロードす
る場合に関するものである。実施形態として説明するマ
ルチ・ファンクションデバイス10は、図1に示す様
に、CPU11、フラッシュメモリ12、RAM13、
EEPROM14、ブザーユニット15、パラレルI/
Fユニット16、符号・復号器17、プリンタユニット
18、モデム19、スキャナユニット20、ネットワー
クコントロールユニット(NCU)21及び操作パネル
22を備える。DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS One embodiment of a data storage device according to the present invention will be described below in detail with reference to the drawings. This embodiment has a facsimile function,
This relates to a case where an operation program is downloaded to a multi-function device having a printer function, a copying function, and the like. A multi-function device 10 described as an embodiment includes a CPU 11, a flash memory 12, a RAM 13,
EEPROM 14, buzzer unit 15, parallel I /
An F unit 16, an encoder / decoder 17, a printer unit 18, a modem 19, a scanner unit 20, a network control unit (NCU) 21, and an operation panel 22 are provided.
【0013】このマルチ・ファンクションデバイス10
は、操作パネル22による機能選択の結果に応じて、フ
ラッシュメモリ12に格納されたメインプログラムをC
PU11が実行することにより、ファクシミリとしての
機能の他に、プリンタ、複写機、スキャナ等としても機
能することができるものである。This multi-function device 10
Operates the main program stored in the flash memory 12 in accordance with the result of the function selection by the operation panel 22.
When executed by the PU 11, it can function not only as a facsimile but also as a printer, a copier, a scanner, or the like.
【0014】フラッシュメモリ12は、図2に示す様
に、ブートローダーエリア30と、メインプログラムエ
リア40とから構成されている。ブートローダーエリア
30には、ブートローダープログラムを格納するブート
ローダープログラム格納領域31の他に、ブートローダ
ープログラムの作成時期を表す「作成時期データ」を格
納するためのブートローダー作成時期格納領域32と、
ブートローダーエリアについての「チェックサムデー
タ」を格納するためのブートローダーチェックサム格納
領域33が設定されている。また、メインプログラムエ
リア40には、メインプログラムを格納するメインプロ
グラム格納領域41の他に、「モデル・国識別用パスワ
ード」を格納するパスワード格納領域42と、メインプ
ログラムのロード完了を示す「ロード完了マーク」を格
納する完了マーク格納領域43と、メインプログラムの
作成時期を表す「作成時期データ」を格納するためのメ
インプログラム作成時期格納領域44と、メインプログ
ラムエリア40についての「チェックサムデータ」を格
納するためのメインプログラムチェックサム格納領域4
5とが設定されている。The flash memory 12 comprises a boot loader area 30 and a main program area 40, as shown in FIG. In the boot loader area 30, in addition to a boot loader program storage area 31 for storing a boot loader program, a boot loader creation time storage area 32 for storing "creation time data" indicating the creation time of the boot loader program,
A boot loader checksum storage area 33 for storing “checksum data” for the boot loader area is set. In the main program area 40, in addition to the main program storage area 41 for storing the main program, a password storage area 42 for storing a "model / country identification password", and a "load completed" indicating completion of loading of the main program. A mark storage area 43 for storing a “mark”, a main program creation time storage area 44 for storing “creation time data” indicating a creation time of a main program, and “checksum data” for the main program area 40. Main program checksum storage area 4 for storage
5 is set.
【0015】EEPROM14は、ユーザーのパネル操
作によって設定可能なワンタッチダイヤル等の情報を格
納するためのものである。また、ブザーユニット15
は、プログラムのダウンロード完了時やエラー発生時等
の各場面に対応して、音の高低、長さを適宜組み合わせ
ることにより、異なる態様で報知音をスピーカ23から
出力するためのものである。パラレルI/Fユニット1
6は、パラレルポート24を介してパーソナルコンピュ
ータとの間でデータのやり取りを行うために設けられて
いる。メインプログラムは、後述する様に、このパラレ
ルI/Fユニット16を介してパーソナルコンピュータ
からダウンロードされる。また、本実施の形態のマルチ
・ファンクションデバイス10は、このパラレルI/F
ユニット16を介してパーソナルコンピュータから印字
データを受信した場合はプリンタとして機能する。The EEPROM 14 is for storing information such as a one-touch dial which can be set by a user's panel operation. Also, the buzzer unit 15
Is for outputting the notification sound from the speaker 23 in a different manner by appropriately combining the pitch and length of the sound in accordance with each scene such as when the download of the program is completed or when an error occurs. Parallel I / F unit 1
Reference numeral 6 is provided for exchanging data with a personal computer via the parallel port 24. The main program is downloaded from a personal computer via the parallel I / F unit 16 as described later. Further, the multi-function device 10 according to the present embodiment has the parallel I / F
When print data is received from a personal computer via the unit 16, it functions as a printer.
【0016】符号・復号器17は、ファクシミリとして
機能する際に、スキャナユニット20にて原稿から読み
取ったデータをファクシミリ送信用のデータに符号化す
る処理と、外部から受信したファクシミリデータをプリ
ンタユニット18で印字出力可能な印字データに復号化
する処理とを行うためのものである。この符号・復号器
17によって符号化されたファクシミリデータは、モデ
ム19及びNCU21を介して、一般電話回線25で送
信される。また、モデム19及びNCU21を介して、
一般電話回線25から受信したファクシミリデータは、
符号・復号器17で復号化され、プリンタユニット18
に送られて記録用紙に印字される。When functioning as a facsimile, the encoder / decoder 17 encodes the data read from the original by the scanner unit 20 into data for facsimile transmission, and converts the facsimile data received from the outside into the printer unit 18. To decode the print data into print data that can be printed out. The facsimile data encoded by the encoder / decoder 17 is transmitted via the modem 19 and the NCU 21 via the general telephone line 25. Also, via the modem 19 and the NCU 21,
The facsimile data received from the general telephone line 25 is
The data is decoded by the encoder / decoder 17 and is
And printed on recording paper.
【0017】操作パネル22には、電話番号を入力する
ためのテンキーの他、スタートキー、ストップキー、機
能選択キー等が設けられている。この操作パネル22に
よって機能を選択することにより、本装置10を、ファ
クシミリ、プリンタ、複写機等として機能させることが
できる様になっている。また、テンキー等による入力値
や各種メッセージを表示するための液晶ディスプレイも
この操作パネル22の中に備えられている。The operation panel 22 includes a ten key for inputting a telephone number, a start key, a stop key, a function selection key, and the like. By selecting a function using the operation panel 22, the apparatus 10 can function as a facsimile, a printer, a copying machine, or the like. Further, the operation panel 22 is provided with a liquid crystal display for displaying input values and various messages by ten keys and the like.
【0018】次に、このように構成される本装置10の
製造方法を含め、メインプログラムをダウンロードする
手順等について説明する。Next, the procedure for downloading the main program, including the method of manufacturing the apparatus 10 thus configured, will be described.
【0019】まず、本装置10に備えられるフラッシュ
メモリ12は、図3に示す様に、ワークステーションW
Sにフラッシュメモリープログラマー50を接続し、ブ
ートローダープログラムを格納したマスタチップ51を
製造する。続いて、このマスタチップ51をフラッシュ
メモリプログラマー52にセットして、コピーチップ5
3,53,…を製造する。そして、このコピーチップ5
3を、本装置10用の基板54に実装し、これを本装置
10に組み付ける。First, as shown in FIG. 3, a work station W
A flash memory programmer 50 is connected to S, and a master chip 51 storing a boot loader program is manufactured. Subsequently, the master chip 51 is set in the flash memory programmer 52, and the copy chip 5 is set.
3, 53, ... are manufactured. And this copy chip 5
3 is mounted on a substrate 54 for the present apparatus 10, and this is assembled to the present apparatus 10.
【0020】次に、ワークステーションWSで作成した
メインプログラムを、データベース56にアップロード
する。そして、このデータベース56に対してパーソナ
ルコンピュータPCを接続し、メインプログラムをパー
ソナルコンピュータPCにダウンロードする。こうして
パーソナルコンピュータPCにメインプログラムをダウ
ンロードしたら、このPCと本装置10とをプリンタケ
ーブル57で接続し、装置10の電源を投入する。する
と、後述する様に、ブートローダープログラムが起動さ
れ、メインプログラムの初期ロードが実行される。Next, the main program created by the workstation WS is uploaded to the database 56. Then, a personal computer PC is connected to the database 56, and the main program is downloaded to the personal computer PC. After the main program is downloaded to the personal computer PC, the PC is connected to the apparatus 10 via the printer cable 57, and the apparatus 10 is turned on. Then, as described later, the boot loader program is started, and the initial loading of the main program is executed.
【0021】また、こうして製造された装置10に対し
て、ユーザーに供給した後のプログラムのアップデート
に当たっても、図4に示す様に、パーソナルコンピュー
タPCを使用することができる。メーカーは、アップデ
ート用プログラムの提供時期、方法等について、自己の
ホームページに情報を表示する。この表示を見たユーザ
ーは、インターネット経由で、アップデート用プログラ
ムを自己のパーソナルコンピュータPC内にダウンロー
ドする。そして、このパーソナルコンピュータPCと装
置10とをプリンタケーブル57で接続し、ダウンロー
ドを実行する。あるいは、他の方法として、メーカーが
フロッピーディスクあるいはCDROM等の可搬式記憶
媒体58にアップデート用プログラムを格納し、これを
各ユーザーに供給する。各ユーザーは、この記憶媒体5
8を自己のパーソナルコンピュータPCにセットし、後
は、インターネット経由の場合と同様に装置10に対し
てプリンタケーブル57を介してアップデート用プログ
ラムのダウンロードを実行する。Also, when updating the program after supplying the device 10 thus manufactured to the user, the personal computer PC can be used as shown in FIG. The manufacturer displays information on the homepage of the manufacturer regarding when and how to provide the update program. The user who sees this display downloads the update program into his / her personal computer PC via the Internet. Then, the personal computer PC and the device 10 are connected by the printer cable 57, and the download is executed. Alternatively, as another method, the manufacturer stores the update program in a portable storage medium 58 such as a floppy disk or CDROM and supplies the update program to each user. Each user has access to this storage medium 5
8 is set in its own personal computer PC, and thereafter, the update program is downloaded to the apparatus 10 via the printer cable 57 in the same manner as via the Internet.
【0022】なお、このマルチファンクション・デバイ
ス10は、複数のモデルを有し、メインプログラムは各
モデル毎に異なるものである。また、各モデルについ
て、さらに、仕向国別にメインプログラムが異なるもの
として作成されている。しかしながら、これらメインプ
ログラムは、いずれも、上述のブートローダープログラ
ムを使ってダウンロードすることが可能である。この結
果、本実施形態では、製品に組み付ける基板54に実装
されるコピーチップ53は全て共通のものを使用する。The multifunction device 10 has a plurality of models, and a main program is different for each model. In addition, for each model, a different main program is created for each destination country. However, any of these main programs can be downloaded using the above-described boot loader program. As a result, in the present embodiment, a common copy chip 53 is mounted on the substrate 54 to be mounted on the product.
【0023】ここで、ワークステーションWSで作成さ
れるメインプログラムは、図5に示す様に、データの先
頭から順番に、PJLコマンド、固定文字列、モデル・
国識別用パスワード、開始レコード、データレコード、
最終レコードによって構成されている。Here, as shown in FIG. 5, the main program created by the workstation WS includes a PJL command, a fixed character string, a model
Country identification password, start record, data record,
Consists of the last record.
【0024】PJLコマンドは、このコマンドに続くデ
ータが印字データではなくプログラムであることをCP
U11に認識させるためのコマンドである。続く固定文
字列は、本装置10用のプログラムであることを識別さ
せるためのデータである。The PJL command indicates that the data following the command is not a print data but a program.
This is a command for making U11 recognize. The following fixed character string is data for identifying a program for the device 10.
【0025】さらに、その後に続くモデル・国識別用パ
スワードは、データレコードとして格納されているプロ
グラムが、本装置10におけるどのモデルの、どの国用
のものであるかを識別するためのパスワードである。開
始レコードと最終レコードは、データレコード領域の開
始と終了とを識別するためのものである。Further, the model / country identification password that follows is a password for identifying the model and the country for which model in the apparatus 10 the program stored as the data record is. . The start record and the last record are for identifying the start and end of the data record area.
【0026】データレコードは、属性フィールド、アド
レスフィールド、データフィールド、チェックサムフィ
ールドから構成されている。属性フィールドには、デー
タレコードであることを示すデータとデータフィールド
内のデータ数を判別するためのデータとが記憶される。
アドレスフィールドには、データフィールド内のデータ
のフラッシュメモリ上での格納アドレスに関するデータ
が記憶されている。チェックサムフィールドには、属性
フィールド、アドレスフィールド及びデータフィールド
のデータを加算した合計の値を示すデータが記憶されて
いる。The data record is composed of an attribute field, an address field, a data field, and a checksum field. The attribute field stores data indicating a data record and data for determining the number of data in the data field.
The address field stores data related to the storage address of the data in the data field on the flash memory. The checksum field stores data indicating a total value obtained by adding data of the attribute field, the address field, and the data field.
【0027】そして、データフィールドには、プログラ
ム、モデル・国識別用パスワード、メインプログラムロ
ード完了マーク、メインプログラム作成時期データ、メ
インプログラムエリアのチェックサムデータといったも
のが記憶されている。これらの並び方は、開始レコード
側から最終レコード側にかけて、プログラム、モデル・
国識別用パスワード、メインプログラムロード完了マー
ク、メインプログラム作成時期データ、メインプログラ
ムエリアのチェックサムデータの順となっている。The data field stores a program, a model / country identification password, a main program load completion mark, main program creation time data, and checksum data of the main program area. These are arranged in order from the start record side to the last record side.
The order is: country identification password, main program loading completion mark, main program creation time data, and checksum data in the main program area.
【0028】次に、メインプログラムの初期ロードを含
む、本装置10の制御処理の内容について図6〜図11
のフローチャートを用いて説明する。Next, the contents of the control processing of the apparatus 10 including the initial loading of the main program will be described with reference to FIGS.
This will be described with reference to the flowchart of FIG.
【0029】本装置10に電源が投入されると、図6に
示す処理が開始され、まず、I/Oポートの初期化が実
行される(S10)。次に、フラッシュメモリ12のブ
ートローダーエリア30についてサムチェックを行う
(S20)。そして、ブートローダーエリア30の内、
チェックサムデータ格納領域33を除くエリアの全デー
タを加算した合計とチェックサムとが一致している場合
に正常と判定し(S30:YES)、続いてRAM13
がデバイスとして正常に動作し得るか否かを検査する
(S40)。このRAM13の検査も正常であるとき
(S50:YES)、後述するメインプログラムエリア
チェック処理が実行される(S100)。When the power of the apparatus 10 is turned on, the processing shown in FIG. 6 is started, and first, the initialization of the I / O port is executed (S10). Next, a sum check is performed on the boot loader area 30 of the flash memory 12 (S20). Then, in the boot loader area 30,
If the total sum of all data in the areas except the checksum data storage area 33 and the checksum match, it is determined that the data is normal (S30: YES), and then the RAM 13
It is checked whether or not can operate normally as a device (S40). When the inspection of the RAM 13 is normal (S50: YES), a main program area check process described later is executed (S100).
【0030】そして、メインプログラムエリアチェック
処理の結果が正常であるとき(S60:YES)、後述
のメインプログラム実行ルーチンが起動される。一方、
メインプログラムエリア40に対するチェックの結果が
異常であるときは(S60:NO)、後述のダウンロー
ド処理へと移行する(S200)。なお、ブートローダ
ーエリア30のサムチェック結果が異常であるとき(S
30:NO)、及びRAM13の検査結果が異常である
ときは(S50:NO)、装置異常処理ルーチンが起動
される。この装置異常処理ルーチンは、デバイスの交換
等を指示するもので、ブザーの鳴動やエラーメッセージ
のディスプレイ表示あるいは印字出力等、所定の処理が
実行される。When the result of the main program area check processing is normal (S60: YES), a main program execution routine described later is started. on the other hand,
When the result of the check on the main program area 40 is abnormal (S60: NO), the process shifts to a download process described later (S200). If the sum check result of the boot loader area 30 is abnormal (S
30: NO), and when the inspection result in the RAM 13 is abnormal (S50: NO), the apparatus abnormality processing routine is started. This device abnormality processing routine instructs replacement of a device and the like, and predetermined processing such as sounding of a buzzer, display display of an error message or printout is executed.
【0031】メインプログラムエリアに対するチェック
処理は、図7に示す手順で実行される。まず、フラッシ
ュメモリ12内のロード完了マーク格納領域43にロー
ド完了マークが格納されているか否かを検査する(S1
10)。この検査の結果、ロード完了マークが正常に格
納されているときは(S120:YES)、メインプロ
グラムエリア40に対するサムチェックを実行する(S
130)。そして、メインプログラムエリア40の内、
チェックサムデータ格納領域45を除くエリアの全デー
タを加算した合計とチェックサム格納領域45に格納さ
れているチェックサムとが一致しているときは(S14
0:YES)、検査結果を正常に設定して本ルーチンを
抜ける(S150)。一方、ロード完了マークが正しく
格納されていないと判定されたとき(S120:N
O)、及びメインプログラムエリア40に対するサムチ
ェックの結果が異常であると判定されたときは(S14
0:NO)、検査結果を異常に設定して本ルーチンを抜
ける(S160)。上述のS60の処理では、こうして
S150,S160で設定された検査結果に基づき、メ
インプログラム実行ルーチン及びダウンロード処理のい
ずれのルーチンを起動すべきかが判定されることにな
る。The check processing for the main program area is executed according to the procedure shown in FIG. First, it is checked whether a load completion mark is stored in the load completion mark storage area 43 in the flash memory 12 (S1).
10). As a result of this inspection, when the load completion mark is normally stored (S120: YES), a sum check is performed on the main program area 40 (S120).
130). Then, in the main program area 40,
If the sum of all the data in the areas except the checksum data storage area 45 is equal to the checksum stored in the checksum storage area 45 (S14).
0: YES), the inspection result is set normally, and the routine exits (S150). On the other hand, when it is determined that the load completion mark is not stored correctly (S120: N
O) and when it is determined that the result of the sum check for the main program area 40 is abnormal (S14)
0: NO), the inspection result is set to abnormal, and the routine exits (S160). In the process of S60 described above, it is determined which of the main program execution routine and the download process should be activated based on the inspection results set in S150 and S160.
【0032】ダウンロード処理ルーチンが起動された場
合、図8に示す様に、まず、初期ロードとしてダウンロ
ードを実行すべき状態であるのか、アップデートとして
ダウンロードを実行すべき状態であるのかが判定される
(S210)。S60でNOと判定されたときは、初期
ロードに失敗している状態であることから、このS21
0の判定の後、S220へと処理が進む。When the download processing routine is started, first, as shown in FIG. 8, it is determined whether the download should be executed as an initial load or the download should be executed as an update ( S210). If the determination in S60 is NO, it means that the initial load has failed, and this S21
After the determination of 0, the process proceeds to S220.
【0033】S210で初期ロードと判定されたとき
は、まず、初期ロードであることを特定するために動作
モードを「0」に設定すると共に、フラッシュメモリ1
2のセクタがいずれも消去されていないことを判別させ
るための消去フラグを「0」に設定する(S220)。
その後、データ待ちカウンタを「0」に設定すると共に
(S230)、パスワード照合に関する条件を「照合し
ない」に設定する(S240)。When it is determined in step S210 that the load is the initial load, the operation mode is first set to "0" in order to specify that the load is the initial load.
The erase flag for determining that none of the sectors 2 has been erased is set to "0" (S220).
Thereafter, the data waiting counter is set to “0” (S230), and the condition for password verification is set to “not verified” (S240).
【0034】そして、まず、フラッシュメモリ12に対
して正常に読み書き動作を実行できるか否かのデバイス
チェックを実行する(S250)。このデバイスチェッ
クの結果が正常であるときは(S260:YES)、後
述のダウンロード実行処理ルーチンを起動する(S40
0)。そして、ダウンロード実行処理ルーチンが正常に
終了した場合は(S270:YES)、先に説明したメ
インプログラムエリア40に対するチェック処理を実行
し(S100)、その結果が正常であるときは(S28
0:YES)、電源投入・リセット処理ルーチンへ戻っ
て、メインプログラム実行ルーチンを起動する。これに
対して、S260におけるデバイスチェックの結果が異
常である場合(S260:NO)には、デバイス不良で
あることをオペーレータに報知するべく、ブザーユニッ
ト15を介してスピーカ23を鳴動させる(S34
0)。このとき、スピーカ23から発せられる音として
は、音の高低及び長さを適当に組み合わせた音が発音さ
れる。いずれにしても、デバイス不良が発生したことを
オペレータに知らせることができればよい。続いて、パ
ラレルポート24の受信準備が行われ(S350)、デ
ータ待ちカウンタが「4」に設定される(S360)。
そして、後述するように、パラレルポート24を介して
データ受信を行う(S800)。かかるデータ受信処理
は、デバイス不良の場合(S260:NO)に行われる
ものであるから、受信されたデータが途絶えるまで読み
捨てられる。First, a device check is performed to determine whether the read / write operation can be normally performed on the flash memory 12 (S250). If the result of the device check is normal (S260: YES), a download execution processing routine described later is started (S40).
0). Then, when the download execution processing routine is completed normally (S270: YES), the above-described check processing for the main program area 40 is executed (S100), and when the result is normal (S28).
0: YES), returning to the power-on / reset processing routine to start the main program execution routine. On the other hand, if the result of the device check in S260 is abnormal (S260: NO), the speaker 23 is sounded via the buzzer unit 15 in order to notify the operator that the device is defective (S34).
0). At this time, as the sound emitted from the speaker 23, a sound in which the pitch and length of the sound are appropriately combined is generated. In any case, it suffices if the operator can be notified that a device failure has occurred. Subsequently, the reception of the parallel port 24 is prepared (S350), and the data waiting counter is set to “4” (S360).
Then, as described later, data reception is performed via the parallel port 24 (S800). Since this data reception process is performed in the case of a device failure (S260: NO), the data is read and discarded until the received data is discontinued.
【0035】また、前記S270において、ダウンロー
ド実行処理ルーチンが正常終了しなかったとき(S27
0:NO)、及びメインプログラムエリア40に対する
チェック処理の結果が異常であるときは(S280:N
O)、ダウンロード異常を報知するためにブザーユニッ
ト15によりスピーカ23を鳴動させる(S290)。
このとき、スピーカ23から発生される音としては、前
記と同様、音の高低及び長さを適当に組み合わせた音が
発音され、ダウンロード異常が発生したことをオペーレ
ータに報知される。そして、設定されている動作モード
に応じてS220またはS310へとジャンプする。If it is determined in step S270 that the download execution processing routine has not been completed normally (S27).
0: NO) and when the result of the check processing for the main program area 40 is abnormal (S280: N)
O), the speaker 23 is sounded by the buzzer unit 15 to notify a download abnormality (S290).
At this time, as the sound generated from the speaker 23, a sound in which the pitch and length of the sound are appropriately combined is generated as described above, and the operator is notified that a download error has occurred. Then, the process jumps to S220 or S310 according to the set operation mode.
【0036】ここに、前記S210における判断がアッ
プデートである場合に実行されるS310〜S330の
処理は、初期ロードではなく、アップデートとしてメイ
ンプログラムをダウンロードする場合に実行されるステ
ップである。アップデートとしてメインプログラムのダ
ウンロードを実行するときは、初期ロードと区別するた
めに動作モードを「1」に設定すると共に、フラッシュ
メモリ12のセクタがいずれも消去されていないことを
判別させるための消去フラグを「0」に設定する(S3
10)。その後、データ待ちカウンタを「0」に設定す
ると共に(S320)、パスワード照合に関する条件を
「照合する」に設定する(S330)。Here, the processing of S310 to S330 executed when the judgment in S210 is an update is a step executed when the main program is downloaded as an update, not an initial load. When the main program is downloaded as an update, the operation mode is set to "1" to distinguish it from the initial load, and an erase flag for discriminating that none of the sectors of the flash memory 12 has been erased. Is set to “0” (S3
10). Thereafter, the data waiting counter is set to “0” (S320), and the condition for password verification is set to “verify” (S330).
【0037】次に、ダウンロード実行ルーチンについて
図9のフローチャートに従って説明する。このルーチン
では、まず、パラレルポート24からプログラムデータ
を受信可能な状態に準備する(S410)。続いて、ダ
ウンロード開始を報知するためにスピーカ23を鳴動さ
せ(S420)、固定文字列を受信するのを待つ(S4
30)。ここに、スピーカ23は、前記と同様、音の高
低及び長さを適当に組み合わせた音で鳴動され、ダウン
ロードが開始されたことをオペレータに報知される。固
定文字列を受信したら(S430:YES)、パスワー
ド照合を実行するモードが設定されているか否かを判定
する(S440)。前述の様に、パスワード照合のモー
ドとしては、初期ロードの場合には「照合しない」が設
定され(S240)、アップデートの場合には「照合す
る」が設定されている(S330)。Next, the download execution routine will be described with reference to the flowchart of FIG. In this routine, first, a preparation is made so that program data can be received from the parallel port 24 (S410). Subsequently, the speaker 23 is sounded to notify the start of the download (S420), and waits for the reception of the fixed character string (S4).
30). Here, similarly to the above, the speaker 23 is sounded with a sound in which the pitch and length of the sound are appropriately combined, and the operator is notified that the download has started. When the fixed character string is received (S430: YES), it is determined whether or not a mode for executing password verification is set (S440). As described above, the password collation mode is set to “do not collate” in the case of the initial load (S240), and “verify” is set in the case of the update (S330).
【0038】従って、アップデートの場合に限ってモデ
ル・国識別用パスワードの受信が実行され、メインプロ
グラムエリア40の該当領域42に格納されているパス
ワードと照合される(S450)。そして、照合の結
果、パスワードが一致していないときは(S460:N
O)、アップデート用として選択されたメインプログラ
ムの種類が間違っていることをスピーカ23を介して報
知し(S470)、受信したデータを読み捨てる処理を
実行する(S480)。この時のスピーカ23の鳴動
は、音の高低及び長さを適当に組み合わせた音で行わ
れ、パスワードが一致していないことをオペレータに報
知される。Accordingly, only in the case of updating, the reception of the model / country identification password is executed, and the password is compared with the password stored in the corresponding area 42 of the main program area 40 (S450). If the passwords do not match as a result of the comparison (S460: N
O), the fact that the type of the main program selected for the update is incorrect is notified via the speaker 23 (S470), and a process of reading and discarding the received data is executed (S480). The sound of the speaker 23 at this time is performed by a sound in which the pitch and length of the sound are appropriately combined, and the operator is notified that the passwords do not match.
【0039】一方、照合の結果、パスワードが一致する
ときは(S460:YES)、ロード完了マークの格納
されている領域43に、ロード完了マークとは異なる内
容の文字列を書き込むことにより、当該領域43のデー
タを破壊する処理を実行する(S490)。そして、開
始レコードを受信するのを待った後(S500)、1セ
クタ分のデータを受信し(S510)、このデータを書
き込むべき1セクタの領域内のデータを消去し(S52
0)、消去フラグを「1」に設定すると共に前記と同様
にしてスピーカ23を鳴動させる(S530)。そし
て、S510で受信した1セクタ分のデータを先ほど消
去を行ったセクタに書き込み(S540)、書き込みが
完了したことを報知するべく前記と同様にしてスピーカ
23を鳴動させる(S550)。そして、最終レコード
を受信するまでは(S560:NO)、上記S510以
下の処理を繰り返し実行する。On the other hand, if the passwords match as a result of the collation (S460: YES), a character string having a content different from that of the load completion mark is written in the area 43 storing the load completion mark. A process for destroying the data of No. 43 is executed (S490). Then, after waiting for the reception of the start record (S500), data for one sector is received (S510), and the data in the area of one sector where this data is to be written is erased (S52).
0), the erase flag is set to “1” and the speaker 23 is sounded in the same manner as described above (S530). Then, the one-sector data received in S510 is written into the previously erased sector (S540), and the speaker 23 is sounded in the same manner as described above to notify that the writing has been completed (S550). Until the last record is received (S560: NO), the above-described processing of S510 and thereafter is repeatedly executed.
【0040】こうしてS510〜S560の処理を繰り
返し、最終レコードを受信したときは(S560:YE
S)、メインプログラムエリア40の中の未消去のセク
タを1セクタ消去する毎にスピーカ23を鳴動させつつ
全てのセクタを消去し(S570)、ダウンロード完了
を報知するためスピーカ23を前記と同様に鳴動させて
本ルーチンを抜ける(S580)。このときは正常終了
となる。よって、S270はYESと判定され、メイン
プログラムエリアチェック処理を実行し(S100)、
データが正しくダウンロードされたか否かを判定する処
理に進む。When the processing of steps S510 to S560 is repeated and the last record is received (S560: YE
S), every time an unerased sector in the main program area 40 is erased by one sector, all the sectors are erased while sounding the speaker 23 (S570), and the speaker 23 is set in the same manner as described above to notify the completion of the download. The sound is sounded and the routine exits (S580). At this time, the process ends normally. Therefore, S270 is determined as YES, the main program area check process is executed (S100),
The process proceeds to a process of determining whether data has been correctly downloaded.
【0041】次に、前記S800にて行われるパラレル
ポート24からデータを受信する処理について、図10
のフローチャートに基づき説明する。この受信処理にお
いて、まず、データ待ちタイマを所定時間、例えば12
秒にセットし(S810)、受信データが存在するかど
うか判断される(S820)。受信データが有る場合
(S820:YES)、パラレルポート24から受信デ
ータを取り込んだ(S830)後、処理を終了する。ま
た、S820において受信データが存在しないと判断さ
れた場合(S820:NO)には、前記S810にてセ
ットしたデータ待ちタイマがタイムアップしたかどうか
判断され(S840)、データ待ちタイマがタイムアッ
プするまでは(S840:NO)は受信データを待つ。Next, the process of receiving data from the parallel port 24 performed in S800 will be described with reference to FIG.
This will be described with reference to the flowchart of FIG. In this reception processing, first, a data waiting timer is set to a predetermined time, for example, 12 seconds.
Seconds are set (S810), and it is determined whether or not there is received data (S820). If there is received data (S820: YES), the processing is terminated after receiving the received data from the parallel port 24 (S830). If it is determined in S820 that there is no received data (S820: NO), it is determined whether the data waiting timer set in S810 has expired (S840), and the data waiting timer expires. Until (S840: NO), it waits for received data.
【0042】データ待ちタイマがタイムアップした場合
(S840:YES)、データ待ちカウンタを1だけイ
ンクリメントし(S850)、データ待ちカウンタの値
が「5」になったかどうか判断される(S860)。デ
ータ待ちカウンタの値が「5」に等しくない場合(S8
60:≠5)には、スピーカ23が前記と同様にして鳴
動された(S870)後処理を終了する。一方、データ
待ちカウンタの値が「5」に等しくなった場合(S86
0:=5)には、データ待ち回数がオーバーしたものと
して、消去フラグの設定値を判別する(S880)。そ
して、フラッシュメモリ12のいすれかのセクタが消去
されたことに基づき、消去フラグに「1」が設定されて
いる場合(S880:1)には、ダウンロード実行処理
を異常終了として、再度S220に戻る。これはダウン
ロード途中での異常終了であることから、特に、アップ
デートの場合にはメインプログラムの一部が破壊された
状態にあり、電源投入直後の状態に復帰させると装置1
0が正常に動作できなくなってしまうおそれがあること
から、速やかにメインプログラムをダウンロードすべ
く、ダウンロード処理ルーチンを再度スタートさせるた
めである。また、フラッシュメモリ12のいずれのセク
タも消去されていないことに基づき、消去フラグに
「0」が設定されている場合(S880:0)には、電
源投入・リセットルーチンへ戻る。セクタを未だ消去し
ていない場合は、ダウンロードを全く開始していないの
と同じであるので最初から実行し直せばよいからであ
る。If the data waiting timer has expired (S840: YES), the data waiting counter is incremented by 1 (S850), and it is determined whether the value of the data waiting counter has reached "5" (S860). When the value of the data waiting counter is not equal to "5" (S8
At 60: # 5), after the speaker 23 is sounded in the same manner as described above (S870), the post-processing is ended. On the other hand, when the value of the data waiting counter becomes equal to “5” (S86
At 0: = 5), the setting value of the erasure flag is determined assuming that the number of times of data waiting has exceeded (S880). If “1” is set in the erase flag based on the fact that one of the sectors in the flash memory 12 has been erased (S880: 1), the download execution process is terminated abnormally, and the process returns to S220. Return. Since this is an abnormal end in the middle of downloading, especially in the case of updating, a part of the main program is in a destroyed state, and when the state is restored to the state immediately after power-on, the device 1
This is to restart the download processing routine in order to download the main program promptly since there is a possibility that the program 0 may not operate normally. If no sector has been erased in the flash memory 12 and the erase flag is set to “0” (S880: 0), the process returns to the power-on / reset routine. This is because if the sector has not been erased yet, it is the same as not starting the download at all, and it is sufficient to restart the process from the beginning.
【0043】次に、メインプログラム実行ルーチンにつ
いて、図11のフローチャートに基づいて説明する。こ
のルーチンでは、外部からPJLコマンドを受信したか
否かを判定し(S610)、PJLコマンドを受信した
場合に(S610:YES)、前述のダウンロード処理
ルーチンを起動する(S200)。これが、アップデー
トの状態であり、ダウンロード処理ルーチンのS210
でアップデートと判定され、S310以下の処理が実行
されることになる。Next, the main program execution routine will be described with reference to the flowchart of FIG. In this routine, it is determined whether or not a PJL command has been received from the outside (S610). If a PJL command has been received (S610: YES), the above-described download processing routine is started (S200). This is the state of the update, and S210 of the download processing routine
Is determined to be an update, and the processes of S310 and thereafter are executed.
【0044】一方、印字データを受信したときは(S6
20:YES)、受信した印字データに基づいてプリン
タユニット18を制御して印字処理を実行する(S67
0)。また、NCU21及びモデム19を介してファク
シミリデータを受信した場合は(S630:YES)、
符号・復号器17に当該ファクシミリデータを入力して
復号化を行った後にプリンタユニット18を制御して受
信した情報を記録用紙に印字して出力するファクシミリ
受信処理を実行する(S680)。また、操作パネル2
2においてファクシミリ機能が選択されているときは
(S640:YES)、スキャナユニット20に投入さ
れた原稿からデータを読み取り、これを符号・復号器1
7に入力して符号化し、さらに、モデム19及びNCU
21を制御してファクシミリデータを送信する処理を実
行する(S690)。また、その他の機能、例えば、複
写機能等が選択されているときは(S650)、当該選
択された機能に従って、スキャナユニット20やプリン
タユニット18等を制御し、選択された機能に従った処
理を実行する(S700)。以上の処理は、電源がOF
Fにされるかリセットが行われるまで続行される(S6
60)。On the other hand, when print data is received (S6
20: YES), the printer unit 18 is controlled based on the received print data to execute a printing process (S67).
0). When facsimile data is received via the NCU 21 and the modem 19 (S630: YES),
After the facsimile data is input to the encoder / decoder 17 and decoded, the printer unit 18 is controlled to execute facsimile reception processing of printing the received information on recording paper and outputting the information (S680). Operation panel 2
When the facsimile function is selected in Step 2 (S640: YES), data is read from the original placed in the scanner unit 20, and this is read by the encoder / decoder 1.
7 to encode, and furthermore, the modem 19 and the NCU
Then, a process of transmitting facsimile data by controlling the FAX 21 is executed (S690). When another function, for example, a copy function or the like is selected (S650), the scanner unit 20 or the printer unit 18 is controlled in accordance with the selected function, and processing according to the selected function is performed. Execute (S700). In the above processing, the power supply is turned off.
F or until reset is performed (S6
60).
【0045】以上説明した様に、本実施の形態では、フ
ラッシュメモリ12のブートローダー格納領域31に格
納されているブートローダープログラムによる制御下
に、メインプログラムをメインプログラム格納領域41
に初期ロードする時、又は、メインプログラム格納領域
41に格納されたメインプログラムをアップデートする
時に、メインプログラムのダウンロードを開始した後ダ
ウンロードが終了するに至るロード処理段階(S29
0、S340、S420、S470、S530、S55
0、S570、S580、S870)にて、そのロード
処理状況に対応して音の高低及び長さを組み合わせるこ
とにより、異なる音の態様をもってブザーユニット1
5、スピーカ23を介してメインプログラムのダウンロ
ード状況を外部に報知するようにしたので、ダウンロー
ド処理状況を、その処理状態に応じてオペーレータに知
らせることができる。これにより、オペーレータは、メ
インプログラムのダウンロードの処理状況を的確に把握
することができる。As described above, in the present embodiment, the main program is stored in the main program storage area 41 under the control of the boot loader program stored in the boot loader storage area 31 of the flash memory 12.
At the time of initial loading, or when updating the main program stored in the main program storage area 41, a load processing step from the start of the download of the main program to the end of the download (S29)
0, S340, S420, S470, S530, S55
0, S570, S580, S870), the buzzer unit 1 has different sound modes by combining the pitch and length of the sound in accordance with the load processing status.
5. Since the download status of the main program is notified to the outside through the speaker 23, the download processing status can be notified to the operator according to the processing status. Thus, the operator can accurately grasp the processing status of the download of the main program.
【0046】また、音の高低、長さの組合せによりダウ
ンロードの処理状況を報知するようにしたので、オペー
レータがデータ格納装置から多少離れた場所で他の作業
を行っている場合でも、ダウンロードの処理状況を把握
することができる。Further, since the download processing status is notified based on the combination of the pitch and the length of the sound, even if the operator is performing other work at a place slightly away from the data storage device, the download processing is performed. You can grasp the situation.
【0047】尚、本実施の形態は、本発明を限定するも
のではなく、本発明の要旨を逸脱しない範囲内で種々の
改良、変形が可能であることは勿論である。例えば、音
の高低、長さを組み合わせてダウンロード処理の処理状
況をブザーユニット15、スピーカ23により報知する
に際して、ロード処理が正常に行われている場合とロー
ド処理に異常が発生した場合とで、音の高さ、発音間隔
等を異ならせるようにすれば、オペレータはメインプロ
グラムのダウンロードが正常に行われているか、又は、
ダウンロードに異常が発生したかを直ちに把握すること
ができる。The present embodiment does not limit the present invention, and it goes without saying that various improvements and modifications can be made without departing from the spirit of the present invention. For example, when notifying the processing status of the download process by combining the pitch and length of the sound with the buzzer unit 15 and the speaker 23, when the load process is performed normally and when the load process is abnormal, If the pitch of the sound, the interval between sounds, and the like are made different, the operator can download the main program normally, or
It is possible to immediately determine whether an error has occurred in the download.
【0048】また、本実施の形態では、仕様特定データ
としてのモデル・国識別用パスワードを、プログラムデ
ータの直前に付随する参照データ及びプログラムデータ
の直後に含ませた書き込み用データの両方としてダウン
ロードに当たって受信するデータを構成したが、参照用
データを付随させることなく書き込み用データのみをデ
ータ中に含ませる構成にしておいても構わない。但し、
プログラムデータを一旦読み込んでからパスワード照合
を行う場合には、読み込んだプログラムデータをバッフ
ァ等に一旦保持しておく必要が生じる。従って、プログ
ラムデータを読み込む前にパスワード照合を可能にする
ことでこの様なバッファを特に設ける必要をなくしてい
る点で、上述の実施の形態の方が実用上有利であるとい
える。即ち、仕様特定データを参照データとしてアップ
デート用の制御データの前に付随させておく方法は、無
駄な記憶容量を必要としない点で実用上有利なものとい
うことができる。Further, in the present embodiment, the model / country identification password as specification specifying data is downloaded as both reference data attached immediately before the program data and write data included immediately after the program data. Although the data to be received is configured, it may be configured to include only the data for writing without accompanying the data for reference. However,
When password verification is performed after once reading program data, it is necessary to temporarily hold the read program data in a buffer or the like. Therefore, the above-described embodiment can be said to be more practically advantageous in that it is not necessary to particularly provide such a buffer by enabling password collation before reading program data. In other words, a method in which the specification data is added as reference data before the control data for update can be said to be practically advantageous in that unnecessary storage capacity is not required.
【0049】[0049]
【発明の効果】以上説明した通り本発明は、フラッシュ
メモリ等の書換可能な不揮発性記憶装置に対して、電子
機器の動作を制御するための各種情報やプログラム等の
制御データを初期ロード時やアップデート時にダウンロ
ード処理するに際して、そのダウンロードの開始から終
了に至るロード処理段階で、ロード処理状況に対応して
異なる態様にてロード処理状況を外部に報知することに
より、ダウンロード処理の状況をオペーレータに正確に
把握させることができる。As described above, according to the present invention, various kinds of information for controlling the operation of electronic equipment and control data such as programs can be stored in a rewritable nonvolatile storage device such as a flash memory at the time of initial loading. When performing download processing at the time of update, during the load processing stage from the start to the end of the download, the load processing status is notified to the outside in different forms according to the load processing status, so that the operator can accurately determine the status of the download processing. Can be grasped.
【図1】本実施の形態に係るマルチファンクション・デ
バイスの構成を示すブロック図である。FIG. 1 is a block diagram illustrating a configuration of a multifunction device according to an embodiment.
【図2】フラッシュメモリの構造を示す模式図である。FIG. 2 is a schematic diagram showing a structure of a flash memory.
【図3】製品製造時のプログラムのダウンロードの手法
を示す模式図である。FIG. 3 is a schematic diagram showing a method of downloading a program at the time of manufacturing a product.
【図4】アップデート時のプログラムのダウンロードの
手法を示す模式図である。FIG. 4 is a schematic diagram showing a method of downloading a program at the time of updating.
【図5】メインプログラムのデータ構造を示す模式図で
ある。FIG. 5 is a schematic diagram showing a data structure of a main program.
【図6】マルチファンクションデバイスにて実行される
制御処理の手順を示すフローチャートである。FIG. 6 is a flowchart illustrating a procedure of a control process executed by the multifunction device.
【図7】マルチファンクションデバイスにて実行される
制御処理の手順を示すフローチャートである。FIG. 7 is a flowchart illustrating a procedure of a control process executed by the multifunction device.
【図8】マルチファンクションデバイスにて実行される
制御処理の手順を示すフローチャートである。FIG. 8 is a flowchart illustrating a procedure of a control process executed by the multifunction device.
【図9】マルチファンクションデバイスにて実行される
制御処理の手順を示すフローチャートである。FIG. 9 is a flowchart illustrating a procedure of a control process executed by the multifunction device.
【図10】マルチファンクションデバイスにて実行され
る制御処理の手順を示すフローチャートである。FIG. 10 is a flowchart illustrating a procedure of a control process executed by the multifunction device.
【図11】マルチファンクションデバイスにて実行され
る制御処理の手順を示すフローチャートである。FIG. 11 is a flowchart illustrating a procedure of a control process executed by the multifunction device.
10 マルチ・ファンクションデバイス 11 CPU 12 フラッシュメモリ 13 RAM 14 EEPROM 15 ブザーユニット 16 パラレルI/Fユニット 17 符号・復号器 18 プリンタユニット 19 モデム 20 スキャナユニット 21 NCU 22 操作パネル 23 スピーカ 24 パラレルポート 25 一般電話回線 30 ブートローダーエリア 31 ブートローダープログラム格納領域 32 ブートローダー作成時期格納領域 33 ブートローダーチェックサム格納領域 40 メインプログラムエリア 41 メインプログラム格納領域 42 パスワード格納領域 43 ロード完了マーク格納領域 44 メインプログラム作成時期格納領域 45 メインプログラムチェックサム格納領域 51 マスタチップ 52 フラッシュメモリプログラマー 53 コピーチップ 54 基板 56 プログラム記憶装置 57 プリンタケーブル 58 可搬式記憶媒体 PC パーソナルコンピュータ WS ワークステーション DESCRIPTION OF SYMBOLS 10 Multi-function device 11 CPU 12 Flash memory 13 RAM 14 EEPROM 15 Buzzer unit 16 Parallel I / F unit 17 Encoder / decoder 18 Printer unit 19 Modem 20 Scanner unit 21 NCU 22 Operation panel 23 Speaker 24 Parallel port 25 General telephone line Reference Signs List 30 boot loader area 31 boot loader program storage area 32 boot loader creation time storage area 33 boot loader checksum storage area 40 main program area 41 main program storage area 42 password storage area 43 load completion mark storage area 44 main program creation time storage area 45 Main program checksum storage area 51 Master chip 52 Flash memory programmer 53 copy chip 54 substrate 56 program storage device 57 printer cable 58 portable storage medium PC personal computer WS workstation
Claims (3)
報やプログラム等の制御データを格納する書換可能な不
揮発性の記憶手段と、 前記記憶手段に対して制御データをダウンロードするダ
ウンロード手段と、 前記ダウンロード手段を介して前記制御データのダウン
ロードを開始した後ダウンロードが終了するに至るロー
ド処理段階にて、そのロード処理状況に対応する異なる
態様でロード処理状況を外部に報知する報知手段とを備
えたことを特徴とするデータ格納装置。1. A rewritable nonvolatile storage unit for storing control data such as various information and a program for controlling the operation of an electronic device; a download unit for downloading control data to the storage unit; At the load processing stage from the start of the download of the control data via the download means to the end of the download, a notifying means for notifying the load processing status to the outside in a different mode corresponding to the load processing status at the load processing stage. A data storage device.
とを特徴とする請求項1記載のデータ格納装置。2. The data storage device according to claim 1, wherein said notification means comprises a buzzer device.
組み合わせることにより、ロード処理状況に対応する異
なる態様でロード処理状況を報知することを特徴とする
請求項2記載のデータ格納装置。3. The data storage device according to claim 2, wherein the buzzer device notifies the load processing status in a different manner corresponding to the load processing status by combining a pitch and a length of a sound.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP418898A JPH11203141A (en) | 1998-01-12 | 1998-01-12 | Data storage device |
| US09/227,898 US6298421B1 (en) | 1998-01-12 | 1999-01-11 | Data storage device |
| US09/925,533 US6694403B2 (en) | 1998-01-12 | 2001-08-10 | Data storage device having download notification means |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP418898A JPH11203141A (en) | 1998-01-12 | 1998-01-12 | Data storage device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH11203141A true JPH11203141A (en) | 1999-07-30 |
Family
ID=11577742
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP418898A Pending JPH11203141A (en) | 1998-01-12 | 1998-01-12 | Data storage device |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH11203141A (en) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| KR100471055B1 (en) * | 2000-11-17 | 2005-03-07 | 삼성전자주식회사 | Computer and control method thereof |
| JP2013215583A (en) * | 1999-08-31 | 2013-10-24 | Ge Medical Systems Information Technologies Inc | System and method for generating and transferring data |
-
1998
- 1998-01-12 JP JP418898A patent/JPH11203141A/en active Pending
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2013215583A (en) * | 1999-08-31 | 2013-10-24 | Ge Medical Systems Information Technologies Inc | System and method for generating and transferring data |
| KR100471055B1 (en) * | 2000-11-17 | 2005-03-07 | 삼성전자주식회사 | Computer and control method thereof |
| US6938152B2 (en) | 2000-11-17 | 2005-08-30 | Samsung Electronics Co., Ltd. | Computer and control method thereof |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US6298421B1 (en) | Data storage device | |
| JP4539677B2 (en) | Image forming apparatus, program update system, program update method, and program update program | |
| US7398331B2 (en) | Peripheral apparatus, firmware updating method thereof for determining whether an error has occurred during the installation of a rewrite operation | |
| JP3493772B2 (en) | Control software specification change system | |
| JP5025101B2 (en) | Image forming apparatus, program, recording medium, control method for image forming apparatus, image forming system, and operation method for image forming system | |
| JPH11212791A (en) | Data rewriting device | |
| JPH11203141A (en) | Data storage device | |
| JP2010076315A (en) | Printing apparatus, printing system, and program | |
| JPH11203121A (en) | Data storage device | |
| JPH1115668A (en) | Data storage method and device | |
| JP3826533B2 (en) | Printing device | |
| JP4784100B2 (en) | Processing device and firmware download method thereof. | |
| JPH1115672A (en) | Data storage state determination method and apparatus | |
| US7577766B2 (en) | Method for controlling electronic apparatus, program for controlling electronic apparatus, electronic apparatus, and recording apparatus | |
| JP5063134B2 (en) | Printing apparatus, printing method, and program | |
| JP7790213B2 (en) | Image forming system and image forming apparatus | |
| JP5042377B2 (en) | Operation request receiving apparatus, program, operation method of operation request receiving apparatus, and communication system | |
| JP2009070038A (en) | Data storage device | |
| JP2008200934A (en) | Image forming apparatus | |
| JPH09305395A (en) | Electronic equipment | |
| KR20070044268A (en) | Main board boot processing method and device | |
| JP2008162054A (en) | Printing device | |
| JP4453359B2 (en) | Image processing apparatus, function management method of image processing apparatus, function management program, and medium | |
| JP4207032B2 (en) | Firmware transmission program, control method, data transmission apparatus, and network system | |
| KR101041879B1 (en) | Effective use of the control unit and storage unit |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| A621 | Written request for application examination |
Effective date: 20031212 Free format text: JAPANESE INTERMEDIATE CODE: A621 |
|
| A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20060509 |
|
| A02 | Decision of refusal |
Effective date: 20061024 Free format text: JAPANESE INTERMEDIATE CODE: A02 |