JP3163124B2 - Electronic still camera device - Google Patents

Electronic still camera device

Info

Publication number
JP3163124B2
JP3163124B2 JP20030891A JP20030891A JP3163124B2 JP 3163124 B2 JP3163124 B2 JP 3163124B2 JP 20030891 A JP20030891 A JP 20030891A JP 20030891 A JP20030891 A JP 20030891A JP 3163124 B2 JP3163124 B2 JP 3163124B2
Authority
JP
Japan
Prior art keywords
data
block
eeprom
written
area
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.)
Expired - Fee Related
Application number
JP20030891A
Other languages
Japanese (ja)
Other versions
JPH0546489A (en
Inventor
心平 吉岡
和夫 小西
晃司 丸山
攝雄 寺崎
聡明 佐藤
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
Original Assignee
Toshiba Corp
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 filed Critical Toshiba Corp
Priority to JP20030891A priority Critical patent/JP3163124B2/en
Priority to EP96120115A priority patent/EP0772358A1/en
Priority to EP92113423A priority patent/EP0528280B1/en
Priority to DE69223099T priority patent/DE69223099T2/en
Publication of JPH0546489A publication Critical patent/JPH0546489A/en
Priority to US08/505,369 priority patent/US5579502A/en
Application granted granted Critical
Publication of JP3163124B2 publication Critical patent/JP3163124B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Landscapes

  • Techniques For Improving Reliability Of Storages (AREA)

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【産業上の利用分野】この発明は、撮影した被写体の光
学像をデジタル画像データに変換してメモリカードに記
録する電子スチルカメラ装置に係り、特にメモリカード
に半導体メモリとしてEEPROM(エレクトリカリィ
・イレーサブル・アンド・プログラマブル・リード・オ
ンリー・メモリ)を使用したものに関する。
BACKGROUND OF THE invention, the light of the subject taken
Convert the academic image into digital image data and record it on a memory card
Recording electronic still camera device, especially memory card
EEPROM (Electricity) as semiconductor memory
Eraseable and programmable read-out
Memory) .

【0002】[0002]

【従来の技術】周知のように、撮影した被写体の光学像
を固体撮像素子を用いて電気的な画像信号に変換し、こ
の画像信号をデジタル画像データに変換して半導体メモ
リに記録する電子スチルカメラ装置が開発されている。
そして、この種の電子スチルカメラ装置にあっては、半
導体メモリをカード状のケースに内蔵してなるメモリカ
ードを、カメラ本体に着脱自在となるように構成するこ
とによって、通常のカメラにおけるフィルムと等価な取
り扱いができるようになされている。
2. Description of the Related Art As is well known, an electronic still which converts an optical image of a photographed subject into an electric image signal using a solid-state image sensor, 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-like case is configured to be detachable from a camera body, so that a film in an ordinary camera can be obtained. Equivalent handling is provided.

【0003】ここで、電子スチルカメラ装置のメモリカ
ードは、現在、標準化が進められていて、内蔵される半
導体メモリとしては、複数枚のデジタル画像データを記
録するために大記憶容量のものが要求され、例えばSR
AM(スタティック・ランダム・アクセス・メモリ),
マスクROM及び電気的にデータの書き込みや消去が可
能なEEPROM等が考えられており、SRAMを用い
たメモリカードは既に商品化されている。
[0003] Here, 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),
Mask ROMs and electrically erasable EEPROMs and the like have been considered, and memory cards using SRAMs have already been commercialized.

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

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

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

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

【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. Also, EEPROM
In the page mode, a large amount of data for one page is simultaneously written and read in the page mode, so that 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.
This mode does not exist in. That is, the EEPROM
When writing new data to an area in which data has already been written, new data cannot be written unless the previously written data is erased once. Is to be executed.

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

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

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

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

