JPH0877077A - Data processing device - Google Patents

Data processing device

Info

Publication number
JPH0877077A
JPH0877077A JP22901194A JP22901194A JPH0877077A JP H0877077 A JPH0877077 A JP H0877077A JP 22901194 A JP22901194 A JP 22901194A JP 22901194 A JP22901194 A JP 22901194A JP H0877077 A JPH0877077 A JP H0877077A
Authority
JP
Japan
Prior art keywords
data
eeprom
ram
writing
preset data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
JP22901194A
Other languages
Japanese (ja)
Inventor
Yukinobu Imoto
幸暢 井元
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.)
Casio Computer Co Ltd
Original Assignee
Casio Computer 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 Casio Computer Co Ltd filed Critical Casio Computer Co Ltd
Priority to JP22901194A priority Critical patent/JPH0877077A/en
Publication of JPH0877077A publication Critical patent/JPH0877077A/en
Pending legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)
  • Read Only Memory (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Cash Registers Or Receiving Machines (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

PURPOSE: To restore preset data even when the contents of a volatile RAM are destroyed owing to a flat battery or the like by writing inputted preset data in a RAM and also writing it even in a nonvolatile EEPROM. CONSTITUTION: When the preset data to be set is inputted from a keyboard 3 to a random access memory(RAM) 6, a CPU 1 writes the preset data in the RAM 6 and also writes it in the nonvolatile semiconductor memory (EEPROM) 7. When a new backup battery is loaded and the power source recovers, the preset data is read out of the EEPROM 7 by the CPU 1 and written in the RAM 6. Therefore, even if the contents of the RAM 6 which is the volatile memory are destroyed, the preset data set in the RAM 6 can securely be reloaded in to the RAM 6 according to the use style of a user.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、電子式キャッシュレ
ジスタやPOS(ポイント・オブ・セールス)システム
等のデータ処理装置に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing device such as an electronic cash register or a POS (Point of Sales) system.

【0002】[0002]

【従来の技術】一般に、電子式キャッシュレジスタ(E
CR)等においては、その本体メモリであるランダムア
クセスメモリ(RAM)内に部門合計器等の各種合計器
が備えられており、この各種合計器に単価、キャラクタ
等を設定したり、タックステーブルに税率を設定した
り、あるいはレポートフォーマット等のようにシステム
全体のプリセットデータを設定するようにしていた。
2. Description of the Related Art Generally, an electronic cash register (E
In CR) etc., various totalizers such as department totalizers are provided in the random access memory (RAM) which is the main body memory, and unit prices, characters, etc. are set in these various totalizers, and in the tax table. The tax rate was set, or preset data for the entire system such as report format was set.

【0003】[0003]

【発明が解決しようとする課題】ところで、RAMはリ
チウム電池等によってバックアップされているが、電池
切れが発生したり、電池が抜き取られると、RAMの内
容が破壊されるため、バックアップ電池を新たに装着し
た際には、再び単価等の各種設定データを入力してRA
Mに再設定する必要があり、ユーザに大きな負担をかけ
ると共に、設定ミスを起すおそれがあった。この発明の
課題は、揮発性メモリであるランダムアクセスメモリの
内容がバックアップ電池切れ等によって破壊されたとし
ても、ユーザの使用形態に合わせてランダムアクセスメ
モリに設定されていたプリセットデータをランダムアク
セスメモリに確実に復元できるようにすることである。
By the way, although the RAM is backed up by a lithium battery or the like, if the battery runs out or the battery is removed, the contents of the RAM are destroyed. When installed, enter various setting data such as unit price again and RA
It is necessary to reset to M, which puts a heavy burden on the user and may cause a setting error. An object of the present invention is to store preset data, which has been set in the random access memory according to the usage pattern of the user, in the random access memory even if the content of the random access memory, which is a volatile memory, is destroyed due to the backup battery running out or the like. It is to be able to surely restore.

【0004】[0004]

【課題を解決するための手段】この発明の手段は次の通
りである。書き込み可能な不揮発性半導体メモリ、例え
ば、予め決められている書き込み可能回数の範囲内にお
いて再書き込みを行うことができるEPROMやEPR
AMを内蔵したデータ処理装置において、 (1)、入力手段はランダムアクセスメモリに対して設
定される各種のプリセットデータを入力する。 (2)、第1の書込手段はこの入力手段から入力された
プリセットデータをランダムアクセスメモリに書き込む
と共に、前記不揮発性半導体メモリにも書き込む。 (3)、読出手段は電源復帰時に、前記不揮発性半導体
メモリからプリセットデータを読み出す。 (4)、第2の書込手段はこの読出手段によって読み出
されたプリセットデータを前記ランダムアクセスメモリ
に書き込む。 なお、前記第1の書込手段は、プリセットデータを前記
不揮発性半導体メモリに書き込む前に書き込み中を示す
データを不揮発性半導体メモリに書き込み、プリセット
データの書き込み終了時に書き込み中を示すデータをク
リアするようにしてもよい。
The means of the present invention are as follows. Writable non-volatile semiconductor memory, for example, EPROM or EPR that can be rewritten within a predetermined writable count range
In the data processing device incorporating the AM, (1), the input means inputs various preset data set in the random access memory. (2) The first writing unit writes the preset data input from the input unit into the random access memory and also into the nonvolatile semiconductor memory. (3) The reading means reads the preset data from the nonvolatile semiconductor memory when the power is restored. (4) The second writing means writes the preset data read by the reading means in the random access memory. The first writing unit writes data indicating that writing is in progress to the nonvolatile semiconductor memory before writing the preset data in the nonvolatile semiconductor memory, and clears data indicating that writing is in progress at the end of writing the preset data. You may do it.

【0005】[0005]

【作用】この発明の手段の作用は次の通りである。い
ま、入力手段からランダムアクセスメモリに対して設定
される単価等のプリセットデータを入力すると、第1の
書込手段はこのプリセットデータをランダムアクセスメ
モリに書き込むと共に不揮発性半導体メモリにも書き込
む。ここで、新たなバックアップ電池等を装着した電源
復帰時に不揮発性メモリからプリセットデータが読出手
段によって読み出されると、第2の書込手段はこのプリ
セットデータをランダムアクセスメモリにも書き込む。
したがって、揮発性メモリであるランダムアクセスメモ
リの内容がバックアップ電池切れ等によって破壊された
としても、ユーザの使用形態に合わせてランダムアクセ
スメモリに設定されていたプリセットデータをランダム
アクセスメモリに確実に復元することができる。
The operation of the means of the present invention is as follows. Now, when preset data such as a unit price to be set in the random access memory is input from the input means, the first writing means writes the preset data in the random access memory and also in the nonvolatile semiconductor memory. Here, when preset data is read from the non-volatile memory by the reading means when the power is restored with a new backup battery or the like attached, the second writing means also writes the preset data in the random access memory.
Therefore, even if the contents of the random access memory, which is a volatile memory, are destroyed due to the backup battery running out, etc., the preset data set in the random access memory according to the usage pattern of the user can be reliably restored to the random access memory. be able to.

【0006】[0006]

【実施例】以下、図1〜図10を参照して一実施例を説
明する。図1はECRの全体構成を示したブロック図で
ある。CPU1はROM2内の各種プログラムにしたが
ってこのECR全体の動作を制御する中央演算処理装置
であり、その周辺デバイスとしてCPU1にはキーボー
ド3、表示部4、プリンタ5が接続されており、それら
の入出力動作を制御する。また、CPU1にはRAM6
がパラレルバス接続されており、CPU1とRAM6と
の間でパラレルデータの授受を行う。また、CPU1に
はEEPROM7がシリアル接続されており、CPU1
とEEPROM7との間で1ビットづつシリアルデータ
の授受を行う。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment will be described below with reference to FIGS. FIG. 1 is a block diagram showing the overall configuration of the ECR. The CPU 1 is a central processing unit that controls the operation of the entire ECR according to various programs in the ROM 2. As its peripheral devices, a keyboard 3, a display unit 4, and a printer 5 are connected to the CPU 1, and their input and output are performed. Control movements. Further, the CPU 1 has a RAM 6
Are connected via a parallel bus to exchange parallel data between the CPU 1 and the RAM 6. Further, an EEPROM 7 is serially connected to the CPU 1,
And the EEPROM 7 exchange serial data bit by bit.

【0007】ROM2はオペレーティングシステムの
他、仕向国別にアプリケーションプログラム等を記憶す
るリードオンリメモリで、本実施例においては、米国、
日本、欧州別にアプリケーションプログラムが格納され
ており、CPU1の制御下で、仕向国に応じてプログラ
ムの切り替えが行われる。
The ROM 2 is a read-only memory that stores not only the operating system but also application programs and the like for each destination country.
Application programs are stored for Japan and Europe, and the programs are switched under the control of the CPU 1 according to the destination country.

【0008】キーボード3は通常備えられている各種の
キー、すなわち、図示しないが売上データ等を置数する
数値キーや部門別登録時に操作される部門キー、PLU
(プライス・ルック・アップ)別登録時に操作されるP
LUキー等を有するキー入力装置であり、キーボード3
から入力された売上データは表示部4に表示出力された
り、プリンタ5のレシート/ジャーナルに印字出力さ
れ、更にはRAM6の各種合計器に登録される。
The keyboard 3 is provided with various keys normally provided, that is, numerical keys (not shown) for registering sales data, a department key operated at the time of department registration, and a PLU.
(Price Look Up) P operated at the time of separate registration
The keyboard 3 is a key input device having an LU key and the like.
The sales data input from are displayed and output on the display unit 4, printed out on a receipt / journal of the printer 5, and further registered in various totalizers of the RAM 6.

【0009】RAM6はバックアップ電池(例えば、リ
チウム電池)8によってそのメモリ内容が保護されるも
ので、図2に示すように部門合計器6−1、PLU合計
器6−2、タックステーブル6−3、キー機能テーブル
6−4等を有する構成となっている。部門合計器6−1
は部門コードに対応して部門毎に単価、その他のプリセ
ットデータ、および売上合計を記憶する構成であり、ま
た、PLU合計器6−2はPLUコードに対応して商品
毎に単価、その他のプリセットデータおよび売上合計を
記憶する構成となっている。タックステーブル6−3は
税金算出時に使用されるテーブルで、仕向国別にタック
ステーブルが設けられている。キー機能テーブル6−4
はキーボード3上に割り当てられた各キーの機能を記憶
するテーブルで、仕向国別にキー機能テーブルが設けら
れている。その他、RAM6にはレポートフォーマット
等を指定するECR全体のシステムプリセットデータも
記憶される。
The RAM 6 has its memory contents protected by a backup battery (for example, a lithium battery) 8. As shown in FIG. 2, the department totalizer 6-1, the PLU totalizer 6-2, and the tax table 6-3. , A key function table 6-4 and the like. Department totalizer 6-1
Has a configuration in which unit prices corresponding to department codes, other preset data, and total sales are stored, and the PLU totalizer 6-2 corresponds to PLU codes, unit prices for each product, and other presets. It is configured to store data and total sales. The tax table 6-3 is a table used when calculating taxes, and a tax table is provided for each destination country. Key function table 6-4
Is a table for storing the function of each key assigned on the keyboard 3, and a key function table is provided for each destination country. In addition, the RAM 6 also stores system preset data for the entire ECR that specifies a report format and the like.

【0010】図3はEEPROM7のメモリマップを示
したものである。EEPROM7は仕向国のように一度
設定したらエンドユーザが再設定する必要のないデータ
あるいはRAM6に設定される単価等のプリセットデー
タを不揮発化(バックアップ電池8の有無にかかわらず
記憶保持)するもので、製品組立後、出荷するまでの
間、EEPROM7にはヘッダーデータと共に仕向国コ
ードが書き込まれる。ここで、ヘッダーデータは16進
コード「55AA」のデータで、EEPROM7のアド
レス「0000」領域に書き込まれる。仕向国コードは
キーボード3から任意に入力され、米国、日本、欧州を
指定するコードで、EEPROM7のアドレス「000
1」領域に書き込まれる。また、エンドユーザに納品
後、単価設定等が行われると、RAM6に単価等が設定
される他、EEPROM7にも同様の設定が行われる。
この場合、EEPROM7のアドレス「000A」領域
には部門合計器6−1内の部門1〜nに対応してその単
価、その他の設定データが記憶され、またPLU合計器
6−2内のPLU1〜nに対応してその単価、その他の
設定データが記憶される。更に、タックステーブル6−
3、キー機能テーブル6−4を構成する設定データやシ
ステム全体の設定データはEEPROM7のアドレス
「000A」領域に記憶される。このようにEEPRO
M7のアドレス「000A」領域に設定データを書き込
む際に、EEPROM7のアドレス「0001」領域に
は書き込み中フラグがセットされ、書き込み終了時に書
き込み中フラグはリセットされる。なお、この書き込み
中フラグはEEPROM7に設定データが正常に書き込
まれたか否かを示すもので、キーボード3から入力され
た単価等の各種設定データはRAM6にプリセットされ
たのちEEPROM7にも書き込まれるが、この設定デ
ータのEEPROM7への書き込み途中においてシステ
ムにイニシャライズがかかり書き込みが中断されたよう
な場合、EEPROM7に設定データを正常に書き込む
ことができないため、書き込み中フラグはセットデータ
で「0」、リセットデータで「FF」となるフラグで、
「FF」のとき、EEPROM7に設定データが正常に
書き込まれたことを示すものである。
FIG. 3 shows a memory map of the EEPROM 7. The EEPROM 7 is for non-volatile (preserving and retaining regardless of the presence of the backup battery 8) data which the end user does not need to reset once or preset data such as the unit price set in the RAM 6 once set like the destination country. After assembling the product and before shipping, the destination country code is written in the EEPROM 7 together with the header data. Here, the header data is data of hexadecimal code "55AA" and is written in the address "0000" area of the EEPROM 7. The destination country code is arbitrarily entered from the keyboard 3 and is a code designating the United States, Japan, and Europe.
1 ”area is written. Further, when the unit price is set after the delivery to the end user, the unit price is set in the RAM 6 and the same setting is made in the EEPROM 7.
In this case, the unit price and other setting data corresponding to the departments 1 to n in the department totalizer 6-1 are stored in the address "000A" area of the EEPROM 7, and the PLU1 to 1 in the PLU totalizer 6-2 are stored. The unit price and other setting data are stored corresponding to n. Furthermore, the tax table 6-
3. The setting data forming the key function table 6-4 and the setting data of the entire system are stored in the address "000A" area of the EEPROM 7. EEPRO like this
When writing the setting data in the address "000A" area of M7, the writing flag is set in the address "0001" area of the EEPROM 7, and the writing flag is reset at the end of writing. The writing flag indicates whether or not the setting data is normally written in the EEPROM 7, and various setting data such as the unit price input from the keyboard 3 is preset in the RAM 6 and then written in the EEPROM 7. If the system is initialized during the writing of this setting data to the EEPROM 7 and the writing is interrupted, the setting data cannot be written normally to the EEPROM 7, so the writing flag is "0" and the reset data is reset data. With the flag that becomes "FF",
"FF" indicates that the setting data has been normally written in the EEPROM 7.

【0011】更に、EEPROM7のアドレス「000
3」領域にはエンドユーザによる使用開始日付、つまり
ECR設置後、最初に精算を行った第1精算日付あるい
はサービスメンテナンス後において最初に精算を行った
第1精算日付が記憶され、またアドレス「0005」領
域にはECR稼動後、現時点までの総印字桁数が記憶さ
れ、更にアドレス「0009」領域にはECR稼動後、
現時点までのプリンタエラー発生回数が記憶されてい
る。これらはプリンタ等の各パーツの交換時期等を報知
する際やサービスメンテナンス時の参照データとして利
用される。なお、印字桁数やプリンタエラー発生回数は
印字動作に連動してカウントアップされるもので、精算
処理が行われるまではRAM6内に記憶されており、精
算時にRAM6からEEPROM7へ書き込まれる。つ
まり、一般に、EEPROM7は再書き込み可能回数が
制限されており、その書き込み回数の増加を防ぐために
一日の営業終了時に行われる精算時にEEPROM7へ
の書き込みを行うようにしている。
Further, the address "000" of the EEPROM 7
In the "3" area, the use start date by the end user, that is, the first settlement date after the first settlement after the ECR is installed or the first settlement date after the first maintenance after the service maintenance is stored, and the address "0005" is stored. The total number of print digits up to the present time after the ECR operation is stored in the area "
The number of printer error occurrences up to the present time is stored. These are used as reference data at the time of notifying the replacement time of each part such as a printer or at the time of service maintenance. The number of print digits and the number of occurrences of printer error are counted up in association with the printing operation, and are stored in the RAM 6 until the settlement process is performed, and are written from the RAM 6 to the EEPROM 7 at the time of settlement. That is, in general, the number of rewritable times of the EEPROM 7 is limited, and in order to prevent the increase of the number of times of writing, the writing to the EEPROM 7 is performed at the time of settlement at the end of the business day.

【0012】次に、本実施例の動作を図4〜図10に示
すフローチャートにしたがって説明する。図4は仕向国
コードをEEPROM7にセットする場合の動作を示し
たフローチャートである。先ず、工場において製品組立
後、各種品質テストを行い、最後に仕向国の設定を行う
が、この場合、キーボード3から仕向国コードを入力す
る(ステップA1)。ここで、仕向国コードの入力条件
としては例えば、MAC(メモリオールクリア)スイッ
チ等の操作を前提とする等、エンドユーザが誤って設定
できないようにしてある。いま、仕向国コードを入力す
ると、CPU1はEEPROM7の内容を全てオールク
リア(0FFh書込)すると共に(ステップA2)、E
EPROM7のアドレス「0000」領域にヘッダーデ
ータ「55AA」を書き込む(ステップA3)。その
後、仕向国コードをEEPROM7のアドレス「000
2」領域に書き込む(ステップA4)。なお、このよう
な仕向国コードのセット処理は、工場出荷時の他、サー
ビスメンテナンス時において、修理する場合、その修理
(基板交換、部品交換)後、各種テストを行い、最後に
仕向国コードを入力した場合においても行われる。この
ように仕向国コードはEEPROM7に書き込まれるの
で、工場出荷からユーザに引き渡されるまでの間にバッ
クアップ電池8が電池切れとなったとしてもEEPRO
M7の内容はそれに影響されず、そのまま保持される。
The operation of this embodiment will be described below with reference to the flow charts shown in FIGS. FIG. 4 is a flow chart showing the operation when the destination country code is set in the EEPROM 7. First, after assembling the product in the factory, various quality tests are performed, and finally the destination country is set. In this case, the destination country code is input from the keyboard 3 (step A1). Here, as the input condition of the destination country code, for example, it is premised on the operation of a MAC (memory all clear) switch or the like so that the end user cannot set it by mistake. When the destination country code is entered, the CPU 1 clears all the contents of the EEPROM 7 (writes 0FFh) (step A2), and E
The header data "55AA" is written in the address "0000" area of the EPROM 7 (step A3). After that, the destination country code is the address "000 of EEPROM 7".
2 "area is written (step A4). In addition to the factory-shipped country code setting process, when repairing at the time of service maintenance as well as at the time of factory shipment, various tests are performed after the repair (board replacement, component replacement), and finally the country of destination code is set. It is also performed when inputting. Since the destination country code is written in the EEPROM 7 as described above, even if the backup battery 8 runs out from the time of shipment from the factory to the delivery to the user, EEPRO
The contents of M7 are not affected by it and are retained as they are.

【0013】次に、エンドユーザへの納品後、初期電源
投入時にはイニシャライズ処理が行われ、RAM6の内
容が全て消去される。その際、ユーザの使用形態に合わ
せてRAM6へ各種の設定データを書き込む。図5はこ
の場合の設定動作を示したフローチャートで、先ずキー
ボード3から各種の設定データを入力する(ステップB
1)。つまり、部門合計器6−1の各部門1〜nに対応
して単価、その他の設定データを入力したり、PLU合
計器6−2の各PLU1〜nに対応して単価、その他の
設定データを入力し、更に、タックステーブル6−3、
キー機能テーブル6−4に対しての設定データやシステ
ム全体の設定データを入力すると、入力されたこれらの
各種設定データはRAM6に書き込まれる(ステップB
2)。
Next, after the product is delivered to the end user, an initialization process is performed at the time of initial power-on, and all the contents of the RAM 6 are erased. At that time, various setting data are written in the RAM 6 according to the usage pattern of the user. FIG. 5 is a flowchart showing the setting operation in this case. First, various setting data is input from the keyboard 3 (step B).
1). That is, the unit price and other setting data are input corresponding to each department 1 to n of the department totalizer 6-1 and the unit price and other setting data are corresponding to each PLU 1 to n of the PLU totalizer 6-2. Input, and further, the tax table 6-3,
When the setting data for the key function table 6-4 and the setting data for the entire system are input, the various input setting data are written in the RAM 6 (step B).
2).

