JPH0546488A - Memory card device - Google Patents

Memory card device

Info

Publication number
JPH0546488A
JPH0546488A JP20051991A JP20051991A JPH0546488A JP H0546488 A JPH0546488 A JP H0546488A JP 20051991 A JP20051991 A JP 20051991A JP 20051991 A JP20051991 A JP 20051991A JP H0546488 A JPH0546488 A JP H0546488A
Authority
JP
Japan
Prior art keywords
data
eeprom
area
memory card
block
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
JP20051991A
Other languages
Japanese (ja)
Inventor
Toshiaki Sato
聡明 佐藤
Shinpei Yoshioka
心平 吉岡
Koji Maruyama
晃司 丸山
Kazuo Konishi
和夫 小西
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.)
Toshiba Corp
Toshiba AVE Co Ltd
Original Assignee
Toshiba Corp
Toshiba AVE 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 Toshiba Corp, Toshiba AVE Co Ltd filed Critical Toshiba Corp
Priority to JP20051991A priority Critical patent/JPH0546488A/en
Priority to EP96120115A priority patent/EP0772358A1/en
Priority to EP92113423A priority patent/EP0528280B1/en
Priority to DE69223099T priority patent/DE69223099T2/en
Publication of JPH0546488A publication Critical patent/JPH0546488A/en
Priority to US08/505,369 priority patent/US5579502A/en
Pending legal-status Critical Current

Links

