JP4323476B2 - Memory card controller, memory card drive device, and program - Google Patents

Memory card controller, memory card drive device, and program Download PDF

Info

Publication number
JP4323476B2
JP4323476B2 JP2005279654A JP2005279654A JP4323476B2 JP 4323476 B2 JP4323476 B2 JP 4323476B2 JP 2005279654 A JP2005279654 A JP 2005279654A JP 2005279654 A JP2005279654 A JP 2005279654A JP 4323476 B2 JP4323476 B2 JP 4323476B2
Authority
JP
Japan
Prior art keywords
memory card
command
transfer
data
card
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.)
Active
Application number
JP2005279654A
Other languages
Japanese (ja)
Other versions
JP2006127492A (en
Inventor
健 大塚
成悟 藤原
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Panasonic Corp
Panasonic Holdings Corp
Original Assignee
Panasonic Corp
Matsushita Electric Industrial Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Panasonic Corp, Matsushita Electric Industrial Co Ltd filed Critical Panasonic Corp
Priority to JP2005279654A priority Critical patent/JP4323476B2/en
Publication of JP2006127492A publication Critical patent/JP2006127492A/en
Application granted granted Critical
Publication of JP4323476B2 publication Critical patent/JP4323476B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、ホスト装置とメモリカードとの間のデータ転送を制御するメモリカードドライブ装置に関し、特に、大容量データの転送を制御する技術の改良に関する。   The present invention relates to a memory card drive device that controls data transfer between a host device and a memory card, and more particularly, to an improvement in technology for controlling transfer of large-capacity data.

プロフェッショナル用途の映像機器分野では、大容量の高品質動画像データに対応することが要請される。そこで、プロフェッショナル用途の映像機器で記録媒体としてメモリカードを用いる場合には、複数のメモリカードを連装することができるメモリカードドライブ装置の使用が提案されている。複数のメモリカードを連装することにより、メモリカードアレイを形成する技術についての先行技術としては、特許文献1に記載されているものがある。   In the field of video equipment for professional use, it is required to support large-capacity high-quality moving image data. Therefore, when a memory card is used as a recording medium in professional video equipment, use of a memory card drive device capable of connecting a plurality of memory cards has been proposed. As a prior art regarding a technique of forming a memory card array by connecting a plurality of memory cards, there is one described in Patent Document 1.

以下に、メモリカードとしてSDメモリーカード(以下、「SDカード」という。)を用いたPCカード形態のメモリカードドライブ装置について説明する。
PCカード形態のメモリカードドライブ装置を用いる場合、映像機器(以下、「ホスト装置」という。)とメモリカードドライブ装置とは、カードバスを介して接続し、ホスト装置からは、一般のPCカードに対するアクセスと同一手順で、ATAコマンドを用いてデータの書き込み、及び読み出し(以下、まとめて「データ転送」という。)が要求される。通常、ATAコマンドによる制御では、データ転送を開始する先頭論理アドレスと転送セクタ数が指示される。
A memory card drive device in the form of a PC card using an SD memory card (hereinafter referred to as “SD card”) as a memory card will be described below.
When a memory card drive device in the form of a PC card is used, the video equipment (hereinafter referred to as “host device”) and the memory card drive device are connected via a card bus, and the host device supports a general PC card. Data write and read (hereinafter collectively referred to as “data transfer”) are requested using ATA commands in the same procedure as access. Normally, in the control by the ATA command, the head logical address for starting data transfer and the number of transfer sectors are instructed.

一方、SDカードへのデータ転送指示には、SDコマンドを用いる必要がある。SDコマンドによる制御では、転送の開始を指示するSDコマンド(以下、「転送開始命令」)が発行されてから、転送の終了を指示するSDコマンド(以下、「転送終了命令」)が発行されるまでの期間に、継続してデータ転送が実行される。
このような装置間のインターフェースの違いから、メモリカードドライブ装置では、図8に示すようにSDカードの動作を制御する必要がある。
On the other hand, an SD command must be used for a data transfer instruction to the SD card. In the control by the SD command, an SD command (hereinafter referred to as “transfer start instruction”) instructing the start of transfer is issued, and then an SD command (hereinafter referred to as “transfer end instruction”) instructing the end of transfer is issued. Data transfer is continuously executed during the period up to.
Due to the interface difference between the devices, the memory card drive device needs to control the operation of the SD card as shown in FIG.

図8は、PCカード形態のメモリカードドライブ装置によるメモリカードからのデータ読み出し動作の一例を示すタイミングチャートである。
ホスト装置からは、(a)の段に示すA[1]、A[2]、A[3]、A[4]のタイミングで、メモリカードドライブ装置へATAコマンドが発行される。これに応じてメモリカードドライブ装置では、(c)の段に示すように、ATAコマンドを解釈してS[1]、S[2]、S[3]、S[4]のタイミングで転送開始命令と読み出し先頭論理アドレスとをSDカードへアサートする。
FIG. 8 is a timing chart showing an example of a data read operation from a memory card by a PC card type memory card drive device.
The host device issues an ATA command to the memory card drive device at the timings A [1], A [2], A [3], and A [4] shown in the stage (a). In response to this, the memory card drive device interprets the ATA command and starts transfer at the timing of S [1], S [2], S [3], S [4] as shown in the stage (c). The instruction and the read head logical address are asserted to the SD card.

転送開始命令を受けたSDカードでは、(e)の段で黒く塗り潰したタイミングで、先頭論理アドレスを物理アドレスへ変換し、(f)の段に示すタイミングで、内部の不揮発性メモリに記録されているデータを、変換した物理アドレスから読み出して転送する。
ATAコマンドで要求されたデータ量のデータがSDから転送されると、メモリカードドライブ装置では、(c)の段で黒く塗り潰したタイミングで、SDカードに対して、転送終了命令を発行してSDカードの読み出し動作を終了させると共に、(b)の段に示すように、ホスト装置へ転送終了割り込みを発行する。これにより、ホスト装置とSDカードとで同期してデータ転送動作を実行することができる。
In the SD card that has received the transfer start command, the head logical address is converted to a physical address at the timing when it is blacked out at the stage (e), and is recorded in the internal nonvolatile memory at the timing shown at the stage (f). Data is read from the converted physical address and transferred.
When the amount of data requested by the ATA command is transferred from the SD, the memory card drive device issues a transfer end command to the SD card at the timing when it is blacked out at the stage (c), and the SD card. The card reading operation is terminated, and a transfer end interrupt is issued to the host device as shown in the stage (b). As a result, the data transfer operation can be executed in synchronization between the host device and the SD card.

このように、ホスト装置からデータ転送を要求するATAコマンドが発行される毎に、メモリカードドライブ装置が、転送開始命令、及び転送終了命令のSDコマンドを適したタイミングで発行してSDカードの動作を制御することで、ホスト装置からは、メモリカードドライブ装置に取り付けられた複数のSDカードを、1枚のPCカードと同一視してデータ転送を実行することができる。
特開2002-189992号公報
In this way, each time an ATA command requesting data transfer is issued from the host device, the memory card drive device issues an SD command of a transfer start command and a transfer end command at an appropriate timing to operate the SD card. By controlling this, the host device can execute data transfer by equating a plurality of SD cards attached to the memory card drive device with one PC card.
JP 2002-189992 JP

しかしながら、メモリカードドライブ装置でATAコマンドをSDコマンドへ変換する処理と、メモリカードで論理アドレスを物理アドレスへ変換する処理は、ATAコマンドが発行される度に必要となるため、SDカードから直接データを読み出す場合に比較して、転送レートを劣化させるオーバーヘッドとなっている。
ところで、高品質な動画データは、そのデータ量が数百メガバイトから数ギガバイトにもなることがある。本来SDコマンドを用いた制御では、連続する領域に書き込まれている大容量データを読み出す場合、大容量データの先頭アドレスを指定して転送開始命令を発行し、データの末尾まで読み出したときに転送終了命令を発行すればよい。
However, since the process for converting an ATA command into an SD command in the memory card drive device and the process for converting a logical address into a physical address in the memory card are required each time an ATA command is issued, data directly from the SD card is used. Compared with the case of reading out, the overhead is a deterioration of the transfer rate.
By the way, high-quality moving image data may have a data amount of several hundred megabytes to several gigabytes. In the control using the SD command originally, when reading a large amount of data written in a continuous area, a transfer start command is issued by designating the start address of the large amount of data, and transferred when the end of the data is read. An end command may be issued.

しかし、ATAコマンドを用いた制御では、一度に転送可能なデータが最大64kバイトに制限される。そのため、このような大容量のデータをSDカードから読み出そうとすると、ホスト装置は、何百、何千個ものATAコマンドを繰り返し発行することとなる。ここで、複数のATAコマンドにおいて、メモリカードの連続する領域に対するデータ転送が要求されていたとしても、ホスト装置とメモリカードとの読み出し動作を同期させるために、メモリカードドライブ装置は、64kバイトのデータが読み出される毎に、メモリカードにおけるデータ転送動作を終了させる必要がある。   However, in the control using the ATA command, the data that can be transferred at one time is limited to a maximum of 64 kbytes. Therefore, when reading such a large amount of data from the SD card, the host device repeatedly issues hundreds or thousands of ATA commands. Here, in order to synchronize the read operation between the host device and the memory card even if data transfer to a continuous area of the memory card is requested in a plurality of ATA commands, the memory card drive device has 64 kbytes. Every time data is read, it is necessary to finish the data transfer operation in the memory card.

この結果、大容量データの読み出しでは、SDカードから直接データを読み出す場合に比べて、転送レートにおけるオーバーヘッドの影響が顕著となるという問題がある。特に、連装した複数のメモリカードをアレイ化して、データ読み出しを並列化する場合、1個のATAコマンドに応じて各メモリカードから読み出されるデータ長は、連装数が多いほど更に小さくなるので、オーバーヘッドが転送レートに及ぼす影響はより大きなものとなる。   As a result, there is a problem that the influence of the overhead on the transfer rate becomes more noticeable when reading large-capacity data than when reading data directly from the SD card. In particular, when a plurality of memory cards arranged in an array are arrayed and data reading is performed in parallel, the data length read from each memory card in response to one ATA command is further reduced as the number of connected cards is increased. Has a greater effect on the transfer rate.

本発明の目的は、読み出し可能なデータ長が短いコマンドを用いてホスト装置から大容量データの読み出しが指示される場合に、ホスト装置とメモリカードとの同期を取りつつ、オーバーヘッドが読み出し転送レートに及ぼす影響を抑えることが出来るメモリカードコントローラ、メモリカードドライブ装置、及びプログラムを提供することである。   It is an object of the present invention to provide an overhead for a read transfer rate while synchronizing a host device and a memory card when a host device is instructed to read a large amount of data using a command with a short readable data length. The present invention provides a memory card controller, a memory card drive device, and a program that can suppress the influence exerted thereon.

上記目的を達成するために、本発明に係るメモリカードコントローラは、データ量を指定したコマンドを発行してデータ転送を要求するホスト装置と、転送開始命令を受けてから転送終了命令を受けるまで転送動作を実行するメモリカードとの間のデータ転送を制御するメモリカードコントローラであって、前記メモリカードは、前記ホスト装置が前記転送開始命令で指定した論理アドレスを物理アドレスに変換して内蔵されている不揮発性メモリにアクセスし、ホスト装置からのコマンドを受け付ける受付手段と、転送動作の実行により転送されたデータ量が、データ転送を要求する先行コマンドにより指定されるデータ量に達すると、メモリカードにおける転送動作を一時停止させる一時停止手段と、メモリカードの転送動作を一時停止させた状態にあるとき受け付けられた後続のコマンドが、前記先行コマンドに応じたデータ転送の終了アドレスの次のアドレスに対するデータ転送を要求するコマンドである場合、前記一時停止させた状態からメモリカードにおける転送動作を再開させる再開手段とを備えることを特徴としている。 In order to achieve the above object, a memory card controller according to the present invention issues a command specifying a data amount and requests data transfer with a host device that transfers data from a transfer start command until a transfer end command is received. A memory card controller that controls data transfer with a memory card that executes an operation, wherein the memory card converts a logical address specified by the transfer start instruction into a physical address and is built in the memory card. When the amount of data transferred by executing the transfer operation reaches the data amount specified by the preceding command requesting data transfer, the memory card For temporarily stopping the transfer operation in the memory and the transfer operation of the memory card If the succeeding command received when in the state is a command for requesting data transfer to the address next to the end address of the data transfer according to the preceding command, the memory card can be started from the paused state. And resuming means for resuming the transfer operation.

上記の構成によって、本発明に係るメモリカードコントローラは、連続する領域に対するデータ転送を要求するコマンドが、ホスト装置から続けて発行される場合、コマンドを受け付ける度に転送開始命令を発行する必要がないので、メモリカードコントローラにおけるコマンドの変換、及びメモリカードにおけるアドレス変換等のオーバーヘッドとなる処理を低減することができる。その一方で、先行コマンドに応じたデータ転送が完了してから、ホスト装置で後続のコマンドの発行処理がなされている間は、メモリカードにおけるデータ転送動作が一時停止しているので、ホスト装置とメモリカードとのデータ転送動作の同期が失われることがない。   With the above configuration, the memory card controller according to the present invention does not need to issue a transfer start command every time a command is received when a command requesting data transfer to a continuous area is issued continuously from the host device. Therefore, overhead processing such as command conversion in the memory card controller and address conversion in the memory card can be reduced. On the other hand, since the data transfer operation in the memory card is temporarily stopped while the subsequent command issuance processing is performed in the host device after the data transfer according to the preceding command is completed, Synchronization of the data transfer operation with the memory card is not lost.

すなわち、ホスト装置とメモリカードとの同期を取りつつ、オーバーヘッドとなる処理が転送レートに及ぼす影響を抑えることが出来る。
また、前記データ転送とは、メモリカードからのデータ読み出しであり、前記メモリカードにおける転送動作とは、データ読み出し動作であるとしてもよい。
これによって、メモリカードからのデータ読み出し時に、ホスト装置とメモリカードとの同期を取りつつ、メモリカードに対する転送開始命令の発行数を減らすことができるので、オーバーヘッドが読み出し転送レートに及ぼす影響を抑えることが出来る。
That is, it is possible to suppress the influence of overhead processing on the transfer rate while synchronizing the host device and the memory card.
The data transfer may be data reading from a memory card, and the transfer operation in the memory card may be a data reading operation.
This reduces the number of transfer start commands issued to the memory card while synchronizing the host device and the memory card when reading data from the memory card, thereby suppressing the effect of overhead on the read transfer rate. I can do it.

また、前記メモリカードにおけるデータ読み出し動作の一時停止及び再開は、メモリカードへのクロック信号の供給停止及び再供給により制御されるとしてもよい。
これによって、メモリカードにおける読み出し動作の一時停止、及び再開を高速に実現することが可能なる。従って、読み出し動作の一時停止、及び再開の処理が、転送レートへ及ぼす悪影響を抑えることがきる。
The temporary stop and restart of the data read operation in the memory card may be controlled by stopping and resupplying the clock signal to the memory card.
As a result, it is possible to quickly and temporarily resume and resume the reading operation in the memory card. Accordingly, it is possible to suppress the adverse effect on the transfer rate due to the pause and restart processing of the read operation.

また、前記メモリカードコントローラは更に、転送開始命令、及び転送終了命令の発行により、メモリカードにおけるデータ読み出し動作の開始終了を制御する命令発行手段を備え、ここで、前記一時停止させた状態で所定時間経過した場合、前記再開手段は、クロック信号の供給を再開して一時停止状態を解除させ、前記命令発行手段は、転送終了命令を発行してメモリカードにおけるデータ読み出し動作を終了させるとしてもよい。   The memory card controller further comprises command issuing means for controlling the start and end of the data read operation in the memory card by issuing a transfer start command and a transfer end command, wherein the memory card controller is set in a predetermined state in the paused state. When the time has elapsed, the resuming unit may resume the supply of the clock signal to release the pause state, and the command issuing unit may issue a transfer end command to end the data reading operation in the memory card. .

メモリカードの連続する領域に記録されている大容量のデータを読み出す場合には、ホスト装置から頻繁にコマンドが発行されることが想定される。そこで、ホスト装置からコマンドが発行されない状態が所定時間以上続けば、大容量のデータの読み出しが終了したと仮定し、一時停止させていた読み出し動作を終了させる。その後、先行するコマンドと連続性のないコマンドが発行されるであろうが、読み出し動作を終了させてあるので、このようなコマンドを迅速に処理することができる。また、読み出し動作を一時停止させた状態が所定時間以上に継続されることがなく、メモリカードの動作が安定する。   When reading a large amount of data recorded in a continuous area of the memory card, it is assumed that commands are frequently issued from the host device. Therefore, if a state in which no command is issued from the host device continues for a predetermined time or longer, it is assumed that reading of a large amount of data has ended, and the reading operation that has been temporarily stopped is ended. Thereafter, a command that is not continuous with the preceding command will be issued, but since the read operation has been completed, such a command can be processed quickly. Further, the state in which the reading operation is temporarily stopped does not continue for a predetermined time or more, and the operation of the memory card is stabilized.

また、前記後続のコマンドがメモリカードへのアクセスを必要としないコマンドである場合、前記一時停止手段は、前記一時停止させた状態を維持するとしてもよい。
これによって、更に次のコマンドが、先行コマンドに応じたデータ転送の終了アドレスと連続したアドレスに対するデータ転送を要求するコマンドである場合に、メモリカードに対する転送開始命令の発行数を減らすことができるので、オーバーヘッドが転送レートに及ぼす影響を抑えることが出来る。
Further, when the subsequent command is a command that does not require access to the memory card, the temporary stop means may maintain the temporary stopped state.
As a result, when the next command is a command for requesting data transfer with respect to an address continuous with the data transfer end address according to the preceding command, the number of transfer start instructions issued to the memory card can be reduced. , The influence of overhead on the transfer rate can be suppressed.

また、前記メモリカードコントローラは更に、転送開始命令、及び転送終了命令の発行により、メモリカードにおける転送動作の開始終了を制御する命令発行手段を備え、ここで、前記後続のコマンドが、データ書き込み、及び、前記先行のコマンドに応じたデータ読み出しの終了アドレスと連続しないアドレスからのデータ読み出しの何れかを要求するコマンドである場合、前記再開手段は、クロック信号の供給を再開して一時停止状態を解除させ、前記命令発行手段は、転送終了命令を発行してメモリカードにおけるデータ読み出し動作を終了させた後に、前記後続のコマンドに応じた転送開始命令を発行するとしてもよい。   The memory card controller further includes command issuing means for controlling the start and end of the transfer operation in the memory card by issuing a transfer start command and a transfer end command, wherein the subsequent command is a data write, When the command is a command requesting either data read end address or data read from a discontinuous address according to the preceding command, the restarting means restarts the supply of the clock signal and sets the pause state. The command issuing means may issue a transfer start command corresponding to the subsequent command after issuing a transfer end command to end the data reading operation in the memory card.

これによって、先行コマンドに応じたデータ転送の終了アドレスと連続したアドレスに対するデータ転送を要求するコマンドが続けて発行されない場合にも、転送終了命令の発行のみで対処できるので、大幅な転送レートの低下を引き起こすことがない。
また、前記データ転送とは、メモリカードへのデータ書き込みであり、前記メモリカードにおける転送動作とは、データ書き込み動作であるとしてもよい。
As a result, even when a command requesting data transfer to a data transfer end address and a continuous address according to the preceding command is not issued continuously, it can be dealt with only by issuing a transfer end instruction, so the transfer rate is greatly reduced. Will not cause.
The data transfer may be a data write to a memory card, and the transfer operation in the memory card may be a data write operation.

これによって、メモリカードへのデータ書き込み時に、ホスト装置とメモリカードとの同期を取りつつ、メモリカードに対する転送開始命令の発行数を減らすことができるので、オーバーヘッドが書き込み転送レートに及ぼす影響を抑えることが出来る。
また、前記メモリカードにおけるデータ書き込み動作の一時停止及び再開は、メモリカードへの書き込みデータ供給の停止及び再供給により制御されるとしてもよい。
This reduces the number of transfer start commands issued to the memory card while synchronizing the host device and the memory card when writing data to the memory card, thus reducing the effect of overhead on the write transfer rate. I can do it.
In addition, the suspension and resumption of the data writing operation in the memory card may be controlled by stopping and resupplying the write data supply to the memory card.

これによって、メモリカードにおける書き込み動作の一時停止、及び再開を高速に実現することが可能なる。従って、書き込み動作の一時停止、及び再開の処理が、転送レートへ及ぼす悪影響を抑えることがきる。
また、前記メモリカードコントローラは更に、前記一時停止させた状態で所定時間経過した場合に、転送終了命令を発行してメモリカードにおけるデータ書き込み動作を終了させる命令発行手段を備えるとしてもよい。
As a result, it is possible to realize a high-speed pause and resumption of the write operation in the memory card. Accordingly, it is possible to suppress the adverse effect on the transfer rate of the pause and restart processing of the write operation.
The memory card controller may further include command issuing means for issuing a transfer end command and ending the data writing operation in the memory card when a predetermined time has elapsed in the paused state.

メモリカードの連続する領域へ大容量のデータを書き込む場合には、ホスト装置から頻繁にコマンドが発行されることが想定される。そこで、ホスト装置からコマンドが発行されない状態が所定時間以上続けば、大容量のデータの書き込みが終了したと仮定し、書き込み動作を一時停止させた状態を終了させる。その後、先行するコマンドと連続性のないコマンドが発行されるであろうが、書き込み動作を一時停止させた状態を終了させてあるので、このようなコマンドを迅速に処理することができる。また、書き込み動作を一時停止させた状態が所定時間以上に継続されることがなく、メモリカードの動作が安定する。   When writing a large amount of data to a continuous area of the memory card, it is assumed that commands are frequently issued from the host device. Therefore, if a state in which no command is issued from the host device continues for a predetermined time or longer, it is assumed that writing of a large amount of data has ended, and the state in which the writing operation is temporarily stopped is ended. Thereafter, a command that is not continuous with the preceding command will be issued, but since the state in which the write operation is suspended is terminated, such a command can be processed quickly. Further, the state in which the writing operation is temporarily stopped does not continue for a predetermined time or more, and the operation of the memory card is stabilized.

また、前記後続のコマンドがメモリカードへのアクセスを必要としないコマンドである場合、前記一時停止手段は、前記一時停止させた状態を維持するとしてもよい。
これによって、更に次のコマンドが、先行コマンドに応じたデータ転送の終了アドレスと連続したアドレスに対するデータ転送を要求するコマンドである場合に、メモリカードに対する転送開始命令の発行数を減らすことができるので、オーバーヘッドが転送レートに及ぼす影響を抑えることが出来る。
Further, when the subsequent command is a command that does not require access to the memory card, the temporary stop means may maintain the temporary stopped state.
As a result, when the next command is a command for requesting data transfer with respect to an address continuous with the data transfer end address according to the preceding command, the number of transfer start instructions issued to the memory card can be reduced. , The influence of overhead on the transfer rate can be suppressed.

また、前記メモリカードコントローラは更に、前記後続のコマンドが、データ読み出し、及び、前記先行のコマンドに応じたデータ書き込みの終了アドレスと連続しないアドレスからのデータ書き込みの何れかを要求するコマンドである場合、転送終了命令を発行してメモリカードにおけるデータ書き込み動作を終了させた後に、前記後続のコマンドに応じた転送開始命令を発行する命令発行手段を備えるとしてもよい。   The memory card controller may further request that the subsequent command is a data read request or a data write from an address that is not continuous with the data write end address according to the preceding command. In addition, after issuing a transfer end command to end the data writing operation in the memory card, it may include command issuing means for issuing a transfer start command corresponding to the subsequent command.

これによって、先行コマンドに応じたデータ転送の終了アドレスと連続したアドレスに対するデータ転送を要求するコマンドが続けて発行されない場合にも、転送終了命令の発行のみで対処できるので、大幅な転送レートの低下を引き起こすことがない。
上記目的を達成するために、本発明に係るメモリカードドライブ装置は、請求項1に記載のメモリカードコントローラと、ホスト装置と接続する第1インターフェース手段と、1枚以上のメモリカードを取り付ける第2インターフェース手段とを備え、ここで、前記メモリカードコントローラは、第1インターフェース手段から入力されるコマンドに基づいて、第2インターフェース手段に取り付けられたメモリカードへアクセスすることことを特徴としている。
As a result, even when a command requesting data transfer to a data transfer end address and a continuous address according to the preceding command is not issued continuously, it can be dealt with only by issuing a transfer end instruction, so the transfer rate is greatly reduced. Will not cause.
In order to achieve the above object, a memory card drive device according to the present invention comprises a memory card controller according to claim 1, a first interface means for connecting to a host device, and a second for attaching one or more memory cards. Interface means, wherein the memory card controller accesses a memory card attached to the second interface means based on a command input from the first interface means.

上記の構成によって、本発明に係るメモリカードドライブ装置は、連続する領域に対するデータ転送を要求するコマンドが、ホスト装置から続けて発行される場合、コマンドを受け付ける度に転送開始命令を発行する必要がないので、メモリカードコントローラにおけるコマンドの変換、及びメモリカードにおけるアドレス変換等のオーバーヘッドとなる処理を低減することができる。その一方で、先行コマンドに応じたデータ転送が完了してから、ホスト装置で後続のコマンドの発行処理がなされている間は、メモリカードにおけるデータ転送動作が一時停止しているので、ホスト装置とメモリカードとのデータ転送動作の同期が失われることがない。   With the above configuration, the memory card drive device according to the present invention needs to issue a transfer start command every time a command is received when a command requesting data transfer to a continuous area is issued continuously from the host device. Therefore, overhead processing such as command conversion in the memory card controller and address conversion in the memory card can be reduced. On the other hand, since the data transfer operation in the memory card is temporarily stopped while the subsequent command issuance processing is performed in the host device after the data transfer according to the preceding command is completed, Synchronization of the data transfer operation with the memory card is not lost.

すなわち、ホスト装置とメモリカードとの同期を取りつつ、オーバーヘッドとなる処理が転送レートに及ぼす影響を抑えることが出来る。
上記目的を達成するために、本発明に係るプログラムは、データ量を指定したコマンドを発行してデータ転送を要求するホスト装置と、転送開始命令を受けてから転送終了命令を受けるまで転送動作を実行するメモリカードとの間のデータ転送を制御するメモリカードコントローラのプログラムであって、前記メモリカードは、前記ホスト装置が前記転送開始命令で指定した論理アドレスを物理アドレスに変換して内蔵されている不揮発性メモリにアクセスし、転送動作の実行により転送されたデータ量が、先行コマンドにより指定されるデータ量に達すると、メモリカードにおける転送動作を一時停止させるステップと、メモリカードの転送動作を一時停止させた状態にあるとき、前記先行コマンドに応じたデータ転送の終了アドレスの次のアドレスに対するデータ転送を要求する後続のコマンドが受け付けられた場合に、前記一時停止させた状態からメモリカードにおける転送動作を再開させるステップとをメモリカードコントローラのプロセッサに実行させることを特徴としている。
That is, it is possible to suppress the influence of overhead processing on the transfer rate while synchronizing the host device and the memory card.
In order to achieve the above object, a program according to the present invention performs a transfer operation from a host device that issues a command specifying a data amount to request data transfer and a transfer start command to a transfer end command. A memory card controller program for controlling data transfer to and from a memory card to be executed, wherein the memory card is incorporated by converting a logical address designated by the transfer start command into a physical address by the host device. When the amount of data transferred by executing the transfer operation reaches the data amount specified by the preceding command, the step of temporarily stopping the transfer operation in the memory card and the transfer operation of the memory card are performed. When in a paused state, the data transfer end address next to the preceding command If the subsequent command requesting the data transfer to the address is accepted, it is characterized in that to execute from said temporary stopped state and a step of resuming the transfer operation in the memory card to a processor of the memory card controller.

上記の構成によって、本発明に係るプログラムは、連続する領域に対するデータ転送を要求するコマンドが、ホスト装置から続けて発行される場合、コマンドを受け付ける度に転送開始命令を発行する必要がないので、メモリカードコントローラにおけるコマンドの変換、及びメモリカードにおけるアドレス変換等のオーバーヘッドとなる処理を低減することができる。その一方で、先行コマンドに応じたデータ転送が完了してから、ホスト装置で後続のコマンドの発行処理がなされている間は、メモリカードにおけるデータ転送動作が一時停止しているので、ホスト装置とメモリカードとのデータ転送動作の同期が失われることがない。   With the above configuration, the program according to the present invention does not need to issue a transfer start instruction every time a command is received when a command requesting data transfer to a continuous area is issued continuously from the host device. Overhead processing such as command conversion in the memory card controller and address conversion in the memory card can be reduced. On the other hand, since the data transfer operation in the memory card is temporarily stopped while the subsequent command issuance processing is performed in the host device after the data transfer according to the preceding command is completed, Synchronization of the data transfer operation with the memory card is not lost.

すなわち、ホスト装置とメモリカードとの同期を取りつつ、オーバーヘッドとなる処理が転送レートに及ぼす影響を抑えることが出来る。   That is, it is possible to suppress the influence of overhead processing on the transfer rate while synchronizing the host device and the memory card.

以下、本発明に係るメモリカードドライブ装置の実施形態について説明する。先ず始めに、本発明に係るメモリカードドライブ装置を使用した撮影再生システムについて説明する。図1は、本発明に係るメモリカードドライブ装置を使用した撮影再生システムを示す図である。図1に示す撮影再生システムは、デジタルビデオテープと同等の映像品質、音声品質で撮影した映像及び音声を動画像データとしてメモリカードへ記録し、再生するシステムである。   Embodiments of a memory card drive device according to the present invention will be described below. First, a photographing / reproducing system using the memory card drive device according to the present invention will be described. FIG. 1 is a diagram showing a photographing / reproducing system using a memory card drive device according to the present invention. The video recording / playback system shown in FIG. 1 is a system in which video and audio shot with video quality and audio quality equivalent to those of a digital video tape are recorded as moving image data on a memory card and played back.

動画像データの撮影機能、及び表示機能を有するホスト装置としては、PCMCIAカードスロットを有するパソコンやビデオカメラ等の映像機器を用いることができる。また、メモリカードとしてはSDカードを用いる。
図1において、本発明に係るメモリカードドライブ装置は、メモリカードドライブ200である。このメモリカードドライブ200は、SDカードを取り付け可能なSDスロットを4口備えており、SDスロットにSDカード300a〜300dを取り付けた状態で、ホスト装置100a又はホスト装置100bのPCMCIAカードスロットに挿入して使用される。
Video equipment such as a personal computer or a video camera having a PCMCIA card slot can be used as a host device having a moving image data shooting function and a display function. An SD card is used as the memory card.
In FIG. 1, the memory card drive device according to the present invention is a memory card drive 200. This memory card drive 200 has four SD slots into which SD cards can be attached. With the SD cards 300a to 300d attached to the SD slots, the memory card drive 200 is inserted into the PCMCIA card slot of the host device 100a or the host device 100b. Used.

図2は、本発明に係る撮影再生システムを構成する各装置のデータ転送に関する内部構成を示す図である。ホスト装置100aは、映像信号入出力手段101、信号処理手段102、ドライブ制御手段103を備え、これらの構成により動画像データの書き込み、読み出し等のデータ転送をメモリカードドライブ200に要求する。ここではホスト装置100aの内部構成を示しているが、ホスト装置100bも同様の構成を備える。   FIG. 2 is a diagram showing an internal configuration relating to data transfer of each device constituting the photographing / reproducing system according to the present invention. The host device 100a includes a video signal input / output unit 101, a signal processing unit 102, and a drive control unit 103, and requests the memory card drive 200 for data transfer such as writing and reading of moving image data with these configurations. Although the internal configuration of the host device 100a is shown here, the host device 100b also has the same configuration.

映像信号入出力手段101は、録画、再生等の動作状態に応じて、ホスト装置が有するカメラモジュール、及びディスプレイモジュールとの映像信号の入出力を制御する。信号処理手段102は、映像信号入出力手段101から入力される映像信号を圧縮符号化して動画像データを生成する機能と、SDカードから読み出された動画像データを復元して映像信号を生成する機能とを有するコーデックである。ドライブ制御手段103は、ATAコマンドの発行によりメモリカードドライブ200を制御する機能を有し、メモリカードドライブ200の外部インターフェース部1とカードバス規格でデータを送受信する。一般に、データ転送を要求するATAコマンドには、書き込み、読み出し等の動作を指定するコマンド部と、データ転送先の先頭セクタの論理アドレスと、転送すべきセクタ数とが含まれる。ここでホスト装置100a、100bは、メモリカードドライブ200に連装された4枚のSDカードを1つの仮想ドライブとして認識し、データ転送先の先頭セクタの論理アドレスと、転送すべきセクタ数とを、仮想ドライブ上の論理アドレスを用いて定めてATAコマンドを発行する。ここでいうセクタは、SDカード上の記録ブロックと1対1で対応する。ATAコマンドは本来ディスク媒体を対象としたコマンドであるため、ホスト装置100a、100bは、データ転送先等の指定をセクタを用いて表現している。   The video signal input / output means 101 controls input / output of video signals to and from the camera module and display module of the host device according to the operating state such as recording and playback. The signal processing unit 102 generates a video signal by compressing and encoding the video signal input from the video signal input / output unit 101 and restoring the video data read from the SD card. A codec having a function to The drive control means 103 has a function of controlling the memory card drive 200 by issuing an ATA command, and transmits / receives data to / from the external interface unit 1 of the memory card drive 200 according to the card bus standard. In general, an ATA command for requesting data transfer includes a command part for designating operations such as writing and reading, a logical address of the leading sector of the data transfer destination, and the number of sectors to be transferred. Here, the host devices 100a and 100b recognize the four SD cards connected to the memory card drive 200 as one virtual drive, and determine the logical address of the first sector of the data transfer destination and the number of sectors to be transferred. An ATA command is issued by using a logical address on the virtual drive. The sector here corresponds to the recording block on the SD card on a one-to-one basis. Since the ATA command is originally a command for a disk medium, the host devices 100a and 100b express the designation of the data transfer destination and the like using sectors.

メモリカードドライブ200は、外部インターフェース部1、及びメモリカードコントローラ2を備える。
外部インターフェース部1は、カードバス規格によって、ホスト装置のドライブ制御手段103とデータを送受信する機能を有する。
メモリカードコントローラ2は、ホスト装置からのATAコマンドに応じて、SDスロットに取り付けられたSDカード300a〜300dの動作を制御する機能を有する。メモリカードコントローラ2によるSDカード300a〜300dの制御には、SDコマンドが用いられる。データ転送の開始時には、メモリカードコントローラ2は、ATAコマンドにより示される仮想ドライブの論理アドレスを各SDカードの論理アドレスに変換して、変換した論理アドレスと共に書き込み、読み出し等のデータ転送開始を指示するSDコマンドをSDカードへ発行する。書き込み開始を指示した場合は、その後、書き込みデータを順次SDカードへ転送していく。データ転送の終了時には、メモリカードコントローラ2は、データ転送終了を指示するSTOP命令をSDカードへ発行し、データ転送完了を示す転送終了割り込みをホスト装置へアサートする。
The memory card drive 200 includes an external interface unit 1 and a memory card controller 2.
The external interface unit 1 has a function of transmitting / receiving data to / from the drive control means 103 of the host device according to the card bus standard.
The memory card controller 2 has a function of controlling the operations of the SD cards 300a to 300d attached to the SD slot in response to an ATA command from the host device. For the control of the SD cards 300a to 300d by the memory card controller 2, SD commands are used. At the start of data transfer, the memory card controller 2 converts the logical address of the virtual drive indicated by the ATA command into the logical address of each SD card, and instructs the start of data transfer such as writing and reading with the converted logical address. An SD command is issued to the SD card. If the start of writing is instructed, then the write data is sequentially transferred to the SD card. At the end of the data transfer, the memory card controller 2 issues a STOP command for instructing the end of the data transfer to the SD card, and asserts a transfer end interrupt indicating the completion of the data transfer to the host device.

メモリカードコントローラ2は更に、SDカードへのクロック信号の供給を制御する機能を有し、クロック信号の供給を停止することでSDカードの動作を一時的に中断させ、クロック信号の供給を再開することで一時的に中断していたSDカードの動作を再開させることができる。
尚、メモリカードコントローラ2は、SDカード300a〜300dをストライピングによって並列動作させることで、25Mbpsの帯域でデータを転送する。ここでストライピングとは、書き込むべきデータを記録ブロック単位に分割して複数のメモリカードに並列して書き込むことである。本実施形態では、4枚のSDカードが連装されているので、書き込むべきデータは4分割される。
The memory card controller 2 further has a function of controlling the supply of the clock signal to the SD card. By stopping the supply of the clock signal, the operation of the SD card is temporarily interrupted and the supply of the clock signal is resumed. Thus, the operation of the SD card that has been temporarily interrupted can be resumed.
The memory card controller 2 transfers data in a 25 Mbps band by operating the SD cards 300a to 300d in parallel by striping. Here, striping is to divide data to be written into recording block units and write the data in parallel on a plurality of memory cards. In this embodiment, since four SD cards are connected in series, the data to be written is divided into four.

具体的には、メモリカードコントローラ2は、SDカード300a〜300dを0〜3のカード番号を付して管理しており、データ書き込み時には、書き込むべきセクタ番号を4で割った剰余を書き込みカード番号として、書き込みカード番号で管理しているSDカードにデータを書き込ませる。読み出し時は、セクタ番号を4で割った剰余を読み出しカード番号として、読み出しカード番号で管理しているSDカードからデータを読み出させる。かかるストライピングにより、SDカード300a〜300dは1つの仮想ドライブを構成する。このようなストライピングでは、データ転送すべきセクタ数が、メモリカードの連装数以上であれば、データ転送効率が高くなる。   Specifically, the memory card controller 2 manages the SD cards 300a to 300d with card numbers 0 to 3, and when writing data, the remainder obtained by dividing the sector number to be written by 4 is the write card number. Then, data is written to the SD card managed by the writing card number. At the time of reading, the remainder obtained by dividing the sector number by 4 is used as a reading card number, and data is read from the SD card managed by the reading card number. By such striping, the SD cards 300a to 300d constitute one virtual drive. In such striping, if the number of sectors to which data is transferred is equal to or greater than the number of consecutive memory cards, the data transfer efficiency is increased.

SDカード300a〜300dは、書替え可能な不揮発性メモリを内蔵したメモリカードであり、クロック信号に同期して不揮発性メモリに対するデータの記録再生を行う。SDカード300a〜300dの動作は、メモリカードドライブ200から発行されるSDコマンドにより制御される。
メモリカードコントローラ2から書き込み開始命令が発行されると、SDカード300a〜300dは、不揮発性メモリの物理アドレスと論理アドレスとの対応を示す相関表を読み出し、SDコマンドと共にアサートされた論理アドレスを物理アドレスに変換し、メモリカードコントローラ2を介して転送されてくるデータを、変換した物理アドレスから書き込んでいく。書き込み動作時にメモリカードコントローラ2からSTOP命令が発行されると、SDカード300a〜300dは、データの書き込み動作を終了して、書き込み結果に応じて相関表を更新する。
The SD cards 300a to 300d are memory cards having a built-in rewritable nonvolatile memory, and record / reproduce data to / from the nonvolatile memory in synchronization with a clock signal. The operations of the SD cards 300a to 300d are controlled by SD commands issued from the memory card drive 200.
When a write start command is issued from the memory card controller 2, the SD cards 300a to 300d read the correlation table indicating the correspondence between the physical address and the logical address of the non-volatile memory, and physically output the logical address asserted together with the SD command. Data converted into an address and data transferred via the memory card controller 2 are written from the converted physical address. When a STOP command is issued from the memory card controller 2 during the write operation, the SD cards 300a to 300d end the data write operation and update the correlation table according to the write result.

メモリカードコントローラ2から読み出し開始命令が発行されると、SDカード300a〜300dは、不揮発性メモリの物理アドレスと論理アドレスとの対応を示す相関表を読み出し、SDコマンドと共にアサートされた論理アドレスを物理アドレスに変換し、変換した物理アドレスから不揮発性メモリに記録されているデータを読み出してメモリカードコントローラ2へ転送する。読み出し動作時にメモリカードコントローラ2からSTOP命令が発行されると、SDカード300a〜300dは、データの読み出し動作を終了する。以上が本発明に係るメモリカードドライブ装置を使用した撮影再生システムについての説明である。   When a read start command is issued from the memory card controller 2, the SD cards 300a to 300d read the correlation table indicating the correspondence between the physical address and the logical address of the nonvolatile memory, and physically store the logical address asserted together with the SD command. The data is converted into an address, and the data recorded in the nonvolatile memory is read from the converted physical address and transferred to the memory card controller 2. When a STOP command is issued from the memory card controller 2 during the read operation, the SD cards 300a to 300d end the data read operation. This completes the description of the photographing / reproducing system using the memory card drive device according to the present invention.

次に、本発明に係るメモリカードドライブ200の内部構成の詳細について説明する。図3は、メモリカードドライブ200の構成の詳細を示す図である。
外部インターフェース部1は、内部にPCIターゲット3と、PCIバスマスター4とを備える。PCIターゲット3は、ホスト装置100a、100bとのATAコマンドの送受信を担当し、PCIバスマスター4は、ホスト装置100a、100bとの間で、DMA(Direct Memory Access)転送によりデータを送受信する。ここでは、高い転送レートを得る為にDMA転送を用いているが、データの送受信には、他の転送方式を用いても良い。
Next, details of the internal configuration of the memory card drive 200 according to the present invention will be described. FIG. 3 is a diagram showing details of the configuration of the memory card drive 200.
The external interface unit 1 includes a PCI target 3 and a PCI bus master 4 inside. The PCI target 3 is in charge of sending and receiving ATA commands to and from the host devices 100a and 100b, and the PCI bus master 4 sends and receives data to and from the host devices 100a and 100b by DMA (Direct Memory Access) transfer. Here, DMA transfer is used to obtain a high transfer rate, but other transfer methods may be used for data transmission / reception.

メモリカードコントローラ2は、コマンド解析部5、コマンド格納部6、コマンド変換部7、及びデータメモリ11を備える。
コマンド解析部5は、PCIターゲット3で受け付けられたATAコマンドを解析し、先頭セクタの論理アドレスと転送すべきセクタ数とをコマンドから分離する。コマンド格納部6は、過去に受け付けられたATAコマンドを格納し一時保持する。データメモリ11は、SDカードとPCIバスマスター4との間のバッファメモリである。
The memory card controller 2 includes a command analysis unit 5, a command storage unit 6, a command conversion unit 7, and a data memory 11.
The command analysis unit 5 analyzes the ATA command received by the PCI target 3 and separates the logical address of the first sector and the number of sectors to be transferred from the command. The command storage unit 6 stores and temporarily holds ATA commands accepted in the past. The data memory 11 is a buffer memory between the SD card and the PCI bus master 4.

コマンド変換部7は、内部に、連続性照合部8、コマンド開始終了制御部9、及びクロック開始終了制御部10を備え、コマンド解析部5で解析されたATAコマンドに対応して、SDコマンドの発行、及びSDカードへのクロック供給を制御することで、SDカード300aの動作を制御する。尚、図3においては煩雑さを避けるため、SDカード300aとのインターフェースに係る構成のみ図示しているが、メモリカードコントローラ2は、実際にはSDカード300b〜300dのそれぞれに対してもコマンド変換部7と同様の構成を備えており、これらがストライピングの制御を実現している。   The command conversion unit 7 includes a continuity verification unit 8, a command start / end control unit 9, and a clock start / end control unit 10, and an SD command corresponding to the ATA command analyzed by the command analysis unit 5. The operation of the SD card 300a is controlled by controlling issuance and clock supply to the SD card. In FIG. 3, only the configuration related to the interface with the SD card 300a is shown in order to avoid complexity, but the memory card controller 2 actually converts the commands to each of the SD cards 300b to 300d. The same configuration as the unit 7 is provided, and these realize the striping control.

連続性照合部8は、連続したセクタに対するデータ読み出しを要求するATAコマンドが続けて発行されているか否かを判定し、判定結果に応じて、コマンド開始終了制御部9、及びクロック開始終了制御部10にSDカード300aの動作制御処理を実行させる。
コマンド開始終了制御部9は、ATAコマンドの種類に応じてSDコマンドを発行することで、SDカード300aの書き込み、読み出し動作を開始、及び終了させる。
The continuity checking unit 8 determines whether or not ATA commands for requesting data reading for consecutive sectors are continuously issued, and according to the determination result, a command start / end control unit 9 and a clock start / end control unit 10 is caused to execute the operation control process of the SD card 300a.
The command start / end control unit 9 starts and ends the writing and reading operations of the SD card 300a by issuing SD commands according to the types of ATA commands.

クロック開始終了制御部10は、読み出し動作中のSDカード300aへのクロック信号の供給を停止及び再開することで、SDカード300aにおける読み出し動作を、一時停止及び再開させる。ここでクロック開始終了制御部10が、クロック信号の供給を停止させる期間は、先行するATAコマンドにより要求されたデータが読み出されてから、後続するATAコマンドが受け付けられるまでの期間である。以上が、本発明に係るメモリカードドライブ200の内部構成の詳細についての説明である。   The clock start / end control unit 10 temporarily stops and restarts the read operation in the SD card 300a by stopping and restarting the supply of the clock signal to the SD card 300a during the read operation. Here, the period in which the clock start / end control unit 10 stops the supply of the clock signal is a period from when the data requested by the preceding ATA command is read until the subsequent ATA command is received. The above is the detailed description of the internal configuration of the memory card drive 200 according to the present invention.

続いて、上述のメモリカードコントローラ2における処理の詳細について、図4を参照しながら説明する。図4は、メモリカードコントローラ2の処理手順を示すフローチャートである。
メモリカードコントローラ2は、電源投入後、ステップS1及びステップS16からなるループ処理において、PCIターゲット3においてATAコマンドが受け付けられるのを待ち受け、ATAコマンドが受け付けられると(ステップS1:Yes)、ステップS2以降の処理を実行する。
Next, details of the processing in the memory card controller 2 will be described with reference to FIG. FIG. 4 is a flowchart showing the processing procedure of the memory card controller 2.
After the power is turned on, the memory card controller 2 waits for the ATA command to be accepted at the PCI target 3 in the loop process consisting of step S1 and step S16, and when the ATA command is accepted (step S1: Yes), step S2 and subsequent steps. Execute the process.

ステップS2の処理では、コマンド解析部5は、受け付けられたATAコマンドを解析して、データ転送先の先頭セクタの論理アドレスと、転送すべきセクタ数とを取得する。以下、電源投入後、I(Iは自然数)番目に受け付けられたATAコマンドの解析により得られた転送先の論理アドレスをX[I]、転送すべきセクタ数をY[I]と標記する。
ステップS3では、SDカードへクロック信号が供給されているか否かを、連続性照合部8において判定する。
In the process of step S2, the command analysis unit 5 analyzes the received ATA command and acquires the logical address of the leading sector of the data transfer destination and the number of sectors to be transferred. Hereinafter, after the power is turned on, the logical address of the transfer destination obtained by the analysis of the ATA command accepted Ith (I is a natural number) is denoted as X [I], and the number of sectors to be transferred is denoted as Y [I].
In step S3, the continuity checking unit 8 determines whether or not a clock signal is supplied to the SD card.

ステップS3の判定でSDカードへクロック信号が供給されている状態であれば(ステップS3:No)、コマンド開始終了制御部9は、ATAコマンドによる要求に応じて、論理アドレスX[I]からの書き込み又は読み出しの開始命令であるSDコマンドを、SDカードへ発行する(ステップS4)。
ステップS4で発行されたSDコマンドが書き込み開始命令であれば(ステップS5:No)、SDカードではコマンドに応じて書き込み動作が開始され、メモリカードコントローラ2では、ステップS6〜ステップS8の処理によりSDカードにおける書き込み動作を制御する。
If it is determined in step S3 that the clock signal is being supplied to the SD card (step S3: No), the command start / end control unit 9 receives a request from the logical address X [I] in response to a request by the ATA command. An SD command, which is a write or read start command, is issued to the SD card (step S4).
If the SD command issued in step S4 is a write start command (step S5: No), the SD card starts a write operation in response to the command, and the memory card controller 2 performs the SD process by the processes in steps S6 to S8. Controls write operations on the card.

ステップS6〜ステップS8の処理では、コマンド開始終了制御部9が、書き込み動作中のSDカードへ供給される書き込みデータ量を監視し、供給したデータ量がATAコマンドから得られたセクタ数Y[I]に達すると(ステップS6:Yes)、SDカードへSTOP命令のSDコマンドを発行し(ステップS7)、STOP命令に応じてSDカードにおいて書き込み動作が終了して、論理アドレスと物理アドレスとの対応を示す相関表が更新されると、メモリカードコントローラ2は、ホスト装置に対してコマンド実行完了を示す割り込みをアサートする(ステップS8)。ステップS6〜ステップS8の処理の実行後は、ステップS1及びステップS16からなるループ処理に処理が戻る。   In the processing from step S6 to step S8, the command start / end control unit 9 monitors the amount of write data supplied to the SD card during the write operation, and the supplied data amount is the number of sectors Y [I obtained from the ATA command. ] (Step S6: Yes), the SD command of the STOP instruction is issued to the SD card (step S7), the writing operation is terminated in the SD card in response to the STOP instruction, and the correspondence between the logical address and the physical address is reached. Is updated, the memory card controller 2 asserts an interrupt indicating completion of command execution to the host device (step S8). After execution of the processing of step S6 to step S8, the processing returns to the loop processing composed of step S1 and step S16.

ステップS4で発行されたSDコマンドが読み出し開始命令であれば(ステップS5:Yes)、SDカードではコマンドに応じて読み出し動作が開始され、メモリカードコントローラ2では、ステップS9〜ステップS11の処理によりSDカードにおける読み出し動作を制御する。
ステップS9〜ステップS11の処理では、クロック開始終了制御部10が、読み出し動作中のSDカードから読み出され転送されてくるデータ量を監視し、読み出されたデータ量がATAコマンドから得られたセクタ数Y[I]に達すると(ステップS9:Yes)、SDカードへのクロック信号供給を停止すると共に、転送先の論理アドレスX[I]とセクタ数Y[I]との和を算出し、算出した値を連続開始アドレスZとしてコマンド格納部6へ記録する。(ステップS10)。ここで記録された連続開始アドレスZの値は、再度ステップS10の処理が実行され新たな値が通知されるまでは、コマンド格納部6において保持される。尚、連続開始アドレスZを算出しコマンド格納部6へ記録する処理は、SDカードでの読み出し動作実行中、即ち読み出されたデータ量がセクタ数Y[I]に達する前に実行するとしてもよい。これにより、転送レートに影響することなく連続開始アドレスZの算出及び記録が処理できる。
If the SD command issued in step S4 is a read start command (step S5: Yes), the SD card starts a read operation in response to the command. In the memory card controller 2, the SD card is processed by steps S9 to S11. Controls the read operation in the card.
In the processing from step S9 to step S11, the clock start / end control unit 10 monitors the amount of data read and transferred from the SD card during the read operation, and the read data amount is obtained from the ATA command. When the number of sectors Y [I] is reached (step S9: Yes), the clock signal supply to the SD card is stopped and the sum of the logical address X [I] of the transfer destination and the number of sectors Y [I] is calculated. The calculated value is recorded in the command storage unit 6 as the continuous start address Z. (Step S10). The value of the continuous start address Z recorded here is held in the command storage unit 6 until the process of step S10 is executed again and a new value is notified. It should be noted that the process of calculating the continuous start address Z and recording it in the command storage unit 6 may be executed during execution of a read operation on the SD card, that is, before the read data amount reaches the number of sectors Y [I]. Good. Thereby, calculation and recording of the continuous start address Z can be processed without affecting the transfer rate.

クロック信号供給が停止され、SDカードが読み出し動作実行状態のまま一時停止すると、メモリカードコントローラ2は、ホスト装置に対してコマンド実行完了を示す割り込みをアサートする(ステップS11)。ステップS9〜ステップS11の処理の実行後は、ステップS1及びステップS16からなるループ処理に処理が戻る。
上記のステップS9〜ステップS11の処理が実行された後に、新たなATAコマンドが受け付けられた場合(ステップS1:Yes)の処理手順では、ステップS10においてSDカードへのクロック信号供給が停止されているために、ステップS3の判定後、ステップS12〜ステップS15の処理が実行される。
When the supply of the clock signal is stopped and the SD card is temporarily stopped in the read operation execution state, the memory card controller 2 asserts an interrupt indicating the command execution completion to the host device (step S11). After execution of the processes in steps S9 to S11, the process returns to the loop process including steps S1 and S16.
In the processing procedure when a new ATA command is accepted after the processing of steps S9 to S11 is performed (step S1: Yes), the supply of the clock signal to the SD card is stopped in step S10. Therefore, after the determination in step S3, the processes in steps S12 to S15 are executed.

ステップS12の処理では、現在処理中の新たなATAコマンドが、現在一時停止状態にあるSDカードの読み出し動作が再開された場合に読み出されるデータを要求する読み出しコマンドであるか否かを判定するために、連続性照合部8が1)及び2)の条件が共に満たされるか否かを判定する。
1)現在処理中の新たなATAコマンドが読み出しを要求するコマンドである。
2)以前のATAコマンドの処理においてステップS10が実行されたときにコマンド格納部6へ記録された連続開始アドレスZと、現在処理中の新たなATAコマンドに基づいてステップS2で取得された転送先の論理アドレスX[I]とが一致する。
In the process of step S12, in order to determine whether or not the new ATA command currently being processed is a read command for requesting data to be read when the read operation of the SD card currently in a suspended state is resumed. Then, the continuity checking unit 8 determines whether or not the conditions 1) and 2) are both satisfied.
1) A new ATA command currently being processed is a command requesting reading.
2) The transfer destination acquired in step S2 based on the continuous start address Z recorded in the command storage unit 6 when step S10 was executed in the previous ATA command processing and the new ATA command currently being processed Matches the logical address X [I].