【0014】次に、EEPROM7内に書き込み中フラ
グをセットしたのち(ステップB3)、RAM6内の設
定データを全てEEPROM7に書き込む処理が行われ
(ステップB4)、そして、EEPROM7への書き込
みが全て終了した時点で、EEPROM7内の書き込み
中フラグがリセットされる(ステップB5)。これによ
り、RAM6からEEPROM7へ設定データを書き込
む途中において、システムにイニシャライズがかかり、
書き込みが中断された場合にはEEPROM7内の書き
込み中フラグはセットされたままとなるので、全ての設
定データがEEPROM7に正常に書き込まれたか否か
を書き込み中フラグを参照することによって判別するこ
とができるようになる。
Next, after the writing flag is set in the EEPROM 7 (step B3), the setting data in the RAM 6 is written in the EEPROM 7 (step B4), and the writing in the EEPROM 7 is completed. At this point, the writing flag in the EEPROM 7 is reset (step B5). As a result, the system is initialized while writing the setting data from the RAM 6 to the EEPROM 7,
When the writing is interrupted, the writing flag in the EEPROM 7 remains set, so it is possible to determine whether or not all the setting data is normally written in the EEPROM 7 by referring to the writing flag. become able to.

【0015】一方、RAM6からEEPROM7へ設定
データを書き込む際、CPU1とEEPROM7とはシ
リアル接続されており、CPU1は1ビットづつデータ
をEEPROM7に転送して書き込みを行うが、その
際、CPU1は図6に示すフローチャートにしたがって
EEPROM7への書き込み処理を行う。図6は図4の
ステップA3、A4あるいは図5のステップB4等での
書き込み処理を詳細に示したフローチャートである。先
ず、RAM6から読み取った設定データを1ビットづつ
EEPROM7に転送し、1バイト分のデータをEEP
ROM7に書き込む(ステップC1)。そして、この1
バイト分の書き込みデータをEEPROM7からリード
し(ステップC2)、このリードデータとRAM6から
読み取ったデータとを比較することによりベリファイチ
ェックを行う(ステップC3)。ここで、不一致が検出
された場合には同じ1バイト分のデータをEEPROM
7に再書き込みを行うが、その際、再書き込み回数は5
回を限度とし、5回未満であることを条件(ステップC
4)に1バイト分のデータをEEPROM7に書き込む
処理に戻る(ステップC1)。
On the other hand, when the setting data is written from the RAM 6 to the EEPROM 7, the CPU 1 and the EEPROM 7 are serially connected, and the CPU 1 transfers the data bit by bit to the EEPROM 7 and writes the data. Writing processing to the EEPROM 7 is performed according to the flowchart shown in FIG. FIG. 6 is a flow chart showing in detail the write processing in steps A3 and A4 of FIG. 4 or step B4 of FIG. First, the setting data read from the RAM 6 is transferred to the EEPROM 7 bit by bit, and 1 byte of data is EEP
Write to the ROM 7 (step C1). And this one
The write data of bytes is read from the EEPROM 7 (step C2), and the read check is performed by comparing the read data with the data read from the RAM 6 (step C3). If a mismatch is detected, the same 1-byte data is stored in the EEPROM.
7 is rewritten, but the number of rewrites is 5
Limited to 5 times and less than 5 times (Step C
The process returns to the process of writing 1 byte of data to the EEPROM 7 in step 4) (step C1).

