JP3233079B2 - Data processing system and data processing method - Google Patents

Data processing system and data processing method

Info

Publication number
JP3233079B2
JP3233079B2 JP26717297A JP26717297A JP3233079B2 JP 3233079 B2 JP3233079 B2 JP 3233079B2 JP 26717297 A JP26717297 A JP 26717297A JP 26717297 A JP26717297 A JP 26717297A JP 3233079 B2 JP3233079 B2 JP 3233079B2
Authority
JP
Japan
Prior art keywords
data
management information
area
block
flag
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 - Lifetime
Application number
JP26717297A
Other languages
Japanese (ja)
Other versions
JPH11110306A (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.)
Sony Corp
Original Assignee
Sony 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 Sony Corp filed Critical Sony Corp
Priority to JP26717297A priority Critical patent/JP3233079B2/en
Priority to TW087116017A priority patent/TW389890B/en
Priority to US09/162,327 priority patent/US6460145B1/en
Priority to IDP981297A priority patent/ID20972A/en
Priority to SG9803906A priority patent/SG88742A1/en
Priority to DE69821426T priority patent/DE69821426T2/en
Priority to EP98307893A priority patent/EP0907128B1/en
Priority to KR1019980040764A priority patent/KR100527609B1/en
Publication of JPH11110306A publication Critical patent/JPH11110306A/en
Application granted granted Critical
Publication of JP3233079B2 publication Critical patent/JP3233079B2/en
Priority to US10/215,901 priority patent/US6810490B2/en
Priority to US10/955,167 priority patent/US7353424B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/70Masking faults in memories by using spares or by reconfiguring
    • G11C29/76Masking faults in memories by using spares or by reconfiguring using address translation or modifications
    • G11C29/765Masking faults in memories by using spares or by reconfiguring using address translation or modifications in solid state disks
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1068Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices in sector programmable memories, e.g. flash disk
    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C29/00Checking stores for correct operation ; Subsequent repair; Testing stores during standby or offline operation
    • G11C29/70Masking faults in memories by using spares or by reconfiguring
    • G11C29/88Masking faults in memories by using spares or by reconfiguring with partially good memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0751Error or fault detection not based on redundancy
    • G06F11/0763Error or fault detection not based on redundancy by bit configuration check, e.g. of formats or tags

Description

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

【0001】[0001]

【産業上の利用分野】本発明は、任意のデータ及びこの
データが記憶される領域の状態を管理するための領域管
理情報を記憶する記憶装置を用いたデータ処理システム
及びデータ処理方法に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a data processing system and a data processing method using a storage device for storing arbitrary data and area management information for managing the state of an area in which the data is stored.

【0002】[0002]

【従来の技術】従来より、コンピュータ等の電子機器で
用いられるデータを記憶させておく外部記憶装置とし
て、フラッシュメモリ(電気的消去可能型プログラマブ
ルROM(Read-Only Memory))を記憶媒体として用い
たカード型の外部記憶装置(以下、メモリカードとい
う。)が提案されている。
2. Description of the Related Art Conventionally, a flash memory (electrically erasable programmable ROM (Read-Only Memory)) has been used as a storage medium as an external storage device for storing data used in electronic equipment such as a computer. A card-type external storage device (hereinafter, referred to as a memory card) has been proposed.

【0003】このメモリカードには、記憶媒体であるメ
モリに、任意のデータと、付属データである管理情報と
が記憶される。メモリカードは、これらデータや管理情
報をホスト側のコンピュータ等に供給する際は、エラー
訂正符号等を用いてエラー訂正をかけて、セルの故障等
に起因するデータのエラーを訂正して出力するようにし
ている。
In this memory card, arbitrary data and management information as attached data are stored in a memory as a storage medium. When supplying these data and management information to a host computer or the like, the memory card performs error correction using an error correction code or the like, and corrects and outputs data errors caused by cell failure or the like. Like that.

【0004】ところで、管理情報としては、記憶された
データの順番を示す論理アドレス等のようにデータを管
理するためのデータに依存した情報であるデータ管理情
報の他に、例えばデータが記憶された領域が使用可能か
否かを示す情報のように、データが記憶される領域の状
態を管理するための情報である領域管理情報が記憶され
る場合がある。
Incidentally, as the management information, for example, data is stored in addition to data management information which is information dependent on data for managing data, such as a logical address indicating the order of stored data. Area management information, which is information for managing the state of an area in which data is stored, may be stored, such as information indicating whether an area is usable.

【0005】このような領域管理情報は、データから独
立したメモリ内の領域に関する情報であるので、データ
が記憶された後に書き換える必要が生じる場合がある。
したがって、この領域管理情報は、通常、データを書き
換えることなく単独で書き換えることができるようにな
されている。
Since such area management information is information on an area in a memory independent of data, it may be necessary to rewrite the data after the data is stored.
Therefore, the area management information can be normally rewritten alone without rewriting the data.

【0006】また、このような領域管理情報は、エラー
が生じた場合に通常のエラー訂正符号を用いてエラー訂
正を行うようにすると、情報を書き換えるたびにエラー
訂正符号を書き換えなければならない。そこで、このよ
うな領域管理情報に対しては、エラー訂正符号を用いた
エラー訂正を行わずに、同一の情報を複数ビットに分散
して複数のセルに記憶させておくことでエラー対策をす
ることが望ましい。
Further, if such area management information is subjected to error correction using a normal error correction code when an error occurs, the error correction code must be rewritten each time the information is rewritten. Therefore, for such area management information, an error countermeasure is taken by dispersing the same information into a plurality of bits and storing the same in a plurality of cells without performing error correction using an error correction code. It is desirable.

【0007】[0007]

【発明が解決しようとする課題】ところで、同一の情報
を複数ビットに分散して記憶させておくことで領域管理
情報のエラー対策とした場合、同一の情報が記憶された
複数のセルのうちいくつかに故障が生じると、領域管理
情報のエラー訂正を行うことができなくなってしまう場
合がある。したがって、一度エラー訂正を行った領域管
理情報については、この領域管理情報がエラー訂正を行
った情報であることを判別できるようにして、次にメモ
リカードに記憶させる場合に、故障が発生した領域以外
の領域に記憶させるようにすることが望ましい。
By the way, when the same information is distributed and stored in a plurality of bits to prevent errors in the area management information, if the number of cells in which the same information is stored is determined, When a crab failure occurs, error correction of the area management information may not be performed in some cases. Therefore, with respect to the area management information that has been subjected to the error correction once, it is possible to determine that this area management information is the information that has been subjected to the error correction, and to store the area management information in the memory card next time, It is desirable to store it in an area other than.

【0008】そこで、本発明は、領域管理情報にエラー
訂正を行ったかどうかを判別することができるようにし
てデータを出力する記憶装置が領域管理情報にエラー訂
正を行ったかどうかを判別することができるようにして
データ処理装置にデータを供給し、データ処理装置が領
域管理情報にエラー訂正が行われたかどうかを判別して
所定のデータ処理を行うデータ処理システムを提供し、
これら記憶装置及びデータ処理システムにおけるデータ
処理方法を提供することを目的とする。
Therefore, the present invention provides a method of determining whether or not an error correction has been made to area management information, so that a storage device that outputs data can determine whether or not an error has been corrected to area management information. Provide a data processing system that supplies data to the data processing device so as to enable the data processing device to perform predetermined data processing by determining whether error correction has been performed on the area management information,
It is an object to provide a data processing method in the storage device and the data processing system.

【0009】[0009]

【課題を解決するための手段】上述したような目的を達
成するために提案される本発明に係るデータ処理システ
ムは、データの消去単位である複数のブロックに分割さ
れる記憶手段を備え、上記記憶手段を構成する上記ブロ
ックは、データの書き換えの際に、ビット1からビット
0への書き換えであるときには一括消去による初期化を
伴わずにオーバーライトによる書き込みを行うことが可
能な第1の領域と、データの書き換えの際に一括消去に
よる初期化を伴う第2の領域とを有し、上記第1の領域
には、上記第2の領域のデータが記録される領域の状態
を管理するための領域管理情報が記録され、上記第2の
領域には上記データと上記データを管理するためのデー
タ管理情報とが記録される記憶装置と、上記記憶装置に
上記データ及び領域管理情報を供給し、又は上記記憶装
置から出力された上記データ及び領域管理情報を入力
し、入力した領域管理情報にエラー訂正処理を行ったこ
とを示すフラグが付加されている場合は、このフラグか
ら入力した領域管理情報がエラー訂正を行った情報であ
ることを認識し、所定のデータ処理を行うデータ処理装
置とを備える。
A data processing system according to the present invention proposed to achieve the above-mentioned object comprises a storage means which is divided into a plurality of blocks which are units of data erasure. The block constituting the storage means is a first area in which data can be written by overwriting without reinitialization by batch erasing when data is rewritten from bit 1 to bit 0. And a second area accompanied by initialization by batch erasure when rewriting data. The first area is used to manage the state of an area where data of the second area is recorded. A storage device in which the data and data management information for managing the data are recorded in the second area, and the data and area are stored in the storage device. When the management information is supplied or the data and the area management information output from the storage device are input, and the input area management information is added with a flag indicating that the error correction processing has been performed, this flag is used. And a data processing device for recognizing that the area management information input from the server is error-corrected information and performing predetermined data processing.

【0010】また、本発明は、データの消去単位である
複数のブロックに分割される記憶手段を備え、上記記憶
手段を構成する上記ブロックは、データの書き換えの際
に、ビット1からビット0への書き換えであるときには
一括消去による初期化を伴わずにオーバーライトによる
書き込みを行うことが可能な第1の領域と、データの書
き換えの際に一括消去による初期化を伴う第2の領域と
を有し、上記第1の領域には、上記第2の領域のデータ
が記録される領域の状態を管理するための領域管理情報
が記録され、上記第2の領域には上記データと上記デー
タを管理するためのデータ管理情報とが記録される記憶
装置の上記第2の領域に記録されたデータとこのデータ
が記録された領域の状態を管理するための領域管理情報
とを上記記憶装置から読み出し、データ処理装置にて処
理するデータ処理方法において、上記記憶装置が、記憶
された領域管理情報が訂正が可能なエラーを有する場合
は、この領域管理情報にエラー訂正処理を行い、エラー
訂正処理を行った領域管理情報にエラー訂正処理を行っ
たことを示すフラグを付加して上記データ処理装置に供
給し、上記データ処理装置が、上記記憶装置から供給さ
れた領域管理情報にエラー訂正処理を行ったことを示す
フラグが付加されている場合は、このフラグから入力し
た領域管理情報がエラー訂正を行った情報であることを
認識し、所定のデータ処理を行うようにしたものであ
る。
Further, the present invention comprises storage means which is divided into a plurality of blocks which are units of data erasure, and the blocks constituting the storage means change from bit 1 to bit 0 when rewriting data. When rewriting data, there is a first area in which writing by overwriting can be performed without initializing by batch erasure, and a second area in which initialization by batch erasing is performed when rewriting data. In the first area, area management information for managing a state of an area where data of the second area is recorded is recorded. In the second area, the data and the data are managed. The data recorded in the second area of the storage device in which the data management information is recorded and the area management information for managing the state of the area in which the data is recorded are stored in the storage device. In the data processing method of reading data from the storage device and processing the data in the data processing device, if the storage device has an error that can correct the stored region management information, the storage device performs an error correction process on the region management information, and performs error correction. A flag indicating that an error correction process has been performed is added to the processed region management information and supplied to the data processing device, and the data processing device performs an error correction process on the region management information supplied from the storage device. If a flag indicating that the data has been corrected is added, it is recognized that the area management information input from this flag is the information on which error correction has been performed, and predetermined data processing is performed.

【0011】[0011]

【発明の実施の形態】以下、本発明の実施の形態を図面
を参照して説明する。
Embodiments of the present invention will be described below with reference to the drawings.

【0012】ここでは、本発明を、図1に示すように、
ホスト側の装置となるデータ処理装置10と、シリアル
インターフェースを介してこのデータ処理装置10に接
続される外部記憶装置であるメモリカード20とから構
成されるシステム1に適用した例について説明する。
Here, the present invention, as shown in FIG.
An example in which the present invention is applied to a system 1 including a data processing device 10 serving as a device on the host side and a memory card 20 serving as an external storage device connected to the data processing device 10 via a serial interface will be described.

