JP2006023986A - Method for copying data and card reader - Google Patents

Method for copying data and card reader Download PDF

Info

Publication number
JP2006023986A
JP2006023986A JP2004201640A JP2004201640A JP2006023986A JP 2006023986 A JP2006023986 A JP 2006023986A JP 2004201640 A JP2004201640 A JP 2004201640A JP 2004201640 A JP2004201640 A JP 2004201640A JP 2006023986 A JP2006023986 A JP 2006023986A
Authority
JP
Japan
Prior art keywords
bus
card
card reader
memory
memory 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.)
Pending
Application number
JP2004201640A
Other languages
Japanese (ja)
Inventor
Kokucho Rin
國肇 林
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.)
Winbond Electronics Corp
Original Assignee
Winbond Electronics Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Winbond Electronics Corp filed Critical Winbond Electronics Corp
Priority to JP2004201640A priority Critical patent/JP2006023986A/en
Publication of JP2006023986A publication Critical patent/JP2006023986A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a method for copying data between a plurality of memory cards without occupying a system bus and a main memory. <P>SOLUTION: A card reader which is an apparatus for copying data from a first memory card to a second memory card comprises: a multicard interface connected to the first memory card and the second memory card and capable of accessing data stored in the first and second memory cards; a bus controller connected to a system bus and receiving a copy instruction sent from the system through the system bus; and a direct memory access controller capable of directly copying data from the first memory card to the second memory card without occupying the system bus when the bus controller receives the copy instruction sent from the system. <P>COPYRIGHT: (C)2006,JPO&NCIPI

Description

本発明は、複数のメモリカード間のデータを直接コピーする方法と装置に関し、特に、ソフトウェアドライバと連携して内部のダイレクトメモリアクセス(DMA)コントローラーを用いて、メモリまたはシステムバスをコピーすることなく、異なる形式の各種のメモリカード間のデータを転送する方法に関するものである。   The present invention relates to a method and an apparatus for directly copying data between a plurality of memory cards, and in particular, without using an internal direct memory access (DMA) controller in cooperation with a software driver without copying a memory or a system bus. The present invention relates to a method for transferring data between various types of memory cards.

フラッシュメモリカードは、それらの小型サイズによって便利で持ち運びが可能である。しかし、例えば、メモリースティック(MS)、セーフデジタル(SD)、スマートメディア(SM)、xDピクチャー(XD)など、各種のメモリカード間の規格には交換性がない。そのため、利便性の需要からマルチカードリーダーがポピュラーになってきている。従来のマルチカードリーダーは、データ転送に、通常、ユニバーサルシリアルバス(USB)、ローピンカウント(LPC)、または周辺装置相互接続インターフェース(PCI)を用いる。   Flash memory cards are convenient and portable because of their small size. However, for example, standards between various memory cards such as memory stick (MS), safe digital (SD), smart media (SM), and xD picture (XD) are not interchangeable. For this reason, multi-card readers have become popular due to demand for convenience. Conventional multi-card readers typically use Universal Serial Bus (USB), Low Pin Count (LPC), or Peripheral Device Interconnect Interface (PCI) for data transfer.

PCIインターフェースを用いた従来のマルチカードリーダーでは、第一カードリーダーから第二カードリーダーにデータをコピーするために、データを読む時、下記のコンポーネント、すなわち、第一メモリカード、ダイレクトメモリアクセス(DMA)コントローラー、PCIバス、サウスブリッジ、ノースブリッジとメインメモリが順番に占領される。同様に、データがメインメモリから第二メモリカードに書き込まれる時、下記のコンポーネント、すなわち、メインメモリ、ノースブリッジ、サウスブリッジ、PCIバス、DMAコントローラーと最後に、第二メモリカードが順番に占領される。したがって、PCIバスの資源は、二回占領され、中央演算処理装置(CPU)は、二回中断され、メインメモリは二回アクセスされる。   In a conventional multi-card reader using a PCI interface, when data is read in order to copy data from the first card reader to the second card reader, the following components are used: the first memory card, direct memory access (DMA). ) Controller, PCI bus, South Bridge, North Bridge and main memory are occupied in order. Similarly, when data is written from the main memory to the second memory card, the following components are occupied in sequence: main memory, north bridge, south bridge, PCI bus, DMA controller and finally the second memory card. The Therefore, the PCI bus resources are occupied twice, the central processing unit (CPU) is interrupted twice, and the main memory is accessed twice.