【0014】この場合、特に問題となることは、EEP
ROMは、データの書き替え回数が一定数を越えるとメ
モリセルが急激に劣化しデータの書き込み不良が発生し
易くなることである。すなわち、EEPROMは、プロ
グラムデータの記録用として開発され、プログラムのバ
ージョンアップのときにデータの書き替えを行なえるよ
うにすることを意図したものであるから、多数回のデー
タ書き替えに対応できるように設計されていないからで
ある。ところが、SRAMの代用としてEEPROMを
用いる場合、当然のことながら、頻繁にデータが書き替
えられるような使われ方をされるため、書き込み不良の
発生率が飛躍的に増大することは必至である。
In this case, a particular problem is the EEP.
In the ROM, when the number of times of data rewriting exceeds a certain number, the memory cells are rapidly deteriorated, and data writing 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 a program is upgraded, it is possible to cope with data rewriting many times. Because it is not designed. However, when an EEPROM is used as a substitute for the SRAM, it is natural that the EEPROM is used in such a manner that data is frequently rewritten, so that it is inevitable that the occurrence rate of write failures will increase drastically.

【0015】そして、この書き込み不良について、従来
では、前述した書き込みベリファイ処理を所定回数繰り
返しても正しく書き込まれなかったとき書き込み不良で
あると判断している。しかるに、従来では、EEPRO
Mの一部に書き込み不良が生じた場合でも、そのEEP
ROMを内蔵するメモリカード全体を不良品として取り
扱うようにしているため、非常に効率が悪く経済的に不
利であるという問題が生じている。
Conventionally, regarding this write failure, it is determined that a write failure has occurred when the above-described write verify process has not been correctly performed even after being repeated a predetermined number of times. However, conventionally, EEPRO
Even if a write failure occurs in a part of M, the EEP
Since the entire memory card having a built-in ROM is handled as a defective product, there is a problem in that the efficiency is extremely low and the operation is economically disadvantageous.

【0016】[0016]

【発明が解決しようとする課題】以上のように、EEP
ROMを内蔵した従来のメモリカードでは、書き込み不
良が発生したEEPROMを含むメモリカード全体を不
良品として取り扱うため、非常に効率が悪く経済的に不
利であるという問題を有している。
As described above, the EEP
A conventional memory card having a built-in ROM has a problem that it is extremely inefficient and economically disadvantageous because the entire memory card including the EEPROM in which writing failure has occurred is treated as a defective product.

【0017】そこで、この発明は上記事情を考慮してな
されたもので、書き込み不良で書き込めなかったデータ
に救済処置を施すことにより、一部に書き込み不良が発
生したEEPROMをそのまま継続して使用できるよう
にして、メモリカードの半導体メモリとしてEEPRO
Mを使用しても経済的に有利で実用に供し得るようにし
た極めて良好な電子スチルカメラ装置を提供することを
目的とする。
Therefore, the present invention has been made in consideration of the above circumstances, and data which could not be written due to a writing error has been made.
Remedy, some write failures occur.
The generated EEPROM can be used continuously.
EEPRO as the semiconductor memory of the memory card
The use of M is economically advantageous and practical.
It is another object of the present invention to provide a very good electronic still camera device .

【0018】[0018]

【課題を解決するための手段】この発明に係る電子スチ
ルカメラ装置は、撮影された被写体の光学像をデジタル
画像データに変換してメモリカードに記録するものを対
象としている。そして、メモリカードは、電子スチルカ
メラ本体に対して着脱自在に構成され、それぞれが所定
容量の複数のブロックで構成されるデータ領域及び救済
領域を有するEEPROMと、電子スチルカメラ本体に
メモリカードが装着され、EEPROMのデータ領域の
いずれかのブロックに書き込み不良が検出された状態
で、該不良ブロックに書き込むデータを救済領域の空き
ブロックを検索して書き込むとともに、救済領域が満杯
で、さらにデータ領域のいずれかのブロックに書き込み
不良が発生したことが検出された状態で、その不良ブロ
ックに書き込むべきデータを、データ領域の空きのある
ブロックを検索して書き込む制御手段とを備えるように
したものである。
SUMMARY OF THE INVENTION An electronic still camera apparatus according to the present invention is intended for converting an optical image of a photographed subject into digital image data and recording the digital image data on a memory card. And the memory card is an electronic still camera
An EEPROM having a data area and a rescue area , each of which is configured to be detachable from the camera body and each of which is constituted by a plurality of blocks of a predetermined capacity, and an electronic still camera body.
In a state where a memory card is inserted and a write failure is detected in any block of the EEPROM data area, data to be written to the defective block is searched for and written in a free area of the relief area, and the relief area is full. Further, in a state where it is detected that a writing failure has occurred in any of the blocks in the data area, control means for writing data to be written to the bad block by searching for a block having a free space in the data area is provided. It was done.

