JP2010140268A - Memory device - Google Patents

Memory device Download PDF

Info

Publication number
JP2010140268A
JP2010140268A JP2008316066A JP2008316066A JP2010140268A JP 2010140268 A JP2010140268 A JP 2010140268A JP 2008316066 A JP2008316066 A JP 2008316066A JP 2008316066 A JP2008316066 A JP 2008316066A JP 2010140268 A JP2010140268 A JP 2010140268A
Authority
JP
Japan
Prior art keywords
data
write
work
memory card
storage area
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
JP2008316066A
Other languages
Japanese (ja)
Other versions
JP5175703B2 (en
Inventor
Teruhisa Fujimoto
曜久 藤本
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Toshiba Corp
Original Assignee
Toshiba Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Priority to JP2008316066A priority Critical patent/JP5175703B2/en
Application filed by Toshiba Corp filed Critical Toshiba Corp
Priority to TW098142639A priority patent/TWI430089B/en
Priority to CN200980149510.2A priority patent/CN102246151B/en
Priority to PCT/JP2009/071069 priority patent/WO2010067899A1/en
Priority to KR1020117013369A priority patent/KR101409095B1/en
Priority to EP09831999.9A priority patent/EP2356571B1/en
Priority to TW102148823A priority patent/TWI534616B/en
Publication of JP2010140268A publication Critical patent/JP2010140268A/en
Priority to US13/158,126 priority patent/US9110781B2/en
Application granted granted Critical
Publication of JP5175703B2 publication Critical patent/JP5175703B2/en
Priority to US15/464,095 priority patent/USRE48983E1/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/0223User address space allocation, e.g. contiguous or non contiguous base addressing
    • G06F12/023Free address space management
    • G06F12/0238Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory
    • G06F12/0246Memory management in non-volatile memory, e.g. resistive RAM or ferroelectric memory in block erasable memory, e.g. flash memory
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/72Details relating to flash memory management
    • G06F2212/7202Allocation control and policies

Abstract

<P>PROBLEM TO BE SOLVED: To provide a memory device for facilitating calculation of a writing time. <P>SOLUTION: A memory device has a memory 21 having a plurality of storage areas. A controller 22 has: a first mode, in which, when receiving writing data, the controller 22 can write the writing data in the storage areas while managing the correspondence among logical addresses of the writing data and the storage areas storing the writing data and can write the writing data having unspecified size in the storage areas without limiting an order of logical addresses, and stores the data which has not been an object to be written in a management unit storage area AU composed of a plurality of continuous storage areas; and a second mode in which the controller 22 writes a plurality of items of writing data having specified size in the storage areas in an order to increase each logical address and treats the data which has not been written in the management unit storage area as invalid data. <P>COPYRIGHT: (C)2010,JPO&INPIT

Description

本発明は、メモリデバイス、特に不揮発性半導体メモリを用いたメモリデバイスに関する。   The present invention relates to a memory device, and more particularly to a memory device using a nonvolatile semiconductor memory.

現在、音楽データや映像データの記録メディアとして、フラッシュメモリ等の不揮発性半導体メモリを用いた、メモリカードに代表されるメモリデバイスが使われている。メモリデバイスは、多くの場合、メモリを制御するためのコントローラを内蔵している。コントローラは、このようなメモリデバイスを挿入されるホストのファイルシステムから依頼された、論理アドレスを割り当てられた書き込みデータを、フラッシュメモリの未書き込みの記憶領域に書き込む指示を出す。また、コントローラは、ファイルシステムによってデータに割り当てられた論理アドレスと、このデータを保存している、フラッシュメモリの記憶領域の位置との関係を管理しておく。   Currently, a memory device represented by a memory card using a nonvolatile semiconductor memory such as a flash memory is used as a recording medium for music data and video data. Memory devices often incorporate a controller for controlling the memory. The controller issues an instruction to write the write data assigned with the logical address requested from the file system of the host into which such a memory device is inserted into an unwritten storage area of the flash memory. The controller also manages the relationship between the logical address assigned to the data by the file system and the location of the storage area of the flash memory that stores this data.

メモリデバイスに使用されるフラッシュメモリの代表例としては、NAND型フラッシュメモリが挙げられる。NAND型フラッシュメモリでは、複数のビットからなるページと呼ばれる単位で書き込みが行われる。そして、複数のページからなるブロックと呼ばれる単位でしか消去を行えない。   A typical example of a flash memory used for a memory device is a NAND flash memory. In the NAND flash memory, writing is performed in units called pages composed of a plurality of bits. Erasing can be performed only in units called blocks each composed of a plurality of pages.

ユーザがホスト装置を通じてメモリデバイスの性能を知ることが求められることがある。そのような性能には、メモリデバイスの記録速度、記録に要する時間、記録可能時間などが含まれる。これらの性能を予測するための技術が、特開2006−178923(特許文献1)に記載されている。この技術は、以下の手法を用いている。   The user may be required to know the performance of the memory device through the host device. Such performance includes the recording speed of the memory device, the time required for recording, the recordable time, and the like. A technique for predicting these performances is described in JP-A-2006-178923 (Patent Document 1). This technique uses the following method.

上記のように、複数のページからなるブロックと呼ばれる単位でしか消去を行えない。つまり、NAND型フラッシュメモリは、データを上書きすることができない。メモリ内のあるデータを更新するには、新たなブロックを用意し、その中に更新されないデータをコピーすると共に、更新されるデータを書き込む必要がある。このため、フラッシュメモリでは、何も書き込まれていない連続するページへの書き込みは速いが、書き込み済みのページと未書き込みのページが混在して連なっているブロックへの書き込みは遅い。つまり、ブロック内の書き込みページの分布(フラグメンテーション)に応じて、データの書き込み速度が異なる。これを利用して、各ブロックの書き込み速度を求めたり、ホスト装置に搭載されていてメモリデバイスにデータを記憶しようとしているアプリケーションが要求する書き込み速度を満たすブロックの数からメモリデバイスの記録可能時間を求めたりしている。しかしながら、フラグメンテーションを用いたこのような手法は、性能の算出が複雑であり、実行するのに長時間を要する。このため、より簡便に性能予測を行なうことを可能にするメモリデバイスが求められている。   As described above, erasing can be performed only in a unit called a block composed of a plurality of pages. That is, the NAND flash memory cannot overwrite data. In order to update certain data in the memory, it is necessary to prepare a new block, copy data that is not updated therein, and write updated data. For this reason, in the flash memory, writing to consecutive pages where nothing has been written is fast, but writing to a block in which written pages and unwritten pages are mixed is slow. That is, the data writing speed varies depending on the distribution (fragmentation) of the write pages in the block. Using this, the recordable time of the memory device can be calculated from the number of blocks satisfying the write speed required by the application installed in the host device and storing the data in the memory device. I'm asking. However, in such a method using fragmentation, calculation of performance is complicated, and it takes a long time to execute. Therefore, there is a demand for a memory device that makes it possible to perform performance prediction more easily.

また、メモリの容量増大や、メモリデバイスの性能向上や、ユーザが記録することを望むコンテンツの多様化によって、ユーザのメモリデバイスの使用形態が多様化している。例えば、2つのテレビ番組のような2つの動画を平行して録画することや、動画を撮影している最中に静止画を撮影することといった要望が出現している。ところが、現在のフラッシュメモリではデータの上書きができないため、上記のデータのコピーが必要になる場合がある。データのコピーは長時間を要するので、データのコピーを伴う書き込みは速度が遅い。このため、上記の要望に答えて複数のファイルデータ、特に複数のファイルデータを平行してリアルタイムでメモリデバイスに書き込むことができない。
特開2006−178923号公報
In addition, usage patterns of memory devices by users are diversified due to increase in memory capacity, performance improvement of memory devices, and diversification of contents that users want to record. For example, there has been a demand for recording two moving images such as two television programs in parallel, or shooting a still image while shooting a moving image. However, since data cannot be overwritten in the current flash memory, the above-mentioned data copy may be necessary. Since data copying takes a long time, writing with data copying is slow. For this reason, it is impossible to write a plurality of file data, particularly a plurality of file data in parallel to the memory device in real time in response to the above request.
JP 2006-178923 A

本発明は、ある一定の書き込み性能を持つメモリデバイスを提供することにより複数ストリームのリアルタイム記録を可能にし、書き込み時間の算出を容易にするメモリデバイスを提供しようとするものである。   The present invention is intended to provide a memory device that enables real-time recording of a plurality of streams by providing a memory device having a certain writing performance and facilitates calculation of writing time.

本発明の一態様によるメモリデバイスは、複数の記憶領域を有するメモリと、書き込みデータを受け取ると、前記書き込みデータの論理アドレスと前記書き込みデータを記憶する前記記憶領域との対応を管理しながら前記書き込みデータを前記記憶領域に書き込み、不特定の大きさの書き込みデータを論理アドレス順番の制限なしに前記記憶領域に書き込むことが可能で且つ複数の連続する前記記憶領域からなる管理単位記憶領域の中の書き込み対象でなかったデータを保持する第1モードを有し、特定の大きさの複数の書き込みデータを各々の論理アドレスの大きくなる順に前記記憶領域に書き込み且つ前記管理単位記憶領域の中の書き込まれなかったデータを無効なデータとして取り扱う第2モードを有するコントローラと、を具備することを特徴とする。   A memory device according to an aspect of the present invention, when receiving a write data, a memory having a plurality of storage areas, and managing the correspondence between a logical address of the write data and the storage area for storing the write data It is possible to write data to the storage area and write write data of an unspecified size to the storage area without restriction of the logical address order, and within a management unit storage area composed of a plurality of continuous storage areas. It has a first mode for holding data that was not a write target, and a plurality of write data of a specific size are written to the storage area in the order of increasing logical addresses and written to the management unit storage area. And a controller having a second mode for handling missing data as invalid data. And wherein the door.

本発明の一態様によるメモリデバイスは、複数の記憶領域を有するメモリと、書き込みデータを受け取ると、前記書き込みデータの論理アドレスと前記書き込みデータを記憶する前記記憶領域との対応を管理しながら前記書き込みデータを前記記憶領域に書き込み、複数の連続する前記論理アドレスから構成される論理アドレス領域を認識し、第1コマンドを受け取るとリアルタイム書き込み可能状態に移行するコントローラと、を具備し、前記リアルタイム書き込み可能状態の前記コントローラは、書き込み要求を受けると、前記書き込みデータの前記論理アドレスが属する管理単位記憶領域に対応して一時的に用意された作業領域に、複数の書き込みデータを各々の論理アドレスの大きくなる順に前記作業領域中の前記記憶領域に書き込み、前記作業領域中の最後の前記記憶領域への書き込みが完了するか、第2コマンドを受け取ると前記作業領域に論理アドレスに割り当てる、ことを特徴とする。   A memory device according to an aspect of the present invention, when receiving a write data, a memory having a plurality of storage areas, and managing the correspondence between a logical address of the write data and the storage area for storing the write data A controller that writes data to the storage area, recognizes a logical address area composed of a plurality of consecutive logical addresses, and shifts to a real-time writable state upon receipt of a first command, the real-time writable When receiving the write request, the controller in the state transfers a plurality of write data to the work area temporarily prepared corresponding to the management unit storage area to which the logical address of the write data belongs. Write to the storage area in the work area in the order , Or write to the last of the storage area in the work area is completed, allocated to the logical address to the working area upon receipt of a second command, it is characterized.

本発明によれば、書き込み時間の算出を容易にするメモリデバイスを提供できる。   According to the present invention, it is possible to provide a memory device that facilitates the calculation of the write time.

以下に本発明の実施形態について図面を参照して説明する。なお、以下の説明において、略同一の機能及び構成を有する構成要素については、同一符号を付し、重複説明は必要な場合にのみ行う。ただし、図面は模式的なものであることに留意されたい。   Embodiments of the present invention will be described below with reference to the drawings. In the following description, components having substantially the same function and configuration are denoted by the same reference numerals, and redundant description will be given only when necessary. However, it should be noted that the drawings are schematic.

なお、以下、本発明の実施形態に係るメモリデバイスの一例としてメモリカード、特にSDカードを用いて説明を行う。しかしながら、以下に説明するようなメモリと、このメモリを制御するコントローラを有するあらゆるメモリデバイスが本発明の範疇に含まれる。   Hereinafter, a memory card, particularly an SD card will be described as an example of the memory device according to the embodiment of the present invention. However, any memory device having a memory as described below and a controller for controlling the memory is included in the scope of the present invention.

(第1実施形態)
[1]構成
図1乃至図4を参照して、本発明の第1実施形態に係るメモリカードの構成について説明する。図1は、本発明の第1実施形態に係るメモリカードの主要な機能ブロックを示している。図1には、このメモリカードと接続されるホスト装置の機能ブロックも示されている。各機能ブロックは、ハードウェア、コンピュータソフトウェアのいずれかまたは両者を組み合わせたものとして実現することができる。このため、各ブロックがこれらのいずれでもあることが明確となるように、概してそれらの機能の観点から以下に説明する。このような機能が、ハードウェアとして実行されるか、またはソフトウェアとして実行されるかは、具体的な実施態様またはシステム全体に課される設計制約に依存する。当業者は、具体的な実施態様ごとに、種々の方法でこれらの機能を実現し得るが、いずれの実現の手法も本発明の範疇に含まれる。
(First embodiment)
[1] Configuration The configuration of the memory card according to the first embodiment of the present invention will be described with reference to FIGS. FIG. 1 shows main functional blocks of a memory card according to the first embodiment of the present invention. FIG. 1 also shows functional blocks of the host device connected to the memory card. Each functional block can be realized as hardware, computer software, or a combination of both. For this reason, in order to make it clear that each block is any of these, the following description will generally be made in terms of their functions. Whether such functionality is implemented as hardware or software depends upon the specific implementation or design constraints imposed on the overall system. Those skilled in the art can implement these functions in various ways for each specific embodiment, and any implementation technique is included in the scope of the present invention.

ホスト装置(以下、ホストと称する)1は、アプリケーション、オペレーティング・システム等のソフトウェア11を備えている。ソフトウェア11は、ユーザから、メモリカード2へのデータの書き込み、メモリカード2からのデータの読み出しを指示される。ソフトウェア11は、データの書き込みおよび読み出しをファイルシステム12に指示する。ファイルシステム12は、管理対象の記憶媒体に記録されているファイルデータを管理するための仕組みであり、記憶媒体の記憶領域内に管理情報を記録し、この管理情報を用いてファイルデータを管理する。   A host device (hereinafter referred to as a host) 1 includes software 11 such as an application and an operating system. The software 11 is instructed by the user to write data to the memory card 2 and read data from the memory card 2. The software 11 instructs the file system 12 to write and read data. The file system 12 is a mechanism for managing file data recorded on a storage medium to be managed, records management information in a storage area of the storage medium, and manages file data using this management information. .

ホスト1は、SDインターフェース13を有する。SDインターフェース13は、ホスト1とメモリカード2との間のインターフェース処理を行うのに必要なハードウェア、ソフトウェアからなる。ホスト1は、SDインターフェース13を介してメモリカード2と通信を行う。SDインターフェース13は、ホスト1とメモリカード2とが通信するのに必要な様々な取り決めを規定し、後述のメモリカード2のSDインターフェース31と相互に認識可能な各種のコマンドの組を備えている。また、SDインターフェース13は、メモリカード2のSDインターフェース31と接続可能なハードウェア上の構成(ピンの配置、数等)も含む。   The host 1 has an SD interface 13. The SD interface 13 includes hardware and software necessary for performing interface processing between the host 1 and the memory card 2. The host 1 communicates with the memory card 2 via the SD interface 13. The SD interface 13 defines various agreements necessary for communication between the host 1 and the memory card 2, and includes various command sets that can be mutually recognized with the SD interface 31 of the memory card 2 described later. . The SD interface 13 also includes a hardware configuration (pin arrangement, number, etc.) that can be connected to the SD interface 31 of the memory card 2.

メモリカード2は、NAND型フラッシュメモリ21、メモリ21を制御するためのコントローラ22を有する。メモリカード2は、ホスト1に接続されたとき、およびオフ状態のホスト1に挿入された状態でホスト1がオンされたときに電源供給を受けて初期化動作を行った後、ホスト1からのアクセスに応じた処理を行う。   The memory card 2 includes a NAND flash memory 21 and a controller 22 for controlling the memory 21. When the memory card 2 is connected to the host 1 or inserted into the off-state host 1 and the host 1 is turned on, the memory card 2 receives the power supply and performs an initialization operation. Process according to access.

メモリ21は、データを不揮発に記憶し、複数のメモリセルからなるページと呼ばれる単位でデータの書き込みおよび読み出しを行う。ページには、各ページに固有の物理アドレスが割り当てられている。また、メモリ21は、複数のページからなる物理ブロック(消去ブロック)と呼ばれる単位でデータの消去を行う。なお、物理ブロック単位で物理アドレスが割り当てられていることもある。   The memory 21 stores data in a nonvolatile manner, and writes and reads data in units called pages composed of a plurality of memory cells. Each page is assigned a unique physical address. The memory 21 erases data in units called physical blocks (erase blocks) composed of a plurality of pages. A physical address may be assigned in units of physical blocks.

コントローラ22は、メモリ21によるデータの記憶状態を管理する。記憶状態の管理とは、どの物理アドレスのページ(または物理ブロック)が、どの論理アドレスのデータを保持しているかの関係、およびどの物理アドレスのページ(または物理ブロック)が消去状態(何も書き込まれていない、または無効なデータを保持している状態)であるかを管理することを含んでいる。   The controller 22 manages the storage state of data in the memory 21. Storage state management refers to the relationship between which physical address page (or physical block) holds which logical address data, and which physical address page (or physical block) is erased (nothing written) Management of whether the data is not stored or has invalid data.

コントローラ22は、SDインターフェース31、MPU(micro processing unit)32、ROM(read only memory)33、RAM(read only memory)34、NANDインターフェース35を含んでいる。   The controller 22 includes an SD interface 31, a micro processing unit (MPU) 32, a read only memory (ROM) 33, a read only memory (RAM) 34, and a NAND interface 35.

SDインターフェース31は、ホスト1とコントローラ22との間のインターフェース処理を行うのに必要なハードウェア、ソフトウェアからなり、SDインターフェース13と同様に、両者の通信を可能とする取り決めを規定し、各種のコマンドの組を備え、ハードウェア上の構成(ピンの配置、数等)も含む。メモリカード2(コントローラ22)は、SDインターフェース31を介してとホスト1と通信を行う。SDインターフェース31は、レジスタ36を含んでいる。   The SD interface 31 includes hardware and software necessary for performing interface processing between the host 1 and the controller 22, and, like the SD interface 13, defines an agreement that enables communication between the two and various types of software. It includes a set of commands and includes hardware configuration (pin placement, number, etc.). The memory card 2 (controller 22) communicates with the host 1 via the SD interface 31. The SD interface 31 includes a register 36.

MPU32は、メモリカード2全体の動作を司る。MPU32は、例えば、メモリカード2が電源供給を受けた際に、ROM33内に格納されているファームウェア(制御プログラム)をRAM34上に読み出して所定の処理を実行する。MPU32は、制御プログラムに従って各種のテーブル(後述)をRAM34上で作成したり、ホスト1から受けたコマンドに従ってメモリ21に対する所定の処理を実行したりする。   The MPU 32 controls the operation of the entire memory card 2. For example, when the memory card 2 receives power supply, the MPU 32 reads the firmware (control program) stored in the ROM 33 onto the RAM 34 and executes predetermined processing. The MPU 32 creates various tables (described later) on the RAM 34 in accordance with the control program, and executes predetermined processing on the memory 21 in accordance with commands received from the host 1.

ROM33は、MPU32により制御される制御プログラムなどを格納する。RAM34は、MPU32の作業エリアとして使用され、制御プログラムや各種のテーブルを一時的に記憶する。このようなテーブルとして、ファイルシステム12によってデータに割り当てられた論理アドレスを有するデータを実際に記憶しているページの物理アドレスの変換テーブル(論物テーブル)が含まれる。NANDインターフェース35は、コントローラ22とメモリ21とのインターフェース処理を行う。   The ROM 33 stores a control program controlled by the MPU 32 and the like. The RAM 34 is used as a work area for the MPU 32 and temporarily stores control programs and various tables. As such a table, a conversion table (logical / physical table) of physical addresses of pages that actually store data having logical addresses assigned to data by the file system 12 is included. The NAND interface 35 performs an interface process between the controller 22 and the memory 21.

メモリ21内の記憶領域は、保存されるデータの種類に応じて、例えばシステムデータ領域、機密データ領域、保護データ領域、ユーザデータ領域等を含んでいる。システムデータ領域は、コントローラ22が、その動作に必要なデータを保存するためにメモリ21内で確保しておく領域である。機密データ領域は、暗号化に用いる鍵情報や認証時に使用する機密データを保存しており、ホスト1からアクセスできない。保護データ領域は、重要なデータ、セキュアなデータを格納する。ユーザデータ領域は、ホスト1が自由にアクセスおよび使用することが可能で、例えばAVコンテンツファイルや画像データ等のユーザデータを格納する。以下の説明で、メモリ21のメモリ空間を指す意味でメモリ21という記述を用いているとき、この記述はユーザデータ領域を指すものとする。なお、コントローラ22は、ユーザデータ領域の一部を確保し、自身の動作に必要な制御データ(論物テーブル等)を保存する。   The storage area in the memory 21 includes, for example, a system data area, a confidential data area, a protected data area, a user data area, and the like according to the type of data to be stored. The system data area is an area reserved in the memory 21 for the controller 22 to store data necessary for its operation. The confidential data area stores key information used for encryption and confidential data used for authentication, and cannot be accessed from the host 1. The protected data area stores important data and secure data. The user data area can be freely accessed and used by the host 1 and stores user data such as AV content files and image data. In the following description, when the description of the memory 21 is used to indicate the memory space of the memory 21, this description indicates the user data area. The controller 22 reserves a part of the user data area and stores control data (logical / physical table or the like) necessary for its own operation.

レジスタ36は、図2に例示するように、カードステータスレジスタ、CID、RCA、DSR、CSD、SCR、OCRの各種レジスタを有する。これらのレジスタは、エラー情報、メモリカード2の個体番号、相対カードアドレス、メモリカード2のバス駆動力、メモリカード2の特性パラメータ値、データ配置、メモリカード2の動作範囲電圧に制限のある場合の動作電圧等を格納している。   As illustrated in FIG. 2, the register 36 includes various registers such as a card status register, CID, RCA, DSR, CSD, SCR, and OCR. These registers are limited in error information, individual number of memory card 2, relative card address, bus driving power of memory card 2, characteristic parameter value of memory card 2, data arrangement, and operating range voltage of memory card 2. This stores the operating voltage and the like.

また、レジスタ36、例としてCSDは、メモリカード2のクラス、データのコピーに要する時間、AUサイズ等を格納している。クラスは、あるクラスに属するメモリカードが保証する最低の書き込み速度によって規定されている。また、クラスによって最高の書き込み速度が決定されている。したがって、ホスト1は、AUサイズを示すデータをレジスタ36から読み出して、この情報をメモリカード2の管理の際に利用でき、また、クラスを示すデータをレジスタ36から読み出して、メモリカード2の最大の書き込み性能を知得することができる。その他、性能パフォーマンス情報、例えば、特開2006−178923号公報に記載のパフォーマンス情報がCSDに格納されていてもよい。   The register 36, for example, the CSD stores the class of the memory card 2, the time required for copying data, the AU size, and the like. A class is defined by a minimum writing speed guaranteed by a memory card belonging to a certain class. The highest writing speed is determined by class. Therefore, the host 1 can read the data indicating the AU size from the register 36 and use this information when managing the memory card 2. Also, the host 1 can read the data indicating the class from the register 36 and store the maximum data in the memory card 2. Can learn the write performance. In addition, performance performance information, for example, performance information described in JP-A-2006-178923 may be stored in the CSD.

図3は、メモリ21のメモリ空間の構成を示している。図3に示すように、メモリ21は、通常のメモリ領域41とページバッファ42とを有する。メモリ領域41は、複数の物理ブロックBLKを含んでいる。各物理ブロックBLKは、複数のページPGから構成される。各ページPGは、直列接続された複数のメモリセルトランジスタを含んでいる。   FIG. 3 shows the configuration of the memory space of the memory 21. As shown in FIG. 3, the memory 21 includes a normal memory area 41 and a page buffer 42. The memory area 41 includes a plurality of physical blocks BLK. Each physical block BLK is composed of a plurality of pages PG. Each page PG includes a plurality of memory cell transistors connected in series.

各メモリセルは、いわゆる積層ゲート構造のMOSFET(metal oxide semiconductor field effect transistor)からなる。各メモリセルトランジスタは、浮遊ゲート電極に蓄えられる電子の数に応じて閾値電圧が変化し、この閾値電圧の違いに応じた情報を記憶する。メモリセルトランジスタが2つ以上の閾値電圧の異なる状態を取り得る、つまりメモリセルが多値(多ビット)を記憶できるように、メモリ21が構成されていてもよい。   Each memory cell includes a MOSFET (metal oxide semiconductor field effect transistor) having a so-called stacked gate structure. Each memory cell transistor changes the threshold voltage according to the number of electrons stored in the floating gate electrode, and stores information corresponding to the difference in the threshold voltage. The memory 21 may be configured so that the memory cell transistor can take two or more threshold voltage different states, that is, the memory cell can store multiple values (multi-bit).

同じ行に属するメモリセルトランジスタの制御ゲート電極は、同じワード線と接続される。同じ列に属し且つ直列接続されたメモリセルトランジスタの両端には選択ゲートトランジスタが設けられる。一方の選択ゲートトランジスタは、ビット線と接続される。データの書き込みおよび読み出しは直列接続されたメモリセルトランジスタの集合毎に行われ、このメモリセルトランジスタの集合からなる記憶領域が1つのページに対応する。   Control gate electrodes of memory cell transistors belonging to the same row are connected to the same word line. Select gate transistors are provided at both ends of memory cell transistors belonging to the same column and connected in series. One select gate transistor is connected to the bit line. Data writing and reading are performed for each set of memory cell transistors connected in series, and a storage area including the set of memory cell transistors corresponds to one page.

図3の例の場合、各ページPGは、例えば2112Bを有しており、各ブロック52は例えば128ページからなる。データの消去はブロックBLK単位で行われる。ページバッファ34は、メモリ21へのデータ入出力を行い、データを一時的に保持する。ページバッファ42が保持可能なデータサイズは、例えば、ページPGのサイズと同じく2112B(2048B+64B)である。   In the example of FIG. 3, each page PG has, for example, 2112B, and each block 52 has, for example, 128 pages. Data is erased in units of blocks BLK. The page buffer 34 inputs / outputs data to / from the memory 21 and temporarily holds data. The data size that can be held by the page buffer 42 is, for example, 2112B (2048B + 64B), similar to the size of the page PG.

図4に示すとともに上記したように、メモリ21は、ページPG単位でデータを書き込んだり、読み出したりし、ブロックBLK単位でデータを消去する。一方、ファイルシステム12は、RU(recording unit)単位でデータを管理する。つまり、ファイルシステム12は、ソフトウェア11から依頼された書き込み対象のデータをRUの大きさに応じた適当な大きさの複数の部分へと分割し、各部分に論理アドレスを割り当てる。RUは、1回のマルチブロック書き込みコマンドで書き込まれる単位に相当する。ファイルシステム12は、固有の論理アドレスを割り当てられたデータを書き込みデータとして、書き込みコマンドに続いてメモリカード2に供給する。コントローラ22は、論理アドレスを割り当てられた書き込みデータを適当なページに書き込む。RUの大きさはページの容量の大きさの整数倍である。したがって、RUの大きさの書き込みデータをメモリカード2は、物理アドレスが連続する複数のページに書き込む。なお、各RUは、ファイルシステムが管理する固有の論理アドレスに対応するので、RUにデータを割り当てるということは、データに論理アドレスを割り当てるのと同義である。ファイルシステム12は、表を用いて、分割されたデータの各部分の接続関係を管理して、この接続関係を用いてデータの部分を繋げることによって元のデータを復元する。また、コントローラ22は、論理アドレスとこの論理アドレスのデータを格納しているページのアドレス(物理アドレス)との対応を変換テーブル(論物テーブル)で管理する。   As shown in FIG. 4 and as described above, the memory 21 writes and reads data in units of page PG, and erases data in units of blocks BLK. On the other hand, the file system 12 manages data in units of RU (recording units). That is, the file system 12 divides the data to be written requested by the software 11 into a plurality of portions having an appropriate size according to the size of the RU, and assigns a logical address to each portion. RU corresponds to a unit written by one multi-block write command. The file system 12 supplies the data assigned the unique logical address as write data to the memory card 2 following the write command. The controller 22 writes the write data assigned with the logical address to an appropriate page. The size of the RU is an integral multiple of the size of the page capacity. Therefore, the memory card 2 writes the write data having the size of RU to a plurality of pages having consecutive physical addresses. Since each RU corresponds to a unique logical address managed by the file system, assigning data to the RU is synonymous with assigning a logical address to the data. The file system 12 uses a table to manage the connection relation of each part of the divided data, and restores the original data by connecting the data parts using this connection relation. Further, the controller 22 manages the correspondence between the logical address and the address (physical address) of the page storing the data of the logical address by using a conversion table (logical / physical table).

また、ファイルシステム12は、所定の範囲に属する所定数の連続するRUの集合からなるAU(allocation unit)という概念を用いて管理を行なう。コントローラ22は、データの論理アドレスの上位ビットを見ることによってAUの区切りを認識できる。AUの大きさはブロック(物理ブロック)の容量の大きさの整数倍である。このように、RUは自然数個のページの大きさに一致し、AUは自然数個のブロックの大きさに一致する。このため、以下の説明では、メモリカード2でのデータの読み出し/書き込みの単位としてRU、AUを用いて説明を行なう。すなわち、メモリカード2に関する記述において用いられるRUという文言は、RUと同じ大きさの、連続する複数のページを意味し、メモリカード2に関する記述において用いられるAUという文言は、AUと同じ大きさの、連続する複数のブロックを意味する。具体的には、ファイルシステム12がファイルシステム12のRUに割り当てたデータはメモリカード2のあるRUに書き込まれており、メモリカード2は、ファイルシステム12によってデータに割り当てられたRU(論理アドレス)とこの書き込みデータを記憶しているメモリ21内のRUを表によって管理している。   Further, the file system 12 performs management using the concept of AU (allocation unit) consisting of a set of a predetermined number of consecutive RUs belonging to a predetermined range. The controller 22 can recognize the AU separation by looking at the upper bits of the logical address of the data. The size of AU is an integral multiple of the capacity of a block (physical block). Thus, RU matches the size of a natural number of pages, and AU matches the size of a natural number of blocks. Therefore, in the following description, RU and AU are used as data reading / writing units in the memory card 2. That is, the term “RU” used in the description related to the memory card 2 means a plurality of continuous pages having the same size as the RU, and the term “AU” used in the description related to the memory card 2 is the same size as the AU. , Meaning a plurality of consecutive blocks. Specifically, the data assigned to the RU of the file system 12 by the file system 12 is written in a certain RU of the memory card 2, and the memory card 2 stores the RU (logical address) assigned to the data by the file system 12. The table manages the RUs in the memory 21 storing the write data.

[2]動作
[2−1]第1例
次に、まず図5乃至図14を参照して、メモリカード2の動作の一部について説明する。図5は、第1実施形態に係るメモリカードが取り得るモードの遷移図である。図5に示すように、メモリカード2は、ランダム書き込みモードとシーケンシャル書き込みモードを有し、コントローラ22は、これらの2つのモードのうち、現在設定されているモードに従って動作する。メモリカード2は、ホスト1からの電源供給が開始した際、ランダム書き込みモードにある。メモリカード2は、ランダム書き込みモードにあるときにシーケンシャル書き込み開始コマンドを受けると、シーケンシャル書き込みモードに移行する。一方、メモリカード2は、シーケンシャル書き込みモードにあるときにシーケンシャル書き込み終了コマンドを受けると、ランダム書き込みモードに移行する。SDインターフェース31は、シーケンシャル書き込み開始コマンドおよびシーケンシャル書き込み終了コマンドを認識できるように構成されている。
[2] Operation [2-1] First Example Next, a part of the operation of the memory card 2 will be described with reference to FIGS. FIG. 5 is a transition diagram of modes that the memory card according to the first embodiment can take. As shown in FIG. 5, the memory card 2 has a random write mode and a sequential write mode, and the controller 22 operates according to the currently set mode among these two modes. The memory card 2 is in the random write mode when the power supply from the host 1 is started. When the memory card 2 is in the random write mode and receives a sequential write start command, the memory card 2 shifts to the sequential write mode. On the other hand, when the memory card 2 receives the sequential write end command while in the sequential write mode, the memory card 2 shifts to the random write mode. The SD interface 31 is configured to recognize a sequential write start command and a sequential write end command.

次に、図6乃至図9を参照して、ランダム書き込みモードについて説明する。図6乃至図9は、ランダム書き込みモードでの書き込み時の一状態を順に例示している。図6乃至図9内の、ワークAUを除くAUは、ファイルシステム12が認識しているAUを表現しており、またメモリカード2内でこのAU内のデータを記憶しているAUも表現している。   Next, the random write mode will be described with reference to FIGS. 6 to 9 sequentially illustrate one state at the time of writing in the random writing mode. 6 to 9, the AU excluding the work AU represents the AU recognized by the file system 12, and also represents the AU storing the data in the AU in the memory card 2. ing.

まず、メモリカード2内のAU1に属する第1乃至第NRUにデータ1乃至データNが書き込まれている。この状態で、ホスト1は、AU1の第4乃至第6RUにデータ20乃至データ22を書き込むことを希望している。しかしながら、フラッシュメモリ21はデータの上書きによって直接的にこの更新命令を遂行することができないので、以下の動作を行なう。まず、図7に示すように、メモリカード2(コントローラ22)は、一時作業用のAU(ワークAU)を用意する。次に、メモリカード2は、ワークAU内の、AU1の更新されないRUと同じ第1乃至第3RUにデータ1乃至データ3をそれぞれコピーする。   First, data 1 to data N are written in the first to NRU belonging to AU 1 in the memory card 2. In this state, the host 1 desires to write data 20 to data 22 in the fourth to sixth RUs of AU1. However, since the flash memory 21 cannot directly execute this update command by overwriting data, the following operation is performed. First, as shown in FIG. 7, the memory card 2 (controller 22) prepares an AU (work AU) for temporary work. Next, the memory card 2 copies data 1 to data 3 to the first to third RUs in the work AU that are the same as the RUs in which AU1 is not updated.

図8に示すように、メモリカード2は、ワークAU内の、AU1の更新対象のRUと同じ第4乃至第6RUにデータ20乃至データ22を書き込む。   As shown in FIG. 8, the memory card 2 writes data 20 to data 22 in the fourth to sixth RUs in the work AU that are the same as the update target RUs of AU1.

図9に示すように、メモリカード2は、AU1のデータ7乃至データNを、ワークAU内の、AU1の更新されないRUと同じ第7乃至第NRUにデータ7乃至データNをそれぞれコピーする。次に、メモリカード2は、ワークAU1のクローズ処理を行なう。クローズ処理とは、ワークAUをAU1に設定すること、すなわち、ワークAUが、ファイルシステム12が認識しているAU1内のデータを記憶しているものとして設定する(論物テーブルを書き換える)ことである。同時に、旧AU1は破棄される、換言すれば旧AU1は無効のデータを有するAUとして取り扱われるようになる。旧AU内のデータは、所定のタイミングで消去され、新たな未書き込みAUになる。   As shown in FIG. 9, the memory card 2 copies the data 7 to data N of AU1 to the seventh to NRU of the work AU that is the same as the RU that is not updated of AU1, respectively. Next, the memory card 2 performs a closing process for the work AU1. The close process is to set the work AU to AU1, that is, to set the work AU as storing data in AU1 recognized by the file system 12 (rewrite the logical-physical table). is there. At the same time, the old AU1 is discarded. In other words, the old AU1 is handled as an AU having invalid data. Data in the old AU is erased at a predetermined timing and becomes a new unwritten AU.

次に、図10乃至図14を参照して、シーケンシャル書き込みモードについて説明する。図10は、シーケンシャル書き込みモードおよびその前後における、ホスト1とメモリカード2間で授受されるコマンド、データの第1例を示している。図11乃至図14は、シーケンシャル書き込みモードでの第1例の書き込み時の一状態を順に示している。図11乃至図14内の、ワークAUを除くAUは、ファイルシステム12が認識しているAUを表現しており、またメモリカード2内でこのAU内のデータを記憶しているAUも表現している。   Next, the sequential write mode will be described with reference to FIGS. FIG. 10 shows a first example of commands and data exchanged between the host 1 and the memory card 2 before and after the sequential write mode. 11 to 14 sequentially show one state at the time of writing of the first example in the sequential writing mode. In FIG. 11 to FIG. 14, AUs excluding work AUs represent AUs recognized by the file system 12, and also represent AUs that store data in the AUs in the memory card 2. ing.

まず、メモリカード2はランダム書き込みモードにあり、図11に示すように、AU1の第1乃至第8RUにデータ1乃至データ8が書き込まれており、AU2の第1乃至第8RUにはデータ9乃至データ16が書き込まれている。この状態で、図10に示すように、ホスト1はメモリカード2にシーケンシャル書き込み開始コマンドを供給する。このコマンドを受けると、メモリカード2はシーケンシャル書き込みモードに移行する。   First, the memory card 2 is in the random writing mode, and as shown in FIG. 11, data 1 to data 8 are written in the first to eighth RUs of AU1, and data 9 to data are stored in the first to eighth RUs of AU2. Data 16 is written. In this state, as shown in FIG. 10, the host 1 supplies a sequential write start command to the memory card 2. When this command is received, the memory card 2 shifts to the sequential write mode.

図11に示すように、ホスト1は、AU1の第4乃至第6RUにデータ20乃至データ22を書き込むことを希望している。すなわち、ホスト1は、第4乃至第6RUをデータ20乃至データ22で更新することを希望している。この書き込みを行なうために、ホスト1は、図10に示すように、メモリカード2に、書き込みコマンド、続いてAU1の第4乃至第6RUと関連付けられたデータ20乃至データ22を供給する。この書き込み要求を受け取ると、図11に示すように、メモリカード2は、AU1のためのワークAU1を用意する。ワークAUは、データを格納していないRUのみからなり、メモリカード2が内部処理に一時的に用いるAUである。シーケンシャル書き込みモードでは、メモリカード2は、書き込み要求に対して、常に未書き込みのワークAUを用意し、ワークAUにデータを書き込む。この段階では、ワークAUに対する元のAU1が依然有効のままであるので、何らかの理由でライトエラーが発生した場合でも、書き込み前の状態を復元することが可能である。   As shown in FIG. 11, the host 1 desires to write data 20 to data 22 into the fourth to sixth RUs of AU1. That is, the host 1 desires to update the fourth to sixth RUs with the data 20 to the data 22. In order to perform this writing, as shown in FIG. 10, the host 1 supplies the memory card 2 with a write command and subsequently data 20 to data 22 associated with the fourth to sixth RUs of AU1. When this write request is received, the memory card 2 prepares a work AU1 for AU1 as shown in FIG. The work AU is composed only of RUs that do not store data, and is an AU that is temporarily used by the memory card 2 for internal processing. In the sequential write mode, the memory card 2 always prepares an unwritten work AU in response to a write request, and writes data to the work AU. At this stage, since the original AU1 for the work AU is still valid, even if a write error occurs for some reason, it is possible to restore the state before writing.

シーケンシャル書き込みモードでは、更新されないRUのデータはワークAUのRUにコピーされない。したがって、図12に示すように、メモリカード2は、ワークAU内の、AU1内でデータ20乃至データ22を書き込まれているRUと同じ第4乃至第6RUにデータ20乃至データ22をそれぞれ書き込む。   In the sequential write mode, RU data that is not updated is not copied to the RU of the work AU. Therefore, as shown in FIG. 12, the memory card 2 writes data 20 to data 22 in the fourth to sixth RUs in the work AU, which are the same as the RUs in which data 20 to data 22 are written in AU1.

次に、図12に示すように、ホスト1は、AU1の第7、第8RUのデータ7、データ8をデータ23、データ24データで更新するとともに、AU2の第1乃至第3RUのデータ9乃至データ11をデータ25乃至データ27で更新することを希望している。この更新を行なうために、ホスト1は、図10に示すように、メモリカード2に、書き込みコマンド、AU1の第7、第8RUと関連付けられたデータ23、データ24、AU2の第1乃至第3RUと関連付けられたデータ25乃至データ27を供給する。この書き込み要求を受け取ると、図13に示すように、メモリカード2は、ワークAU内の、AU1内でデータ23、データ24を書き込まれているRUと同じ第7、第8RUにデータ23、データ24をそれぞれ書き込む。この時点で、ワークAU1の最後のRUに書き込まれたので、図14に示すように、メモリカード2は、ワークAUに対してクローズ処理を行なう。さらに、メモリカード2は、AU2のための新たなワークAUを用意する。   Next, as shown in FIG. 12, the host 1 updates the data 7 and data 8 of the seventh and eighth RUs of AU1 with data 23 and data 24, and the data 9 to data of the first to third RUs of AU2. It is desired to update the data 11 with the data 25 to the data 27. In order to perform this update, as shown in FIG. 10, the host 1 sends a write command, data 23 associated with the seventh and eighth RUs of AU1, data 24, and first to third RUs of AU2 to the memory card 2. The data 25 to the data 27 associated with are supplied. When this write request is received, as shown in FIG. 13, the memory card 2 stores data 23 and data in the seventh and eighth RUs in the work AU, which are the same as the RUs in which data 23 and data 24 are written in AU1. Write 24 each. At this time, since the data is written in the last RU of the work AU1, as shown in FIG. 14, the memory card 2 performs a closing process on the work AU. Further, the memory card 2 prepares a new work AU for AU2.

図15に示すように、メモリカード2は、ワークAU内の、AU2内でデータ25乃至データ27を書き込まれているRUと同じ第1乃至第3RUにデータ25乃至データ27をそれぞれ書き込む。   As shown in FIG. 15, the memory card 2 writes data 25 to data 27 in the first to third RUs in the work AU, which are the same as the RUs in which data 25 to data 27 are written in AU2.

書き込み要求が終了したので、図10に示すように、ホスト1は、シーケンシャル書き込み終了コマンドをメモリカード2に供給する。このコマンドを受け取ると、図15に示すように、メモリカード2は、AU2の第4乃至第8RUに書き込まれていたデータ12乃至データ16をワークAUにコピーすることなく、ワークAUに対してクローズ処理を行ない、次いで、ランダム書き込みモードに移行する。   Since the write request is completed, the host 1 supplies a sequential write end command to the memory card 2 as shown in FIG. When this command is received, as shown in FIG. 15, the memory card 2 closes the work AU without copying the data 12 to data 16 written in the fourth to eighth RUs of the AU 2 to the work AU. Processing is performed, and then the random write mode is entered.

[2−2]第2例
次に、第1例を応用して複数のファイルデータを平行して記録することについて、図16乃至図21を参照して説明する。図16は、第1実施形態に係るメモリカードが受信するコマンド、データの第2例を示している。図17乃至図21は、第1実施形態に係るメモリカード2での第2例の書き込み時の一状態を順に示している。図17乃至図21内の、ワークAUを除くAUは、ファイルシステム12が認識しているAUを表現しており、またメモリカード2内でこのAU内のデータを記憶しているAUも表現している。なお、第2例は、シーケンシャル書き込みモードでの動作のみに関し、それ以外の動作は第1例と同じである。
[2-2] Second Example Next, recording a plurality of file data in parallel by applying the first example will be described with reference to FIGS. FIG. 16 shows a second example of commands and data received by the memory card according to the first embodiment. FIGS. 17 to 21 sequentially show one state at the time of writing in the second example in the memory card 2 according to the first embodiment. In FIG. 17 to FIG. 21, AUs excluding the work AU represent AUs recognized by the file system 12, and also represent AUs that store data in the AUs in the memory card 2. ing. The second example relates only to the operation in the sequential write mode, and the other operations are the same as those in the first example.

まず、メモリカード2はランダム書き込みモードにある。この状態で、図16に示すように、メモリカード2は、ホスト1から受け取ったシーケンシャル書き込み開始コマンドによってシーケンシャル書き込みモードに移行する。   First, the memory card 2 is in the random write mode. In this state, as shown in FIG. 16, the memory card 2 shifts to the sequential write mode by the sequential write start command received from the host 1.

図17に示すように、ホスト1は、AU1の第1乃至第5RUにデータA1乃至データA5を書き込むことを希望している。この書き込みを行なうために、ホスト1は、図16に示すように、メモリカード2に、書き込みコマンド、続いてAU1の第1乃至第5RUと関連付けられたデータA1乃至データA5を供給する。   As shown in FIG. 17, the host 1 desires to write data A1 to data A5 in the first to fifth RUs of AU1. In order to perform this writing, as shown in FIG. 16, the host 1 supplies the memory card 2 with a write command and subsequently data A1 to data A5 associated with the first to fifth RUs of AU1.

上記のように、シーケンシャル書き込みモードでは、メモリカード2は、書き込み要求に対して、常に未書き込みのワークAUを用意し、ワークAUにデータを書き込む。このため、図18に示すように、メモリカード2は、ワークAU1内の、AU1内でデータA1乃至データA5を書き込まれているRUと同じ第1乃至第5RUにデータA1乃至データA5をそれぞれ書き込む。   As described above, in the sequential write mode, the memory card 2 always prepares an unwritten work AU in response to a write request, and writes data to the work AU. For this reason, as shown in FIG. 18, the memory card 2 writes data A1 to data A5 in the first to fifth RUs in the work AU1, which are the same as the RUs in which data A1 to data A5 are written in AU1, respectively. .

図18に示すように、ホスト1は、AU2の第1乃至第3RUにデータB1乃至データB3を書き込むことを希望している。この書き込みを行なうために、ホスト1は、図16に示すように、メモリカード2に、書き込みコマンド、続いてAU2の第1乃至第3RUと関連付けられたデータB1乃至データB3を供給する。データB1乃至B3は、データA1乃至A3と異なるAUに属しており、したがって、データB1乃至B3はデータA1乃至A3が構成するファイルと別のファイルを構成するデータである。具体例として、例えばデータB1乃至データB3はある動画データの一部であって、データA1乃至データA5は別の動画データの一部である。メモリカード2(コントローラ22)は、データA1乃至データA5と、データB1乃至データB3が異なる種類のファイルを構成することを、AU、つまりこれらのデータに割り当てられた論理アドレスの上位ビットを観察することによって、判断することができる。   As shown in FIG. 18, the host 1 desires to write data B1 to data B3 to the first to third RUs of AU2. In order to perform this writing, as shown in FIG. 16, the host 1 supplies the memory card 2 with a write command and subsequently data B1 to data B3 associated with the first to third RUs of AU2. The data B1 to B3 belong to an AU different from the data A1 to A3. Therefore, the data B1 to B3 is data that forms a file different from the file that the data A1 to A3 configures. As a specific example, for example, data B1 to data B3 are a part of moving image data, and data A1 to data A5 are a part of another moving image data. The memory card 2 (controller 22) observes AU, that is, the upper bits of the logical addresses assigned to these data, that the data A1 to data A5 and the data B1 to data B3 form different types of files. Judgment can be made.

メモリカード2は、データB1乃至データB3の書き込み要求を受け取ると、これらのデータが先に書き込みを要求されたデータA1乃至データA5とは別のファイルを構成することを上記のようにAUから判断する。この判断の結果、図19に示すように、メモリカード2は、AU2のための新たなワークAU2を用意し、ワークAU2内の、AU2内でデータB1乃至データB3を書き込まれているRUと同じ第1乃至第3RUにデータB1乃至データB3をそれぞれ書き込む。   When the memory card 2 receives a write request for data B1 to data B3, the AU determines from the AU that these data constitute a file different from the data A1 to data A5 requested to be written first. To do. As a result of this determination, as shown in FIG. 19, the memory card 2 prepares a new work AU2 for AU2, and is the same as the RU in which data B1 to B3 are written in AU2 in work AU2. Data B1 to B3 are written to the first to third RUs, respectively.

さらに、図19に示すように、ホスト1は、AU1の第6、第7RUにデータA6、データA7を書き込むことを希望している。この書き込みを行なうために、ホスト1は、図16に示すように、メモリカード2に、書き込みコマンド、続いてAU1の第6、第7RUと関連付けられたデータA6、データA7を供給する。データA6、データA7は、以前に書き込み要求を受けたデータA1乃至データA5と同じAU1に属している。このため、図20に示すように、メモリカード2は、この書き込み要求を受け取ると、ワークAU1内の、AU1内でデータA6、データA7を書き込まれているRUと同じ第6、第7RUにデータA6、データA7をそれぞれ書き込む。   Furthermore, as shown in FIG. 19, the host 1 desires to write data A6 and data A7 in the sixth and seventh RUs of AU1. In order to perform this writing, as shown in FIG. 16, the host 1 supplies the memory card 2 with a write command and subsequently data A6 and data A7 associated with the sixth and seventh RUs of AU1. The data A6 and the data A7 belong to the same AU1 as the data A1 to data A5 that received the write request before. Therefore, as shown in FIG. 20, when the memory card 2 receives this write request, the data is stored in the sixth and seventh RUs in the work AU1 that are the same as the RUs in which the data A6 and the data A7 are written in the AU1. A6 and data A7 are written respectively.

さらに、図20に示すように、ホスト1は、AU2の第4乃至第6RUにデータB4乃至データB6を書き込むことを希望している。この書き込みを行なうために、ホスト1は、図16に示すように、メモリカード2に、書き込みコマンド、続いてAU2の第4乃至第6RUと関連付けられたデータB4乃至データB6を供給する。データB4乃至データB6は、データB1乃至データB3と同じAU2に属している。このため、図20に示すように、メモリカード2は、この書き込み要求を受け取ると、ワークAU2内の、AU2内でデータB4乃至データB6を書き込まれているRUと同じ第4乃至第6RUにデータB4乃至データB6をそれぞれ書き込む。   Furthermore, as shown in FIG. 20, the host 1 desires to write data B4 to data B6 in the fourth to sixth RUs of AU2. In order to perform this writing, as shown in FIG. 16, the host 1 supplies the memory card 2 with a write command and subsequently data B4 to data B6 associated with the fourth to sixth RUs of AU2. The data B4 to data B6 belong to the same AU2 as the data B1 to data B3. Therefore, as shown in FIG. 20, when the memory card 2 receives this write request, the data is stored in the fourth to sixth RUs in the work AU2 that are the same as the RUs in which the data B4 to data B6 are written in the AU2. B4 to B6 are written respectively.

書き込み要求が終了したので、図16に示すように、ホスト1は、シーケンシャル書き込み終了コマンドをメモリカード2に供給する。このコマンドを受け取ると、図21に示すように、メモリカード2は、全てのワークAUに対してクローズ処理を行ない、次いで、ランダム書き込みモードに移行する。   Since the write request has ended, the host 1 supplies a sequential write end command to the memory card 2 as shown in FIG. When this command is received, as shown in FIG. 21, the memory card 2 performs the closing process for all the work AUs, and then shifts to the random writing mode.

なお、第2例の説明において、2つのファイルのデータ群、すなわち、データA1乃至データA7とデータB1乃至データB6のファイルデータから各々がなる2つのストリームについて説明した。しかしながら、本明細書で説明した原理に基づいて、3つ以上のストリームに、本実施形態を適用することも可能である。メモリカード2が、幾つのストリームのデータを同時に書き込む処理をできるかは、メモリカード2が同時に幾つのワークAUを用意できるかに依存する。同時に用意されるワークAUの数は、メモリカード2の書き込み速度や記憶容量や仕様に応じて選択することができる。   In the description of the second example, two data streams, that is, two streams each including file data of data A1 to data A7 and data B1 to data B6 have been described. However, it is possible to apply this embodiment to more than two streams based on the principles described herein. How many streams of data can be simultaneously written in the memory card 2 depends on how many work AUs the memory card 2 can prepare simultaneously. The number of work AUs prepared simultaneously can be selected according to the writing speed, storage capacity, and specifications of the memory card 2.

[2−3]第3例
次に、ワークAUを任意のタイミングで閉じるための手法について、図22乃至図27を参照して説明する。図22は、第1実施形態に係るメモリカードが受信するコマンド、データの第3例を示している。図23乃至図27は、第1実施形態に係るメモリカード2での第3例の書き込み時の一状態を順に示している。図23乃至図27内の、ワークAUを除くAUは、ファイルシステム12が認識しているAUを表現しており、またメモリカード2内でこのAU内のデータを記憶しているAUも表現している。なお、第3例は、シーケンシャル書き込みモードでの動作のみに関し、それ以外の動作は第1例と同じである。
[2-3] Third Example Next, a method for closing the work AU at an arbitrary timing will be described with reference to FIGS. 22 to 27. FIG. 22 shows a third example of commands and data received by the memory card according to the first embodiment. 23 to 27 sequentially show one state at the time of writing of the third example in the memory card 2 according to the first embodiment. In FIG. 23 to FIG. 27, AUs excluding work AUs represent AUs recognized by the file system 12, and also represent AUs that store data in the AUs in the memory card 2. ing. Note that the third example relates only to the operation in the sequential write mode, and the other operations are the same as those in the first example.

まず、メモリカード2はランダム書き込みモードにある。この状態で、図22に示すように、メモリカード2は、ホスト1から受け取ったシーケンシャル書き込み開始コマンドによってシーケンシャル書き込みモードに移行する。   First, the memory card 2 is in the random write mode. In this state, as shown in FIG. 22, the memory card 2 shifts to the sequential write mode by the sequential write start command received from the host 1.

図23に示すように、ホスト1は、AU1の第1乃至第5RUにデータA1乃至データA5を書き込むことを希望している。この書き込みを行なうために、ホスト1は、図22に示すように、メモリカード2に、書き込みコマンド、続いてAU1の第1乃至第5RUと関連付けられたデータA1乃至データA5を供給する。   As shown in FIG. 23, the host 1 desires to write data A1 to data A5 in the first to fifth RUs of AU1. In order to perform this writing, as shown in FIG. 22, the host 1 supplies the memory card 2 with a write command and subsequently data A1 to data A5 associated with the first to fifth RUs of AU1.

この書き込み要求を受け取ると、図24に示すように、メモリカード2は、AU1のための新たなワークAU1を用意し、ワークAU1内の、AU1内でデータA1乃至データA5を書き込まれているRUと同じ第1乃至第5RUにデータA1乃至データA5をそれぞれ書き込む。   Upon receiving this write request, as shown in FIG. 24, the memory card 2 prepares a new work AU1 for AU1, and the RU in which data A1 to data A5 are written in AU1 in the work AU1. The data A1 to data A5 are respectively written in the same first to fifth RUs.

図24に示すように、ホスト1は、AU2の第1乃至第3RUにデータB1乃至データB3を書き込むことを希望している。この書き込みを行なうために、ホスト1は、図16に示すように、メモリカード2に、書き込みコマンド、続いてAU2の第1乃至第3RUと関連付けられたデータB1乃至データB3を供給する。メモリカード2は、これらのデータがデータA1乃至データA5とは別のファイルを構成するので、図25に示すように、メモリカード2は、AU2のための新たなワークAU2を用意する。続いて、メモリカード2は、ワークAU2内の、AU2内でデータB1乃至データB3を書き込まれているRUと同じ第1乃至第3RUにデータB1乃至データB3をそれぞれ書き込む。   As shown in FIG. 24, the host 1 desires to write data B1 to data B3 to the first to third RUs of AU2. In order to perform this writing, as shown in FIG. 16, the host 1 supplies the memory card 2 with a write command and subsequently data B1 to data B3 associated with the first to third RUs of AU2. Since the memory card 2 forms a file different from the data A1 to data A5, the memory card 2 prepares a new work AU2 for AU2 as shown in FIG. Subsequently, the memory card 2 writes data B1 to data B3 in the same first to third RU as the RU in which data B1 to data B3 are written in AU2 in the work AU2.

次に、ホスト1は、データA1乃至データA5が一部を構成するファイルの書き込みを継続しながら、データB1乃至データB3が構成するファイルの書き込みを終了するために、ワークAUクローズ・コマンドをメモリ2に供給する。このコマンドを受けると、メモリカード2は、このコマンドの直前にデータを書き込まれたワークAUに対するクローズ処理を行なう。この結果、ワークAU2の代わりに、さらなるワークAUを設けることができる。例えば、メモリカード2が平行して書き込み可能なファイルデータの数が2であった場合、ワークAU2に対するクローズ処理の後、ファイルデータの書き込みが可能な状態になる。   Next, the host 1 stores a work AU close command in the memory in order to end the writing of the file composed of the data B1 to the data B3 while continuing the writing of the file composed of the data A1 to the data A5. 2 is supplied. Upon receiving this command, the memory card 2 performs a closing process on the work AU in which data has been written immediately before this command. As a result, a further work AU can be provided instead of the work AU2. For example, if the number of file data that can be written in parallel by the memory card 2 is 2, the file data can be written after the closing process for the work AU2.

クローズ・コマンドは、クローズ処理対象のワークAUを指定する引数を有している。この引数において、上記のように直前にデータを書き込まれたワークAUを指定すること、ワークAUが複数ある場合に任意のワークAUを指定すること、全てのワークAUを指定することができる。   The close command has an argument for designating a work AU to be closed. In this argument, it is possible to specify the work AU to which data has been written immediately before as described above, to specify an arbitrary work AU when there are a plurality of work AUs, and to specify all the work AUs.

図26に示すように、ホスト1は、AU1の第6、第7RUにデータA6、データA7を書き込むことを希望している。この書き込みを行なうために、ホスト1は、図22に示すように、メモリカード2に、書き込みコマンド、続いてAU1の第6、第7RUと関連付けられたデータA6、データA7を供給する。この書き込み要求を受け取ると、図27に示すように、メモリカード2は、ワークAU1内の、AU1内でデータA6、データA7を書き込まれているRUと同じ第6、第7RUにデータA6、データA7をそれぞれ書き込む。   As shown in FIG. 26, the host 1 desires to write data A6 and data A7 in the sixth and seventh RUs of AU1. In order to perform this writing, as shown in FIG. 22, the host 1 supplies the memory card 2 with a write command, and subsequently data A6 and data A7 associated with the sixth and seventh RUs of AU1. When this write request is received, as shown in FIG. 27, the memory card 2 stores data A6 and data in the sixth and seventh RUs in the work AU1, which are the same as the RUs in which data A6 and data A7 are written in AU1. Write A7 respectively.

書き込み要求が終了したので、図22に示すように、ホスト1は、シーケンシャル書き込み終了コマンドをメモリカード2に供給する。このコマンドを受け取ると、図21に示すように、メモリカード2は、全てのワークAU(本例ではワークAU1のみ)に対してクローズ処理を行ない、次いで、ランダム書き込みモードに移行する。   Since the write request has ended, the host 1 supplies a sequential write end command to the memory card 2 as shown in FIG. When this command is received, as shown in FIG. 21, the memory card 2 performs the closing process on all the work AUs (only the work AU1 in this example), and then shifts to the random write mode.

以上延べたように、第1実施形態に係るメモリカードによれば、ランダム書き込みモードとシーケンシャル書き込みモードが設けられる。シーケンシャル書き込みモードでは、データの更新が要求された場合に、更新される部分のRUが属するAUに属するRUの更新されないデータは、新たなAUにコピーされない。したがって、シーケンシャル書き込みモードでは、常に、連続する未書き込みRUにデータが書き込まれる。このような書き込みの速度は、フラッシュメモリ21が達成可能な最大書き込み速度である。ホスト1にとって最大性能で書き込めるメリットは大きい。最大書き込み速度は、フラッシュメモリ21の性能に依存し、ほぼ一定である。このため、最大書き込み速度と、ホスト1が書き込みを求めるデータの容量から算出された必要なAU(RU)の数から、要求された書き込みを完了するのに要する時間を容易に算出できる。また、書き込み時間の算出が容易なため、この算出に必要な時間も短い。   As described above, according to the memory card according to the first embodiment, the random write mode and the sequential write mode are provided. In the sequential write mode, when data update is requested, data that is not updated in the RU that belongs to the AU to which the updated RU belongs is not copied to the new AU. Therefore, in the sequential write mode, data is always written to consecutive unwritten RUs. Such a writing speed is the maximum writing speed that the flash memory 21 can achieve. The host 1 has a great merit of being able to write at maximum performance. The maximum writing speed depends on the performance of the flash memory 21 and is almost constant. Therefore, the time required to complete the requested write can be easily calculated from the maximum write speed and the number of necessary AUs (RU) calculated from the data capacity that the host 1 requests to write. Further, since the calculation of the writing time is easy, the time required for this calculation is short.

また、メモリカード2において、連続するRUページに、書き込みデータの論理アドレスの順にデータが書き込まれる。このようなデータの書き込みは、メモリ21の最大の書き込み速度を引き出すことができる。さらに、シーケンシャル書き込みモードではデータのコピーが行なわれないので、メモリカード2は、書き込み要求に対して書き込みだけを継続できる。この書き込み速度は、上記のように、メモリ21の最大の書き込み速度であるので、シーケンシャル書き込みモードではメモリカード2は、最大の書き込み速度で書き込みを継続することができる。   Further, in the memory card 2, data is written in successive RU pages in the order of logical addresses of write data. Such data writing can bring out the maximum writing speed of the memory 21. Further, since the data is not copied in the sequential write mode, the memory card 2 can continue to write only in response to the write request. Since the writing speed is the maximum writing speed of the memory 21 as described above, the memory card 2 can continue writing at the maximum writing speed in the sequential writing mode.

また、メモリカード2は、シーケンシャル書き込みモードにおいて最大の書き込み速度を維持できる。このため、第2例のように、2つ以上の別個のファイルのデータに対して、各ファイルデータに専用のワークAUが設けられることによって、2つ以上のファイルデータを平行して保存することが可能になる。   Further, the memory card 2 can maintain the maximum writing speed in the sequential writing mode. Therefore, as in the second example, two or more file data can be stored in parallel by providing a dedicated work AU for each file data for two or more separate file data. Is possible.

また、第1実施形態に係るメモリカードによれば、ワークAUクローズ・コマンドが設けられる。このコマンドによって、ファイルデータを平行して書き込んでいるメモリカード2は、シーケンシャル書き込み終了コマンドの供給を待たずに、任意のワークAUに対してクローズ処理を行なうことができる。この結果、書き込みが終了したファイルデータ用のワークAUを開放して、別のファイルデータ用のワークAUを新たに設けることができる。このことは、ハードウェアで本機能を実現する場合、同時に書き込み可能なストリーム数には限りがあるため、有効である。   Moreover, according to the memory card according to the first embodiment, a work AU close command is provided. By this command, the memory card 2 writing the file data in parallel can perform the closing process on an arbitrary work AU without waiting for the supply of the sequential write end command. As a result, the work AU for file data that has been written can be released, and another work AU for file data can be newly provided. This is effective because the number of streams that can be written simultaneously is limited when this function is realized by hardware.

(第2実施形態)
第2実施形態では、特定の書き込み準備状態への移行のための専用のコマンドが設けられる。第2実施形態に係るメモリカードは、第1実施形態(図1乃至図5)と同じ構造を有し、動作が異なる。
(Second Embodiment)
In the second embodiment, a dedicated command for shifting to a specific write preparation state is provided. The memory card according to the second embodiment has the same structure as that of the first embodiment (FIGS. 1 to 5), and the operation is different.

[1]第1例
図28乃至図34を参照して第2実施形態の第1例の動作について説明する。図28は、第2実施形態に係るメモリカードが受信するコマンド、データの第1例を示している。図29乃至図34は、第2実施形態に係るメモリカード2での第1例の書き込み時の一状態を順に示している。図29乃至図34内の、ワークAUを除くAUは、ファイルシステム12が認識しているAUを表現しており、またメモリカード2内でこのAU内のデータを記憶しているAUも表現している。
[1] First Example The operation of the first example of the second embodiment will be described with reference to FIGS. FIG. 28 shows a first example of commands and data received by the memory card according to the second embodiment. FIGS. 29 to 34 sequentially show one state at the time of writing in the first example in the memory card 2 according to the second embodiment. In FIG. 29 to FIG. 34, the AU excluding the work AU represents the AU recognized by the file system 12, and also represents the AU storing the data in the AU in the memory card 2. ing.

まず、図29に示すように、AU1の第1乃至第8RUにデータ1乃至データ8が書き込まれており、AU2の第1乃至第8RUにはデータ9乃至データ16が書き込まれている。続いて、図28に示すように、ホスト1は、書き込み準備コマンドをメモリカード2に供給する。メモリカード2は、書き込み準備コマンドを受けると、すぐに書き込みを開始できる状態に移行するための準備を行なう。メモリカード2は、リアルタイム書き込み(即時書き込み)可能状態(リアルタイム書き込み可能モード)への移行処理を行なっている間は、ホスト1に、例えばビジー状態を示す信号を送信することによって、準備中である旨を伝える。ビジー状態が解除されると、ホスト1は書き込みを開始する。   First, as shown in FIG. 29, data 1 to data 8 are written in the first to eighth RUs of AU1, and data 9 to data 16 are written to the first to eighth RUs of AU2. Subsequently, as shown in FIG. 28, the host 1 supplies a write preparation command to the memory card 2. When the memory card 2 receives the write preparation command, it prepares to shift to a state where writing can be started immediately. The memory card 2 is in preparation by transmitting, for example, a signal indicating a busy state to the host 1 while performing processing for shifting to a real-time write (immediate write) enabled state (real-time write enabled mode). Tell the effect. When the busy state is released, the host 1 starts writing.

図29に示すように、ホスト1は、AU1の第4乃至第6RUにデータ20乃至データ22を書き込むことを希望している。この書き込みを行なうために、ホスト1は、図28に示すように、メモリカード2に、書き込みコマンド、続いてAU1の第4乃至第6RUと関連付けられたデータ20乃至データ22を供給する。   As shown in FIG. 29, the host 1 desires to write data 20 to 22 in the fourth to sixth RUs of AU1. In order to perform this writing, as shown in FIG. 28, the host 1 supplies the memory card 2 with a write command and subsequently data 20 to data 22 associated with the fourth to sixth RUs of AU1.

リアルタイム書き込み可能状態のメモリカード2は、書き込み要求を受け取ると、図29に示すように、後に述べる継続コマンドを受けた場合を除いて、書き込み対象のAU(AU1)のためのワークAU(ワークAU1)を用意する。   When the memory card 2 in the real-time writable state receives the write request, as shown in FIG. 29, the work AU (work AU1) for the write target AU (AU1) is received except when a continuation command described later is received. ).

