JPH05126620A - Electronic scale device - Google Patents

Electronic scale device

Info

Publication number
JPH05126620A
JPH05126620A JP28691691A JP28691691A JPH05126620A JP H05126620 A JPH05126620 A JP H05126620A JP 28691691 A JP28691691 A JP 28691691A JP 28691691 A JP28691691 A JP 28691691A JP H05126620 A JPH05126620 A JP H05126620A
Authority
JP
Japan
Prior art keywords
data
program
rewriting
rom
flash memory
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
JP28691691A
Other languages
Japanese (ja)
Other versions
JP2645194B2 (en
Inventor
Naohito Osugi
尚人 大杉
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.)
Teraoka Seiko Co Ltd
Original Assignee
Teraoka Seiko Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Teraoka Seiko Co Ltd filed Critical Teraoka Seiko Co Ltd
Priority to JP3286916A priority Critical patent/JP2645194B2/en
Publication of JPH05126620A publication Critical patent/JPH05126620A/en
Application granted granted Critical
Publication of JP2645194B2 publication Critical patent/JP2645194B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

PURPOSE:To dispense with ROM replacement by reading the control program, data, and identification code in a program rewriting floppy disk with a floppy disk device, and rewriting them in a ROM. CONSTITUTION:A CPU 12 performs the initialization process and clears the preset memory content of a RAM 14. The program film name is read out from floppy disks 11a, 11b after the necessary items are confirmed, and which memory IC in a ROM 13 is the rewritten address is judged from the file name. 'OOH' is written in all bytes of the memory IC of the rewritten address, then the erasing/verifying processes are performed for each byte. The program data to be stored in the floppy disks 11a, 11b are transferred and written to the memory IC in the ROM 13 for each byte and confirmed by the verifying process. The control program can be changed without exchanging the ROM 13.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、電子秤装置に関し、
特に、フロッピディスク装置を備え、作業予約データや
集計データがフロッピディスクに記憶されるようになっ
ている電子秤装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to an electronic balance device,
In particular, the present invention relates to an electronic scale device that is equipped with a floppy disk device and that allows work reservation data and aggregate data to be stored in the floppy disk device.

【0002】[0002]

【従来の技術】近年、CPU(中央処理装置)やROM
(リード・オンリ・メモリ)等を内蔵して、マイクロコ
ンピュータ(マイコン)・システムによって動作する電
子秤装置が提供されている。この種の電子秤装置は、用
途・機能に応じて、電子料金秤や電子計数秤とも呼ば
れ、CPUがROMに記憶されている制御プログラム
(ファームウエア)を実行することによって、所定のマ
イコン制御を行う。
2. Description of the Related Art In recent years, CPUs (Central Processing Units) and ROMs
2. Description of the Related Art There is provided an electronic weighing device having a (read only memory) and the like built therein and operated by a microcomputer system. This kind of electronic balance device is also called an electronic charge balance or an electronic counting balance according to the use and function, and the CPU executes a control program (firmware) stored in the ROM to control a predetermined microcomputer. I do.

【0003】一方、上記マイコン制御機能に加えて、フ
ロッピディスク装置(FDD)を備え、プリセットデー
タ、作業予約データ、集計データ(実績データ)等をフ
ロッピディスク(FD)に記憶する電子秤装置も開発さ
れている(実開昭63−67938号公報)。
On the other hand, in addition to the above-mentioned microcomputer control function, an electronic scale device having a floppy disk device (FDD) for storing preset data, work reservation data, total data (actual data), etc. in the floppy disk (FD) has been developed. (Japanese Utility Model Publication No. 63-67938).

【0004】ところで、上記いずれの電子秤装置におい
ても、上記内臓ROMとして、書き込み可能なPROM
(Programmable ROM)が使用されている。そして、上記
各装置にあっては、制御プログラムのバグやバージョン
アップ(仕様変更)等によってPROMの記憶内容(制
御プログラム)を変更する必要性が生じた場合には、P
ROMを交換することで対処している。
By the way, in any of the electronic weighing devices described above, a writable PROM is used as the built-in ROM.
(Programmable ROM) is used. In each of the above devices, if it is necessary to change the stored contents (control program) of the PROM due to a bug in the control program, version upgrade (specification change), or the like, P
This is dealt with by replacing the ROM.

【0005】[0005]

【発明が解決しようとする課題】しかしながら、上記従
来の装置においては、PROMを交換することによりプ
ログラムを変更する場合に、次のような不都合が指摘さ
れていた。 (1)装置の内部を開け、基板を取り出して作業をしな
ければならず、交換作業時に回路に関する特別な知識と
技術を必要とする。
However, in the above conventional device, the following problems have been pointed out when the program is changed by replacing the PROM. (1) It is necessary to open the inside of the device, take out the substrate and perform the work, and special knowledge and technology regarding the circuit are required during the replacement work.

【0006】(2)ROM交換時、CPUの端子をショ
ートさせてCPUを破損したり、ROMをソケットには
め込む時に端子を折り曲げてROMを破損することがあ
る。
(2) When replacing the ROM, the terminals of the CPU may be short-circuited to damage the CPU, or the terminals may be bent when the ROM is fitted into the socket to damage the ROM.

【0007】(3)工場等でPROMにプログラムを書
き込んだ後、それをユーザのところに持って行って交換
しなければならず、PROMの保管、管理、運搬等が面
倒である。
(3) After the program is written in the PROM at the factory or the like, the program must be brought to the user for replacement, and the storage, management, and transportation of the PROM are troublesome.

【0008】この発明は、上記事情に鑑みてなされたも
ので、ROMを交換することなく、制御プログラムの変
更をすることができる、マイコン制御の電子秤装置を提
供することを目的としている。
The present invention has been made in view of the above circumstances, and an object of the present invention is to provide a microcomputer-controlled electronic weighing device capable of changing a control program without replacing a ROM.

【0009】[0009]

【課題を解決するための手段】上記課題を解決するため
に、請求項1記載の発明は、装置各部を制御する中央処
理装置と当該中央処理装置が実行する制御プログラムや
データを記憶するROMと作業データ、実績データ、計
量データ等の各種データをフロッピディスクに記憶する
フロッピディスク装置とを有し、小型コンピュータ・シ
ステムによって動作する電子秤装置において、上記RO
Mは、各々オンボードで記憶内容を書き換えることがで
きる複数のフラッシュメモリICチップからなると共
に、新しく書き込まれるべき制御プログラムあるいはデ
ータとその制御プログラムあるいはデータの書き込み先
であるフラッシュメモリICチップを識別するための識
別コードとを予め記憶するプログラム書き換え用フロッ
ピディスクと、上記プログラム書き換え用フロッピディ
スクから上記フロッピディスク装置を介して上記新しい
制御プログラムあるいはデータ及び識別コードを読み出
して、読み出した識別コードに該当する上記フラッシュ
メモリICチップの記憶内容を、上記新しい制御プログ
ラムあるいはデータに書き換える書換手段とを備えてな
ることを特徴としている。
In order to solve the above-mentioned problems, an invention according to claim 1 is to provide a central processing unit for controlling each part of the apparatus and a ROM for storing a control program and data executed by the central processing unit. An electronic weighing device having a floppy disk device for storing various data such as work data, performance data, and weighing data in a floppy disk, which is operated by a small computer system.
M is composed of a plurality of flash memory IC chips each capable of rewriting the stored contents onboard, and identifies a control program or data to be newly written and a flash memory IC chip to which the control program or data is written. And a new control program or data and an identification code are read from the program rewriting floppy disk via the floppy disk device and correspond to the read identification code. Rewriting means for rewriting the stored contents of the flash memory IC chip to the new control program or data is characterized.