Landscapes

  • Memory System (AREA)
  • Read Only Memory (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

PURPOSE:To easily discriminate whether a write fault is due to a verify fault or not and to suppress the generation of a verify fault of an electrically erasable and programmable ROM (EEPROM) by preventing data rewrite from concentrat ing in the specific storage area. CONSTITUTION:The memory card is provided with an EEPROM 16 whose storage area is divided into blocks with a constant capacity and having data area and data management area saving data management information saved in the data area for each block and a control means 14 writing the number of data recordings in the data management area corresponding to the data area where the data is saved each time data is saved in the data area of each block of this EEPROM 16.

Description

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

【0001】[0001]

【産業上の利用分野】この発明は、半導体メモリとして
EEPROM(エレクトリカリィ・イレーサブル・アン
ド・プログラマブル・リード・オンリー・メモリ)を使
用したメモリカード装置に係り、特に撮影した被写体の
光学像をデジタル画像データに変換して半導体メモリに
記録する電子スチルカメラ装置等に使用して好適するも
のに関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a memory card device using an EEPROM (Electrically Erasable and Programmable Read Only Memory) as a semiconductor memory, and more particularly to a digital image of an optical image of a photographed subject. The present invention relates to a device suitable for use in an electronic still camera device or the like that converts data and records it in a semiconductor memory.

【0002】[0002]

【従来の技術】周知のように、撮影した被写体の光学像
を固体撮像素子を用いて電気的な画像信号に変換し、こ
の画像信号をデジタル画像データに変換して半導体メモ
リに記録する電子スチルカメラ装置が開発されている。
そして、この種の電子スチルカメラ装置にあっては、半
導体メモリをカード状のケースに内蔵してなるメモリカ
ードを、カメラ本体に着脱自在となるように構成するこ
とによって、通常のカメラにおけるフィルムと等価な取
り扱いができるようになされている。
2. Description of the Related Art As is well known, an electronic still which converts an optical image of a photographed object into an electric image signal by using a solid-state image pickup device, converts the image signal into digital image data, and records the digital image data in a semiconductor memory. Camera devices have been developed.
In this type of electronic still camera device, a memory card in which a semiconductor memory is built in a card-shaped case is configured to be detachable from the camera body so that it can be used as a film in a normal camera. Equivalent handling can be done.

【0003】ここで、電子スチルカメラ装置のメモリカ
ードは、現在、標準化が進められていて、内蔵される半
導体メモリとしては、複数枚のデジタル画像データを記
録するために大記憶容量のものが要求され、例えばSR
AM(スタティック・ランダム・アクセス・メモリ),
マスクROM及び電気的にデータの書き込みや消去が可
能なEEPROM等が考えられており、SRAMを用い
たメモリカードは既に商品化されている。
The memory card of the electronic still camera device is currently being standardized, and the built-in semiconductor memory is required to have a large storage capacity for recording a plurality of digital image data. For example, SR
AM (Static Random Access Memory),
A mask ROM and an EEPROM capable of electrically writing and erasing data have been considered, and a memory card using an SRAM has already been commercialized.

【0004】ところで、SRAMを用いたメモリカード
は、どのようなフォーマットのデータ構成にも対応する
ことができるとともに、データの書き込みスピード及び
読み出しスピードも速いという利点がある反面、書き込
んだデータを保持するためのバックアップ電池をメモリ
カード内に収容する必要があるため、電池収容スペース
を設置する分だけ記憶容量が削減されるとともに、SR
AM自体のコストが高く経済的な不利を招くという問題
を持っている。
By the way, the memory card using the SRAM has an advantage that it can correspond to a data structure of any format and has a high data writing speed and a high data reading speed, but holds the written data. Since it is necessary to store a backup battery in the memory card for this purpose, the storage capacity is reduced by the amount of the battery storage space and SR
There is a problem that the cost of AM itself is high and causes an economic disadvantage.

【0005】そこで、現在では、SRAMの持つ問題点
を解消するために、メモリカードに用いられる半導体メ
モリとしてEEPROMが注目されている。このEEP
ROMは、磁気ディスクに代わる記録媒体として注目を
浴びているもので、データ保持のためのバックアップ電
池が不要であるとともに、チップ自体のコストを安くす
ることができる等、SRAMの持たない特有な利点を有
することから、メモリカード用として使用するための開
発が盛んに行なわれている。
Therefore, in order to solve the problems of the SRAM, the EEPROM is now attracting attention as a semiconductor memory used for a memory card. This EEP
The ROM has been attracting attention as a recording medium that replaces the magnetic disk, and it does not require a backup battery for holding data and can reduce the cost of the chip itself, which is a unique advantage that SRAM does not have. Therefore, development for use as a memory card has been actively carried out.

【0006】ここで、図3は、SRAMを用いたメモリ
カード(SRAMカード)とEEPROMを用いたメモ
リカード(EEPROMカード)との長短を比較して示
している。まず、比較項目1,2のバックアップ電池及
びコストについては、既に前述したように、SRAMカ
ードはバックアップ電池が必要でありコストも高いとい
う問題があるのに対し、EEPROMカードはバックア
ップ電池が不要でコストも低くすることができるという
利点を有している。
Here, FIG. 3 shows the lengths of a memory card using an SRAM (SRAM card) and a memory card using an EEPROM (EEPROM card) in comparison. First, regarding the backup battery and the cost of the comparison items 1 and 2, the SRAM card needs the backup battery and the cost is high as described above, while the EEPROM card does not need the backup battery and the cost is high. Also has the advantage that it can be lowered.

【0007】次に、比較項目3,4の書き込みスピード
及び読み出しスピードについては、アドレスで任意に指
定したバイトまたはビットに対して、データの書き込み
及び読み出しを行なう、SRAMとEEPROMとに共
通のランダムアクセスモードと、複数の連続するバイト
(数百バイト)でなるページを指定することにより、ペ
ージ単位で一括してデータの書き込み及び読み出しを行
なう、EEPROMに特有のページモードとに分けて考
えられる。
Regarding the write speed and read speed of comparison items 3 and 4, random access common to SRAM and EEPROM is performed for writing and reading data to or from a byte or bit arbitrarily designated by an address. A mode and a page mode peculiar to the EEPROM, in which data is written and read collectively in page units by designating a page made up of a plurality of consecutive bytes (several hundred bytes), can be considered.

【0008】そして、ランダムアクセスモードおいて、
SRAMは書き込みスピード及び読み出しスピードが共
に速く、EEPROMは書き込みスピード及び読み出し
スピードが共に遅くなっている。また、EEPROM
は、ページモードにおいて、1ページ分の大量のデータ
を一斉に書き込み及び読み出しすることから、ランダム
アクセスモードに比してデータの書き込みスピード及び
読み出しスピードは速くなっている。
In the random access mode,
The SRAM has a high writing speed and a high reading speed, and the EEPROM has a low writing speed and a low reading speed. In addition, EEPROM
In the page mode, since a large amount of data for one page is written and read all at once, the data write speed and the data read speed are faster than in the random access mode.

【0009】さらに、比較項目5のイレース(消去)モ
ードは、EEPROMに特有のモードであり、SRAM
には存在しないモードである。すなわち、EEPROM
は、既にデータの書き込まれている領域に新たにデータ
を書き込む場合、先に書き込まれているデータを一旦イ
レースしないと新たなデータを書き込むことができない
ため、データの書き込みを行なうに際して、このイレー
スモードが実行されるようになっている。
Further, the erase (erase) mode of the comparison item 5 is a mode peculiar to the EEPROM, which is the SRAM.
Is a mode that does not exist in. That is, the EEPROM
When writing new data to the area where data has already been written, new data cannot be written unless the previously written data is erased. Therefore, when writing data, this erase mode Is to be executed.

【0010】また、比較項目6の書き込みベリファイ
も、EEPROMに特有のモードであり、SRAMには
存在しないモードである。すなわち、EEPROMは、
データ書き込みを行なう場合、通常1回の書き込み動作
では完全な書き込みが行なわれない。このため、EEP
ROMに対して1回の書き込み動作を行なう毎にEEP
ROMの書き込み内容を読み出し、正確に書き込まれて
いるか否かをチェックする必要があり、これが書き込み
ベリファイである。
Further, the write verify of the comparison item 6 is also a mode peculiar to the EEPROM and is not present in the SRAM. That is, the EEPROM is
When writing data, complete writing is not normally performed in one writing operation. Therefore, EEP
EEP every time one write operation is performed to ROM
It is necessary to read the written contents of the ROM and check whether or not they are correctly written, and this is the write verify.

【0011】具体的には、EEPROMに書き込むべき
データをバッファメモリに記録しておき、バッファメモ
リからEEPROMにデータを転送して書き込んだ後、
EEPROMの書き込み内容を読み出し、バッファメモ
リの内容と比較して一致しているか否かを判別してい
る。そして、書き込みベリファイの結果、不一致(エラ
ー)と判定された場合には、再度バッファメモリの内容
をEEPROMに書き込む動作を繰り返すようにしてい
る。
Specifically, the data to be written in the EEPROM is recorded in the buffer memory, the data is transferred from the buffer memory to the EEPROM and written, and then,
The contents written in the EEPROM are read out and compared with the contents in the buffer memory to determine whether they match. Then, when it is determined as a result of the write verify that there is a mismatch (error), the operation of writing the contents of the buffer memory to the EEPROM again is repeated.

【0012】以上の比較結果から明らかなように、EE
PROMには、バックアップ電池が不要でありコストが
安く、しかもページ単位のデータ書き込み及び読み出し
が可能である等の、SRAMに見られない特有な利点が
備えられている反面、ランダムアクセスモードにおける
データの書き込みスピード及び読み出しスピードが遅い
とともに、イレースモードや書き込みベリファイ等のよ
うなSRAMにはないモードを必要とするという不都合
もある。
As is clear from the above comparison results, EE
The PROM does not require a backup battery, is low in cost, and is capable of writing and reading data in page units. It has unique advantages not found in SRAM, but on the other hand, it does not store data in the random access mode. There is also a disadvantage that the writing speed and the reading speed are slow and that a mode such as an erase mode and a write verify which is not in the SRAM is required.

【0013】そこで、メモリカードに使用する半導体メ
モリとして、現在使用されているSRAMに代えてEE
PROMを使用することを考えた場合、データの書き込
みスピード及び読み出しスピードの問題や、イレースモ
ード及び書き込みベリファイ等を必要とするという問題
を解消し、SRAMを内蔵したメモリカードと等価な取
り扱い方ができるように、つまりSRAMカードライク
に使用できるように細部に渡って種々の改良を施すこと
が、肝要なこととなっている。
Therefore, as the semiconductor memory used for the memory card, the EE is used instead of the currently used SRAM.
Considering the use of PROM, the problems of data write speed and read speed, the problem of needing erase mode and write verify, etc. can be solved, and it can be handled in the same manner as a memory card with built-in SRAM. As described above, that is, it is important to make various improvements in detail so that it can be used in an SRAM card-like manner.

【0014】この場合、特に問題となることは、EEP
ROMは、データの書き替え回数が一定数を越えるとメ
モリセルが急激に劣化しデータの書き込み不良が発生し
易くなることである。すなわち、EEPROMは、プロ
グラムデータの記録用として開発され、プログラムのバ
ージョンアップのときにデータの書き替えを行なえるよ
うにすることを意図したものであるから、多数回のデー
タ書き替えに対応できるように設計されていないからで
ある。ところが、SRAMの代用としてEEPROMを
用いる場合、当然のことながら、頻繁にデータが書き替
えられるような使われ方をされるため、書き込み不良の
発生率が飛躍的に増大することは必至である。
In this case, the EEP is particularly problematic.
In the ROM, when the number of data rewrites exceeds a certain number, the memory cells are rapidly deteriorated, and a data write failure is likely to occur. That is, since the EEPROM is developed for recording program data and is intended to be able to rewrite data when the version of the program is upgraded, it is possible to support rewriting of data many times. Because it is not designed to. However, when the EEPROM is used as a substitute for the SRAM, it is naturally used that data is frequently rewritten, so that it is inevitable that the rate of occurrence of write defects is dramatically increased.

【0015】そして、この書き込み不良について、従来
では、前述した書き込みベリファイ処理を所定回数繰り
返しても正しく書き込まれなかったとき書き込み不良で
あると判断している。しかるに、従来では、EEPRO
Mに書き込み不良が生じた場合、その書き込み不良が、
上述したようなデータの書き替え回数が多くなったこと
によるいわゆるベリファイ不良か、EEPROM自体の
製造不良や機械的な破壊によるものかを判別することが
できないという問題が生じている。また、EEPROM
の特定の記憶領域に集中して頻繁にデータ書き替えが行
なわれた場合、非常に短期間でベリファイ不良が発生し
てしまうという不都合もある。
Regarding this write failure, conventionally, it is determined that the write failure occurs when the write verify processing described above is not correctly written even after repeating a predetermined number of times. However, in the past, EEPRO
When a writing failure occurs in M, the writing failure is
As described above, there is a problem that it is not possible to determine whether it is a so-called verification failure due to the increase in the number of times of rewriting data, a manufacturing failure of the EEPROM itself, or mechanical breakdown. In addition, EEPROM
If data is frequently rewritten in a particular storage area, the verification failure will occur in a very short period of time.

【0016】[0016]

【発明が解決しようとする課題】以上のように、EEP
ROMを内蔵した従来のメモリカードでは、EEPRO
Mに書き込み不良が発生した原因を判断することが困難
であるとともに、EEPROMの特定の記憶領域に集中
して頻繁にデータ書き替えが行なわれた場合、非常に短
期間でベリファイ不良が発生してしまうという問題を有
している。
DISCLOSURE OF THE INVENTION Problems to be Solved by the Invention
In the conventional memory card with built-in ROM, EEPRO
It is difficult to determine the cause of the write failure in M, and if the data is rewritten frequently in a specific storage area of the EEPROM, the verify failure occurs in a very short period of time. It has the problem of being lost.

【0017】そこで、この発明は上記事情を考慮してな
されたもので、書き込み不良がベリファイ不良によるも
のか否かを容易に判断することができ、ひいてはデータ
書き替えが特定の記憶領域に集中することを防止して、
EEPROMのベリファイ不良の発生を抑制することが
できる極めて良好なメモリカード装置を提供することを
目的とする。
Therefore, the present invention has been made in consideration of the above circumstances, and it is possible to easily determine whether or not the write failure is due to the verify failure, and thus the data rewriting concentrates on a specific storage area. To prevent that
It is an object of the present invention to provide an extremely good memory card device capable of suppressing the occurrence of verification failure of an EEPROM.

【0018】[0018]

【課題を解決するための手段】この発明に係るメモリカ
ード装置は、記憶領域が一定容量の複数のブロックに分
割され、各ブロックにデータ領域と該データ領域に記録
されたデータの管理情報を記録するデータ管理領域とを
有するEEPROMと、このEEPROMの各ブロック
のデータ領域にデータが記録される毎に、該データが記
録されたデータ領域に対応するデータ管理領域に、デー
タ記録回数を書き込む制御手段とを備えるようにしたも
のである。
In a memory card device according to the present invention, a storage area is divided into a plurality of blocks having a fixed capacity, and a data area and management information of data recorded in the data area are recorded in each block. And a control unit for writing the number of times of data recording to the data management area corresponding to the data area where the data is recorded every time the data is recorded in the data area of each block of the EEPROM. It is equipped with and.

【0019】[0019]

【作用】上記のような構成によれば、書き込み不良が発
生した場合、データ管理領域のデータ記録回数を検知す
ることにより、ベリファイ不良によるものか否かを容易
に判断することができ、ひいてはデータ書き替えが特定
のブロックに集中することを防止して、EEPROMの
ベリファイ不良の発生を抑制することができるようにな
る。
According to the above configuration, when a write failure occurs, it is possible to easily determine whether or not it is due to a verify failure by detecting the number of data recordings in the data management area. It is possible to prevent rewriting from concentrating on a specific block and suppress the occurrence of verify failure in the EEPROM.

【0020】[0020]

【実施例】以下、この発明を電子スチルカメラ装置に適
用した場合の一実施例について図面を参照して詳細に説
明する。図1において、11はメモリカード本体で、そ
の一端部に設置されたコネクタ12を介して、図示しな
い電子スチルカメラ本体に接続されるようになされてい
る。このコネクタ12には、電子スチルカメラ本体側か
ら、メモリカード本体11に書き込むべきデータや、そ
の書き込み場所を示すアドレスデータ等が供給される。
DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS An embodiment in which the present invention is applied to an electronic still camera device will be described in detail below with reference to the drawings. In FIG. 1, 11 is a memory card main body, which is connected to an electronic still camera main body (not shown) via a connector 12 installed at one end thereof. The connector 12 is supplied with data to be written in the memory card body 11 and address data indicating the writing location from the electronic still camera body side.

【0021】そして、このコネクタ12に供給されたデ
ータは、バスライン13を介してデータ入出力制御回路
14に取り込まれる。このデータ入出力制御回路14
は、データの高速書き込み及び高速読み出しが可能な図
示しないバッファメモリを内蔵しており、取り込んだデ
ータを一旦バッファメモリに記録する。その後、データ
入出力制御回路14は、バッファメモリに記録したデー
タを、バスライン15を介して複数(図示の場合は4
つ)のEEPROM16の書き込みサイクルに対応した
タイミングで読み出し、EEPROM16に記録する。
The data supplied to the connector 12 is taken into the data input / output control circuit 14 via the bus line 13. This data input / output control circuit 14
Incorporates a buffer memory (not shown) capable of high-speed writing and high-speed reading of data, and temporarily records the taken-in data in the buffer memory. After that, the data input / output control circuit 14 outputs a plurality of data (4 bytes in the case shown in the drawing) to the data recorded in the buffer memory via the bus line 15.
The EEPROM 16 is read at a timing corresponding to the write cycle of the EEPROM 16 and recorded in the EEPROM 16.

【0022】この場合、データ入出力制御回路14は、
EEPROM16にデータが書き込まれる毎に、EEP
ROM16から書き込んだデータを読み出し、バッファ
メモリに記録されているデータと一致しているか否かを
判別する、書き込みベリファイを実行する。そして、デ
ータ入出力制御回路14は、EEPROM16から読み
出したデータと、バッファメモリに記録されたデータと
が一致していない場合、再度、バッファメモリからEE
PROM16にデータを転送して書き込みを行なわせ、
この動作が所定回数繰り返される間に、EEPROM1
6から読み出したデータと、バッファメモリに記録され
たデータとが完全に一致したときデータの書き込みが完
了される。
In this case, the data input / output control circuit 14 is
Each time data is written to the EEPROM 16, the EEP
The written data is read from the ROM 16 and a write verify is executed to determine whether or not the data matches the data recorded in the buffer memory. Then, when the data read from the EEPROM 16 and the data recorded in the buffer memory do not match, the data input / output control circuit 14 again reads the EE from the buffer memory.
The data is transferred to the PROM 16 to be written,
While this operation is repeated a predetermined number of times, the EEPROM 1
When the data read from 6 and the data recorded in the buffer memory completely match, the data writing is completed.

【0023】次に、EEPROM16から、データをメ
モリカード本体11の外部に読み出す場合には、電子ス
チルカメラ本体側からコネクタ12を介して読み出すべ
きデータを指定するアドレスがデータ入出力制御回路1
4に供給される。すると、データ入出力制御回路14
は、入力されたアドレスに基づいてEEPROM16か
らデータを読み出し、一旦バッファメモリに記録する。
その後、データ入出力制御回路14は、バッファメモリ
に記録したデータを読み出しコネクタ12を介して外部
に導出し、ここにデータの読み出しが行なわれる。
Next, when the data is read from the EEPROM 16 to the outside of the memory card body 11, the address that specifies the data to be read from the electronic still camera body side via the connector 12 is the data input / output control circuit 1.
4 is supplied. Then, the data input / output control circuit 14
Reads data from the EEPROM 16 based on the input address and temporarily records the data in the buffer memory.
After that, the data input / output control circuit 14 outputs the data recorded in the buffer memory to the outside through the read connector 12, and the data is read there.

【0024】したがって、上記のような構成によれば、
電子スチルカメラ本体とメモリカード本体11との間に
おけるデータ転送は、必ずバッファメモリを介して行な
われるので、データの書き込みスピード及び読み出しス
ピードを向上させることができ、また、EEPROM1
6に特有の書き込みベリファイも、バッファメモリを用
いて行なうようにしているので、メモリカード本体11
の取り扱いとしては、全くSRAMカードライクに使用
することができる。
Therefore, according to the above configuration,
Since data transfer between the electronic still camera body and the memory card body 11 is always performed via the buffer memory, the data writing speed and the data reading speed can be improved, and the EEPROM 1
Since the write verify specific to 6 is also performed using the buffer memory, the memory card main body 11
As for the handling of, it can be used for SRAM card like.

【0025】ここで、上記EEPROM16の記憶領域
は、図2に示すように、データをイレースする際の最小
単位である一定容量の複数のブロック1〜N(1ブロッ
クは数Kバイト)に分割されている。そして、各ブロッ
ク1〜Nそれぞれは、データの書き込み及び読み出しを
行なう際の最小単位である一定容量の複数のページに分
割されている。このうち、ページ1〜Mはデータが記録
されるデータ領域を構成し、ページXはデータ領域に記
録されたデータの管理情報が記録されるなるデータ管理
領域を構成している。
Here, as shown in FIG. 2, the storage area of the EEPROM 16 is divided into a plurality of blocks 1 to N (one block is a few Kbytes) of a fixed capacity which is the minimum unit for erasing data. ing. Then, each of the blocks 1 to N is divided into a plurality of pages each having a certain capacity, which is the minimum unit for writing and reading data. Of these, pages 1 to M form a data area in which data is recorded, and page X forms a data management area in which management information of data recorded in the data area is recorded.

【0026】そして、上記EEPROM16は、データ
入出力制御回路14によって外部からアドレスを指定さ
れることによって、数百バイトでなるページ単位のデー
タ書き込み及び読み出しを繰り返すことにより、自由に
ブロック単位でのデータ書き込み及び読み出しを行なう
ことができる。
In the EEPROM 16, the address is externally designated by the data input / output control circuit 14 to repeatedly write and read data in page units of several hundred bytes, thereby freely writing data in block units. Writing and reading can be performed.

【0027】ここで、各ブロック1〜Mのデータ管理領
域を構成するページXには、データ入出力制御回路14
の制御により、そのページXの所属するブロック1〜M
に対するデータ記録回数が記録されるようになってい
る。このデータ記録回数は、ブロック1〜Mに対してイ
レースが実行されたときに、データ入出力制御回路14
の制御により更新される。
Here, in the page X which constitutes the data management area of each of the blocks 1 to M, the data input / output control circuit 14 is provided.
Of the block 1 to M to which the page X belongs by the control of
The number of times data is recorded is recorded. The number of times of data recording is determined by the data input / output control circuit 14 when the erase is executed for the blocks 1 to M.
It is updated under the control of.

【0028】例えばブロック5に既に書き込まれている
データを、新たなデータに書き替える場合、外部からコ
ネクタ12を介してブロック5を指定するアドレスデー
タが入力されると、データ入出力制御回路14は、EE
PROM16からブロック5のページXに記録されたデ
ータ管理情報を読み出して、バッファメモリに記録させ
る。
For example, when the data already written in the block 5 is rewritten with new data, when the address data designating the block 5 is input from the outside through the connector 12, the data input / output control circuit 14 , EE
The data management information recorded on page X of block 5 is read from the PROM 16 and recorded in the buffer memory.

【0029】そして、データ入出力制御回路14は、ブ
ロック5の内容をイレースし、バッファメモリに記録さ
れたデータ管理情報のうちのデータ記録回数を+1する
ように更新する。その後、データ入出力制御回路14
は、外部からコネクタ12を介して入力されるデータを
EEPROM16のブロック5のページ1〜Mに書き込
むとともに、更新が終了したデータ管理情報をバッファ
メモリからEEPROM16に転送しブロック5のペー
ジXに書き込み、ここに、ブロック5に対するデータ書
き替えが終了される。
Then, the data input / output control circuit 14 erases the contents of the block 5 and updates the data management information recorded in the buffer memory so that the number of data recordings is incremented by one. After that, the data input / output control circuit 14
Writes data input from the outside through the connector 12 to pages 1 to M of the block 5 of the EEPROM 16, transfers updated data management information from the buffer memory to the EEPROM 16 and writes to page X of the block 5, At this point, the data rewriting for block 5 is completed.

【0030】したがって、上記実施例のような構成によ
れば、EEPROM16の記憶領域の各ブロック1〜N
のデータ管理領域を構成するページXに、そのページX
が所属するブロック1〜Nのデータ領域に対するデータ
記録回数を書き込むようにしたので、いずれかのブロッ
ク1〜Nに書き込み不良が発生した場合でも、データ入
出力制御回路14がその不良ブロックに所属するページ
Xに記録されたデータ書き替え回数を見て、所定回数よ
りも多い場合ベリファイ不良と判断し、所定回数よりも
少ない場合EEPROM16の製造不良や機械的な破壊
によると、容易に判断することができる。
Therefore, according to the configuration of the above embodiment, each block 1 to N in the storage area of the EEPROM 16 is
Page X that constitutes the data management area of
Since the number of times of data recording is written in the data area of the blocks 1 to N to which the data block belongs, the data input / output control circuit 14 belongs to the defective block even if a write failure occurs in any of the blocks 1 to N. By looking at the number of times of rewriting data recorded on page X, if it is more than a predetermined number of times, it is determined to be a verification failure, and if it is less than a predetermined number of times, it can be easily determined to be due to manufacturing failure or mechanical breakdown of the EEPROM 16. it can.

【0031】また、データ入出力制御回路14は、イレ
ースされたブロックが複数個存在している状態で、いず
れかのブロックにデータを書き込むことが要求された場
合、複数のブロックのページXに記録されたデータ記録
回数を読み取り、データ記録回数の一番少ないブロック
にデータを書き込むように、各ブロック1〜Nのデータ
書き替え回数が平均化するように制御できるので、デー
タ書き替えが特定のブロックに集中することを防止し
て、EEPROM16のベリファイ不良の発生を抑制す
ることができる。なお、この発明は上記実施例に限定さ
れるものではなく、この外その要旨を逸脱しない範囲で
種々変形して実施することができる。
Further, the data input / output control circuit 14 records the data in page X of a plurality of blocks when it is requested to write data in any one of the blocks in a state where a plurality of erased blocks exist. The data rewriting frequency can be controlled so that the data rewriting frequency of each block 1 to N is averaged so that the data rewriting frequency is read and the data is written in the block having the smallest data recording frequency. Therefore, it is possible to prevent the verification failure of the EEPROM 16 from occurring. The present invention is not limited to the above-described embodiments, but can be variously modified and implemented without departing from the scope of the invention.

【0032】[0032]

【発明の効果】以上詳述したようにこの発明によれば、
書き込み不良がベリファイ不良によるものか否かを容易
に判断することができ、ひいてはデータ書き替えが特定
の記憶領域に集中することを防止して、EEPROMの
ベリファイ不良の発生を抑制することができる極めて良
好なメモリカード装置を提供することができる。
As described in detail above, according to the present invention,
It is possible to easily determine whether or not the write failure is due to the verify failure, and thus it is possible to prevent the data rewrite from concentrating on a specific storage area and suppress the occurrence of the verify failure of the EEPROM. A good memory card device can be provided.

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

【図1】この発明に係るメモリカード装置の一実施例を
示すブロック構成図。
FIG. 1 is a block diagram showing an embodiment of a memory card device according to the present invention.

【図2】同実施例におけるEEPROMの記憶領域の構
成を示す図。
FIG. 2 is a diagram showing a configuration of a storage area of an EEPROM in the embodiment.

【図3】SRAMとEEPROMとの長短を比較して示
す図。
FIG. 3 is a diagram showing the lengths of an SRAM and an EEPROM in comparison with each other.

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

11…メモリカード本体、12…コネクタ、13…バス
ライン、14…データ入出力制御回路、15…バスライ
ン、16…EEPROM。
11 ... Memory card main body, 12 ... Connector, 13 ... Bus line, 14 ... Data input / output control circuit, 15 ... Bus line, 16 ... EEPROM.

───────────────────────────────────────────────────── フロントページの続き (51)Int.Cl.5 識別記号 庁内整理番号 FI 技術表示箇所 G11C 16/06 H04N 5/907 B 7916−5C (72)発明者 丸山 晃司 神奈川県横浜市磯子区新杉田町8番地 株 式会社東芝映像メデイア技術研究所内 (72)発明者 小西 和夫 神奈川県横浜市磯子区新杉田町8番地 株 式会社東芝映像メデイア技術研究所内─────────────────────────────────────────────────── ─── Continuation of the front page (51) Int.Cl. 5 Identification number Internal reference number FI Technical display location G11C 16/06 H04N 5/907 B 7916-5C (72) Inventor Koji Maruyama Isogo-ku, Yokohama-shi, Kanagawa Shin-Sugita-cho, 8th Incorporation company, Toshiba Visual Media Research Laboratories (72) Inventor Kazuo Konishi, 8th, Shinsugita-cho, Isogo-ku, Yokohama, Kanagawa Pref.

Claims (1)

【特許請求の範囲】[Claims] 【請求項1】 記憶領域が一定容量の複数のブロックに
分割され、各ブロックにデータ領域と該データ領域に記
録されたデータの管理情報を記録するデータ管理領域と
を有するEEPROMと、このEEPROMの各ブロッ
クのデータ領域にデータが記録される毎に、該データが
記録されたデータ領域に対応するデータ管理領域に、デ
ータ記録回数を書き込む制御手段とを具備してなること
を特徴とするメモリカード装置。
1. An EEPROM having a storage area divided into a plurality of blocks having a fixed capacity, each block having a data area and a data management area for recording management information of data recorded in the data area; A memory card characterized by comprising control means for writing the number of times of data recording in a data management area corresponding to the data area where the data is recorded every time data is recorded in the data area of each block. apparatus.
JP20051991A 1991-08-09 1991-08-09 Memory card device Pending JPH0546488A (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP20051991A JPH0546488A (en) 1991-08-09 1991-08-09 Memory card device
EP96120115A EP0772358A1 (en) 1991-08-09 1992-08-06 Memory card apparatus
EP92113423A EP0528280B1 (en) 1991-08-09 1992-08-06 Memory card apparatus
DE69223099T DE69223099T2 (en) 1991-08-09 1992-08-06 Recording device for a memory card
US08/505,369 US5579502A (en) 1991-08-09 1995-07-21 Memory card apparatus using EEPROMS for storing data and an interface buffer for buffering data transfer between the EEPROMS and an external device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP20051991A JPH0546488A (en) 1991-08-09 1991-08-09 Memory card device

Publications (1)

Publication Number Publication Date
JPH0546488A true JPH0546488A (en) 1993-02-26

Family

ID=16425664

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20051991A Pending JPH0546488A (en) 1991-08-09 1991-08-09 Memory card device

Country Status (1)

Country Link
JP (1) JPH0546488A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06282484A (en) * 1993-03-29 1994-10-07 Sharp Corp Data writing control unit for nonvolatile semiconductor memory
US11759376B2 (en) 2013-08-27 2023-09-19 The Procter & Gamble Company Absorbent articles with channels
US11911250B2 (en) 2011-06-10 2024-02-27 The Procter & Gamble Company Absorbent structure for absorbent articles
US11944526B2 (en) 2013-09-19 2024-04-02 The Procter & Gamble Company Absorbent cores having material free areas
US11957551B2 (en) 2013-09-16 2024-04-16 The Procter & Gamble Company Absorbent articles with channels and signals

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH06282484A (en) * 1993-03-29 1994-10-07 Sharp Corp Data writing control unit for nonvolatile semiconductor memory
US11911250B2 (en) 2011-06-10 2024-02-27 The Procter & Gamble Company Absorbent structure for absorbent articles
US11759376B2 (en) 2013-08-27 2023-09-19 The Procter & Gamble Company Absorbent articles with channels
US11957551B2 (en) 2013-09-16 2024-04-16 The Procter & Gamble Company Absorbent articles with channels and signals
US11944526B2 (en) 2013-09-19 2024-04-02 The Procter & Gamble Company Absorbent cores having material free areas

Similar Documents

Publication Publication Date Title
KR970001201B1 (en) Memory card device
KR100193779B1 (en) Semiconductor disk device
US20080028132A1 (en) Non-volatile storage device, data storage system, and data storage method
JP3122201B2 (en) Memory card device
US6161195A (en) EEPROM memory card device having defect relieving means
US6345333B1 (en) Method and apparatus for reverse rewriting
JP3122222B2 (en) Memory card device
JPH0546488A (en) Memory card device
JPH0546490A (en) Memory card device
JP3163124B2 (en) Electronic still camera device
JP3117244B2 (en) EEPROM control device
JP3135673B2 (en) Memory data writing device
JPH05151099A (en) Memory card device
JP3099908B2 (en) EEPROM control device
JPH06139138A (en) Memory card device
JPH0756780A (en) Memory card device
JPH05313989A (en) Memory card device
JPH06139131A (en) Memory card device
JP3359942B2 (en) Memory card device
JPH0546469A (en) Memory card
JPH0547189A (en) Memory card device
JP3175974B2 (en) Memory card device
JP2818628B2 (en) Data recording method in memory card and memory card system
JPH0546468A (en) Memory card
JPH0546459A (en) Memory card device