【0016】一方、ベリファイチェックによって一致が
検出されると、つまり、EEPROM7の所定アドレス
にRAM6からの設定データが正常に書き込まれたこと
が検出されると、ステップC5に進み、全データの書き
込み終了かをチェックし、終了していなければ、RAM
6から次の1バイト分のデータを読み出してEEPRO
M7に書き込む(ステップC1)。このような動作を全
データの書き込みが終了するまで繰り返す。なお、再書
き込み回数が5回繰り返されたことがステップC4で検
出されると、EEPROM7への書き込み動作はエラー
終了となる。
On the other hand, when a match is detected by the verify check, that is, when it is detected that the setting data from the RAM 6 is normally written in a predetermined address of the EEPROM 7, the process proceeds to step C5, and the writing of all data is completed. Check if it is not finished, RAM
Read the next 1-byte data from 6 and EEPRO
Write to M7 (step C1). Such an operation is repeated until the writing of all data is completed. When it is detected in step C4 that the number of times of rewriting is repeated 5 times, the writing operation to the EEPROM 7 ends in error.

【0017】そして、RAM6内の設定データが全てE
EPROM7に書き込まれると、ステップC6に進み、
一度でもベリファイエラーにより再書き込みが発生した
か否かをチェックする。ここで、一度でも再書き込みが
発生した場合にはノイズにより誤ったアドレスに誤書き
込みをした可能性があるため、このような場合にはRA
M6内の全設定データとEEPROM7内の全設定デー
タとを比較し(ステップC7)、その結果、不一致箇所
が検出された場合には(ステップC8)、不一致箇所の
データを再びRAM6から読み出し、EEPROM7に
再書き込みを行うことにより書き込みデータの自動修正
が行われる。そして、ステップC7に戻り、再び全設定
データを比較し、一致が検出されるまで上述の修正動作
が繰り返され、一致が検出されるとEEPROM7への
書き込み動作は正常終了となる。
All the setting data in the RAM 6 is E
When the data is written in the EPROM 7, the process proceeds to step C6,
Even once, it is checked whether rewriting has occurred due to a verify error. If rewriting occurs even once, noise may have caused wrong writing to the wrong address. In such a case, RA
All the setting data in M6 and all the setting data in the EEPROM 7 are compared (step C7). As a result, if a mismatch is detected (step C8), the data of the mismatch is read from the RAM 6 again, and the EEPROM 7 By rewriting the data, the write data is automatically corrected. Then, returning to step C7, all setting data are compared again, and the above correction operation is repeated until a match is detected, and when a match is detected, the write operation to the EEPROM 7 ends normally.

