JPH087587A - MEMORY CONTROL PROCESSING DEVICE AND MEMORY ERASE LIMIT DETECTION METHOD IN THE DEVICE - Google Patents
MEMORY CONTROL PROCESSING DEVICE AND MEMORY ERASE LIMIT DETECTION METHOD IN THE DEVICEInfo
- Publication number
- JPH087587A JPH087587A JP15544994A JP15544994A JPH087587A JP H087587 A JPH087587 A JP H087587A JP 15544994 A JP15544994 A JP 15544994A JP 15544994 A JP15544994 A JP 15544994A JP H087587 A JPH087587 A JP H087587A
- Authority
- JP
- Japan
- Prior art keywords
- memory
- erase
- limit
- count
- updated
- 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
- 230000015654 memory Effects 0.000 title claims abstract description 159
- 238000001514 detection method Methods 0.000 title abstract description 6
- 238000000034 method Methods 0.000 claims description 29
- 230000000694 effects Effects 0.000 description 5
- 238000010586 diagram Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000009413 insulation Methods 0.000 description 1
Landscapes
- For Increasing The Reliability Of Semiconductor Memories (AREA)
- Techniques For Improving Reliability Of Storages (AREA)
- Read Only Memory (AREA)
Abstract
(57)【要約】
【目的】 消去回数に制限のあるメモリーの消去の際、
消去限界を越えた場合に利用者に警告を発し、メモリー
を用いた装置の信頼性を向上させることができるメモリ
ー制御処理装置及びそれにおけるメモリーの消去限界検
出方法を提供する。
【構成】 メモリー1の消去回数(n)と予め設定され
たメモリー1の消去限界回数(N)とを記憶する記憶部
23と、n>Nとなった場合に警告を発する出力部25
とを設け、制御部22が、メモリー1の消去を行う際
に、記憶部23内の消去回数に1を加えて更新し、更新
した消去回数が消去限界回数を越えたか否かを判断し、
更新した消去回数が消去限界回数を越えた場合に、出力
部に対して警告の出力を指示する制御部であるメモリー
制御処理装置及びそれにおけるメモリーの消去限界検出
方法としている。
(57) [Summary] [Purpose] When erasing a memory with a limited number of erases,
(EN) A memory control processing device capable of issuing a warning to a user when the erasure limit is exceeded and improving the reliability of a device using a memory, and a memory erasure limit detection method in the same. [Structure] A storage unit 23 for storing the number of erasures (n) of the memory 1 and a preset erasure limit number (N) of the memory 1, and an output unit 25 for issuing a warning when n> N.
When the memory 1 is erased, the control unit 22 updates the erase count in the storage unit 23 by adding 1 and determines whether the updated erase count exceeds the erase limit count.
A memory control processing device, which is a control unit for instructing the output unit to output a warning when the updated erase count exceeds the erase limit count, and a memory erase limit detection method in the memory control processor.
Description
【0001】[0001]
【産業上の利用分野】本発明は、メモリーからの読み出
し、消去、メモリーへの書き込みを行うメモリー制御処
理装置及びそれにおけるメモリーの消去限界検出方法に
係り、特に、消去回数に制限のあるメモリーの消去の
際、消去限界を越えた場合に利用者に警告を発し、メモ
リーを用いた装置の信頼性を向上させることができるメ
モリー制御処理装置及びそれにおけるメモリーの消去限
界検出方法に関する。BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory control processing device for reading from, erasing from, and writing to a memory and a method for detecting an erasing limit of a memory in the memory control processing device. The present invention relates to a memory control processing device capable of issuing a warning to a user when erasing exceeds an erasing limit and improving the reliability of a device using a memory, and a method for detecting the erasing limit of a memory in the device.
【0002】[0002]
【従来の技術】EEPROM(Eelectrically Erasable
Programmable Read Only Memory)やフラッシュメモリ
ーは、消去・書き込みが可能なメモリーであり、電源が
オフの時や、誤りのあるプログラムを実行した場合に
も、RAMのように内容が変わることがないので、安価
で小型のシステムを構成できるものとして広く用いられ
ている。2. Description of the Related Art EEPROM (Electrically Erasable)
Programmable Read Only Memory) and flash memory are erasable / writable memories, and their contents do not change like RAM even when the power is off or when an erroneous program is executed. It is widely used as an inexpensive and compact system that can be configured.
【0003】例えば、FLOTOXと呼ばれるフローテ
ィングゲート型のEEPROMのメモリセルは、通常の
ゲート(制御ゲート、CG)の他に、周囲から電気的に
絶縁されたフローティングゲート(FG)を有するMO
Sトランジスタから成る。FGとドレインの間の酸化膜
が100オングストローム程度に薄く形成されており、
CGにドレインより十分高い(+)電圧を加えると、電
子がドレインからFGに入って消去される。逆に、加え
る電圧の極性を変えれば、FGに入っていた電子はドレ
インに抜け出て書き込みが行われるものである。For example, a memory cell of a floating gate type EEPROM called FLOTOX has an MO having a floating gate (FG) electrically insulated from the surroundings in addition to a normal gate (control gate, CG).
It consists of S-transistors. The oxide film between FG and drain is thinly formed to about 100 Å,
When a voltage (+) sufficiently higher than that of the drain is applied to CG, electrons enter the FG from the drain and are erased. On the contrary, if the polarity of the applied voltage is changed, the electrons contained in the FG escape to the drain and writing is performed.
【0004】EEPROMは、消去・書き込みを繰り返
していると、フローティングゲートとドレインとの間の
絶縁性が劣化して、破壊されてしまう。一般的には、E
EPROMやフラッシュメモリの消去可能回数は100
0回〜10000回程度であり、消去回数を考慮するこ
となく使用できる場合が多い。When erasing / writing is repeated in the EEPROM, the insulation between the floating gate and the drain deteriorates and the EEPROM is destroyed. In general, E
EPROM and flash memory can be erased 100 times
It is about 0 to 10000 times and can be used in many cases without considering the erase count.
【0005】[0005]
【発明が解決しようとする課題】しかしながら、上記従
来のEEPROM及びフラッシュメモリーを用いた装置
では、消去限界を外部に知らせる手段が無いため、利用
者は消去限界を知ることができず、消去頻度が高い場合
や、消去頻度が低く(例えば2回/日)ても長期間使用
(例えば10年)する場合には、消去限界を越えて消去
してしまうことがあり、装置の信頼性を低下させてしま
うという問題点があった。However, in the above-mentioned device using the EEPROM and the flash memory, there is no means for notifying the erasure limit to the outside, so that the user cannot know the erasure limit and the erasure frequency is If the frequency is high, or if the frequency of erasure is low (for example, twice / day) and used for a long period of time (for example, 10 years), the erasure limit may be exceeded and the reliability of the device may be reduced. There was a problem that it would end up.
【0006】本発明は上記実情に鑑みて為されたもの
で、消去回数に制限のあるメモリーの消去の際、消去限
界を越えた場合に利用者に警告を発し、メモリーを用い
た装置の信頼性を向上させることができるメモリー制御
処理装置及びそれにおけるメモリーの消去限界検出方法
を提供することを目的とする。The present invention has been made in view of the above circumstances, and when erasing a memory having a limited number of erasures, a warning is given to the user when the erasure limit is exceeded, and the reliability of the device using the memory is relieved. It is an object of the present invention to provide a memory control processing device and a method for detecting the erase limit of a memory in the memory control processing device.
【0007】[0007]
【課題を解決するための手段】上記従来例の問題点を解
決するための請求項1記載の発明は、メモリーの消去動
作を行う制御部を有するメモリー制御処理装置におい
て、前記メモリーの消去回数と予め設定された前記メモ
リーの消去限界回数とを記憶する記憶部と、前記消去回
数が前記消去限界回数を越えた場合に警告を発する出力
部とを設け、前記制御部が、前記メモリーの消去動作を
行う際に、前記記憶部内の前記消去回数に1を加えて更
新し、更新した消去回数が前記消去限界回数を越えたか
否かを判断し、前記更新した消去回数が前記消去限界回
数を越えた場合に前記出力部に対して警告の出力を指示
する制御部であることを特徴としている。The invention according to claim 1 for solving the above-mentioned problems of the prior art is a memory control processing apparatus having a control unit for performing a memory erasing operation. A storage unit that stores a preset erase limit number of the memory and an output unit that issues a warning when the erase number exceeds the erase limit number are provided, and the control unit erases the memory. When updating, the erase count in the storage unit is updated by adding 1 to determine whether the updated erase count exceeds the erase limit count, and the updated erase count exceeds the erase limit count. In this case, the control unit is configured to instruct the output unit to output a warning.
【0008】上記従来例の問題点を解決するための請求
項2記載の発明は、請求項1記載のメモリー制御処理装
置におけるメモリーの消去限界検出方法において、制御
部が、メモリーの消去を行う際に、記憶部に記憶されて
いる消去回数に1を加えて更新し、更新した消去回数が
予め前記記憶部に記憶されている消去限界回数を越えた
か否かを判断し、前記更新した消去回数が前記消去限界
回数を越えた場合に出力部に対して警告の出力を指示す
ることを特徴としている。According to a second aspect of the present invention for solving the problems of the conventional example, in the method for detecting the erase limit of the memory in the memory control processing device according to the first aspect, when the control unit erases the memory. Is updated by adding 1 to the erase count stored in the storage unit, and it is determined whether the updated erase count exceeds the erase limit count stored in advance in the storage unit. Is instructed to output a warning to the output unit when the erase limit number is exceeded.
【0009】上記従来例の問題点を解決するための請求
項3記載の発明は、請求項1記載のメモリー制御処理装
置におけるメモリーの消去限界検出方法において、制御
部が、メモリーの消去を行う前に、前記メモリーの特定
のエリアに格納されている消去回数を読み取って記憶部
に格納し、前記メモリーの消去後に、前記記憶部に格納
されている消去回数に1を加えて更新し、更新した消去
回数を前記メモリーの前記特定のエリアに格納し、前記
更新した消去回数が予め前記記憶部に記憶されている消
去限界回数を越えたか否かを判断し、前記更新した消去
回数が前記消去限界回数を越えた場合に出力部に対して
警告の出力を指示することを特徴としている。According to a third aspect of the present invention for solving the above-mentioned problems of the conventional example, in the method of detecting the erase limit of the memory in the memory control processing device according to the first aspect, before the control unit erases the memory. In addition, the erase count stored in a specific area of the memory is read and stored in the storage unit, and after the memory is erased, the erase count stored in the storage unit is updated by adding 1 The erase count is stored in the specific area of the memory, and it is determined whether the updated erase count exceeds an erase limit count stored in advance in the storage unit. When the number of times is exceeded, the output unit is instructed to output a warning.
【0010】[0010]
【作用】請求項1記載の発明によれば、メモリーの消去
動作を行う制御部を有するメモリー制御処理装置におい
て、メモリーの消去回数と、予め設定された消去限界回
数とを記憶する記憶部と、消去回数が消去限界回数を越
えた場合に警告を発する出力部とを設け、制御部が、メ
モリーの消去動作を行う際に、記憶部内の消去回数に1
を加えて更新し、更新した消去回数が消去限界回数を越
えたか否かを判断し、更新した消去回数が消去限界回数
を越えた場合に、出力部に対して警告の出力を指示する
制御部であるメモリー制御処理装置としているので、メ
モリーの消去回数を記憶部内で管理することができ、消
去回数が消去制限回数を越えた場合には出力部から外部
に対して警告を発することができ、消去可能なメモリー
を用いた装置の信頼性を向上させることができる。According to the invention described in claim 1, in a memory control processing device having a control unit for performing a memory erasing operation, a memory unit for storing the number of times of erasing the memory and a preset erasing limit number, An output unit is provided for issuing a warning when the erase count exceeds the erase limit count, and when the control unit performs a memory erase operation, the erase count in the storage unit is set to 1
The control unit that determines whether or not the updated erase count exceeds the erase limit count, and instructs the output unit to output a warning when the updated erase count exceeds the erase limit count. Since it is a memory control processing device that is, it is possible to manage the number of times the memory is erased in the storage unit, and when the number of erases exceeds the erase limit number, the output unit can issue a warning to the outside, The reliability of the device using the erasable memory can be improved.
【0011】請求項2記載の発明によれば、制御部が、
メモリーの消去を行う際に、記憶部に記憶されている消
去回数に1を加えて更新し、更新した消去回数が予め記
憶部に記憶されている消去限界回数を越えたか否かを判
断し、更新した消去回数が消去限界回数を越えた場合に
出力部に対して警告の出力を指示する請求項1記載のメ
モリー制御処理装置におけるメモリーの消去限界検出方
法としているので、メモリーの消去回数を記憶部内で管
理することができ、消去回数が消去制限回数を越えた場
合には出力部から外部に対して警告を発することがで
き、消去可能なメモリーを用いた装置の信頼性を向上さ
せることができる。According to the second aspect of the present invention, the control section includes:
When erasing the memory, the erase count stored in the storage unit is updated by adding 1 to determine whether the updated erase count exceeds the erase limit count stored in advance in the storage unit, The method according to claim 1, wherein a warning is output to the output unit when the updated erase count exceeds the erase limit count, and the memory erase count detection method stores the memory erase count. It can be managed inside the unit, and when the number of erase times exceeds the erase limit number, the output unit can issue a warning to the outside, and the reliability of the device using the erasable memory can be improved. it can.
【0012】請求項3記載の発明によれば、制御部が、
メモリーの消去を行う前に、メモリーの特定のエリアに
格納されている消去回数を読み取って記憶部に格納し、
メモリーの消去後に、記憶部に格納されている消去回数
に1を加えて更新し、更新した消去回数をメモリーの特
定のエリアに格納し、更新した消去回数が予め記憶部に
記憶されている消去限界回数を越えたか否かを判断し、
更新した消去回数が消去限界回数を越えた場合に出力部
に対して警告の出力を指示する請求項1記載のメモリー
制御処理装置におけるメモリーの消去限界検出方法とし
ているので、メモリーの消去回数をメモリー自身が記憶
しておくことができ、メモリー制御処理装置から取り外
せるメモリーや、多数のメモリーについて消去回数が消
去限界を越えたかどうかを検出することができ、消去可
能なメモリーを用いた装置の信頼性を向上させることが
できる。According to the third aspect of the present invention, the control section includes:
Before erasing the memory, read the number of erasures stored in a specific area of the memory and store it in the memory,
After the memory is erased, the erase count stored in the storage unit is updated by adding 1, and the updated erase count is stored in a specific area of the memory, and the updated erase count is stored in advance in the storage unit. Judge whether or not the limit number of times is exceeded,
The method according to claim 1, wherein a warning is output to the output unit when the updated erase count exceeds the erase limit count. Memory that can be stored by itself and that can be removed from the memory control processor, or can detect whether the number of erases exceeds the erase limit for many memories, and the reliability of the device using the erasable memory Can be improved.
【0013】[0013]
【実施例】本発明の一実施例について図面を参照しなが
ら説明する。図1は、本発明の一実施例に係るメモリー
制御処理装置の構成ブロック図である。本実施例のメモ
リー制御処理装置は、本装置に接続されたメモリーの消
去回数をカウントし、予め設定された消去限界値を越え
て消去した場合に利用者に対して警告を発するものであ
る。DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment of the present invention will be described with reference to the drawings. FIG. 1 is a configuration block diagram of a memory control processing device according to an embodiment of the present invention. The memory control processing device of the present embodiment counts the number of times of erasing of the memory connected to this device, and issues a warning to the user when erasing exceeds the preset erasing limit value.
【0014】図1に示すように、本実施例のメモリー制
御処理装置2は、EEPROMやフラッシュメモリー等
の消去可能なメモリー1が接続されており、消去の指示
等を入力する入力部21と、メモリー1への書き込み、
消去、及びメモリー1からの読み出しを行う制御部22
と、メモリー1の消去回数を記憶する記憶部23と、消
去回数が限界値を越えたことをブザーやLED等により
利用者に告知する出力部25と、制御部22からの信号
を出力部25に送出する出力インタフェイス24とから
構成されている。As shown in FIG. 1, the memory control processing device 2 of this embodiment is connected to an erasable memory 1 such as an EEPROM or a flash memory, and an input section 21 for inputting an erasing instruction and the like. Writing to memory 1,
Control unit 22 for erasing and reading from the memory 1
A storage unit 23 that stores the number of times of erasing of the memory 1, an output unit 25 that notifies the user that the number of times of erasing has exceeded a limit value by a buzzer, an LED, etc., and a signal from the control unit 22 that is output by the output unit 25. And an output interface 24 for sending to the.
【0015】次に、各構成部分について図1を用いて具
体的に説明する。記憶部23は、電源がオフの場合でも
記憶内容を保持できる機能を持つデバイスであり、記憶
部23としては、FDD(フロッピーディスクドライ
ブ)、HDD(ハードディスクドライブ)、バッテリー
バックアップ機能付きSRAM等を用いることができ
る。Next, each component will be specifically described with reference to FIG. The storage unit 23 is a device having a function of retaining stored contents even when the power is off. As the storage unit 23, an FDD (floppy disk drive), an HDD (hard disk drive), an SRAM with a battery backup function, or the like is used. be able to.
【0016】そして、記憶部23には、メモリー1の消
去限界(N)を記憶する消去限界記憶エリア23aと、
メモリー1の実際の消去回数(n)を記憶する消去回数
記憶エリア23bとがあり、消去限界記憶エリア23a
にはメモリー1の適切な消去可能回数として予め設定さ
れたメモリー1の消去限界(N)を記憶するようになっ
ている。The storage unit 23 has an erase limit storage area 23a for storing the erase limit (N) of the memory 1,
There is an erase count storage area 23b for storing the actual erase count (n) of the memory 1, and an erase limit storage area 23a.
The erasure limit (N) of the memory 1 set in advance is stored as an appropriate number of times the memory 1 can be erased.
【0017】制御部22は、メモリー1の消去を行う毎
に、消去回数記憶エリア23b内の消去回数に1を加え
て更新するようになっている。これにより、常に最新の
消去回数を記憶し、メモリー1の消去回数を管理するも
のである。The controller 22 updates the erase count in the erase count storage area 23b by adding 1 every time the memory 1 is erased. As a result, the latest erase count is always stored and the erase count of the memory 1 is managed.
【0018】また、制御部22は、メモリー1を消去し
た後に、更新した消去回数(n)と、消去限界記憶エリ
ア23aに格納されている消去限界(N)とを比較し、
消去回数が消去限界を越えた場合、すなわちn>Nとな
った場合に、出力インタフェイス24に対して警告信号
を出力するようになっている。After erasing the memory 1, the controller 22 compares the updated erase count (n) with the erase limit (N) stored in the erase limit storage area 23a,
When the number of erases exceeds the erase limit, that is, when n> N, a warning signal is output to the output interface 24.
【0019】出力インタフェイス24は、制御部22か
らの警告信号を受けて、出力部25に適した信号に変換
して送出するものであり、出力部25がLEDの場合、
制御部22からの警告信号をLEDの点灯を指示する信
号に変換し、出力部25がブザーの場合、ブザー音の発
生を指示する信号に変換するようになっている。出力イ
ンタフェイス24としては、出力ポートや、シリアルイ
ンタフェイス、パラレルインタフェイス等を用いる。出
力インタフェイス24としてシリアルインタフェイス、
パラレルインタフェイスを用いた場合には、出力部25
としてはデータ表示端末やプリンターを用いることがで
きる。The output interface 24 receives a warning signal from the control unit 22, converts it into a signal suitable for the output unit 25, and sends it out. When the output unit 25 is an LED,
The warning signal from the control unit 22 is converted into a signal instructing lighting of the LED, and when the output unit 25 is a buzzer, it is converted into a signal instructing generation of a buzzer sound. As the output interface 24, an output port, a serial interface, a parallel interface, or the like is used. Serial interface as the output interface 24,
When the parallel interface is used, the output unit 25
A data display terminal or a printer can be used as.
【0020】次に、本実施例のメモリー制御処理装置に
おけるメモリーの消去限界検出方法について図2を用い
て説明する。図2は、本実施例のメモリーの消去限界検
出方法における制御部22の処理を示すフローチャート
図である。図2に示すように、まず、入力部21から
「消去」の指示が入力される(202)と、制御部22
は、メモリー1の消去を行い(204)、記憶部23の
消去回数記憶エリア23bから消去回数nを読み取り
(206)、nをn+1として更新する(208)。そ
して、更新されたnを消去回数記憶エリア23bに格納
する(210)。Next, a method of detecting the erase limit of the memory in the memory control processing device of this embodiment will be described with reference to FIG. FIG. 2 is a flow chart showing the processing of the control unit 22 in the method for detecting the erase limit of the memory of this embodiment. As shown in FIG. 2, first, when an instruction of “erase” is input from the input unit 21 (202), the control unit 22
Erases the memory 1 (204), reads the erase count n from the erase count storage area 23b of the storage unit 23 (206), and updates n by n + 1 (208). Then, the updated n is stored in the erase count storage area 23b (210).
【0021】次に、記憶部23の消去限界記憶エリア2
3aから消去限界Nを読み取り(212)、n>Nであ
るかどうかを判断し(214)、n≦Nである場合は処
理を終了する。n>Nである場合は、出力インタフェイ
ス24に警告信号を送出する(216)。このようにし
て制御部22での処理が行われる。Next, the erasure limit storage area 2 of the storage unit 23
The erase limit N is read from 3a (212), it is judged whether n> N (214), and if n ≦ N, the process is terminated. If n> N, a warning signal is sent to the output interface 24 (216). In this way, the processing in the control unit 22 is performed.
【0022】そして、出力インタフェイス24は、制御
部22からの警告信号を受けて、出力部25に適した信
号に変換し、出力部25に対して出力する。そして、出
力部25が、LEDの点灯やブザー音を発生する等の方
法により、メモリー1の消去回数が限界を越えたことを
利用者に告知し、警告を発するようになっている。この
ようにして、本実施例のメモリーの消去限界検出方法が
行われるものである。The output interface 24 receives the warning signal from the control unit 22, converts it into a signal suitable for the output unit 25, and outputs the signal to the output unit 25. Then, the output unit 25 notifies the user that the number of times of erasing the memory 1 has exceeded the limit and issues a warning by a method such as lighting an LED or generating a buzzer sound. In this way, the method for detecting the erase limit of the memory of this embodiment is performed.
【0023】本実施例のメモリー制御処理装置及びそれ
におけるメモリーの消去限界検出方法によれば、EEP
ROMやフラッシュメモリー等の消去回数に制限のある
記憶素子の消去を行う毎に、制御部22が、消去回数
(n)を記憶部23に記憶し、nが予め記憶している消
去限界(N)を越えたかどうかを判断して、越えた場合
には出力インタフェイス24を介して出力部25に警告
信号を送出するようにしているので、メモリー1の消去
回数が消去限界を越えた場合には、出力部25から外部
に対して警告を発することができ、EEPROMやフラ
ッシュメモリー等の消去可能なメモリーを用いた装置の
信頼性を向上させることができる効果がある。According to the memory control processor of the present embodiment and the method of detecting the erase limit of the memory therein, the EEP
Every time a storage element such as a ROM or a flash memory having a limited erase count is erased, the control unit 22 stores the erase count (n) in the storage unit 23, where n is a previously stored erase limit (N). ) Is exceeded and a warning signal is sent to the output section 25 via the output interface 24 when it exceeds, so that if the number of erases in the memory 1 exceeds the erase limit. Can output a warning from the output unit 25 to the outside, and has the effect of improving the reliability of a device using an erasable memory such as an EEPROM or a flash memory.
【0024】特に、本実施例のメモリーの消去限界検出
方法は、メモリー1の数が少ない場合や、メモリー1が
メモリー制御処理装置2から取り外せる構造ではなく、
メモリー制御処理装置2に固定されている場合に有効な
方法である。In particular, the method for detecting the erase limit of the memory according to the present embodiment is not limited to the case where the number of the memories 1 is small or the structure in which the memories 1 can be removed from the memory control processor 2.
This method is effective when it is fixed to the memory control processing device 2.
【0025】次に、本発明の別の実施例に係るメモリー
の消去限界検出方法ついて説明する。別の実施例に用い
られるメモリー制御処理装置2の構成は、図1に示した
本実施例のメモリー制御処理装置と同様である。別の実
施例のメモリーの消去限界検出方法は、メモリー1の中
に、消去回数を記憶する特定のエリアを設けておき、消
去する毎に特定エリアの消去回数を書き換えて、自らの
消去回数を記憶させておく方法である。この方法は、メ
モリー制御処理装置2に接続されているメモリー1の数
が多い場合や、メモリー1がメモリー処理装置2から取
り外すことができる場合に効果的である。Next, a method of detecting the erase limit of a memory according to another embodiment of the present invention will be described. The configuration of the memory control processing device 2 used in another embodiment is the same as that of the memory control processing device of this embodiment shown in FIG. A method of detecting the erase limit of a memory according to another embodiment is such that a specific area for storing the erase count is provided in the memory 1, and the erase count of the specific area is rewritten each time the erase is performed to determine the erase count of itself. This is a method of storing. This method is effective when the number of memories 1 connected to the memory control processing device 2 is large or when the memory 1 can be removed from the memory processing device 2.
【0026】次に、別の実施例のメモリーの消去限界検
出方法について図3を用いて具体的に説明する。図3
は、別の実施例のメモリーの消去限界検出方法を示すフ
ローチャート図である。図3に示すように、入力部21
から「消去」の指示が入力されると(302)、制御部
22は、メモリー1の特定のエリアから消去回数nを読
み取り(304)、nを記憶部23の消去回数記憶エリ
ア23bに格納する(306)。そして、メモリー1を
消去する(308)。Next, a method of detecting the erase limit of the memory of another embodiment will be concretely described with reference to FIG. FIG.
FIG. 8 is a flow chart showing a method for detecting the erase limit of a memory according to another embodiment. As shown in FIG. 3, the input unit 21
When the "erase" instruction is input from (302), the control unit 22 reads the erase count n from a specific area of the memory 1 (304) and stores n in the erase count storage area 23b of the storage unit 23. (306). Then, the memory 1 is erased (308).
【0027】次に、nをn+1に更新し(310)、メ
モリー1の特定のエリアに更新した消去回数nを書き込
む(312)。更に、記憶部23の消去回数記憶エリア
23bに消去回数nを書き込み(314)、記憶部23
から消去限界Nを読み取る(316)。そして、n>N
かどうかを判断し(318)、n≦Nの場合には処理を
終わる。Next, n is updated to n + 1 (310), and the updated erase count n is written in a specific area of the memory 1 (312). Further, the erase count n is written in the erase count storage area 23b of the storage unit 23 (314), and the storage unit 23
The erase limit N is read from (316). And n> N
It is determined whether or not (318), and if n ≦ N, the process is terminated.
【0028】一方、処理318でn>Nとなって、消去
回数が消去限界を越えた場合には、出力インタフェイス
24に警告信号を送出する(320)。そして、第1の
実施例と同様にして、出力部25がLEDの点灯やブザ
ー音の発生により利用者に消去回数が限界を越えたこと
を告知するようになっている。On the other hand, when n> N in the process 318 and the number of erases exceeds the erase limit, a warning signal is sent to the output interface 24 (320). Then, similarly to the first embodiment, the output unit 25 notifies the user that the number of times of erasing has exceeded the limit due to lighting of the LED or generation of a buzzer sound.
【0029】別の実施例によれば、メモリー1の内部に
自らの消去回数を記憶する特定のエリアを設け、メモリ
ー1の消去を行う際に、制御部22が、メモリー1の特
定のエリアから消去回数を読み取って記憶部23に格納
し、消去後、消去回数を1加算して更新し、更新した消
去回数nをメモリー1の特定のエリアに書き込むように
しているので、消去回数をメモリー1自身に記憶させて
おくことができ、取り外しできるメモリーや多数のメモ
リーについて消去回数が消去限界を越えたかどうかを検
出することができ、EEPROMやフラッシュメモリー
を用いた装置の信頼性を向上させることができる効果が
ある。According to another embodiment, a specific area for storing the number of times of erasing of the memory 1 is provided inside the memory 1, and when erasing the memory 1, the control unit 22 controls the area from the specific area of the memory 1. The erase count is read and stored in the storage unit 23, and after the erase, the erase count is incremented by 1 and updated, and the updated erase count n is written in a specific area of the memory 1. It can be stored in itself and can detect whether the number of times of erasing exceeds the erasing limit for removable memory or a large number of memories, and improve the reliability of a device using EEPROM or flash memory. There is an effect that can be done.
【0030】また、消去回数nが消去限界に近付いた場
合と、消去限界を越えた場合とで、警告方法を変えて、
利用者により詳細な情報を提供することも可能である。
この場合、消去限界と消去回数との差(N−n)が一定
値以内になった場合(例えばN−n≦100)に第1の
警告、消去回数が消去限界を越えた場合(n>N)に第
2の警告を発するようにするものである。例えば、出力
部25としてLEDを用いている場合、近付いた場合に
は黄色のLEDを点灯させ、越えた場合には赤のLED
を点灯させたり、ブザーを用いた出力部25では、近付
いた場合には小さな音量で鳴らし、限界を越えた場合に
は大きな音量で鳴らすようにする等の方法が考えられ
る。The warning method is changed depending on whether the erase count n approaches the erase limit or exceeds the erase limit.
It is also possible to provide more detailed information to the user.
In this case, when the difference (N−n) between the erase limit and the erase count is within a certain value (for example, N−n ≦ 100), the first warning, and when the erase count exceeds the erase limit (n> The second warning is issued to N). For example, when an LED is used as the output unit 25, a yellow LED is turned on when approaching, and a red LED is approached when approaching.
It is conceivable that, for example, a light is emitted, or the output section 25 using a buzzer sounds at a low volume when approaching, and at a high volume when the limit is exceeded.
【0031】[0031]
【発明の効果】請求項1記載の発明によれば、メモリー
の消去動作を行う制御部を有するメモリー制御処理装置
において、メモリーの消去回数と、予め設定された消去
限界回数とを記憶する記憶部と、消去回数が消去限界回
数を越えた場合に警告を発する出力部とを設け、制御部
が、メモリーの消去動作を行う際に、記憶部内の消去回
数に1を加えて更新し、更新した消去回数が消去限界回
数を越えたか否かを判断し、更新した消去回数が消去限
界回数を越えた場合に、出力部に対して警告の出力を指
示する制御部であるメモリー制御処理装置としているの
で、メモリーの消去回数を記憶部内で管理することがで
き、消去回数が消去制限回数を越えた場合には出力部か
ら外部に対して警告を発することができ、消去可能なメ
モリーを用いた装置の信頼性を向上させることができる
効果がある。According to the first aspect of the present invention, in a memory control processing device having a control unit for performing a memory erasing operation, a storage unit for storing the number of times of erasing the memory and a preset erasing limit number. And an output unit for issuing a warning when the erase count exceeds the erase limit count, and when the control unit performs the memory erase operation, it is updated by adding 1 to the erase count in the storage unit. The memory control processing device is a control unit that determines whether or not the erase count exceeds the erase limit count, and instructs the output unit to output a warning when the updated erase count exceeds the erase limit count. Therefore, the number of times the memory is erased can be managed in the storage unit, and when the number of erases exceeds the erase limit number, the output unit can issue a warning to the outside. There is an effect that it is possible to improve the reliability.
【0032】請求項2記載の発明によれば、制御部が、
メモリーの消去を行う際に、記憶部に記憶されている消
去回数に1を加えて更新し、更新した消去回数が予め記
憶部に記憶されている消去限界回数を越えたか否かを判
断し、更新した消去回数が消去限界回数を越えた場合に
出力部に対して警告の出力を指示する請求項1記載のメ
モリー制御処理装置におけるメモリーの消去限界検出方
法としているので、メモリーの消去回数を記憶部内で管
理することができ、消去回数が消去制限回数を越えた場
合には出力部から外部に対して警告を発することがで
き、消去可能なメモリーを用いた装置の信頼性を向上さ
せることができる効果がある。According to the second aspect of the present invention, the control section comprises:
When erasing the memory, the erase count stored in the storage unit is updated by adding 1 to determine whether the updated erase count exceeds the erase limit count stored in advance in the storage unit, The method according to claim 1, wherein a warning is output to the output unit when the updated erase count exceeds the erase limit count, and the memory erase count detection method stores the memory erase count. It can be managed inside the unit, and when the number of erase times exceeds the erase limit number, the output unit can issue a warning to the outside, and the reliability of the device using the erasable memory can be improved. There is an effect that can be done.
【0033】請求項3記載の発明によれば、制御部が、
メモリーの消去を行う前に、メモリーの特定のエリアに
格納されている消去回数を読み取って記憶部に格納し、
メモリーの消去後に、記憶部に格納されている消去回数
に1を加えて更新し、更新した消去回数をメモリーの特
定のエリアに格納し、更新した消去回数が予め記憶部に
記憶されている消去限界回数を越えたか否かを判断し、
更新した消去回数が消去限界回数を越えた場合に出力部
に対して警告の出力を指示する請求項1記載のメモリー
制御処理装置におけるメモリーの消去限界検出方法とし
ているので、メモリーの消去回数をメモリー自身が記憶
しておくことができ、メモリー制御処理装置から取り外
せるメモリーや、多数のメモリーについて消去回数が消
去限界を越えたかどうかを検出することができ、消去可
能なメモリーを用いた装置の信頼性を向上させることが
できる効果がある。According to the third aspect of the present invention, the control section includes:
Before erasing the memory, read the number of erasures stored in a specific area of the memory and store it in the memory,
After the memory is erased, the erase count stored in the storage unit is updated by adding 1, and the updated erase count is stored in a specific area of the memory, and the updated erase count is stored in advance in the storage unit. Judge whether or not the limit number of times is exceeded,
The method according to claim 1, wherein a warning is output to the output unit when the updated erase count exceeds the erase limit count. Memory that can be stored by itself and that can be removed from the memory control processor, or can detect whether the number of erases exceeds the erase limit for many memories, and the reliability of the device using the erasable memory There is an effect that can improve.
【図1】本発明の一実施例に係るメモリー制御処理装置
の構成ブロック図である。FIG. 1 is a configuration block diagram of a memory control processing device according to an embodiment of the present invention.
【図2】本実施例のメモリー消去限界検出方法を示すフ
ローチャート図である。FIG. 2 is a flow chart diagram showing a memory erase limit detection method of the present embodiment.
【図3】別の実施例のメモリーの消去限界検出方法を示
すフローチャート図である。FIG. 3 is a flowchart showing a method of detecting an erase limit of a memory according to another embodiment.
1…メモリー、 2…メモリー制御処理装置、 21…
入力部、 22…制御部、 23…記憶部、 24…出
力インタフェイス、 25…出力部1 ... Memory, 2 ... Memory control processor, 21 ...
Input unit, 22 ... Control unit, 23 ... Storage unit, 24 ... Output interface, 25 ... Output unit
Claims (3)
るメモリー制御処理装置において、前記メモリーの消去
回数と予め設定された前記メモリーの消去限界回数とを
記憶する記憶部と、前記消去回数が前記消去限界回数を
越えた場合に警告を発する出力部とを設け、前記制御部
が、前記メモリーの消去動作を行う際に、前記記憶部内
の前記消去回数に1を加えて更新し、更新した消去回数
が前記消去限界回数を越えたか否かを判断し、前記更新
した消去回数が前記消去限界回数を越えた場合に前記出
力部に対して警告の出力を指示する制御部であることを
特徴とするメモリー制御処理装置。1. A memory control processing device having a control unit for performing a memory erasing operation, and a memory unit for storing the number of times of erasing of the memory and a preset erasing limit number of the memory, An output unit that issues a warning when the erase limit count is exceeded, and when the control unit performs the erase operation of the memory, the erase count in the storage unit is updated by adding 1 and the updated erase is performed. The control unit determines whether or not the number of erases exceeds the erase limit number, and instructs the output unit to output a warning when the updated number of erases exceeds the erase limit number. Memory control processor.
記憶部に記憶されている消去回数に1を加えて更新し、
更新した消去回数が予め前記記憶部に記憶されている消
去限界回数を越えたか否かを判断し、前記更新した消去
回数が前記消去限界回数を越えた場合に出力部に対して
警告の出力を指示することを特徴とする請求項1記載の
メモリー制御処理装置におけるメモリーの消去限界検出
方法。2. When the control unit erases the memory,
Update by adding 1 to the erase count stored in the memory,
It is determined whether or not the updated erase count exceeds the erase limit count stored in advance in the storage unit, and when the updated erase count exceeds the erase limit count, a warning is output to the output unit. The method according to claim 1, wherein an instruction is issued to the memory control processor.
前記メモリーの特定のエリアに格納されている消去回数
を読み取って記憶部に格納し、前記メモリーの消去後
に、前記記憶部に格納されている消去回数に1を加えて
更新し、更新した消去回数を前記メモリーの前記特定の
エリアに格納し、前記更新した消去回数が予め前記記憶
部に記憶されている消去限界回数を越えたか否かを判断
し、前記更新した消去回数が前記消去限界回数を越えた
場合に出力部に対して警告の出力を指示することを特徴
とする請求項1記載のメモリー制御処理装置におけるメ
モリーの消去限界検出方法。3. The control unit, before erasing the memory,
The erase count stored in a specific area of the memory is read and stored in the storage unit. After the memory is erased, the erase count stored in the storage unit is updated by adding 1 to the updated erase count. Is stored in the specific area of the memory, and it is determined whether the updated erase count exceeds the erase limit count stored in advance in the storage unit, and the updated erase count is equal to the erase limit count. 2. The method for detecting the erasing limit of the memory in the memory control processing device according to claim 1, wherein the output unit is instructed to output a warning when it exceeds the limit.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15544994A JPH087587A (en) | 1994-06-15 | 1994-06-15 | MEMORY CONTROL PROCESSING DEVICE AND MEMORY ERASE LIMIT DETECTION METHOD IN THE DEVICE |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP15544994A JPH087587A (en) | 1994-06-15 | 1994-06-15 | MEMORY CONTROL PROCESSING DEVICE AND MEMORY ERASE LIMIT DETECTION METHOD IN THE DEVICE |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| JPH087587A true JPH087587A (en) | 1996-01-12 |
Family
ID=15606292
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| JP15544994A Pending JPH087587A (en) | 1994-06-15 | 1994-06-15 | MEMORY CONTROL PROCESSING DEVICE AND MEMORY ERASE LIMIT DETECTION METHOD IN THE DEVICE |
Country Status (1)
| Country | Link |
|---|---|
| JP (1) | JPH087587A (en) |
-
1994
- 1994-06-15 JP JP15544994A patent/JPH087587A/en active Pending
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JPS59162695A (en) | Storage device | |
| EP0708450B1 (en) | A semiconductor disk device with a constant data-writing time period | |
| KR100456988B1 (en) | Data storage device and data erasing method | |
| JP2005078766A (en) | Nonvolatile semiconductor memory device and electronic device using the same | |
| KR0185954B1 (en) | Memory management method | |
| JP2005190288A (en) | Memory controller, flash memory system therewith, and method for controlling flash memory | |
| KR970029059A (en) | Nonvolatile storage devices | |
| KR100229033B1 (en) | Apparatus and method for saving power in a nonvolatile memory | |
| KR960030428A (en) | Semiconductor non-volatile memory | |
| JP2002208286A (en) | Nonvolatile semiconductor memory device | |
| JPH087587A (en) | MEMORY CONTROL PROCESSING DEVICE AND MEMORY ERASE LIMIT DETECTION METHOD IN THE DEVICE | |
| JPH07153284A (en) | Non-volatile semiconductor memory and its control method | |
| US20050188148A1 (en) | Data access controlling method in flash memory and data access controlling program | |
| JPH08339693A (en) | Nonvolatile semiconductor memory device | |
| TW201621668A (en) | Data storage device and data writing method thereof | |
| JPH0581012A (en) | Firmware rewrite system for information processor | |
| KR100521155B1 (en) | Apparatus and method for writing data in flash memory | |
| JPH05290585A (en) | Electrically writable non-volatile memory | |
| JP3028567B2 (en) | Microcomputer with built-in EEPROM | |
| JP4213053B2 (en) | MEMORY CONTROLLER, FLASH MEMORY SYSTEM PROVIDED WITH MEMORY CONTROLLER, AND FLASH MEMORY CONTROL METHOD | |
| JPH1165941A (en) | Storage device | |
| JPH07296591A (en) | Electronics | |
| JPS59191196A (en) | Non-volatile semiconductor memory device | |
| JP2003337757A (en) | Memory controller, flash memory system, and controlling method for the same | |
| JPH05166390A (en) | Memory card and its data writing and erasing method |