図1に見られるように、従来の外部接続のPCI装置20、21および22のデータは、読み込みまたは、書き込みに関わらず、必然的にシステムバス23、ノースおよびサウスブリッジ25とメインメモリ24とを占領する。   As shown in FIG. 1, the data of the conventional externally connected PCI devices 20, 21, and 22 inevitably pass through the system bus 23, the north and south bridges 25, and the main memory 24 regardless of whether they are read or written. Occupy.

図2は、マルチカードリーダー27がシステムバス14に差し込まれた時に、メモリカード16からメモリカード17にコピーするプロセスを示している。まず、コピー命令がオペレーティングシステム10からカードリーダードライバ8および9に出される。カードリーダードライバ8は、カードリーダー3に対応し、カードリーダードライバ9は、カードリーダー4に対応する。DMAコントローラー1とカードリーダー3〜4は、続いて、バスコントローラー13の中のバススレーブ7によって受けたコピー命令によって初期化される。オペレーティングシステム10は、続いて、バスマスター6を通して送られた中断要求11によって確認し、コピープロセスの開始を知らせる。   FIG. 2 shows a process of copying from the memory card 16 to the memory card 17 when the multi-card reader 27 is inserted into the system bus 14. First, a copy command is issued from the operating system 10 to the card reader drivers 8 and 9. The card reader driver 8 corresponds to the card reader 3, and the card reader driver 9 corresponds to the card reader 4. The DMA controller 1 and the card readers 3 to 4 are subsequently initialized by a copy command received by the bus slave 7 in the bus controller 13. The operating system 10 then confirms with an interrupt request 11 sent through the bus master 6 and informs the start of the copy process.

初期化の完了後、データは、ノースおよびサウスブリッジ25を通して、バスマスター6によってコントロールされたシステムバス14を経由して、カードリーダー3からDMAコントローラー1に転送され、最後にメインメモリ24に書き込まれる。   After the initialization is completed, the data is transferred from the card reader 3 to the DMA controller 1 via the system bus 14 controlled by the bus master 6 through the north and south bridges 25 and finally written in the main memory 24. .

したがって、データは、メインメモリ24から読み込まれ、ノースおよびサウスブリッジ25を通して、バスマスター6によってコントロールされたシステムバス14を経由して、再度、DMAコントローラー1に転送される。コピープロセスは、データがDMAコントローラー1によってカードリーダー4のメモリカード17に書き込まれた時、完了する。完了した時、中断要求が同時にバスマスター6によってオペレーティングシステム10に送られ、システムにコピープロセスが完了したことを知らせる。   Therefore, data is read from the main memory 24, transferred to the DMA controller 1 again through the north and south bridges 25 via the system bus 14 controlled by the bus master 6. The copy process is completed when data is written to the memory card 17 of the card reader 4 by the DMA controller 1. When complete, an interrupt request is sent simultaneously to the operating system 10 by the bus master 6 to inform the system that the copy process is complete.

従来の方法では、データは、ダイレクトメモリアクセス技術によって読まれ、書き込まれ、コンポーネントは、下記の順序で占領される。メモリカード16、カードリーダー3、DMAコントローラー1、バスマスター6、システムバス14、ノースおよびサウスブリッジ25、メインメモリ24、ノースおよびサウスブリッジ25、システムバス14、バスマスター6、DMAコントローラー1、カードリーダー4、メモリカード17の全部で13のステップである。よって、システムが二回中断される。従来の方法は、PCIバスにかなりの負担をかけ、バンド幅を浪費し、メインメモリとPCIバスの間の転送隘路を生じさせる。   In conventional methods, data is read and written by direct memory access techniques and components are occupied in the following order: Memory card 16, card reader 3, DMA controller 1, bus master 6, system bus 14, north and south bridge 25, main memory 24, north and south bridge 25, system bus 14, bus master 6, DMA controller 1, card reader 4 and 13 steps in total for the memory card 17. Thus, the system is interrupted twice. Conventional methods place a significant burden on the PCI bus, waste bandwidth, and create a transfer bottleneck between the main memory and the PCI bus.

