JP3858747B2 - PC card adapter - Google Patents

PC card adapter Download PDF

Info

Publication number
JP3858747B2
JP3858747B2 JP2002115841A JP2002115841A JP3858747B2 JP 3858747 B2 JP3858747 B2 JP 3858747B2 JP 2002115841 A JP2002115841 A JP 2002115841A JP 2002115841 A JP2002115841 A JP 2002115841A JP 3858747 B2 JP3858747 B2 JP 3858747B2
Authority
JP
Japan
Prior art keywords
card
information
small
card adapter
adapter
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
JP2002115841A
Other languages
Japanese (ja)
Other versions
JP2003308488A (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 JP2002115841A priority Critical patent/JP3858747B2/en
Publication of JP2003308488A publication Critical patent/JP2003308488A/en
Application granted granted Critical
Publication of JP3858747B2 publication Critical patent/JP3858747B2/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Description

【0001】
【発明の属する技術分野】
本発明は、PC Card Standardに準拠したPCカードアダプタの技術に関するものである。詳しくは、PC Card StandardのPCカードATA規格に準拠しないインタフェースを持つ小型カードを挿入しPCカードATA規格に準拠したPCカードに変換し、適切なドライバをホストコンピュータが選択できるようにするためのものである。
【0002】
【従来の技術】
近年、PCカードはパーソナルコンピュータやデジタルカメラ、PDA、ハンディータミナルなどに利用されている。また、デジタルカメラでは、PCカードATA規格インタフェースに準拠しないスマートメディアカードなどの小型カードが画像データを保存するためによく利用され、小型カードに保存された画像データをホストコンピュータが読み書きできるようにするためのPCカードアダプタも良く利用されている。
【0003】
従来のPCカードアダプタは、PCカードのインタフェースとしてPCカードATA規格が用いられる。PCカードアダプタをホストコンピュータに接続すると、PCカードアダプタからPC Card Standardに記載されているCIS(Card Information Structure)情報が読み出され、ホストコンピュータは、その情報に基づいてドライバを選びPCカードアダプタを動作させる。つまり、PCカードアダプタのCIS情報は、ホストコンピュータがドライバを選択するために使用する重要な情報である。従来のPCカードアダプタの場合、挿入される小型カードに関係無く、PCカードアダプタの中に固定のCIS情報を持っている場合と、スマートメディアカードのように小型カードの中にPCカードアダプタ用のCIS情報があり、そのCIS情報をPCカードアダプタに取り込んで持っている場合の2通りがある。
【0004】
【発明が解決しようとする課題】
上記従来のPCカードアダプタでは、小型カードの中にPCカードアダプタ用のCIS情報がなく、全く新しい種類の小型カードが挿入された場合でも、PCカードアダプタ内にある固定のCIS情報を使うことになる。そのため、ホストコンピュータが選択するドライバも従来ある小型カード用のドライバが選択されてしまい、新しい種類の小型カードと、PCカードアダプタを正常に動作させることができなくなる欠点を有していた。
【0005】
また、新しい種類の小型カードに対応したドライバを選択するようにホストコンピュータの設定を変更したとしても、逆に従来からある小型カードを挿入したときに、新しい小型カード用のドライバが選択されるため、ユーザーが小型カードを変更する度に対応したドライバに変更しなければならなくなり、使い勝手が非常に悪く不便になる欠点を有していた。
【0006】
また、PCカードアダプタの中に小型カードの固有情報を格納する方法として、小型カードの固有情報をそのままPCカードアダプタの中に持つ場合、RAM領域が増大し製造コストが高くなる問題を有していた。
【0007】
本発明は、このような従来の課題を解決するものであり、PCカードアダプタに挿入された小型カードのドライバが適切に選択され、正常に動作させることができるようにし、また製造コストを安くするPCカードアダプタを提供することを目的とするものである。
【0008】
【課題を解決するための手段】
上記の課題を解決するために本発明の請求項1に係るPCカードアダプタは、着脱可能な小型カードをホストコンピュータのPCカードATA規格インタフェースに接続するPCカードアダプタであって、前記小型カードを接続する接続手段1と、ホストコンピュータのPCカードATA規格インタフェースに接続する接続手段2と、前記小型カードに記憶されている固有情報を読み込む手段と、ホストコンピュータのPCカードATA規格インタフェースを通して、ホストコンピュータへデータの受け渡しを行うPCカードATA規格インタフェース制御手段とを備え、PCカードアダプタとしてのCIS(Card Information Structure)情報に、PCカードアダプタの内部にある誤り訂正あるいは誤り検出を行う演算回路を用いて前記小型カードの固有情報のデータサイズを小さくして組み込んで、新たなCIS情報を作り出し、このCIS情報をホストコンピュータが読み出すことができる機能を備えた構成を有したものである。
【0009】
また、本発明の請求項2に係るPCカードアダプタは、PCカードアダプタとしてのCIS情報の記憶領域の空いた所に、前記小型カードの固有情報のデータサイズを小さくして組み込むことを特徴とする構成を有したものである。
【0010】
上記構成によって、本発明の請求項1に係るPCカードアダプタは、小型カードの種類によりPCカードアダプタのCIS情報が変わるため、ホストコンピュータが、そのCIS情報の違いを読み取り適切なドライバを選択することができるようになる。また、そのことによりPCカードアダプタを介して小型カードを動作させるためのドライバが正しく選択されず、正常に動作させることができなくなる問題やユーザーが小型カードの種類を変更する度に適応したドライバに設定を変更しなければならなくなる問題を解決できる。
【0011】
本発明の請求項2に係るPCカードアダプタは、小型カードの固有情報のサイズが大きい場合でも、PCカードアダプタの中に小さく格納できるため、大きなRAM領域を必要とせず製造コストを安くすることができるので好適である。
【0012】
【発明の実施の形態】
以下、本発明の実施例について、図面を参照しながら説明する。
【0013】
(実施例1)
図の説明
図1は、本発明の第1の実施例におけるPCカードアダプタを示すものである。図1において、PCカードアダプタは、主に10、11、12、13、14、15、16の部品で構成される。11はホストコンピュータと接続するためのATA規格インタフェース用のコネクタ、13はPCカードアダプタと小型カードを接続するためのコネクタ、12はPCカードアダプタと小型カードとの接続をスムーズに行うためのガイド、15はコントローラIC10の中にあってPCカードアダプタのCIS情報の基本となるデータを格納しておくROM領域、16はコントローラIC10の中にあって小型カードから読み取った固有情報を格納するRAM領域。10はコントローラICで、コネクタ13に接続された小型カードとコネクタ11に接続されたホストコンピュータとATA規格インタフェースを制御するためのものである。また、コントローラIC10は、ホストコンピュータからのCIS情報の読出し要求に対してROM領域15とRAM領域16のデータからCIS情報を作り出し応答できる機能を備えている。14はコントローラICを動作させるための周辺回路部品である。
【0014】
図2は、本発明の第1の実施例における小型カードAを示すものである。21は、小型カードAの固有情報領域で、PCカードアダプタ用のCIS情報そのものとメモリ容量などカード固有の情報を含んでいる。22は、小型カードAのその他の機能を実現するメモリ領域である。また小型カードAの代表例はスマートメディアカードである。
【0015】
図3は、本発明の第1の実施例における小型カードBを示すものである。31は、小型カードBの固有情報領域で、メモリ容量などカード固有の情報を含んでいるがPCカードアダプタ用のCIS情報そのものではない。32は、小型カードBのその他の機能を実現するメモリ領域である。また小型カードBの代表例はSDカード、MultiMediaCardである。
【0016】
図2と図3の小型カードA、Bの違いは、PCカードアダプタ用のCIS情報が含まれているかいないかが大きな違いである。
【0017】
図4は、小型カードが挿入される前の状態のPCカードアダプタを示すものである。
【0018】
図5は、小型カードが挿入された状態のPCカードアダプタを示すものである。
【0019】
図6は、本発明のPCカードアダプタの動作を表すフローチャートを表すものである。
【0020】
本実施の形態において、スマートメディアカードに代表される小型カードAが、PCカードアダプタに挿入された場合は、小型カードA内にあるCIS情報をPCカードアダプタ内で保持しホストコンピュータに伝達すれば良いので問題ないが、SDカードに代表される小型カードBの場合は、PCカードアダプタ用のCIS情報を含まないので、発明が解決しようとする課題に当てはまる。そのため、次に図6を用いて本発明のPCカードアダプタの動作を以下に詳しく説明する。
【0021】
小型カードBが本発明のPCカードアダプタに挿入され、はじめてホストコンピュータに接続された場合のステップについて説明する。ステップS1で本発明のPCカードアダプタに小型カードBが挿入される。挿入後は、上記図5の形態となる。次にステップS2で本発明のPCカードアダプタをATA規格インタフェースを持つホストコンピュータに挿入する。
【0022】
次にステップS3で本発明のPCカードアダプタが小型カードBの固有情報を読み取り、PCカードアダプタの中にあるRAM領域に格納しておく。
【0023】
次にステップS4でホストコンピュータから本発明のPCカードアダプタに対してCIS情報の読み出し要求がある。
【0024】
次にステップS5でS4に対する応答として、本発明のPCカードアダプタの中にもともと備わっているCIS情報とRAM領域に格納してある小型カードの情報を組み合わせて新しいCIS情報を作り、ホストコンピュータに対してそのデータを渡す。但し、RAM領域に格納してある小型カードの情報を組み合わせる際に、00h、FFhのデータについては、00h、FFh以外のデータに変更して新しいCIS情報とする。
【0025】
次にステップS6でホストコンピュータが本発明のPCカードアダプタから読み出したCIS情報を解釈し、初めて挿入されたPCカードアダプタか確認する。
【0026】
次に、初めて挿入されたPCカードアダプタとして扱う場合のステップS7の説明をする。ステップS7では、本発明のPCカードアダプタがホストコンピュータにはじめて接続されたため、ホストコンピュータはユーザーに適切なドライバがないかインストールするように要求する。ただし、このインストール作業は、ユーザーが事前に適切なドライバをインストールしていた場合は省略されることがある。
【0027】
次にステップS8では、ホストコンピュータがステップS7でユーザーにより選択されたドライバを使用し、PCカードアダプタを正常に動作させることができる。また、ホストコンピュータは、次回から同じCIS情報を持つPCカードアダプタが挿入された時に、ステップS7で選択したドライバが自動的に選択されるように管理している。
【0028】
次に、小型カードBが本発明のPCカードアダプタに挿入され、以前ホストコンピュータに接続されたことがある場合のステップについて説明する。
【0029】
ステップS1からステップS5までは、同じであるが、CIS情報を解釈して初めて挿入されたPCカードアダプタか確認するステップS6において、初めてではないPCカードアダプタと判断するため、ステップS9に進む。
【0030】
ステップS9において、ホストコンピュータは、以前ステップS7で選択したドライバを使用し、PCカードアダプタを正常に動作させることができる。
【0031】
次に小型カードBと違う種類、つまり固有情報が異なる小型カードB’が本発明のPCカードアダプタに挿入され、はじめてホストコンピュータに接続した場合のステップについて説明する。本発明のPCカードアダプタであれば、小型カードBを挿入しているときとステップS4まで同じ進むが、ステップS5で小型カードBがPCカードアダプタに挿入されている場合と異なるCIS情報がホストコンピュータに渡される。そのためステップS7に進むことができ、ユーザーが適切なドライバをインストールすることができる。
【0032】
また、それ以後、小型カードB’が挿入された状態で、同じホストコンピュータに接続されると、ステップS9に進みステップS7で小型カードB’のために選択されたドライバが使用されるため、正常に動作させることができる。
【0033】
以上のようにすることで、本発明のPCカードアダプタは、新しい種類の小型カードが挿入された時に従来ある小型カード用のドライバが選択されてしまい正常に動作させることができない問題を解決でき、また小型カードを変更する度に適応したドライバにユーザーが変更しなければならなくなる不便さも解決することができ、使い勝手が良く正常にPCカードアダプタを介して小型カードを動作させることができる。
【0034】
(実施例2)
次に、前記ステップS3におけるPCカードアダプタが小型カードの固有情報を読み取りRAM領域に格納しておく方法について説明する。
【0035】
前記ステップS3において、小型カードの固有情報を読み取った後、RAM領域に格納するが、その際、本発明のPCカードアダプタは、すでに内部にある演算回路を用いて、小型カードの固有情報を数バイトに変換した状態でRAM領域に確保しておく。PCカードアダプタ内部にある演算回路としては、PCカードアダプタと小型カード間もしくはPCカードアダプタとホストコンピュータの間のデータ転送をするときに用いられる誤り検出回路、例えばSD Card Specification記載のCRC(Cyclic RedundancyCheck)16の演算回路(図7参照)やSmartMedia Specification記載のECC(Error Correction Circuit)回路などである。
【0036】
具体的にCRC16を使って固有情報を数バイトに変換し、PCカードアダプタで保持するCIS情報について以下に説明する。
【0037】
ステップS3において、本発明のPCカードアダプタが小型カードBの固有情報を読み取る。読み取ったデータを図7記載のCRC16で演算すると2バイトのデータが得られるので、RAM領域に格納する。但し、得られたデータが00h、FFhが含まれる場合は別の値とする。
【0038】
そしてRAM領域に格納されたデータを図8、図9、図10、図11記載のもともとPCカードアダプタに備わっているCIS情報のアドレス CEh、D0hのデータとする。
【0039】
以上のようにすることで、数キロバイト〜数10キロバイトからなる小型カードの固有情報から、このカードを識別するための情報を数バイト(本実施例では2バイト)程度に著しく圧縮することができ、この情報はPCカードアダプタにもともと備わっているCIS情報の記憶領域の空いた所に格納できる。即ち、PCカードアダプタに前記小型カードの固有情報を記憶するためのRAM領域を特別に確保する必要がなく、前記識別情報を得るための演算回路を既に備わっているものがそのまま使用できるので、本発明の実施に当たっては何ら新しいハードウェアを追加する必要がなく、従って、製造コストを上げることもない。
【0040】
また、合成されたCIS情報が、PC Card Standard規格に適合し、PCカードアダプタとしても規格から逸脱せず何ら問題なく使用することができる。
【0041】
本実施の形態においてはベースとなるCIS情報を図8記載のものとしているが、これは一例であり、中のデータを厳密に定めることには何ら意味を有しない。
【0042】
更に本実施の形態においては、RAM領域に格納するデータを2バイトとしているが、その他の演算方法や小型カード固有情報の一部をそのまま使用するなどして、格納するデータ及びその容量を変えても良いことは言うまでもない。
【0043】
【発明の効果】
以上の説明のように本発明の請求項1に係るPCカードアダプタは、着脱可能な小型カードをホストコンピュータのPCカードATA規格インタフェースに接続する方法であって、前記小型カードを接続する接続手段1と、
ホストコンピュータのPCカードATA規格インタフェースに接続する接続手段2と、
前記小型カードに記憶されている固有情報を読み込む手段と、
ホストコンピュータのPCカードATA規格インタフェースを通して、ホストコンピュータへデータの受け渡しを行うPCカードATA規格インタフェース制御手段とを備え、
PCカードアダプタとしてのCIS(Card Information Structure)情報に、前記小型カードの固有情報を組み合わせて、新たなCIS情報を作り出、このCIS情報をホストコンピュータが読み出すことができるように保持しておく機能を備えたことにより、小型カードの種類によりPCカードアダプタのCIS情報が変わるため、ホストコンピュータが、そのCIS情報の違いを読み取り適切なドライバを選択することができるようになる。また、そのことによりPCカードアダプタを介して従来の小型カードを動作させるためのドライバが選択されてしまい、新しい小型カードを正常に動作させることができなくなる問題やユーザーが小型カードの種類を変更する度に適応したドライバに設定を変更しなければならなくなる問題を解決できる。
【0044】
また、本発明の請求項2に係るPCカードアダプタは、前記請求項1におけるCIS情報の作り方として、PCカードアダプタがホストコンピュータ及び前記小型カードと通信する時に使用している演算回路を用いて、前記小型カードの固有情報のデータサイズを小さくし、それをPCカードアダプタにもともと備わっているCIS情報に組み込んで、新たなCIS情報を作り出し、このCIS情報をホストコンピュータが読み出すことができるように保持しておく機能を備えたことにより、小型カードの固有情報のサイズが大きい場合でも、PCカードアダプタの中のCIS情報を小さく格納できるため、大きなRAM領域を必要とせず製造コストを安くすることができるという効果を有する。
【図面の簡単な説明】
【図1】PCカードアダプタ主要部品構成を示す図
【図2】PCカードアダプタ用のCIS情報が存在する小型カードAを示す図
【図3】PCカードアダプタ用のCIS情報が存在しない小型カードBを示す図
【図4】小型カードが挿入される前の状態のPCカードアダプタを示す図
【図5】小型カードが挿入された状態のPCカードアダプタを示す図
【図6】挿入時の動作を説明するフローチャート
【図7】CRC16の計算式を示す図
【図8】CIS情報を示す図
【図9】CIS情報を示す図
【図10】CIS情報を示す図
【図11】CIS情報を示す図
【符号の説明】
10 コントローラIC
11 ATA規格インタフェース用のコネクタ
12 PCカードアダプタと小型カードとの接続をスムーズに行うためのガイド
13 PCカードアダプタと小型カードを接続するためのコネクタ
14 周辺回路部品
15 CIS情報の基本となるデータを格納しておくROM領域
16 小型カードから読み取った固有情報を格納するRAM領域
21 小型カードAの固有情報領域
22 小型カードAのその他の機能を実現するメモリ領域
31 小型カードBの固有情報領域
32 小型カードBのその他の機能を実現するメモリ領域
[0001]
BACKGROUND OF THE INVENTION
The present invention relates to a technology of a PC card adapter conforming to PC Card Standard. Specifically, for inserting a small card having an interface that does not conform to PC Card Standard PC Card ATA standard, and converting it to a PC card conforming to PC Card ATA standard so that the host computer can select an appropriate driver. It is.
[0002]
[Prior art]
In recent years, PC cards are used in personal computers, digital cameras, PDAs, handy terminals, and the like. In digital cameras, small cards such as smart media cards that do not conform to the PC card ATA standard interface are often used to store image data, and the host computer can read and write image data stored on the small card. PC card adapters are also often used.
[0003]
The conventional PC card adapter uses the PC card ATA standard as an interface of the PC card. When the PC card adapter is connected to the host computer, CIS (Card Information Structure) information described in the PC Card Standard is read from the PC card adapter, and the host computer selects a driver based on the information and operates the PC card adapter. That is, the CIS information of the PC card adapter is important information used by the host computer to select a driver. In the case of a conventional PC card adapter, regardless of the small card to be inserted, there is a case where the PC card adapter has fixed CIS information, and there is CIS information for the PC card adapter in a small card such as a smart media card. Yes, there are two cases where the CIS information is taken in and held in the PC card adapter.
[0004]
[Problems to be solved by the invention]
In the conventional PC card adapter, there is no CIS information for the PC card adapter in the small card, and even when a completely new type of small card is inserted, the fixed CIS information in the PC card adapter is used. For this reason, the driver selected by the host computer is also selected from the conventional small card driver, and the new type of small card and the PC card adapter cannot be normally operated.
[0005]
Even if the host computer setting is changed to select a driver that supports a new type of small card, the driver for a new small card is selected when a conventional small card is inserted. However, each time the user changes the small card, the driver has to be changed to a compatible driver, which is very inconvenient and inconvenient.
[0006]
Further, as a method for storing the unique information of the small card in the PC card adapter, when the unique information of the small card is directly stored in the PC card adapter, there is a problem that the RAM area increases and the manufacturing cost increases.
[0007]
The present invention solves such a conventional problem, and allows a small card driver inserted into a PC card adapter to be properly selected and operated normally, and also reduces the manufacturing cost. The object is to provide a card adapter.
[0008]
[Means for Solving the Problems]
In order to solve the above problems, a PC card adapter according to claim 1 of the present invention is a PC card adapter for connecting a detachable small card to a PC card ATA standard interface of a host computer, and a connection for connecting the small card. Means 1, connection means 2 for connecting to the PC card ATA standard interface of the host computer, means for reading the unique information stored in the small card, and the data of the data to the host computer through the PC card ATA standard interface of the host computer a PC card ATA standard interface control unit for transferring, to a CIS (card information Structure) information as PC card adapter, row error correction or error detection in the interior of the PC card adapter Incorporated by using an arithmetic circuit to reduce the data size of the unique information of the small card, creating a new CIS information, those having a structure having a function of the CIS information can host computer reads .
[0009]
In addition, the PC card adapter according to claim 2 of the present invention is configured to be incorporated in a space where a CIS information storage area as a PC card adapter is vacant, with the data size of the unique information of the small card reduced. I have it.
[0010]
With the above configuration, the PC card adapter according to claim 1 of the present invention changes the CIS information of the PC card adapter depending on the type of the small card, so that the host computer can read the difference in the CIS information and select an appropriate driver. It becomes like this. In addition, the driver for operating the small card via the PC card adapter is not selected correctly, and the driver cannot be operated normally, or the driver is set to be adapted whenever the user changes the type of the small card. You can solve the problem that you have to change.
[0011]
Since the PC card adapter according to claim 2 of the present invention can be stored small in the PC card adapter even when the size of the unique information of the small card is large, a large RAM area is not required and the manufacturing cost can be reduced. Is preferred.
[0012]
DETAILED DESCRIPTION OF THE INVENTION
Embodiments of the present invention will be described below with reference to the drawings.
[0013]
Example 1
FIG. 1 shows a PC card adapter according to the first embodiment of the present invention. In FIG. 1, the PC card adapter is mainly composed of 10, 11, 12, 13, 14, 15, 16 parts. 11 is a connector for an ATA standard interface for connecting to the host computer, 13 is a connector for connecting the PC card adapter and the small card, 12 is a guide for smoothly connecting the PC card adapter and the small card, and 15 is A ROM area in the controller IC 10 for storing basic data for CIS information of the PC card adapter, and a RAM area 16 in the controller IC 10 for storing unique information read from a small card. A controller IC 10 controls the small card connected to the connector 13, the host computer connected to the connector 11, and the ATA standard interface. Further, the controller IC 10 has a function capable of generating CIS information from the data in the ROM area 15 and the RAM area 16 and responding to a CIS information read request from the host computer. Reference numeral 14 denotes a peripheral circuit component for operating the controller IC.
[0014]
FIG. 2 shows a small card A in the first embodiment of the present invention. Reference numeral 21 denotes a unique information area of the small card A, which includes CIS information itself for the PC card adapter and card-specific information such as memory capacity. Reference numeral 22 denotes a memory area for realizing other functions of the small card A. A typical example of the small card A is a smart media card.
[0015]
FIG. 3 shows a small card B in the first embodiment of the present invention. Reference numeral 31 denotes a unique information area of the small card B, which contains information unique to the card such as a memory capacity, but is not CIS information for the PC card adapter itself. Reference numeral 32 denotes a memory area for realizing other functions of the small card B. A typical example of the small card B is an SD card, MultiMediaCard.
[0016]
The difference between the small cards A and B in FIG. 2 and FIG. 3 is a great difference in whether or not CIS information for the PC card adapter is included.
[0017]
FIG. 4 shows the PC card adapter in a state before the small card is inserted.
[0018]
FIG. 5 shows the PC card adapter with the small card inserted.
[0019]
FIG. 6 is a flowchart showing the operation of the PC card adapter of the present invention.
[0020]
In this embodiment, when a small card A represented by a smart media card is inserted into a PC card adapter, the CIS information in the small card A may be held in the PC card adapter and transmitted to the host computer. Although there is no problem, since the small card B represented by the SD card does not include the CIS information for the PC card adapter, it applies to the problem to be solved by the invention. Therefore, the operation of the PC card adapter of the present invention will be described in detail below with reference to FIG.
[0021]
The steps when the small card B is inserted into the PC card adapter of the present invention and connected to the host computer for the first time will be described. In step S1, the small card B is inserted into the PC card adapter of the present invention. After insertion, the configuration shown in FIG. 5 is obtained. In step S2, the PC card adapter of the present invention is inserted into a host computer having an ATA standard interface.
[0022]
Next, in step S3, the PC card adapter of the present invention reads the unique information of the small card B and stores it in the RAM area in the PC card adapter.
[0023]
Next, in step S4, there is a request for reading CIS information from the host computer to the PC card adapter of the present invention.
[0024]
Next, in step S5, as a response to S4, new CIS information is created by combining the CIS information originally provided in the PC card adapter of the present invention and the information of the small card stored in the RAM area, to the host computer. Pass that data. However, when combining the information of the small card stored in the RAM area, the data of 00h and FFh is changed to data other than 00h and FFh to obtain new CIS information.
[0025]
In step S6, the host computer interprets the CIS information read from the PC card adapter of the present invention, and confirms whether the PC card adapter is inserted for the first time.
[0026]
Next, step S7 in the case of handling as a PC card adapter inserted for the first time will be described. In step S7, since the PC card adapter of the present invention is first connected to the host computer, the host computer requests the user to install an appropriate driver. However, this installation may be omitted if the user has installed an appropriate driver in advance.
[0027]
Next, in step S8, the host computer can operate the PC card adapter normally using the driver selected by the user in step S7. Further, the host computer manages that the driver selected in step S7 is automatically selected when a PC card adapter having the same CIS information is inserted from the next time.
[0028]
Next, steps when the small card B is inserted into the PC card adapter of the present invention and connected to the host computer before will be described.
[0029]
Steps S1 to S5 are the same, but in step S6 in which the PC card adapter is inserted for the first time after interpreting the CIS information, it is determined that the PC card adapter is not the first time, and thus the process proceeds to step S9.
[0030]
In step S9, the host computer can operate the PC card adapter normally using the driver previously selected in step S7.
[0031]
Next, steps when a different type from the small card B, that is, a small card B ′ having different unique information is inserted into the PC card adapter of the present invention and connected to the host computer for the first time will be described. In the case of the PC card adapter of the present invention, the process proceeds to step S4 in the same manner as when the small card B is inserted, but CIS information different from the case where the small card B is inserted into the PC card adapter is passed to the host computer in step S5. It is. Therefore, the process can proceed to step S7, and the user can install an appropriate driver.
[0032]
Thereafter, if the small card B ′ is inserted and connected to the same host computer, the process proceeds to step S9, and the driver selected for the small card B ′ in step S7 is used. Can be operated.
[0033]
As described above, the PC card adapter of the present invention can solve the problem that the driver for a conventional small card is selected when a new type of small card is inserted and cannot be operated normally. The inconvenience that the user has to change to a driver adapted each time the small card is changed can also be solved, and the small card can be operated normally through the PC card adapter with good usability.
[0034]
(Example 2)
Next, a description will be given of a method in which the PC card adapter in step S3 reads small card specific information and stores it in the RAM area.
[0035]
In step S3, the unique information of the small card is read and then stored in the RAM area. At this time, the PC card adapter of the present invention uses the arithmetic circuit already inside to store the unique information of the small card in several bytes. It is secured in the RAM area in a state converted to. As an arithmetic circuit in the PC card adapter, an error detection circuit used when transferring data between the PC card adapter and the small card or between the PC card adapter and the host computer, for example, a CRC (Cyclic Redundancy Check) 16 described in SD Card Specification An arithmetic circuit (see FIG. 7), an ECC (Error Correction Circuit) circuit described in SmartMedia Specification, or the like.
[0036]
Specifically, the CIS information converted into several bytes using the CRC 16 and held by the PC card adapter will be described below.
[0037]
In step S3, the PC card adapter of the present invention reads the unique information of the small card B. When the read data is calculated by the CRC 16 shown in FIG. 7, 2-byte data is obtained and stored in the RAM area. However, when the obtained data includes 00h and FFh, different values are used.
[0038]
The data stored in the RAM area is assumed to be data of addresses CEh and D0h of CIS information originally provided in the PC card adapter described in FIGS. 8, 9, 10 and 11.
[0039]
By doing so, the information for identifying this card can be remarkably compressed to several bytes (2 bytes in this embodiment) from the unique information of a small card consisting of several kilobytes to several tens of kilobytes. This information can be stored in an empty area of the CIS information storage area originally provided in the PC card adapter. That is, it is not necessary to secure a RAM area for storing the unique information of the small card in the PC card adapter, and those already provided with an arithmetic circuit for obtaining the identification information can be used as they are. There is no need to add any new hardware in the implementation, and therefore, the manufacturing cost is not increased.
[0040]
The synthesized CIS information conforms to the PC Card Standard standard, and can be used as a PC card adapter without any problem without deviating from the standard.
[0041]
In the present embodiment, the base CIS information is the one shown in FIG. 8, but this is merely an example, and there is no meaning in strictly defining the data therein.
[0042]
Furthermore, in this embodiment, the data stored in the RAM area is 2 bytes. However, the data to be stored and the capacity thereof are changed by using other arithmetic methods or a part of the small card specific information as it is. It goes without saying that it is also good.
[0043]
【The invention's effect】
As described above, the PC card adapter according to the first aspect of the present invention is a method for connecting a detachable small card to the PC card ATA standard interface of a host computer, and the connection means 1 for connecting the small card to the PC card ATA standard interface. ,
Connection means 2 for connecting to the PC card ATA standard interface of the host computer;
Means for reading the unique information stored in the small card;
PC card ATA standard interface control means for transferring data to the host computer through the PC card ATA standard interface of the host computer,
A function of creating new CIS information by combining CIS (Card Information Structure) information as a PC card adapter with unique information of the small card, and holding the CIS information so that the host computer can read it. Since the CIS information of the PC card adapter changes depending on the type of the small card, the host computer can read the difference of the CIS information and select an appropriate driver. In addition, the driver for operating the conventional small card is selected through the PC card adapter, and the problem that the new small card cannot be normally operated or the user changes the type of the small card. This solves the problem that the setting must be changed to a driver adapted to the.
[0044]
Further, the PC card adapter according to claim 2 of the present invention uses the arithmetic circuit used when the PC card adapter communicates with a host computer and the small card as a method of creating the CIS information according to claim 1. The data size of the card specific information is reduced and incorporated into the CIS information originally provided in the PC card adapter to create new CIS information, and this CIS information is held so that the host computer can read it. By providing the function, even when the size of the unique information of the small card is large, the CIS information in the PC card adapter can be stored small, so that a large RAM area is not required and the manufacturing cost can be reduced. Have.
[Brief description of the drawings]
FIG. 1 is a diagram showing a main part configuration of a PC card adapter. FIG. 2 is a diagram showing a small card A having CIS information for the PC card adapter. FIG. 3 is a diagram showing a small card B having no CIS information for the PC card adapter. FIG. 4 is a diagram showing a PC card adapter in a state before a small card is inserted. FIG. 5 is a diagram showing a PC card adapter in a state where a small card is inserted. FIG. 6 is a flowchart for explaining an operation at the time of insertion. 7 is a diagram showing a CRC16 calculation formula. FIG. 8 is a diagram showing CIS information. FIG. 9 is a diagram showing CIS information. FIG. 10 is a diagram showing CIS information. FIG. 11 is a diagram showing CIS information.
10 Controller IC
11 Connector for ATA standard interface 12 Guide for smooth connection between PC card adapter and small card 13 Connector for connecting PC card adapter and small card 14 Peripheral circuit component 15 Stores basic data of CIS information ROM area 16 RAM area 21 for storing unique information read from a small card Unique information area 22 for small card A Memory area 31 for realizing other functions of small card A Unique information area 32 for small card B Small card B Memory area that realizes other functions of

Claims (2)

着脱可能な小型カードをホストコンピュータのPCカードATA規格インタフェースに接続するPCカードアダプタであって、
前記小型カードを接続する接続手段1と、
ホストコンピュータのPCカードATA規格インタフェースに接続する接続手段2と、
前記小型カードに記憶されている固有情報を読み込む手段と、
ホストコンピュータのPCカードATA規格インタフェースを通して、ホストコンピュータへデータの受け渡しを行うPCカードATA規格インタフェース制御手段とを備え、
PCカードアダプタとしてのCIS(Card Information Structure)情報に、PCカードアダプタの内部にある誤り訂正あるいは誤り検出を行う演算回路を用いて前記小型カードの固有情報のデータサイズを小さくして組み込んで、新たなCIS情報を作り出し、このCIS情報をホストコンピュータが読み出すことができるように保持しておく機能を備えることを特徴とするPCカードアダプタ。
A PC card adapter for connecting a detachable small card to a PC card ATA standard interface of a host computer,
Connection means 1 for connecting the small card;
Connection means 2 for connecting to the PC card ATA standard interface of the host computer;
Means for reading the unique information stored in the small card;
PC card ATA standard interface control means for transferring data to the host computer through the PC card ATA standard interface of the host computer,
The CIS (Card Information Structure) information as the PC card adapter is incorporated into the new CIS by reducing the data size of the unique information of the small card using an arithmetic circuit that performs error correction or error detection inside the PC card adapter. A PC card adapter having a function of creating information and holding the CIS information so that the host computer can read it.
PCカードアダプタとしてのCIS情報の記憶領域の空いた所に、前記小型カードの固有情報のデータサイズを小さくして組み込むことを特徴とする請求項1記載のPCカードアダプタ。 2. The PC card adapter according to claim 1, wherein a data size of the unique information of the small card is reduced and incorporated in a place where a storage area for CIS information as the PC card adapter is vacant .
JP2002115841A 2002-04-18 2002-04-18 PC card adapter Expired - Fee Related JP3858747B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2002115841A JP3858747B2 (en) 2002-04-18 2002-04-18 PC card adapter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2002115841A JP3858747B2 (en) 2002-04-18 2002-04-18 PC card adapter

Publications (2)

Publication Number Publication Date
JP2003308488A JP2003308488A (en) 2003-10-31
JP3858747B2 true JP3858747B2 (en) 2006-12-20

Family

ID=29396954

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2002115841A Expired - Fee Related JP3858747B2 (en) 2002-04-18 2002-04-18 PC card adapter

Country Status (1)

Country Link
JP (1) JP3858747B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006048417A (en) * 2004-08-05 2006-02-16 Matsushita Electric Ind Co Ltd Pc card adapter

Also Published As

Publication number Publication date
JP2003308488A (en) 2003-10-31

Similar Documents

Publication Publication Date Title
CN101313287B (en) Initialization of flash storage via an embedded controller
US7007127B2 (en) Method and related apparatus for controlling transmission interface between an external device and a computer system
US7526675B2 (en) Software recovery method for flash media with defective formatting
US7278051B2 (en) Field-operable, stand-alone apparatus for media recovery and regeneration
US8473672B2 (en) System and method for storing data using a flexible data format
JP2007310637A (en) Data storage device and data storage method
JP2007534034A (en) Memory card compatible with multiple connector standards
TWI454912B (en) Data processing method, memory controller and memory storage device
US8645624B2 (en) Portable electronic device, smartcard and control method for portable electronic device
US6954815B2 (en) Microcomputer with universal serial bus interface circuit and method of controlling the same
US20080114935A1 (en) Memory Card System and Method Transmitting Host Identification Information Thereof
EP1770538B1 (en) SCSI communication system, information processing device, peripheral device and communication method
JP3858747B2 (en) PC card adapter
US20160055853A9 (en) Method for processing sound data and circuit therefor
JPWO2002069127A1 (en) Storage medium control method, storage medium control device, and storage medium adapter
US20080162479A1 (en) Memory card system and method for transmitting background information thereof
JP2004246623A (en) Small card adapter and host apparatus with small card adapter mounted therein
CN210776642U (en) Automatic disk splicing device for multiple TF cards
JPH07141479A (en) Ic memory card and file control system using ic memory card
KR20010000941A (en) Device for reading/writing smartmedia card and method thereof
JP4465746B2 (en) Storage device adapter and connection method using the same
JP2008123450A (en) Recording medium and electronic apparatus capable of accessing memory
KR101139216B1 (en) Portable Storage Device Having One Touch Backup Function
CN101957761B (en) Method for updating program segment
EP1441302A2 (en) Conversion apparatus

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20040604

RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20050706

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20060110

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20060131

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20060323

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

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20060911

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

Free format text: PAYMENT UNTIL: 20090929

Year of fee payment: 3

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

Free format text: PAYMENT UNTIL: 20100929

Year of fee payment: 4

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

Free format text: PAYMENT UNTIL: 20110929

Year of fee payment: 5

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

Free format text: PAYMENT UNTIL: 20120929

Year of fee payment: 6

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

Free format text: PAYMENT UNTIL: 20130929

Year of fee payment: 7

S533 Written request for registration of change of name

Free format text: JAPANESE INTERMEDIATE CODE: R313533

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313113

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350

LAPS Cancellation because of no payment of annual fees