JP2004185584A - Card adaptor control device, usb controller and card adaptor - Google Patents

Card adaptor control device, usb controller and card adaptor Download PDF

Info

Publication number
JP2004185584A
JP2004185584A JP2002383002A JP2002383002A JP2004185584A JP 2004185584 A JP2004185584 A JP 2004185584A JP 2002383002 A JP2002383002 A JP 2002383002A JP 2002383002 A JP2002383002 A JP 2002383002A JP 2004185584 A JP2004185584 A JP 2004185584A
Authority
JP
Japan
Prior art keywords
card
adapter
control device
communication
standard
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
JP2002383002A
Other languages
Japanese (ja)
Inventor
Yuji Oishi
雄司 大石
Kimitoshi Nakamura
公利 仲村
Kaoru Miyazaki
薫 宮崎
Kaihei Ito
海平 伊藤
Naoki Fujita
直樹 藤田
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.)
Hagiwara Sys Com Co Ltd
Original Assignee
Hagiwara Sys Com 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 Hagiwara Sys Com Co Ltd filed Critical Hagiwara Sys Com Co Ltd
Priority to JP2002383002A priority Critical patent/JP2004185584A/en
Publication of JP2004185584A publication Critical patent/JP2004185584A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a card adaptor control device, a USB controller and a card adaptor, which have one card slot and are used for extension cards provided with different functions, without need for individual setting of card slots for each extension card type, even if the extension cards have different functions. <P>SOLUTION: The USB controller 10 has a card detection switching part 12 for detecting the function type of an inserted extension card, and based on the detected result by the card detection switching part 12, switches between a memory card read/write controller 14 and a PHS card control section 16. <P>COPYRIGHT: (C)2004,JPO&NCIPI

Description