【0018】図7はバックアップ電池8を実装した後、
メイン電源を投入した際に実行開始されるフローチャー
トである。先ず、RAM6内の各種合計器、部門合計器
6−1、PLU合計器6−2等の内容と共に、タックス
テーブル6−3、キー機能テーブル6−4等を全てクリ
アするオールクリア処理を行う(ステップD1)。次
に、EEPROM7からヘッダーデータをリードし(ス
テップD2)、ヘッダーデータが「55AA」かをチェ
ックする(ステップD3)。ここで、ヘッダーデータが
正常コードではなく、ブランクコードであれば、EEP
ROM7にヘッダーデータ「55AA」を書き込む処理
を行ったのち(ステップD4)、RAM6にデフォルト
仕向国コードとしてUSコードを書き込む(ステップD
8)。一方、ヘッダーデータが正常コードであれば、E
EPROM7から仕向国コードを読み出し(ステップD
5)、そのコードが有効コード、つまりブランクコード
「0FFh」でないかをチェックする(ステップD
6)。この結果、有効コードでなければ、RAM6にデ
フォルト仕向国コード(USコード)を書き込むが(ス
テップD8)、有効コードであれば、EEPROM7か
ら読み出した仕向国コードをRAM6に書き込む(ステ
ップD7)。
In FIG. 7, after mounting the backup battery 8,
It is a flowchart which is started when the main power source is turned on. First, an all clear process is performed to clear all of the tax table 6-3, the key function table 6-4, etc. together with the contents of the various totalizers, the department totalizer 6-1, the PLU totalizer 6-2, etc. in the RAM 6 ( Step D1). Next, the header data is read from the EEPROM 7 (step D2), and it is checked whether the header data is "55AA" (step D3). If the header data is not a normal code but a blank code, EEP
After the header data "55AA" is written to the ROM 7 (step D4), the US code is written to the RAM 6 as the default destination country code (step D).
8). On the other hand, if the header data is a normal code, E
Read the destination country code from EPROM 7 (step D
5) Check whether the code is a valid code, that is, a blank code "0FFh" (step D)
6). As a result, if it is not a valid code, the default destination country code (US code) is written in the RAM 6 (step D8), but if it is a valid code, the destination country code read from the EEPROM 7 is written in the RAM 6 (step D7).