本発明の目的は、システムバスとメインメモリを占領することなく、複数のメモリカード間のデータをコピーする方法を提供する。
本発明によって提供された方法は、隠しダイレクトメモリアクセス(hidden DMA)転送と言われ、この方法に用いられるマルチカードリーダーも提供される。
An object of the present invention is to provide a method for copying data between a plurality of memory cards without occupying a system bus and a main memory.
The method provided by the present invention is referred to as a hidden direct memory access (hidden DMA) transfer, and a multi-card reader used in this method is also provided.

マルチカードリーダーは、マルチカードインターフェース、バスコントローラー、DMA(ダイレクトメモリアクセス)コントローラーを含む。マルチカードインターフェースは、更に各種の形式の複数のスロットを含み、異なる規格のメモリカードに対応する。バスコントローラーは、バスマスターとバススレーブを含み、それぞれ特定の操作をコントロールする。DMAコントローラーは、データ転送の主要なプロセッサーで、システムドライバの制御の下に、カードリーダーとシステムとの間に流れる全てのデータを操作する。   The multi-card reader includes a multi-card interface, a bus controller, and a DMA (direct memory access) controller. The multi-card interface further includes a plurality of slots of various types, and supports memory cards of different standards. The bus controller includes a bus master and a bus slave, and each controls a specific operation. The DMA controller is the main processor for data transfer and operates all data flowing between the card reader and the system under the control of the system driver.

データが第一メモリカードから第二メモリカードにコピーされる時、下記のステップが求められる。まず、システムバスによってシステムから送られたコピー命令が受けられる。データは、続いてコピー命令を受けた後、第一カードリーダーによって第一メモリカードから読み込まれる。最後にデータは、システムバスを占領することなく第二カードリーダーによって第二メモリカードに書き込まれる。したがって、メモリとシステムバスは、データのコピープロセスによって占領されず、1回の中断だけでコピープロセスが始められたことをシステムに知らせることができる。内部フラグは、システムが中断を確認した時、作動され、コピープロセスは、フラグ値が特定値の時、プロセスが完了していると確定される。   When data is copied from the first memory card to the second memory card, the following steps are required. First, a copy command sent from the system by the system bus is received. The data is subsequently read from the first memory card by the first card reader after receiving a copy command. Finally, the data is written to the second memory card by the second card reader without occupying the system bus. Thus, the memory and system bus are not occupied by the data copying process, and can inform the system that the copying process has begun with only one interruption. The internal flag is activated when the system confirms the interruption, and the copy process is determined to be complete when the flag value is a specific value.

よって、本発明に基づいた隠しダイレクトメモリアクセス転送の方法を用いると、下記のコンポーネントだけが順番に占領される。メモリカード16、カードリーダー3、DMAコントローラー1、カードリーダー4とメモリカード17の全部で5ステップで、1回のシステム中断要求だけが求められる。従来のシステムの13ステップと2回の中断に比べ、本発明の方法は、早く、より効率的である。   Thus, using the hidden direct memory access transfer method according to the present invention, only the following components are occupied in order. The memory card 16, the card reader 3, the DMA controller 1, the card reader 4, and the memory card 17 are all required to make a single system interruption request in five steps. Compared to 13 steps and 2 interruptions of the conventional system, the method of the present invention is faster and more efficient.

本発明に基づいた隠しDMA転送の方法を用いると、データは、メインメモリにアクセスすることなく、またはPCIバスを占領することなく、直接、内部DMA(ダイレクトメモリアクセス)コントローラーによってメモリカード間を転送する。コピープロセスの完了を指示する通知だけが中央演算処理装置で待たされる。   With the hidden DMA transfer method according to the present invention, data is transferred between memory cards directly by an internal DMA (direct memory access) controller without accessing the main memory or occupying the PCI bus. To do. Only a notification instructing the completion of the copy process is waited at the central processing unit.