【0010】請求項2記載の発明は、上記書換手段は、
少なくとも上記ROMに記憶され、かつ消去することが
できないプログラムを備えてなるものであることを特徴
としている。
According to a second aspect of the invention, the rewriting means is:
It is characterized in that it comprises at least a program which is stored in the ROM and cannot be erased.

【0011】請求項3記載の発明は、上記書換手段が備
える上記プログラムは、上記制御プログラムあるいはデ
ータが記憶されている上記フラッシュメモリICチップ
に記憶されていることを特徴としている。
The invention according to claim 3 is characterized in that the program provided in the rewriting means is stored in the flash memory IC chip in which the control program or data is stored.

【0012】請求項4記載の発明は、上記書換手段が備
える上記プログラムは、上記制御プログラムあるいはデ
ータが記憶されている上記フラッシュメモリICチップ
とは別のROMチップに記憶されていることを特徴とし
ている。
The invention according to claim 4 is characterized in that the program provided in the rewriting means is stored in a ROM chip different from the flash memory IC chip in which the control program or data is stored. There is.

【0013】また、請求項5記載の発明は、上記書換手
段は、予め決められている暗唱番号が入力されたときに
のみ動作することを特徴としている。
Further, the invention according to claim 5 is characterized in that the rewriting means operates only when a predetermined code number is inputted.

【0014】[0014]

【作用】上記発明の構成において、ROM(フラッシュ
メモリ)に格納された制御プログラムに変更の必要が生
じた場合、上記書換手段が、プログラム書き換え用フロ
ッピディスクから新しい制御プログラムを読み出して、
読み出した識別コードに該当する上記フラッシュメモリ
ICチップの記憶内容を上記新しい制御プログラムに書
き換える。
In the above configuration of the invention, when the control program stored in the ROM (flash memory) needs to be changed, the rewriting means reads a new control program from the program rewriting floppy disk,
The stored content of the flash memory IC chip corresponding to the read identification code is rewritten to the new control program.

【0015】したがって、ROMチップを交換すること
なく、また他の書換装置を使用することもなく、電子秤
装置自体で制御プログラムの書き換えを行うことができ
る。それゆえ、ROMチップを交換することによって生
じる不都合、すなはち、交換作業の煩雑さ、CPUやR
OMの破損の虞れ、及びROMの保管、管理、運搬の面
倒等の不都合を全て解消することができる。
Therefore, the control program can be rewritten by the electronic weighing device itself without replacing the ROM chip or using another rewriting device. Therefore, the inconvenience caused by exchanging the ROM chip, that is, the complexity of the exchanging work, the CPU and the R
All the inconveniences such as the risk of damage to the OM and troublesome storage, management, and transportation of the ROM can be eliminated.

【0016】[0016]

【実施例】以下、図面を参照してこの発明の実施例につ
いて説明する。機械的構成 図1はこの発明の一実施例である電子秤装置の外観構成
を示す斜視図である。この図に示すように、電子秤装置
は、本体部1と付属部2とからなっている。上記本体部
1は、上段部1a及び下段部1bを有し、上段部1aに
は計量部を構成する第1スケール3及び第2スケール4
が、また下段部1bには操作部5及び表示部を構成する
ドットディスプレイ6が設けられている。上記付属部2
には、計量部を構成する第3スケール7が設けられてい
る。上記第1スケール3は最大500gまで、第2スケ
ール4は最大3,000gまで、また第3スケール7
は、最大5,000gまで、各々秤量できるように構成
されている。上記操作部5は、タッチパネル8、第1操
作部9及び第2操作部10を備えている。上記ドットデ
ィスプレイ6は、重量や単位重量等のデータの表示や風
袋引中等の各種の状態表示を行う。上記タッチパネル8
は、ドットディスプレイ6上に配設されており、表示画
面に表示されるキートップ表記部をオペレータが触れる
と当該部分の項目が入力されるようになっている。
Embodiments of the present invention will be described below with reference to the drawings. Mechanical Structure FIG. 1 is a perspective view showing the external structure of an electronic weighing device according to an embodiment of the present invention. As shown in this figure, the electronic scale device comprises a main body 1 and an accessory 2. The main body portion 1 has an upper step portion 1a and a lower step portion 1b, and the upper step portion 1a has a first scale 3 and a second scale 4 which constitute a weighing section.
However, the lower part 1b is provided with an operation part 5 and a dot display 6 which constitutes a display part. Above attachment 2
Is provided with a third scale 7 that constitutes a weighing unit. The first scale 3 has a maximum weight of 500 g, the second scale 4 has a maximum weight of 3,000 g, and the third scale 7 has a maximum weight of 3,000 g.
Is configured to weigh up to 5,000 g each. The operation unit 5 includes a touch panel 8, a first operation unit 9 and a second operation unit 10. The dot display 6 displays data such as weight and unit weight, and displays various states such as tare weight cancellation. Touch panel 8
Is arranged on the dot display 6, and when the operator touches the key top notation portion displayed on the display screen, the item of the portion is input.

【0017】さらに、上記本体部1の正面下部にはフロ
ッピディスク11a,11bを駆動するフロッピディス
ク装置が2台備えられている。これらのフロッピディス
ク装置は、フロッピディスク11a,11bの挿入方向
を示す矢印A,Bの方向にあるが、図1では操作部5等
に隠れて見えない。上記フロッピーディスク11a,1
1bは、交換用の制御プログラムやプリセットデータ、
作業予約データ、集計データ(実績データ)等の格納に
用いられるが、この実施例においては前者の格納用とし
て、特に、重要である。
Further, two floppy disk devices for driving the floppy disks 11a and 11b are provided on the lower front portion of the main body 1. These floppy disk devices are in the directions of arrows A and B indicating the inserting directions of the floppy disks 11a and 11b, but are hidden by the operation unit 5 and the like in FIG. The floppy disk 11a, 1
1b is a replacement control program or preset data,
It is used for storing work reservation data, total data (actual data), etc., but in this embodiment, it is particularly important for storing the former.

【0018】電気的構成 次に、図2を参照して、この例の電子秤装置の電気的構
成について説明する。同図において、CPU12は、R
OM13に格納された制御プログラムに従って、RAM
(ランダム・アクセス・メモリ)14をワークエリアと
して処理を行うことにより、装置各部を制御する。
Electrical Configuration Next, with reference to FIG. 2, an electrical configuration of the electronic scale device of this example will be described. In the figure, the CPU 12
RAM according to the control program stored in OM13
By controlling the (random access memory) 14 as a work area, each part of the apparatus is controlled.