【0019】[0019]

【作用】上記のような構成によれば、データ領域の一部
のブロックに書き込み不良が発生したとき、その不良ブ
ロックに書き込めなかったデータを、救済領域の空きの
あるブロックを検索してそのブロックに書き込むととも
に、救済領域が満杯で、さらにデータ領域のいずれかの
ブロックに書き込み不良が発生した状態で、その不良ブ
ロックに書き込むべきデータを、データ領域の空きのあ
るブロックを検索して書き込むようにしたので、一部に
書き込み不良が発生したEEPROMをそのまま継続し
て使用することができ、メモリカードの半導体メモリと
してEEPROMを使用しても経済的に有利で実用に適
するものなる。
According to the above arrangement, when a write failure occurs in some of the blocks in the data area, the data that could not be written in the defective block is searched for a block having a free area in the rescue area, and the block is searched. And write to
The rescue area is full and any of the data areas
When a write failure has occurred in a block,
The data to be written to the lock is
Block is searched and written, so that the EEPROM in which a writing failure has occurred partially can be used as it is, and the semiconductor memory of the memory card can be used.
Also it becomes suitable for economically advantageous and practical using EEPROM with.

【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 below in detail with reference to the drawings. In FIG. 1, reference numeral 11 denotes a memory card main body, which is connected to an electronic still camera main body (not shown) via a connector 12 provided at one end thereof. The connector 12 is supplied with data to be written to the memory card main body 11, address data indicating a writing location, and the like from the electronic still camera main 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
Has a built-in buffer memory (not shown) capable of high-speed writing and reading of data, and temporarily records the fetched data in the buffer memory. Thereafter, the data input / output control circuit 14 transmits the data recorded in the buffer memory to a plurality (4 in the illustrated case) through the bus line 15.
) At a timing corresponding to the write cycle of the EEPROM 16 and is 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
Each time data is written to the EEPROM 16, the EEPROM
The data written from the ROM 16 is read, and a write verify is performed to determine whether the data matches the data recorded in the buffer memory. If the data read from the EEPROM 16 does not match the data recorded in the buffer memory, the data input / output control circuit 14 re-reads the data from the buffer memory.
The data is transferred to the PROM 16 for writing,
While this operation is repeated a predetermined number of times, the EEPROM 1
When the data read from the buffer memory 6 completely matches the data recorded in the buffer memory, the data writing is completed.

【0023】次に、EEPROM16から、データをメ
モリカード本体11の外部に読み出す場合には、電子ス
チルカメラ本体側からコネクタ12を介して読み出すべ
きデータを指定するアドレスがデータ入出力制御回路1
4に供給される。すると、データ入出力制御回路14
は、入力されたアドレスに基づいてEEPROM16か
らデータを読み出し、一旦バッファメモリに記録する。
その後、データ入出力制御回路14は、バッファメモリ
に記録したデータを読み出しコネクタ12を介して外部
に導出し、ここにデータの読み出しが行なわれる。
Next, when reading data from the EEPROM 16 to the outside of the memory card main body 11, an address designating data to be read from the electronic still camera main body via the connector 12 is stored in 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.
Thereafter, the data input / output control circuit 14 derives the data recorded in the buffer memory to the outside via 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 main body and the memory card main body 11 is always performed via the buffer memory, the data write speed and the data read speed can be improved.
6 is also performed using the buffer memory, so that the memory card 11
Can be used for SRAM card-like at all.

【0025】ここで、上記EEPROM16は、図2に
示すように、0000〜XXXX番地よりなる記憶領域
を有しており、この記憶領域は、データを扱う際の最小
単位である一定容量の複数のブロック1〜M(1ブロッ
クは数Kバイト)に分割されている。このうち、ブロッ
ク1〜Nまでが通常のデータを記録するデータ領域であ
り、外部からアドレスを指定することによって、数百バ
イトでなるページ単位のデータ書き込み及び読み出しを
繰り返すことにより、自由にブロック単位でのデータ書
き込み及び読み出しを行なうことができる。
As shown in FIG. 2, the EEPROM 16 has a storage area consisting of addresses 0000 to XXXX. This storage area is composed of a plurality of storage units each having a fixed capacity, which is the minimum unit for handling data. It is divided into blocks 1 to M (one block is several kilobytes). Of these blocks, blocks 1 to N are data areas for recording normal data, and by repeatedly specifying and writing addresses from the outside, data writing and reading in page units each consisting of several hundred bytes can be freely performed in block units. Can be written and read.