本発明についての目的、特徴、長所が一層明確に理解されるよう、以下に実施形態を例示し、図面を参照にしながら、詳細に説明する。   In order that the objects, features, and advantages of the present invention will be more clearly understood, embodiments will be described below in detail with reference to the drawings.

本発明の詳細な説明が下記に提供される。
図3に示すように、マルチカードリーダー27は、コンピューターシステムのシステムバス14に差し込まれ、オペレーティングシステム10からカードリーダー8と9を通して出された命令によってコントロールされる。マルチカードリーダー27は、バスコントローラー13、DMAコントローラー1を含み、カードリーダー2〜5がそこに設置される。バスコントローラー13は、バスマスター6とバススレーブ7との組合せである。バスマスター6は、データ転送の間、システムバス14を導き、バススレーブ7は、オペレーティングシステム10からシステムバス14を通して出された命令を受け、フラグ値を用いてオペレーティングシステム10に対して応答する。
A detailed description of the present invention is provided below.
As shown in FIG. 3, the multicard reader 27 is plugged into the system bus 14 of the computer system and controlled by instructions issued from the operating system 10 through the card readers 8 and 9. The multi-card reader 27 includes a bus controller 13 and a DMA controller 1, and card readers 2 to 5 are installed therein. The bus controller 13 is a combination of a bus master 6 and a bus slave 7. The bus master 6 guides the system bus 14 during data transfer, and the bus slave 7 receives an instruction issued from the operating system 10 through the system bus 14 and responds to the operating system 10 using a flag value.

DMAコントローラー1は、マルチカードリーダー27の全てのデータの流れを導き、ドライバ19の指示の下で、どのドライバの間のデータのコピーも可能である。例えば、カードリーダーからカードリーダーへ、カードリーダーからシステムへ、またはシステムからカードリーダーへなどである。   The DMA controller 1 guides all the data flow of the multi-card reader 27 and can copy data between any driver under the direction of the driver 19. For example, card reader to card reader, card reader to system, or system to card reader.

メモリースティック(MS)、セーフデジタル(SD)、スマートメディア(SM)、xDピクチャー(XD)を含むいずれかの規格のメモリカード15〜18は、対応するカードリーダー2〜5に差し込まれる。システムバス14は、周辺装置相互接続インターフェース(PCI)、ISA(industrial standard architecture:通称、アイサ)、またはローピンカウント(LPC)に適合する。   Memory cards 15 to 18 of any standard including a memory stick (MS), safe digital (SD), smart media (SM), and xD picture (XD) are inserted into corresponding card readers 2 to 5. The system bus 14 is compatible with Peripheral Device Interconnect Interface (PCI), ISA (Industrial Standard Architecture), or Low Pin Count (LPC).

図3は、データがメモリカード16からメモリカード17にコピーされる状態を図解している。マルチカードリーダー27は、システムバス14と接続されたバスコントローラー13を含む。オペレーティングシステム10は、カードリーダードライバ8または9と連携してマルチカードリーダー27をコントロールする。カードリーダー3は、カードリーダードライバ8を読み、カードリーダー4は、カードリーダードライバ9を読む。コピー命令は、オペレーティングシステム10の指示の下にカードリーダードライバ8から出され、システムバス14を経由して、バスコントローラー13の中に置かれたスレーブ7によって受けられ、DMAコントローラー1、カードリーダー3とカードリーダー4を初期化する。   FIG. 3 illustrates a state where data is copied from the memory card 16 to the memory card 17. The multicard reader 27 includes a bus controller 13 connected to the system bus 14. The operating system 10 controls the multi-card reader 27 in cooperation with the card reader driver 8 or 9. The card reader 3 reads the card reader driver 8, and the card reader 4 reads the card reader driver 9. The copy command is issued from the card reader driver 8 under the direction of the operating system 10 and received by the slave 7 placed in the bus controller 13 via the system bus 14. And the card reader 4 is initialized.