上記1)及び2)の条件が共に満たされることが、連続性照合部8から通知されると(ステップS12:Yes)、クロック開始終了制御部10は、SDカードへのクロック信号の供給を再開する(ステップS13)。クロック信号供給が再開されるとSDカードでは一時停止していた読み出し動作が再開される。これに応じて、メモリカードコントローラ2では、ステップS9〜ステップS11の処理によりSDカードにおける読み出し動作を制御する。   When the continuity verification unit 8 notifies that both of the above conditions 1) and 2) are satisfied (step S12: Yes), the clock start / end control unit 10 resumes the supply of the clock signal to the SD card. (Step S13). When the supply of the clock signal is resumed, the read operation that was temporarily stopped in the SD card is resumed. In response to this, the memory card controller 2 controls the reading operation in the SD card by the processes in steps S9 to S11.

上記1)及び2)の条件の少なくとも一方が満たされない場合(ステップS12:No)、即ち、現在処理中の新たなATAコマンドが、現在一時停止状態にあるSDカードの読み出し動作が再開された場合に読み出されるデータを要求する読み出しコマンドではなかった場合、連続性照合部8は、3)の条件が満たされるか否かを判定する(ステップS14)。   When at least one of the above conditions 1) and 2) is not satisfied (step S12: No), that is, when a new ATA command currently being processed resumes the reading operation of the SD card that is currently paused If it is not a read command for requesting data to be read, the continuity checking unit 8 determines whether or not the condition 3) is satisfied (step S14).