【0026】また、ブロックN+1〜Mまでが書き込み
不良により、データ領域に書き込めなかったデータが書
き込まれる救済領域となっている。この救済領域は、外
部から直接アクセスすることは禁止されており、データ
の書き込み及び読み出しは、データ入出力制御回路14
の指示により行なわれる。
Blocks N + 1 to M serve as a relief area for writing data that could not be written to the data area due to a write failure. The rescue area is prohibited from being directly accessed from the outside, and data writing and reading are performed by the data input / output control circuit 14.
It is performed according to the instruction.

【0027】図3は、上記EEPROM16内に設けら
れる救済領域の管理テーブルを示している。すなわち、
救済領域のブロック番号N+1〜Mと、データ領域で書
き込み不良の発生したブロックの先頭アドレスとが1対
1で対応するように構成されており、先頭アドレスが書
き込まれる前は0000にセットされている。図3に示
す例では、ブロックN+1〜Y−1が既に書き込み不良
の救済に使用されている状態を示し、データ領域の書き
込み不良が発生したブロックの先頭アドレスAAAA〜
DDDDがそれぞれ記録されている。
FIG. 3 shows a management table of the relief area provided in the EEPROM 16. That is,
The block numbers N + 1 to M of the rescue area and the head address of the block in which the writing failure has occurred in the data area have a one-to-one correspondence, and are set to 0000 before the head address is written. . The example shown in FIG. 3 shows a state in which blocks N + 1 to Y-1 have already been used for remedy of a write failure, and the head addresses AAAA to AAAA of the block where the write failure has occurred in the data area.
DDDD is recorded.

【0028】ここで、データ領域内のブロックXにデー
タを書き込もうとしたところ書き込み不良が発生した場
合について説明する。すなわち、データ入出力制御回路
14は、ブロックXに対して書き込みベリファイ処理を
所定回数行なっても一致が得られなかった場合、ブロッ
クXを書き込み不良と判定する。すると、データ入出力
制御回路14は、図3に示した管理テーブルを検索し、
救済領域内の空きのあるブロックをサーチする。
Here, a case where a write failure occurs when data is written to the block X in the data area will be described. That is, the data input / output control circuit 14 determines that the block X is defective in writing if no match is obtained even after performing the write verify process on the block X a predetermined number of times. Then, the data input / output control circuit 14 searches the management table shown in FIG.
Search for a free block in the rescue area.

【0029】この場合、ブロック番号Yに空きがあるの
で、データ入出力制御回路14は、救済領域のブロック
Yを選択し、そのブロックYにブロックXに書き込めな
かったデータを書き込み、書き込みベリファイ処理によ
り書き込みが成立した場合に管理テーブルのブロック番
号Yの部分にブロックXの先頭アドレスYYYYを書き
込み、ここに救済処置が完了される。
In this case, since there is a vacancy in the block number Y, the data input / output control circuit 14 selects the block Y in the rescue area, writes the data that could not be written to the block X in the block Y, and performs a write verify process. When the writing is established, the head address YYYY of the block X is written in the block number Y of the management table, and the rescue procedure is completed.

【0030】そして、EEPROM16からのデータの
読み出しについては、データ入出力制御回路14は、外
部からアドレスによって読み出しが要求されたデータ領
域のブロックの先頭アドレスと、管理テーブルに書き込
まれた全ての先頭アドレスとを照合し、一致した場合
に、その一致した先頭アドレスに対応する救済領域のブ
ロックからデータを読み出すように制御する。
For reading data from the EEPROM 16, the data input / output control circuit 14 sets the start address of the block in the data area requested to be read by an address from the outside, and all the start addresses written in the management table. And if they match, control is performed so that data is read from the block in the relief area corresponding to the matching start address.