初期化が完了後、データは、カードリーダー3からDMAコントローラー1によって読み込まれ、中断要求は、同時に、バスコントローラー13の中に置かれたバスマスター6を通してオペレーティングシステム10に送られ、コピープロセスが始められたことをシステムに知らせる。カードリーダードライバ9は、続いて、オペレーティングシステム10によって指示され、DMAコントローラー1の中のフラグ値をモニタする。   After initialization is complete, data is read from the card reader 3 by the DMA controller 1 and an interrupt request is sent to the operating system 10 through the bus master 6 located in the bus controller 13 at the same time, and the copy process begins. Let the system know that The card reader driver 9 is then instructed by the operating system 10 to monitor the flag value in the DMA controller 1.

データは、カードリーダー4を通してDMAコントローラー1によってメモリカード17に書き込まれる。完了した時、フラグは特定値に設定され、コピープロセスが完了したことをシステム10に知らせる。   Data is written to the memory card 17 by the DMA controller 1 through the card reader 4. When complete, the flag is set to a specific value to inform the system 10 that the copy process is complete.

もう1つの実施例では、相互接続の機構がカードリーダードライバ8および9に具備され、オペレーティングシステム10を占領することなく、対応するカードリーダーの初期化を自動化するようにしてある。オペレーティングシステム10は、指示を出すことを要求されるのみであり、カードリーダードライバは、残りのタスクを完了させ、オペレーティングシステム10がそれぞれの複雑なコンポーネントの初期化のステップを完了する負担から免れさせる。   In another embodiment, an interconnect mechanism is provided in the card reader drivers 8 and 9 to automate the initialization of the corresponding card reader without occupying the operating system 10. The operating system 10 is only required to issue instructions, and the card reader driver completes the remaining tasks and frees the operating system 10 from the burden of completing each complex component initialization step. .

このように、本発明に基づいた隠しDMA転送の方法を用いると、データは、メインメモリにアクセスすることなく、またはPCIバスを占領することなく、直接、内部DMA(ダイレクトメモリアクセス)コントローラーによってメモリカード間を転送する。コピープロセスの完了を指示する通知だけが中央演算処理装置(CPU)で期待される。   Thus, with the hidden DMA transfer method according to the present invention, data is directly stored in the internal DMA (direct memory access) controller without accessing the main memory or occupying the PCI bus. Transfer between cards. Only notifications that direct the completion of the copy process are expected at the central processing unit (CPU).

したがって、データ転送は、下記のコンポーネントを順番に占領する。すなわち、メモリカード16、カードリーダー3、DMAコントローラー1、カードリーダー4およびメモリカード17の全部で5ステップで、システム10には、1回のシステム中断要求だけが求められる。従来では、13ステップと2回の中断に比べ、本発明の方法は、より効率的で早く、システム資源の消費を減少することができる。   Thus, data transfer occupies the following components in order: In other words, the memory card 16, the card reader 3, the DMA controller 1, the card reader 4, and the memory card 17 are all in five steps, and the system 10 is required to request only one system interruption. Conventionally, compared to 13 steps and 2 interruptions, the method of the present invention is more efficient and faster and can reduce the consumption of system resources.

以上、本発明の好適な実施例を例示したが、これは本発明を限定するものではなく、本発明の精神及び範囲を逸脱しない限りにおいては、当業者であれば行い得る少々の変更や修飾を付加することは可能である。従って、本発明が保護を請求する範囲は、特許請求の範囲を基準とする。   The preferred embodiments of the present invention have been described above, but this does not limit the present invention, and a few changes and modifications that can be made by those skilled in the art without departing from the spirit and scope of the present invention. It is possible to add. Accordingly, the scope of the protection claimed by the present invention is based on the scope of the claims.

関連技術に基づいたデータ転送を示す流れ図である。6 is a flowchart illustrating data transfer based on related technology. 関連技術に基づいたPCI DMA構造の概略図である。1 is a schematic diagram of a PCI DMA structure based on related technology. FIG. 本発明に基づいた隠しダイレクトメモリアクセス(hidden DMA)構造の概略図である。1 is a schematic diagram of a hidden direct memory access (hidden DMA) structure according to the present invention. FIG.

符号の説明Explanation of symbols