【0019】ROM13は、計量処理、印字処理、表示
処理及びデータの書込み処理等を制御する制御プログラ
ムエリアと、文字パターン等を記憶するテーブルエリア
とから構成されている。また、制御プログラムエリアの
中には、ROM13の記憶内容自身を書き換える書き換
え処理プログラムも格納されている。ROM13の構成
はこの発明において特に重要であるので後述する。
The ROM 13 is composed of a control program area for controlling measurement processing, printing processing, display processing, data writing processing, and the like, and a table area for storing character patterns and the like. Further, in the control program area, a rewriting processing program for rewriting the contents stored in the ROM 13 itself is also stored. The structure of the ROM 13 is particularly important in the present invention and will be described later.

【0020】RAM14は、各種のフラグやレジスタが
確保されたワーキングエリアと、プリセットデータを格
納するためのプリセットデータファイルと、集計データ
を格納するための集計データファイルと、予約データを
格納するための予約データファイルとから構成されてい
る。
The RAM 14 has a working area in which various flags and registers are secured, a preset data file for storing preset data, a total data file for storing total data, and a reserved data. It consists of a reservation data file.

【0021】計量部15は、第1スケール3、第2スケ
ール4、第3スケール7及び計量部インタフェイス(不
図示)からなり、被計量物を搭載して計量を行い、その
際発生する信号(計量値)をCPU12に送出する。
The weighing unit 15 comprises a first scale 3, a second scale 4, a third scale 7 and a weighing unit interface (not shown). The weighing unit 15 is loaded with an object to be weighed, and a signal generated at that time is generated. The (measured value) is sent to the CPU 12.

【0022】表示部16は、ドットディスプレイ6と表
示部インタフェイス(不図示)とからなり、CPU12
から受け取る制御信号に基づいて各種の表示を行う。
The display section 16 comprises a dot display 6 and a display section interface (not shown).
Various displays are performed based on the control signal received from.

【0023】上述した操作部5は、オペレータによって
キー操作ないしタッチ操作されることにより各種データ
やコマンドの入力を行う。
The above-mentioned operation unit 5 is operated by a key operation or a touch operation by an operator to input various data and commands.

【0024】プリンタ・インタフェイス17は、CPU
12とプリンタ(外部機器)18との間の交信を可能と
するために、両者の間に介挿される。上記プリンタ18
は、プリントキーが押されるとRAM14からの入庫あ
るいは出庫に関する情報をプリンタ・インタフェイス1
7を介して受け取り、入庫票あるいは出庫票を印字す
る。
The printer interface 17 is a CPU
In order to enable communication between the printer 12 and the printer (external device) 18, it is interposed between the two. The printer 18
When the print key is pressed, the printer interface 1 displays the information regarding the entry or exit from the RAM 14.
It receives via 7, and prints the receipt slip or the exit slip.

【0025】回転ラック・インタフェイス19は、CP
U12と回転ラック20との間の交信を可能とするため
に、両者の間に介挿される。外部機器としての回転ラッ
ク20は、回転ラックインターフェイス19を介して棚
番号データを受け取り、その棚番号データに基づいて棚
の回転制御を行う(特願平1−225548号参照)。
The rotating rack interface 19 is a CP
It is interposed between the U12 and the carousel 20 to allow communication. The carousel 20 as an external device receives the shelf number data via the carousel interface 19 and controls the rotation of the shelves based on the shelf number data (see Japanese Patent Application No. 1-225548).

【0026】フロッピディスク装置21a,21bは、
フロッピディスク11a,11bを装着することによ
り、フロッピディスク・インタフェイス22を介してC
PU12との間でデータの授受を行う。この例のフロッ
ピディスク装置21a,21bとしては、コントロール
信号によって、2M/1.6Mモードの切り替えが可能
なものが用いられる(例えば、アルプス電気(株)製の
DFR783F)。
The floppy disk devices 21a and 21b are
By installing the floppy disks 11a and 11b, C can be transferred via the floppy disk interface 22.
Data is exchanged with the PU 12. As the floppy disk devices 21a and 21b in this example, those capable of switching the 2M / 1.6M mode by a control signal are used (for example, DFR783F manufactured by Alps Electric Co., Ltd.).

【0027】メモリマップのエリア構成 図3は、この例におけるメモリマップのエリア構成を示
す概念図である。この例においては、CPU12として
インテル社製の8086系のCPUを用いている関係か
ら、同図に示すように、1Mバイトのアドレス空間が設
定され、このうち、RAM14には「00000」から
「5FFFF」までのアドレス空間が、ROM13には
「60000」から「FFFFF」までのアドレス空間
が割り当てられている。
Area Configuration of Memory Map FIG. 3 is a conceptual diagram showing the area configuration of the memory map in this example. In this example, since an Intel 8086 CPU is used as the CPU 12, an address space of 1 Mbyte is set as shown in the figure, and among these, the RAM 14 includes "00000" to "5FFFF. , And an address space from “60000” to “FFFFF” is allocated to the ROM 13.