【0013】ここでは、データ処理装置10とメモリカ
ード20との間でのデータのやり取りをシリアルインタ
ーフェースによって行うシステムを例に説明するが、本
発明はデータのやり取りをパラレルインターフェースに
よって行うシステムに対しても適用可能である。
Here, a system for exchanging data between the data processing device 10 and the memory card 20 by a serial interface will be described as an example. However, the present invention relates to a system for exchanging data by a parallel interface. Is also applicable.

【0014】このシステム1に用いられるデータ処理装
置10は、所定のプログラムを実行するデータ処理部1
1と、外部装置であるメモリカード20との間でデータ
のやり取りをするためのシリアルインターフェース回路
12と、データ処理部11とシリアルインターフェース
回路12間に設けられ、データ処理装置11から供給さ
れたデータ等を一時的に記憶するレジスタ13と、デー
タ処理部11、シリアルインターフェース回路12、レ
ジスタ13のそれぞれに接続され、これらの処理動作を
制御する制御部14とを備えている。
A data processing unit 10 used in the system 1 includes a data processing unit 1 for executing a predetermined program.
1 and a serial interface circuit 12 for exchanging data with a memory card 20 as an external device, and a data processing unit 11 provided between the data processing unit 11 and the serial interface circuit 12, And a control unit 14 that is connected to each of the data processing unit 11, the serial interface circuit 12, and the register 13 and controls the processing operation thereof.

【0015】このデータ処理装置10は、例えばデータ
処理部11が所定のプログラムを実行する際に、外部記
憶装置であるメモリカード20にデータを記憶させる必
要があると判断した場合は、データ処理部11が制御部
14の制御に基づいて、記憶させるべきデータやこのデ
ータを管理するために必要な情報である管理情報、制御
データである書き込み命令等をレジスタ13に書き込
む。
For example, when the data processing unit 11 determines that it is necessary to store data in the memory card 20 which is an external storage device when the data processing unit 11 executes a predetermined program, the data processing unit 10 11 writes the data to be stored, management information that is information necessary for managing this data, and a write command that is control data into the register 13 under the control of the control unit 14.

【0016】そして、シリアルインターフェース回路1
2が、制御部14の制御に基づいてレジスタ13からこ
れら記憶させるべきデータや管理情報、書き込み命令等
を読み出し、シリアルデータに変換して、クロック信号
やステータス信号とともにこれらの転送を行う。なお、
上記管理情報は、データを管理するための情報であるデ
ータ管理情報と、データが記憶される領域の状態を管理
するための領域管理情報を含む情報である。
Then, the serial interface circuit 1
2 reads out the data to be stored, the management information, the write command, and the like from the register 13 under the control of the control unit 14, converts the data into serial data, and transfers them together with the clock signal and the status signal. In addition,
The management information is information including data management information for managing data and area management information for managing a state of an area where data is stored.

【0017】また、このデータ処理装置10は、データ
処理部11が所定のプログラムを実行する際に、外部記
憶装置であるメモリカード20からデータを読み出す必
要があると判断した場合は、データ処理部11が制御部
14の制御に基づいて制御データである読み出し命令を
レジスタ13に書き込む。そして、シリアルインターフ
ェース回路12が、制御部14の制御に基づいてレジス
タ13から読み出し命令を読み出し、シリアルデータに
変換して、クロック信号やステータス信号とともにこれ
らの転送を行う。
When the data processing unit 11 determines that it is necessary to read data from the memory card 20 which is an external storage device when the data processing unit 11 executes a predetermined program, the data processing unit 10 11 writes a read command, which is control data, to the register 13 based on the control of the control unit 14. Then, the serial interface circuit 12 reads out a read command from the register 13 under the control of the control unit 14, converts the read command into serial data, and transfers these together with a clock signal and a status signal.

【0018】この読み出し命令に従ってメモリカード2
0から転送されてきた所定のデータや管理情報は、シリ
アルインターフェース回路12によりパラレルデータに
変換され、レジスタ13に書き込まれる。そして、デー
タ処理部11が、制御部14の制御に基づいてレジスタ
13からこれらデータや管理情報を読み出して所定の処
理を行う。この際、制御部14は、メモリカード21か
ら転送されてきた領域管理情報に付加された後述するフ
ラグから領域管理情報の状態を判断して、所定のデータ
処理を行う。
According to the read command, the memory card 2
The predetermined data and management information transferred from 0 are converted into parallel data by the serial interface circuit 12 and written into the register 13. Then, the data processing unit 11 reads these data and management information from the register 13 under the control of the control unit 14 and performs a predetermined process. At this time, the control unit 14 determines the state of the area management information from a flag described later added to the area management information transferred from the memory card 21 and performs predetermined data processing.

【0019】なお、本発明が適用されるシステムに用い
られるデータ処理装置は、メモリカード20等の外部記
憶装置との間でデータのやり取りが可能なものであれば
特に限定されるものではなく、パーソナルコンピュー
タ、デジタルスチルカメラ、デジタルビデオカメラ等の
種々のデータ処理装置が適用可能である。
The data processing device used in the system to which the present invention is applied is not particularly limited as long as it can exchange data with an external storage device such as the memory card 20. Various data processing devices such as a personal computer, a digital still camera, and a digital video camera are applicable.

【0020】このシステム1において、データ処理装置
10とメモリカード20とは、シリアルインターフェー
スによって接続されており、具体的には、少なくとも3
本のデータ線SCLK,State,DIOによって接
続される。すなわち、データ処理装置10とメモリカー
ド20とは、少なくとも、データ伝送時にクロック信号
を伝送するための第1のデータ線SCLKと、データ伝
送時に必要なステータス信号を伝送するための第2のデ
ータ線Stateと、メモリカード20に書き込むデー
タ又はメモリカード20から読み出すデータをシリアル
に伝送する第3のデータ線DIOとによって接続され、
これらを介して、データ処理装置10とメモリカード2
0との間でデータのやり取りを行う。
In this system 1, the data processing device 10 and the memory card 20 are connected by a serial interface.
The data lines SCLK, State, and DIO are connected. That is, the data processing device 10 and the memory card 20 include at least a first data line SCLK for transmitting a clock signal during data transmission and a second data line for transmitting a status signal required during data transmission. State, and a third data line DIO that serially transmits data to be written to the memory card 20 or data to be read from the memory card 20,
Via these, the data processing device 10 and the memory card 2
Data is exchanged with 0.

【0021】データ処理装置10とメモリカード20と
の間でのデータのやり取りは、通常、ヘッダーと実デー
タとから構成されるファイル単位で行われる。なお、フ
ァイルのヘッダーには、例えば、ファイルにアクセスす
るための情報や、データ処理装置10で実行されるプロ
グラムで必要とされる情報等が格納される。
Data exchange between the data processing device 10 and the memory card 20 is usually performed in units of a file composed of a header and actual data. In the header of the file, for example, information for accessing the file, information required by a program executed by the data processing device 10, and the like are stored.

【0022】メモリカード20は、図2に示すように、
所定のデータや管理情報を記憶するフラッシュメモリ2
1と、データ処理装置10との間でデータのやり取りを
するためのシリアル/パラレル・パラレル/シリアル・
インターフェース回路(以下、S/P・P/Sインター
フェース回路22という。)と、フラッシュメモリ21
とS/P・P/Sインターフェース回路22間に設けら
れ、S/P・P/Sインターフェース回路22から供給
されたデータや管理情報を一時的に記憶するレジスタ2
3と、このレジスタ23に接続され、レジスタ23に書
き込まれたデータやデータ管理情報にエラーがある場合
にエラー訂正符号に基づいてエラーを訂正するECC回
路24と、レジスタ23とフラッシュメモリ21間に設
けられ、レジスタ23から読み出された領域管理情報を
この領域管理情報に冗長データが付加されてなる情報
(本明細書においては、領域管理フラグと称する。)に
変換し、又はフラッシュメモリ21から読み出された領
域管理フラグを領域管理情報に変換する変換部25と、
この変換部25に接続され、フラッシュメモリ21から
読み出された領域管理フラグに所定のエラーがある場合
にこの領域管理フラグのエラーを訂正するエラー訂正処
理部26と、フラッシュメモリ21、S/P・P/Sイ
ンターフェース回路22、レジスタ23、変換部25の
それぞれに接続され、これらの処理動作を制御する制御
部27とを備えている。
The memory card 20, as shown in FIG.
Flash memory 2 for storing predetermined data and management information
1 and a serial / parallel / parallel / serial interface for exchanging data with the data processing device 10.
An interface circuit (hereinafter, referred to as an S / P / P / S interface circuit 22);
And a register 2 provided between the S / P / P / S interface circuit 22 for temporarily storing data and management information supplied from the S / P / P / S interface circuit 22
3, an ECC circuit 24 connected to the register 23 and correcting an error based on an error correction code when there is an error in the data or data management information written in the register 23, and between the register 23 and the flash memory 21. Provided, and converts the area management information read from the register 23 into information (hereinafter, referred to as an area management flag) in which redundant data is added to the area management information, or from the flash memory 21. A conversion unit 25 that converts the read area management flag into area management information;
An error correction processing unit 26 connected to the conversion unit 25 and correcting an error of the area management flag when the area management flag read from the flash memory 21 has a predetermined error; A control unit 27 that is connected to each of the P / S interface circuit 22, the register 23, and the conversion unit 25, and controls these processing operations;

【0023】S/P・P/Sインターフェース回路22
は、少なくとも上述した3本のデータ線SCLK,St
ate,DIOを介して、データ処理装置10のシリア
ルインターフェース回路12に接続され、これらのデー
タ線SCLK,State,DIOを介して、データ処
理装置10との間でデータのやり取りを行う。すなわ
ち、S/P・P/Sインターフェース回路22は、デー
タ処理装置10のシリアルインターフェース回路12か
ら送られてきたシリアルデータをパラレルデータに変換
して、レジスタ23に書き込む。また、S/P・P/S
インターフェース回路22は、レジスタ23から読み出
されたパラレルデータをシリアルデータに変換して、デ
ータ処理装置10のシリアルインターフェース回路12
へ送出する。 このS/P・P/Sインターフェース回
路22とデータ処理装置10との間でのシリアルデータ
の伝送は、第1のデータ線SCLKによってデータ処理
装置10から送られてくるクロック信号によって同期を
取りながら、第3のデータ線DIOによって行われる。
このとき、第3のデータ線DIOによってやり取りされ
るシリアルデータのデータ種別は、第2のデータ線St
ateによって伝送されるステータス信号によって判別
される。ここで、シリアルデータの種別には、例えば、
フラッシュメモリ21に記憶させるべきデータ、フラッ
シュメモリ21から読み出されたデータ、又はこのメモ
リカード20の動作を制御するための制御データ等があ
る。
S / P / P / S interface circuit 22
Are at least the three data lines SCLK and St
ate, DIO, and is connected to the serial interface circuit 12 of the data processing device 10, and exchanges data with the data processing device 10 via these data lines SCLK, State, DIO. That is, the S / P / P / S interface circuit 22 converts the serial data sent from the serial interface circuit 12 of the data processing device 10 into parallel data, and writes the parallel data into the register 23. Also, S / P / P / S
The interface circuit 22 converts the parallel data read from the register 23 into serial data, and converts the parallel data into serial data.
Send to The transmission of serial data between the S / P / P / S interface circuit 22 and the data processing device 10 is synchronized with a clock signal sent from the data processing device 10 via the first data line SCLK. , And the third data line DIO.
At this time, the data type of the serial data exchanged by the third data line DIO is the second data line St.
ate is determined by the status signal transmitted. Here, the type of serial data includes, for example,
There are data to be stored in the flash memory 21, data read from the flash memory 21, control data for controlling the operation of the memory card 20, and the like.

【0024】また、S/P・P/Sインターフェース回
路22は、データ処理装置10から送られてきたデータ
が書き込み命令や読み出し命令等の制御データである場
合には、当該制御データを制御部27に供給する。
When the data sent from the data processing device 10 is control data such as a write command or a read command, the S / P / P / S interface circuit 22 transmits the control data to the control unit 27. To supply.

【0025】レジスタ23は、フラッシュメモリ21と
S/P・P/Sインターフェース回路22間でやり取り
されるデータを一時的に記憶する。
The register 23 temporarily stores data exchanged between the flash memory 21 and the S / P / P / S interface circuit 22.