1 ダイレクトメモリアクセスコントローラー
2、3、4、5 カードリーダー
6 バスマスター
7 バススレーブ
8、9 カードリーダードライバ
10 オペレーティングシステム
11、12 中断要求
13 バスコントローラー
14 システムバス
15、16、17、18 メモリカード
19 ドライバ
20、22 周辺装置相互接続インターフェース
21 周辺装置相互接続インターフェース(マスター)
23 周辺装置相互接続インターフェースのバス
24 メインメモリ
25 ノースおよびサウスブリッジ
26 中央演算処理装置(CPU)
27 マルチカードリーダー
1 Direct memory access controller 2, 3, 4, 5 Card reader 6 Bus master 7 Bus slave 8, 9 Card reader driver 10 Operating system 11, 12 Interrupt request 13 Bus controller 14 System bus 15, 16, 17, 18 Memory card 19 Drivers 20, 22 Peripheral device interconnection interface 21 Peripheral device interconnection interface (master)
23 Peripheral Device Interconnect Interface Bus 24 Main Memory 25 North and South Bridge 26 Central Processing Unit (CPU)
27 Multi-card reader

Claims (10)

第一メモリカードから第二メモリカードにデータをコピーするカードリーダー装置であって、
前記第一メモリカードと前記第二メモリカードに接続し、その中に保存されているデータにアクセスするマルチカードインターフェースと、
システムバスに接続され、前記システムバスによってシステムから送られたコピー命令を受けるバスコントローラーと、
前記システムから送られた前記コピー命令が前記バスコントローラーによって受けられた時、前記システムバスを占領することなく前記第一メモリカードから前記第二メモリカードに直接データをコピーするダイレクトメモリアクセスコントローラーと、
を含むカードリーダー装置。
A card reader device for copying data from a first memory card to a second memory card,
A multi-card interface for connecting to the first memory card and the second memory card and accessing data stored therein;
A bus controller connected to the system bus and receiving a copy command sent from the system by the system bus;
A direct memory access controller for copying data directly from the first memory card to the second memory card without occupying the system bus when the copy command sent from the system is received by the bus controller;
Including card reader device.
前記システムバスの規格は、PCIまたはISAのいずれかである請求項1に記載の装置。 The apparatus according to claim 1, wherein a standard of the system bus is either PCI or ISA. 前記第一メモリカードと前記第二メモリカードの規格は、メモリースティック、セーフデジタル、スマートメディア、またはXDピクチャーのいずれかである請求項1または2に記載の装置。 The apparatus according to claim 1 or 2, wherein a standard of the first memory card and the second memory card is one of a memory stick, safe digital, smart media, and XD picture. 前記バスコントローラーは、更にバスマスターを含み、前記システムにバスコントロール要求を送り、前記システムバスによって、前記システムバス、または前記システムの中のデバイスと通信する請求項1〜3のいずれかに記載の装置。 The bus controller further includes a bus master, sends a bus control request to the system, and communicates with the system bus or a device in the system by the system bus. apparatus. 前記バスコントローラーは、更にバススレーブを含み、前記システムバスを通して前記コピー命令を受け、前記ダイレクトメモリアクセスコントローラーからフラグを前記システムに送る請求項1〜4のいずれかに記載の装置。 The apparatus according to claim 1, wherein the bus controller further includes a bus slave, receives the copy command through the system bus, and sends a flag from the direct memory access controller to the system. システムバスを通してシステムから送られたコピー命令を受けるステップと、
前記コピー命令を受けた後、第一カードリーダーを通して第一メモリカードからデータを読み込むステップと、
前記システムバスを占領することなく、直接、第二カードリーダーを通して第二メモリカードに書き込むステップと、
を含むマルチメモリカード間のデータをコピーする方法。
Receiving a copy command sent from the system through the system bus;
After receiving the copy command, reading data from the first memory card through the first card reader;
Writing directly to the second memory card through the second card reader without occupying the system bus;
To copy data between multiple memory cards including
前記コピー命令を受けた後、前記ダイレクトメモリアクセスコントローラーと、前記第一カードリーダーと、前記第二カードリーダーとを、初期化するステップを更に含む請求項6に記載の方法。 The method of claim 6, further comprising initializing the direct memory access controller, the first card reader, and the second card reader after receiving the copy command. 前記コピー命令を受けた後、バスコントローラーの中のバスマスターを通して前記システムに中断要求を送り、前記システムに前記コピー命令が実行されたことを知らせるステップを更に含む請求項6または7に記載の方法。 8. The method according to claim 6 or 7, further comprising the step of sending an interrupt request to the system through a bus master in a bus controller after receiving the copy command to inform the system that the copy command has been executed. . 前記第二メモリカードにデータを書き込んだ後、前記ダイレクトメモリアクセスコントローラーの中のフラグを特定値に設定するステップを更に含む請求項6〜8のいずれかに記載の方法。 The method according to any one of claims 6 to 8, further comprising the step of setting a flag in the direct memory access controller to a specific value after writing data to the second memory card. システムバスを通してシステムから送られたコピー命令を受けるステップと、
前記コピー命令を受けた後、前記ダイレクトメモリアクセスコントローラーと、前記第一カードリーダーと、前記第二カードリーダーとを初期化するステップと、
前記コピー命令を受けた後、バスコントローラーの中のバスマスターを通して前記システムに中断要求を送り、前記システムに前記コピー命令が実行されたことを知らせるステップと、
前記コピー命令を受けた後、第一カードリーダーを通して第一メモリカードからデータを読み込むステップと、
前記システムバスを占領することなく、直接、第二カードリーダーを通して第二メモリカードに書き込むステップと、
前記第二メモリカードにデータを書き込んだ後、前記ダイレクトメモリアクセスコントローラーの中のフラグを特定値に設定するステップと、
を含むマルチメモリカード間のデータをコピーする方法。
Receiving a copy command sent from the system through the system bus;
After receiving the copy command, initializing the direct memory access controller, the first card reader, and the second card reader;
After receiving the copy command, sending a suspension request to the system through a bus master in a bus controller to inform the system that the copy command has been executed;
After receiving the copy command, reading data from the first memory card through the first card reader;
Writing directly to the second memory card through the second card reader without occupying the system bus;
After writing data to the second memory card, setting a flag in the direct memory access controller to a specific value;
To copy data between multiple memory cards including
JP2004201640A 2004-07-08 2004-07-08 Method for copying data and card reader Pending JP2006023986A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2004201640A JP2006023986A (en) 2004-07-08 2004-07-08 Method for copying data and card reader

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2004201640A JP2006023986A (en) 2004-07-08 2004-07-08 Method for copying data and card reader