この書き込み要求は、AUの先頭ではないRUからの書き込みを要求している。即時書き込み状態のメモリカード2は、書き込みデータのRU(本例では第4乃至第6RU)が属するAU(AU1)のうちで、書き込みデータのRUより上位のRU(第1乃至第3RU)のデータはワークAU(ワークAU1)にコピーしない。したがって、図30に示すように、メモリカード2は、ワークAU内の、AU1内でデータ20乃至データ22を書き込まれているRUと同じ第4乃至第6RUにデータ20乃至データ22をそれぞれ書き込む。   This write request requests a write from an RU that is not the head of the AU. The memory card 2 in the immediate write state has the RU (first to third RU) data higher than the write data RU among the AUs (AU1) to which the write data RUs (fourth to sixth RUs in this example) belong. Does not copy to work AU (work AU1). Therefore, as shown in FIG. 30, the memory card 2 writes data 20 to data 22 in the fourth to sixth RUs in the work AU, which are the same as the RUs in which data 20 to data 22 are written in AU1.

ホスト1は、AU1の第7、第8RUのデータ7、データ8をデータ23、データ24データで更新するとともに、AU2の第1乃至第3RUのデータ9乃至データ11をデータ25乃至データ27で更新することを希望している。この更新を行なうために、ホスト1は、図28に示すように、メモリカード2に、書き込みコマンド、AU1の第7、第8RUと関連付けられたデータ23、データ24、AU2の第1乃至第3RUと関連付けられたデータ25乃至データ27を供給する。この書き込み要求を受け取ると、図32に示すように、メモリカード2は、ワークAU内の、AU1内でデータ23、データ24を書き込まれているRUと同じ第7、第8RUにデータ23、データ24をそれぞれ書き込む。この時点で、ワークAU1の最後のRUに書き込まれたので、メモリカード2は、ワークAUに対してクローズ処理を行なう。さらに、メモリカード2は、AU2のための新たなワークAUを用意する。   The host 1 updates data 7 and data 8 of the seventh and eighth RUs of AU1 with data 23 and data 24, and updates data 9 to data 11 of AU2 with data 25 to data 27. Hope to do. In order to perform this update, as shown in FIG. 28, the host 1 sends a write command, data 23 associated with the seventh and eighth RUs of AU1, data 24, and first to third RUs of AU2 to the memory card 2. The data 25 to the data 27 associated with are supplied. When this write request is received, as shown in FIG. 32, the memory card 2 stores the data 23 and data in the seventh and eighth RUs in the work AU, which are the same as the RUs in which data 23 and data 24 are written in AU1. Write 24 each. At this time, since the data was written in the last RU of the work AU1, the memory card 2 performs a closing process on the work AU. Further, the memory card 2 prepares a new work AU for AU2.