【0026】ECC回路24は、S/P・P/Sインタ
ーフェース回路22によりレジスタ23に書き込まれた
データにエラー訂正符号を付加する。また、ECC回路
24は、フラッシュメモリから読み出されレジスタ23
に書き込まれたデータにエラー訂正処理を施す。
The ECC circuit 24 adds an error correction code to the data written in the register 23 by the S / P / P / S interface circuit 22. In addition, the ECC circuit 24 reads out the register 23
Error correction processing is performed on the data written in.

【0027】変換部25は、レジスタ23から読み出さ
れた管理情報のうち領域管理情報をこの領域管理情報に
冗長データが付加されてなる領域管理フラグに変換す
る。また、変換部25は、フラッシュメモリ21から読
み出された領域管理フラグを領域管理情報に変換する。
The conversion unit 25 converts the area management information of the management information read from the register 23 into an area management flag obtained by adding redundant data to the area management information. The conversion unit 25 converts the area management flag read from the flash memory 21 into area management information.

【0028】エラー訂正処理部26は、フラッシュメモ
リ21から読み出され、変換部25に供給された領域管
理フラグに、例えば1ビットのエラーが生じていた場合
に、この領域管理フラグのエラーを訂正する。このよう
に、エラー訂正処理部26は、例えば1ビットのエラー
については訂正処理を行うといったように、エラー訂正
可能な範囲が予め設定されている。したがって、エラー
が生じた領域管理フラグには、このエラー訂正処理部2
6によってエラー訂正が可能なものと、エラー訂正が不
可能なものとがある。このため、変換部25により領域
管理フラグから変換された領域管理情報は、エラーが生
じていない領域管理情報と、エラー訂正をした領域管理
情報と、エラーが生じているが訂正が不可能な領域管理
情報の3種類の領域管理情報に分けられることになる。
The error correction processing section 26 corrects the error of the area management flag when the area management flag read from the flash memory 21 and supplied to the conversion section 25 has, for example, a 1-bit error. I do. As described above, the error correction processing unit 26 presets an error-correctable range, such as performing a correction process for a one-bit error. Therefore, the error correction processing unit 2
6, there are cases where error correction is possible and cases where error correction is impossible. Therefore, the area management information converted from the area management flag by the conversion unit 25 includes area management information in which no error has occurred, area management information in which an error has been corrected, and area management information in which an error has occurred but cannot be corrected. The management information is divided into three types of area management information.

【0029】制御部27は、このS/P・P/Sインタ
ーフェース回路22から供給された制御データに基づい
てメモリカード20の動作を制御する。すなわち、この
制御部27は、S/P・P/Sインターフェース回路2
2から供給された書き込み命令に基づいて、レジスタ2
3に一時的に書き込まれたデータや管理情報をレジスタ
23から読み出して、フラッシュメモリ21に記憶させ
る。この際、制御部27は、管理情報のうち領域管理情
報については、先ず変換部25に供給し、この変換部2
5にて領域管理フラグに変換させてからフラッシュメモ
リ21に記憶させる。
The control unit 27 controls the operation of the memory card 20 based on the control data supplied from the S / P / P / S interface circuit 22. In other words, the control unit 27 controls the S / P / P / S interface circuit 2
Register 2 based on the write command supplied from
3 is read from the register 23 and the data and management information temporarily written to the flash memory 21 are stored. At this time, the control unit 27 first supplies the area management information of the management information to the conversion unit 25,
In step 5, the data is converted into an area management flag and stored in the flash memory 21.

【0030】また、制御部27は、S/P・P/Sイン
ターフェース回路22から供給された読み出し命令に基
づいて、フラッシュメモリ21からデータや管理情報を
読み出してレジスタ23に書き込む。この際、制御部2
7は、フラッシュメモリ21から読み出した管理情報の
うち領域管理フラグについては、先ず変換部25に供給
し、この変換部25にて領域管理情報に変換させてから
レジスタ23に書き込む。このとき、制御部27は、変
換部25にて変換された領域管理情報が、上述したエラ
ーが生じていない領域管理情報であるか、エラー訂正を
した領域管理情報であるか、エラーが生じているが訂正
が不可能な領域管理情報であるかを判別するためのフラ
グをこの領域管理情報に付加してレジスタ23に書き込
む。
The control unit 27 reads data and management information from the flash memory 21 and writes them in the register 23 based on a read command supplied from the S / P / P / S interface circuit 22. At this time, the control unit 2
7 supplies the area management flag in the management information read from the flash memory 21 to the conversion unit 25 first, converts the area management information into the area management information, and writes the converted information into the register 23. At this time, the control unit 27 determines whether the area management information converted by the conversion unit 25 is the area management information in which the above-described error has not occurred, the area management information in which the error has been corrected, or the error has occurred. A flag is added to the area management information to determine whether the area management information is present but cannot be corrected, and is written to the register 23.

【0031】なお、この制御部27には、誤消去防止ス
イッチ28が接続されている。そして、この誤消去防止
スイッチ28がオンになっているときには、フラッシュ
メモリ21に記憶されているデータを消去するように指
示する制御データがデータ処理装置10から送られてき
たとしても、制御部27は、フラッシュメモリ21に記
憶されているデータを消去するような制御を行わない。
すなわち、このメモリカード20は、誤消去防止スイッ
チ28によって、フラッシュメモリ21に記憶されてい
るデータの消去が行えない状態と、フラッシュメモリ2
1に記憶されているデータの消去が行える状態とを切り
換えることが可能となっている。
Incidentally, an erroneous erasure prevention switch 28 is connected to the control unit 27. When the erroneous erasure prevention switch 28 is turned on, even if control data for instructing erasure of data stored in the flash memory 21 is transmitted from the data processing device 10, the control unit 27. Does not perform control to erase data stored in the flash memory 21.
That is, the memory card 20 is in a state where the data stored in the flash memory 21 cannot be erased by the erroneous erasure prevention switch 28,
1 can be switched to a state where the data stored in the memory 1 can be erased.

【0032】以上のようなメモリカード20に対して、
データ処理装置10から記憶させるべきデータや管理情
報、書き込み命令等がシリアルデータとして送られてく
ると、先ず、S/P・P/Sインターフェース回路22
がこれらのデータをパラレルデータに変換して、書き込
み命令を制御部27に供給するとともに、制御部27の
制御に基づいて、所定のデータや管理情報をレジスタ2
3に書き込む。
For the memory card 20 as described above,
When data to be stored, management information, a write command, and the like are sent from the data processing device 10 as serial data, first, the S / P / P / S interface circuit 22
Converts the data into parallel data, supplies a write command to the control unit 27, and stores predetermined data and management information in the register 2 based on the control of the control unit 27.
Write to 3.

【0033】ここで、レジスタ23に書き込まれた所定
のデータや管理情報には、ECC回路24により、領域
管理情報以外を対象としたエラー訂正符号が付加され
る。
Here, the ECC circuit 24 adds an error correction code for data other than the area management information to the predetermined data and management information written in the register 23.

【0034】そして、制御部27が、S/P・P/Sイ
ンターフェース回路22から供給された書き込み命令に
基づいて、レジスタ23から所定のデータや管理情報を
読み出して、フラッシュメモリ21に書き込む処理を行
う。この際、制御部27は、レジスタ23から読み出し
た管理情報のうち領域管理情報を先ず変換部25に供給
する。変換部25に供給された領域管理情報は、この変
換部25により領域管理フラグに変換される。そして、
制御部27は、この変換部25により変換された領域管
理フラグをフラッシュメモリ21に書き込む。
The control section 27 reads out predetermined data and management information from the register 23 based on the write command supplied from the S / P / P / S interface circuit 22, and writes the read data and management information into the flash memory 21. Do. At this time, the control unit 27 first supplies the area management information of the management information read from the register 23 to the conversion unit 25. The area management information supplied to the conversion unit 25 is converted by the conversion unit 25 into an area management flag. And
The control unit 27 writes the area management flag converted by the conversion unit 25 into the flash memory 21.

【0035】また、このメモリカード20は、データ処
理装置10から読み出し命令が送られてくると、S/P
・P/Sインターフェース回路22が、この読み出し命
令を制御部27に供給する。
When a read command is sent from the data processing device 10, the memory card 20 receives the S / P
The P / S interface circuit 22 supplies the read command to the control unit 27.

【0036】そして、制御部27が、S/P・P/Sイ
ンターフェース回路22から供給された読み出し命令に
基づいて、フラッシュメモリ21からデータや管理情報
を読み出して、レジスタ23に書き込む。この際、制御
部27は、フラッシュメモリ21から読み出した領域管
理フラグを先ず変換部25に供給する。変換部25に供
給された領域管理フラグは、この変換部25により領域
管理情報に変換される。このとき、制御部27は、領域
管理フラグにエラー訂正処理部26で訂正が可能なエラ
ーがある場合は、この領域管理フラグをエラー訂正処理
部26に供給する。そして、制御部27は、エラー訂正
処理部26にてエラー訂正が行われた領域管理情報に、
エラー訂正を行ったことを示すフラグを付加して、レジ
スタ23に書き込む。
The control unit 27 reads data and management information from the flash memory 21 based on the read command supplied from the S / P / P / S interface circuit 22 and writes the data and management information into the register 23. At this time, the control unit 27 first supplies the area management flag read from the flash memory 21 to the conversion unit 25. The area management flag supplied to the conversion unit 25 is converted by this conversion unit 25 into area management information. At this time, if there is an error that can be corrected by the error correction processing unit 26 in the area management flag, the control unit 27 supplies the area management flag to the error correction processing unit 26. Then, the control unit 27 adds, to the area management information on which the error correction has been performed by the error correction processing unit 26,
A flag indicating that the error correction has been performed is added to the register 23 and written.

【0037】レジスタ23に書き込まれたデータや管理
情報のうちのデータ管理情報にエラーがある場合は、こ
のレジスタ23に接続されたECC回路24にてエラー
訂正符号に基づいてエラー訂正が行われる。
When there is an error in the data management information among the data written in the register 23 and the management information, the ECC circuit 24 connected to the register 23 performs error correction based on the error correction code.

【0038】そして、S/P・P/Sインターフェース
回路22が、制御部27の制御に基づいてレジスタ23
からこれら所定のデータや管理情報等を読み出してシリ
アルデータに変換し、データ処理装置10に送出する。
The S / P / P / S interface circuit 22 controls the register 23 based on the control of the control unit 27.
These data and management information are read out from the device, converted into serial data, and transmitted to the data processing device 10.

【0039】なお、以上は領域管理情報にエラー訂正を
行った場合に、この領域管理情報にエラー訂正を行った
ことを示すフラグを付加する例について説明したが、デ
ータやデータ管理情報にエラー訂正を行った場合にも、
これらにエラー訂正を行ったことを示すフラグを付加す
るようにしてもよい。
In the above description, an example has been described in which, when error correction is performed on the area management information, a flag indicating that error correction has been performed is added to the area management information. If you do
A flag indicating that error correction has been performed may be added to these.

【0040】また、以上はメモリカード20にECC回
路24が設けられ、メモリカード20内でデータやデー
タ管理情報のエラー訂正を行うシステムについて説明し
たが、本発明はデータ処理装置がエラー訂正回路を備
え、データ処理装置側でデータやデータ管理情報のエラ
ー訂正を行うシステムに対しても適用可能である。この
場合、データにエラー訂正符号が付加された状態で、デ
ータ処理装置10とメモリカード20との間のデータの
やり取りが行われる。
Although the ECC circuit 24 is provided in the memory card 20 and the error correction of the data and the data management information in the memory card 20 has been described above, the present invention relates to a data processing device in which an error correction circuit is provided. The present invention is also applicable to a system in which an error correction of data and data management information is performed on the data processing device side. In this case, the data is exchanged between the data processing device 10 and the memory card 20 with the error correction code added to the data.

【0041】ここで、上述したメモリカード20に搭載
されるフラッシュメモリ21の記憶領域の構造について
説明する。
Here, the structure of the storage area of the flash memory 21 mounted on the memory card 20 will be described.