【0019】このようにしてRAM6に仕向国コードを
書き込んだら、EEPROM7から書き込み中フラグを
リードし(ステップD9)、それがセットされているか
をチェックする(ステップD10)。いま、書き込み中
フラグがセットされたままであるということはEEPR
OM7に設定データを書き込んでいる途中において、そ
の書き込みが中断された場合であり、EEPROM7内
のデータは正常データではないので、このような場合に
は単価等の再設定を促すエラー報知が行われて(ステッ
プD14)、エラー終了となる。一方、書き込み中フラ
グがリセットされていれば、EEPROM7への書き込
みが正常に行われた場合であるから、ステップD11に
進み、EEPROM7から単価等の設定データをリード
し、それがブランクコードではない有効データであるか
がチェックされ(ステップD12)、有効コードでなけ
れば、ステップD14に進み、エラー報知が行われる
が、有効コードであれば、EEPROM7から読み出し
た全ての設定データをRAM6に書き込む処理が行われ
て(ステップD13)、正常終了となる。このような動
作はバックアップ電池8を実装する毎に行われる結果、
バックアップ電池8がなくなってRAM6の内容が破壊
されたとしても新たにバックアップ電池8を実装した時
点で単価等がRAM6に再設定される。
After the destination country code is written in the RAM 6 in this manner, the writing flag is read from the EEPROM 7 (step D9) and it is checked whether it is set (step D10). Now, the fact that the writing flag is still set means that EEPR
This is a case where the writing is interrupted while writing the setting data to the OM7, and the data in the EEPROM 7 is not normal data. In such a case, an error notification prompting the resetting of the unit price etc. is performed. (Step D14), the process ends in error. On the other hand, if the writing flag is reset, it means that the writing to the EEPROM 7 is normally performed. Therefore, the process proceeds to step D11, where the setting data such as the unit price is read from the EEPROM 7, and it is not a blank code. It is checked whether the data is data (step D12). If it is not a valid code, the process proceeds to step D14, and an error is notified. However, if it is a valid code, a process of writing all the setting data read from the EEPROM 7 into the RAM 6 is performed. After that (step D13), the process ends normally. Such an operation is performed every time the backup battery 8 is mounted,
Even if the backup battery 8 is lost and the contents of the RAM 6 are destroyed, the unit price and the like are reset in the RAM 6 when the backup battery 8 is newly mounted.