図33に示すように、メモリカード2は、ワークAU内の、AU2内でデータ25乃至データ27を書き込まれているRUと同じ第1乃至第3RUにデータ25乃至データ27をそれぞれ書き込む。   As shown in FIG. 33, the memory card 2 writes the data 25 to data 27 in the first to third RUs in the work AU, which are the same as the RUs in which the data 25 to data 27 are written in the AU2.

書き込み要求が終了したので、図28に示すように、ホスト1は、クローズ・コマンドをメモリカード2に供給する。クローズ・コマンドは、第1実施形態と同様にクローズ処理対象のワークAUを指定する引数を有しており、さらに、コピーの有りまたは無しを設定する引数を有している。図28で供給されるクローズ・コマンドでは、コピー無しが指定されている。図33に示すように、メモリカード2は、このコマンドを受け取ると、直前の書き込みコマンドによる書き込みの対象となっているAU(AU2)内の更新されないRU(第3乃至第8RU)のデータ12乃至データ16をワークAU2にコピーせずに、ワークAU2に対してクローズ処理を行なう。   Since the write request has been completed, the host 1 supplies a close command to the memory card 2 as shown in FIG. As in the first embodiment, the close command has an argument for specifying the work AU to be closed, and further has an argument for setting whether or not there is a copy. In the close command supplied in FIG. 28, no copy is specified. As shown in FIG. 33, when the memory card 2 receives this command, the data 12 to the RU (third to eighth RU) that are not updated in the AU (AU2) to be written by the immediately preceding write command. The close process is performed on the work AU2 without copying the data 16 to the work AU2.