【0028】ROM14は、1個のブート・ブロック・
フラッシュメモリIC(#1)と4個のフラッシュメモ
リIC(#2,#3,#4,#5)とから構成され、各フ
ラッシュメモリIC(#1,#2,#3,#4,#5)は、
いずれも1Mビット(128bytes×8)の記憶容量を
有している。ここで、フラッシュメモリ(#1,#2,#
3,#4,#5)は、チップ単位のデータをオンボードで
書き換えることができる不揮発性メモリであり、その基
本構造はEEPROM(電気的に消去可能で、書き込み
可能な読出専用メモリ)と同一である。
The ROM 14 has one boot block
Each of the flash memory ICs (# 1, # 2, # 3, # 4, #) is composed of a flash memory IC (# 1) and four flash memory ICs (# 2, # 3, # 4, # 5). 5) is
Both have a storage capacity of 1 Mbit (128 bytes × 8). Here, flash memory (# 1, # 2, #
3, # 4, # 5) are non-volatile memories that can rewrite data in chip units on-board and have the same basic structure as EEPROM (electrically erasable and writable read-only memory). Is.

【0029】それ故、この例においては、装置内蔵のC
PU12自身によって、ROM13の記憶内容を、チッ
プ単位で(フラッシュメモリIC(#1,#2,#3,#
4,#5)毎に)、直接(オンボードで)書き換えるこ
とができるように構成されている。
Therefore, in this example, the device built-in C
By the PU 12 itself, the storage contents of the ROM 13 are stored in units of chips (flash memory ICs (# 1, # 2, # 3, #
Every 4 and # 5)), it can be directly (onboard) rewritten.

【0030】上記フラッシュメモリIC(#1,#2,#
3,#4,#5)のうち、特に、ブート・ブロック・フラ
ッシュメモリ#1は、同図に示すように、メモリエリア
が、8Kバイトのロッカブルブロック1個と4Kバイト
のパラメータブロック2個と112Kバイトのメインコ
ードブロック1個とにブロック分けされて構成され、ブ
ロック毎に消去、書き込みを行うことができるようにな
っている。
The flash memory IC (# 1, # 2, #
3), # 4, # 5), the boot block flash memory # 1 has a lockable block of 8 Kbytes and two parameter blocks of 4 Kbytes, as shown in FIG. The main code block of 112 Kbytes is divided into blocks, and erasing and writing can be performed for each block.

【0031】この実施例においては、これらのブロック
のうち、上記ロッカブルブロックは、ハード的に「消去
不可」に構成され、このエリアには後述するフラッシュ
メモリの書き換え処理プログラム(消去・書き込み処理
プログラム)が予め記憶されている。
In this embodiment, of these blocks, the lockable block is hardware-configured to be "non-erasable", and a flash memory rewriting processing program (erasing / writing processing program to be described later) is set in this area. ) Is stored in advance.

【0032】この書き換え処理プログラムは、電子秤装
置の電源をオンにした時に、所定のキー、この実施例に
おいては「ゼロー」キー(秤のゼロリッセトキー)が押
下した状態にある場合に実行されるようになっている。
This rewriting program is executed when a predetermined key, that is, a "zero" key (zero reset key of the scale) in this embodiment, is depressed when the electronic scale device is powered on. It has become so.

【0033】なお、ブート・ブロックフラッシュメモリ
としては、例えば、インテル社製「28F001BXフ
ラッシュ・メモリ」が存在する。
As the boot block flash memory, there is, for example, "28F001BX flash memory" manufactured by Intel Corporation.

【0034】フラッシュメモリの原理説明 次に、フラッシュメモリの動作について説明する。上述
したように、この例の電子秤装置においては、装置内蔵
のCPU12自身によって、フラッシュメモリIC(#
1,#2,#3,#4,#5)の記憶内容を直接書き換える
(消去後書き込みを行う)ことができる。
Description of Principle of Flash Memory Next, the operation of the flash memory will be described. As described above, in the electronic balance device of this example, the flash memory IC (#
It is possible to directly rewrite the stored contents (1, # 2, # 3, # 4, # 5) (write after erasing).

【0035】この例においては、消去・書き込み時に
は、読み出し時の電圧Vcc(=5V)の他に高電圧Vpp
(=12V)を印加する。例えばインテル社製のフラッ
シュメモリでは、Vpp端子に12Vを印加した状態で、
ROMの所定のアドレスを指定して、消去コマンドを2
回書き込むと、そのアドレスのデータが消去される。消
去処理時における指定されたメモリセルにおいては、ゲ
ートは接地されドレインは開放状態とされ、ソースには
高電圧Vpp(=12V)が印加される。かくして、フロ
ーティングゲートに蓄積した電子はソースに引き抜か
れ、消去が達成される。
In this example, at the time of erasing / writing, in addition to the voltage Vcc (= 5V) at the time of reading, a high voltage Vpp
(= 12V) is applied. For example, in an Intel flash memory, with 12V applied to the Vpp terminal,
Specify the specified address in the ROM and enter the erase command 2
Writing twice erases the data at that address. In the specified memory cell at the time of erase processing, the gate is grounded, the drain is open, and the high voltage Vpp (= 12V) is applied to the source. Thus, the electrons accumulated in the floating gate are drawn to the source, and the erase is achieved.

【0036】また、新しいプログラム・データの書き込
みは、プログラム・データを消去後、所定のアドレスを
指定して、プログラムコマンドを1回書き込んだ後、次
にプログラム・データを書き込むことによって行われ
る。書き込み処理時における指定されたメモリセルにお
いては、ゲートには高電圧Vpp(=12V)が、ドレイ
ンには例えば5V〜6Vがそれぞれ印加される。かくし
て、ドレイン近傍に発生したホットエレクトロンがフロ
ーティングゲートに注入され書き込みが達成される。
Writing of new program data is performed by erasing the program data, writing a program command once by designating a predetermined address, and then writing the program data next. In the designated memory cell during the writing process, a high voltage Vpp (= 12V) is applied to the gate and 5V to 6V is applied to the drain, respectively. Thus, hot electrons generated near the drain are injected into the floating gate to complete writing.

【0037】なお、消去時及び書き込み時には、それぞ
れ消去動作及び書き込み動作が正常に行わたかを確認す
るためにベリファイ処理が行われるようになっている。
また、上述の消去に際しては、全てのメモリセルの電荷
を等しくし、均一で信頼性のある消去を行うために、消
去する前に、全ての番地に「00H」を書き込むように
している(フラッシュメモリでは、各ビットデータを消
去すると「1」、書き込むと「0」である)。
At the time of erasing and writing, verify processing is performed to confirm whether the erasing operation and the writing operation are normally performed.
Further, in the above-mentioned erasing, in order to make the charges of all the memory cells equal and to perform uniform and reliable erasing, "00H" is written in all the addresses before erasing (flash In the memory, it is "1" when each bit data is erased and "0" when written.)

【0038】一方、Vpp端子の電圧がVcc+2V(7
V)以下になると、リードオンリメモリとして動作す
る。読み出しは、ゲートに低電圧(Vcc+2V以下)が
印加され、スレッシュホールド電圧の高低に応じたドレ
イン電圧のON/OFFを増幅器によって検出すること
により行われる。
On the other hand, the voltage at the Vpp terminal is Vcc + 2V (7
V) or less, it operates as a read-only memory. Reading is performed by applying a low voltage (Vcc + 2V or less) to the gate and detecting ON / OFF of the drain voltage according to the level of the threshold voltage with an amplifier.

【0039】ROM周辺の電気的構成 図4は、ROM周辺の電気的構成を示すブロック図であ
る。同図において、デコーダ23はCPU12からアド
レスの指定を受けると、該当するフラッシュメモリIC
(#1,#2,#3,#4,#5)を選択するチップセレク
ト信号を発生する。このチップセレクト信号は、各CE
端子から各フラッシュメモリIC(#1,#2,#3,#
4,#5)に入力される。WE(ライトイネーブル)信
号発生回路24は、指定を受けたフラッシュメモリIC
を書き込み可能な状態にするライトイネーブル信号WE
を発生する。このライトイネーブル信号WEは、各WE
端子から各フラッシュメモリIC(#1,#2,#3,#
4,#5)に入力される。Vpp発生回路25は、消去及
び書き込み用の電圧Vppを発生する。
Electrical Configuration around ROM FIG. 4 is a block diagram showing an electrical configuration around the ROM. In the figure, when the decoder 23 receives an address designation from the CPU 12, the corresponding flash memory IC
A chip select signal for selecting (# 1, # 2, # 3, # 4, # 5) is generated. The chip select signal, each CE
From each terminal to each flash memory IC (# 1, # 2, # 3, #
4, # 5). The WE (write enable) signal generation circuit 24 is a flash memory IC that has been designated.
Write enable signal WE for setting the writable state
To occur. This write enable signal WE corresponds to each WE
From each terminal to each flash memory IC (# 1, # 2, # 3, #
4, # 5). The Vpp generating circuit 25 generates a voltage Vpp for erasing and writing.

【0040】フロッピディスクの構成 この例においては、フロッピディスク11a,11bに
記憶されたプログラムファイルをフラッシュメモリ(#
1,#2,#3,#4,#5)に書き込むが、図3に示した
メモリマップの構成から、128Kバイト単位(ROM
チップ単位)での書き換えが可能となっている。このた
め、フロッピディスク11a,11bに記憶させるプロ
グラムファイルの名前から、どのフラッシュメモリIC
チップを書き換えるかの識別ができるようになってい
る。
Structure of Floppy Disk In this example, the program files stored in the floppy disks 11a and 11b are stored in a flash memory (#
1, # 2, # 3, # 4, # 5), but from the configuration of the memory map shown in FIG.
Rewriting is possible in chip units. Therefore, from the name of the program file to be stored in the floppy disks 11a and 11b, which flash memory IC
It is possible to identify whether to rewrite the chip.

【0041】例えば、プログラムファイル名は、DC#
N.CONと書かれるようになっている。ここで、N=
1,2,3,4,5である。例えば、プログラムファイル名
として、DC#3.CONが書き込まれている場合に
は、フラッシュメモリIC(#3)の記憶内容を書き換え
るためのプログラムファイルであることを示している。
For example, the program file name is DC #
N. It is now written as CON. Where N =
They are 1, 2, 3, 4, and 5. For example, as the program file name, DC # 3. When CON is written, it indicates that the program file is for rewriting the stored contents of the flash memory IC (# 3).

【0042】次に、動作について説明する。フラッシュメモリの書き換え処理手順 図5のフローチャートを参照して、フラッシュメモリの
書き換え(消去・書き込み)処理手順について説明す
る。電源が投入されると、CPUは、まず、ステップS
A1においてイニシャライズ処理を実行する。これによ
ってRAM14の所定の記憶内容がクリアされる。ステ
ップSA2において、操作部5の「ゼロ」キーがON状
態であるか否かが判断される。この判断の結果が「N
O」の時、すなわち「ゼロ」キーがOFF状態となって
いる時は、通常の処理ルーチンを実行する。
Next, the operation will be described. Flash Memory Rewriting Process Procedure A flash memory rewriting (erasing / writing) process procedure will be described with reference to the flowchart of FIG. When the power is turned on, the CPU firstly executes step S
Initialization processing is executed in A1. As a result, the predetermined contents stored in the RAM 14 are cleared. In step SA2, it is determined whether or not the "zero" key of the operation unit 5 is in the ON state. The result of this judgment is "N
When it is "O", that is, when the "zero" key is in the OFF state, the normal processing routine is executed.

【0043】一方、ステップSA2において、「YE
S」の判断結果が得られた時、すなわち「ゼロ」キーが
ON状態となっている時は、ステップSA3以下のルー
チンが実行され、ステップSA3においてフロッピディ
スクからプログラムファイル名が読み取られる。
On the other hand, in step SA2, "YE
When the determination result of "S" is obtained, that is, when the "zero" key is in the ON state, the routines from step SA3 are executed, and the program file name is read from the floppy disk in step SA3.

【0044】ステップSA4のルーチンにおいては、読
み取られたフロッピディスクのプログラムファイル名か
ら書き換え先はどのROMチップ(メモリブロック)で
あるかが判断される。例えば、ステップSA3におい
て、プログラムファイル名としてDC#2.CONが読
み取られると、CPU12は、「書き換え先のROMチ
ップは番号#2のフラッシュメモリICである」ことを
認識する。
In the routine of step SA4, it is judged which ROM chip (memory block) is the rewriting destination from the program file name of the read floppy disk. For example, in step SA3, DC # 2. When CON is read, the CPU 12 recognizes that "the ROM chip to be rewritten is the flash memory IC of number # 2".

【0045】次に、ステップSA5において、CPU1
2は、プログラム・データ消去の前処理として、書き換
え先の番号#1のフラッシュメモリIC(メモリブロッ
ク)の全てのバイトに「00H」を書き込む。この処理
は、上記したように、全てのメモリセルの電荷を等しく
し、均一で信頼性のある消去を行うためである。
Next, in step SA5, the CPU 1
2 writes "00H" in all bytes of the flash memory IC (memory block) of the rewriting destination number # 1 as a pre-process for erasing the program / data. This processing is for equalizing the charges of all the memory cells and performing uniform and reliable erasing, as described above.

【0046】ステップSA6においては、バイト毎に消
去・ベリファイ処理が実行される。この処理は、消去が
正常に達成されたかを確認するためである。
At step SA6, the erase / verify process is executed for each byte. This process is to confirm whether the erasure has been normally achieved.

【0047】次に、ステップSA7へ移り、フロッピデ
ィスクに記憶されるプログラム・データを、バイト毎
に、番号#2のフラッシュメモリICに転送して書き込
み、書き込んだ後、ベリファイ処理を実行して書き込み
が正常に達成されたかを確認する(詳細は後述)。
Next, in step SA7, the program data stored in the floppy disk is transferred byte by byte to the flash memory IC of number # 2 for writing and writing, and then the verify process is executed for writing. Confirm whether the above was achieved normally (details will be described later).

【0048】CPU12は、ステップSA7の書き込み
・ベリファイ処理が全てのバイトについて終了すると、
ステップSA8へ進み、「書換処理が終了した旨」をド
ットディスプレイ6に表示する。
When the write / verify process in step SA7 is completed for all bytes, the CPU 12
The process proceeds to step SA8, and "dot rewriting processing is completed" is displayed on the dot display 6.

【0049】ドットディスプレイ6は、この時、「書換
処理が終了した旨」を表示すると共に、通常の処理へ移
行するための操作、例えば、「*」キーを押すことを指
示するガイドメッセージを表示する。
At this time, the dot display 6 displays "the rewriting process has been completed" and an operation for shifting to the normal process, for example, a guide message for instructing to press the "*" key. To do.

【0050】そこで、オペレータが、「*」キーを押下
すると、通常の処理プログラム(上記ステップSA1〜
ステップSA8の処理によって書き換えられた処理プロ
グラム)が実行される。なお、フラッシュメモリの消去
・書き込み処理中は表示部にその旨表示し、またブザー
を鳴らすようになっている。
Therefore, when the operator presses the "*" key, a normal processing program (steps SA1 to SA1 above) is executed.
The processing program rewritten by the processing in step SA8) is executed. During the erasing / writing process of the flash memory, a message to that effect is displayed on the display unit and a buzzer sounds.

【0051】書き込み処理手順の詳細 次に、図6のフローチャートを参照して、プログラム・
データの書き込み処理手順(図5のステップSA7のル
ーチン)についてさらに詳述する。CPU12は、図5
のステップSA7のルーチンに移ると、まず、Vpp発生
回路25を「ON」として、フラッシュメモリIC(#
2)のVpp端子(図4)に電圧を印加する(ステップS
B1)。
Details of Write Processing Procedure Next, referring to the flowchart of FIG.
The data write processing procedure (routine of step SA7 in FIG. 5) will be described in more detail. The CPU 12 is shown in FIG.
When the routine proceeds to the step SA7, first, the Vpp generation circuit 25 is turned on, and the flash memory IC (#
2) Apply voltage to Vpp terminal (Fig. 4) (step S)
B1).

【0052】次に、書き込みが行われるべきフラッシュ
メモリIC(#2)の先頭アドレス(ステップSB
2)、及び書き込みデータをセットする(ステップSB
3)。ここで、書き込みデータは、いったんフロッピデ
ィスクからRAM14に転送され、RAM14からバイ
ト毎に読み出されてセットされるようになっている。
Next, the start address of the flash memory IC (# 2) to be written (step SB
2) and write data is set (step SB
3). Here, the write data is once transferred from the floppy disk to the RAM 14, read from the RAM 14 for each byte, and set.

【0053】CPU12は、上記セットが終了すると、
ライトコマンドをフラッシュメモリIC(#2)に送出
して(ステップSB4)、次いでプログラム・データの
書き込みを行う(ステップSB5)。
Upon completion of the above setting, the CPU 12
A write command is sent to the flash memory IC (# 2) (step SB4), and then program data is written (step SB5).

【0054】プログラム・データの書き込みが終わる
と、ベリファイコマンドをフラッシュメモリIC(#
2)に送出し(ステップSB6)、次いでプログラム・
データの読み込みを行う(ステップSB7)。
When the program / data writing is completed, the verify command is issued to the flash memory IC (#
2) (step SB6), then program
Data is read (step SB7).

【0055】CPU12は、プログラム・データを読み
込むと、読み込んだプログラム・データが、ステップS
B1において書き込んだプログラム・データと一致して
いるか否かを判断する(ステップSB8)。
When the CPU 12 reads the program data, the read program data is displayed in step S
It is determined whether or not it matches the program data written in B1 (step SB8).

【0056】ステップSB8における判断の結果が「Y
ES」、すなわち両データが一致したときは、書き換え
が全てのアドレスについて終了したかが判断され(ステ
ップSB9)。ステップSB9における判断の結果が
「YES」、すなわち、全てのアドレスについて書き換
えが終了している時は、Vpp発生回路25を「OFF」
として、当該書き込み処理を終了し、上記したステップ
SA8(図5)の「書換処理が終了した旨」を表示する
処理に移行する。
The result of the judgment in step SB8 is "Y
ES ", that is, when the two data match, it is determined whether the rewriting has been completed for all addresses (step SB9). When the result of the determination in step SB9 is "YES", that is, when the rewriting has been completed for all the addresses, the Vpp generation circuit 25 is "OFF".
As a result, the writing process is ended, and the process proceeds to the process of displaying "the effect of the rewriting process" in step SA8 (FIG. 5) described above.

【0057】一方、ステップSB9における判断の結果
が「NO」、すなわち、書き換えが終了していないアド
レスが未だ存在する時は、ステップSB2においてセッ
トされたアドレスを更新(ステップSB10)する。こ
の後、該当する書き込みデータをセット(ステップSB
3)して、上述の処理(ステップSB4〜ステップSB
9)を再び繰り返す。
On the other hand, if the result of the determination in step SB9 is "NO", that is, if there is an address whose rewriting has not been completed, the address set in step SB2 is updated (step SB10). Then, set the corresponding write data (step SB
3) and then the above-mentioned processing (step SB4 to step SB)
Repeat 9) again.

【0058】このようにして、ステップSB9における
判断の結果が「YES」になるまで、すなわち、全ての
アドレスについて書き換えが終了するまで、ステップS
B10,ステップSB4〜ステップSB9の処理を繰り
返す。
In this way, step S9 is performed until the result of the determination in step SB9 becomes "YES", that is, until the rewriting of all addresses is completed.
B10, Steps SB4 to SB9 are repeated.

【0059】一方、ステップSB8における判断の結果
が「NO」、すなわち読み込んだプログラム・データと
書き込んだプログラム・データが一致しないたときは、
再度ライトコマンドをフラッシュメモリIC(#1)に
送出(ステップSB4)して、上述の書き込み・ベリフ
ァイ処理(ステップSB5〜ステップSB8)を繰り返
す。
On the other hand, when the result of the judgment in step SB8 is "NO", that is, when the read program data and the written program data do not match,
The write command is again sent to the flash memory IC (# 1) (step SB4), and the above-described write / verify processing (steps SB5 to SB8) is repeated.

【0060】このようにして、ステップSB8における
判断の結果が「YES」になるまで、すなわち、読み込
んだプログラム・データと書き込んだプログラム・デー
タが一致するまで、ステップSB4〜ステップSB8の
処理を繰り返す。
In this way, steps SB4 to SB8 are repeated until the result of the determination in step SB8 becomes "YES", that is, until the read program data and the written program data match.

【0061】上記構成によれば、ROMチップを交換す
ることなく、また、他の書換装置を使用することもな
く、電子秤装置自体で制御プログラムの変更をすること
ができる。なお、通常ROMに記憶するのは、いわゆる
制御プログラムとこの制御プログラムで用いられる固定
的なデータ、例えば文字パターンデータ、郵便料金秤の
郵便料金データ等であり、これらのデータの変更も同様
に行なうことができる。、要するに、ROMの全ての記
憶内容を変更することができる。
According to the above configuration, the control program can be changed by the electronic weighing device itself without replacing the ROM chip or using another rewriting device. It should be noted that what is usually stored in the ROM is a so-called control program and fixed data used in this control program, such as character pattern data, postage data of a postage scale, and the like, and these data are similarly changed. be able to. In short, all the storage contents of the ROM can be changed.

【0062】また、この例の電子秤装置は、起動処理の
度に、制御プログラムをフロッピディスクからRAMに
アップロードして実行するものではなく、制御プログラ
ムは(不揮発性で、かつCPUの通常のSTORE命令
での書き込みができない)ROMに格納されているた
め、制御プログラムを変更するとき以外はフロッピディ
スク装置を拘束せず、このため、フロッピディスク装置
はROMの書込時以外は、プリセットデータ、作業予約
データ、集計データ等の記憶手段として使用することが
できる。
In addition, the electronic weighing apparatus of this example does not upload the control program from the floppy disk to the RAM and execute the program each time the starting process is performed, but the control program is non-volatile and is a normal STORE of the CPU. Since it is stored in the ROM (it cannot be written by an instruction), the floppy disk device is not restricted except when the control program is changed. Therefore, the floppy disk device does not store preset data and work except when writing to the ROM. It can be used as a storage means for reservation data, total data, and the like.

【0063】なお、上述の実施例においては、一のアド
レスに対して一のメモリをアクセスする場合について述
べたが、この例に限らず、例えば、同一アドレスに複数
のメモリ(バンク)を用意して、バンク切り替えによっ
て、必要なバンクをアクセスして使用するようにしても
良い。また、2つのROMチップを並列に用いて、一方
を16ビットのデータの上位バイト、他方を下位バイト
として用いても良い。
In the above embodiment, the case where one memory is accessed for one address has been described, but the present invention is not limited to this example. For example, a plurality of memories (banks) are prepared at the same address. Then, by switching the bank, the necessary bank may be accessed and used. Alternatively, two ROM chips may be used in parallel, one of which may be used as the upper byte of 16-bit data and the other of which may be used as the lower byte.

【0064】また、上述の実施例においては、1Mビッ
ト(128Kbytes×8)のフラッシュメモリICチップ
を用いて、128Kバイト単位で記憶内容の書き換えを
行うようにした場合について述べたが、これに限らず、
512Kビット以下のメモリICを用いて64Kバイト
単位で記憶内容の書き換えを行うようにしても良い。
Further, in the above-mentioned embodiment, the case where the memory contents are rewritten in units of 128 Kbytes using the flash memory IC chip of 1 Mbit (128 Kbytes × 8) has been described, but the present invention is not limited to this. No
The memory contents of 512 Kbits or less may be used to rewrite the stored contents in units of 64 Kbytes.

【0065】また、上述の実施例においては、フラッシ
ュメモリの書き換え処理プログラムは、フラッシュメモ
リのロッカブルブロックに固定的に記憶した場合につい
て述べたが、これに代えて、書き換え処理プログラムの
み別のROMチップに記憶するようにしても良い。
In the above embodiment, the rewriting processing program of the flash memory is fixedly stored in the lockable block of the flash memory. However, instead of this, only the rewriting processing program is stored in another ROM. It may be stored in a chip.

【0066】また、上述の実施例においては、フラッシ
ュメモリの書き換え処理プログラム自身は書き換えるこ
とができない例について述べたが、この例に限らず、フ
ラッシュメモリの記憶内容を全て(書き換え処理プログ
ラムを含めて)書き換えるようにしても良い。全ての書
き換えを行う場合には、フラッシュメモリの書き換え処
理プログラムを、まずフラッシュメモリからRAMにロ
ードし、このRAMにロードされた書き換え処理プログ
ラムを実行するようにすれば、当該フラッシュメモリの
記憶内容を全て書き換えることができる。
Further, in the above-described embodiment, an example in which the flash memory rewriting processing program itself cannot be rewritten has been described, but the present invention is not limited to this example, and the entire stored contents of the flash memory (including the rewriting processing program are included. ) It may be rewritten. When performing all rewriting, if the rewriting processing program of the flash memory is first loaded from the flash memory to the RAM and the rewriting processing program loaded in this RAM is executed, the stored contents of the flash memory will be changed. You can rewrite everything.

【0067】また、上述の実施例においては、図6及び
図7のフローチャートに示す手順に従ってフラッシュメ
モリの書き換え処理を行う場合について述べたが、これ
に限らず、例えば、日立製のフラッシュメモリがそうで
あるように、消去制御回路をICチップ内に構成して、
VPP端子へ電圧を印加して制御信号を供給するだけで消
去を行うようにしても良い。
Further, in the above-described embodiment, the case where the flash memory rewriting process is performed according to the procedure shown in the flowcharts of FIGS. 6 and 7 is described, but the present invention is not limited to this. As described above, the erase control circuit is configured in the IC chip,
The erasing may be performed only by applying a voltage to the VPP terminal and supplying a control signal.

【0068】さらにまた、図7のフローチャートに示す
ように、誤操作の発生を防止するために、予め登録され
ている暗号(コード)を入力した時にのみ(ステップS
C3〜ステップSC4)、ROMチップへの書き換え処
理が実行されるように構成しても良い。
Furthermore, as shown in the flowchart of FIG. 7, in order to prevent the occurrence of an erroneous operation, only when a code (code) registered in advance is input (step S
C3 to step SC4), the rewriting process to the ROM chip may be executed.

【0069】[0069]

【発明の効果】以上説明したように、この発明は、各々
オンボードでの書き換えが可能な複数のフラッシュメモ
リICチップによってROMを構成し、かつ、ROM
(フラッシュメモリ)に格納された制御プログラムに変
更の必要が生じた場合には、プログラム書き換え用フロ
ッピディスクから新しい制御プログラムを読み出して、
該当する上記フラッシュメモリICチップの記憶内容を
上記新しい制御プログラムに書き換える書換手段を備え
るものなので、ROMチップを交換することなく、また
他の書換装置を使用することもなく、電子秤装置自体で
制御プログラムの変更をすることができる。
As described above, according to the present invention, a ROM is composed of a plurality of on-board rewritable flash memory IC chips, and the ROM is
When the control program stored in (flash memory) needs to be changed, a new control program is read from the program rewriting floppy disk,
Since the rewriting means for rewriting the stored contents of the corresponding flash memory IC chip to the new control program is provided, control is performed by the electronic weighing device itself without replacing the ROM chip or using another rewriting device. You can change the program.

【0070】したがって、ROMチップを交換すること
によって生じる不都合、すなわち、(1)装置の内部を
開け、基板を取り出してから交換しなければならないと
いう作業の煩雑さ、(2)交換作業に熟練、知識、時間
を要する、(3)ROM交換時、CPUやROMを破損
する虞れ、及び(4)制御プログラムを書き込んだPR
OMの保管、管理、運搬の面倒等の不都合を全て解消す
ることができる。
Therefore, there are inconveniences caused by exchanging the ROM chip, namely, (1) the complexity of the work of opening the inside of the device and taking out the substrate and then exchanging the substrate, (2) the skill of exchanging work, Knowledge and time required, (3) CPU or ROM may be damaged when ROM is replaced, and (4) PR in which control program is written
It is possible to eliminate all inconveniences such as troublesome storage, management, and transportation of OM.

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

【図1】この発明の一実施例である電子秤装置の外観構
成を示す斜視図である。
FIG. 1 is a perspective view showing an external configuration of an electronic weighing device according to an embodiment of the present invention.

【図2】同電子秤装置の電気的構成を示すブロック図で
ある。
FIG. 2 is a block diagram showing an electrical configuration of the electronic scale device.

【図3】同実施例におけるメモリマップのエリア構成を
示す概念図である。
FIG. 3 is a conceptual diagram showing an area configuration of a memory map in the embodiment.

【図4】同実施例におけるROM周辺の電気的構成を示
すブロック図である。
FIG. 4 is a block diagram showing an electrical configuration around a ROM in the embodiment.

【図5】同実施例によるフラッシュメモリの書き換え処
理手順を示すフローチャートである。
FIG. 5 is a flowchart showing a flash memory rewriting processing procedure according to the embodiment.

【図6】同フラッシュメモリへの書き込み処理手順を示
すフローチャートである。
FIG. 6 is a flowchart showing a write processing procedure to the flash memory.

【図7】同フラッシュメモリへの書き込み処理手順の変
形例を示すフローチャートである。
FIG. 7 is a flowchart showing a modified example of a procedure for writing data into the flash memory.

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

12 CPU(中央処理装置、書換手段) 13 ROM 11a,11b フロッピディスク(プログラム書き換
え用フロッピディスク) 21a,21b フロッピディスク装置 #1,#2,#3,#4,#5 フラッシュメモリIC
チップ
12 CPU (Central Processing Unit, Rewriting Means) 13 ROM 11a, 11b Floppy Disk (Floppy Disk for Program Rewriting) 21a, 21b Floppy Disk Device # 1, # 2, # 3, # 4, # 5 Flash Memory IC
Tip

Claims (5)

【特許請求の範囲】[Claims] 【請求項1】 装置各部を制御する中央処理装置と当該
中央処理装置が実行する制御プログラムやデータを記憶
するROMと作業データ、実績データ、計量データ等の
各種データをフロッピディスクに記憶するフロッピディ
スク装置とを有し、小型コンピュータ・システムによっ
て動作する電子秤装置において、 前記ROMは、各々オンボードで記憶内容を書き換える
ことができる複数のフラッシュメモリICチップからな
ると共に、 新しく書き込まれるべき制御プログラムあるいはデータ
とその制御プログラムあるいはデータの書き込み先であ
るフラッシュメモリICチップを識別するための識別コ
ードとを予め記憶するプログラム書き換え用フロッピデ
ィスクと、 前記プログラム書き換え用フロッピディスクから前記フ
ロッピディスク装置を介して前記新しい制御プログラム
あるいはデータ及び識別コードを読み出して、読み出し
た識別コードに該当する前記フラッシュメモリICチッ
プの記憶内容を、前記新しい制御プログラムあるいはデ
ータに書き換える書換手段とを備えてなることを特徴と
する電子秤装置。
1. A central processing unit for controlling each part of the apparatus, a ROM for storing control programs and data executed by the central processing unit, and a floppy disk for storing various data such as work data, performance data, and weighing data on a floppy disk. In the electronic weighing device having a device and operating by a small computer system, the ROM is composed of a plurality of flash memory IC chips each capable of rewriting stored contents on-board, and a control program to be newly written or A program rewriting floppy disk that stores in advance data and its control program or an identification code for identifying a flash memory IC chip to which the data is written, and the program rewriting floppy disk to the floppy disk device. And a rewriting means for reading the new control program or data and the identification code via the memory and rewriting the stored content of the flash memory IC chip corresponding to the read identification code to the new control program or data. An electronic weighing device characterized by.
【請求項2】 前記書換手段は、少なくとも前記ROM
に記憶され、かつ消去することができないプログラムを
備えてなるものであることを特徴とする請求項1記載の
電子秤装置。
2. The rewriting means is at least the ROM
The electronic weighing apparatus according to claim 1, wherein the electronic weighing apparatus is provided with a program that is stored in the memory and cannot be erased.
【請求項3】 前記書換手段が備える前記プログラム
は、前記制御プログラムあるいはデータが記憶されてい
る前記フラッシュメモリICチップに記憶されているこ
とを特徴とする請求項2記載の電子秤装置。
3. The electronic weighing apparatus according to claim 2, wherein the program provided in the rewriting means is stored in the flash memory IC chip in which the control program or data is stored.
【請求項4】 前記書換手段が備える前記プログラム
は、前記制御プログラムあるいはデータが記憶されてい
る前記フラッシュメモリICチップとは別のROMチッ
プに記憶されていることを特徴とする請求項2記載の電
子秤装置。
4. The program included in the rewriting means is stored in a ROM chip different from the flash memory IC chip in which the control program or data is stored. Electronic balance device.
【請求項5】 前記書換手段は、予め決められている暗
唱番号が入力されたときにのみ動作することを特徴とす
る請求項1記載の電子秤装置。
5. The electronic balance device according to claim 1, wherein the rewriting device operates only when a predetermined code number is input.
JP3286916A 1991-10-31 1991-10-31 Electronic weighing device Expired - Fee Related JP2645194B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP3286916A JP2645194B2 (en) 1991-10-31 1991-10-31 Electronic weighing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP3286916A JP2645194B2 (en) 1991-10-31 1991-10-31 Electronic weighing device

Publications (2)

Publication Number Publication Date
JPH05126620A true JPH05126620A (en) 1993-05-21
JP2645194B2 JP2645194B2 (en) 1997-08-25

Family

ID=17710638

Family Applications (1)

Application Number Title Priority Date Filing Date
JP3286916A Expired - Fee Related JP2645194B2 (en) 1991-10-31 1991-10-31 Electronic weighing device

Country Status (1)

Country Link
JP (1) JP2645194B2 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08101794A (en) * 1994-09-30 1996-04-16 Nec Corp Rewriting system for firmware program

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60196810A (en) * 1984-03-09 1985-10-05 Mitsubishi Electric Corp Numerical control device
JPS61253432A (en) * 1985-05-02 1986-11-11 Ishida Scales Mfg Co Ltd Data totalization system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS60196810A (en) * 1984-03-09 1985-10-05 Mitsubishi Electric Corp Numerical control device
JPS61253432A (en) * 1985-05-02 1986-11-11 Ishida Scales Mfg Co Ltd Data totalization system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH08101794A (en) * 1994-09-30 1996-04-16 Nec Corp Rewriting system for firmware program

Also Published As

Publication number Publication date
JP2645194B2 (en) 1997-08-25

Similar Documents

Publication Publication Date Title
EP0991081B1 (en) Emulated EEPROM memory device and corresponding method
US6009497A (en) Method and apparatus for updating flash memory resident firmware through a standard disk drive interface
EP0712067B1 (en) Flash disk card
US5542077A (en) Personal computer with CMOS memory not having a separate battery
KR100265266B1 (en) Microcomputer comprsing flash eeprom and method of erasing flash eeprom
JPH117393A (en) Portable information terminal equipment capable of updating program by using pc card and program updating method
JP3739398B2 (en) Semiconductor memory device with degradation diagnosis function
JP2002278781A (en) Storage device, method for controlling storage device and program
US6092190A (en) Electronic apparatus including a memory device and method of reprogramming the memory device
US5724544A (en) IC memory card utilizing dual eeproms for image and management data
US6694460B2 (en) Semiconductor memory device having deterioration determining function
KR100425229B1 (en) Microcomputer and method for rewriting data on flash memory
KR19980071069A (en) Microcomputers with Flash Ipyrome inside
US5838887A (en) Printer having a backed-up memory for storing optional emulation program
US6687783B1 (en) Access apparatus and method for accessing a plurality of storage device having different characteristics
JP2645194B2 (en) Electronic weighing device
US6223311B1 (en) Semiconductor memory device having deterioration determining function
US5321839A (en) Electronic equipment including non-volatile memory means for storing control information
JP4550479B2 (en) Electronic control device and data adjustment method
JPH03158184A (en) Sewing machine operated according to control program
JP2000243093A (en) Data storing method for flash memory and data reading out method from flash memory
JPH05307471A (en) Electronic equipment
EP0996103B1 (en) Automatic vending machine
KR20000033437A (en) Apparatus for implementing function of bootstrap loader
JPH0757481A (en) Storage device

Legal Events

Date Code Title Description
A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 19960130

LAPS Cancellation because of no payment of annual fees