3)現在処理中のATAコマンドが、SDカードへのメモリアクセスを要するコマンドである。
上記3)の条件が満たされることが、連続性照合部8から通知されると(ステップS14:Yes)、クロック開始終了制御部10は、SDカードへのクロック信号の供給を再開し、コマンド開始終了制御部9は、SDカードへSTOP命令のSDコマンドを発行する(ステップS15)。ステップS15の処理実行に応じて、SDカードにおいて一時停止していた読み出し動作が終了すると、メモリカードコントローラ2では、ステップS4以降の処理が順に実行される。
3) The ATA command currently being processed is a command that requires memory access to the SD card.
When the continuity verification unit 8 notifies that the condition 3) is satisfied (step S14: Yes), the clock start / end control unit 10 resumes the supply of the clock signal to the SD card and starts the command. The termination control unit 9 issues an SD command of a STOP instruction to the SD card (step S15). When the reading operation that has been temporarily stopped in the SD card is completed in accordance with the execution of the process in step S15, the memory card controller 2 sequentially executes the processes in and after step S4.

上記3)の条件が満たされない場合(ステップS14:No)、メモリカードコントローラ2では、SDカードへのクロック信号供給を停止した状態を維持したまま、SDカードへのメモリアクセスが発生しないATAコマンドにより要求された処理を実行してから、ステップS11の処理で、コマンド実行完了を示す割り込みをホスト装置へアサートし、その後、ステップS1及びステップS16からなるループ処理にで更に次のATAコマンドを待ち受ける。   If the above condition 3) is not satisfied (step S14: No), the memory card controller 2 maintains the state where the clock signal supply to the SD card is stopped, and the ATA command does not cause memory access to the SD card. After executing the requested process, an interrupt indicating the completion of command execution is asserted to the host device in the process of step S11, and then the next ATA command is awaited in the loop process consisting of steps S1 and S16.