【0031】また、EEPROM16のデータの消去に
ついても、データの読み出しと同様に、外部からアドレ
スによって消去が要求されたデータ領域のブロックの先
頭アドレスと、管理テーブルに書き込まれた全ての先頭
アドレスとを照合し、一致した場合に、その一致した先
頭アドレスに対応する救済領域のブロックからデータを
消去するように制御する。
In erasing the data in the EEPROM 16, similarly to the data reading, the start address of the block in the data area requested to be erased by an external address and all the start addresses written in the management table are read. The data is collated, and if they match, control is performed so that data is erased from the block in the relief area corresponding to the matching start address.

【0032】したがって、上記実施例のような構成によ
れば、データ領域の一部のブロックに書き込み不良が発
生したとき、その不良ブロックに書き込めなかったデー
タを、管理テーブルから救済領域の空きのあるブロック
を検索して、そのブロックに書き込むようにしたので、
一部に書き込み不良が発生したEEPROM16をその
まま継続して使用することができ、経済的に有利で実用
に適するものである。
Therefore, according to the configuration of the above-described embodiment, when a write failure occurs in some blocks of the data area, the data that could not be written to the defective block is cleared from the management table with a free space in the rescue area. Since I searched for a block and written to that block,
The EEPROM 16 in which a writing failure has occurred partially can be used as it is, and is economically advantageous and suitable for practical use.

【0033】また、上記救済領域も、EEPROM16
内に存在するため、ブロックN+1〜Mにも書き込み不
良が発生する場合がある。このような場合、データ入出
力制御回路14は、管理テーブルの書き込み不良が発生
したブロック番号の部分に、先頭アドレスに代えて使用
禁止フラグを記録する。この使用禁止フラグは、データ
領域に存在しないアドレスとして、例えば1111等が
選ばれる。そして、データ入出力制御回路14は、検索
した救済領域の空きブロックYが書き込み不良であれ
ば、次の空きブロックY+1を管理テーブルより検索
し、データの書き込みを行なわせるように動作する。
The above-mentioned rescue area is also stored in the EEPROM 16
, Writing failure may occur in the blocks N + 1 to M as well. In such a case, the data input / output control circuit 14 records a use prohibition flag in place of the head address in the portion of the management table where the write failure has occurred. As the use prohibition flag, for example, 1111 or the like is selected as an address that does not exist in the data area. Then, if the empty block Y in the found rescue area is defective in writing, the data input / output control circuit 14 operates to search the next empty block Y + 1 from the management table and write data.

【0034】さらに、救済領域が満杯になっても、さら
にデータ領域のブロックに書き込み不良が発生した場合
には、データ領域の空きブロックを救済用として利用す
ることもできる。この場合、管理テーブルは、図4に示
すように、データ領域と救済領域とを合わせた全てのブ
ロック番号1〜Mと、データ領域で書き込み不良の発生
したブロックの先頭アドレスとが1対1で対応するよう
に構成されており、データ領域で既に正規のデータ記録
に使用されているブロック番号の部分には、使用禁止フ
ラグとして1111が記録され、データ領域でまだデー
タが記録されていないブロック番号の部分に0000が
記録されている。
Furthermore, even if the rescue area is full, if a write failure occurs in a block in the data area, an empty block in the data area can be used for rescue. In this case, as shown in FIG. 4, the management table has a one-to-one correspondence between all the block numbers 1 to M including the data area and the rescue area and the head address of the block where the writing failure has occurred in the data area. In the data area, 1111 is recorded as a use prohibition flag in the part of the block number already used for normal data recording in the data area, and the block number in which no data is recorded yet in the data area. "0000" is recorded in the part.

【0035】ここで、救済領域が満杯で、かつ、データ
領域内のブロックXにデータを書き込もうとしたところ
書き込み不良が発生した場合について説明する。すなわ
ち、データ入出力制御回路14は、ブロックXが書き込
み不良と判定すると、管理テーブルを検索し救済領域内
の空きのあるブロックN+1〜Mを検索する。そして、
救済領域に空きブロックなしと判定すると、データ入出
力制御回路14は、管理テーブルのデータ領域内の空き
のあるブロック1〜Nを検索する。
Here, a case will be described in which the rescue area is full and a write failure occurs when data is to be written to the block X in the data area. That is, when the data input / output control circuit 14 determines that the block X has a writing failure, the data input / output control circuit 14 searches the management table and searches for free blocks N + 1 to M in the rescue area. And
If it is determined that there is no empty block in the rescue area, the data input / output control circuit 14 searches for empty blocks 1 to N in the data area of the management table.