【0001】
【発明の属する技術分野】
本発明は、カードアダプタ制御装置、USBコントローラーに係り、特にホスト機器の外部にてホスト機器の機能を拡張する拡張カードの接続、使用を可能とするカードアダプタ制御装置、USBコントローラーに関する。
【0002】
【従来の技術】
近年、パーソナルコンピュータやPDA、或いはデジタルカメラ等の機器が、拡張カードなどを装着するカードスロットを有していない場合などに、外部にてそれらの拡張カードを装着可能とするカードアダプタ類が広く使用されるに至っている。特に、携帯性の面から機器の大きさが制限され設定可能なカードスロットに限りがあるノート型パソコンやPDAにおいては、それらの拡張カードを装着可能とするカードアダプタ類を装置の外部で使用できるため、特に有効なもととなっている。
【0003】
【発明が解決しようとする課題】
しかし、そのようなカードアダプタにおいては、複数のファンクションが異なる拡張カードが接続できる所謂「マルチカードアダプタ」においては、拡張カードの種別毎にカードスロットを設定する必要があった。つまり、同じカードスロットサイズの規格であっても、例えば、ファンクションが異なるCFカード規格のメモリーカードとCF(CF+)カード規格のPHSカードを同一のカードスロットに装着して使用することができなかった。これは、メモリーカードの場合とPHSカードの場合では、ファンクションが異なるため必要な制御機能が異なるためである。
【0004】
そこで、本発明は、ファンクションが異なる拡張カードであっても拡張カードの種別毎にカードスロットを別個に設定する必要がなく、一つのカードスロットで異なるファンクションを有する拡張カードを装着して使用することが可能なカードアダプタ制御装置、USBコントローラー、カードアダプタを提供することを目的とする。
【0005】
【課題を解決するための手段】
本発明は、前記問題点を解決するために創作されたものであって、第1には、カードアダプタ制御装置であって、所定の規格の拡張カードが装着されて、所定のデータ転送方式のシステムインターフェースに基づいて該拡張カードとホスト側とのデータの受け渡しを行うカードアダプタを制御するカードアダプタ制御装置であって、装着された拡張カードのファンクション種別を検出するカード種別検出機能を有しており、該カード検出機能による検出結果に基づいて制御機能を切替えることにより、一つのカードスロットに複数の異なるファンクションの拡張カードの装着を可能になしたことを特徴とする。
【0006】
また、第2には、前記第1の構成のカードアダプタ制御装置において、前記所定のデータ転送方式のシステムインターフェースがUSB規格であることを特徴とする。
【0007】
この第1又は2の構成のカードアダプタ制御装置においては、装着された拡張カードのファンクション種別を検出するカード種別検出機能を有しており、該カード検出機能による検出結果に基づいて制御機能を切替えることにより、一つのカードスロットに複数の異なるファンクション種別のカードの装着が可能になされているため、カードのファンクション種別毎に別個にカードスロットを設定する必要がなく、一つのカードスロットで異なるファンクションの拡張カードを装着して使用することが可能となる。
【0008】
また、第3には、前記第1又は2の構成のカードアダプタ制御装置において、前記拡張カードの少なくとも一つが通信カードであることを特徴とする。また、第4には、前記第3の構成のカードアダプタ制御装置において、前記通信カードがCF規格のPHSカードであることを特徴とする。
【0009】
この第3又は4の構成のカードアダプタ制御装置においては、前記拡張カードの少なくとも一つが通信カード若しくはCF規格のPHSカードであるため、通信カード若しくはCF規格のPHSカードと、その他のファンクションの異なる拡張カードとを一つのカードスロットに装着して使用することが可能になる。
【0010】
また、第5には、前記第1又は2又は3又は4の構成のカードアダプタ制御装置において、前記拡張カードの少なくとも一つがメモリーカードであることを特徴とする。また、第6には、前記第5の構成のカードアダプタ制御装置において、前記メモリーカードがCF規格のメモリーカードであることを特徴とする。
【0011】
この第5又は6の構成のカードアダプタ制御装置においては、前記拡張カードの少なくとも一つがメモリーカード若しくはCF規格のメモリーカードであるため、メモリーカード若しくはCF規格のメモリーカードと、その他のファンクションの異なる拡張カードとを一つのカードスロットに装着して使用することが可能になる。
【0012】
また、第7には、USBコントローラーにおいて、USBバスによってホスト機器に接続されカードアダプタに内蔵されるUSBコントローラーであって、所定の通信カードを制御する通信カード制御機能と、所定のメモリーカードの読み出し、書き込み、消去を制御するメモリーカード制御機能と、通信カードとメモリーカードの何れが接続されたかを検出し、その検出結果に基づいて、通信カード制御機能とメモリーカード制御機能の何れを使用するかを切替えるカード制御機能切替え機能とを有することを特徴とする。
【0013】
この第7の構成のUSBコントローラーにおいては、通信カードとメモリーカードの何れが接続されたかを検出し、その検出結果に基づいて、通信カード制御機能とメモリーカード制御機能の何れを使用するかを切替えるカード制御機能切替え機能とを有しているため、カードのファンクション種別毎にカードスロットを設定する必要がなく、一つのカードスロットで通信カードとメモリーカードの両方を装着して使用することが可能となる。
【0014】
また、第8には、前記第7の構成のUSBコントローラーにおいて、前記通信カードが、CF規格のPHSカードであることを特徴とする。
【0015】
この第8の構成のUSBコントローラーにおいては、前記通信カードがCF規格のPHSカードであるため、CF規格のPHSカードと、その他のファンクションの異なる拡張カードとを一つのカードスロットに装着して使用することが可能になる。
【0016】
また、第9には、前記第7又は8の構成のUSBコントローラーにおいて、前記メモリーカードが、CF規格のメモリーカードであることを特徴とする。
【0017】
この第9の構成のUSBコントローラーにおいては、前記メモリーカードがCF規格のメモリーカードであるため、CF規格のメモリーカードと、その他のファンクションの異なる拡張カードとを一つのカードスロットに装着して使用することが可能になる。
【0018】
また、第10には、カードアダプタであって、前記構成1又は2又は3又は4又は5又は6又は7又は8又は9に記載のカードアダプタ制御装置或いはUSBコントローラーを搭載したことを特徴とする。
【0019】
この第10の構成のカードアダプタにおいては、前記構成1又は2又は3又は4又は5又は6又は7又は8又は9のカードアダプタ制御装置或いはUSBコントローラーを搭載しているため、前記構成1又は2又は3又は4又は5又は6又は7又は8又は9の特徴を有するカードアダプタとすることができる。
【0020】
【発明の実施の形態】
本発明の実施の形態としての実施例を、図面を利用して以下に説明する。本発明の実施例に基づくカードアダプタ1は、図1に示すように、樹脂部材によって一面が半円状の曲面に形成され、逆側の面は平面に形成されて略馬蹄形状を呈しており、前記平面側にはカードスロット2が形成されている。該カードスロット2は、CFカード規格に準拠したスロットであり、CFカード規格及びCFカードにI/O機能を持たせたCF+カード規格(TYPEI、TYPEII)に準拠した拡張カードの装着が可能になされている。
【0021】
また、前記カードアダプタ1は、半円状の曲面部側にUSBケーブル3が接続されており、該USBケーブル3の端部にはUSBコネクタ4が固着されている。そして、図1に示すように、該USBコネクタ4をホストであるPC100のUSBポートに装着することによって、前記カードアダプタ1がPC100にUSB接続される。また、前記カードアダプタ1は、図2に示すように、内部にUSBコントローラー10、USBインターフェースコントローラー20、及びCFインターフェースコントローラー30を有している。なお、ここで、ホスト機器としてはPC(パーソナルコンピュータ)に限定されるものではなく、PDA、デジタルカメラ、携帯電話等、多様な機器が想定される。
【0022】
前記USBコントローラー10は、図3に示すように、論理機能ブロックとして、カード検出切替部12、メモリーカードリードライト制御部14、PHSカード制御部16、USBコントロール部18を有しており、前記カードアダプタ1を制御するカードアダプタ制御装置として機能する。前記カード検出切替部12は、前記カードスロット2に装着された拡張カードのファンクションの種別を検出し、その検出結果に基づいて使用する制御部を前記メモリーカードリードライト制御部14と前記PHSカード制御部16とに切替える。
【0023】
前記メモリーカードリードライト制御部14は、CFメモリーカード200を制御する制御情報を有しており、ホストであるPC100からの指令に基づいてCFメモリーカード200を制御し、適宜該CFメモリーカード200に対するデータの読み出し、書き込み、消去を実行する。また、前記PHSカード制御部16は、CF−PHSカード300を制御する制御情報を有しており、ホストであるPC100からの指令に基づいてCF−PHSカード300を制御し、適宜該CF−PHSカード300に対してPHS方式による通信を行わせる。
【0024】
前記USBコントロール部18は、送られたデータ及び送るデータを記憶するバッファを有しており、前記PC100のUSBホストコントローラー110との通信上必要な処理の多くを自動的に行うとともに、USBホストコントローラー110からのリクエストに応答する。その他、エラー処理や電力管理などを行う。
【0025】
前記USBインターフェースコントローラー20は、PC100のUSBホストコントローラー110との通信を制御し、入ってくるパケットの検出、パケットの送信、パケットIDの生成や解読、USBシリアルデータとパラレルデータの変換などを行う。
【0026】
前記CFインターフェースコントローラー30は、前記カードスロット2に装着された拡張カードであるCFメモリーカード200又はCF−PHSカード300との通信を制御するとともに、CFとUSBとのブリッジ機能を有しており、CFデータとUSBデータ間の変換処理を行う。
【0027】
次に、本実施例によるカードアダプタ1とPC100間の、PC100のUSBポートにカードアダプタ1のUSBコネクタ4が装着された時のUSBコンフィグレーション通信の作動を説明する。図4は、本実施例によるホスト−アダプタ間コンフィグレーション通信処理を示すフローチャートである。ステップ10でPC100のUSBポートにカードアダプタ1のUSBコネクタ4が挿入されて装着されると、ステップ20でPC100がカードアダプタ1の各ディスクリプタを取得し、アドレスのアサイン、コンフィグレーション、パイプの初期化などが行われて、エニュメレーション処理される。
【0028】
それにより、ステップ30で、前記PC100は、前記カードアダプタ1のデバイスディスクリプタに記述されたベンダID、製品ID、またはClass,Subclassから、マスストレージクラスとコミュニケーションクラスの二つのファンクションからなるコンボジットクラスのUSBクラスデバイスとしてカードアダプタ1を認識する。これにより、前記PC100と前記カードアダプタ1とのUSBパケット通信が可能となる。
【0029】
次に、そのようにPC100に接続されてコンフィギュレーション処理されたカードアダプタ1のカードスロット2に、拡張カードが装着された時のカード検出切替の作動を説明する。図5は、本実施例によるカードアダプタ1のカード検出切替処理を示すフローチャートである。ステップ100で前記カードスロット2に拡張カードが挿入されて装着されると、ステップ110で前記カード検出切替部12が拡張カードのCIS情報を入手し、ステップ120で該CIS情報に基づいて拡張カードの種別を検出する。
【0030】
そして、ステップ130で、検出した拡張カードの種別がCFメモリーカード200であるかどうかが判断され、CFメモリーカード200であればステップ140で前記カードリードライト制御部14によるデバイス制御に切替える。そのため、ステップ150でCFメモリーカード200への読み出し、書き込み、或いは消去の実行が可能となる。
【0031】
また、ステップ130で、検出した拡張カードの種別がCFメモリーカード200でないと判断された場合には、ステップ160で検出した拡張カードの種別がCF−PHSカード300であるかどうかが判断される。CF−PHSカード300であればステップ170で前記PHS制御部16によるデバイス制御に切替える。そのため、ステップ180でCF−PHSカード300による通信の実行が可能となる。なお、ステップ160で検出した拡張カードの種別がCF−PHSカード300でない場合には、前記カードスロット2に装着された拡張カードが、CFメモリーカード200でもCF−PHSカード300でもないと判断できるため、エラー処理される。
【0032】
以上のように本実施例によるカードアダプタ1のカード検出切替処理により、前記カードスロット2に装着された拡張カードのファンクション種別を自動的に判別することができるため、CFメモリーカード200用とCF−PHSカード300用とでカードスロットを別個に設定する必要がなく、一つのカードスロット2でCFメモリーカード200用とCF−PHSカード300とを差し替えて装着して使用することが可能になる。従って、カードアダプタ1の構成を簡略化することができ、小型で安価な構成とすることができる。また、複数のカードスロットを搭載してマルチカードアダプタとした場合には、USBハブコントローラーによってハブ接続する必要があるが、本実施例によるカードアダプタ1ではハブ接続でないため、USBハブコントローラーも不要とすることができる。
【0033】
次に、本実施例によるカードアダプタ1のカードスロット2にCFメモリーカード200が装着されている場合のメモリーカード処理について説明する。図6は、本実施例によるメモリーカード処理を示すフローチャートである。ステップ200でPC100からのリードライト等の処理命令があると、ステップ210でPC100とカードアダプタ1との間でマスストレージクラスの仕様に基づいて通信が行われる。
【0034】
それにより、ステップ220で、前記メモリーカードリードライト制御部14がCFメモリーカード200を制御して、CFメモリーカード200への読み出し、書き込み、消去を実行し、そのデータはPC100とカードアダプタ1との間でパケット通信によって送受され、またカードアダプタ1とCFメモリーカード200との間でCFインターフェースに基づいて送受される。従って、この場合には、前記カードアダプタ1は、一般的なUSBカードリーダーライターと全く同様に作動することになる。
【0035】
次に、本実施例によるカードアダプタ1のカードスロット2にCF−PHSカード300が装着されている場合の通信カード処理について説明する。図7は、本実施例による通信カード処理を示すフローチャートである。ステップ300でPC100からの通信処理命令があると、ステップ310で通信命令が送信命令かどうかが判断される。
【0036】
そして、通信命令が送信命令であれば、ステップ320でコミュニケーションクラスの仕様に基づいてPC100から送信データがパケット通信によってカードアダプタ1に送られ、さらにCFインターフェースに基づいてCF−PHSカード300に送られる。そして、ステップ330でCF−PHSカード300によって送信データのPHS送信が実行される。続いて、ステップ340で、PC100からの命令待ちとなる。
【0037】
また、ステップ310で通信命令が送信命令でない場合には、ステップ350で通信命令が受信命令かどうかが判断され、通信命令が受信命令であれば、ステップ360でCF−PHSカード300によって受信データのPHS受信が実行される。そして、ステップ370で、受信データがCFインターフェースに基づいてCF−PHSカード300からカードアダプタ1に送られ、さらにコミュニケーションクラスの仕様に基づいてカードアダプタ1から受信データがパケット通信によってPC100に送られる。続いて、ステップ340で、PC100からの命令待ちとなる。従って、以上の処理により、前記カードアダプタ1は、一般的な通信カードアダプタと全く同様に作動することになる。
【0038】
以上述べたように、本発明に基づく上記実施例によれば、カード検出切替部12が装着された拡張カードのファンクション種別を検出するカード種別検出機能を有しているため、該カード検出機能による検出結果に基づいて制御機能を切替えることにより、CFメモリーカード200用とCF−PHSカード300とで別個にカードスロットを設定する必要がなく、一つのカードスロット2でCFメモリーカード200とCF−PHSカード300とを何れも装着して使用することが可能となる。
【0039】
なお、本発明は、本実施例の構成のみに限定されるものではなく、多様な態様が可能である。例えば、前記実施例では、カードスロット2にCFメモリーカード200とCF−PHSカード300とを装着可能な構成としているが、それのみに限定されるものではなく、GPSカード、無線LANカード、カメラカードなどどのような拡張カードの組み合わせでもよく、またさらに多くの枚数の拡張カードを装着できるようにすることも可能である。
【0040】
また、本実施例においては、ホスト側とのデータの受け渡しを行う所定のデータ転送方式のシステムインターフェースをUSB規格としているが、それのみに限定されるものではなくIEEE1394など、機能的に十分なデータの受け渡し能力があればどのような規格であってもよい。また、本実施例においては、拡張カードの規格としてCF規格としているが、それのみに限定されるものではなく、PCMCIA規格やSDIO規格、或いはそれに準じた規格、さらには今後開発されるカード規格など、どのような規格であってもよい。
【0041】
【発明の効果】
本発明に基づく請求項1又は2に記載のカードアダプタ制御装置によれば、装着された拡張カードのファンクション種別を検出するカード種別検出機能を有しており、該カード検出機能による検出結果に基づいて制御機能を切替えることにより、一つのカードスロットに複数の異なるファンクション種別のカードの装着が可能になされているため、カードのファンクション種別毎に別個にカードスロットを設定する必要がなく、一つのカードスロットで異なるファンクションの拡張カードを装着して使用することが可能となる。
【0042】
また、特に、請求項3又は4に記載のカードアダプタ制御装置によれば、前記拡張カードの少なくとも一つが通信カード若しくはCF規格のPHSカードであるため、通信カード若しくはCF規格のPHSカードと、その他のファンクションの異なる拡張カードとを一つのカードスロットに装着して使用することが可能になる。
【0043】
また、特に、請求項5又は6に記載のカードアダプタ制御装置によれば、前記拡張カードの少なくとも一つがメモリーカード若しくはCF規格のメモリーカードであるため、メモリーカード若しくはCF規格のメモリーカードと、その他のファンクションの異なる拡張カードとを一つのカードスロットに装着して使用することが可能になる。
【0044】
また、特に、請求項7に記載のUSBコントローラーによれば、通信カードとメモリーカードの何れが接続されたかを検出し、その検出結果に基づいて、通信カード制御機能とメモリーカード制御機能の何れを使用するかを切替えるカード制御機能切替え機能とを有しているため、カードのファンクション種別毎にカードスロットを設定する必要がなく、一つのカードスロットで通信カードとメモリーカードの両方を装着して使用することが可能となる。
【0045】
また、特に、請求項8に記載のUSBコントローラーによれば、前記通信カードがCF規格のPHSカードであるため、CF規格のPHSカードと、その他のファンクションの異なる拡張カードとを一つのカードスロットに装着して使用することが可能になる。
【0046】
また、特に、請求項9に記載のUSBコントローラーによれば、前記メモリーカードがCF規格のメモリーカードであるため、CF規格のメモリーカードと、その他のファンクションの異なる拡張カードとを一つのカードスロットに装着して使用することが可能になる。
【0047】
また、特に、請求項10に記載のカードアダプタによれば、前記請求項1又は2又は3又は4又は5又は6又は7又は8又は9のカードアダプタ制御装置或いはUSBコントローラーを搭載しているため、前記構成1又は2又は3又は4又は5又は6又は7又は8又は9の特徴を有するカードアダプタとすることができる。
【図面の簡単な説明】
【図1】本発明の実施例に基づくカードアダプタの使用状態を示す説明図である。
【図2】本実施例のカードアダプタの構成を示す構成図である。
【図3】本実施例のUSBコントローラーの論理機能ブロックを示すブロック図である。
【図4】本実施例のホスト−アダプタ間コンフィグレーション通信処理を示すフローチャートである。
【図5】本実施例のカードアダプタのカード検出切替処理を示すフローチャートである。
【図6】本実施例のメモリーカード処理を示すフローチャートである。
【図7】本実施例の通信カード処理を示すフローチャートである。
【符号の説明】
1 カードアダプタ
2 カードスロット
10 USBコントローラー
100 PC
200 CFメモリーカード
300 CF−PHSカード
[0001]
TECHNICAL FIELD OF THE INVENTION
The present invention relates to a card adapter control device and a USB controller, and more particularly to a card adapter control device and a USB controller that enable connection and use of an expansion card for expanding the function of a host device outside the host device.
[0002]
[Prior art]
2. Description of the Related Art In recent years, when a device such as a personal computer, a PDA, or a digital camera does not have a card slot for installing an expansion card or the like, card adapters capable of externally mounting such an expansion card are widely used. Has been reached. In particular, in the case of a notebook PC or PDA, in which the size of the device is limited due to portability and the settable card slot is limited, card adapters capable of mounting these expansion cards can be used outside the device. , A particularly effective source.
[0003]
[Problems to be solved by the invention]
However, in such a card adapter, in a so-called "multi-card adapter" in which a plurality of functions can be connected to different expansion cards, it is necessary to set a card slot for each type of expansion card. In other words, even with the same card slot size standard, for example, a memory card of a CF card standard and a PHS card of a CF (CF +) card standard having different functions could not be mounted and used in the same card slot. . This is because necessary functions are different between the memory card and the PHS card because the functions are different.
[0004]
In view of the above, according to the present invention, there is no need to separately set a card slot for each type of expansion card even if the expansion cards have different functions, and an expansion card having a different function can be mounted and used in one card slot. It is an object of the present invention to provide a card adapter control device, a USB controller, and a card adapter capable of performing the following.
[0005]
[Means for Solving the Problems]
SUMMARY OF THE INVENTION The present invention has been made to solve the above problems, and a first aspect of the present invention is a card adapter control device, in which an expansion card of a predetermined standard is mounted and a system of a predetermined data transfer system is installed. A card adapter control device that controls a card adapter that exchanges data between the expansion card and a host based on an interface, and has a card type detection function of detecting a function type of the installed expansion card. By switching the control function based on the detection result by the card detection function, a plurality of expansion cards of different functions can be mounted in one card slot.
[0006]
Secondly, in the card adapter control device of the first configuration, a system interface of the predetermined data transfer method is a USB standard.
[0007]
The card adapter control device of the first or second configuration has a card type detection function for detecting the function type of the attached expansion card, and switches the control function based on the detection result by the card detection function. As a result, a plurality of cards of different function types can be installed in one card slot, so that it is not necessary to set a separate card slot for each function type of the card, and different functions can be expanded in one card slot. The card can be used by attaching it.
[0008]
Thirdly, in the card adapter control device of the first or second configuration, at least one of the expansion cards is a communication card. Fourthly, in the card adapter control device of the third configuration, the communication card is a CF standard PHS card.
[0009]
In the card adapter control device of the third or fourth configuration, since at least one of the expansion cards is a communication card or a PHS card of the CF standard, the expansion card having a different function from the communication card or the PHS card of the CF standard is used. Can be attached to one card slot for use.
[0010]
Fifth, in the card adapter control device of the first or second or third or fourth configuration, at least one of the expansion cards is a memory card. Sixth, in the card adapter control device of the fifth configuration, the memory card is a CF standard memory card.
[0011]
In the card adapter control device according to the fifth or sixth configuration, since at least one of the expansion cards is a memory card or a CF standard memory card, an expansion card having a different function from the memory card or the CF standard memory card is used. Can be attached to one card slot for use.
[0012]
Seventh, in the USB controller, a USB controller connected to a host device via a USB bus and incorporated in a card adapter, and has a communication card control function of controlling a predetermined communication card, reading of a predetermined memory card, A memory card control function for controlling writing and erasing, and detecting which of the communication card and the memory card is connected, and determining whether to use the communication card control function or the memory card control function based on the detection result. And a card control function for switching.
[0013]
The USB controller of the seventh configuration detects which of the communication card and the memory card is connected, and switches between the communication card control function and the memory card control function based on the detection result. With the card control function switching function, there is no need to set a card slot for each card function type, and it is possible to use both a communication card and a memory card with one card slot. Become.
[0014]
Eighth, in the USB controller having the seventh configuration, the communication card is a CF standard PHS card.
[0015]
In the USB controller of the eighth configuration, since the communication card is a PHS card conforming to the CF standard, a PHS card conforming to the CF standard and an expansion card having different functions are mounted and used in one card slot. It becomes possible.
[0016]
Ninth, in the USB controller according to the seventh or eighth configuration, the memory card is a CF standard memory card.
[0017]
In the USB controller having the ninth configuration, since the memory card is a CF standard memory card, a CF standard memory card and an expansion card having different functions are mounted on one card slot for use. It becomes possible.
[0018]
In a tenth aspect, a card adapter is provided with the card adapter control device or the USB controller according to the first, second, third, fourth, fifth, sixth, seventh, eighth, or ninth aspect.
[0019]
In the card adapter of the tenth configuration, since the card adapter control device or the USB controller of the configuration 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 is mounted, the configuration 1 or 2 or 3 Or a card adapter having the characteristics of 4 or 5 or 6 or 7 or 8 or 9 can be provided.
[0020]
BEST MODE FOR CARRYING OUT THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings. As shown in FIG. 1, a card adapter 1 according to an embodiment of the present invention has a semi-circular curved surface formed by a resin member, and a flat surface formed on the opposite side, and has a substantially horseshoe shape. A card slot 2 is formed on the plane side. The card slot 2 is a slot compliant with the CF card standard, and allows an expansion card compliant with the CF card standard and the CF + card standard (TYPEI, TYPEII) in which the CF card has an I / O function. ing.
[0021]
In the card adapter 1, a USB cable 3 is connected to a semicircular curved surface side, and a USB connector 4 is fixed to an end of the USB cable 3. Then, as shown in FIG. 1, by attaching the USB connector 4 to a USB port of the PC 100 as a host, the card adapter 1 is USB-connected to the PC 100. 2, the card adapter 1 has a USB controller 10, a USB interface controller 20, and a CF interface controller 30 therein. Here, the host device is not limited to a PC (personal computer), but various devices such as a PDA, a digital camera, and a mobile phone are assumed.
[0022]
As shown in FIG. 3, the USB controller 10 has a card detection switching unit 12, a memory card read / write control unit 14, a PHS card control unit 16, and a USB control unit 18 as logical function blocks. 1 functions as a card adapter control device for controlling the device 1. The card detection switching unit 12 detects the type of function of the expansion card inserted into the card slot 2, and controls the memory card read / write control unit 14 and the PHS card control unit to use based on the detection result. Switch to section 16.
[0023]
The memory card read / write control unit 14 has control information for controlling the CF memory card 200, controls the CF memory card 200 based on a command from the PC 100 serving as a host, and appropriately controls the CF memory card 200. Read, write, and erase data. Further, the PHS card control section 16 has control information for controlling the CF-PHS card 300, controls the CF-PHS card 300 based on a command from the PC 100 as a host, and appropriately controls the CF-PHS card 300. The card 300 is made to perform communication by the PHS method.
[0024]
The USB control unit 18 has a buffer for storing the transmitted data and the data to be transmitted. The USB control unit 18 automatically performs most of the processing required for communication with the USB host controller 110 of the PC 100, and Respond to the request from 110. In addition, error processing and power management are performed.
[0025]
The USB interface controller 20 controls communication with the USB host controller 110 of the PC 100, and performs detection of an incoming packet, transmission of a packet, generation and decoding of a packet ID, conversion of USB serial data and parallel data, and the like.
[0026]
The CF interface controller 30 controls communication with a CF memory card 200 or a CF-PHS card 300, which is an expansion card inserted into the card slot 2, and has a bridge function between CF and USB. A conversion process between CF data and USB data is performed.
[0027]
Next, the operation of the USB configuration communication between the card adapter 1 and the PC 100 according to the present embodiment when the USB connector 4 of the card adapter 1 is attached to the USB port of the PC 100 will be described. FIG. 4 is a flowchart illustrating the host-adapter configuration communication processing according to the present embodiment. When the USB connector 4 of the card adapter 1 is inserted and attached to the USB port of the PC 100 in step 10, the PC 100 acquires each descriptor of the card adapter 1 in step 20, and performs address assignment, configuration, pipe initialization, and the like. The enumeration process is performed.
[0028]
Accordingly, in step 30, the PC 100, based on the vendor ID, product ID, or Class, Subclass described in the device descriptor of the card adapter 1, performs a USB of a combo class consisting of two functions of a mass storage class and a communication class. The card adapter 1 is recognized as a class device. This enables USB packet communication between the PC 100 and the card adapter 1.
[0029]
Next, the operation of the card detection switching when the expansion card is inserted into the card slot 2 of the card adapter 1 that is connected to the PC 100 and configured as described above will be described. FIG. 5 is a flowchart illustrating a card detection switching process of the card adapter 1 according to the present embodiment. When an expansion card is inserted and inserted into the card slot 2 in step 100, the card detection switching unit 12 obtains the CIS information of the expansion card in step 110, and in step 120, based on the CIS information, Detect the type.
[0030]
Then, in step 130, it is determined whether or not the type of the detected expansion card is the CF memory card 200. If the type of the expansion card is the CF memory card 200, the control is switched to the device control by the card read / write control unit 14 in step 140. Therefore, it is possible to execute reading, writing, or erasing from the CF memory card 200 in step 150.
[0031]
If it is determined in step 130 that the type of the expansion card detected is not the CF memory card 200, it is determined whether the type of the expansion card detected in step 160 is the CF-PHS card 300. If the card is the CF-PHS card 300, the control is switched to device control by the PHS control unit 16 in step 170. Therefore, in step 180, communication by the CF-PHS card 300 can be performed. If the type of the expansion card detected in step 160 is not the CF-PHS card 300, it can be determined that the expansion card inserted in the card slot 2 is neither the CF memory card 200 nor the CF-PHS card 300. Error handling.
[0032]
As described above, the function type of the expansion card inserted into the card slot 2 can be automatically determined by the card detection switching process of the card adapter 1 according to the present embodiment, so that the CF memory card 200 and the CF-PHS It is not necessary to separately set a card slot for the card 300, and it is possible to replace and mount the CF memory card 200 and the CF-PHS card 300 in one card slot 2. Therefore, the configuration of the card adapter 1 can be simplified, and a small and inexpensive configuration can be achieved. When a plurality of card slots are mounted to form a multi-card adapter, a hub connection must be performed by a USB hub controller. However, since the card adapter 1 according to the present embodiment is not a hub connection, a USB hub controller is not required. Can be.
[0033]
Next, the memory card processing when the CF memory card 200 is mounted in the card slot 2 of the card adapter 1 according to the present embodiment will be described. FIG. 6 is a flowchart illustrating a memory card process according to the present embodiment. If there is a processing command such as read / write from the PC 100 in step 200, communication is performed between the PC 100 and the card adapter 1 in step 210 based on the specification of the mass storage class.
[0034]
Accordingly, in step 220, the memory card read / write control unit 14 controls the CF memory card 200 to execute reading, writing, and erasing on the CF memory card 200, and the data is transferred between the PC 100 and the card adapter 1. Is transmitted and received by packet communication, and is transmitted and received between the card adapter 1 and the CF memory card 200 based on the CF interface. Therefore, in this case, the card adapter 1 operates just like a general USB card reader / writer.
[0035]
Next, communication card processing when the CF-PHS card 300 is installed in the card slot 2 of the card adapter 1 according to the present embodiment will be described. FIG. 7 is a flowchart illustrating communication card processing according to the present embodiment. If there is a communication processing command from the PC 100 in step 300, it is determined in step 310 whether the communication command is a transmission command.
[0036]
If the communication command is a transmission command, in step 320, transmission data is transmitted from the PC 100 to the card adapter 1 by packet communication based on the specification of the communication class, and further transmitted to the CF-PHS card 300 based on the CF interface. Then, in step 330, PHS transmission of transmission data is executed by the CF-PHS card 300. Subsequently, in step 340, the process waits for an instruction from the PC 100.
[0037]
If the communication command is not a transmission command in step 310, it is determined in step 350 whether the communication command is a reception command. If the communication command is a reception command, in step 360, the CF-PHS card 300 transmits PHS reception is performed. Then, in step 370, the received data is sent from the CF-PHS card 300 to the card adapter 1 based on the CF interface, and the received data is sent from the card adapter 1 to the PC 100 by packet communication based on the communication class specification. Subsequently, in step 340, the process waits for an instruction from the PC 100. Therefore, by the above processing, the card adapter 1 operates just like a general communication card adapter.
[0038]
As described above, according to the above-described embodiment of the present invention, the card detection switching unit 12 has the card type detection function of detecting the function type of the attached expansion card. By switching the control function based on the detection result, it is not necessary to separately set card slots for the CF memory card 200 and the CF-PHS card 300, and the CF memory card 200 and the CF-PHS It becomes possible to mount and use any of the cards 300.
[0039]
Note that the present invention is not limited to the configuration of the present embodiment, and various embodiments are possible. For example, in the above-described embodiment, the CF memory card 200 and the CF-PHS card 300 can be inserted into the card slot 2. However, the present invention is not limited to this. The GPS card, the wireless LAN card, the camera card Any combination of expansion cards may be used, and it is also possible to mount a larger number of expansion cards.
[0040]
In the present embodiment, the system interface of the predetermined data transfer method for transferring data to and from the host is based on the USB standard. However, the present invention is not limited to this, and is not limited thereto. Any standard may be used as long as it has a transfer capability. In the present embodiment, the CF standard is used as the standard of the expansion card. However, the present invention is not limited to the CF standard. The PCMCIA standard, the SDIO standard, or a standard similar thereto, and a card standard to be developed in the future. Any standard may be used.
[0041]
【The invention's effect】
According to the card adapter control device according to claim 1 or 2 based on the present invention, the card adapter control device has a card type detection function for detecting a function type of an attached expansion card, and based on a detection result by the card detection function. By switching the control function, a plurality of cards of different function types can be installed in one card slot, so there is no need to set a separate card slot for each function type of the card. It becomes possible to attach and use expansion cards of different functions.
[0042]
Further, in particular, according to the card adapter control device of the third or fourth aspect, since at least one of the expansion cards is a communication card or a PHS card of the CF standard, the communication card or the PHS card of the CF standard and another Expansion cards having different functions can be used by mounting them in one card slot.
[0043]
Further, in particular, according to the card adapter control device according to claim 5 or 6, since at least one of the expansion cards is a memory card or a CF standard memory card, a memory card or a CF standard memory card and another Expansion cards having different functions can be used by mounting them in one card slot.
[0044]
Further, in particular, according to the USB controller according to claim 7, which of the communication card and the memory card is detected is connected, and based on the detection result, which of the communication card control function and the memory card control function is performed. It has a card control function for switching whether to use it, so there is no need to set a card slot for each function type of the card, and one card slot can be used by mounting both a communication card and a memory card It is possible to do.
[0045]
According to the USB controller of the present invention, since the communication card is a CF-standard PHS card, a CF-standard PHS card and an expansion card having different functions are provided in one card slot. It becomes possible to use it by attaching it.
[0046]
According to the USB controller of the ninth aspect, the memory card is a CF standard memory card. Therefore, a CF standard memory card and an expansion card having other functions are stored in one card slot. It becomes possible to use it by attaching it.
[0047]
According to the card adapter of the tenth aspect, the card adapter control device or the USB controller of the first or second or third or fourth or fifth or sixth or seventh or eighth or ninth aspect is mounted. A card adapter having the features of Configuration 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9 can be provided.
[Brief description of the drawings]
FIG. 1 is an explanatory diagram showing a use state of a card adapter according to an embodiment of the present invention.
FIG. 2 is a configuration diagram illustrating a configuration of a card adapter according to the present embodiment.
FIG. 3 is a block diagram illustrating logical function blocks of the USB controller according to the embodiment.
FIG. 4 is a flowchart illustrating a host-adapter configuration communication process according to the embodiment;
FIG. 5 is a flowchart illustrating card detection switching processing of the card adapter according to the present embodiment.
FIG. 6 is a flowchart illustrating a memory card process according to the present embodiment.
FIG. 7 is a flowchart illustrating a communication card process according to the embodiment;
[Explanation of symbols]
1 Card Adapter 2 Card Slot 10 USB Controller 100 PC
200 CF memory card 300 CF-PHS card