尚、SDカードへのメモリアクセスを必要としないATAコマンドとしては、具体的には、IDENTFY−DEVICEコマンド等がある。
以上の処理の流れのうち、ステップS11の処理でホスト装置にコマンド実行完了を示す割り込みをアサートする処理の流れでは、SDカードへのクロック信号供給を停止した状態で、ステップS1及びステップS16からなるループ処理へ処理手順が移る。このクロック信号供給を停止した状態で、所定時間(例えば、1秒)の間、次のATAコマンドが受け付けられなかった場合(ステップS16:Yes)、クロック開始終了制御部10がSDカードへのクロック信号の供給を再開し、続けてコマンド開始終了制御部9がSDカードへSTOP命令のSDコマンドを発行する(ステップS17)ことで、SDカードにおいて一時停止していた読み出し動作を終了させる。
An ATA command that does not require memory access to the SD card is specifically an IDENTFY-DEVICE command.
Of the above processing flow, the processing flow of asserting an interrupt indicating the completion of command execution to the host device in the processing of step S11 includes steps S1 and S16 with the clock signal supply to the SD card stopped. The processing procedure moves to loop processing. When the clock signal supply is stopped and the next ATA command is not accepted for a predetermined time (for example, 1 second) (step S16: Yes), the clock start / end control unit 10 clocks the SD card. The signal supply is resumed, and then the command start / end control unit 9 issues an SD command of a STOP command to the SD card (step S17), thereby terminating the read operation that has been temporarily stopped in the SD card.