【0036】この場合、ブロックN−1に空きがあるの
で、データ入出力制御回路14は、そのブロックN−1
にブロックXに書き込めなかったデータを書き込み、書
き込みベリファイ処理により書き込みが成立した場合
に、管理テーブルのブロック番号N−1の部分にブロッ
クXの先頭アドレスYYYYを書き込み、ここに救済処
置が完了される。なお、この発明は上記実施例に限定さ
れるものではなく、この外その要旨を逸脱しない範囲で
種々変形して実施することができる。
In this case, since there is a free space in the block N-1, the data input / output control circuit 14
If the data that could not be written to the block X is written to the block X, and the writing is verified by the write verify process, the head address YYYY of the block X is written to the block number N-1 in the management table, and the rescue procedure is completed here. . It should be noted that the present invention is not limited to the above-described embodiment, and can be implemented with various modifications without departing from the scope of the invention.

【0037】[0037]

【発明の効果】以上詳述したようにこの発明によれば、
書き込み不良で書き込めなかったデータに救済処置を施
すことにより、一部に書き込み不良が発生したEEPR
OMをそのまま継続して使用できるようにして、メモリ
カードの半導体メモリとしてEEPROMを使用しても
経済的に有利で実用に供し得るようにした極めて良好な
電子スチルカメラ装置を提供することができる。
As described in detail above, according to the present invention,
Remedy data that could not be written due to write error
EEPR in which writing failure occurred partially
OM can be used continuously and memory
Even if you use EEPROM as the semiconductor memory of the card
Very good economical and practical
An electronic still camera device can be provided.

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

【図1】この発明の一実施例を示すブロック構成図。FIG. 1 is a block diagram showing an embodiment of the present invention.

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

【図3】同実施例における管理テーブルの詳細を示す
図。
FIG. 3 is an exemplary view showing details of a management table in the embodiment.

【図4】同実施例の変形例を示す図。FIG. 4 is a view showing a modification of the embodiment.

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

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

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

───────────────────────────────────────────────────── フロントページの続き (72)発明者 小西 和夫 神奈川県横浜市磯子区新杉田町8番地 株式会社東芝映像メディア技術研究所内 (72)発明者 丸山 晃司 神奈川県横浜市磯子区新杉田町8番地 株式会社東芝映像メディア技術研究所内 (72)発明者 寺崎 攝雄 埼玉県深谷市幡羅町1丁目9番2号 株 式会社東芝深谷工場内 (72)発明者 佐藤 聡明 東京都港区新橋3丁目3番9号 東芝エ ー・ブイ・イー株式会社内 (56)参考文献 特開 平2−28855(JP,A) 特開 昭63−305444(JP,A) 特開 平1−106152(JP,A) 特開 平1−305490(JP,A) 特開 平1−258091(JP,A) ──────────────────────────────────────────────────続 き Continuing on the front page (72) Inventor Kazuo Konishi 8 Shinsugita-cho, Isogo-ku, Yokohama-shi, Kanagawa Prefecture Inside the Toshiba Media & Media Research Laboratories Co., Ltd. (72) Koji Maruyama 8 Shinsugita-cho, Isogo-ku, Yokohama-shi, Kanagawa Stock (72) Inventor Seto Terazaki 1-9-2 Hara-cho, Fukaya-shi, Saitama Prefecture In-house Toshiba Fukaya Factory (72) Inventor Tomoaki Sato 3-3-1 Shimbashi, Minato-ku, Tokyo No. 9, in Toshiba EBU Corporation (56) References JP-A-2-28855 (JP, A) JP-A-63-305444 (JP, A) JP-A-1-106152 (JP, A) JP-A-1-305490 (JP, A) JP-A-1-258091 (JP, A)