【0042】このフラッシュメモリ21の記憶領域は、
記憶単位である多数のセルから構成され、図3(a)に
示すように、データの消去単位となる複数のブロックに
分割されている。なお、これらのブロックには、このメ
モリカード20が起動されたときにデータ処理装置10
によって最初に読み込まれるデータであるブートデータ
が格納されるブートブロックと、任意のデータが書き込
まれるデータブロックとがある。そして、これらの各ブ
ロックには、それぞれ固有の物理アドレスが付けられて
いる。
The storage area of the flash memory 21 is
It is composed of a large number of cells as storage units, and as shown in FIG. 3A, is divided into a plurality of blocks as data erasure units. These blocks include the data processing device 10 when the memory card 20 is activated.
There are a boot block in which boot data, which is data read first, is stored, and a data block in which arbitrary data is written. Each of these blocks has a unique physical address.

【0043】これらのブロックは、データの消去単位で
あると同時に、ファイル管理上の最小単位でもある。す
なわち、ファイルは1つ又は複数のブロックに格納さ
れ、1つのブロックを複数のファイルで利用することは
できないようになされている。
These blocks are not only units of data erasure but also minimum units in file management. That is, a file is stored in one or a plurality of blocks, and one block cannot be used in a plurality of files.

【0044】これら各ブロックは複数のセルからなり、
これら各セルに「1」又は「0」を示す2つの状態を取
り得る情報、すなわち1ビットの情報が記憶される。
Each of these blocks is composed of a plurality of cells.
In each of these cells, information that can take two states indicating “1” or “0”, that is, 1-bit information is stored.

【0045】そして、各ブロックは、初期状態では、全
てのビットが「1」とされており、ビット単位での変更
は「1」から「0」への変更のみが可能とされている。
したがって、フラッシュメモリ21に「1」及び「0」
からなるデータを書き込む際は、「1」については該当
するビットをそのまま保持し、「0」については該当す
るビットを「1」から「0」に変更してデータの書き込
みを行う。
In each block, in the initial state, all bits are set to "1", and a change in units of bits can only be changed from "1" to "0".
Therefore, "1" and "0" are stored in the flash memory 21.
When writing data consisting of “1”, the corresponding bit is held as it is for “1”, and the corresponding bit is changed from “1” to “0” for “0”, and the data is written.

【0046】また、一度書き込んだデータをフラッシュ
メモリ21から消去する際は、ブロック単位で一括して
初期化処理を行い、当該ブロックの全ビットを「1」と
する。これにより、当該ブロックに書き込まれたデータ
は一括消去され、このブロックは再びデータ書き込みが
可能な状態とされる。
When data once written is erased from the flash memory 21, initialization processing is performed collectively for each block, and all bits of the block are set to "1". As a result, the data written in the block is collectively erased, and the block is set in a state where data can be written again.

【0047】また、フラッシュメモリ21の各ブロック
は、図3(b)に示すように、データの書き込みや読み
出しの単位となる複数のページから構成される。このペ
ージは、例えば512バイトの記憶容量を有する記憶単
位であり、フラッシュメモリ21にデータを書き込む際
は、このページ単位でレジスタ23から読み出されたデ
ータが、制御部25によりページ単位でフラッシュメモ
リ21に書き込まれる。また、このフラッシュメモリ2
1からデータを読み出す際は、制御部25によりフラッ
シュメモリ21からデータがページ毎に読み出され、レ
ジスタ23に供給される。
As shown in FIG. 3B, each block of the flash memory 21 is composed of a plurality of pages serving as a unit for writing and reading data. This page is a storage unit having a storage capacity of, for example, 512 bytes. When data is written to the flash memory 21, the data read from the register 23 in page units is transferred to the flash memory in page units by the control unit 25. 21 is written. In addition, this flash memory 2
When data is read from 1, the control unit 25 reads data from the flash memory 21 for each page and supplies the data to the register 23.

【0048】データの書き込みや読み出しの単位となる
ページは、データ記憶領域と管理情報記憶領域とを有し
ている。ここで、データ記憶領域とは、任意のデータが
書き込まれる領域をいい、管理情報記憶領域とは、デー
タ記憶領域に書き込まれるデータの管理に必要な情報
(管理情報)が格納される領域をいう。
A page serving as a unit for writing or reading data has a data storage area and a management information storage area. Here, the data storage area refers to an area in which arbitrary data is written, and the management information storage area refers to an area in which information (management information) necessary for managing data written in the data storage area is stored. .

【0049】管理情報記憶領域は、16バイトの領域を
有し、このうち最初の3バイトが、ブロック単位で一括
して初期化処理を行うことなく情報を書き換えることが
できるオーバーライト領域に設定されている。そして、
管理情報記憶領域は、残りの13バイトが、情報を書き
換える際はブロック単位で一括して初期化処理を行う通
常領域に設定されている。
The management information storage area has a 16-byte area, of which the first 3 bytes are set as an overwrite area in which information can be rewritten without performing initialization processing collectively in block units. ing. And
In the management information storage area, the remaining 13 bytes are set as a normal area where initialization processing is performed collectively in block units when information is rewritten.

【0050】そして、ブロックを構成する各ページの管
理情報記憶領域に、管理情報が格納される。具体的に
は、図3(c)に示すように、各ブロックの先頭ページ
の管理情報記憶領域には、このブロックを管理するため
に必要な情報として、いわゆる分散管理情報が格納され
る。また、各ブロックの2ページ目以降の各ページの管
理情報記憶領域にも、予備の分散管理情報として、先頭
ページの管理情報記憶領域に格納された分散管理情報と
同じ管理情報が記憶される。ただし、各ブロックの最終
ページの管理情報記憶領域には、分散管理情報だけでは
不足する情報を補う、いわゆる追加管理情報が格納され
る。
The management information is stored in the management information storage area of each page constituting the block. Specifically, as shown in FIG. 3C, so-called distributed management information is stored in the management information storage area of the first page of each block as information necessary for managing this block. Further, the same management information as the distributed management information stored in the management information storage area of the first page is also stored as spare distributed management information in the management information storage area of each of the second and subsequent pages of each block. However, the management information storage area of the last page of each block stores so-called additional management information that supplements information that is insufficient with only the distributed management information.

【0051】このように、メモリカード20に搭載され
るフラッシュメモリ21では、各ブロック内の管理情報
記憶領域に、それぞれのブロックを管理するための分散
管理情報が格納され、この分散管理情報により、例えば
当該ブロックがファイルの先頭となるブロックであるか
否かについての情報や、複数のブロックからファイルが
構成される場合にはそれらのブロックの繋がりを示す情
報等を得ることができる。
As described above, in the flash memory 21 mounted on the memory card 20, distribution management information for managing each block is stored in the management information storage area in each block. For example, it is possible to obtain information as to whether or not the block is the first block of the file, or information indicating the connection of the blocks when the file is composed of a plurality of blocks.

【0052】そして、このメモリカード20は、各ブロ
ックの分散管理情報を集めることにより、フラッシュメ
モリ21全体を管理するための情報として、いわゆる集
合管理情報を作成して、この集合管理情報を一つのファ
イルとしてフラッシュメモリ21に格納するようにして
いる。
The memory card 20 collects distributed management information of each block to create so-called collective management information as information for managing the entire flash memory 21, and stores the collective management information in one piece. It is stored in the flash memory 21 as a file.

【0053】そして、データ処理装置10とメモリカー
ド20間でデータのやり取りを行う場合、データ処理装
置10は、通常、フラッシュメモリ21からこの集合管
理情報を読み出して、各ブロックにアクセスするために
必要な情報を得るようにしている。これにより、データ
アクセスのたびに個々のブロックに格納された分散管理
情報にアクセスする必要がなくなり、より高速なデータ
アクセスが可能となる。
When data is exchanged between the data processing device 10 and the memory card 20, the data processing device 10 usually reads out the collective management information from the flash memory 21 and needs to access each block. Information. Thus, it is not necessary to access the distributed management information stored in each block every time data is accessed, and higher-speed data access is possible.

【0054】次に、分散管理情報、追加管理情報、集合
管理情報について、更に詳細に説明する。
Next, the distributed management information, additional management information, and set management information will be described in more detail.

【0055】分散管理情報は、各ページ毎に設けられた
16バイトの管理情報記憶領域に格納された、ブロック
を管理するための管理情報である。そして、この分散管
理情報は、例えば図4に示すように、1バイトの可/不
可フラグと、1バイトのブロックフラグと、4ビットの
最終フラグと、4ビットの参照フラグと、1バイトの管
理フラグと、2バイトの論理アドレスと、2バイトの連
結アドレスと、2バイトの分散管理情報用エラー訂正符
号と、3バイトのデータ用エラー訂正符号とからなり、
これらの情報のうち、可/不可フラグ、ブロックフラ
グ、最終フラグ、参照フラグが、管理情報記憶領域の最
初の3バイトのオーバーライト領域に格納される。
The distribution management information is management information for managing blocks stored in a 16-byte management information storage area provided for each page. As shown in FIG. 4, for example, the distribution management information includes a 1-byte enable / disable flag, a 1-byte block flag, a 4-bit final flag, a 4-bit reference flag, and a 1-byte management flag. A flag, a 2-byte logical address, a 2-byte linked address, a 2-byte distributed management information error correction code, and a 3-byte data error correction code,
Among these information, the enable / disable flag, block flag, last flag, and reference flag are stored in the first 3-byte overwrite area of the management information storage area.

【0056】また、管理情報記憶領域の13バイトの通
常領域に、管理フラグと論理アドレスと連結アドレスと
リザーブ領域と分散管理情報用エラー訂正符号とデータ
用エラー訂正符号とが格納される。そして、通常領域の
残りの3バイトは、リザーブ領域とされる。
The 13-byte normal area of the management information storage area stores a management flag, a logical address, a concatenated address, a reserved area, an error correction code for distributed management information, and an error correction code for data. Then, the remaining three bytes of the normal area are used as a reserved area.

【0057】可/不可フラグは、ブロックが使用可能な
状態か使用不可能な状態かを示すフラグである。すなわ
ち、ブロック内に回復不可能なエラーが生じたようなと
きは、この可/不可フラグによって、当該ブロックが使
用不可能な状態であることが示される。
The enable / disable flag is a flag indicating whether the block is usable or unusable. That is, when an unrecoverable error occurs in a block, the availability flag indicates that the block is unusable.

【0058】ブロックフラグは、ブロックの使用状態を
示すフラグであり、具体的には、「未使用」、「先頭使
用」、「使用」、「未消去」の4つの状態を示すフラグ
である。「未使用」は、当該ブロックが未使用又は消去
済みで初期状態(全ビットが「1」の状態)とされてお
り、すぐにデータの書き込みが可能な状態を示す。「先
頭使用」は、当該ブロックがファイルの先頭で使用され
ている状態を示す。「使用」は、当該ブロックがファイ
ルの先頭以外で使用されている状態を示す。したがっ
て、ブロックフラグが「使用」のとき、当該ブロックは
他のブロックから連結されていることとなる。「未消
去」は、当該ブロックに書かれていたデータが不要とな
った状態を示す。なお、ブートデータが格納されたブー
トブロックにおいて、ブロックフラグは「先頭使用」と
される。
The block flag is a flag indicating a use state of the block, and specifically, is a flag indicating four states of "unused", "head use", "use", and "unerased". "Unused" indicates that the block is unused or has been erased and is in an initial state (all bits are "1"), and data can be written immediately. “Top use” indicates a state in which the block is used at the beginning of the file. “Use” indicates a state in which the block is used at a position other than the beginning of the file. Therefore, when the block flag is “used”, the block is linked from another block. “Unerased” indicates a state in which the data written in the block becomes unnecessary. In the boot block in which the boot data is stored, the block flag is set to “used at the beginning”.

【0059】このメモリカード20においては、ブロッ
ク内に記憶された不要なデータを消去する場合に、まず
ブロックフラグを「未消去」の状態にしておき、処理時
間に余裕があるときに、ブロックフラグが「未消去」に
なっているブロックを消去するようにしている。これに
より、メモリカード20は、データの消去の処理をより
効率よく行うことが可能となる。
In the memory card 20, when erasing unnecessary data stored in a block, the block flag is first set to an "unerased" state. Erases blocks that are "unerased". Thus, the memory card 20 can more efficiently perform the data erasing process.