以上が、メモリカードコントローラ2における処理の詳細についての説明である。上述のメモリカードコントローラ2の処理手順は、専用ハードウェアによる実装、若しくは、当該処理手順を、コンピュータ記述言語で記述しマイクロプロセッサに実行させることで実現することができる。
続いて、上述のように構成されたメモリカードドライブ200の動作例を、図5及び図6を参照しながら説明する。図5は、メモリカードドライブ200の処理シーケンスを示す図であり、図6は、読み出し動作の詳細を示すタイミングチャートである。
The details of the processing in the memory card controller 2 have been described above. The processing procedure of the memory card controller 2 described above can be realized by mounting with dedicated hardware, or by describing the processing procedure in a computer description language and causing the microprocessor to execute it.
Next, an operation example of the memory card drive 200 configured as described above will be described with reference to FIGS. 5 and 6. FIG. 5 is a diagram showing a processing sequence of the memory card drive 200, and FIG. 6 is a timing chart showing details of the read operation.

図5及び図6において、A[k](kは自然数)は、メモリカードドライブ200の電源投入後、k番目に受けられるATAコマンドを示し、DAT[k]は、k番目のATAコマンドに同期したデータ転送を示し、S[k]は、k番目のATAコマンドに対応してSDカードへ発行されるSDコマンドを示す。
また、図6において、(a)の段は、ホスト装置におけるATAコマンド発行処理のタイミングを示し、(b)の段は、ATAコマンドに対応した転送が完了したことを示す割り込みの発生タイミングを示し、(c)の段は、メモリカードドライブ200におけるSDコマンドの発行処理のタイミングを示し、(d)の段は、SDカードへのクロック信号の供給の様子を示し、(e)の段は、論理アドレスから物理アドレスへの変換等のSDカード内部処理の動作タイミングを示し、(f)の段は、データが転送されるタイミングを示している。
5 and 6, A [k] (k is a natural number) indicates the kth ATA command received after the memory card drive 200 is powered on, and DAT [k] is synchronized with the kth ATA command. S [k] indicates an SD command issued to the SD card in response to the kth ATA command.
In FIG. 6, the stage (a) shows the timing of ATA command issuance processing in the host device, and the stage (b) shows the generation timing of an interrupt indicating that the transfer corresponding to the ATA command has been completed. The stage (c) shows the timing of the SD command issuance processing in the memory card drive 200, the stage (d) shows how the clock signal is supplied to the SD card, and the stage (e) The operation timing of SD card internal processing such as conversion from a logical address to a physical address is shown, and the stage (f) shows the timing at which data is transferred.

ここで、A[1]〜A[4]の4つのATAコマンドは、何れもデータの読み出しを要求するATAコマンドであるが、A[1]〜A[3]により読み出しが要求されるデータは、一連の動画像データであり、SDカードにおいて論理アドレスが連続した記録領域に記録されている。そのため、A[2]及びA[3]のATAコマンドでは、読み出し開始セクタの番号が、それぞれ直前のATAコマンド(即ち、A[1]及びA[2])による読み出しの終了セクタの番号と連続している。一方、A[4]のATAコマンドは、A[1]〜A[3]とは関連のないデータの読み出しを要求するコマンドであり、A[4]の読み出し開始セクタの番号は、A[3]による読み出しの終了セクタの番号と連続していない。   Here, the four ATA commands A [1] to A [4] are all ATA commands that request data reading, but the data requested to be read by A [1] to A [3] , A series of moving image data, in which logical addresses are recorded in a continuous recording area in the SD card. Therefore, in the ATA commands of A [2] and A [3], the read start sector number is continuous with the end sector number of the read by the immediately preceding ATA command (ie, A [1] and A [2]), respectively. is doing. On the other hand, the ATA command of A [4] is a command for requesting reading of data unrelated to A [1] to A [3], and the read start sector number of A [4] is A [3 ] Is not continuous with the sector number of the read end.