【0020】図8は一日の営業が終了した際に行われる
精算時の動作を示したフローチャートである。先ず、通
常と同様に各種合計器の内容を印字出力して精算レポー
トを発行すると共に(ステップE1)、各種合計器の売
上データをクリアする処理が行われる(ステップE
2)。次に、EEPROM7から第1精算日付をリード
し(ステップE3)、それがブランクコードか、つまり
第1精算日付がEEPROM7に書き込まれていないか
をチェックし(ステップE4)、書き込まれていなけれ
ば、現在の日付をリードしてEEPROM7に第1精算
日付としてセットする(ステップE5)。したがって、
ECR設置後、最初に精算が行われた日付がエンドユー
ザによる最初の使用目的としてEEPROM7に書き込
まれる。なお、既に第1精算日付がEEPROM7に書
き込まれている場合には、その日付の更新は行われな
い。次に、ステップE6に進み、RAM6から印字桁数
およびプリンタエラー発生回数を読み出してEEPRO
M7に書き込んでおく。
FIG. 8 is a flow chart showing the operation at the time of settlement, which is performed when the day's business is completed. First, in the same manner as usual, the contents of various totalizers are printed out, a settlement report is issued (step E1), and the sales data of various totalizers are cleared (step E).
2). Next, the first settlement date is read from the EEPROM 7 (step E3), it is checked whether it is a blank code, that is, the first settlement date is not written in the EEPROM 7 (step E4), and if it is not written, The current date is read and set in the EEPROM 7 as the first settlement date (step E5). Therefore,
After the ECR is installed, the date of the first settlement is written in the EEPROM 7 for the first purpose of use by the end user. If the first settlement date is already written in the EEPROM 7, the date is not updated. Next, in step E6, the number of print digits and the number of times of printer error occurrence are read from the RAM 6 and EEPRO
Write it in M7.

【0021】図9はサービスメンテナンスを行う際の設
定点検時の動作を示したフローチャートである。先ず、
点検時の特定操作に応答して図9に示すフローチャート
にしたがった動作が実行され、EEPROM7内から第
1精算日付をリードし(ステップF1)、第1精算日付
がEEPROM7に書き込まれていないかをチェックす
る(ステップF2)。ここで、第1精算日付が書き込ま
れていなければ、ECR設定時の点検であるが、第1精
算日付が書き込まれていれば、ECR稼動後の点検であ
るため、EEPROM7から読み出した第1精算日付を
印字出力させる(ステップF3)。これによって使用開
始日付を知ることができ、サービスメンテナンス時の参
考データとなる。そして、次のステップF4ではEEP
ROM7内の第1精算日付がクリアされる(ステップF
4)。次に、EEPROM7から印字桁数およびプリン
タエラー発生回数をリードし(ステップF5)、印字桁
数、プリンタエラー発生回数が書き込まれていないかを
チェックする(ステップF6)。ここで、書き込まれて
いる場合には印字桁数、プリンタエラー発生回数を印字
出力させる(ステップF7)。これによって、プリンタ
の寿命等を判別する際の参考データが得られる。
FIG. 9 is a flow chart showing the operation at the time of setting inspection when performing service maintenance. First,
In response to the specific operation at the time of inspection, the operation according to the flowchart shown in FIG. 9 is executed, the first settlement date is read from the EEPROM 7 (step F1), and the first settlement date is not written in the EEPROM 7. Check (step F2). Here, if the first settlement date is not written, it is an inspection at the time of setting the ECR, but if the first settlement date is written, it is an inspection after the ECR operation, so the first settlement read from the EEPROM 7 The date is printed out (step F3). With this, the start date of use can be known, which will be reference data at the time of service maintenance. Then, in the next step F4, EEP
The first settlement date in ROM 7 is cleared (step F
4). Next, the number of print digits and the number of printer error occurrences are read from the EEPROM 7 (step F5), and it is checked whether the number of print digits and the number of printer error occurrences are written (step F6). If it has been written, the number of print digits and the number of printer error occurrences are printed out (step F7). Thereby, reference data for determining the life of the printer and the like can be obtained.

【0022】このように点検時には第1精算日付がクリ
アされるので(ステップF4)、点検終了後に最初の精
算が行われると、上述の図8に示すフローチャートが実
行される結果、ステップE4で、第1精算日付の書き込
みなしが検出されるので、現在の日付がEEPROM7
に第1精算日付として書き込まれる(ステップE5)、
したがって、サービスメンテナンスにおける点検が行わ
れた場合には、第1精算日付はその点検日付あるいは点
検後、最初に精算が行われた日付となる。
Since the first settlement date is cleared during the inspection as described above (step F4), when the first settlement is performed after the inspection is completed, the above-described flowchart shown in FIG. 8 is executed, resulting in step E4. Since it is detected that the first settlement date has not been written, the current date is stored in the EEPROM 7.
Is written as the first settlement date (step E5),
Therefore, when an inspection is performed in service maintenance, the first settlement date is the inspection date or the date when the first settlement is performed after the inspection.

【0023】図10は通常のECR稼動時において、電
源が投入された際に実行される動作を示したフローチャ
ートである。いま、上述したバックアップ電池8を実装
した際のイニシャライズ処理(図7)によってEEPR
OM7から仕向国コードや単価等の各種設定データがR
AM6内に書き込まれている。この状態において、先
ず、CPU1はRAM6から仕向国コードをリードし
(ステップG1)、仕向国コードを判別する(ステップ
G2)。ここで、米国コードであれば、ROM2内の米
国用処理プログラムに切り替え(ステップG3)、日本
コードであれば日本国内処理プログラムに切り替え(ス
テップG4)、欧州コードであれば、欧州用処理プログ
ラムに切り替える(ステップG5)。そして、その他の
イニシャライズ処理を行ったのち(ステップG6)、キ
ー入力待ちとなる(ステップG7)。
FIG. 10 is a flow chart showing the operation executed when the power is turned on during the normal ECR operation. Now, the EEPR is performed by the initialization process (FIG. 7) when the above-mentioned backup battery 8 is mounted.
Various setting data such as destination country code and unit price are transferred from OM7
It is written in AM6. In this state, the CPU 1 first reads the destination country code from the RAM 6 (step G1) and determines the destination country code (step G2). Here, if it is the United States code, it is switched to the US processing program in the ROM 2 (step G3), if it is the Japanese code, it is switched to the domestic processing program in Japan (step G4), and if it is the European code, it is the European processing program. Switch (step G5). Then, after performing other initialization processing (step G6), the apparatus waits for key input (step G7).