第2実施形態においては、リアルタイム書き込み可能状態以外の動作は、第1実施形態のランダム書き込みモードと同じである。   In the second embodiment, operations other than the real-time writable state are the same as the random write mode of the first embodiment.

[2]第2例
次に、第1例を応用して複数のファイルデータを平行して記録することについて、図34乃至図39を参照して説明する。図34は、第2実施形態に係るメモリカードが受信するコマンド、データの第2例を示している。図35乃至図39は、第2実施形態に係るメモリカード2での第2例の書き込み時の一状態を順に示している。図35乃至図39内の、ワークAUを除くAUは、ファイルシステム12が認識しているAUを表現しており、またメモリカード2内でこのAU内のデータを記憶しているAUも表現している。
[2] Second Example Next, recording a plurality of file data in parallel by applying the first example will be described with reference to FIGS. FIG. 34 shows a second example of commands and data received by the memory card according to the second embodiment. 35 to 39 sequentially show one state at the time of writing in the second example in the memory card 2 according to the second embodiment. 35 to 39, the AU excluding the work AU represents the AU recognized by the file system 12, and also represents the AU storing the data in the AU in the memory card 2. ing.

図34に示すように、メモリカード2は、ホスト1から受け取った書き込み準備コマンドによってリアルタイム書き込み可能状態に移行する。   As shown in FIG. 34, the memory card 2 shifts to a real-time writable state by a write preparation command received from the host 1.