先ず、ホスト装置により発行されたA[1]のATAコマンドに応じた一連の動作について説明する。A[1]は、リード命令と開始アドレスと読み出しセクタ数から構成されており、A[1]を受け付けたメモリカードドライブ200は、A[1]を解析して、読み出し開始命令と開始アドレスからなるS[1]をSDカードへ発行する。S[1]を受け付けたSDカードは、論理アドレスから物理アドレスへの変換等の内部処理を処理した後に、DAT[1]のデータ転送を実行する。DAT[1]のデータ転送が始まると、メモリカードドライブ200は、クロック開始終了制御部10により転送データ量を監視し、DAT[1]の転送データ量がA[1]から得られた読み出しセクタ数に達すると、SDカードへのクロック信号供給を停止し、ホスト装置へ割り込みをアサートする。また、このときクロック開始終了制御部10では、A[1]の開始セクタ番号と読み出しセクタ数との合計が算出され、コマンド格納部6へ記録される。以上の一連のシーケンスにより、ホスト装置側では、A[1]に応じた読み出しが完了し、もう一方のSDカード側では、クロック信号供給の停止により、読み出し動作が一時停止した状態を維持することになり、それ以上のデータが読み出されなくなる。これにより、ホスト装置とSDカードとの間でデータ転送の同期が保たれる。   First, a series of operations according to the ATA command of A [1] issued by the host device will be described. A [1] is composed of a read command, a start address, and the number of read sectors, and the memory card drive 200 that has received A [1] analyzes A [1] and determines from the read start command and the start address. S [1] is issued to the SD card. The SD card that has received S [1] performs data transfer of DAT [1] after processing internal processing such as conversion from a logical address to a physical address. When the data transfer of DAT [1] starts, the memory card drive 200 monitors the transfer data amount by the clock start / end control unit 10, and the read sector in which the transfer data amount of DAT [1] is obtained from A [1]. When the number reaches, the supply of the clock signal to the SD card is stopped and an interrupt is asserted to the host device. At this time, the clock start / end control unit 10 calculates the sum of the start sector number of A [1] and the number of read sectors and records it in the command storage unit 6. With the above-described series of sequences, the read according to A [1] is completed on the host device side, and on the other SD card side, the read operation is temporarily stopped by stopping the supply of the clock signal. Thus, no more data is read out. Thereby, synchronization of data transfer is maintained between the host device and the SD card.

次に、割り込み発生によりA[1]に応じたDAT[1]の転送完了が検知されたホスト装置は、A[2]を発行する。A[2]を受け付けたメモリカードドライブ200は、コマンド解析部5及び連続性照合部8においてA[2]を解析し、A[1]とA[2]との連続性を照合する。ここでいう連続性の照合は、A[2]がリード命令であり、且つ、A[2]の開始セクタ番号が、コマンド格納部6に記録されているA[1]の開始セクタ番号と読み出しセクタ数との合計に等しいことを確認することで確認される。メモリカードドライブ200は、連続性を確認した後、クロック開始終了制御部10によりSDカードへのクロック信号供給を再開する。クロック信号の供給が再開されると、SDカードでは一時停止していた読み出し動作が再開され、これにより発生するデータ転送がA[2]に対応したデータ転送DAT[2]となる。DAT[2]のデータ転送が始まると、メモリカードドライブ200は、クロック開始終了制御部10により転送データ量を監視し、転送データ量がA[2]から得られた読み出しセクタ数に達すると、SDカードへのクロック信号供給を停止し、ホスト装置へ割り込みをアサートする。また、このときクロック開始終了制御部10では、A[2]の開始アドレスと読み出しセクタ数との合計が記録される。以上の一連のシーケンスにより、ホスト装置側では、A[2]に応じた読み出しが完了し、SDカード側では、読み出し動作が、再度、一時停止した状態となり、それ以上のデータが読み出されなくなる。   Next, when the completion of the transfer of DAT [1] corresponding to A [1] is detected due to the occurrence of an interrupt, the host device issues A [2]. The memory card drive 200 that has received A [2] analyzes A [2] in the command analysis unit 5 and the continuity checking unit 8 and checks the continuity between A [1] and A [2]. In this continuity check, A [2] is a read command, and the start sector number of A [2] is read from the start sector number of A [1] recorded in the command storage unit 6. This is confirmed by confirming that it is equal to the sum of the number of sectors. After confirming the continuity, the memory card drive 200 restarts the clock signal supply to the SD card by the clock start / end control unit 10. When the supply of the clock signal is resumed, the read operation which has been temporarily stopped in the SD card is resumed, and the data transfer generated thereby becomes the data transfer DAT [2] corresponding to A [2]. When the data transfer of DAT [2] starts, the memory card drive 200 monitors the transfer data amount by the clock start / end control unit 10, and when the transfer data amount reaches the number of read sectors obtained from A [2], The clock signal supply to the SD card is stopped, and an interrupt is asserted to the host device. At this time, the clock start / end control unit 10 records the sum of the start address of A [2] and the number of read sectors. As a result of the series of sequences described above, the read operation according to A [2] is completed on the host device side, and the read operation is once again paused on the SD card side, so that no more data can be read. .

この後、A[2]に応じたDAT[2]の転送処理の完了が検知されたホスト装置からは、A[3]を発行され、以降、ホスト装置、メモリカードドライブ200、及びSDカード間で、A[2]に応じたシーケンスと同様のシーケンスが処理される。その結果、コマンド格納部6では、A[3]の開始アドレスと読み出しセクタ数との合計が記録された状態となり、SDカードでは読み出し動作が一時停止した状態となり、ホスト装置では、A[3]に応じた割り込みが発生した状態となる。   Thereafter, A [3] is issued from the host device in which the completion of the transfer process of DAT [2] corresponding to A [2] is detected, and thereafter, between the host device, the memory card drive 200, and the SD card. Thus, the same sequence as the sequence corresponding to A [2] is processed. As a result, the command storage unit 6 is in a state in which the sum of the start address of A [3] and the number of read sectors is recorded, the read operation is temporarily stopped in the SD card, and A [3] in the host device. An interrupt corresponding to is generated.

このような状態から、割り込み発生によりA[3]に応じたDAT[3]の転送完了が検知されたホスト装置は、この次に、A[4]を発行する。A[4]を受け付けたメモリカードドライブ200は、コマンド解析部5及び連続性照合部8においてA[4]を解析し、A[3]とA[4]との連続性を照合する。しかし、A[4]は、リード命令であるものの、A[4]の開始セクタ番号が、コマンド格納部6に記録されているA[3]の開始セクタ番号と読み出しセクタ数との合計と等しくないために、A[3]とA[4]との連続性は確認されない。そこで、メモリカードドライブ200は、SDカードへのクロック信号供給を再開すると同時に、STOP命令を発行する。これにより、SDカードでは、一時停止していた読み出し動作が終了する。その後、メモリカードドライブ200は、読み出し開始命令と開始アドレスからなるS[4]をSDカードへ発行する。S[4]を受け付けたSDカードは、論理アドレスから物理アドレスへの変換等の内部処理を処理した後に、DAT[4]のデータ転送を実行する。DAT[4]のデータ転送が始まると、メモリカードドライブ200は、クロック開始終了制御部10により転送データ量を監視し、DAT[4]の転送データ量がA[4]から得られた読み出しセクタ数に達すると、SDカードへのクロック信号供給を停止し、ホスト装置へ割り込みをアサートする。また、このときクロック開始終了制御部10では、A[4]の開始セクタ番号と読み出しセクタ数との合計を算出し、コマンド格納部6の記録を更新する。以上の一連のシーケンスにより、ホスト装置側では、A[4]に応じた読み出しが完了し、SDカード側では、読み出し動作が一時停止した状態となり、それ以上のデータが読み出されなくなる。   From such a state, the host device that detects the completion of the transfer of DAT [3] corresponding to A [3] due to the occurrence of an interrupt issues A [4] next. The memory card drive 200 that has received A [4] analyzes A [4] in the command analysis unit 5 and the continuity checking unit 8 and checks the continuity between A [3] and A [4]. However, although A [4] is a read command, the start sector number of A [4] is equal to the sum of the start sector number of A [3] recorded in the command storage unit 6 and the number of read sectors. Therefore, the continuity between A [3] and A [4] is not confirmed. Therefore, the memory card drive 200 restarts the supply of the clock signal to the SD card and issues a STOP command at the same time. Thereby, in the SD card, the reading operation that has been paused is completed. Thereafter, the memory card drive 200 issues S [4] consisting of a read start command and a start address to the SD card. The SD card that has received S [4] executes data transfer of DAT [4] after processing internal processing such as conversion from a logical address to a physical address. When the data transfer of DAT [4] starts, the memory card drive 200 monitors the transfer data amount by the clock start / end control unit 10, and the read sector in which the transfer data amount of DAT [4] is obtained from A [4]. When the number reaches, the supply of the clock signal to the SD card is stopped and an interrupt is asserted to the host device. At this time, the clock start / end control unit 10 calculates the sum of the start sector number of A [4] and the number of read sectors, and updates the record in the command storage unit 6. With the series of sequences described above, the read according to A [4] is completed on the host device side, and the read operation is temporarily stopped on the SD card side, and no more data is read.

本動作例では、ホスト装置はA[4]の後に、新たなATAコマンドを発行しない。メモリカードドライブ200では、SDカードへのクロック信号の供給停止後、時間経過をカウントしているが、次のATAコマンドが受け付けられないため、所定時間経過するとSDカードへのクロック信号供給を再開すると同時に、STOP命令を発行する。これにより、SDカードでは、一時停止していた読み出し動作が終了する。このようなシーケンスにより、SDカードは、クロック信号が供給されていて、SDコマンドを待ち受ける状態となる。以上が、メモリカードドライブ200の動作例についての説明である。   In this operation example, the host device does not issue a new ATA command after A [4]. The memory card drive 200 counts the elapsed time after the supply of the clock signal to the SD card is stopped. However, since the next ATA command is not accepted, the supply of the clock signal to the SD card is resumed after a predetermined time has elapsed. At the same time, a STOP instruction is issued. Thereby, in the SD card, the reading operation that has been paused is completed. By such a sequence, the SD card is supplied with a clock signal and waits for an SD command. The above is the description of the operation example of the memory card drive 200.

上述の動作例では、A[1]及びA[4]に応じた一連のシーケンスで、メモリカードドライブ200でのSDコマンド発行処理、及びSDカード内部でのアドレス変換処理といったデータ転送のオーバーヘッドとなる処理が発生している。しかし、A[2]及びA[3]に応じた一連のシーケンスでは、これらのオーバーヘッドとなる処理が発生しない。   In the above operation example, a series of sequences corresponding to A [1] and A [4] results in data transfer overhead such as SD command issuance processing in the memory card drive 200 and address conversion processing in the SD card. Processing has occurred. However, in a series of sequences corresponding to A [2] and A [3], these overhead processes do not occur.

ここで、メモリカードドライブ200でのSDコマンド発行処理、及びSDカード内部でのアドレス変換処理の実行に要する時間を値uとし、DAT[1]〜DAT[4]のそれぞれで表されるデータ転送に要する時間をtとすると、A[1]の発行後、A[1]に対応する割り込みの発生までの一連の処理にかかる時間は、(u+t)となる。これに対して、A[2]及びA[3]では、それたの発行後、対応する割り込みが発生するまでの一連の処理にかかる時間は、tのみとなる。   Here, the time required to execute the SD command issuance process in the memory card drive 200 and the address conversion process in the SD card is a value u, and data transfer represented by each of DAT [1] to DAT [4]. T is the time required for a series of processing from the issuance of A [1] to the occurrence of an interrupt corresponding to A [1]. On the other hand, in A [2] and A [3], the time required for a series of processing until the corresponding interrupt is generated after the issuance is only t.

従って、A[1]〜A[3]に対応する一連の処理では、図8に示した従来の動作に比較して2u短縮されている。
特に、図1に示すように複数のSDカードを連装する場合、1つのATAコマンドによって1枚のSDカードから読み出されるセクタ数は、ストライピングにより連装数に反比例して少なくなるので、データ転送に要する時間tの値も、同様に小さくなる。この結果、連装数にかかわらず一定の値となるuと、連装数に反比例して小さくなるtとの差が小さくなる。ここでt=uとなる連装数を例として説明すると、A[1]〜A[3]に対応する一連の処理には、図8に示す従来の動作で6uの時間が必要となるが、本実施形態では4uの時間で完了する。これを転送レートで比較すると6u/4uとなり、本実施形態に係るメモリカードドライブ200は、従来例に比べて、転送レートが50%向上していることがわかる。
Therefore, the series of processing corresponding to A [1] to A [3] is shortened by 2u compared to the conventional operation shown in FIG.
In particular, when a plurality of SD cards are connected as shown in FIG. 1, the number of sectors read from one SD card by one ATA command decreases in inverse proportion to the number of connected cards due to striping, which is required for data transfer. The value of time t is similarly reduced. As a result, the difference between u, which is a constant value regardless of the number of continuous attachments, and t, which is inversely proportional to the number of continuous attachments, is small. Here, taking the number of continuous attachments where t = u as an example, a series of processing corresponding to A [1] to A [3] requires 6u in the conventional operation shown in FIG. In this embodiment, the process is completed in 4u. When this is compared with the transfer rate, it becomes 6u / 4u, and it can be seen that the transfer rate of the memory card drive 200 according to the present embodiment is improved by 50% compared to the conventional example.