Publications (1)

Publication Number Publication Date
JP2006023986A true JP2006023986A (en) 2006-01-26

Family

ID=35797216

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2004201640A Pending JP2006023986A (en) 2004-07-08 2004-07-08 Method for copying data and card reader

Country Status (1)

Country Link
JP (1) JP2006023986A (en)

Similar Documents

Publication Publication Date Title
JP4799417B2 (en) Host controller
US9680972B2 (en) SD switch box in a cellular handset
JP2006209643A (en) Interface circuit and system device using the same
JP2009043256A (en) Accessing method and arrangement of memory unit
US20080005387A1 (en) Semiconductor device and data transfer method
JP2006215873A (en) Controller, information processor and transfer processing method
JP2006113689A (en) Bus bridge device and data transfer method
TW201112131A (en) Controllers, apparatuses, and methods for transferring data
JP2007058786A (en) Bridge and its control method
JP2011090485A (en) Circuit and method for pipe arbitration
US20050144336A1 (en) Method and apparatus for data sharing
JP2009181579A (en) Method, subsystem and system for invoking function
JP2019185544A (en) Semiconductor apparatus and ufs system
JP2006023986A (en) Method for copying data and card reader
JP2002183675A (en) Control device of data recording medium and method therefor, data recorder and control device
JP2002149623A (en) Microcomputer
JP4793798B2 (en) Microcomputer
RU2579949C2 (en) Computer system
JP4452751B2 (en) Function control apparatus and method
CN114281726B (en) System architecture for soc chip and peripheral communication method
JP2001043182A (en) Parallel bus system
RU155208U1 (en) COMPUTER SYSTEM
CN116610601A (en) Data transmission device, control method and device thereof, and medium
JP2020035336A (en) Bridge device and control method of bridge device, and information processor having the bridge device
JP2005518607A (en) Data transmission method via data bus

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20070221

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20070320

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20070911