図35に示すように、ホスト1は、AU1の第1乃至第5RUにデータA1乃至データA5を書き込むことを希望している。この書き込みを行なうために、ホスト1は、図34に示すように、メモリカード2に、書き込みコマンド、続いてAU1の第1乃至第5RUと関連付けられたデータA1乃至データA5を供給する。AU1の第1乃至第8RUにデータX1乃至データX8が書き込まれている。   As shown in FIG. 35, the host 1 desires to write data A1 to data A5 in the first to fifth RUs of AU1. In order to perform this writing, as shown in FIG. 34, the host 1 supplies the memory card 2 with a write command and subsequently data A1 to data A5 associated with the first to fifth RUs of AU1. Data X1 to X8 are written in the first to eighth RUs of AU1.

上記のように、リアルタイム書き込み可能状態のメモリカード2は、後述の継続コマンドを受けた場合を除いて、新たなワークAUを用意する。このため、図36に示すように、メモリカード2は、AU1のためのワークAU1を用意する。続いて、メモリカード2は、ワークAU1内の、AU1内でデータA1乃至データA5を書き込まれているRUと同じ第1乃至第5RUにデータA1乃至データA5をそれぞれ書き込む。   As described above, the memory card 2 in the real-time writable state prepares a new work AU except when a continuation command described later is received. For this reason, as shown in FIG. 36, the memory card 2 prepares a work AU1 for AU1. Subsequently, the memory card 2 writes data A1 to data A5 in the first to fifth RUs in the work AU1, which are the same as the RUs in which data A1 to data A5 are written in AU1, respectively.

ホスト1は、データA1乃至データA5が一部を構成するファイルデータとは別のファイルデータを平行して書き込むことを望んでいる。このため、ワークAU1に引き続き書き込みを行なうことを予定している。このために、図34に示すように、ホスト1は、継続コマンドをメモリカード2に供給する。継続コマンドは、クローズ・コマンドにおいて、クローズ処理の命令か、ワークAUの継続の命令かを指定する引数を設けることによって実現できる。または、クローズ・コマンドとは別のコマンドが設けられてもよい。図36に示すように、メモリカード2は、継続コマンドを受け取ると、ワークAU1に対してクローズ処理を行なわずに、このコマンドの直前に書き込み要求を受けた対象であるAU1のためのワークAU1を引き続き保持する。   The host 1 desires to write in parallel file data different from the file data of which data A1 to data A5 constitute a part. For this reason, it is scheduled to continue writing to the work AU1. For this purpose, the host 1 supplies a continuation command to the memory card 2 as shown in FIG. The continuation command can be realized by providing an argument for designating a close processing instruction or a work AU continuation instruction in the close command. Alternatively, a command different from the close command may be provided. As shown in FIG. 36, when the memory card 2 receives the continuation command, the memory card 2 does not perform the closing process on the work AU1, but instead selects the work AU1 for the AU1 that has received the write request immediately before this command. Continue to hold.

図36に示すように、ホスト1は、AU2の第1乃至第3RUにデータB1乃至データB3を書き込むことを希望している。この書き込みを行なうために、ホスト1は、図34に示すように、メモリカード2に、書き込みコマンド、続いてAU2の第1乃至第3RUと関連付けられたデータB1乃至データB3を供給する。   As shown in FIG. 36, the host 1 desires to write data B1 to data B3 to the first to third RUs of AU2. In order to perform this writing, as shown in FIG. 34, the host 1 supplies the memory card 2 with a write command and subsequently data B1 to data B3 associated with the first to third RUs of AU2.

上記のように、リアルタイム書き込み可能状態のメモリカード2は、書き込みコマンドを受けると、継続コマンドによってワークAUの継続使用を要求された場合を除いて、新たなワークAUを作成する。データB1乃至データB3はデータA1乃至A3が属するAU(AU1)とは別のAU(AU2)に属するので、図37に示すように、メモリカード2は、書き込みデータB1乃至データB3を受け取ると、ワークAU2を用意する。メモリカード2は、ワークAU2内の、AU2内でデータB1乃至データB3を書き込まれているRUと同じ第1乃至第3RUにデータB1乃至データB3をそれぞれ書き込む。   As described above, when the memory card 2 in the real-time writable state receives the write command, it creates a new work AU except when the continuous use of the work AU is requested by the continuation command. Since the data B1 to data B3 belong to an AU (AU2) different from the AU (AU1) to which the data A1 to A3 belong, as shown in FIG. 37, when the memory card 2 receives the write data B1 to data B3, Work AU2 is prepared. The memory card 2 writes data B1 to data B3 in the first to third RUs in the work AU2 that are the same as the RUs in which data B1 to data B3 are written in AU2.