【0060】最終フラグは、ファイルが当該ブロックで
終わっているか否かを示すフラグであり、具体的には、
「ブロック連続」、「ブロック最終」の2つの状態を示
すフラグである。「ブロック連続」は、当該ブロックに
記憶されたファイルにはまだ続きがあり、他のブロック
に続いていることを示す。「ブロック最終」は、当該ブ
ロックに記憶されたファイルは、このブロックで終了し
ていることを示す。
The final flag is a flag indicating whether or not the file ends with the corresponding block.
This flag indicates two states of “continuation of block” and “end of block”. “Block continuation” indicates that the file stored in the block has a continuation, and continues to another block. “End of block” indicates that the file stored in the block ends with this block.

【0061】参照フラグは、追加管理情報の参照を指示
するためのフラグであり、具体的には、「参照情報な
し」、「参照情報あり」の2つの状態を示すフラグであ
る。「参照情報なし」は、ブロックの最終ページの管理
情報記憶領域に有効な追加管理情報が存在しないことを
示す。「参照情報あり」は、ブロックの最終ページの管
理情報記憶領域に有効な追加管理情報が存在することを
示す。
The reference flag is a flag for instructing reference to the additional management information, and specifically, is a flag indicating two states of “no reference information” and “with reference information”. "No reference information" indicates that there is no valid additional management information in the management information storage area of the last page of the block. “With reference information” indicates that valid additional management information exists in the management information storage area of the last page of the block.

【0062】管理フラグは、ブロックの属性等を示すフ
ラグであり、例えば当該ブロックが読み出し専用のブロ
ックか、あるいは書き込みも可能なブロックか等の属性
を示す。また、例えば、この管理フラグによって、当該
ブロックがブートブロックであるか、或いはデータブロ
ックであるかが示される。
The management flag is a flag indicating the attribute of the block, and indicates, for example, the attribute such as whether the block is a read-only block or a writable block. Further, for example, the management flag indicates whether the block is a boot block or a data block.

【0063】論理アドレスは、当該ブロックの論理アド
レスを示す。この論理アドレスの値は、データの書き換
えを行うとき等に必要に応じて更新される。なお、この
論理アドレスの値は、同じ論理アドレスの値を同時に複
数のブロックが持つことがないように設定されている。
The logical address indicates the logical address of the block. The value of the logical address is updated as needed when data is rewritten. The value of this logical address is set so that a plurality of blocks do not have the same logical address value at the same time.

【0064】連結アドレスは、当該ブロックに連結する
他のブロックの論理アドレスを示す。すなわち、当該ブ
ロックに記憶されたファイルが他のブロックに続いてい
る場合に、連結アドレスは、そのファイルの続きが記憶
されたブロックの論理アドレスの値を示す。
The link address indicates the logical address of another block connected to the block. In other words, when the file stored in the block follows another block, the link address indicates the value of the logical address of the block in which the continuation of the file is stored.

【0065】分散管理情報用エラー訂正符号は、分散管
理情報のうち、管理フラグ、論理アドレス、連結アドレ
ス及びリザーブ領域に書き込まれたデータを対象とした
エラー訂正符号である。
The error correction code for distributed management information is an error correction code for the data written in the management flag, the logical address, the link address, and the reserved area in the distributed management information.

【0066】データ用エラー訂正符号は、このデータ用
エラー訂正符号が書き込まれたページのデータ記憶領域
に記憶されたデータを対象としたエラー訂正符号であ
る。
The data error correction code is an error correction code for data stored in the data storage area of the page in which the data error correction code has been written.

【0067】ところで、上述した分散管理情報のうち、
可/不可フラグ、ブロックフラグ、最終フラグ、参照フ
ラグは、データ記憶領域の状態を管理するための情報
(領域管理情報)であり、データから独立して書き換え
る必要が生じる場合があるので、上述した分散管理情報
用エラー訂正符号の対象から外し、それぞれの情報を示
す符号と同一符号の所定量の冗長データが付加されてな
るフラグ(領域管理フラグ)として管理情報記憶領域に
格納されることにより、エラー対策がなされている。
By the way, of the above-mentioned distributed management information,
The enable / disable flag, block flag, final flag, and reference flag are information for managing the state of the data storage area (area management information), and may need to be rewritten independently of the data. By being excluded from the target of the error correction code for distributed management information and stored in the management information storage area as a flag (area management flag) to which a predetermined amount of redundant data of the same code as the code indicating each information is added, Error countermeasures are taken.

【0068】具体的には、これらの領域管理情報は、変
換部25により、冗長データが付加された領域管理フラ
グに変換されて、例えば図5に示すように、1ビットの
情報については4ビットの情報として、2ビットの情報
については8ビットの情報として管理情報記憶領域のオ
バーライト領域に格納される。
Specifically, the area management information is converted by the conversion unit 25 into an area management flag to which redundant data has been added. For example, as shown in FIG. Is stored as 8-bit information in the overwrite area of the management information storage area.

【0069】すなわち、可/不可フラグは、ブロックが
使用可能な状態である場合は1ビットの情報「1」で示
され、ブロックが使用不可能な状態である場合は1ビッ
トの情報「0」で示される。そして、この可/不可フラ
グは、管理情報記憶領域に格納されるときは、冗長デー
タが付加されて、例えば1バイトの情報「111111
11」又は「0000 0000」に変換されて格納さ
れる。
That is, the enable / disable flag is indicated by 1-bit information "1" when the block is usable, and 1-bit information "0" when the block is unusable. Indicated by When the permission / inhibition flag is stored in the management information storage area, redundant data is added thereto.
11 "or" 0000 0000 ".

【0070】また、ブロックフラグは、ブロックが「未
使用」の場合には2ビットの情報「11」で示され、ブ
ロックが「先頭使用」の場合には2ビットの情報「1
0」で示され、ブロックが「使用」の場合には2ビット
の情報「01」で示され、ブロックが「未消去」の場合
には2ビットの情報「00」で示される。そして、この
ブロックフラグは、管理情報記憶領域に格納されるとき
は、冗長データが付加されて、例えば1バイトの情報
「1111 1111」又は「1111 0000」又
は「0000 1111」又は「0000 0000」
に変換されて格納される。
The block flag is indicated by 2-bit information "11" when the block is "unused" and 2-bit information "1" when the block is "started".
It is indicated by 2-bit information “01” when the block is “used”, and is indicated by 2-bit information “00” when the block is “unerased”. When the block flag is stored in the management information storage area, redundant data is added thereto, and for example, 1-byte information “1111 1111” or “1111 0000” or “0000 1111” or “0000 0000”
Is converted and stored.

【0071】また、最終フラグは、「ブロック連続」の
場合は1ビットの情報「1」で示され、「ブロック最
終」の場合には1ビットの情報「0」で示される。そし
て、この最終フラグは、管理情報記憶領域に格納される
ときは、冗長データが付加されて、例えば4ビットの情
報「1111」又は「0000」に変換されて格納され
る。
The last flag is indicated by 1-bit information "1" in the case of "block continuation", and is indicated by 1-bit information "0" in the case of "block end". When the final flag is stored in the management information storage area, redundant data is added to the final flag and converted to, for example, 4-bit information “1111” or “0000” and stored.

【0072】また、参照フラグは、「参照情報なし」の
場合は1ビットの情報「1」で示され、「参照情報あ
り」の場合は1ビットの情報「0」で示される。そし
て、この参照フラグは、管理情報記憶領域に格納される
ときは、例えば4ビットの情報「1111」又は「00
00」に変換されて格納される。
The reference flag is indicated by 1-bit information “1” when “no reference information” is set, and is indicated by 1-bit information “0” when “reference information is set”. When this reference flag is stored in the management information storage area, for example, 4-bit information “1111” or “00”
00 ”and stored.

【0073】これら領域管理情報は、以上のように冗長
データが付加された領域管理フラグとして管理情報記憶
領域に格納されることにより、例えば当該フラグが格納
されたセルが故障して1ビットのエラーが生じた場合で
あっても、例えば領域管理フラグの「1」と「0」の数
を比較することにより元の領域管理情報が認識される。
The area management information is stored in the management information storage area as an area management flag to which redundant data has been added as described above. For example, a cell in which the flag is stored fails and a one-bit error is stored. Occurs, the original area management information is recognized by comparing the number of area management flags "1" and "0", for example.

【0074】追加管理情報は、ブロックの最終ページの
16バイトの管理情報記憶領域に格納される情報であ
り、分散管理情報だけでは不足する情報を補う追加情報
を含んでいる。
The additional management information is information stored in the 16-byte management information storage area of the last page of the block, and includes additional information that supplements information that is insufficient with only distributed management information.

【0075】この追加管理情報は、具体的には、例えば
図6に示すように、1バイトの可/不可フラグと、1バ
イトのブロックフラグと、4ビットの最終フラグと、4
ビットの参照フラグと、1バイトの識別番号と、2バイ
トの有効データサイズと、2バイトの追加管理情報用エ
ラー訂正符号と、3バイトのデータ用エラー訂正符号と
からなる。
As shown in FIG. 6, for example, the additional management information includes a 1-byte enable / disable flag, a 1-byte block flag, a 4-bit final flag,
It consists of a bit reference flag, a 1-byte identification number, a 2-byte effective data size, a 2-byte error correction code for additional management information, and a 3-byte data error correction code.

【0076】ここで、領域管理フラグである可/不可フ
ラグ、ブロックフラグ、最終フラグ、参照フラグとデー
タ用エラー訂正符号については、分散管理情報の場合と
同様である。また、追加情報用エラー訂正符号は、分散
管理情報における分散管理情報用エラー訂正符号に相当
するものであり、追加管理情報のうち領域管理フラグを
除いた識別番号、有効データサイズ及びリザーブ領域に
書き込まれたデータを対象としたエラー訂正符号であ
る。
Here, the enable / disable flag, block flag, last flag, reference flag and data error correction code, which are the area management flags, are the same as in the case of the distribution management information. The error correction code for additional information is equivalent to the error correction code for distributed management information in the distributed management information, and is written in the identification number, effective data size, and reserved area of the additional management information excluding the area management flag. This is an error correction code for the corrected data.

【0077】そして、識別番号及び有効データサイズと
が、分散管理情報の不足分を補う追加情報として、追加
管理情報に含まれている。
The identification number and the effective data size are included in the additional management information as additional information to supplement the shortage of the distributed management information.

【0078】そして、追加管理情報も分散管理情報と同
様に、領域管理情報である可/不可フラグ、ブロックフ
ラグ、最終フラグ、参照フラグが、冗長データが付加さ
れた領域管理フラグとして、管理情報記憶領域の最初の
3バイトのオーバーライト領域に格納される。
Similarly to the decentralized management information, the additional / managed information includes the enable / disable flag, block flag, last flag, and reference flag, which are the area management information, as the area management flag to which the redundant data has been added. It is stored in the first 3-byte overwrite area of the area.

【0079】また、管理情報記憶領域の13バイトの通
常領域に、識別番号と有効データサイズと追加管理情報
用エラー訂正符号とデータ用エラー訂正符号とが格納さ
れる。そして、通常領域の残りの5バイトは、リザーブ
領域とされる。
An identification number, an effective data size, an error correction code for additional management information, and an error correction code for data are stored in a 13-byte normal area of the management information storage area. The remaining 5 bytes of the normal area are used as a reserved area.

【0080】識別番号は、エラー処理用の情報であり、
ブロックのデータを書き換えるたびに、識別番号の値が
インクリメントされる。この識別番号は、何らかのエラ
ーが発生して、同じ論理アドレスを持つブロックが複数
存在するようになってしまった場合に、それらのブロッ
クに書き込まれたデータの新旧を識別するために使用さ
れる。なお、識別番号には1バイトの領域が使用され、
その値の範囲は「0」から「255」まであり、その初
期値(すなわち、新しい論理アドレスを使用するときに
最初に設定される識別番号の値)は、「0」とされる。
なお、識別番号が「255」を越えたときには「0」に
戻るものとする。そして、同じ論理番号を持つブロック
が複数存在する場合には、この識別番号の値が小さい方
のブロックを有効とする。ただし、ブートブロックにつ
いては、バックアップと同じ識別番号の場合を正常と
し、異なる場合には大きい方を採用する。
The identification number is information for error processing.
Each time the data of the block is rewritten, the value of the identification number is incremented. This identification number is used to identify the old and new of the data written in those blocks when some error occurs and a plurality of blocks having the same logical address exist. A 1-byte area is used for the identification number.
The value ranges from "0" to "255", and its initial value (that is, the value of the identification number set first when a new logical address is used) is set to "0".
It should be noted that when the identification number exceeds “255”, it returns to “0”. When there are a plurality of blocks having the same logical number, the block having the smaller value of the identification number is valid. However, regarding the boot block, the case where the backup block has the same identification number as that of the backup is regarded as normal, and when the boot block differs, the larger one is adopted.