本実施形態におけるこのような転送レートの向上は、A[2]とA[3]の様に、読み出し開始セクタが先行するATAコマンドの読み出し終了セクタと連続するATAコマンドが、多く続くほど、より高い効率が得られる。例えば、8個のATAコマンドで、読み出し開始セクタが先行するATAコマンドの読み出し終了セクタと連続する場合には、t=uとなる連装数で従来例に比較して、転送レートが78%向上する。   In this embodiment, the transfer rate is improved as the number of ATA commands continued from the read end sector of the ATA command preceded by the read start sector continues as shown in A [2] and A [3]. High efficiency is obtained. For example, with 8 ATA commands, when the read start sector is continuous with the read end sector of the preceding ATA command, the transfer rate is improved by 78% compared to the conventional example with t = u. .

以上のように本実施形態では、SDカードにおいて論理アドレスが連続した記録領域に記録されている一連の動画像データを読み出す際に、動画像データのサイズが1つのATAコマンドに応じて読み出し可能な64kバイトを超えていると、ホスト装置からは、複数のATAコマンドにより分割して動画像データの読み出しが要求される。しかし、メモリカードコントローラがSDカードへのクロック信号供給を制御することで、SDカードにおいては、連続した1度の読み出し動作として処理される。   As described above, in the present embodiment, when reading a series of moving image data recorded in a recording area where logical addresses are continuous in the SD card, the size of the moving image data can be read according to one ATA command. If it exceeds 64 kbytes, the host device requests to read moving image data by dividing it by a plurality of ATA commands. However, when the memory card controller controls the supply of the clock signal to the SD card, the SD card is processed as one continuous read operation.

これによって、ATAコマンドからSDコマンドへの変換処理、及び論理アドレスから物理アドレスの変換処理といったオーバーヘッドとなる処理によって、読み出しレートへ及ぼされる悪影響を抑え、読み出しレートの向上を図ることができる。
また、本実施形態では、連続領域に記録されている大容量データの読み出しが、ホスト装置では複数のATAコマンドに応じた複数の読み出し動作として分割して処理され、SDカードでは一組の転送開始命令及びSTOP命令による一続きの読み出し動作として処理される。しかし、ホスト装置でデータ転送が受け入れられない期間は、SDカードにおける読み出し動作が一時停止するため、ホスト装置とSDカードとの読み出し動作の同期が失われることがない。
As a result, it is possible to suppress an adverse effect on the read rate by the overhead processing such as the conversion process from the ATA command to the SD command and the conversion process from the logical address to the physical address, thereby improving the read rate.
In this embodiment, reading of large-capacity data recorded in a continuous area is divided and processed as a plurality of read operations according to a plurality of ATA commands in the host device, and a set of transfer starts in the SD card. It is processed as a series of read operations by an instruction and a STOP instruction. However, since the read operation in the SD card is temporarily stopped during a period in which the data transfer is not accepted by the host device, the synchronization of the read operation between the host device and the SD card is not lost.

尚、本実施形態では、SDカードの読み出し動作時に転送レートを向上させる構成について説明したが、本発明は、SDカードの書き込み動作の制御についても、同様に適用可能である。
以下、書き込み及び読み込みの両方の転送レートを向上させる変形例について説明する。図7は、本実施形態の変形例に係るメモリカードコントローラによるデータ転送制御の処理手順を示すフローチャートである。本図に示すフローチャートでは、図4に示すフローチャートと比較して、ステップS18が追加され、書き込み処理に係るステップS5〜ステップS8の処理手順が削除され、また、ステップS12の判定がステップS19の判定に変更されていることに特徴がある。
In the present embodiment, the configuration for improving the transfer rate during the SD card read operation has been described. However, the present invention is also applicable to the control of the write operation of the SD card.
Hereinafter, a modified example for improving the transfer rate for both writing and reading will be described. FIG. 7 is a flowchart showing a processing procedure of data transfer control by the memory card controller according to the modification of the present embodiment. In the flowchart shown in this figure, compared to the flowchart shown in FIG. 4, step S18 is added, the processing procedure of steps S5 to S8 related to the writing process is deleted, and the determination of step S12 is the determination of step S19. It is characterized in that it has been changed.

そのため、SDカードへクロック信号を供給している状態でATAコマンドが受け付けられると、そのATAコマンドが書き込み及び読み込みの何れを要求するコマンドであったとしても、ステップS18の処理において、ATAコマンドの種類が書き込み要求及び読み出し要求の何れであるかを、コマンド格納部6に記録された後に、ステップS9〜ステップS11の処理でデータ転送が制御される。   Therefore, when an ATA command is received while a clock signal is being supplied to the SD card, the type of ATA command in the process of step S18, regardless of whether the ATA command is a command that requires writing or reading. Is recorded in the command storage unit 6 to determine whether the request is a write request or a read request, and then data transfer is controlled in the processes of steps S9 to S11.

また、SDカードへのクロック信号供給を停止している状態でATAコマンドが受け付けられた時に、ステップS19で判定される連続性の照合条件が、以下のA)及びB)に変更され、これらの条件が共に満たされる場合にステップS13の処理の流れが実行される。
A)現在処理中の新たなATAコマンドの種類が、コマンド格納部6に記録されている以前に処理されたATAコマンドの種類と一致する。
B)以前のATAコマンドの処理においてステップS10が実行されたときにコマンド格納部6へ記録された連続開始アドレスZと、現在処理中の新たなATAコマンドに基づいてステップS2で取得された転送先の論理アドレスX[I]とが一致する。
Further, when the ATA command is received in a state where the clock signal supply to the SD card is stopped, the continuity checking condition determined in step S19 is changed to the following A) and B), When both conditions are satisfied, the process flow of step S13 is executed.
A) The type of the new ATA command currently being processed matches the type of the previously processed ATA command recorded in the command storage unit 6.
B) Transfer destination acquired in step S2 based on the continuous start address Z recorded in the command storage 6 when step S10 was executed in the previous ATA command processing and the new ATA command currently being processed Matches the logical address X [I].

これによって本変形例は、書き込み、読み出し何れの処理であっても、連続するセクタに対する同じ種類のATAコマンドが続けて発行されると、書き込み及び読み込みの何れの場合にも転送レートを向上させることができる。
(その他の変形例)
尚、本発明を上記の実施形態に基づいて説明してきたが、本発明は、上記の実施の形態に限定されないのはもちろんである。以下のような場合も本発明に含まれる。
As a result, this modification improves the transfer rate in both cases of writing and reading if the same type of ATA command for successive sectors is issued in succession in both writing and reading processes. Can do.
(Other variations)
Although the present invention has been described based on the above embodiment, it is needless to say that the present invention is not limited to the above embodiment. The following cases are also included in the present invention.

(1)本発明は、上記に示す方法であるとしてもよい。また、これらの方法をコンピュータにより実現するコンピュータプログラムであるとしてもよいし、前記コンピュータプログラムからなるデジタル信号であるとしてもよい。
また、本発明は、前記コンピュータプログラム又は前記デジタル信号をコンピュータ読み取り可能な記録媒体、例えば、フレキシブルディスク、ハードディスク、CD−ROM、MO、DVD、DVD−ROM、DVD−RAM、BD(Blu−ray Disc)、半導体メモリなど、に記録したものとしてもよい。また、これらの記録媒体に記録されている前記コンピュータプログラム又は前記デジタル信号であるとしてもよい。
(1) The present invention may be the method described above. Further, the present invention may be a computer program that realizes these methods by a computer, or may be a digital signal composed of the computer program.
The present invention also provides a computer-readable recording medium such as a flexible disk, hard disk, CD-ROM, MO, DVD, DVD-ROM, DVD-RAM, BD (Blu-ray Disc). ), Recorded in a semiconductor memory or the like. Further, the present invention may be the computer program or the digital signal recorded on these recording media.

また、本発明は、前記コンピュータプログラム又は前記デジタル信号を、電気通信回線、無線又は有線通信回線、インターネットを代表とするネットワーク等を経由して伝送するものとしてもよい。
また、本発明は、マイクロプロセッサとメモリとを備えたコンピュータシステムであって、前記メモリは、上記コンピュータプログラムを記憶しており、前記マイクロプロセッサは、前記コンピュータプログラムに従って動作するとしてもよい。
In the present invention, the computer program or the digital signal may be transmitted via an electric communication line, a wireless or wired communication line, a network represented by the Internet, or the like.
The present invention may be a computer system including a microprocessor and a memory, wherein the memory stores the computer program, and the microprocessor operates according to the computer program.

また、前記プログラム又は前記デジタル信号を前記記録媒体に記録して移送することにより、又は前記プログラム又は前記デジタル信号を前記ネットワーク等を経由して移送することにより、独立した他のコンピュータシステムにより実施するとしてもよい。
(2)上記実施形態では、SDカードをメモリカードとして用いるメモリカードドライブ装置について説明した。しかし、本発明は、ホスト装置から発行されるコマンドと異なる仕様のコマンドでの命令が必要なメモリカードであれば、どのようなメモリカードを使用しても、上述の実施形態と同様の効果を奏することはもちろんのことである。
In addition, the program or the digital signal is recorded on the recording medium and transferred, or the program or the digital signal is transferred via the network or the like, and is executed by another independent computer system. It is good.
(2) In the above embodiment, the memory card drive device using an SD card as a memory card has been described. However, the present invention has the same effect as the above-described embodiment regardless of the memory card that is used as long as the memory card requires an instruction with a command having a different specification from the command issued from the host device. Of course, playing.

(3)上記実施形態では、SDカードへのクロック信号供給を停止してから時間をカウントし、所定時間経過後にタイムアウト処理として、SDカードのデータ転送動作を終了させるとしたが、タイムアウト処理の実行は、最後に処理したATAコマンドを受け付けてから所定時間経過後に実行するとしてもよい。
(4)上記実施形態では、ホスト装置とカードバスを介して接続するとしたが、PCIバスや、SCSIを介してホスト装置と接続するとしてもよい。
(3) In the above embodiment, the time is counted after the supply of the clock signal to the SD card is stopped, and the data transfer operation of the SD card is terminated as a timeout process after a predetermined time has elapsed. May be executed after a predetermined time has elapsed since the last processed ATA command was received.
(4) In the above embodiment, the host device is connected to the host device via a card bus. However, the host device may be connected to the host device via a PCI bus or SCSI.

(5)上記実施形態の変形例では、書き込み動作についても、SDカードへのクロック信号供給を停止させることで、一時停止させる構成について説明したが、書き込み動作の一時停止は、SDカードからの書き込みデータの供給を停止することでも実現可能である。
(6)上記実施の形態及び上記変形例をそれぞれ組み合わせるとしてもよい。
(5) In the modified example of the above embodiment, the description has been given of the configuration in which the write operation is temporarily stopped by stopping the supply of the clock signal to the SD card. However, the write operation is suspended from the write from the SD card. It can also be realized by stopping the data supply.
(6) The above embodiment and the above modifications may be combined.

本発明の適用例としては、SDカードへのデータ転送を制御するPCカード形態のメモリカードドライブ装置等がある。   As an application example of the present invention, there is a memory card drive device in the form of a PC card for controlling data transfer to an SD card.

本発明に係るメモリカードドライブ装置を使用した撮影再生システムを示す図。The figure which shows the imaging | photography reproduction | regeneration system using the memory card drive device which concerns on this invention. 本発明に係る撮影再生システムを構成する各装置の内部構成を示す図。The figure which shows the internal structure of each apparatus which comprises the imaging | photography reproduction | regeneration system based on this invention. メモリカードドライブ200の構成の詳細を示す図。FIG. 3 is a diagram showing details of the configuration of the memory card drive 200. 本実施形態に係るメモリカードコントローラにおける処理手順を示すフローチャート。6 is a flowchart showing a processing procedure in the memory card controller according to the embodiment. メモリカードドライブ200の処理シーケンスを示す図。The figure which shows the processing sequence of the memory card drive. 本実施形態に係るメモリカードコントローラによる読み出し動作の一例を示すタイミングチャート。6 is a timing chart showing an example of a read operation by the memory card controller according to the present embodiment. 本実施形態の変形例に係るメモリカードコントローラによるデータ転送制御の処理手順を示すフローチャート。9 is a flowchart showing a processing procedure of data transfer control by a memory card controller according to a modification of the embodiment. 従来のメモリカードコントローラの動作例を示すタイミングチャート。10 is a timing chart showing an operation example of a conventional memory card controller.

符号の説明Explanation of symbols

1 外部インターフェース部
2 メモリカードコントローラ
3 PCIターゲット
4 PCIバスマスター
5 コマンド解析部
6 コマンド格納部
7 コマンド変換部
8 連続性照合部
9 コマンド開始終了制御部
10 クロック開始終了制御部
11 データメモリ
100a、b ホスト装置
101 映像信号入出力手段
102 信号処理手段
103 ドライブ制御手段
200 メモリカードドライブ
300a〜d SDカード
DESCRIPTION OF SYMBOLS 1 External interface part 2 Memory card controller 3 PCI target 4 PCI bus master 5 Command analysis part 6 Command storage part 7 Command conversion part 8 Continuity verification part 9 Command start end control part 10 Clock start end control part 11 Data memory 100a, b Host device 101 Video signal input / output means 102 Signal processing means 103 Drive control means 200 Memory card drive 300a-d SD card