続いて、データA5に続くデータを書き込むために、図34に示すように、ホスト1は、継続コマンドをメモリカード2に供給する。図37に示すように、メモリカード2は、継続コマンドを受け取ると、このコマンドの直前に書き込み要求の対象であったAUのためのワークAU2を引き続き保持する。   Subsequently, in order to write data following the data A5, the host 1 supplies a continuation command to the memory card 2 as shown in FIG. As shown in FIG. 37, when the memory card 2 receives the continuation command, the memory card 2 continues to hold the work AU2 for the AU that was the target of the write request immediately before this command.

図37に示すように、ホスト1は、AU1の第6、第7RUにデータA6、データA7を書き込むことを希望している。この書き込みを行なうために、ホスト1は、図34に示すように、メモリカード2に、書き込みコマンド、続いてAU1の第6、第7RUと関連付けられたデータA6、データA7を供給する。   As shown in FIG. 37, the host 1 desires to write data A6 and data A7 in the sixth and seventh RUs of AU1. In order to perform this writing, as shown in FIG. 34, the host 1 supplies the memory card 2 with a write command, and subsequently data A6 and data A7 associated with the sixth and seventh RUs of AU1.

図38に示すように、メモリカード2は、AU1のためのワークAU1を維持しているので、メモリカード2は、書き込みコマンドを受けて新たなワークAUを作成しない。代わりに、メモリカード2は、ワークAU1内の、AU1内でデータA6、データA7を書き込まれているRUと同じ第6、第7RUにデータA6、データA7をそれぞれ書き込む。   As shown in FIG. 38, since the memory card 2 maintains the work AU1 for AU1, the memory card 2 does not create a new work AU in response to the write command. Instead, the memory card 2 writes the data A6 and the data A7 in the sixth and seventh RUs in the work AU1 that are the same as the RUs in which the data A6 and data A7 are written in the AU1, respectively.

続いて、データB3に続くデータを書き込むために、図34に示すように、ホスト1は、継続コマンドをメモリカード2に供給する。図38に示すように、メモリカード2は、継続コマンドを受け取ると、このコマンドの直前に書き込み要求の対象であったAUのためのワークAU1を引き続き保持する。   Subsequently, in order to write data following the data B3, the host 1 supplies a continuation command to the memory card 2 as shown in FIG. As shown in FIG. 38, when the memory card 2 receives the continuation command, the memory card 2 continues to hold the work AU1 for the AU that was the target of the write request immediately before this command.

次に、図38に示すように、ホスト1は、AU2の第4、第5RUにデータB4、データB5を書き込むことを希望している。この書き込みを行なうために、ホスト1は、図34に示すように、メモリカード2に、書き込みコマンド、続いてAU2の第4、第5RUと関連付けられたデータB4、データB6を供給する。   Next, as shown in FIG. 38, the host 1 desires to write data B4 and data B5 in the fourth and fifth RUs of AU2. In order to perform this writing, as shown in FIG. 34, the host 1 supplies the memory card 2 with a write command, and subsequently data B4 and data B6 associated with the fourth and fifth RUs of AU2.

図39に示すように、メモリカード2は、AU2のためのワークAU2を維持しているので、メモリカード2は、維持しているワークAU2内の、AU2内でデータB4、データB5を書き込まれているRUと同じ第4、第5RUにデータB4、データB5をそれぞれ書き込む。   As shown in FIG. 39, since the memory card 2 maintains the work AU2 for the AU2, the memory card 2 has the data B4 and the data B5 written in the AU2 within the work AU2 being maintained. Data B4 and data B5 are written in the fourth and fifth RUs, which are the same as the RUs that are in progress

図38に示すように、ホスト1は、AU2の第6RUにデータB6を書き込むことを希望している。ホスト1は、直前に書き込まれたRUを含んでいるAU内のRUへの書き込みを要求する場合、継続コマンドを供給せずに、書き込みコマンドを続けて供給することによってこれを行なうことができる。そこで、この書き込みを行なうために、ホスト1は、図34に示すように、メモリカード2に、書き込みコマンド、続いてAU2の第6RUと関連付けられたデータB6を供給する。メモリカード2は、この書き込み要求を受け取ると、ワークAU2内の、AU2内でデータB6を書き込まれているRUと同じ第6RUにデータB6を書き込む。   As shown in FIG. 38, the host 1 desires to write data B6 to the sixth RU of AU2. When the host 1 requests to write to the RU in the AU including the RU written immediately before, the host 1 can do this by continuously supplying the write command without supplying the continuation command. Therefore, in order to perform this writing, as shown in FIG. 34, the host 1 supplies the memory card 2 with the write command and subsequently the data B6 associated with the sixth RU of AU2. When receiving the write request, the memory card 2 writes the data B6 in the sixth RU in the work AU2 that is the same as the RU in which the data B6 is written in the AU2.

書き込み要求が終了したので、図34に示すように、ホスト1は、クローズ・コマンドをメモリカード2に供給する。図34の例では、クローズ・コマンドのクローズ対象のワークAUの引数は全ワークAUを指定しており、また、コピー無しの指定も引数に記載されている。図39に示すように、メモリカード2は、このコマンドを受け取ると、AU1内の更新されないRU(第8RU)のデータX8をワークAU1にコピーせずに、ワークAU1、ワークAU2に対してクローズ処理を行なう。   Since the write request has been completed, the host 1 supplies a close command to the memory card 2 as shown in FIG. In the example of FIG. 34, all the work AUs are specified as the arguments of the work AUs to be closed by the close command, and the designation of no copy is also described in the arguments. As shown in FIG. 39, when the memory card 2 receives this command, the memory card 2 closes the work AU1 and the work AU2 without copying the data X8 of the RU (eighth RU) not updated in the AU1 to the work AU1. To do.

[3]第3例
次に、第1例を応用して複数のファイルデータを平行して記録する別の例について、図40乃至図47を参照して説明する。図40は、第2実施形態に係るメモリカードが受信するコマンド、データの第3例を示している。図41乃至図47は、第2実施形態に係るメモリカード2での第3例の書き込み時の一状態を順に示している。これらの図のデータA1乃至A7は動画データであり、データB1乃至データB3、データC1乃至データC3は静止画データであるのが典型例である。図41乃至図48内の、ワークAUを除くAUは、ファイルシステム12が認識しているAUを表現しており、またメモリカード2内でこのAU内のデータを記憶しているAUも表現している。
[3] Third Example Next, another example of applying a first example and recording a plurality of file data in parallel will be described with reference to FIGS. FIG. 40 shows a third example of commands and data received by the memory card according to the second embodiment. 41 to 47 sequentially show one state at the time of writing of the third example in the memory card 2 according to the second embodiment. The data A1 to A7 in these figures are moving image data, and the data B1 to data B3 and the data C1 to data C3 are typically still image data. In FIG. 41 to FIG. 48, AUs excluding work AUs represent AUs recognized by the file system 12, and also represent AUs that store data in the AUs in the memory card 2. ing.

図40に示すように、メモリカード2は、ホスト1から受け取った書き込み準備コマンドによってリアルタイム書き込み可能状態に移行する。   As shown in FIG. 40, the memory card 2 shifts to a real-time writable state by a write preparation command received from the host 1.

図41に示すように、ホスト1は、AU1の第1乃至第5RUにデータA1乃至データA5を書き込むことを希望している。この書き込みを行なうために、ホスト1は、図40に示すように、メモリカード2に、書き込みコマンド、続いてAU1の第1乃至第5RUと関連付けられたデータA1乃至データA5を供給する。AU1の第1乃至第8RUにデータX1乃至データX8が書き込まれている。   As shown in FIG. 41, the host 1 desires to write data A1 to data A5 in the first to fifth RUs of AU1. In order to perform this writing, as shown in FIG. 40, the host 1 supplies the memory card 2 with a write command and subsequently data A1 to data A5 associated with the first to fifth RUs of AU1. Data X1 to X8 are written in the first to eighth RUs of AU1.

上記のように、リアルタイム書き込み可能状態のメモリカード2は、継続コマンドを受けた場合を除いて、新たなワークAUを用意するので、図42に示すように、メモリカード2は、AU1のためのワークAU1を用意する。続いて、メモリカード2は、ワークAU1内の、AU1内でデータA1乃至データA5を書き込まれているRUと同じ第1乃至第5RUにデータA1乃至データA5をそれぞれ書き込む。   As described above, the memory card 2 in the real-time writable state prepares a new work AU except when a continuation command is received. Therefore, as shown in FIG. Work AU1 is prepared. Subsequently, the memory card 2 writes data A1 to data A5 in the first to fifth RUs in the work AU1, which are the same as the RUs in which data A1 to data A5 are written in AU1, respectively.

ホスト1は、データA1乃至データA5が一部を構成するファイルデータとは別のファイルデータを平行して書き込むことを望んでいる。このために、図40に示すように、ホスト1は、継続コマンドをメモリカード2に供給する。図42に示すように、メモリカード2は、継続コマンドを受け取ると、ワークAU1を引き続き保持する。   The host 1 desires to write in parallel file data different from the file data of which data A1 to data A5 constitute a part. For this purpose, the host 1 supplies a continuation command to the memory card 2 as shown in FIG. As shown in FIG. 42, when the memory card 2 receives the continuation command, the memory card 2 continues to hold the work AU1.

図42に示すように、ホスト1は、AU2の第1乃至第3RUにデータB1乃至データB3を書き込むことを希望している。この書き込みを行なうために、ホスト1は、図40に示すように、メモリカード2に、書き込みコマンド、続いてAU2の第1乃至第3RUと関連付けられたデータB1乃至データB3を供給する。AU2の第1乃至第8RUにデータY1乃至データY8が書き込まれている。   As shown in FIG. 42, the host 1 desires to write data B1 to data B3 to the first to third RUs of AU2. In order to perform this writing, as shown in FIG. 40, the host 1 supplies the memory card 2 with a write command and subsequently data B1 to data B3 associated with the first to third RUs of AU2. Data Y1 to Y8 are written in the first to eighth RUs of AU2.

データB1乃至データB3は、先に書き込みを行なったAU1とは異なるAUに属するので、図43に示すように、メモリカード2は、書き込みデータB1乃至B3を受け取ると、ワークAU2を用意する。メモリカード2は、ワークAU2内の、AU2内でデータB1乃至データB3を書き込まれているRUと同じ第1乃至第3RUにデータB1乃至データB3をそれぞれ書き込む。   Since the data B1 to data B3 belong to an AU different from the previously written AU1, as shown in FIG. 43, when the memory card 2 receives the write data B1 to B3, the work AU2 is prepared. The memory card 2 writes data B1 to data B3 in the first to third RUs in the work AU2 that are the same as the RUs in which data B1 to data B3 are written in AU2.

データB1乃至B3から構成されるファイルデータの書き込みが終了したので、図40に示すように、ホスト1は、クローズ・コマンドをメモリカード2に供給する。このクローズ・コマンドは、コピー無しを引数によって指定されている。このため、図44に示すように、メモリカード2は、このコマンドを受け取ると、直前の書き込みコマンドによる書き込みの対象となっているAU2内の更新されていないRU(第4乃至第8RU)のデータY4乃至データY8をワークAU2にコピーせずに、ワークAU2に対してクローズ処理を行なう。   Since the writing of the file data composed of the data B1 to B3 is completed, the host 1 supplies a close command to the memory card 2 as shown in FIG. This close command specifies no copy as an argument. Therefore, as shown in FIG. 44, when the memory card 2 receives this command, the data of the RUs (fourth to eighth RUs) that have not been updated in the AU2 to be written by the immediately preceding write command. The close process is performed on the work AU2 without copying Y4 to data Y8 to the work AU2.

図44に示すように、ホスト1は、AU1の第6、第7RUにデータA6、データA7を書き込むことを希望している。この書き込みを行なうために、ホスト1は、図40に示すように、メモリカード2に、書き込みコマンド、続いてAU1の第6、第7RUと関連付けられたデータA6、データA7を供給する。   As shown in FIG. 44, the host 1 desires to write data A6 and data A7 in the sixth and seventh RUs of AU1. In order to perform this writing, as shown in FIG. 40, the host 1 supplies the memory card 2 with a write command, and subsequently data A6 and data A7 associated with the sixth and seventh RUs of AU1.

図44に示すように、メモリカード2は、AU1のためのワークAU1を維持しているので、メモリカード2は、書き込みコマンドを受けて新たなワークAUを作成しない。代わりに、メモリカード2は、ワークAU1内の、AU1内でデータA6、データA7を書き込まれているRUと同じ第6、第7RUにデータA6、データA7をそれぞれ書き込む。   As shown in FIG. 44, since the memory card 2 maintains the work AU1 for the AU1, the memory card 2 does not create a new work AU in response to the write command. Instead, the memory card 2 writes the data A6 and the data A7 in the sixth and seventh RUs in the work AU1 that are the same as the RUs in which the data A6 and data A7 are written in the AU1, respectively.

データA1乃至A7から構成されるファイルデータの書き込みが終了し、図45に示すように、ホスト1は、AU3の第1乃至第3RUにデータC1乃至データC3を書き込むことを希望している。この書き込みを行なうために、ホスト1は、図40に示すように、メモリカード2に、書き込みコマンド、続いてAU2の第1乃至第3RUと関連付けられたデータC1乃至データC3を供給する。AU3の第1乃至第8RUにデータZ1乃至データZ8が書き込まれている。   Writing of the file data composed of the data A1 to A7 is completed, and as shown in FIG. 45, the host 1 desires to write the data C1 to C3 to the first to third RUs of AU3. In order to perform this writing, as shown in FIG. 40, the host 1 supplies the memory card 2 with a write command and subsequently data C1 to data C3 associated with the first to third RUs of AU2. Data Z1 to Z8 are written in the first to eighth RUs of AU3.

データC1乃至データC3は、先に書き込みを行なったAU1とは異なるAUに属する。また、AU1の中には、更新されなかったデータX8が残っている。この状態で、継続コマンドを受けずに書き込みコマンドを受けたメモリカード2は、この最後に書き込みを行なったAU1内の更新されていないデータをワークAUにコピーする。すなわち、図46に示すように、メモリカード2は、ワークAU1内の、AU1内でデータX8を割り当てられたRUと同じ第8RUにデータX8をコピーする。この後、メモリカード2は、ワークAU1をクローズ処理する指示を持つクローズ・コマンドを受けていないので、ワークAU1に対してクローズ処理を行なわない。なお、このコピー動作は、リアルタイム書き込みの終了後なので、書き込みや、書き込み時間の算出に影響を与えない。AU1内のデータX8をワークAU1にコピーすることを、クローズ・コマンドを用いて行なうこともできる。すなわち、データC1乃至データC3を書き込むための書き込みコマンドの供給に先立って、ホスト1は、引数においてコピー有りを指定されたクローズ・コマンドをメモリカード2に供給する。メモリカード2は、このようなクローズ・コマンドを受け取ると、対象のAU(AU1)内の最後に書き込まれたRU(第7RU)以降のRU(第8RU)のデータX8をワークAU1の同じ第8RUにコピーする。   The data C1 to data C3 belong to a different AU from the previously written AU1. Further, data X8 that has not been updated remains in AU1. In this state, the memory card 2 that has received the write command without receiving the continuation command copies the unupdated data in the AU 1 that has written last to the work AU. That is, as shown in FIG. 46, the memory card 2 copies the data X8 to the eighth RU in the work AU1 that is the same as the RU assigned the data X8 in AU1. Thereafter, since the memory card 2 has not received a close command having an instruction to close the work AU1, the memory card 2 does not perform the close process on the work AU1. Note that this copying operation is after the end of real-time writing, and therefore does not affect writing or calculation of writing time. Copying data X8 in AU1 to work AU1 can also be performed using a close command. That is, prior to supplying a write command for writing data C1 to data C3, the host 1 supplies the memory card 2 with a close command designated as copy in the argument. When the memory card 2 receives such a close command, the data X8 of the RU (eighth RU) after the last written RU (seventh RU) in the target AU (AU1) is used as the same eighth RU of the work AU1. Copy to.