【0081】有効データサイズは、ブロック内の有効な
データのサイズを示す。すなわち、当該ブロックのデー
タ記憶領域に空きがある場合、有効データサイズは、当
該データ記憶領域に書き込まれたデータのサイズの値を
示す。このとき、参照フラグは「参照情報あり」に設定
される。なお、ブロックのデータ記憶領域に空きがない
場合、有効データサイズは当該ブロックのデータ領域に
空きがないことを示す情報として「0xffff」に設
定される。
The valid data size indicates the size of valid data in a block. That is, when there is free space in the data storage area of the block, the effective data size indicates the value of the size of the data written in the data storage area. At this time, the reference flag is set to “with reference information”. When there is no free space in the data storage area of the block, the effective data size is set to “0xffff” as information indicating that there is no free space in the data area of the block.

【0082】なお、以上説明した分散管理情報及び追加
管理情報は、ブロック内のデータが更新される毎に、常
に最新情報となるように更新される。
The above-described distributed management information and additional management information are updated so as to be always the latest information every time the data in the block is updated.

【0083】集合管理情報は、上述したように、各ブロ
ックの分散管理情報を集めて作成される情報であり、フ
ァイルとしてフラッシュメモリ21に格納される。すな
わち、図7に示すように、各ブロックの分散管理情報か
ら、全ブロックをまとめて管理するための情報である集
合管理情報のファイルが作成され、この集合管理情報が
所定のブロックのデータ記憶領域に格納される。なお、
集合管理情報は、1つのブロックに格納されるものであ
っても、複数のブロックにわたって格納されるものであ
ってもよい。そして、データ処理装置10は、通常は、
この集合管理情報によって、各ブロックにアクセスする
ために必要な情報を得るようにする。
The collective management information is information created by collecting distributed management information of each block as described above, and is stored in the flash memory 21 as a file. That is, as shown in FIG. 7, a file of set management information, which is information for managing all blocks collectively, is created from the distributed management information of each block, and the set management information is stored in a data storage area of a predetermined block. Is stored in In addition,
The collective management information may be stored in one block or may be stored over a plurality of blocks. Then, the data processing device 10 usually
Information necessary for accessing each block is obtained from the set management information.

【0084】すなわち、メモリカード20に有効な集合
管理情報がファイルとして格納されている場合、データ
処理装置10は、その集合管理情報のファイルを読み出
して、メモリカード20を管理するための管理テーブル
を作成する。なお、集合管理情報のファイルの先頭が格
納されているブロックの物理アドレスは、ブートデータ
に含まれており、データ処理装置10は、この物理アド
レスに基づいて集合管理情報のファイルにアクセスす
る。
That is, when valid collective management information is stored in the memory card 20 as a file, the data processor 10 reads out the collective control information file and stores a management table for managing the memory card 20. create. Note that the physical address of the block in which the head of the file of the collective management information is stored is included in the boot data, and the data processing device 10 accesses the collective management information file based on this physical address.

【0085】次に、以上のようなフラッシュメモリ21
を備えたメモリカード20について、フラッシュメモリ
21から読み出した管理情報をデータ処理装置10に伝
送する処理の一例について、図8を参照して説明する。
なお、この図8に示すデータ処理は、領域管理情報を4
ビット単位の領域管理フラグに変換してフラッシュメモ
リ21に記憶させた場合の例であり、本発明を適用した
メモリカードにおけるデータ処理はこの例に限定される
ものではない。また、この図8に示すデータ処理は、領
域管理情報に対してエラー訂正を行った場合に、この領
域管理情報にエラー訂正を行ったことを示すフラグを付
加して伝送する例であり、本発明を適用したメモリカー
ドにおけるデータ処理は、さらにデータ管理情報に対し
てエラー訂正を行った場合に、このデータ管理情報にエ
ラー訂正を行ったことを示すフラグを付加して伝送する
ようにしてもよい。
Next, the flash memory 21 as described above
An example of processing for transmitting the management information read from the flash memory 21 to the data processing device 10 for the memory card 20 provided with will be described with reference to FIG.
It should be noted that the data processing shown in FIG.
This is an example in which the data is converted into a bit-based area management flag and stored in the flash memory 21, and data processing in a memory card to which the present invention is applied is not limited to this example. The data processing shown in FIG. 8 is an example in which, when error correction is performed on the area management information, a flag indicating that error correction has been performed is added to the area management information and transmitted. In the data processing in the memory card to which the present invention is applied, when an error correction is further performed on the data management information, the data management information may be transmitted by adding a flag indicating that the error correction has been performed to the data management information. Good.

【0086】メモリカード20は、管理情報をフラッシ
ュメモリ21から読み出してデータ処理装置10に伝送
する場合は、まず、ステップS11において、制御部2
7により、フラッシュメモリ21から領域管理フラグが
読み出される。
When the management information is read from the flash memory 21 and transmitted to the data processing device 10, the memory card 20 first controls the control unit 2 in step S11.
7, the area management flag is read from the flash memory 21.

【0087】そして、ステップS12において、制御部
27により、すべての領域管理フラグが4ビット単位で
チェックされ、この領域管理フラグが1111又は00
00になっているかが判断される。
Then, in step S12, the control unit 27 checks all the area management flags in units of 4 bits.
00 is determined.

【0088】この領域管理フラグが1111又は000
0となっている場合は、ステップS13に進む。そし
て、ステップS13において、変換部25により、領域
管理フラグが領域管理情報に変換され、ステップS16
に進む。
When the area management flag is 1111 or 000
If it is 0, the process proceeds to step S13. Then, in step S13, the conversion unit 25 converts the area management flag into area management information.
Proceed to.

【0089】領域管理フラグが1111又は0000と
なっていない場合は、ステップS14に進む。そして、
ステップS14において、制御部27により、領域管理
フラグが1110、1101、1011、0111のい
ずれかとなっているか又は0001、0010、010
0、1000のいずれかとなっているかがチェックされ
る。
If the area management flag is not set to 1111 or 0000, the process proceeds to step S14. And
In step S14, the control unit 27 determines whether the area management flag is one of 1110, 1101, 1011, and 0111, or 0001, 0010, and 010.
It is checked whether it is 0 or 1000.

【0090】領域管理フラグが1110、1101、1
011、0111又は0001、0010、0100、
1000のいずれでもないと判断された場合は、エラー
処理がなされる。
If the area management flag is 1110, 1101, 1
011, 0111 or 0001, 0010, 0100,
If it is determined that the value is not one of 1000, error processing is performed.

【0091】領域管理フラグが1110、1101、1
011、0111のいずれか又は0001、0010、
0100、1000のいずれかとなっていると判断され
た場合は、ステップS15に進み、ステップS15にお
いて、変換部25により、領域管理フラグが領域管理情
報に変換され、制御部27により、この領域管理情報に
エラー訂正をしたことを示すフラグが付加され、ステッ
プS16に進む。
If the area management flag is 1110, 1101, 1
011, 0111 or 0001, 0010,
If it is determined that the value is 0100 or 1000, the process proceeds to step S15. In step S15, the conversion unit 25 converts the area management flag into the area management information. Is added with a flag indicating that the error has been corrected, and the process proceeds to step S16.

【0092】ステップS16においては、データ管理情
報がチェックされ、エラーがあるか否かが判断される。
In step S16, the data management information is checked to determine whether there is an error.

【0093】データ管理情報にエラーがないと判断され
た場合は、ステップS18に進む。
If it is determined that there is no error in the data management information, the process proceeds to step S18.

【0094】データ管理情報にエラーがあると判断され
た場合は、そのエラーが訂正可能なものかどうかが判断
され、訂正不可能なものであると判断された場合は、エ
ラー処理がなされる。また、データ管理情報のエラーが
訂正可能なものであると判断された場合は、ステップS
17に進み、ステップS17において、ECC回路24
により、エラー訂正処理がなされ、ステップS18に進
む。
When it is determined that there is an error in the data management information, it is determined whether or not the error can be corrected. When it is determined that the error cannot be corrected, error processing is performed. If it is determined that the error in the data management information is correctable, the process proceeds to step S
17 and in step S17, the ECC circuit 24
As a result, an error correction process is performed, and the process proceeds to step S18.

【0095】ステップS18においては、S/P・P/
Sインターフェース回路22により、領域管理情報及び
データ管理情報がステータス信号とともにデータ処理装
置10に伝送される。
In step S18, S / P · P /
The S interface circuit 22 transmits the area management information and the data management information to the data processing device 10 together with the status signal.

【0096】次に、データ処理装置10がメモリカード
20より伝送されたデータ及び管理情報を読み込んで、
これらに所定の処理を行う動作の一例について、図9を
参照して説明する。なお、この図9に示すデータ処理装
置によるデータ処理は、メモリカード10より伝送され
た領域管理情報にエラー訂正を行ったことを示すフラグ
が付加されていた場合に、このフラグに基づいて所定の
処理を行う例であり、本発明を適用したデータ処理装置
におけるデータ処理は、さらにデータ管理情報にエラー
訂正を行ったことを示すフラグが付加されていた場合
に、このフラグに基づいて所定のデータ処理を行うよう
にしてもよい。
Next, the data processing device 10 reads the data and management information transmitted from the memory card 20 and
An example of an operation of performing a predetermined process on these will be described with reference to FIG. The data processing by the data processing apparatus shown in FIG. 9 is performed based on this flag when a flag indicating that error correction has been performed is added to the area management information transmitted from the memory card 10. In the data processing in the data processing apparatus to which the present invention is applied, when a flag indicating that error correction has been performed is further added to the data management information, a predetermined data is determined based on the flag. Processing may be performed.

【0097】また、この図9に示すデータ処理装置によ
るデータ処理は、読み込んだブロックの領域管理情報に
エラー訂正を行ったことを示すフラグが付加されていた
場合に、このブロックを他のブロックに書き換える処理
を行うようにした例であり、本発明を適用したデータ処
理装置におけるデータ処理は、この例に限定されるもの
ではなく、領域管理情報にエラー訂正を行ったことを示
すフラグが付加されていた場合に、この情報に基づいて
所定の処理を行うようにすればよい。
In the data processing by the data processing apparatus shown in FIG. 9, when a flag indicating that error correction has been performed is added to the area management information of the read block, this block is transferred to another block. This is an example in which rewriting processing is performed. Data processing in the data processing apparatus to which the present invention is applied is not limited to this example, and a flag indicating that error correction has been performed is added to the area management information. In this case, a predetermined process may be performed based on this information.

【0098】データ処理装置10は、メモリカード20
から伝送されたデータ及び管理情報に対して所定のデー
タ処理を行う際は、まずステップS21において、シリ
アルインターフェース回路12により指定ブロックの読
み込み処理が行われる。そして、指定したブロックが正
しく読み込めるかどうかの判断がなされる。指定したブ
ロックが正しく読み込めないときは、ステップS22に
進み、ステップS22において、制御部14により、ブ
ロック読み込みエラー処理がなされる。
The data processing device 10 includes a memory card 20
When performing predetermined data processing on the data and management information transmitted from, first, in step S21, the serial interface circuit 12 performs reading processing of a designated block. Then, it is determined whether the specified block can be read correctly. If the specified block cannot be read correctly, the process proceeds to step S22, and in step S22, the control unit 14 performs a block reading error process.

【0099】指定したブロックが正しく読み込めたとき
は、更に読み込んだブロックの領域管理情報にエラー訂
正を行ったことを示すフラグが付加されているかどうか
の判断がなされる。そして、領域管理情報にエラー訂正
を行ったことを示すフラグが付加されていないと判断さ
れれば、ステップS28に進み、ブロック読み込み正常
処理がなされる。
If the designated block is correctly read, it is further determined whether or not a flag indicating that error correction has been added to the area management information of the read block. If it is determined that the flag indicating that the error correction has been performed is not added to the area management information, the process proceeds to step S28, and the block reading normal processing is performed.