Claims (13)

データ量を指定したコマンドを発行してデータ転送を要求するホスト装置と、転送開始命令を受けてから転送終了命令を受けるまで転送動作を実行するメモリカードとの間のデータ転送を制御するメモリカードコントローラであって、
前記メモリカードは、前記ホスト装置が前記転送開始命令で指定した論理アドレスを物理アドレスに変換して内蔵されている不揮発性メモリにアクセスし、
ホスト装置からのコマンドを受け付ける受付手段と、
転送動作の実行により転送されたデータ量が、データ転送を要求する先行コマンドにより指定されるデータ量に達すると、メモリカードにおける転送動作を一時停止させる一時停止手段と、
メモリカードの転送動作を一時停止させた状態にあるとき受け付けられた後続のコマンドが、前記先行コマンドに応じたデータ転送の終了アドレスの次のアドレスに対するデータ転送を要求するコマンドである場合、前記一時停止させた状態からメモリカードにおける転送動作を再開させる再開手段と
を備えることを特徴とするメモリカードコントローラ。
A memory card that controls data transfer between a host device that issues a command specifying the amount of data and requests data transfer, and a memory card that executes a transfer operation from receipt of a transfer start command to receipt of a transfer end command A controller,
The memory card accesses a built-in nonvolatile memory by converting a logical address designated by the transfer start command by the host device into a physical address,
Receiving means for receiving a command from the host device;
When the amount of data transferred by execution of the transfer operation reaches the amount of data specified by the preceding command requesting data transfer, temporary stop means for temporarily stopping the transfer operation in the memory card;
When the subsequent command received when the transfer operation of the memory card is in a suspended state is a command for requesting data transfer to the address next to the end address of the data transfer according to the preceding command, the temporary A memory card controller comprising: restarting means for restarting the transfer operation in the memory card from the stopped state.
前記データ転送とは、メモリカードからのデータ読み出しであり、
前記メモリカードにおける転送動作とは、データ読み出し動作であることを特徴とする請求項1に記載のメモリカードコントローラ。
The data transfer is data reading from a memory card,
The memory card controller according to claim 1, wherein the transfer operation in the memory card is a data read operation.
前記メモリカードにおけるデータ読み出し動作の一時停止及び再開は、メモリカードへのクロック信号の供給停止及び再供給により制御される
ことを特徴とする請求項2に記載のメモリカードコントローラ。
3. The memory card controller according to claim 2, wherein the temporary stop and restart of the data read operation in the memory card are controlled by stopping and resupplying a clock signal to the memory card.
前記メモリカードコントローラは更に、転送開始命令、及び転送終了命令の発行により、メモリカードにおけるデータ読み出し動作の開始終了を制御する命令発行手段を備え、
ここで、前記一時停止させた状態で所定時間経過した場合、前記再開手段は、クロック信号の供給を再開して一時停止状態を解除させ、前記命令発行手段は、転送終了命令を発行してメモリカードにおけるデータ読み出し動作を終了させる
ことを特徴とする請求項3に記載のメモリカードコントローラ。
The memory card controller further comprises command issuing means for controlling the start and end of the data read operation in the memory card by issuing a transfer start command and a transfer end command,
Here, when a predetermined time has elapsed in the paused state, the restarting unit resumes the supply of the clock signal to release the paused state, and the command issuing unit issues a transfer end command to 4. The memory card controller according to claim 3, wherein the data reading operation in the card is terminated.
前記後続のコマンドがメモリカードへのアクセスを必要としないコマンドである場合、前記一時停止手段は、前記一時停止させた状態を維持する
ことを特徴とする請求項3に記載のメモリカードコントローラ。
4. The memory card controller according to claim 3, wherein when the subsequent command is a command that does not require access to the memory card, the temporary stop unit maintains the temporarily stopped state. 5.
前記メモリカードコントローラは更に、転送開始命令、及び転送終了命令の発行により、メモリカードにおける転送動作の開始終了を制御する命令発行手段を備え、
ここで、前記後続のコマンドが、データ書き込み、及び、前記先行のコマンドに応じたデータ読み出しの終了アドレスと連続しないアドレスからのデータ読み出しの何れかを要求するコマンドである場合、前記再開手段は、クロック信号の供給を再開して一時停止状態を解除させ、前記命令発行手段は、転送終了命令を発行してメモリカードにおけるデータ読み出し動作を終了させた後に、前記後続のコマンドに応じた転送開始命令を発行する
ことを特徴とする請求項3に記載のメモリカードコントローラ。
The memory card controller further comprises command issuing means for controlling the start and end of the transfer operation in the memory card by issuing a transfer start command and a transfer end command,
Here, when the subsequent command is a command requesting either data write or data read from an address that is not continuous with an end address of data read according to the preceding command, the resuming means includes: The supply of the clock signal is resumed to release the pause state, and the command issuing means issues a transfer end command to end the data read operation in the memory card, and then transfers the transfer start command according to the subsequent command. The memory card controller according to claim 3, wherein the memory card controller is issued.
前記データ転送とは、メモリカードへのデータ書き込みであり、
前記メモリカードにおける転送動作とは、データ書き込み動作である
ことを特徴とする請求項1に記載のメモリカードコントローラ。
The data transfer is data writing to a memory card,
The memory card controller according to claim 1, wherein the transfer operation in the memory card is a data write operation.
前記メモリカードにおけるデータ書き込み動作の一時停止及び再開は、メモリカードへの書き込みデータ供給の停止及び再供給により制御される
ことを特徴とする請求項7に記載のメモリカードコントローラ。
8. The memory card controller according to claim 7, wherein suspension and resumption of data writing operation in the memory card are controlled by stopping and resupplying write data to the memory card.
前記メモリカードコントローラは更に、前記一時停止させた状態で所定時間経過した場合に、転送終了命令を発行してメモリカードにおけるデータ書き込み動作を終了させる命令発行手段を備える
ことを特徴とする請求項8に記載のメモリカードコントローラ。
9. The memory card controller further comprises command issuing means for issuing a transfer end command and ending a data write operation in the memory card when a predetermined time has elapsed in the paused state. Memory card controller as described in
前記後続のコマンドがメモリカードへのアクセスを必要としないコマンドである場合、前記一時停止手段は、前記一時停止させた状態を維持する
ことを特徴とする請求項8に記載のメモリカードコントローラ。
9. The memory card controller according to claim 8, wherein when the subsequent command is a command that does not require access to the memory card, the temporary stopping unit maintains the temporary stopped state.
前記メモリカードコントローラは更に、前記後続のコマンドが、データ読み出し、及び、前記先行のコマンドに応じたデータ書き込みの終了アドレスと連続しないアドレスからのデータ書き込みの何れかを要求するコマンドである場合、転送終了命令を発行してメモリカードにおけるデータ書き込み動作を終了させた後に、前記後続のコマンドに応じた転送開始命令を発行する命令発行手段を備える
ことを特徴とする請求項8に記載のメモリカードコントローラ。
The memory card controller further transfers the data when the subsequent command is a command requesting either data reading or data writing from an address that is not continuous with an end address of data writing according to the preceding command. 9. The memory card controller according to claim 8, further comprising command issuing means for issuing a transfer start command according to the subsequent command after issuing an end command to end the data writing operation in the memory card. .
請求項1に記載のメモリカードコントローラと、
ホスト装置と接続する第1インターフェース手段と、
1枚以上のメモリカードを取り付ける第2インターフェース手段とを備え、
ここで、前記メモリカードコントローラは、第1インターフェース手段から入力されるコマンドに基づいて、第2インターフェース手段に取り付けられたメモリカードへアクセスすること
ことを特徴とするメモリカードドライブ装置。
A memory card controller according to claim 1;
First interface means for connecting to the host device;
Second interface means for attaching one or more memory cards;
Here, the memory card controller accesses the memory card attached to the second interface unit based on a command input from the first interface unit.
データ量を指定したコマンドを発行してデータ転送を要求するホスト装置と、転送開始命令を受けてから転送終了命令を受けるまで転送動作を実行するメモリカードとの間のデータ転送を制御するメモリカードコントローラのプログラムであって、
前記メモリカードは、前記ホスト装置が前記転送開始命令で指定した論理アドレスを物理アドレスに変換して内蔵されている不揮発性メモリにアクセスし、
転送動作の実行により転送されたデータ量が、先行コマンドにより指定されるデータ量に達すると、メモリカードにおける転送動作を一時停止させるステップと、
メモリカードの転送動作を一時停止させた状態にあるとき、前記先行コマンドに応じたデータ転送の終了アドレスの次のアドレスに対するデータ転送を要求する後続のコマンドが受け付けられた場合に、前記一時停止させた状態からメモリカードにおける転送動作を再開させるステップと
をメモリカードコントローラのプロセッサに実行させることを特徴とするプログラム。
A memory card that controls data transfer between a host device that issues a command specifying the amount of data and requests data transfer, and a memory card that executes a transfer operation from receipt of a transfer start command to receipt of a transfer end command A controller program,
The memory card accesses a built-in nonvolatile memory by converting a logical address designated by the transfer start command by the host device into a physical address,
When the amount of data transferred by execution of the transfer operation reaches the amount of data specified by the preceding command, temporarily stopping the transfer operation in the memory card;
When the transfer operation of the memory card is in a paused state, when a subsequent command requesting data transfer for the address next to the end address of the data transfer according to the preceding command is accepted, the pause is performed. A program for causing a processor of a memory card controller to execute a step of resuming a transfer operation in a memory card from a state where the memory card is in a state.
JP2005279654A 2004-10-01 2005-09-27 Memory card controller, memory card drive device, and program Active JP4323476B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005279654A JP4323476B2 (en) 2004-10-01 2005-09-27 Memory card controller, memory card drive device, and program

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2004289751 2004-10-01
JP2005279654A JP4323476B2 (en) 2004-10-01 2005-09-27 Memory card controller, memory card drive device, and program

Publications (2)

Publication Number Publication Date
JP2006127492A JP2006127492A (en) 2006-05-18
JP4323476B2 true JP4323476B2 (en) 2009-09-02

Family

ID=36722129

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005279654A Active JP4323476B2 (en) 2004-10-01 2005-09-27 Memory card controller, memory card drive device, and program

Country Status (1)

Country Link
JP (1) JP4323476B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010026592A (en) * 2008-07-15 2010-02-04 Panasonic Corp Memory device and memory device control device
JP5887568B2 (en) * 2011-06-23 2016-03-16 パナソニックIpマネジメント株式会社 Memory card controller, memory card adapter and memory card drive

Also Published As

Publication number Publication date
JP2006127492A (en) 2006-05-18

Similar Documents

Publication Publication Date Title
KR100897463B1 (en) Memory card controller, memory card drive device, and computer rederable medium
US7747144B2 (en) Information processing apparatus, information processing method, recording medium, control
JP6370027B2 (en) Continuous read burst support at high clock speeds
JP5887568B2 (en) Memory card controller, memory card adapter and memory card drive
JP4323476B2 (en) Memory card controller, memory card drive device, and program
US20050259542A1 (en) Reproduction device and method, recording medium, and program
JP4534940B2 (en) Information recording apparatus, imaging apparatus, information recording control method, and computer program
JP2006018419A (en) Storage device
US8452158B2 (en) Recording apparatus, imaging and recording apparatus, recording method, and program
JP2009230789A (en) Memory unit, and control method for the same
JP2004094478A (en) Disk drive, and data transfer method
US6496311B1 (en) Data recording/reproducing unit, data recording method, data reproducing method, data recording/reproducing method, hard disk controller, and AV-data recording/reproducing method
JP2000276856A (en) Device and method for recording data and device and method for reproducing data
US8509597B2 (en) Recording apparatus, imaging and recording apparatus, recording method, and program
JPH1075265A (en) Data transfer device
JPH11162106A (en) Recording and reproducing apparatus
JPH10333984A (en) Recording and reproducing device
JP4474742B2 (en) Data recording / reproducing apparatus and data re-recording processing method
JP2004078408A (en) Recording device and method, recording medium and program
JP2959544B2 (en) Magnetic disk drive
JP2001134387A (en) Information retrieving device and information processor
JP2734437B2 (en) Magnetic disk drive and method of controlling magnetic disk drive
JPH09128291A (en) Cache memory managing method
JP2001309292A (en) Disk control device, disk control method and disk device
KR20020054478A (en) Optical recorder and method of real-time data recording

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20081022

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20081202

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20090202

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: 20090512

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090604

R150 Certificate of patent or registration of utility model

Ref document number: 4323476

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

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

Free format text: PAYMENT UNTIL: 20120612

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20130612

Year of fee payment: 4