Claims (10)

所定の規格の拡張カードが装着されて、所定のデータ転送方式のシステムインターフェースに基づいて各拡張カードとホスト側とのデータの受け渡しを行うカードアダプタを制御するカードアダプタ制御装置であって、
装着された拡張カードのファンクション種別を検出するカード種別検出機能を有しており、
該カード検出機能による検出結果に基づいて制御機能を切替えることにより、一つのカードスロットに複数の異なるファンクションの拡張カードの装着を可能になしたことを特徴とするカードアダプタ制御装置。
A card adapter control device that is mounted with an expansion card of a predetermined standard and controls a card adapter that exchanges data between each expansion card and a host based on a system interface of a predetermined data transfer method,
It has a card type detection function to detect the function type of the attached expansion card,
A card adapter control device wherein a control function is switched based on a detection result by the card detection function, whereby a plurality of expansion cards having different functions can be mounted in one card slot.
前記所定のデータ転送方式のシステムインターフェースがUSB規格であることを特徴とする請求項1に記載のカードアダプタ制御装置。2. The card adapter control device according to claim 1, wherein the system interface of the predetermined data transfer method is a USB standard. 前記拡張カードの少なくとも一つが通信カードであることを特徴とする請求項1又は2に記載のカードアダプタ制御装置。3. The card adapter control device according to claim 1, wherein at least one of the expansion cards is a communication card. 前記通信カードがCF規格のPHSカードであることを特徴とする請求項3に記載のカードアダプタ制御装置。4. The card adapter control device according to claim 3, wherein the communication card is a CF standard PHS card. 前記拡張カードの少なくとも一つがメモリーカードであることを特徴とする請求項1又は2又は3又は4に記載のカードアダプタ制御装置。5. The card adapter control device according to claim 1, wherein at least one of the expansion cards is a memory card. 前記メモリーカードがCF規格のメモリーカードであることを特徴とする請求項5に記載のカードアダプタ制御装置。The card adapter control device according to claim 5, wherein the memory card is a CF standard memory card. USBバスによってホスト機器に接続されカードアダプタに内蔵されるUSBコントローラーであって、
所定の通信カードを制御する通信カード制御機能と、
所定のメモリーカードの読み出し、書き込み、消去を制御するメモリーカード制御機能と、
通信カードとメモリーカードの何れが接続されたかを検出し、その検出結果に基づいて、通信カード制御機能とメモリーカード制御機能の何れを使用するかを切替えるカード制御機能切替え機能と
を有することを特徴とするUSBコントローラー。
A USB controller connected to the host device by a USB bus and built into the card adapter,
A communication card control function for controlling a predetermined communication card;
A memory card control function for controlling reading, writing, and erasing of a predetermined memory card;
It has a card control function switching function of detecting which one of the communication card and the memory card is connected, and switching between the communication card control function and the memory card control function based on the detection result. USB controller.
前記通信カードが、CF規格のPHSカードであることを特徴とする請求項7に記載のUSBコントローラー。8. The USB controller according to claim 7, wherein the communication card is a CF standard PHS card. 前記メモリーカードが、CF規格のメモリーカードであることを特徴とする請求項7又は8に記載のUSBコントローラー。9. The USB controller according to claim 7, wherein the memory card is a CF standard memory card. 前記請求項1又は2又は3又は4又は5又は6又は7又は8又は9に記載のカードアダプタ制御装置或いはUSBコントローラーを搭載したことを特徴とするカードアダプタ。A card adapter comprising the card adapter control device or the USB controller according to claim 1 or 2 or 3 or 4 or 5 or 6 or 7 or 8 or 9.
JP2002383002A 2002-12-04 2002-12-04 Card adaptor control device, usb controller and card adaptor Pending JP2004185584A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002383002A JP2004185584A (en) 2002-12-04 2002-12-04 Card adaptor control device, usb controller and card adaptor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002383002A JP2004185584A (en) 2002-12-04 2002-12-04 Card adaptor control device, usb controller and card adaptor