【0100】領域管理情報にエラー訂正を行ったことを
示すフラグが付加されていると判断されれば、ステップ
S23に進み、ステップS23において、制御部14に
よりブロック書き換えの条件及びブロック書き換えの状
態のチェックが行われる。そして、ブロックの書き換え
を行わないと判断されれば、ステップS28に進み、ブ
ロック読み込み正常処理がなされ、ブロックの書き換え
を行うと判断されれば、ステップS24に進み、ステッ
プS24において、制御部14により、読み込んだブロ
ックを他のブロックに書き換える処理がなされ、ステッ
プS25に進む。
If it is determined that a flag indicating that error correction has been performed is added to the area management information, the process proceeds to step S23, and in step S23, the condition of block rewriting and the state of block rewriting are A check is made. If it is determined that the block is not to be rewritten, the process proceeds to step S28. If it is determined that the block is read normally, and if it is determined that the block is to be rewritten, the process proceeds to step S24. Then, a process of rewriting the read block to another block is performed, and the process proceeds to step S25.

【0101】次に、ステップS25において、制御部1
4により、元のブロックの再利用の可能性がチェックさ
れる。そして、元のブロックの再利用が不可能であると
判断されると、ステップS26に進み、ステップS26
において、制御部14により、元のブロックに対し使用
付加設定がなされ、ステップS27に進む。
Next, in step S25, the control unit 1
4 checks the possibility of re-use of the original block. When it is determined that the original block cannot be reused, the process proceeds to step S26, and the process proceeds to step S26.
In, the use addition setting is performed on the original block by the control unit, and the process proceeds to step S27.

【0102】元のブロックが再利用可能であると判断さ
れると、そのままステップS27に進み、ステップS2
7において、制御部14により、集合管理情報の更新が
行われる。
If it is determined that the original block is reusable, the process proceeds directly to step S27, and the process proceeds to step S2.
At 7, the control unit 14 updates the set management information.

【0103】集合管理情報の更新が行われると、ステッ
プS28に進み、ステップS28において、制御部14
により、ブロック読み込み正常処理がなされ、データ読
み込み処理が終了する。
When the set management information is updated, the process proceeds to step S28, where the control unit 14
As a result, the block reading normal processing is performed, and the data reading processing ends.

【0104】以上説明したように、本発明を適用したシ
ステム1は、メモリカード20が、記憶した領域管理情
報にエラー訂正を行った場合は、この領域管理情報にエ
ラー訂正を行ったことを示すフラグを付加してデータを
データ処理装置10に伝送し、データ処理装置10が、
メモリカード20から伝送された領域管理情報にエラー
訂正を行ったことを示すフラグが付加されているとき
は、このフラグに基づいて所定のデータ処理を行うよう
にしているので、例えば、エラー訂正を行った領域管理
情報を有するブロックを他のブロックに書き換える等の
処理を行い、データの信頼性を向上させることができ
る。
As described above, in the system 1 to which the present invention is applied, when the memory card 20 performs error correction on the stored area management information, it indicates that the error has been corrected on the area management information. The data is transmitted to the data processing device 10 with the flag added, and the data processing device 10
When a flag indicating that error correction has been performed is added to the area management information transmitted from the memory card 20, predetermined data processing is performed based on this flag. The reliability of data can be improved by performing processing such as rewriting a block having the area management information to another block.

【0105】[0105]

【発明の効果】本発明に係るデータ処理システムは、記
憶装置が、記憶された領域管理情報に訂正が可能なエラ
ーがある場合は、この領域管理情報にエラー訂正処理を
行い、エラー訂正処理を行った領域管理情報にエラー訂
正処理を行ったことを示すフラグを付加して出力し、デ
ータ処理装置が、入力した領域管理情報にエラー訂正処
理を行ったことを示すフラグが付加されている場合は、
このフラグから入力した領域管理情報がエラー訂正を行
った情報であることを認識し、所定のデータ処理を行う
ようにしているので、例えば、エラー訂正を行った領域
管理情報を有するブロックを他のブロックに書き換える
処理を行う等といったデータの記憶状態に応じた処理を
容易に行うことができ、データの信頼性を向上させるこ
とができる。
According to the data processing system of the present invention, when the storage device has a correctable error in the stored area management information, the storage apparatus performs an error correction process on the area management information, and executes the error correction process. When a flag indicating that error correction processing has been performed is added to the performed area management information and output, and a flag indicating that the data processing apparatus has performed error correction processing is added to the input area management information Is
Recognizing that the area management information input from this flag is error-corrected information and performing predetermined data processing, for example, a block having the error-corrected area management information is replaced with another block. Processing according to the data storage state, such as performing processing for rewriting to blocks, can be easily performed, and data reliability can be improved.

【0106】また、本発明に係るデータ処理方法は、記
憶手段から読み出された領域管理情報が訂正が可能なエ
ラーを有する場合は、エラー訂正処理を行い、この領域
管理情報にエラー訂正処理を行ったことを示すフラグを
付加して出力するようにしているので、このデータ処理
方法を適用することにより、出力された領域管理情報が
エラー訂正を行った情報であるかを容易に判断すること
ができる。
Further, in the data processing method according to the present invention, when the area management information read from the storage means has a correctable error, an error correction processing is performed, and the error correction processing is performed on the area management information. Since the output is performed by adding a flag indicating that the area management information has been corrected, it is easy to determine whether the output area management information is error-corrected information by applying this data processing method. Can be.

【0107】そして、本発明に係るデータ処理方法は、
記記憶装置が、記憶された領域管理情報が訂正が可能な
エラーを有する場合は、この領域管理情報にエラー訂正
処理を行い、エラー訂正処理を行った領域管理情報にエ
ラー訂正処理を行ったことを示すフラグを付加してデー
タ処理装置に供給し、データ処理装置が、記憶装置から
供給された領域管理情報にエラー訂正処理を行ったこと
を示すフラグが付加されている場合は、このフラグから
入力した領域管理情報がエラー訂正を行った情報である
ことを認識し、所定のデータ処理を行うようにしている
ので、このデータ処理方法を適用することにより、例え
ば、エラー訂正を行った領域管理情報を有するブロック
を他のブロックに書き換える処理を行う等といったデー
タの記憶状態に応じた処理を容易に行うことができ、デ
ータの信頼性を向上させることができる。
The data processing method according to the present invention
If the storage device has an error that can be corrected in the stored area management information, error correction processing is performed on the area management information, and error correction processing is performed on the area management information on which the error correction processing has been performed. Is added to the data processing device and supplied to the data processing device. If the data processing device has added a flag indicating that the area management information supplied from the storage device has been subjected to the error correction process, Recognizing that the input area management information is error-corrected information and performing predetermined data processing, by applying this data processing method, for example, the error-corrected area management Processing according to the data storage state, such as rewriting a block having information to another block, can be easily performed, thereby improving data reliability. It can be.

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

【図1】データ処理装置の構成を示すブロック図であ
る。
FIG. 1 is a block diagram illustrating a configuration of a data processing device.

【図2】メモリカードの構成を示すブロック図である。FIG. 2 is a block diagram illustrating a configuration of a memory card.

【図3】フラッシュメモリの記憶領域の構造を示す模式
図である。
FIG. 3 is a schematic diagram showing a structure of a storage area of the flash memory.

【図4】分散管理情報を説明する模式図である。FIG. 4 is a schematic diagram illustrating distribution management information.

【図5】領域管理フラグの一例を示す模式図である。FIG. 5 is a schematic diagram illustrating an example of an area management flag.

【図6】追加管理情報を説明する模式図である。FIG. 6 is a schematic diagram illustrating additional management information.

【図7】集合管理情報の構築を説明する模式図である。FIG. 7 is a schematic diagram illustrating the construction of collective management information.

【図8】メモリカードにおける領域管理情報の読み出し
処理の一例を説明するフローチャートである。
FIG. 8 is a flowchart illustrating an example of a process of reading area management information from a memory card.

【図9】データ処理装置におけるデータ処理の一例を説
明するフローチャートである。
FIG. 9 is a flowchart illustrating an example of data processing in the data processing device.

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

1 システム、 10 データ処理装置、 14 制御
部、 20 メモリカード、 21 フラッシュメモ
リ、 25 変換部、 26 エラー訂正処理部、 2
7 制御部
1 system, 10 data processing device, 14 control unit, 20 memory card, 21 flash memory, 25 conversion unit, 26 error correction processing unit, 2
7 control unit

───────────────────────────────────────────────────── フロントページの続き (56)参考文献 特開 平6−95979(JP,A) 特開 平7−320017(JP,A) 特開 平7−281960(JP,A) 特開 平6−274409(JP,A) (58)調査した分野(Int.Cl.7,DB名) G06F 12/16 G11C 16/02 G11C 29/00 G06F 12/00 542 ──────────────────────────────────────────────────続 き Continuation of the front page (56) References JP-A-6-95979 (JP, A) JP-A-7-320017 (JP, A) JP-A-7-281960 (JP, A) JP-A-6-95960 274409 (JP, A) (58) Fields investigated (Int. Cl. 7 , DB name) G06F 12/16 G11C 16/02 G11C 29/00 G06F 12/00 542

Claims (2)

(57)【特許請求の範囲】(57) [Claims] 【請求項1】 データの消去単位である複数のブロック
に分割される記憶手段を備え、上記記憶手段を構成する
上記ブロックは、データの書き換えの際に、ビット1か
らビット0への書き換えであるときには一括消去による
初期化を伴わずにオーバーライトによる書き込みを行う
ことが可能な第1の領域と、データの書き換えの際に一
括消去による初期化を伴う第2の領域とを有し、上記第
1の領域には、上記第2の領域のデータが記録される領
域の状態を管理するための領域管理情報が記録され、上
記第2の領域には上記データと上記データを管理するた
めのデータ管理情報とが記録される記憶装置と、 上記記憶装置に上記データ及び領域管理情報を供給し、
又は上記記憶装置から出力された上記データ及び領域管
理情報を入力し、入力した領域管理情報にエラー訂正処
理を行ったことを示すフラグが付加されている場合は、
このフラグから入力した領域管理情報がエラー訂正を行
った情報であることを認識し、所定のデータ処理を行う
データ処理装置とを備えることを特徴とするデータ処理
システム。
1. A storage unit which is divided into a plurality of blocks, which are units of data erasure, wherein the block constituting the storage unit is a rewrite from bit 1 to bit 0 when rewriting data. Sometimes, there is a first area in which writing by overwriting can be performed without initialization by batch erasing, and a second area with initialization by batch erasing when rewriting data. In the first area, area management information for managing the state of the area where the data of the second area is recorded is recorded, and in the second area, the data and data for managing the data are recorded. A storage device in which management information is recorded; and supplying the data and area management information to the storage device;
Or, when the data and area management information output from the storage device are input, and a flag indicating that error correction processing has been performed is added to the input area management information,
A data processing system comprising: a data processing device that recognizes that the area management information input from the flag is error-corrected information and performs predetermined data processing.
【請求項2】 データの消去単位である複数のブロック
に分割される記憶手段を備え、上記記憶手段を構成する
上記ブロックは、データの書き換えの際に、ビット1か
らビット0への書き換えであるときには一括消去による
初期化を伴わずにオーバーライトによる書き込みを行う
ことが可能な第1の領域と、データの書き換えの際に一
括消去による初期化を伴う第2の領域とを有し、上記第
1の領域には、上記第2の領域のデータが記録される領
域の状態を管理するための領域管理情報が記録され、上
記第2の領域には上記データと上記データを管理するた
めのデータ管理情報とが記録される記憶装置の上記第2
の領域に記録されたデータとこのデータが記録された領
域の状態を管理するための領域管理情報とを上記記憶装
置から読み出し、データ処理装置にて処理するデータ処
理方法において、 上記記憶装置は、記憶された領域管理情報が訂正が可能
なエラーを有する場合は、この領域管理情報にエラー訂
正処理を行い、エラー訂正処理を行った領域管理情報に
エラー訂正処理を行ったことを示すフラグを付加して上
記データ処理装置に供給し、 上記データ処理装置は、上記記憶装置から供給された領
域管理情報にエラー訂正処理を行ったことを示すフラグ
が付加されている場合は、このフラグから入力した領域
管理情報がエラー訂正を行った情報であることを認識
し、所定のデータ処理を行うことを特徴とするデータ処
理方法。
2. A storage unit which is divided into a plurality of blocks which are data erasure units, wherein the block constituting the storage unit is a rewrite from bit 1 to bit 0 when rewriting data. Sometimes, there is a first area in which writing by overwriting can be performed without initialization by batch erasing, and a second area with initialization by batch erasing when rewriting data. In the first area, area management information for managing the state of the area where the data of the second area is recorded is recorded, and in the second area, the data and data for managing the data are recorded. The second information of the storage device in which the management information is recorded.
In the data processing method of reading data recorded in the area and area management information for managing the state of the area where the data is recorded from the storage device and processing the data in the data processing device, the storage device includes: If the stored area management information has an error that can be corrected, an error correction process is performed on the area management information, and a flag indicating that the error correction processing has been performed is added to the area management information on which the error correction processing has been performed. The data processing device supplies the data from the region management information supplied from the storage device, if a flag indicating that an error correction process has been performed is added to the region management information. A data processing method comprising recognizing that the area management information is error-corrected information and performing predetermined data processing.
JP26717297A 1997-09-30 1997-09-30 Data processing system and data processing method Expired - Lifetime JP3233079B2 (en)