続いて、メモリカード2は、AU3のためのワークAU3を用意する。データC1乃至データC3は、AU3の先頭のRUからの書き込みなのでコピーは必要ない。このため、図47に示すように、メモリカード2は、ワークAU3内の、AU3内でデータC1乃至C3を書き込まれているRUと同じ第1乃至第3RUにデータC1乃至データC3をそれぞれ書き込む。   Subsequently, the memory card 2 prepares a work AU3 for AU3. Data C1 to C3 are written from the head RU of AU3, so copying is not necessary. Therefore, as shown in FIG. 47, the memory card 2 writes data C1 to data C3 in the first to third RUs in the work AU3, which are the same as the RUs in which data C1 to C3 are written in AU3.

データA1乃至A7から構成されるファイルデータ、およびデータC1乃至C3から構成されるファイルデータの書き込みが終了したので、図40に示すように、ホスト1は、クローズ・コマンドをメモリカード2に供給する。このクローズ・コマンドは、コピー無しの指示を引数において指定されており、かつ、全てのワークAU(本例ではワークAU1、AU3)に対してクローズ処理を行なう指示を引数において指定されている。このため、図47に示すように、メモリカード2は、このコマンドを受け取ると、ワークAU1に対してクローズ処理を行なうとともに、ワークAU3内の更新されていないRU(第4乃至第8RU)のデータZ4乃至データZ8をワークAU3にコピーせずに、ワークAU3に対してクローズ処理を行なう。   Since the writing of the file data composed of the data A1 to A7 and the file data composed of the data C1 to C3 is completed, the host 1 supplies a close command to the memory card 2 as shown in FIG. . In this close command, an instruction for no copy is specified as an argument, and an instruction for performing close processing on all the work AUs (work AU1 and AU3 in this example) is specified as an argument. Therefore, as shown in FIG. 47, when the memory card 2 receives this command, the memory card 2 performs the closing process on the work AU1 and also the data of the RUs (fourth to eighth RUs) not updated in the work AU3. A close process is performed on the work AU3 without copying Z4 to data Z8 to the work AU3.

以上述べたように、第2実施形態に係るメモリカードによれば、リアルタイム書き込み状態が定義されている。リアルタイム書き込み状態のメモリカードは、書き込みコマンドを受け取ると、未書き込みのRUのみからなるワークAUを用意して、ワークAU内のRUに書き込みデータを書き込みデータの論理アドレスの順に従って書き込む。このような連続する未書き込みRUへの書き込みの速度は、フラッシュメモリ21が達成可能な最大書き込み速度である。最大書き込み速度は、フラッシュメモリ21の性能に依存し、ほぼ一定である。このため、最大書き込み速度と、ホスト1が書き込みを求めるデータの容量から算出された必要なAU(RU)の数から、要求された書き込みを完了するのに要する時間を容易に算出できる。また、書き込み時間の算出が容易なため、この算出に必要な時間も短い。   As described above, according to the memory card according to the second embodiment, the real-time write state is defined. When the memory card in the real-time write state receives a write command, it prepares a work AU consisting only of unwritten RUs and writes the write data to the RUs in the work AU in the order of the logical addresses of the write data. The speed of writing to such consecutive unwritten RUs is the maximum writing speed that the flash memory 21 can achieve. The maximum writing speed depends on the performance of the flash memory 21 and is almost constant. Therefore, the time required to complete the requested write can be easily calculated from the maximum write speed and the number of necessary AUs (RU) calculated from the data capacity that the host 1 requests to write. Further, since the calculation of the writing time is easy, the time required for this calculation is short.

また、第2実施形態に係るメモリカードでは、継続コマンドが設けられる。継続コマンドによって、ワークAUに対してクローズ処理を行なわずに別のワークAUを用意することができる。このため、2つ以上の別個のファイルのデータに対して、各ファイルデータに専用のワークAUが設けられることによって、2つ以上のファイルデータを平行して保存することが可能になる。   In the memory card according to the second embodiment, a continuation command is provided. With the continuation command, another work AU can be prepared without performing the closing process on the work AU. For this reason, by providing a dedicated work AU for each file data with respect to data of two or more separate files, it becomes possible to store two or more file data in parallel.

なお、継続コマンドは、作成済みのワークAUへの書き込みを一時的に停止することをもたらすのみである。このため、メモリカードが第2例のように、継続コマンドを受け取ったとしても、結局は、第1例のように一時停止せずに未書き込みの連続するRUのみに書き込みを行なうことと同じである。   Note that the continuation command only causes the temporary writing to the created work AU to be stopped. For this reason, even if the memory card receives a continuation command as in the second example, it is eventually the same as writing only to unwritten consecutive RUs without pausing as in the first example. is there.

その他、本発明の思想の範疇において、当業者であれば、各種の変更例及び修正例に想到し得るものであり、それら変更例及び修正例についても本発明の範囲に属するものと了解される。   In addition, in the category of the idea of the present invention, those skilled in the art can conceive of various changes and modifications, and it is understood that these changes and modifications also belong to the scope of the present invention. .

第1実施形態に係るメモリカードの主要な機能ブロックを、ホスト装置の機能ブロックとともに示す図。The figure which shows the main functional blocks of the memory card based on 1st Embodiment with the functional block of a host apparatus. レジスタの詳細を例示する図。The figure which illustrates the detail of a register. メモリ空間の構成を示す図。The figure which shows the structure of memory space. ホストが認識している記憶領域とメモリカードの記憶領域を示す図。The figure which shows the storage area which the host has recognized, and the storage area of a memory card. 第1実施形態のメモリカードが取り得るモードの遷移図。FIG. 6 is a transition diagram of modes that the memory card of the first embodiment can take. 第1実施形態のメモリカードでの第1例の書き込み時の一状態を例示する図。The figure which illustrates one state at the time of writing of the 1st example in the memory card of a 1st embodiment. 図6に続く状態を例示する図。The figure which illustrates the state following FIG. 図7に続く状態を例示する図。The figure which illustrates the state following FIG. 図8に続く状態を例示する図。The figure which illustrates the state following FIG. 第1実施形態のメモリカードが受信するコマンド、データの第1例を示す図。The figure which shows the 1st example of the command and data which the memory card of 1st Embodiment receives. 第1実施形態のメモリカードでの第1例の書き込み時の一状態を示す図。The figure which shows one state at the time of writing of the 1st example in the memory card of 1st Embodiment. 図11に続く状態を例示する図。The figure which illustrates the state following FIG. 図12に続く状態を例示する図。The figure which illustrates the state following FIG. 図13に続く状態を例示する図。The figure which illustrates the state following FIG. 図14に続く状態を例示する図。The figure which illustrates the state following FIG. 第1実施形態のメモリカードが受信するコマンド、データの第2例を示す図。The figure which shows the 2nd example of the command and data which the memory card of 1st Embodiment receives. 第1実施形態のメモリカードでの第2例の書き込み時の一状態を示す図。The figure which shows one state at the time of writing of the 2nd example in the memory card of 1st Embodiment. 図17に続く状態を例示する図。The figure which illustrates the state following FIG. 図18に続く状態を例示する図。The figure which illustrates the state following FIG. 図19に続く状態を例示する図。The figure which illustrates the state following FIG. 図20に続く状態を例示する図。The figure which illustrates the state following FIG. 第1実施形態のメモリカードが受信するコマンド、データの第3例を示す図。The figure which shows the 3rd example of the command and data which the memory card of 1st Embodiment receives. 第1実施形態のメモリカードでの第3例の書き込み時の一状態を示す図。The figure which shows one state at the time of writing of the 3rd example in the memory card of 1st Embodiment. 図23に続く状態を例示する図。The figure which illustrates the state following FIG. 図24に続く状態を例示する図。The figure which illustrates the state following FIG. 図25に続く状態を例示する図。The figure which illustrates the state following FIG. 図26に続く状態を例示する図。The figure which illustrates the state following FIG. 第2実施形態のメモリカードが受信するコマンド、データの第1例を示す図。The figure which shows the 1st example of the command and data which the memory card of 2nd Embodiment receives. 第2実施形態のメモリカードでの第1例の書き込み時の一状態を示す図。A figure showing one state at the time of writing of the 1st example in a memory card of a 2nd embodiment. 図29に続く状態を例示する図。The figure which illustrates the state following FIG. 図30に続く状態を例示する図。The figure which illustrates the state following FIG. 図31に続く状態を例示する図。The figure which illustrates the state following FIG. 図32に続く状態を例示する図。The figure which illustrates the state following FIG. 第2実施形態のメモリカードが受信するコマンド、データの第2例を示す図。The figure which shows the 2nd example of the command and data which the memory card of 2nd Embodiment receives. 第2実施形態のメモリカードでの第2例の書き込み時の一状態を示す図。A figure showing one state at the time of writing of the 2nd example in a memory card of a 2nd embodiment. 図35に続く状態を例示する図。The figure which illustrates the state following FIG. 図36続く状態を例示する図。FIG. 36 is a diagram illustrating a state following the state; 図37に続く状態を例示する図。The figure which illustrates the state following FIG. 図38に続く状態を例示する図。The figure which illustrates the state following FIG. 第2実施形態のメモリカードが受信するコマンド、データの第3例を示す図。The figure which shows the 3rd example of the command and data which the memory card of 2nd Embodiment receives. 第2実施形態のメモリカードでの第3例の書き込み時の一状態を示す図。A figure showing one state at the time of writing of the 3rd example in a memory card of a 2nd embodiment. 図41に続く状態を例示する図。The figure which illustrates the state following FIG. 図42続く状態を例示する図。42 is a diagram illustrating the state following FIG. 図43に続く状態を例示する図。The figure which illustrates the state following FIG. 図44に続く状態を例示する図。The figure which illustrates the state following FIG. 図45に続く状態を例示する図。The figure which illustrates the state following FIG. 図46に続く状態を例示する図。The figure which illustrates the state following FIG.

符号の説明Explanation of symbols

1…ホスト装置、2…メモリカード、11…ソフトウェア、12…ファイルシステム、13…SDインターフェース、21…フラッシュメモリ、22…コントローラ、31…SDインターフェース、32…MPU、33…ROM、34…RAM、35…NANDインターフェース、36…レジスタ、41…メモリ領域、42…ページバッファ、PG…ページ、BLK…ブロック、RU…RU、AU…AU。 DESCRIPTION OF SYMBOLS 1 ... Host device, 2 ... Memory card, 11 ... Software, 12 ... File system, 13 ... SD interface, 21 ... Flash memory, 22 ... Controller, 31 ... SD interface, 32 ... MPU, 33 ... ROM, 34 ... RAM, 35 ... NAND interface, 36 ... register, 41 ... memory area, 42 ... page buffer, PG ... page, BLK ... block, RU ... RU, AU ... AU.

Claims (10)

複数の記憶領域を有するメモリと、
書き込みデータを受け取ると、前記書き込みデータの論理アドレスと前記書き込みデータを記憶する前記記憶領域との対応を管理しながら前記書き込みデータを前記記憶領域に書き込み、不特定の大きさの書き込みデータを論理アドレス順番の制限なしに前記記憶領域に書き込むことが可能で且つ複数の連続する前記記憶領域からなる管理単位記憶領域の中の書き込み対象でなかったデータを保持する第1モードを有し、特定の大きさの複数の書き込みデータを各々の論理アドレスの大きくなる順に前記記憶領域に書き込み且つ前記管理単位記憶領域の中の書き込まれなかったデータを無効なデータとして取り扱う第2モードを有するコントローラと、
を具備することを特徴とするメモリデバイス。
A memory having a plurality of storage areas;
When the write data is received, the write data is written to the storage area while managing the correspondence between the logical address of the write data and the storage area for storing the write data, and the write data of an unspecified size is set to the logical address A first mode that holds data that was not to be written in a management unit storage area that can be written to the storage area without any restriction in order and that is composed of a plurality of consecutive storage areas, and has a specific size; A controller having a second mode for writing the plurality of write data to the storage area in order of increasing logical addresses and handling unwritten data in the management unit storage area as invalid data;
A memory device comprising:
前記コントローラが、前記記憶領域に対する書き込み速度に関する情報を保持するレジスタを具備することを特徴とする、請求項1のメモリデバイス。   The memory device according to claim 1, wherein the controller includes a register that holds information regarding a writing speed to the storage area. 前記コントローラが、前記第2モードへの移行を指示するコマンドを受け取ると前記第2モードに移行し、前記第1モードへの移行を指示するコマンドを受け取ると前記第1モードに移行することを特徴とする、請求項1のメモリデバイス。   The controller shifts to the second mode when receiving a command instructing transition to the second mode, and shifts to the first mode when receiving a command instructing transition to the first mode. The memory device of claim 1. 前記コントローラが、前記第2モードにおいて複数の連続する論理アドレスを割り当てられた書き込みデータの書き込み要求を受けたとき、前記書き込みデータの前記論理アドレスが属する論理アドレス領域に対応して一時的に用意された作業領域に前記書き込みデータを書き込み、
前記作業領域の中の最後の前記記憶領域への書き込みが完了するか、第1コマンドを受け取ると、その引数により未書き込み領域に対して前記書き込みデータの書き込み要求前の旧データのコピーを行うか行わないかを判断し、前記作業領域に論理アドレスを割り当てるとともに前記書き込みデータの前記書き込み要求前の旧データを記憶していた前記管理単位記憶領域を破棄する、
ことを特徴とする請求項3のメモリデバイス。
When the controller receives a write request for write data to which a plurality of consecutive logical addresses are assigned in the second mode, the controller temporarily prepares corresponding to the logical address area to which the logical address of the write data belongs. Write the write data to the work area
Whether writing to the last storage area in the work area is completed, or when the first command is received, copying the old data before the write data write request to the unwritten area by the argument Determining whether to do so, assigning a logical address to the work area and discarding the management unit storage area that had stored the old data before the write request of the write data,
The memory device according to claim 3.
前記コントローラが、
相互に所定の関連を有する、ある管理単位領域に属する論理アドレスを割り当てられている複数の第1書き込みデータを前記作業領域に書き込み、
相互に所定の関連を有し且つ前記第1書き込みデータの論理アドレスとは別な管理単位領域に属する論理アドレスを割り当てられている第2書き込みデータを前記作業領域とは別の作業領域に書き込む、
ことを特徴とする、請求項4のメモリデバイス。
The controller is
Write a plurality of first write data having a predetermined relationship with each other and assigned logical addresses belonging to a certain management unit area to the work area,
Writing second write data having a predetermined relationship with each other and assigned with a logical address belonging to a management unit area different from the logical address of the first write data to a work area different from the work area;
The memory device of claim 4, wherein:
前記コントローラが、前記作業領域が複数あるときに前記第1コマンドを受け取ると、複数の前記作業領域の全てまたは指定されたものの各々について、前記旧データを保持していた前記管理単位記憶領域に割り当てられていた論理アドレスを前記作業領域に割り当てるとともに前記書き込みデータの前記旧データを記憶していた前記管理単位記憶領域を破棄することを特徴とする請求項4のメモリデバイス。   When the controller receives the first command when there are a plurality of work areas, all or a specified one of the plurality of work areas is allocated to the management unit storage area that holds the old data. 5. The memory device according to claim 4, wherein the assigned logical address is assigned to the work area and the management unit storage area storing the old data of the write data is discarded. 複数の記憶領域を有するメモリと、
書き込みデータを受け取ると、前記書き込みデータの論理アドレスと前記書き込みデータを記憶する前記記憶領域との対応を管理しながら前記書き込みデータを前記記憶領域に書き込み、複数の連続する前記論理アドレスから構成される論理アドレス領域を認識し、第1コマンドを受け取るとリアルタイム書き込み可能状態に移行するコントローラと、
を具備し、
前記リアルタイム書き込み可能状態の前記コントローラは、書き込み要求を受けると、前記書き込みデータの前記論理アドレスが属する管理単位記憶領域に対応して一時的に用意された作業領域に、複数の書き込みデータを各々の論理アドレスの大きくなる順に前記作業領域中の前記記憶領域に書き込み、前記作業領域中の最後の前記記憶領域への書き込みが完了するか、第2コマンドを受け取ると前記作業領域に論理アドレスに割り当てる、ことを特徴とするメモリデバイス。
A memory having a plurality of storage areas;
When write data is received, the write data is written to the storage area while managing the correspondence between the logical address of the write data and the storage area for storing the write data, and is composed of a plurality of consecutive logical addresses A controller that recognizes the logical address area and transitions to a real-time writable state upon receipt of the first command;
Comprising
When the controller in the real-time writable state receives a write request, each controller writes a plurality of write data to a work area temporarily prepared corresponding to the management unit storage area to which the logical address of the write data belongs. Write to the storage area in the work area in order of increasing logical address, and write to the last storage area in the work area is completed, or when a second command is received, a logical address is assigned to the work area. A memory device characterized by that.
第1モードにおいて1つの前記作業領域を持ち、第2モードにおいて複数の前記作業領域を持つことにより複数のストリームの書き込みを可能にした請求項7のメモリデバイス。   8. The memory device according to claim 7, wherein a plurality of streams can be written by having one work area in the first mode and having a plurality of work areas in the second mode. 前記コントローラが、1つの前記管理単位記憶領域に属する前記論理アドレスで書き込み位置を指定される書き込みデータを、前記管理単位記憶領域内の複数の連続する前記記憶領域に書き込み、
前記コントローラが、一連の最後のデータの書き込み後に、
引数によって前記書き込みデータの前記書き込み要求前の旧データの保持を指示する前記第2コマンドを受取ると、前記作業領域の中で最後に書き込まれた前記記憶領域より大きなアドレスの前記記憶領域に前記書き込みデータの前記書き込み要求前の旧データを保持していた前記管理単位記憶領域内のデータをコピーしてから前記作業領域に論理アドレスを割り当て、
引数によって前記書き込みデータの前記書き込み要求前の旧データの破棄を指示する前記第2コマンドを受取ると、前記作業領域の中で最後に書き込まれた前記記憶領域より大きなアドレスの前記記憶領域に前記旧データを保持していた前記管理単位記憶領域内のデータをコピーせずに前記作業領域に論理アドレスを割り当てる、
ことを特徴とする請求項8のメモリデバイス。
The controller writes write data whose write position is designated by the logical address belonging to one management unit storage area to a plurality of continuous storage areas in the management unit storage area;
After the controller writes the last series of data,
When the second command instructing retention of old data before the write request of the write data by an argument is received, the write to the storage area having a larger address than the storage area written last in the work area A logical address is assigned to the work area after copying the data in the management unit storage area that holds the old data before the write request for data,
When the second command for instructing to discard the old data before the write request of the write data is received by an argument, the old data is stored in the storage area having a larger address than the last written storage area in the work area. Assigning a logical address to the work area without copying the data in the management unit storage area holding the data;
9. The memory device of claim 8, wherein:
前記作業領域が複数あるときに引数によって区別される前記第2コマンドを受け取ると、複数の前記作業領域の各々について、前記書き込みデータの書き込み要求前の旧データを未書き込みの前記記憶領域にコピーせずに前記旧データを保持していた前記管理単位記憶領域に割り当てられていた論理アドレスを前記作業領域に割り当てるとともに前記書き込みデータの前記書き込み要求前の旧データを記憶していた前記管理単位記憶領域を破棄する、ことを特徴とする請求項8のメモリデバイス。   When the second command distinguished by an argument is received when there are a plurality of work areas, the old data before the write request for the write data is copied to the unwritten storage area for each of the plurality of work areas. The management unit storage area in which the logical data assigned to the management unit storage area that has held the old data is assigned to the work area and the old data before the write request for the write data is stored. The memory device of claim 8, wherein the memory device is discarded.
JP2008316066A 2008-12-11 2008-12-11 Memory device Active JP5175703B2 (en)