【0024】ここで、キー入力があると、再び、RAM
6内の仕向国コードを判別し(ステップG8)、その判
別結果に応じてRAM6内のキー機能テーブルをアクセ
スする(ステップG9〜G11)。つまり、仕向国が米
国であれば、米国用のキー機能テーブルをアクセスして
操作キーに対応する機能コードを取り出し(ステップG
9)、日本であれば日本国用のキー機能テーブルをアク
セスし(ステップG10)、欧州であれば欧州用のキー
機能テーブルをアクセスして操作キーに対応する機能コ
ードを取り出す(ステップG11)、そして、仕向国に
応じた処理プログラムおよびキー機能コードにより各機
能を処理実行する(ステップG12)。例えば、仕向国
に応じて部門別登録処理、PLU別登録処理、精算処理
等が行われるが、その際、CPU1はRAM6内の各種
設定データにしたがってこれらの処理を実行する。
Here, if there is a key input, the RAM again
The destination country code in 6 is discriminated (step G8), and the key function table in the RAM 6 is accessed according to the discrimination result (steps G9 to G11). That is, if the destination country is the United States, the key function table for the United States is accessed to retrieve the function code corresponding to the operation key (step G).
9) If it is Japan, the key function table for Japan is accessed (step G10). If it is Europe, the key function table for Europe is accessed to retrieve the function code corresponding to the operation key (step G11). Then, each function is processed and executed by the processing program and the key function code according to the destination country (step G12). For example, department-specific registration processing, PLU-specific registration processing, settlement processing, and the like are performed according to the destination country. At that time, the CPU 1 executes these processing according to various setting data in the RAM 6.

【0025】以上のように本実施例においては、仕向国
設定時に、従来のようにパッド端子や半田付け等の面倒
な作業工程が不要となり、EEPROM7に仕向国コー
ドを単にキー入力するだけでよく、その設定を極めて簡
単に行うことができる。また、ユーザが使用形態に合わ
せて設定した単価、キー機能テーブル、タックステーブ
ル、レポートフォーマット等の設定データをEEPRO
M7に記憶保持し、バックアップ電源復帰時にこのEE
PROM7内の設定データをRAM6に書き込むように
したので、バックアップ電池8が電池切れとなったり、
バックアップ電池8が抜き取られてもRAM6内の設定
データを元の状態に復元することができ、その結果複雑
な再設定を行う必要がなくなる。また、EEPROM7
に使用開始日付等を示す第1精算日付や、印字桁数、プ
リンタエラー発生回数を記憶保持しておき、サービス点
検時にそれらを印字出力するようにしたから、だいたい
の使用期間や各部品の耐久性等を確認することができ、
点検を効率よく行うことが可能となる。更に、EEPR
OM7に単価等の設定データを書き込む前に、その書き
込み中フラグをセットし、その書き込み終了時にこのフ
ラグをリセットするようにしたから、設定データの途中
でシステムイニシャライズがかかり、その書き込みが中
断されても、その後、書き込み中フラグをチェックする
ことによりEEPROM7にデータが正しく書き込まれ
たか否かを判断することができる。
As described above, in the present embodiment, when the destination country is set, the troublesome work steps such as pad terminals and soldering which are required in the prior art are not necessary, and the destination country code can be simply keyed into the EEPROM 7. , The setting can be done extremely easily. In addition, setting data such as unit price, key function table, tax table, and report format set by the user according to the usage pattern is EEPRO
It is stored and retained in M7 and this EE is restored when the backup power is restored.
Since the setting data in the PROM 7 is written in the RAM 6, the backup battery 8 runs out,
Even if the backup battery 8 is removed, the setting data in the RAM 6 can be restored to the original state, and as a result, complicated resetting is not necessary. In addition, EEPROM7
The first settlement date, which indicates the start date of use, etc., the number of print digits, and the number of times a printer error occurs are stored and retained, and these are printed out at the time of service inspection. Sex, etc. can be confirmed,
The inspection can be performed efficiently. Furthermore, EEPR
Before writing the setting data such as the unit price to the OM7, the writing flag is set and this flag is reset at the end of the writing. Therefore, the system initialization is performed in the middle of the setting data and the writing is interrupted. Also, after that, by checking the writing flag, it can be determined whether or not the data is correctly written in the EEPROM 7.

【0026】なお、上記実施例は仕向国を設定する場合
を列に挙げたが、レストラン向け、酒店向け等の仕様を
設定する場合であってもよい。また、上記実施例は不揮
発性メモリとしてEEPROM7を例に挙げたが、EP
ROMであってもよい。
In the above embodiment, the case where the destination country is set is listed, but the specification may be set for restaurants, liquor stores, etc. Further, in the above-mentioned embodiment, the EEPROM 7 is taken as an example of the non-volatile memory.
It may be a ROM.

【0027】[0027]

【発明の効果】この発明によれば、揮発性メモリである
ランダムアクセスメモリの内容がバックアップ電池切れ
等によって破壊されたとしても、ユーザの使用形態に合
わせてランダムアクセスメモリに設定されていたプリセ
ットデータをランダムアクセスメモリに確実に復元する
ことができるので、複雑な再設定が不要となる。
According to the present invention, even if the contents of the random access memory, which is a volatile memory, are destroyed due to the backup battery running out, etc., the preset data set in the random access memory according to the usage form of the user. Since it can be reliably restored to the random access memory, complicated resetting is unnecessary.

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

【図1】一実施例に係る電子式キャッシュレジスタのブ
ロック構成図。
FIG. 1 is a block diagram of an electronic cash register according to an embodiment.