Publications (1)

Publication Number Publication Date
JP2004185584A true JP2004185584A (en) 2004-07-02

Family

ID=32766842

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002383002A Pending JP2004185584A (en) 2002-12-04 2002-12-04 Card adaptor control device, usb controller and card adaptor

Country Status (1)

Country Link
JP (1) JP2004185584A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007293518A (en) * 2006-04-24 2007-11-08 Hitachi Ltd Computer system configuration method, computer, and system configuration program
JP2008513871A (en) * 2004-09-15 2008-05-01 アクサルト・エス・アー Wireless USB network adapter with smart card
CN100409149C (en) * 2005-10-28 2008-08-06 环达电脑(上海)有限公司 Connection channel device between PC machine and built-in equipment GPS module and communication method
JP2008217263A (en) * 2007-03-01 2008-09-18 Seiko Epson Corp Storage terminal, information processor and information processing system
JP2008217264A (en) * 2007-03-01 2008-09-18 Seiko Epson Corp Storage terminal and information processing system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008513871A (en) * 2004-09-15 2008-05-01 アクサルト・エス・アー Wireless USB network adapter with smart card
CN100409149C (en) * 2005-10-28 2008-08-06 环达电脑(上海)有限公司 Connection channel device between PC machine and built-in equipment GPS module and communication method
JP2007293518A (en) * 2006-04-24 2007-11-08 Hitachi Ltd Computer system configuration method, computer, and system configuration program
JP2008217263A (en) * 2007-03-01 2008-09-18 Seiko Epson Corp Storage terminal, information processor and information processing system
JP2008217264A (en) * 2007-03-01 2008-09-18 Seiko Epson Corp Storage terminal and information processing system