Claims (1)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 撮影された被写体の光学像をデジタル画
像データに変換してメモリカードに記録する電子スチル
カメラ装置において、前記メモリカードは、電子スチル
カメラ本体に対して着脱自在に構成され、それぞれが所
定容量の複数のブロックで構成されるデータ領域及び救
済領域を有するEEPROMと、前記電子スチルカメラ
本体に前記メモリカードが装着され、前記EEPROM
のデータ領域のいずれかのブロックに書き込み不良が検
出された状態で、該不良ブロックに書き込むデータを前
記救済領域の空きブロックを検索して書き込むととも
に、前記救済領域が満杯で、さらに前記データ領域のい
ずれかのブロックに書き込み不良が発生したことが検出
された状態で、その不良ブロックに書き込むべきデータ
を、前記データ領域の空きのあるブロックを検索して書
き込む制御手段とを備えたことを特徴とする電子スチル
カメラ装置。
1. A electronic still camera apparatus for recording an optical image of the subject photographed in the memory card into digital image data, the memory card, electronic still
Detachably configured with respect to the camera body, and EEPROM each having a data area and a repair region including a plurality of blocks of a predetermined volume, the electronic still camera
The memory card is mounted on the main body and the EEPROM
In a state where a write failure is detected in any block of the data area, data to be written to the defective block is searched for and written in an empty block of the rescue area, and the rescue area is full, and Control means for writing data to be written to the defective block in a state where it has been detected that a writing failure has occurred in any of the blocks by searching for a block having a free space in the data area. Electronic still camera device.
JP20030891A 1991-08-09 1991-08-09 Electronic still camera device Expired - Fee Related JP3163124B2 (en)

Priority Applications (5)

Application Number Priority Date Filing Date Title
JP20030891A JP3163124B2 (en) 1991-08-09 1991-08-09 Electronic still camera 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
JP20030891A JP3163124B2 (en) 1991-08-09 1991-08-09 Electronic still camera device

Publications (2)

Publication Number Publication Date
JPH0546489A JPH0546489A (en) 1993-02-26
JP3163124B2 true JP3163124B2 (en) 2001-05-08

Family

ID=16422161

Family Applications (1)

Application Number Title Priority Date Filing Date
JP20030891A Expired - Fee Related JP3163124B2 (en) 1991-08-09 1991-08-09 Electronic still camera device

Country Status (1)

Country Link
JP (1) JP3163124B2 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR970008188B1 (en) 1993-04-08 1997-05-21 가부시끼가이샤 히다찌세이사꾸쇼 Control method of flash memory and information processing apparatus using the same
EP0646869B1 (en) * 1993-04-16 2002-07-03 Sony Corporation Information recording apparatus and information transfer apparatus
JPH06301601A (en) * 1993-04-16 1994-10-28 Sony Corp Information recorder and information transfer equipment
JP2001306409A (en) * 2000-04-21 2001-11-02 Mitsubishi Electric Corp Portable storage device and information processing system using the device

Also Published As

Publication number Publication date
JPH0546489A (en) 1993-02-26

Similar Documents

Publication Publication Date Title
JP3122201B2 (en) Memory card device
KR970001201B1 (en) Memory card device
US5579502A (en) Memory card apparatus using EEPROMS for storing data and an interface buffer for buffering data transfer between the EEPROMS and an external device
KR100193779B1 (en) Semiconductor disk device
KR0121800B1 (en) Memory card device
US6839798B1 (en) Flash memory capable of storing frequently rewritten data
JP3122222B2 (en) Memory card device
JP3163124B2 (en) Electronic still camera device
JPH0546490A (en) Memory card device
JP3117244B2 (en) EEPROM control device
JPH0546488A (en) Memory card device
JP3494676B2 (en) Nonvolatile semiconductor memory device and data rewriting / reading method
JP3099908B2 (en) EEPROM control device
JPH05151099A (en) Memory card device
JPH0546469A (en) Memory card
JPH0756780A (en) Memory card device
JPH0547189A (en) Memory card device
JPH0546459A (en) Memory card device
JPH05313989A (en) Memory card device
JPH06139131A (en) Memory card device
JPH06139138A (en) Memory card device
JP3175974B2 (en) Memory card device
JPH0546468A (en) Memory card
JPH05151106A (en) Memory card device
JPH05151068A (en) Memory card device

Legal Events

Date Code Title Description
FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20080223

Year of fee payment: 7

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20090223

Year of fee payment: 8

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20100223

Year of fee payment: 9

LAPS Cancellation because of no payment of annual fees