Priority Applications (9)

Application Number Priority Date Filing Date Title
JP2008316066A JP5175703B2 (en) 2008-12-11 2008-12-11 Memory device
CN200980149510.2A CN102246151B (en) 2008-12-11 2009-12-11 Storage arrangement and control method thereof
PCT/JP2009/071069 WO2010067899A1 (en) 2008-12-11 2009-12-11 Memory device and controlling method of the same
KR1020117013369A KR101409095B1 (en) 2008-12-11 2009-12-11 Memory device and controlling method of the same
TW098142639A TWI430089B (en) 2008-12-11 2009-12-11 Memory device and controlling method of the same
EP09831999.9A EP2356571B1 (en) 2008-12-11 2009-12-11 Memory device and controlling method of the same
TW102148823A TWI534616B (en) 2008-12-11 2009-12-11 Controller
US13/158,126 US9110781B2 (en) 2008-12-11 2011-06-10 Memory device and controlling method of the same
US15/464,095 USRE48983E1 (en) 2008-12-11 2017-03-20 Memory device and controlling method of the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008316066A JP5175703B2 (en) 2008-12-11 2008-12-11 Memory device

Publications (2)

Publication Number Publication Date
JP2010140268A true JP2010140268A (en) 2010-06-24
JP5175703B2 JP5175703B2 (en) 2013-04-03

Family

ID=42242880

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008316066A Active JP5175703B2 (en) 2008-12-11 2008-12-11 Memory device

Country Status (7)

Country Link
US (2) US9110781B2 (en)
EP (1) EP2356571B1 (en)
JP (1) JP5175703B2 (en)
KR (1) KR101409095B1 (en)
CN (1) CN102246151B (en)
TW (2) TWI430089B (en)
WO (1) WO2010067899A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010146767A1 (en) * 2009-06-18 2010-12-23 パナソニック株式会社 Nonvolatile memory device, access device, nonvolatile memory system, and memory controller
WO2011013350A1 (en) * 2009-07-29 2011-02-03 パナソニック株式会社 Memory device, host device, and memory system
WO2013161398A1 (en) * 2012-04-25 2013-10-31 ソニー株式会社 Non-volatile memory device for sequential writing
WO2020213364A1 (en) * 2019-04-17 2020-10-22 キヤノン株式会社 Recording device, recording method, program, and memory card

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011175615A (en) * 2010-01-27 2011-09-08 Toshiba Corp Host device and memory device
US8938606B2 (en) * 2010-12-22 2015-01-20 Intel Corporation System, apparatus, and method for segment register read and write regardless of privilege level
CN102096722B (en) * 2011-03-21 2013-03-27 华为数字技术(成都)有限公司 File storage method and device
JP2012248258A (en) * 2011-05-31 2012-12-13 Funai Electric Co Ltd Optical disk device
JP5976608B2 (en) * 2012-10-30 2016-08-23 株式会社東芝 Memory device
KR102549540B1 (en) * 2017-09-22 2023-06-29 삼성전자주식회사 Storage device and method of operating the same
CN108683811A (en) * 2018-05-14 2018-10-19 Oppo广东移动通信有限公司 Mobile terminal and its biological information recognition method, unlocking method and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003308240A (en) * 2002-04-15 2003-10-31 Sony Corp Data storage device
WO2005106673A1 (en) * 2004-04-28 2005-11-10 Matsushita Electric Industrial Co., Ltd. Nonvolatile storage device and data write method
JP2006099210A (en) * 2004-09-28 2006-04-13 Matsushita Electric Ind Co Ltd Storage device
WO2008033952A2 (en) * 2006-09-15 2008-03-20 Sandisk Corporation Non-volatile memory and method for class-based update block replacement rules
WO2009013877A1 (en) * 2007-07-20 2009-01-29 Panasonic Corporation Memory controller, memory card, and nonvolatile memory system

Family Cites Families (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5745418A (en) * 1996-11-25 1998-04-28 Macronix International Co., Ltd. Flash memory mass storage system
US6230245B1 (en) * 1997-02-11 2001-05-08 Micron Technology, Inc. Method and apparatus for generating a variable sequence of memory device command signals
JP3524337B2 (en) * 1997-07-25 2004-05-10 キヤノン株式会社 Bus management device and control device for multifunction device having the same
FR2772384B1 (en) 1997-12-16 2000-02-04 Bp Chemicals Snc PROCESS FOR STARTING A POLYMERIZATION OF OLEFINE IN GAS PHASE
JP3585091B2 (en) * 1998-06-15 2004-11-04 富士通株式会社 Storage device
JP2000211216A (en) * 1999-01-25 2000-08-02 Canon Inc Information processing method and system for composite device
JP2000215149A (en) * 1999-01-25 2000-08-04 Canon Inc Controller for composite device
JP2000216935A (en) * 1999-01-25 2000-08-04 Canon Inc Information processing system for composite equipment
US6850995B1 (en) * 1999-01-25 2005-02-01 Canon Kabushiki Kaisha Control unit selectively connected with a first bus and a second bus for controlling a displaying process in parallel with a scanning process
US7457897B1 (en) * 2004-03-17 2008-11-25 Suoer Talent Electronics, Inc. PCI express-compatible controller and interface for flash memory
KR100389867B1 (en) * 2001-06-04 2003-07-04 삼성전자주식회사 Flash memory management method
US6633500B1 (en) 2002-04-26 2003-10-14 Macronix International Co., Ltd. Systems and methods for refreshing a non-volatile memory using a token
JP2005301497A (en) * 2004-04-08 2005-10-27 Hitachi Ltd Storage management system, restoration method and its program
CN100437517C (en) * 2004-04-28 2008-11-26 松下电器产业株式会社 Nonvolatile storage device and data write method
US7797483B1 (en) * 2004-06-23 2010-09-14 Emc Corporation Write interceptor for tracking changes to disk image
RU2348992C2 (en) 2004-07-12 2009-03-10 Кабусики Кайся Тосиба Storage device and leading device
JP4874588B2 (en) 2004-07-12 2012-02-15 株式会社東芝 Storage device and host device
US20060059384A1 (en) * 2004-08-16 2006-03-16 Fabrice Helliker Full backup from incremental /differential backups
US7779056B2 (en) * 2006-09-15 2010-08-17 Sandisk Corporation Managing a pool of update memory blocks based on each block's activity and data order
KR100771521B1 (en) * 2006-10-30 2007-10-30 삼성전자주식회사 Flash memory device having a multi-leveled cell and programming method thereof
US8090917B2 (en) * 2008-05-09 2012-01-03 International Business Machines Corporation Managing storage and migration of backup data
JP2011175615A (en) * 2010-01-27 2011-09-08 Toshiba Corp Host device and memory device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003308240A (en) * 2002-04-15 2003-10-31 Sony Corp Data storage device
WO2005106673A1 (en) * 2004-04-28 2005-11-10 Matsushita Electric Industrial Co., Ltd. Nonvolatile storage device and data write method
JP2006099210A (en) * 2004-09-28 2006-04-13 Matsushita Electric Ind Co Ltd Storage device
WO2008033952A2 (en) * 2006-09-15 2008-03-20 Sandisk Corporation Non-volatile memory and method for class-based update block replacement rules
WO2009013877A1 (en) * 2007-07-20 2009-01-29 Panasonic Corporation Memory controller, memory card, and nonvolatile memory system

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010146767A1 (en) * 2009-06-18 2010-12-23 パナソニック株式会社 Nonvolatile memory device, access device, nonvolatile memory system, and memory controller
JP4758518B2 (en) * 2009-06-18 2011-08-31 パナソニック株式会社 Nonvolatile storage device, access device, nonvolatile storage system, and memory controller
US8554987B2 (en) 2009-06-18 2013-10-08 Panasonic Corporation Nonvolatile memory system for improving stream data writing
WO2011013350A1 (en) * 2009-07-29 2011-02-03 パナソニック株式会社 Memory device, host device, and memory system
JP5362010B2 (en) * 2009-07-29 2013-12-11 パナソニック株式会社 Memory device, host device, and memory system
WO2013161398A1 (en) * 2012-04-25 2013-10-31 ソニー株式会社 Non-volatile memory device for sequential writing
JPWO2013161398A1 (en) * 2012-04-25 2015-12-24 ソニー株式会社 Nonvolatile memory device for sequential writing
US10372367B2 (en) 2012-04-25 2019-08-06 Sony Corporation Non-volatile memory device, non-volatile memory control device, and non-volatile memory control method
US11455112B2 (en) 2012-04-25 2022-09-27 Sony Group Corporation Non-volatile memory device, non-volatile memory control device, and non-volatile memory control method
WO2020213364A1 (en) * 2019-04-17 2020-10-22 キヤノン株式会社 Recording device, recording method, program, and memory card

Also Published As

Publication number Publication date
TWI534616B (en) 2016-05-21
EP2356571B1 (en) 2020-01-22
TWI430089B (en) 2014-03-11
US9110781B2 (en) 2015-08-18
KR101409095B1 (en) 2014-06-17
CN102246151B (en) 2016-04-20
TW201441814A (en) 2014-11-01
JP5175703B2 (en) 2013-04-03
KR20110088566A (en) 2011-08-03
TW201027336A (en) 2010-07-16
EP2356571A4 (en) 2012-07-04
CN102246151A (en) 2011-11-16
EP2356571A1 (en) 2011-08-17
US20110238933A1 (en) 2011-09-29
USRE48983E1 (en) 2022-03-22
WO2010067899A1 (en) 2010-06-17

Similar Documents

Publication Publication Date Title
JP5175703B2 (en) Memory device
JP4192129B2 (en) Memory management device
US8356134B2 (en) Memory device with non-volatile memory buffer
KR101354152B1 (en) Method for command scheduling of virtual file system embodied in non-volatile data storage and apparatus thereof
JP3898305B2 (en) Semiconductor storage device, control device and control method for semiconductor storage device
US8208322B2 (en) Non-volatile memory control
JP2011175615A (en) Host device and memory device
JP5418808B2 (en) Adaptive hybrid density memory storage control method and adaptive hybrid density memory storage
US20030065899A1 (en) Memory system sectors
JP4977703B2 (en) Non-volatile memory with scheduled playback operation
JP4843222B2 (en) Semiconductor memory device control method, memory card, and host device
US20120151166A1 (en) Nonvolatile storage device and memory controller
US20050268026A1 (en) Memory card, semiconductor device, and method of controlling semiconductor memory
US20080059693A1 (en) Method for improving lifespan of flash memory
JP2002202912A (en) Recording device, recording control method, and program
JP2003280979A (en) Information storage device
USRE49921E1 (en) Memory device and controlling method of the same
JP4985108B2 (en) Data storage device and control method thereof
JP2008299513A (en) Data storage device, and method for controlling the same
JP2011118953A (en) Device, method and program for recording information
JP2011199377A (en) Recorder
KR20000055939A (en) Write apparatus and method for flash memory
JP2011113129A (en) Information recording device and information recording method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20110309

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20121211

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130107

R151 Written notification of patent or utility model registration

Ref document number: 5175703

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R151

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

Free format text: PAYMENT UNTIL: 20160111

Year of fee payment: 3

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350