Similar Documents

Publication Publication Date Title
US7266640B2 (en) Memory card authentication system, capacity switching-type memory card host device, capacity switching-type memory card, storage capacity setting method, and storage capacity setting program
TWI393009B (en) Data sharing and transfer systems and methods
US20060218324A1 (en) Systems and methods for flexible data transfers in SDIO and/or MMC
WO2004077306A1 (en) Sdio controller
EP1209574A2 (en) USB computer memory drive
JP2007518160A (en) Multi-module circuit card with direct memory access between modules
US7171502B2 (en) USB system having card-type USB interface connector
US9680972B2 (en) SD switch box in a cellular handset
KR100782113B1 (en) Memory card system and method transmitting host identification information thereof
US8527667B2 (en) Apparatuses and methods for transferring data
US20110072168A1 (en) Data transfer system with different operating modes
JP2004185584A (en) Card adaptor control device, usb controller and card adaptor
US7484025B2 (en) PC card and PC card control method
JP3655597B2 (en) Electronic device, electronic card, and card identification method
JP2004265377A (en) Function expansion electronic device
JP2005092833A (en) Functionally expanded electronic device
US7162562B2 (en) Portable electronic system and accessing method thereof
JP7111756B2 (en) INTEGRATED ELECTRONIC DEVICE AND METHOD WITH DATA ACCESS, TRANSMISSION AND POWER MANAGEMENT
KR101172298B1 (en) Memory card for wireless communications and sd controller
KR100779747B1 (en) Secure Device combo card with RF communication function for a mobile terminal and method for RF communication of Secure Device combo card
KR101117345B1 (en) Memory card converting adaptor, and system thereof, and operation method thereof
US20070101035A1 (en) Pc card and pc card control method
JP2004326233A (en) Interface card with card slot
EP1603050B1 (en) Portable electronic system and accessing method thereof
KR200391014Y1 (en) Secure Device combo card with RF communication function for a mobile terminal

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20051205

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20051221

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20060531