【図2】RAM6の構成を示した図。FIG. 2 is a diagram showing a configuration of a RAM 6;

【図3】EEPROM7のメモリマップを示した図。FIG. 3 is a diagram showing a memory map of an EEPROM 7.

【図4】仕向国設定時の動作を示したフローチャート。FIG. 4 is a flowchart showing an operation when setting a destination country.

【図5】単価等の設定データをEEPROM7に書き込
む際の動作を示したフローチャート。
FIG. 5 is a flowchart showing an operation when writing setting data such as a unit price to the EEPROM 7.

【図6】EEPROM書き込み処理を詳細に示したフロ
ーチャート。
FIG. 6 is a flowchart showing details of EEPROM writing processing.

【図7】バックアップ電池8を実装したのち電源投入に
伴って実行開始される動作を示したフローチャート。
FIG. 7 is a flowchart showing an operation that is started when the power is turned on after the backup battery 8 is mounted.

【図8】精算時の動作を示したフローチャート。FIG. 8 is a flowchart showing an operation at the time of payment.

【図9】設定点検時の動作を示したフローチャート。FIG. 9 is a flowchart showing an operation during setting inspection.

【図10】通常のECR稼動時において電源投入に伴っ
て実行開始される動作を示したフローチャート。
FIG. 10 is a flowchart showing an operation started when power is turned on during normal ECR operation.

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

1 CPU 2 ROM 3 キーボード 4 表示部 5 プリンタ 6 RAM 6−1 部門合計器 6−2 PLU合計器 6−3 タックステーブル 6−4 キー機能テーブル 7 EEPROM 8 バックアップ電池 1 CPU 2 ROM 3 Keyboard 4 Display 5 Printer 6 RAM 6-1 Division Total 6-2 PLU Total 6-3 Tax Table 6-4 Key Function Table 7 EEPROM 8 Backup Battery

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.6 識別記号 庁内整理番号 FI 技術表示箇所 // G06F 17/60 ─────────────────────────────────────────────────── ─── Continuation of front page (51) Int.Cl. 6 Identification code Office reference number FI technical display location // G06F 17/60

Claims (2)

【特許請求の範囲】[Claims] 【請求項1】書き込み可能な不揮発性半導体メモリを内
蔵したデータ処理装置において、 ランダムアクセスメモリに対して設定される各種のプリ
セットデータを入力する入力手段と、 この入力手段から入力されたプリセットデータをランダ
ムアクセスメモリに書き込むと共に、前記不揮発性半導
体メモリにも書き込む第1の書込手段と、 電源復帰時に、前記不揮発性半導体メモリからプリセッ
トデータを読み出す読出手段と、 この読出手段によって読み出されたプリセットデータを
前記ランダムアクセスメモリに書き込む第2の書込手段
と、 を具備したことを特徴とするデータ処理装置。
1. A data processing device incorporating a writable non-volatile semiconductor memory, comprising: input means for inputting various preset data set to a random access memory; and preset data input from the input means. First writing means for writing to the random access memory and also to the non-volatile semiconductor memory, reading means for reading preset data from the non-volatile semiconductor memory when power is restored, and presets read by the reading means A second processing unit for writing data to the random access memory, the data processing apparatus.
【請求項2】前記第1の書込手段は、プリセットデータ
を前記不揮発性半導体メモリに書き込む前に書き込み中
を示すデータを不揮発性半導体メモリに書き込み、プリ
セットデータの書き込み終了時に書き込み中を示すデー
タをクリアするようにしたことを特徴とする請求項
(1)記載のデータ処理装置。
2. The first writing means writes data indicating that the preset data is being written into the nonvolatile semiconductor memory before writing the preset data into the nonvolatile semiconductor memory, and data indicating that the preset data is being written at the end of writing the preset data. The data processing device according to claim 1, characterized in that
JP22901194A 1994-08-31 1994-08-31 Data processing device Pending JPH0877077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP22901194A JPH0877077A (en) 1994-08-31 1994-08-31 Data processing device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP22901194A JPH0877077A (en) 1994-08-31 1994-08-31 Data processing device

Publications (1)

Publication Number Publication Date
JPH0877077A true JPH0877077A (en) 1996-03-22

Family

ID=16885366

Family Applications (1)

Application Number Title Priority Date Filing Date
JP22901194A Pending JPH0877077A (en) 1994-08-31 1994-08-31 Data processing device

Country Status (1)

Country Link
JP (1) JPH0877077A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006243901A (en) * 2005-03-01 2006-09-14 Toshiba Tec Corp Product sales data processing apparatus and program

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006243901A (en) * 2005-03-01 2006-09-14 Toshiba Tec Corp Product sales data processing apparatus and program

Similar Documents

Publication Publication Date Title
US7913097B2 (en) Fiscal data recorder programmed to write only non-blank values to memory
US5933595A (en) Computer apparatus having electrically rewritable nonvolatile memory, and nonvolatile semiconductor memory
WO2000014691A1 (en) Pos terminal, method of controlling the pos terminal, pos system using the pos terminal, and information storage medium
WO2000023904A1 (en) Efficient information exchange between an electronic book and a cartridge
JPH0376678A (en) Page printer and control device thereof
GB2122780A (en) Program modification system
US4853853A (en) Elecetronic cash register
JPH0877077A (en) Data processing device
EP0939369B1 (en) Electronic equipment with external memory storing a correction program
JPH0876980A (en) Data processing device
JP3603333B2 (en) Data processing device
US7509526B2 (en) Method of correcting NAND memory blocks and to a printing device employing the method
US6615196B1 (en) Method for data input into a postage computer and arrangement for the implementation of the method
JPH0784894A (en) Writing method of non-volatile memory
JPH0635944A (en) Lot vending system
JPH1011277A (en) Computer device having electrically rewritable nonvolatile memory and nonvolatile semiconductor memory
JPH0744671A (en) Ic card
JP3012285B2 (en) IC card with built-in CPU
JPH077474B2 (en) Electronic cash register
US5502813A (en) Method and apparatus for testing an NVM
JPH071514B2 (en) Electronic cash register
CN121190231A (en) Methods, devices, equipment, and media for processing invoices related to car purchase installment business.
JPH0719307B2 (en) Electronic cash register
JPH06195271A (en) Data processor
JP2667243B2 (en) IC card system