Priority Applications (10)

Application Number Priority Date Filing Date Title
JP26717297A JP3233079B2 (en) 1997-09-30 1997-09-30 Data processing system and data processing method
TW087116017A TW389890B (en) 1997-09-30 1998-09-25 Storage device, data processing system and data writing and readout method
IDP981297A ID20972A (en) 1997-09-30 1998-09-28 STORAGE TOOL, DATA PROCESSING SYSTEM AND DATA WRITING AND READING METHOD
SG9803906A SG88742A1 (en) 1997-09-30 1998-09-28 Storage device, data processing system and data writing and readout method
US09/162,327 US6460145B1 (en) 1997-09-30 1998-09-28 Storage device data processing system and data writing and readout method
EP98307893A EP0907128B1 (en) 1997-09-30 1998-09-29 Storage devices, and data processing systems and methods
DE69821426T DE69821426T2 (en) 1997-09-30 1998-09-29 Storage arrangement, and data processing system and method
KR1019980040764A KR100527609B1 (en) 1997-09-30 1998-09-30 Storage, data processing systems and data recording and reading methods
US10/215,901 US6810490B2 (en) 1997-09-30 2002-08-09 Storage device, data processing system and data writing and readout method
US10/955,167 US7353424B2 (en) 1997-09-30 2004-09-29 Storage device, data processing system and data writing and readout method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP26717297A JP3233079B2 (en) 1997-09-30 1997-09-30 Data processing system and data processing method

Related Child Applications (1)

Application Number Title Priority Date Filing Date
JP2001230426A Division JP3620478B2 (en) 2001-07-30 2001-07-30 Storage device, data processing system using the storage device, and data read method

Publications (2)

Publication Number Publication Date
JPH11110306A JPH11110306A (en) 1999-04-23
JP3233079B2 true JP3233079B2 (en) 2001-11-26

Family

ID=17441111

Family Applications (1)

Application Number Title Priority Date Filing Date
JP26717297A Expired - Lifetime JP3233079B2 (en) 1997-09-30 1997-09-30 Data processing system and data processing method

Country Status (8)

Country Link
US (3) US6460145B1 (en)
EP (1) EP0907128B1 (en)
JP (1) JP3233079B2 (en)
KR (1) KR100527609B1 (en)
DE (1) DE69821426T2 (en)
ID (1) ID20972A (en)
SG (1) SG88742A1 (en)
TW (1) TW389890B (en)

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4505870B2 (en) 1999-03-31 2010-07-21 ソニー株式会社 Recording / playback device
JP2001025053A (en) 1999-07-09 2001-01-26 Mitsubishi Electric Corp Memory system for portable telephone
US6701451B1 (en) * 2000-08-11 2004-03-02 Emc Corporation Selective correction of data errors
JP4323707B2 (en) * 2000-10-25 2009-09-02 富士通マイクロエレクトロニクス株式会社 Flash memory defect management method
JP4059472B2 (en) * 2001-08-09 2008-03-12 株式会社ルネサステクノロジ Memory card and memory controller
US20030056141A1 (en) * 2001-09-18 2003-03-20 Lai Chen Nan Control method used in and-gate type system to increase efficiency and lengthen lifetime of use
JP3802411B2 (en) * 2001-12-20 2006-07-26 株式会社東芝 Data copy method for nonvolatile semiconductor memory device
JP2003196142A (en) * 2001-12-25 2003-07-11 Sony Corp Write-once type memory device and file management method
US7600165B2 (en) * 2002-02-13 2009-10-06 Taiwan Semiconductor Manufacturing Co., Ltd. Error control coding method and system for non-volatile memory
JP3935139B2 (en) 2002-11-29 2007-06-20 株式会社東芝 Semiconductor memory device
JP2004227685A (en) * 2003-01-23 2004-08-12 Matsushita Electric Ind Co Ltd Control information correcting device for recording medium
US7234097B1 (en) 2003-01-27 2007-06-19 Marvell International Ltd. Methods of supporting host CRC in data storage systems without RLL coding
JP2005190288A (en) * 2003-12-26 2005-07-14 Tdk Corp Memory controller, flash memory system therewith, and method for controlling flash memory
US7337371B2 (en) * 2003-12-30 2008-02-26 Intel Corporation Method and apparatus to handle parity errors in flow control channels
US7427027B2 (en) * 2004-07-28 2008-09-23 Sandisk Corporation Optimized non-volatile storage systems
JP4794269B2 (en) * 2004-11-08 2011-10-19 パナソニック株式会社 Secure device and relay terminal
FR2880444B1 (en) * 2005-01-06 2007-03-09 Gemplus Sa DATA STORAGE DEVICE
JP4734033B2 (en) * 2005-05-30 2011-07-27 株式会社東芝 Storage device
JP4984438B2 (en) * 2005-06-02 2012-07-25 富士通株式会社 Memory test apparatus and memory test method
JP4688584B2 (en) * 2005-06-21 2011-05-25 株式会社日立製作所 Storage device
US7861139B2 (en) 2007-01-26 2010-12-28 Micron Technology, Inc. Programming management data for NAND memories
KR100982580B1 (en) * 2008-01-30 2010-09-15 (주) 라모스테크놀러지 Data error correction device and method for flash memory
US20130151755A1 (en) 2011-12-12 2013-06-13 Reuven Elhamias Non-Volatile Storage Systems with Go To Sleep Adaption
US9037931B2 (en) * 2011-12-21 2015-05-19 Advanced Micro Devices, Inc. Methods and systems for logic device defect tolerant redundancy
JP2012094246A (en) * 2012-02-15 2012-05-17 Fujitsu Ltd Memory test device and memory test method
US9411721B2 (en) 2013-11-15 2016-08-09 Sandisk Technologies Llc Detecting access sequences for data compression on non-volatile memory devices
JP6901831B2 (en) 2015-05-26 2021-07-14 株式会社半導体エネルギー研究所 Memory system and information processing system
JP6164712B1 (en) * 2016-08-18 2017-07-19 ウィンボンド エレクトロニクス コーポレーション Flash memory
KR20180073119A (en) * 2016-12-22 2018-07-02 삼성전자주식회사 Electronic device and method for detecting error thereof

Family Cites Families (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3541115A1 (en) 1985-11-21 1987-05-27 Deutsche Fernsprecher Gmbh Arrangement for reducing memory errors of a byte-organised solid-state memory
DE69034191T2 (en) * 1989-04-13 2005-11-24 Sandisk Corp., Sunnyvale EEPROM system with multi-chip block erasure
JPH05233426A (en) 1992-02-20 1993-09-10 Fujitsu Ltd Flash memory using method
US5448577A (en) 1992-10-30 1995-09-05 Intel Corporation Method for reliably storing non-data fields in a flash EEPROM memory array
US5359570A (en) 1992-11-13 1994-10-25 Silicon Storage Technology, Inc. Solid state peripheral storage device
US5485595A (en) * 1993-03-26 1996-01-16 Cirrus Logic, Inc. Flash memory mass storage architecture incorporating wear leveling technique without using cam cells
US5439595A (en) 1993-08-25 1995-08-08 Downey, Jr.; Wayne F. Water decontamination method using peroxide photolysis ionizer
JP3215237B2 (en) * 1993-10-01 2001-10-02 富士通株式会社 Storage device and method for writing / erasing storage device
DE69526749D1 (en) 1994-02-23 2002-06-27 Canon Kk Data processing device with a recording medium, in which data must be erased before data is recorded
FR2730833B1 (en) 1995-02-16 1997-03-28 Gemplus Card Int SECURE UPDATE OF EEPROM MEMORY
US5838614A (en) * 1995-07-31 1998-11-17 Lexar Microsystems, Inc. Identification and verification of a sector within a block of mass storage flash memory
US5857069A (en) * 1996-12-30 1999-01-05 Lucent Technologies Inc. Technique for recovering defective memory
JP3565687B2 (en) * 1997-08-06 2004-09-15 沖電気工業株式会社 Semiconductor memory device and control method thereof
JPH1153235A (en) * 1997-08-08 1999-02-26 Toshiba Corp Data updating method of disk storage device and disk storage control system
JP3119214B2 (en) * 1997-09-30 2000-12-18 ソニー株式会社 Storage device, data processing system, and data writing and reading methods
US6530036B1 (en) * 1999-08-17 2003-03-04 Tricord Systems, Inc. Self-healing computer system storage
JP4034947B2 (en) * 2001-05-31 2008-01-16 株式会社ルネサステクノロジ Nonvolatile storage system

Also Published As

Publication number Publication date
US7353424B2 (en) 2008-04-01
TW389890B (en) 2000-05-11
US6460145B1 (en) 2002-10-01
EP0907128B1 (en) 2004-02-04
ID20972A (en) 1999-04-01
US20020194552A1 (en) 2002-12-19
EP0907128A1 (en) 1999-04-07
US20050055610A1 (en) 2005-03-10
JPH11110306A (en) 1999-04-23
US6810490B2 (en) 2004-10-26
SG88742A1 (en) 2002-05-21
DE69821426T2 (en) 2004-12-16
KR19990030281A (en) 1999-04-26
KR100527609B1 (en) 2006-06-21
DE69821426D1 (en) 2004-03-11

Similar Documents

Publication Publication Date Title
JP3233079B2 (en) Data processing system and data processing method
JP2914360B2 (en) External storage device and data processing method
CN102163133B (en) Method and apparatus for using a one-time or few-time programmable memory with a host device designed for erasable/rewriteable memory
US6058047A (en) Semiconductor memory device having error detection and correction
JP4079506B2 (en) Method for controlling nonvolatile semiconductor memory system
US7849382B2 (en) Memory control circuit, nonvolatile storage apparatus, and memory control method
JP3119214B2 (en) Storage device, data processing system, and data writing and reading methods
US7290097B2 (en) Nonvolatile memory
KR100742849B1 (en) Data storage, data processing system, data processing method and data processing apparatus
JP3472008B2 (en) Flash memory management method
US7886211B2 (en) Memory controller
JP3620478B2 (en) Storage device, data processing system using the storage device, and data read method
JP2007293917A (en) Method for controlling memory system
US7257030B2 (en) Operating a storage component
JP3788205B2 (en) Storage device, data processing system, data writing and reading method, and data processing device
JP2910745B2 (en) Storage device and data processing method
JP4127307B2 (en) Data storage device, data processing system, data processing method, and data processing device

Legal Events

Date Code Title Description
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20010821

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

Free format text: PAYMENT UNTIL: 20080921

Year of fee payment: 7

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

Free format text: PAYMENT UNTIL: 20090921

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20090921

Year of fee payment: 8

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

Free format text: PAYMENT UNTIL: 20100921

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20100921

Year of fee payment: 9

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

Free format text: PAYMENT UNTIL: 20110921

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20110921

Year of fee payment: 10

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

Free format text: PAYMENT UNTIL: 20120921

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20120921

Year of fee payment: 11

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

Free format text: PAYMENT UNTIL: 20130921

Year of fee payment: 12

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

R250 Receipt of annual fees

Free format text: JAPANESE INTERMEDIATE CODE: R250

EXPY Cancellation because of completion of term