JP2007293857A - Pc card controller - Google Patents

Pc card controller Download PDF

Info

Publication number
JP2007293857A
JP2007293857A JP2007113190A JP2007113190A JP2007293857A JP 2007293857 A JP2007293857 A JP 2007293857A JP 2007113190 A JP2007113190 A JP 2007113190A JP 2007113190 A JP2007113190 A JP 2007113190A JP 2007293857 A JP2007293857 A JP 2007293857A
Authority
JP
Japan
Prior art keywords
card
information
register
signal
identification
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
JP2007113190A
Other languages
Japanese (ja)
Inventor
Hitoshi Yamamoto
斉 山本
Hiromasa Kusakabe
弘昌 日下部
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.)
Ricoh Co Ltd
Original Assignee
Ricoh 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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2007113190A priority Critical patent/JP2007293857A/en
Publication of JP2007293857A publication Critical patent/JP2007293857A/en
Pending legal-status Critical Current

Links

Images

Abstract

<P>PROBLEM TO BE SOLVED: To provide a PC card controller capable of recognizing new kinds of expansion cards. <P>SOLUTION: The PC card controller has an acquiring part for acquiring the ID information of a connected card using a technique compliant with standards; a first recording part for recording the card information and the ID information of one or more kinds of PC cards compliant with standards; and a second recording part for recording the card information and the ID information of one or more kinds of expansion cards not compliant with the standards. The PC card controller includes a PC card identifying part for identifying the kind of the connected card based on the ID information of the connected card and at least the ID information recorded in the second recording part, of the ID information recorded in the first and second recording parts, then outputting the result of the identification, and outputting the card information of the connected card; and a signal conversion part for establishing, based on the result of the identification, a line for communicating signals to the connected card using a format compliant with the standards. <P>COPYRIGHT: (C)2008,JPO&INPIT

Description

本発明は、PCMCIAに準拠するPCカードの識別に関する。   The present invention relates to identification of a PC card conforming to PCMCIA.

従来より、パーソナルコンピュータ、特にノート型のパーソナルコンピュータでは、PCMCIAに準拠したPCカードの識別装置(いわゆるPCカードスロット)を備えるものが知られている。   2. Description of the Related Art Conventionally, personal computers, particularly notebook personal computers, are known that include a PC card identification device (so-called PC card slot) compliant with PCMCIA.

PCMCIAに準拠するPCカードの短辺側の側部に備えるメス型のコネクタには、PCカード制御装置が備えるオス型コネクタの複数のピンの内、第1及び第2のカード検出信号(PCMCIAにおいてCD1#及びCD2#と定義されており、以下、単にCD1#及びCD2#という)が流れるピンに対応する第1及び第2接続穴、並びに、第1及び第2の電圧選択信号(PCMCIAにおいてVS1#及びVS2#と定義されており、以下、単にVS1#及びVS2#という)に対応する第3及び第4接続穴が用意されている。   The female connector provided on the side of the short side of the PC card conforming to PCMCIA includes first and second card detection signals (in PCMCIA) among the plurality of pins of the male connector provided in the PC card control device. The first and second connection holes corresponding to the pins through which CD1 # and CD2 # flow, and hereinafter simply referred to as CD1 # and CD2 #, and the first and second voltage selection signals (VS1 in PCMCIA). The third and fourth connection holes corresponding to VS1 # and VS2 #) are prepared.

PCカードの内部において、上記第1及び第2接続穴に接続される配線は、接地されているか、または、上記第3及び第4接続穴の少なくとも一方に接続されている。また、PCカード制御装置において、上記CD1#及びCD2#は、共にHighレベルにプルアップされている。PCカード制御装置にPCカードが接続されると、上記CD1#及びCD2#の電位がLowレベルに低下する。PCカード制御装置は、この電位変化からPCカードの接続を検出する。   Inside the PC card, the wiring connected to the first and second connection holes is grounded or connected to at least one of the third and fourth connection holes. In the PC card control device, both the CD1 # and CD2 # are pulled up to the high level. When the PC card is connected to the PC card controller, the potentials of the CD1 # and CD2 # are lowered to the low level. The PC card control device detects the connection of the PC card from this potential change.

PCカード制御装置は、PCカードが接続されたことを検知すると、第3接続穴に流れるVS1#の電位をHighレベルにした場合のCD2#,CD1#,VS2#及びVS1#の状態、並びに、第4接続穴に流れるVS2#の電位をHighレベルにした場合のCD2#,CD1#,VS2#及びVS1#の状態を検出し、これらの信号線の状態を識別情報としてPCカードの種類(使用する信号レベルやバスのビット幅)を特定する。   When the PC card controller detects that the PC card is connected, the state of CD2 #, CD1 #, VS2 # and VS1 # when the potential of VS1 # flowing through the third connection hole is set to the high level, and The state of CD2 #, CD1 #, VS2 # and VS1 # when the potential of VS2 # flowing through the fourth connection hole is set to the high level is detected, and the state of these signal lines is used as identification information to identify the type of PC card (use The signal level to be used and the bit width of the bus).

例えば、新たなPCカードを認識するPCカード制御装置として、上述したように第3及び第4接続穴に流れるVS1#及びVS2#の電位を選択的にHighレベルにした時のCD2#,CD1#,VS2#及びVS1#の電位状態が、PCMCIAで定める予備のカードの電位状態と一致し、かつ、上記以外の特定の端子の信号状態が予め決めた条件を満足する場合に、予めバスのビット幅及び駆動電圧が特定された拡張カード(スマートカード)を認識するものが提案されている(特許文献1を参照)。   For example, as a PC card controller for recognizing a new PC card, CD2 # and CD1 # when the potentials of VS1 # and VS2 # flowing in the third and fourth connection holes are selectively set to the high level as described above. , VS2 # and VS1 # when the potential state of the spare card determined by PCMCIA matches and the signal state of a specific terminal other than the above satisfies a predetermined condition, A device that recognizes an expansion card (smart card) whose width and drive voltage are specified has been proposed (see Patent Document 1).

特開2001−75746号公報JP 2001-75746 A

しかし、特許文献1に開示されるPCカード制御装置は、通常の識別情報取得処理の他に、さらに特定の端子の信号状態について調べるため、特別な拡張カード用の識別アルゴリズムを必要とし、設計工数の増加を招く。   However, the PC card control device disclosed in Patent Document 1 requires a special identification algorithm for an expansion card in order to investigate the signal state of a specific terminal in addition to the normal identification information acquisition process. Increase.

本発明は、より簡単に拡張カードを認識するPCカード制御装置を提供することを目的とする。   An object of this invention is to provide the PC card control apparatus which recognizes an expansion card more easily.

本発明のPCカード制御装置は、接続されたカードから規格に従う手法で識別情報を取得する識別情報取得部と、上記規格に準拠する1以上の種類のPCカードについてのカード情報と共に、当該各カード情報に対応した識別情報が記録された第1記録部と、上記規格に準拠していない1以上の種類の拡張カードについてのカード情報と共に、当該カード情報に対応した識別情報が記録された第2記録部とを有し、上記接続されたカードについて上記識別情報取得部により取得される識別情報と、第1記録部及び第2記録部に記録されている識別情報の内の少なくとも第2記録部に記録されている識別情報とから接続されているカードの種類を識別し、当該識別結果と共に接続されているカードについてのカード情報を出力するPCカード識別部とを備えたことを特徴とする。   The PC card control device according to the present invention includes an identification information acquisition unit that acquires identification information from a connected card in accordance with a standard, and card information about one or more types of PC cards that conform to the standard, and each card. A first recording unit in which identification information corresponding to the information is recorded, and a second information in which identification information corresponding to the card information is recorded together with card information about one or more types of expansion cards that do not comply with the standard. At least a second recording unit among the identification information acquired by the identification information acquisition unit for the connected card and the identification information recorded in the first recording unit and the second recording unit. PC card identification that identifies the type of card connected from the identification information recorded on the card, and outputs card information about the connected card together with the identification result. Characterized in that a part.

本発明の第1のPCカード制御装置は、特別な識別アルゴリズムを加えることなく規格に準拠する手法により得られる識別情報に基づいて拡張カードを認識することができる。   The first PC card control device of the present invention can recognize an expansion card based on identification information obtained by a technique based on a standard without adding a special identification algorithm.

(1)実施の形態1.
実施の形態1に係るPCカード制御装置100は、PCMCIAに準拠するPCカードと同じ識別方法(他に特別な処理を必要とせずにという意味である。)により拡張カードを識別するが、拡張カードの識別情報に、上記PCMCIAに準拠するPCカードに使用していない識別情報を拡張カード用の識別情報として使用する。これにより、特別な拡張カード用の識別アルゴリズムを追加することなく、拡張カードの識別を行う。
(1) Embodiment 1
The PC card control apparatus 100 according to Embodiment 1 identifies an expansion card by the same identification method as that of a PC card conforming to PCMCIA (which means that no other special processing is required). The identification information not used for the PC card conforming to the PCMCIA is used as the identification information for the expansion card. As a result, the expansion card is identified without adding a special expansion card identification algorithm.

また、PCカード制御装置100では、例えば、拡張カードの使用する信号レベルが5Vから3.3Vになり、バスのビット幅が16ビットから32ビットに変わった場合に、当該変更後の拡張カードを正しく認識できるようにすることを目的として、拡張カードを識別するための識別情報、及び、駆動電圧やバスのビット幅といった当該拡張カードの種類を特定するカード情報を外部から更新可能な構成を採用する。これにより簡単かつ柔軟に様々な種類の拡張カードの識別を行う。   Further, in the PC card control device 100, for example, when the signal level used by the expansion card is changed from 5V to 3.3V and the bit width of the bus is changed from 16 bits to 32 bits, the expanded expansion card is changed. For the purpose of enabling correct recognition, a configuration that can update externally the identification information for identifying the expansion card and the card information for specifying the type of the expansion card such as the drive voltage and bus bit width is adopted. To do. As a result, various types of expansion cards are identified easily and flexibly.

図1は、実施の形態1に係るPCカード制御装置100を備えるコンピュータシステム1の構成を示す図である。コンピュータシステム1は、CPU10、OSのプログラムが格納されているROM11、RAM12、キーボードやマウスで成る操作部13、ディスプレイ14、PCMCIAに準拠したPCカード用のPCカード制御装置100、及び、上記PCカード制御装置100用の第1制御プログラム(図10を参照)及び第2制御プログラム(図12を参照)の他、様々なアプリケーションプログラムやデータが格納されているハードディスク(図中、HDと表す)15がPCIバス50を介して接続されて成る。   FIG. 1 is a diagram illustrating a configuration of a computer system 1 including a PC card control device 100 according to the first embodiment. The computer system 1 includes a CPU 10, a ROM 11, a RAM 12 in which an OS program is stored, an operation unit 13 including a keyboard and a mouse, a display 14, a PC card controller 100 for a PC card compliant with PCMCIA, and the PC card In addition to the first control program (see FIG. 10) and the second control program (see FIG. 12) for the control device 100, a hard disk (denoted as HD in the figure) 15 in which various application programs and data are stored. Are connected via the PCI bus 50.

PCカード制御装置100には、上記PCカード制御装置100の制御プログラムの実行により登録された拡張カードの識別情報及びカード情報を記憶しているフラッシュROM200が接続されている。図1では、フラッシュROM200は、外付けになっているが、PCカード制御装置100に内蔵しても良い。   Connected to the PC card control device 100 is a flash ROM 200 that stores the identification information and card information of the expansion card registered by executing the control program of the PC card control device 100. In FIG. 1, the flash ROM 200 is externally attached, but may be built in the PC card control device 100.

CPU10は、コンピュータシステム1の立ち上げ時に、ROM11内に記憶しているOSのプログラムをRAM12に読み出して実行すると共に、PCカード制御装置100を含む各部の初期化を行う。   When the computer system 1 is started up, the CPU 10 reads out and executes an OS program stored in the ROM 11 to the RAM 12 and initializes each unit including the PC card control device 100.

また、フラッシュROM・I/F150は、コンピュータシステム1の電源の投入に伴い、フラッシュROM200に格納してある拡張カードを識別するための識別情報、及び、駆動電圧やバスのビット幅といった当該拡張カードの種類を特定するカード情報を拡張カードレジスタ182に書き込む。   The flash ROM I / F 150 also includes identification information for identifying an expansion card stored in the flash ROM 200 and the expansion card such as a drive voltage and a bus bit width when the computer system 1 is turned on. The card information for specifying the type is written into the expansion card register 182.

PCカード制御装置100は、PCMCIAに準拠したPCカード250だけでなく、アダプタ300を介してコネクタ190に接続されるスマートカード310を認識する(図2の(a)及び(b)を参照)ことができる。   The PC card control apparatus 100 recognizes not only the PC card 250 conforming to PCMCIA but also the smart card 310 connected to the connector 190 via the adapter 300 (see (a) and (b) of FIG. 2). Can do.

PCカード制御装置100は、大きく分けて、コネクタ190に接続されたカードの種類を識別するPCカード識別部160と、当該PCカード識別部160における識別結果に基づいて、コネクタ190に接続されたカードとPCMCIAに準拠した形式で信号のやり取りを行うように回線を確立する信号変換部105とで構成される。   The PC card control device 100 is roughly divided into a PC card identification unit 160 that identifies the type of card connected to the connector 190, and a card connected to the connector 190 based on the identification result in the PC card identification unit 160. And a signal conversion unit 105 that establishes a line so as to exchange signals in a format compliant with PCMCIA.

信号変換部105を構成する各部の働きは以下の通りである。PCIインターフェース110は、PCIバス50とPCカード制御装置100の内部バス(詳細は図示せず)とを接続する。PCMCIAコントローラ120は、セレクタ140を介して、図2の(a)に示すようにコネクタ190に接続されたPCカード250とのデータのやり取りを行う。スマートカードコントローラ130は、拡張カードとして、図2の(b)に示すようにアダプタ300を介してスマートカード310が接続された場合にPCMCIAコントローラ120とスマートカード310との間でデータのやり取りを行う。セレクタ140は、PCMCIAコントローラ120が出力する1ビットのセレクト信号SELの値に基づいてPCMCIAコントローラ120とコネクタ190を接続し、又は、PCMCIAコントローラ120をスマートカードコントローラ130を介してコネクタ190に接続する。   The function of each part constituting the signal conversion unit 105 is as follows. The PCI interface 110 connects the PCI bus 50 and an internal bus (not shown in detail) of the PC card control device 100. The PCMCIA controller 120 exchanges data with the PC card 250 connected to the connector 190 via the selector 140 as shown in FIG. As an expansion card, the smart card controller 130 exchanges data between the PCMCIA controller 120 and the smart card 310 when the smart card 310 is connected via the adapter 300 as shown in FIG. . The selector 140 connects the PCMCIA controller 120 and the connector 190 based on the value of the 1-bit select signal SEL output from the PCMCIA controller 120, or connects the PCMCIA controller 120 to the connector 190 via the smart card controller 130.

フラッシュROM・I/F150は、上述したように、PCカード制御装置100を含むコンピュータシステム1の起動時に、フラッシュROM200から拡張カードであるスマートカード310の識別情報(第1レジスタ(4ビットデータ)及び第2レジスタ(4ビットデータ))、及び、カードの種類(6ビットデータ)についての情報を読み出し、PCカード識別部160内の拡張カードレジスタ182に書き込む。   As described above, the flash ROM • I / F 150 receives the identification information (the first register (4-bit data) and the identification information of the smart card 310 that is the expansion card from the flash ROM 200 when the computer system 1 including the PC card control device 100 is started. Information on the second register (4-bit data)) and the card type (6-bit data) is read and written into the expansion card register 182 in the PC card identification unit 160.

PCカード識別部160は、コネクタ190に差し込まれたカードがPCMCIAにおいて規定される12種類のPCカード、及び、新規に登録された拡張カードの内、何れのカードであるのかを識別し、識別結果をPCMCIAコントローラ120に出力すると共に、当該結果に基づいて特定されるカードの種類(駆動電圧及びバスのビット幅等)を特定する6ビットのカード情報をPCMCIAコントローラ120に出力する。なお、PCカード識別部160の構成及び動作については後に詳しく説明する。   The PC card identification unit 160 identifies which of the 12 types of PC cards specified in PCMCIA and the newly registered expansion card the card inserted into the connector 190 is, and the identification result Is output to the PCMCIA controller 120, and 6-bit card information specifying the type of card (such as drive voltage and bus bit width) specified based on the result is output to the PCMCIA controller 120. The configuration and operation of the PC card identification unit 160 will be described in detail later.

図3の(a)は、PCMCIAに準拠するPCカード250をコネクタ190に差し込んだ状態を示す図であり、図4の(a)は、拡張カードとしてスマートカード310をアダプタ300を介してコネクタ190に差し込んだ状態を示す図である。PCカード250及びアダプタ300が短辺側の側面に備えるメス型のコネクタには、PCカード制御装置100のオス型のコネクタ190が備える第1及び第2のカード検出信号(PCMCIAにおいてCD1#及びCD2#と定義されており、以下、単にCD1#及びCD2#という)の流れるピンを受け入れる第1接続穴251及び第2接続穴252、並びに、第1及び第2の電圧選択信号(PCMCIAにおいてVS1#及びVS2#と定義されており、以下、単にVS1#及びVS2#という)の流れるピンを受け入れる第3接続穴253及び第4接続穴254が用意されている。   3A is a diagram showing a state in which a PC card 250 conforming to PCMCIA is inserted into the connector 190, and FIG. 4A is a diagram illustrating a state in which the smart card 310 is connected to the connector 190 via the adapter 300 as an expansion card. It is a figure which shows the state inserted in. The female connector provided on the side of the short side of the PC card 250 and the adapter 300 includes the first and second card detection signals (CD1 # and CD2 in the PCMCIA) provided in the male connector 190 of the PC card control device 100. The first connection hole 251 and the second connection hole 252 that accept pins through which CD1 # and CD2 # flow, and the first and second voltage selection signals (VS1 # in PCMCIA) are defined below. VS2 # and VS2 #, and hereinafter, a third connection hole 253 and a fourth connection hole 254 for receiving pins through which VS1 # and VS2 # flow are prepared.

なお、PCカード250及びアダプタ300には、実際には、図2の(a)及び(b)に示すように、コネクタ190が備える多くのピンを受け入れる接続穴が設けられているが、図3の(a)及び図4の(a)では、PCカード制御装置100、PCカード250及びアダプタ300の内部の配線を解りやすく示すため、上記第1接続穴251〜第4接続穴254とこれらに接続される配線のみを示す。   The PC card 250 and the adapter 300 are actually provided with connection holes for receiving many pins provided in the connector 190 as shown in FIGS. 2A and 2B. 4 (a) and FIG. 4 (a), in order to show the internal wiring of the PC card control device 100, the PC card 250, and the adapter 300 in an easy-to-understand manner, Only the wiring to be connected is shown.

PCカード250及びアダプタ300の内部において、上記第1接続穴251及び第2接続穴252に接続される配線は、接地されているか、または、上記第3接続穴253及び第4接続穴254の少なくとも一方に接続されている。また、PCカード制御装置100が備えるオス型コネクタ190のピンの内、上記第1接続穴251及び第2接続穴252に挿入するピンの電位は、共にPCカード制御装置100側に備えるプルアップ回路C1及びC2によりHighレベルにプルアップされている。PCカード制御装置100にPCカード250又はアダプタ300が接続されると、CD1#及びCD2#の電位がLowレベルに低下する。PCカード識別部160は、このCD1#及びCD2#の電位変化からPCカード250又はアダプタ300の接続を検知してカードの識別処理を行うと共に、カードが接続されたことを表すカード検出信号をPCMCIAコントローラ120、PCIインターフェース110及びPCIバス50を介してCPU10に出力する。   Inside the PC card 250 and the adapter 300, the wiring connected to the first connection hole 251 and the second connection hole 252 is grounded, or at least of the third connection hole 253 and the fourth connection hole 254. Connected to one side. In addition, among the pins of the male connector 190 provided in the PC card control device 100, the potentials of the pins inserted into the first connection hole 251 and the second connection hole 252 are both pull-up circuits provided on the PC card control device 100 side. Pulled up to High level by C1 and C2. When the PC card 250 or the adapter 300 is connected to the PC card control apparatus 100, the potentials of CD1 # and CD2 # are lowered to the low level. The PC card identification unit 160 detects the connection of the PC card 250 or the adapter 300 from the potential changes of the CD1 # and CD2 #, performs card identification processing, and sends a card detection signal indicating that the card is connected to the PCMCIA. The data is output to the CPU 10 via the controller 120, the PCI interface 110 and the PCI bus 50.

PCカード識別部160は、CD1#及びCD2#のLowレベルへの切り換りによりコネクタ190へのPCカード250又はアダプタ300の接続の検知に応じて、VS1#の電位をHighレベルにした時のCD2#,CD1#,VS2#及びVS1#の状態、並びに、VS2#の電位をHighレベルにした時のCD2#,CD1#,VS2#及びVS1#の状態を検出し、これらの信号の状態を表す4ビット+4ビットの合計8ビットデータ(識別情報)と、図5に示すPCMCIAに準拠したカードテーブル183に定義されているNo.1〜No.12までの12枚種類のPCカードについての8ビットデータ(識別情報)及び拡張カードレジスタ182に格納されている8ビットデータ(識別情報)とを比較して該当するカードの種類を特定する。   When the PC card identification unit 160 switches the CD1 # and CD2 # to the low level and detects the connection of the PC card 250 or the adapter 300 to the connector 190, the PC card identification unit 160 changes the potential of the VS1 # to the high level. The state of CD2 #, CD1 #, VS2 # and VS1 #, and the state of CD2 #, CD1 #, VS2 # and VS1 # when the potential of VS2 # is set to the high level are detected, and the state of these signals is determined. 4 bits + 4 bits in total representing 8 bits data (identification information) and No. defined in the card table 183 conforming to PCMCIA shown in FIG. 1-No. The 8-bit data (identification information) for the 12 types of PC cards up to 12 is compared with the 8-bit data (identification information) stored in the expansion card register 182 to identify the type of the corresponding card.

図3の(b)は、PCカード制御装置100にPCカード250を接続した場合のCD2#,CD1#,VS2#及びCS1#の状態を示すタイムチャートであり、図4の(b)は、PCカード制御装置100にアダプタ300を介してスマートカード310を接続した場合のCD2#,CD1#,VS2#及びVS1#の状態を示すタイムチャートである。   FIG. 3B is a time chart showing the states of CD2 #, CD1 #, VS2 #, and CS1 # when the PC card 250 is connected to the PC card control device 100. FIG. 4 is a time chart showing the states of CD2 #, CD1 #, VS2 #, and VS1 # when a smart card 310 is connected to the PC card control apparatus 100 via an adapter 300.

図示するように、PCカード制御装置100にPCカード250又はアダプタ300を接続すると、CD1#及びCD2#のレベルがLowレベルに切り換る。PCカード制御装置100のPCカード識別部160は、このCD1#及びCD2#のレベルの変化からPCカード250又はアダプタ300の装着を検知してVS1#の電位を約1msの期間、Highレベルにする。PCカード識別部160が備える第1レジスタ180(図1を参照)は、VS1#の電位をHighレベルにしてから約0.8ms後のタイミングでCD2#,CD1#,VS2#及びVS1#の状態をラッチする。   As shown in the figure, when the PC card 250 or the adapter 300 is connected to the PC card control apparatus 100, the levels of CD1 # and CD2 # are switched to the Low level. The PC card identification unit 160 of the PC card control apparatus 100 detects the insertion of the PC card 250 or the adapter 300 from the change in the levels of CD1 # and CD2 #, and sets the potential of VS1 # to the high level for a period of about 1 ms. . The first register 180 (see FIG. 1) included in the PC card identification unit 160 is in a state of CD2 #, CD1 #, VS2 #, and VS1 # at a timing about 0.8 ms after the potential of VS1 # is set to the high level. Latch.

次に、PCカード識別部160は、VS2#の電位を約1msの期間、Highレベルにする。PCカード識別部160が備える第2レジスタ181(図1を参照)は、VS2#の電位をHighレベルにしてから約0.8ms後のタイミングでCD2#,CD1#,VS2#及びVS1#の状態をラッチする。   Next, the PC card identification unit 160 sets the potential of VS2 # to the high level for a period of about 1 ms. The second register 181 (see FIG. 1) included in the PC card identification unit 160 is in the state of CD2 #, CD1 #, VS2 #, and VS1 # at a timing about 0.8 ms after the potential of VS2 # is set to the high level. Latch.

図3の(a)に示すPCカード250の場合、第1レジスタ180には、“0000”がラッチされ、第2レジスタ181には、“1010”がラッチされる。以下に説明するように、PCカード識別部160は、図5に示すカードテーブル183(図1にも図示してある)を参照して、当該PCカード250がカードバスであって、3.3V又はX.XVで駆動されるNo.7のカードに該当することを認識する。なお、上記カードバスであって、3.3V又はX.XVで駆動されるといったカードの種類についての情報は、カードテーブルに予め用意されている6ビットのデータで定義される。この6ビットデータは、上位ビットから順に、16ビットカードであるのか否か、32ビットカードであるのか否か、駆動電圧が5Vであるか否か、駆動電圧が3.3Vであるか否か、駆動電圧がX.XVであるか否か、駆動電圧がY.YVであるか否かをそれぞれ表す。PCカード識別部160は、当該No.7のカードの種類を表す6ビットのデータをカード情報として、PCIバス50を介してCPU10に出力する。   In the case of the PC card 250 shown in FIG. 3A, “0000” is latched in the first register 180, and “1010” is latched in the second register 181. As will be described below, the PC card identification unit 160 refers to the card table 183 shown in FIG. 5 (also shown in FIG. 1), and the PC card 250 is a card bus and is 3.3V. Or No. driven by X.XV. It recognizes that it corresponds to the card of 7. Note that the information about the type of card that is the card bus and is driven at 3.3V or X.XV is defined by 6-bit data prepared in advance in the card table. The 6-bit data is, in order from the upper bit, whether it is a 16-bit card, whether it is a 32-bit card, whether the drive voltage is 5V, and whether the drive voltage is 3.3V. , Represents whether or not the drive voltage is X.XV and whether or not the drive voltage is Y.YV. The PC card identification unit 160 displays the No. 7-bit data representing the type of the card 7 is output as card information to the CPU 10 via the PCI bus 50.

一方、図4の(a)に示すスマートカードアダプタ300の場合、第1レジスタ180には、“0001”がラッチされ、第2レジスタ181には、“1110”がラッチされる。当該アダプタ300は、図5に示すカードテーブル183には定義されていない。以下に説明するように、PCカード識別部160では、拡張カードレジスタ182に“0001”と“1110”を1つにまとめた8ビットデータ“0011110”を識別情報として用意すると共に、スマートカード310の種類を表す6ビットデータ(カード情報)を用意しておくことで、上記アダプタ300を認識すると共に、カードの種類を特定する6ビットデータを、カード情報としてPCIバス50を介してCPU10に出力する。   On the other hand, in the case of the smart card adapter 300 shown in FIG. 4A, “0001” is latched in the first register 180 and “1110” is latched in the second register 181. The adapter 300 is not defined in the card table 183 shown in FIG. As will be described below, the PC card identification unit 160 prepares 8-bit data “0011110”, which is a combination of “0001” and “1110”, as identification information in the expansion card register 182, as well as the smart card 310. By preparing 6-bit data (card information) representing the type, the adapter 300 is recognized and 6-bit data specifying the type of card is output to the CPU 10 as card information via the PCI bus 50. .

図6は、図5に示したカードテーブル183に示されている第1接続穴251〜第4接続穴254の接続パターン以外に考え得る接続パターン及び当該接続パターン時にVS1#及びVS2#を個々にHighレベルに切り換えた時に第1レジスタ180及び第2レジスタ181にラッチされる各4ビット、合計8ビットのデータを示す図表である。PCカード識別部160の拡張カードレジスタ182には、第1レジスタ180及び第2レジスタ181に得られる各4ビットのデータとして、図6に示す6つのパターンの内の何れか1つのデータが格納される。拡張カードレジスタ182には、さらに、当該拡張カードの種類(バスのビット幅や駆動電圧)を特定する6ビットのデータが格納される。   FIG. 6 shows possible connection patterns other than the connection patterns of the first connection hole 251 to the fourth connection hole 254 shown in the card table 183 shown in FIG. 5 and VS1 # and VS2 # individually at the connection pattern. 4 is a chart showing data of 8 bits in total, each of 4 bits latched in the first register 180 and the second register 181 when switched to a high level. The expansion card register 182 of the PC card identification unit 160 stores any one of the six patterns shown in FIG. 6 as 4-bit data obtained in the first register 180 and the second register 181. The The expansion card register 182 further stores 6-bit data for specifying the type of the expansion card (bus bit width or drive voltage).

図7は、PCカード識別部160の構成を示す図である。PCカード識別部160は、大きく分けると、コネクタ190に接続されたカードの識別情報(8ビットデータ)を第1及び第2レジスタ180,181に取得する識別情報取得部Dと、当該識別情報取得部Dにおいて取得された識別情報と、第1記録部であるカードテーブル183及び第2記録部である拡張カードレジスタ182に記録されている識別情報と比較し、比較結果を出力する比較器185と、上記比較結果に基づいてカードの種類を特定するカード情報(6ビットデータ)を検出してCPU10に出力するカード情報検出部184とで構成される。   FIG. 7 is a diagram illustrating a configuration of the PC card identification unit 160. The PC card identification unit 160 is roughly divided into an identification information acquisition unit D that acquires identification information (8-bit data) of a card connected to the connector 190 in the first and second registers 180 and 181, and the identification information acquisition. A comparator 185 that compares the identification information acquired in the section D with the identification information recorded in the card table 183 as the first recording section and the expansion card register 182 as the second recording section, and outputs a comparison result; The card information detection unit 184 detects card information (6-bit data) for specifying the card type based on the comparison result and outputs the card information to the CPU 10.

識別情報取得部D内において、CD2#の入力される端子161の電位は、電源Vcc及び抵抗162で成るプルアップ回路C2によりHighレベルにプルアップされており、CD1#の入力される端子164の電位は、電源Vcc及び抵抗165で成るプルアップ回路C1によりHighレベルにプルアップされている。端子161及び端子164に入力されるCD2#及びCD1#は、それぞれバッファ回路163及び166を介して2入力ORゲート167に入力される。   In the identification information acquisition unit D, the potential of the terminal 161 to which CD2 # is input is pulled up to a high level by the pull-up circuit C2 including the power source Vcc and the resistor 162, and the potential of the terminal 164 to which CD1 # is input. The potential is pulled up to a high level by a pull-up circuit C1 including a power source Vcc and a resistor 165. CD2 # and CD1 # input to the terminals 161 and 164 are input to the 2-input OR gate 167 via the buffer circuits 163 and 166, respectively.

ORゲート167の出力は、D−F/F(ディレイ型フリップフロップ)168に入力されている。D−F/F168の出力は、次段のD−F/F169に入力されている。当該D−F/F169の反転出力端子、D−F/F168の出力、及び、以下に説明するタイマー171の始動と共にHighレベルに切り換るTIM信号線が、3入力のORゲート170の各信号入力端子に接続されている。ORゲート170の出力端子は、タイマー171のスタート信号ST#の入力端子に接続されている。後に説明するようにコネクタ190にPCカード250又はスマートカード310を装着したアダプタ300が挿入されてCD1#及びCD2#の電位がHighレベルからLowレベルに切り換ると、ORゲート170は、一時的にLowレベルの信号をスタート信号ST#として出力する。なお、当該スタート信号は、カード検出信号としてCPU10にも出力される。   The output of the OR gate 167 is input to a DF / F (delay type flip-flop) 168. The output of the DF / F 168 is input to the DF / F 169 of the next stage. The inverted output terminal of the DF / F 169, the output of the DF / F 168, and the TIM signal line that switches to the high level when the timer 171 described below is started are the signals of the 3-input OR gate 170. Connected to the input terminal. The output terminal of the OR gate 170 is connected to the input terminal of the start signal ST # of the timer 171. As described later, when the adapter 300 with the PC card 250 or the smart card 310 is inserted into the connector 190 and the potentials of the CD1 # and CD2 # are switched from the high level to the low level, the OR gate 170 is temporarily A low level signal is output as a start signal ST #. The start signal is also output to the CPU 10 as a card detection signal.

タイマー171は、上記Lowレベルのスタート信号ST#を受けることで始動し、後に説明するタイミングで所定のレベルの信号T1,T2,L1#,L2#を出力する。   The timer 171 starts upon receiving the low level start signal ST #, and outputs signals T1, T2, L1 #, and L2 # of predetermined levels at a timing described later.

VS2#の入力される端子172は、抵抗173を介して電源Vccに接続されると共に、半導体スイッチであるPチャンネル型のMOSFET175、及びバッファ回路174に接続される。MOSFET175のゲートには、タイマー171の出力するT2信号が入力されている。   A terminal 172 to which VS2 # is input is connected to a power supply Vcc through a resistor 173, and is also connected to a P-channel type MOSFET 175 and a buffer circuit 174 which are semiconductor switches. The T2 signal output from the timer 171 is input to the gate of the MOSFET 175.

同様に、VS1#の入力される端子176は、抵抗177を介して電源Vccに接続されると共に、半導体スイッチであるPチャンネル型のMOSFET179、及び、バッファ回路178に接続されている。MOSFET179のゲートには、タイマー171の出力する信号T1が入力されている。   Similarly, a terminal 176 to which VS1 # is input is connected to a power supply Vcc via a resistor 177, and is connected to a P-channel type MOSFET 179 and a buffer circuit 178 which are semiconductor switches. A signal T 1 output from the timer 171 is input to the gate of the MOSFET 179.

バッファ回路163,166,174及び178から出力される4つの信号CD2#,CD1#,VS2#及びVS1#は、第1レジスタ180及び第2レジスタ181にそれぞれ入力される。第1レジスタ180のラッチ端子180aには、タイマー171の出力する信号L1#が入力される。第1レジスタ180では、Lowレベルの信号L1#の入力に応じてCD2#,CD1#,VS2#及びVS1#の状態を記録する。第2レジスタ181のラッチ端子181aには、タイマー171の出力する信号L2#が入力される。第2レジスタ181では、Lowレベルの信号L2#の入力に応じてCD2#,CD1#,VS2#及びVS1#の状態を記録する。   The four signals CD2 #, CD1 #, VS2 #, and VS1 # output from the buffer circuits 163, 166, 174, and 178 are input to the first register 180 and the second register 181, respectively. The signal L1 # output from the timer 171 is input to the latch terminal 180a of the first register 180. The first register 180 records the states of CD2 #, CD1 #, VS2 #, and VS1 # according to the input of the low level signal L1 #. The signal L2 # output from the timer 171 is input to the latch terminal 181a of the second register 181. The second register 181 records the states of CD2 #, CD1 #, VS2 #, and VS1 # in response to the input of the low level signal L2 #.

図8は、CD1#,CD2#,タイマー171に入力される信号ST#、及び、タイマー171が出力する信号T1,T2,L1#,L2#を示すタイムチャートである。タイマー171は、CD1#及びCD2#の電位がHighレベルからLowレベルに下がり、ORゲート170からLowレベルのスタート信号ST#が入力された時に始動する。   FIG. 8 is a time chart showing CD1 #, CD2 #, signal ST # input to timer 171 and signals T1, T2, L1 #, L2 # output from timer 171. The timer 171 starts when the potential of CD1 # and CD2 # falls from the High level to the Low level and the Low level start signal ST # is input from the OR gate 170.

タイマー171の始動に伴い信号TIMがHighレベルに切り換る。これによりORゲート170の出力する信号ST#がHighレベルに切り換る。タイマー171は、まず、信号T1をHighレベルに切り換える。これにより半導体スイッチ179がオフに切り換り、VS1#にHighレベルの信号が出力される。約0.8ms後、タイマー171は、Lowパルスの信号L1#を出力し、バッファ回路163,166,174,178の出力する信号の状態を第1レジスタ180に記憶させる。この後、タイマー171は、信号T1の代わりにT2をHighレベルに切り換える。これにより、半導体スイッチ175がオフに切り換り、VS2#にHighレベルの信号が出力される。約0.8ms後、タイマー171は、Lowパルスの信号L2#を出力し、バッファ回路163,166,173,178の出力する信号の状態を第2レジスタ181に記憶させる。   As the timer 171 starts, the signal TIM switches to a high level. As a result, the signal ST # output from the OR gate 170 is switched to the high level. The timer 171 first switches the signal T1 to High level. As a result, the semiconductor switch 179 is turned off, and a high level signal is output to VS1 #. After about 0.8 ms, the timer 171 outputs a low pulse signal L1 #, and stores the state of the signal output from the buffer circuits 163, 166, 174, and 178 in the first register 180. Thereafter, the timer 171 switches T2 to High level instead of the signal T1. As a result, the semiconductor switch 175 is turned off, and a high level signal is output to VS2 #. After about 0.8 ms, the timer 171 outputs a Low pulse signal L2 #, and stores the state of the signal output from the buffer circuits 163, 166, 173, and 178 in the second register 181.

なお、VS1#及びVS2#にHighレベルの信号を出力しても、コネクタ190に挿入されたPCカード250又はスマートカード310を装着したアダプタ300内でVS1#及びVS2#が接地されている場合には、VS1#及びVS2#の見かけ上の電位状態はLowになる。   Even when a high level signal is output to VS1 # and VS2 #, when VS1 # and VS2 # are grounded in the adapter 300 to which the PC card 250 or smart card 310 inserted into the connector 190 is attached. The apparent potential state of VS1 # and VS2 # is Low.

以上に説明するタイミングでタイマー171が所定レベルの信号を出力することでレジスタ180及び181にそれぞれCD2#,CD1#,VS2#及びVS1#の電位状態が格納される。   When the timer 171 outputs a signal of a predetermined level at the timing described above, the potential states of CD2 #, CD1 #, VS2 #, and VS1 # are stored in the registers 180 and 181, respectively.

ここで、再び図7を参照する。拡張カードレジスタ182には、拡張カードとしてスマートカード310を装着したアダプタ300の接続時に特定される第1レジスタ180及び第2レジスタ181の値を示す8ビットデータ(識別情報)と、当該カードの種類(バスのビット幅や駆動電圧)を特定する6ビットのデータ(カード情報)が格納されている。拡張カードレジスタ182は、上記8ビットのデータ(識別情報)を比較器185に出力すると共に、上記種類を特定する6ビットのデータ(カード情報)をカード情報検出部184に出力する。   Here, FIG. 7 will be referred to again. The expansion card register 182 includes 8-bit data (identification information) indicating the values of the first register 180 and the second register 181 specified when the adapter 300 in which the smart card 310 is mounted as an expansion card is connected, and the type of the card 6-bit data (card information) for specifying (the bus bit width and drive voltage) is stored. The expansion card register 182 outputs the 8-bit data (identification information) to the comparator 185, and outputs 6-bit data (card information) specifying the type to the card information detection unit 184.

また、カードテーブル183には、図5に示したカードテーブル183に定義されている合計12種類のカードについての第1レジスタ180及び第2レジスタ181の値を示す8ビットデータ(識別情報)、並びに、カードの種類を特定する6ビットデータ(カード情報)が格納されている。カードテーブル183は、上記12枚分のPCカードの8ビットデータを比較器185にパラレル出力すると共に、上記12枚分のPCカードの6ビットデータをカード情報検出部184に出力する。   The card table 183 includes 8-bit data (identification information) indicating the values of the first register 180 and the second register 181 for a total of 12 types of cards defined in the card table 183 shown in FIG. 6-bit data (card information) for specifying the card type is stored. The card table 183 outputs 8-bit data of the 12 PC cards in parallel to the comparator 185 and outputs 6-bit data of the 12 PC cards to the card information detection unit 184.

比較器185は、第1レジスタ180及び第2レジスタ181に格納された4ビット+4ビットの合計8ビットデータと、拡張カードレジスタ182及びカードテーブル183からパラレルに出力される合計13枚分のカードの8ビットデータとの比較を行い、各カード毎に一致の場合がHighレベルで不一致の場合がLowレベルの1ビットの合計13ビット分の比較結果信号を出力する。当該比較結果信号は、PCMCIAコントローラ120(図1を参照)に出力されると共に、カード情報検出部184に出力される。   The comparator 185 includes a total of 8-bit data of 4 bits + 4 bits stored in the first register 180 and the second register 181 and a total of 13 cards output in parallel from the expansion card register 182 and the card table 183. Comparison is made with 8-bit data, and a comparison result signal for a total of 13 bits of 1 bit at the Low level is output when the card matches for each card. The comparison result signal is output to the PCMCIA controller 120 (see FIG. 1) and also to the card information detection unit 184.

カード情報検出部184は、セレクタ184a及び6ビット分のレジスタ184bで構成されている。セレクタ184aには、拡張カードレジスタ182に1枚分、及び、カードテーブル183に12枚分が格納されている合計13枚分のカードの種類(バスのビット幅や対応する駆動電圧)を表す6ビットデータがパラレルに入力される。そして、比較器185から出力される比較結果信号がHighレベルのカードについて、当該カードの種類を表す6ビットデータをレジスタ184bに出力する。レジスタ184bのラッチ端子には、タイマー171から信号TIMを反転した信号が入力されている。レジスタ184bは、タイマー171がパルス状の信号L2#を出力し、第2レジスタ181にCD2#,CD1#,VS2#及びVS1#が格納された後、信号TIMがLowレベルに切り換ると同時にセレクタ184aから出力される6ビットのデータをラッチする。   The card information detection unit 184 includes a selector 184a and a 6-bit register 184b. The selector 184a indicates the type of cards (bus bit width and corresponding driving voltage) for a total of 13 cards, one for the expansion card register 182 and 12 for the card table 183. Bit data is input in parallel. Then, for a card whose comparison result signal output from the comparator 185 is at a high level, 6-bit data representing the type of the card is output to the register 184b. A signal obtained by inverting the signal TIM is input from the timer 171 to the latch terminal of the register 184b. In the register 184b, after the timer 171 outputs the pulsed signal L2 # and the CD2 #, CD1 #, VS2 #, and VS1 # are stored in the second register 181, the signal TIM is switched to the low level at the same time. The 6-bit data output from the selector 184a is latched.

なお、レジスタ184bにラッチされた6ビットデータは、上位ビットから順に、16ビットカードであるのか否か、32ビットカードであるのか否か、駆動電圧が5Vであるか否か、駆動電圧が3.3Vであるか否か、駆動電圧がX.XVであるか否か、駆動電圧がY.YVであるか否かをそれぞれ表す。該当する場合には”1”、該当しない場合には”0”に設定される。   The 6-bit data latched in the register 184b is, in order from the upper bit, whether it is a 16-bit card, whether it is a 32-bit card, whether the drive voltage is 5V, and whether the drive voltage is 3 .3V, whether the drive voltage is X.XV, and whether the drive voltage is Y.YV. “1” is set if applicable, and “0” is set if not applicable.

レジスタ184bは、ラッチした6ビットデータを3ステートバッファ191に出力する。3ステートバッファ191は、CPU10からのLowレベルのカード情報要求信号に応じて、上記6ビットデータをコネクタ190に接続されたカードの種類を表すデータとして、PCMCIAコントローラ120、PCIインターフェース110、及び、PCIバス50を介してCPU10に出力する。CPU10は、受け取ったカードの種類についての情報に基づいて、コネクタ190に接続されたカードとのデータのやり取りを行う。   The register 184b outputs the latched 6-bit data to the 3-state buffer 191. The 3-state buffer 191 uses the PCMCIA controller 120, the PCI interface 110, and the PCI as the data representing the type of the card connected to the connector 190 in response to the Low level card information request signal from the CPU 10. The data is output to the CPU 10 via the bus 50. The CPU 10 exchanges data with the card connected to the connector 190 based on the received information about the card type.

図9は、PCMCIAコントローラ120の一部の構成を示す図である。図示するように、PCカード識別部160から入力される比較結果の内、レジスタ180,181に格納された各4ビット合計8ビットのデータと拡張カードレジスタ182に格納されている8ビットデータとの比較結果を2個のCMOSインバータを直列に接続して成るバッファ回路121を介して出力する。即ち、第1レジスタ180及び第2レジスタ181に格納された8ビットデータと拡張カードレジスタ182に格納されている8ビットデータとが一致した場合には、Highレベルの信号がセレクト信号SELとして出力される。他方、不一致の場合には、Lowレベルの信号がセレクト信号SELとして出力される。   FIG. 9 is a diagram illustrating a partial configuration of the PCMCIA controller 120. As shown in the figure, among the comparison results input from the PC card identification unit 160, the total of 8 bits of data stored in the registers 180 and 181 and 8 bits of data stored in the expansion card register 182 The comparison result is output through a buffer circuit 121 formed by connecting two CMOS inverters in series. That is, when the 8-bit data stored in the first register 180 and the second register 181 matches the 8-bit data stored in the expansion card register 182, a high level signal is output as the select signal SEL. The On the other hand, if they do not match, a low level signal is output as the select signal SEL.

ここで、再び図1を参照する。PCMCIAコントローラ120からHighレベルのセレクト信号SELを受けたセレクタ140は、接続されたカードがスマートカードであると判断してスマートカードコントローラ130とコネクタ190とを接続する。PCMCIAコントローラ120は、上記スマートカードコントローラ130を介することで、スマートカード310を認識することができる。   Here, FIG. 1 will be referred to again. Upon receiving the high level select signal SEL from the PCMCIA controller 120, the selector 140 determines that the connected card is a smart card and connects the smart card controller 130 and the connector 190. The PCMCIA controller 120 can recognize the smart card 310 via the smart card controller 130.

また、セレクタ140は、PCMCIAコントローラ120からLowレベルのセレクト信号SELを受けた場合、接続されたカードがPCカードであると判断し、PCMCIAコントローラ120とコネクタ190を直接接続する。   When the selector 140 receives a low level select signal SEL from the PCMCIA controller 120, the selector 140 determines that the connected card is a PC card, and directly connects the PCMCIA controller 120 and the connector 190.

図10は、CPU10の実行するPCカード制御装置100の第1制御プログラムのフローチャートである。まず、所定の操作部13の操作によりディスプレイ14に図11の(a)に示すPCカードの制御画面400を表示する(ステップS1)。制御画面に表示される新規カード設定ボタン401が、テンキー及びマウスで成る操作部13の操作によってユーザにより選択された場合(ステップS2でYES)、ディスプレイ14に図11の(b)に示す入力画面410を表示する(ステップS3)。   FIG. 10 is a flowchart of the first control program of the PC card control device 100 executed by the CPU 10. First, the PC card control screen 400 shown in FIG. 11A is displayed on the display 14 by operating the predetermined operation unit 13 (step S1). When the new card setting button 401 displayed on the control screen is selected by the user by operating the operation unit 13 including a numeric keypad and a mouse (YES in step S2), the input screen shown in FIG. 410 is displayed (step S3).

ここで、ユーザは、図6に示した表の中から、未使用の第1レジスタ及び第2レジスタのデータの組合せを選択し、選択したデータを第1レジスタの4ビットデータの入力ボックス411、及び、第2レジスタの4ビットデータのボックス412に入力し、さらに、カードの種類を特定する6ビットのデータ(カード情報)の入力ボックス413にそれぞれ必要なデータを入力した後に、完了ボタン414を選択する。なお、上記カードの種類を特定する6ビットのデータは、上位ビットから順に、当該拡張カードが16ビットカードであるのか否か、32ビットカードであるのか否か、駆動電圧が5Vであるか否か、駆動電圧が3.3Vであるか否か、駆動電圧がX.XVであるか否か、駆動電圧がY.YVであるか否かを表し、それぞれ該当する場合に“1”に設定される。   Here, the user selects an unused combination of data in the first register and the second register from the table shown in FIG. 6, and selects the selected data in the 4-bit data input box 411 in the first register. Then, after inputting necessary data into the input box 413 of 6-bit data (card information) for specifying the card type, the completion button 414 is clicked. select. Note that the 6-bit data specifying the type of the card is, in order from the highest bit, whether the expansion card is a 16-bit card, whether it is a 32-bit card, and whether the drive voltage is 5V. It represents whether the drive voltage is 3.3V, whether the drive voltage is X.XV, and whether the drive voltage is Y.YV, and is set to “1” when applicable. Is done.

CPU10は、ユーザによる操作部13の操作により完了ボタン414が選択されると(ステップS4でYES)、PCIバス50、PCカード制御装置100内のPCIインターフェース110、フラッシュROM・I/F150を介してフラッシュROM200内に上記3つの入力ボックス411、412、413に入力された4ビット+4ビット+6ビットの合計14ビットのデータを書き込む(ステップS5)。なお、既に14ビットのデータが書き込まれている場合には、今回入力された14ビットのデータに更新する。また、新規カード設定ボタン401の選択が検出されなかった場合には(ステップS2でNO)、上記ステップS3〜S5の処理はスキップする。その他の処理を実行した後に(ステップS6)、ステップS1に戻る。   When the completion button 414 is selected by the operation of the operation unit 13 by the user (YES in step S4), the CPU 10 via the PCI bus 50, the PCI interface 110 in the PC card control device 100, and the flash ROM / I / F 150. A total of 14 bits of data of 4 bits + 4 bits + 6 bits input to the three input boxes 411, 412, 413 are written in the flash ROM 200 (step S5). If 14-bit data has already been written, the 14-bit data input this time is updated. If selection of the new card setting button 401 is not detected (NO in step S2), the processes in steps S3 to S5 are skipped. After performing other processing (step S6), the process returns to step S1.

図12は、CPUが電源投入御から常時実行する第2制御プログラムのフローチャートである。PCカード制御装置100のカード識別部160からカード検知信号が送られてきた場合(ステップS7でYES)、上記カード識別部のカード情報検出部184にカード情報要求信号を出力する(ステップS8)。上記カード情報要求信号に応じてカード情報検出部184から出力されるカード情報からカードの種類を認識し(ステップS9)、必要なその他の処理を行う(ステップS10)。カード検出信号が送られてきていない場合には(ステップS7でNO)カード検出信号が送られてくるまでステップS7で待機する。   FIG. 12 is a flowchart of the second control program that the CPU always executes after the power is turned on. When a card detection signal is sent from the card identification unit 160 of the PC card control device 100 (YES in step S7), a card information request signal is output to the card information detection unit 184 of the card identification unit (step S8). The card type is recognized from the card information output from the card information detection unit 184 in response to the card information request signal (step S9), and other necessary processing is performed (step S10). If a card detection signal has not been sent (NO in step S7), the process waits in step S7 until a card detection signal is sent.

上記構成のPCカード制御装置100をPCIバス50に接続して用意すると共に、上記PCカードの制御プログラムを実行することで、図5に示したカードテーブル183に定義される12枚のPCカード以外の新たな種類の拡張カードをCPU10に認識させることができる。   The PC card control device 100 having the above configuration is prepared by connecting to the PCI bus 50, and by executing the PC card control program, other than the 12 PC cards defined in the card table 183 shown in FIG. The new type of expansion card can be recognized by the CPU 10.

(2)変形例.
以下、実施の形態1に係るPCカード制御装置100が備えるPCカード識別部160の変形例であるPCカード識別部160aについて説明する。
図13は、PCカード識別部160aの構成を示す図である。図中、PCカード識別部160と同じ構成物には同じ参照番号を付して表し、ここでの重複した説明は省く。PCカード識別部160が全てハードウェア回路で実現されるのに対し、PCカード識別部160aは、ソフトウェア処理によりPCカード及び拡張カードの検出を行うことを特徴とする。より具体的には、PCカード識別部160aでは、PCカード識別部160においてCD1#及びCD2#の電位の低下に基づくコネクタ190へのカードの接続の検知、カード検出信号のCPU10への出力、タイマー171、比較器185、及び、カード情報検出部184の実行する処理を制御部186が演算処理により行うことを特徴とする。この結果、PCカード識別部160aは、カード情報検出部184及び比較器185を備えず、代わりに、カード情報メモリ189を備える。
(2) Modified example.
Hereinafter, a PC card identifying unit 160a that is a modification of the PC card identifying unit 160 included in the PC card control apparatus 100 according to Embodiment 1 will be described.
FIG. 13 is a diagram illustrating a configuration of the PC card identification unit 160a. In the figure, the same components as those of the PC card identification unit 160 are denoted by the same reference numerals, and redundant description is omitted here. The PC card identification unit 160 is entirely implemented by a hardware circuit, whereas the PC card identification unit 160a is characterized by detecting a PC card and an expansion card by software processing. More specifically, in the PC card identification unit 160a, the PC card identification unit 160 detects the connection of the card to the connector 190 based on the decrease in the potential of CD1 # and CD2 #, outputs the card detection signal to the CPU 10, and the timer. 17, the control unit 186 performs processing executed by the comparator 185 and the card information detection unit 184 by arithmetic processing. As a result, the PC card identification unit 160a does not include the card information detection unit 184 and the comparator 185, but includes a card information memory 189 instead.

図14は、制御部186が実行する演算処理のフローチャートである。バッファ163及び166から出力されるCD2#及びCD1#がLowレベルに成るのを待機し(ステップS20でNO)、Lowレベルに成った時(ステップS201でYES)、コネクタ190にカードが接続されたと判断し、カード検出信号をCPU10に送信した後(ステップS21)、以下の処理を実行する。即ち、Highレベルの信号T1をPチャンネル型MOSFET179に出力してVS1#に1msの間Highレベルの信号を出力する。当該Highレベルの信号の出力開始より約0.8ms後に第1レジスタ180のラッチ端子180aにラッチ信号L1#を出力し、この時にバッファ163,166,174,178から出力されるCD2#,CD1#,VS2#,VS1#のデータを保持させる(ステップS22)。   FIG. 14 is a flowchart of calculation processing executed by the control unit 186. Waiting for CD2 # and CD1 # output from the buffers 163 and 166 to become low level (NO in step S20), and when becoming low level (YES in step S201), the card is connected to the connector 190. After judging and transmitting the card detection signal to the CPU 10 (step S21), the following processing is executed. That is, a high level signal T1 is output to the P-channel MOSFET 179, and a high level signal is output to VS1 # for 1 ms. The latch signal L1 # is output to the latch terminal 180a of the first register 180 about 0.8 ms after the start of the output of the high level signal. At this time, the CD2 # and CD1 # output from the buffers 163, 166, 174, and 178 , VS2 #, VS1 # are held (step S22).

次に、Highレベルの信号T2をPチャンネル型MOSFET175に出力してVS2#に1msの間Highレベルの信号を出力する。当該Highレベルの信号の出力を開始してから、約0.8ms後に第2レジスタ181のラッチ端子181aにラッチ信号L2#を出力し、この時のバッファ163,166,174,178から出力されるCD2#,CD1#,VS2#,VS1#のデータを保持させる(ステップS23)。   Next, a high-level signal T2 is output to the P-channel MOSFET 175, and a high-level signal is output to VS2 # for 1 ms. The latch signal L2 # is output to the latch terminal 181a of the second register 181 approximately 0.8 ms after the start of the output of the High level signal, and is output from the buffers 163, 166, 174, and 178 at this time. Data of CD2 #, CD1 #, VS2 #, VS1 # is held (step S23).

第1レジスタ180及び第2レジスタ181に保持された合計8ビットのデータと、拡張カードレジスタ182に記憶されている1枚分の8ビットデータとカードテーブル183に記憶されている12枚分の8ビットデータとを比較する(ステップS24)。合計で13枚分のデータとの比較結果をPCMCIAコントローラ120に出力する(ステップS25)。さらに、一致したカードについての情報(6ビットデータ)をカード情報メモリ189から読み出して特定し(ステップS26)、CPU10からカード情報要求信号を待機する(ステップS27でNO)。カード情報要求信号を受けた場合(ステップS27でYES)、上記ステップS26において特定したカード情報をCPU10に出力し(ステップS28)、処理を終了する。   A total of 8 bits of data held in the first register 180 and the second register 181, 8 bits of data stored in the expansion card register 182, and 8 of 12 sheets stored in the card table 183. The bit data is compared (step S24). The comparison result with the data for 13 sheets in total is output to the PCMCIA controller 120 (step S25). Further, information (6-bit data) about the matched card is read from the card information memory 189 and specified (step S26), and a card information request signal is waited from the CPU 10 (NO in step S27). If a card information request signal is received (YES in step S27), the card information specified in step S26 is output to the CPU 10 (step S28), and the process is terminated.

上記構成のPCカード識別部160aを用意することで、回路構成を簡単にすることができ、装置の小型化を図ることができる。   By preparing the PC card identification unit 160a having the above configuration, the circuit configuration can be simplified, and the apparatus can be downsized.

(3)実施の形態2.
以下、実施の形態2に係るPCカード制御装置500について説明する。実施の形態1に係るPCカード制御装置100が拡張カードを1枚しか追加できなかったのに対して、PCカード制御装置500は、拡張カードを3枚まで追加できることを特徴とする。図15は、PCカード制御装置500の構成を示す図である。図中、実施の形態1に係るPCカード制御装置100と同じ構成物には同じ参照番号を付して、重複した説明は省く。
(3) Embodiment 2.
Hereinafter, the PC card control device 500 according to the second embodiment will be described. The PC card control apparatus 100 according to the first embodiment can add only one expansion card, whereas the PC card control apparatus 500 can add up to three expansion cards. FIG. 15 is a diagram showing a configuration of the PC card control device 500. In the figure, the same components as those of the PC card control apparatus 100 according to the first embodiment are denoted by the same reference numerals, and redundant description is omitted.

より具体的には、図1に示すPCカード制御装置100と比較すれば明らかなように、信号変換部105に対応する信号変換部505において、PCMCIAコントローラ510とセレクタ550の間に第1カードコントローラ520、第2カードコントローラ530、第3カードコントローラ540を備える。ここで、第1カード〜第3カードとは、例えば、スマートメディア(株式会社東芝の登録商標)、SDカード、メモリースティック(株式会社ソニーの登録商標)のことをいう。後に説明するように、PICMCIAコントローラ510は、PCカード識別部560の比較結果に基づいて2ビットのセレクト信号SELを生成する。セレクタ550は、上記2ビットのセレクト信号に基づいてPCMCIAコントローラ510とコネクタ190を直接接続する場合、第1カードコントローラ520を介して接続する場合、第2カードコントローラを介して接続する場合、第3カードコントローラを介して接続する場合の4つの場合から1つを選択する。   More specifically, as apparent from comparison with the PC card control device 100 shown in FIG. 1, in the signal conversion unit 505 corresponding to the signal conversion unit 105, the first card controller is placed between the PCMCIA controller 510 and the selector 550. 520, a second card controller 530, and a third card controller 540. Here, the first to third cards refer to, for example, smart media (registered trademark of Toshiba Corporation), SD card, and memory stick (registered trademark of Sony Corporation). As will be described later, the PICMCIA controller 510 generates a 2-bit select signal SEL based on the comparison result of the PC card identification unit 560. The selector 550 is configured to connect the PCMCIA controller 510 and the connector 190 directly based on the 2-bit select signal, connect via the first card controller 520, connect via the second card controller, One is selected from the four cases of connection through the card controller.

PCカード識別部560は、コネクタ190に接続されたカードから上記実施の形態1のPCカード制御装置100と同様にして得られる第1及び第2レジスタの合計8ビットのデータ(識別情報)と、拡張カードレジスタ570に記憶されている3枚分のカードの8ビットデータ(識別情報)及びカードメモリ183に記憶されている12枚分のカードの8ビットデータ(識別情報)とを比較し、比較結果をPCMCIAコントローラ510に出力すると共に、該当するカードの種類を表す6ビットデータ(カード情報)を特定し、当該6ビットデータ(カード情報)をPCMCIAコントローラ510、PCIインターフェース110及びPCIバス50を介してCPU10に出力する。 The PC card identification unit 560 has a total of 8-bit data (identification information) in the first and second registers obtained from the card connected to the connector 190 in the same manner as the PC card control device 100 of the first embodiment. Compare the 8-bit data (identification information) of the three cards stored in the expansion card register 570 with the 8-bit data (identification information) of the 12 cards stored in the card memory 183, and compare The result is output to the PCMCIA controller 510, 6-bit data (card information) representing the type of the corresponding card is specified, and the 6-bit data (card information) is transmitted via the PCMCIA controller 510, the PCI interface 110, and the PCI bus 50. Output to the CPU 10.

なお、CPU10は、上述した実施の形態1の欄で説明したPCカード制御装置100の第1及び第2制御プログラム(図10及び図12を参照)と同じ内容の処理を実行する。図10に示した第1制御プログラムにおいて、本実施形態2に対応して変更する箇所は、新規の第1、第2レジスタ、カード情報レジスタの入力受付処理(ステップS3)において3枚分の拡張カードのデータを受付ける点だけである。一方、図12に示した第2制御プログラムについては、変更点はない。即ち、PCカード識別部560からカード検出信号を受け取った場合には(ステップS7でYES)、ステップS8及びS9の処理を実行し、コネクタ190に接続されたカードの種類を認識する。   The CPU 10 executes processing having the same contents as the first and second control programs (see FIGS. 10 and 12) of the PC card control apparatus 100 described in the above-described first embodiment. In the first control program shown in FIG. 10, the part to be changed corresponding to the second embodiment is the expansion of three sheets in the input acceptance process (step S3) of the new first and second registers and the card information register. It is only a point that accepts the card data. On the other hand, there is no change in the second control program shown in FIG. That is, when a card detection signal is received from the PC card identification unit 560 (YES in step S7), the processing in steps S8 and S9 is executed to recognize the type of card connected to the connector 190.

図16は、PCカード識別部560の構成を示す図である。実施の形態1のPCカード制御装置100が備えていたPCカード識別部160と同じ構成物には同じ参照番号を付して表し、重複した説明は省く。比較器590は、第1レジスタ180及び第2レジスタ181に記憶された合計8ビットのデータ(識別情報)と、拡張カードレジスタ570に記憶されている3枚分のカードの8ビットデータ(識別情報)及びカードテーブル183に記憶されている12枚分のカードの8ビットデータ(識別情報)を並列に同時に比較し、比較結果をPCMCIAコントローラ510に出力すると共に、カード情報検出部580に出力する。   FIG. 16 is a diagram illustrating a configuration of the PC card identification unit 560. The same components as those of the PC card identification unit 160 included in the PC card control device 100 of the first embodiment are denoted by the same reference numerals, and redundant description is omitted. The comparator 590 includes a total of 8 bits of data (identification information) stored in the first register 180 and the second register 181, and 8 bits of data (identification information) of three cards stored in the expansion card register 570. And the 8-bit data (identification information) of 12 cards stored in the card table 183 are simultaneously compared in parallel, and the comparison result is output to the PCMCIA controller 510 and also to the card information detection unit 580.

カード情報検出部580は、セレクタ580a及び6ビット分のレジスタ580bで構成されている。セレクタ580aには、拡張カードレジスタ570に3枚分、及び、カードテーブル183に12枚分が格納されている合計15枚分のカードの種類(バスのビット幅や対応する駆動電圧)を特定する6ビットデータ(カード情報)がパラレルに入力される。そして、比較器590から出力される比較結果信号がHighレベルのカードについて上記カードの種類を表す6ビットデータをレジスタ580bに出力する。レジスタ580bのイネーブル端子には、タイマー171から信号TIMを反転した信号が入力されている。レジスタ580bは、タイマー171がパルス状の信号L2#を出力し、第2レジスタ181にCD2#,CD1#,VS1#及びVS2#が格納された後、信号TIMがLowレベルに切り換ると同時に、セレクタ580aから出力される6ビットデータをコネクタ190に接続されたカードのカード情報として保存する。   The card information detection unit 580 includes a selector 580a and a 6-bit register 580b. The selector 580a identifies the card types (bus bit width and corresponding drive voltage) for a total of 15 cards stored in the expansion card register 570 and 3 cards in the card table 183. 6-bit data (card information) is input in parallel. Then, for the card whose comparison result signal output from the comparator 590 is High level, 6-bit data indicating the type of the card is output to the register 580b. A signal obtained by inverting the signal TIM is input from the timer 171 to the enable terminal of the register 580b. In the register 580b, the timer 171 outputs the pulsed signal L2 #, and after the CD2 #, CD1 #, VS1 #, and VS2 # are stored in the second register 181, the signal TIM switches to the low level. The 6-bit data output from the selector 580a is stored as card information of the card connected to the connector 190.

なお、レジスタ580bにラッチされた6ビットのデータは、上位ビットから順に、16ビットカードであるのか否か、32ビットカードであるのか否か、駆動電圧が5Vであるか否か、駆動電圧が3.3Vであるか否か、駆動電圧がX.XVであるか否か、駆動電圧がY.YVであるか否かをそれぞれ該当する場合に“1”で表す。   The 6-bit data latched in the register 580b is, in order from the upper bit, whether it is a 16-bit card, a 32-bit card, whether the drive voltage is 5V, Whether the voltage is 3.3V, whether the drive voltage is X.XV, and whether the drive voltage is Y.YV is represented by “1”, respectively.

レジスタ580bは、ラッチした6ビットデータを3ステートバッファ191に出力する。3ステートバッファ191は、CPU10からLowレベルのカード情報要求信号に応じて、上記6ビットデータをコネクタ190に接続されたカードの種類を表すデータ(カード情報)として、PCMCIAコントローラ510、PCIインターフェース110、及び、PCIバス50を介してCPU10に出力する。CPU10は、受け取った6ビットデータ(カード情報)の内容に基づいて、コネクタ190に接続されたカードとのデータのやり取りを行う。   The register 580b outputs the latched 6-bit data to the 3-state buffer 191. In response to a low level card information request signal from the CPU 10, the 3-state buffer 191 uses the PCMCIA controller 510, the PCI interface 110, the 6-bit data as data (card information) indicating the type of card connected to the connector 190, And it outputs to CPU10 via the PCI bus 50. FIG. The CPU 10 exchanges data with the card connected to the connector 190 based on the content of the received 6-bit data (card information).

図17は、PCMCIAコントローラ510の一部の構成を示す図である。図示するように、PCカード識別部560から入力される比較結果の内、レジスタ180,181に格納された各4ビット合計8ビットのデータ(識別情報)と拡張カードレジスタ570に格納されている3枚分の8ビットデータ(識別情報)との比較結果を2つのORゲート511,512を用いて2ビットのセレクト信号SELとして出力する。具体的には、1枚目の比較結果の1ビットデータと3枚目の比較結果の1ビットデータとの論理和をORゲート512で求め、当該ORゲート512の出力を2ビットのセレクト信号の下位ビットのデータとして出力する。2枚目の比較結果の1ビットデータと3枚目の比較結果の1ビットデータの論理和をORゲート511で求め、当該ORゲート511の出力を2ビットのセレクト信号SELの上位ビットのデータとして出力する。即ち、第1レジスタ180及び第2レジスタ181に格納された8ビットデータと拡張カードレジスタ182に格納されている8ビットデータとが一致した場合には、Highレベルの信号がセレクト信号SELとして出力される。他方、不一致の場合には、Lowレベルの信号がセレクト信号SELとして出力される。   FIG. 17 is a diagram showing a partial configuration of the PCMCIA controller 510. As shown in FIG. As shown in the figure, among the comparison results input from the PC card identification unit 560, each of the 4 bits stored in the registers 180 and 181 has a total of 8 bits of data (identification information) and 3 stored in the expansion card register 570. The comparison result with the 8-bit data (identification information) for the number of sheets is output as a 2-bit select signal SEL using the two OR gates 511 and 512. Specifically, the OR gate 512 obtains the logical sum of the 1-bit data of the first comparison result and the 1-bit data of the third comparison result, and outputs the OR gate 512 to the 2-bit select signal. Output as lower bit data. The OR gate 511 obtains the logical sum of the 1-bit data of the second comparison result and the 1-bit data of the third comparison result, and uses the output of the OR gate 511 as the upper bit data of the 2-bit select signal SEL. Output. That is, when the 8-bit data stored in the first register 180 and the second register 181 matches the 8-bit data stored in the expansion card register 182, a high level signal is output as the select signal SEL. The On the other hand, if they do not match, a low level signal is output as the select signal SEL.

ここで、再び図15を参照する。PCMCIAコントローラ510から“00”のセレクト信号SELを受けたセレクタ550は、接続されたカードがPCMCIAに準拠したPCカードであると判断してPCMCIAコントローラ510とコネクタ190を直接接続する。また、“01”のセレクト信号SELを受けた場合、第1カードであると判断して、第1カードコントローラ520とコネクタ190とを接続する。PCMCIAコントローラ510は、上記第1カードコントローラ520を介することで、第1カードを認識することができる。同様に、“10”、“11”のセレクト信号SELを受けた場合、第2、第3カードであると判断して、第2カードコントローラ520、第3カードコントローラ530とコネクタ190とを接続する。PCMCIAコントローラ510は、上記第2カードコントローラ530又は第3カードコントローラ540を介することで、第2カード又は第3カードを認識することができる。   Here, FIG. 15 will be referred to again. Upon receiving the “00” select signal SEL from the PCMCIA controller 510, the selector 550 determines that the connected card is a PC card compliant with PCMCIA, and directly connects the PCMCIA controller 510 and the connector 190. When the select signal SEL of “01” is received, it is determined that the card is the first card, and the first card controller 520 and the connector 190 are connected. The PCMCIA controller 510 can recognize the first card via the first card controller 520. Similarly, when a select signal SEL of “10” or “11” is received, it is determined that the card is the second or third card, and the second card controller 520 or the third card controller 530 and the connector 190 are connected. . The PCMCIA controller 510 can recognize the second card or the third card via the second card controller 530 or the third card controller 540.

以上に説明したように、PCカード制御装置100及び500によれば、特別なカードの識別アルゴリズムを用意せず、従来より知られているPCMCIAに準拠するカード識別手法を用いつつも、新しい種類の拡張カードの認識をおこなうことができる。さらには、既に認識していた拡張カードの種類が変更又は修正された場合(例えば、駆動電圧が5Vから3.3Vに改良された場合)に、フラッシュROM200の内容を書き換えるだけで柔軟に対応することができる。   As described above, according to the PC card control apparatuses 100 and 500, a new type of card identification method is used without using a special card identification algorithm and using a conventionally known card identification method based on PCMCIA. The expansion card can be recognized. Furthermore, when the type of the expansion card that has already been recognized is changed or corrected (for example, when the drive voltage is improved from 5 V to 3.3 V), the flash ROM 200 can be flexibly handled simply by rewriting the contents. be able to.

なお、上記実施の形態1のPCカード制御装置100及び実施の形態2のPCカード制御装置500では、拡張カードレジスタに設定する第1レジスタ及び第2レジスタの合計8ビットのデータの値を、図6に示すようなPCMCIAにおいて未定義の組合せのものを用いることとしたが、例えば、図5に示すカードテーブルにおけるNo.5及びNo.9のようにカードの種類が未定義となっている予備の組合せについては、これを利用することとしてもよい。さらには、上記以外の既に定義されている組合せについても改めて定義することができるようにすることも考えられる。これらの場合、カードテーブル及び拡張カードレジスタの両方に該当するカードが検出されることになるが、例えば、実施の形態1のPCカード制御装置100の備えるPCMCIAコントローラ120が実行するように、拡張カードレジスタについての比較結果だけに基づいて、セレクト信号SELを生成するようにすれば良い。   In the PC card control device 100 of the first embodiment and the PC card control device 500 of the second embodiment, the total 8-bit data values of the first register and the second register set in the expansion card register are shown in FIG. In the PCMCIA as shown in FIG. 6, an undefined combination is used. For example, No. 6 in the card table shown in FIG. 5 and no. For the spare combination in which the card type is undefined as in 9, this may be used. Furthermore, it may be possible to redefine combinations already defined other than the above. In these cases, cards corresponding to both the card table and the expansion card register are detected. For example, the expansion card is executed so that the PCMCIA controller 120 included in the PC card control device 100 of the first embodiment executes. The select signal SEL may be generated based only on the comparison result for the register.

実施の形態1に係るPCカード制御装置を備えるコンピュータシステムの構成を示す図である。1 is a diagram illustrating a configuration of a computer system including a PC card control device according to Embodiment 1. FIG. (a)は、PCMCIAに準拠したコネクタにPCカードを接続した状態を示し(b)は、アダプタを介してスマートカードを接続した状態を示す図である。(A) shows a state where a PC card is connected to a connector compliant with PCMCIA, and (b) shows a state where a smart card is connected via an adapter. (a)は、PCカードのカード識別用の配線例を示し、(b)は、カード検出時の各部の信号の状態を示す図である。(A) shows the example of wiring for the card identification of a PC card, (b) is a figure which shows the state of the signal of each part at the time of card detection. (a)は、拡張カードのカード識別用の配線例を示し、(b)は、カード検出時の各部の信号の状態を示す図である。(A) shows an example of wiring for card identification of an expansion card, and (b) is a diagram showing a signal state of each part at the time of card detection. PCMCIAに準拠したカードテーブルを示す図である。It is a figure which shows the card table based on PCMCIA. PCMCIAで未使用の組合せのカードテーブルを示す図である。It is a figure which shows the card table of the unused combination in PCMCIA. PCカード識別部の構成を示す図である。It is a figure which shows the structure of a PC card identification part. CD1#、CD2#、VS1#、VS2#及びタイマーから出力される各信号を示すタイムチャートである。It is a time chart which shows each signal output from CD1 #, CD2 #, VS1 #, VS2 # and a timer. PCMCIAコントローラの一部の構成を示す図である。It is a figure which shows the structure of a part of PCMCIA controller. CPUの実行する第1制御プログラムの処理内容を示すフローチャートである。It is a flowchart which shows the processing content of the 1st control program which CPU performs. (a)及び(b)は、PCカード制御プログラム実行時にディスプレイに表示される画面を示す図である。(A) And (b) is a figure which shows the screen displayed on a display at the time of PC card control program execution. CPUの実行する第2制御プログラムの処理内容を示すフローチャートである。It is a flowchart which shows the processing content of the 2nd control program which CPU performs. PCカード識別部の変形例の構成を示す図である。It is a figure which shows the structure of the modification of a PC card identification part. 上記PCカード識別部の変形例を構成する制御部の実行する処理内容を示すフローチャートである。It is a flowchart which shows the processing content which the control part which comprises the modification of the said PC card identification part performs. 実施の形態2にかかるPCカード制御装置を備えるコンピュータシステムの構成を示す図である。It is a figure which shows the structure of a computer system provided with the PC card control apparatus concerning Embodiment 2. FIG. PCカード識別部の構成を示す図である。It is a figure which shows the structure of a PC card identification part. PCMCIAコントローラの一部の構成を示す図である。It is a figure which shows the structure of a part of PCMCIA controller.

符号の説明Explanation of symbols

1 コンピュータシステム、 10 CPU、 11 ROM、 12 RAM、 13 操作部、 14 ディスプレイ、 15 HD、 100,500 PCカード制御装置、 130 スマートカードコントローラ、 150 フラッシュROM・I/F、 160,160a,560 PCカード識別部、 180 第1レジスタ、 181 第2レジスタ、 182,570 拡張カードレジスタ、 183 カードテーブル、 184,580 カード情報検出部、 190 PCカード用コネクタ、 200 フラッシュROM、 250 PCカード、 300 スマートカード用アダプタ、 310 スマートカード、 520 第1カードコントローラ、 530 第2カードコントローラ、 540 第3カードコントローラ。   1 computer system, 10 CPU, 11 ROM, 12 RAM, 13 operation unit, 14 display, 15 HD, 100,500 PC card control device, 130 smart card controller, 150 flash ROM / I / F, 160, 160a, 560 PC Card identification unit, 180 first register, 181 second register, 182,570 expansion card register, 183 card table, 184,580 card information detection unit, 190 PC card connector, 200 flash ROM, 250 PC card, 300 smart card Adapter, 310 smart card, 520 first card controller, 530 second card controller, 540 third card controller Controller.

Claims (1)

接続されたカードから規格に従う手法で識別情報を取得する識別情報取得部と、
上記規格に準拠する1以上の種類のPCカードについてのカード情報と共に、当該各カード情報に対応した識別情報が記録された第1記録部と、
上記規格に準拠していない1以上の種類の拡張カードについてのカード情報と共に、当該カード情報に対応した識別情報が記録された第2記録部とを有し、
上記接続されたカードについて上記識別情報取得部により取得される識別情報と、第1記録部及び第2記録部に記録されている識別情報の内の少なくとも第2記録部に記録されている識別情報とから接続されているカードの種類を識別し、当該識別結果と共に接続されているカードについてのカード情報を出力するPCカード識別部と
を備えたことを特徴とするPCカード制御装置。
An identification information acquisition unit for acquiring identification information from a connected card in accordance with a standard,
A first recording unit in which identification information corresponding to each card information is recorded together with card information about one or more types of PC cards conforming to the above-mentioned standard;
A second recording unit in which identification information corresponding to the card information is recorded together with card information about one or more types of expansion cards that do not comply with the standard,
The identification information acquired by the identification information acquisition unit for the connected card and the identification information recorded in at least the second recording unit among the identification information recorded in the first recording unit and the second recording unit A PC card control device comprising: a PC card identifying unit that identifies a type of a card connected to the card and outputs card information about the connected card together with the identification result.
JP2007113190A 2007-04-23 2007-04-23 Pc card controller Pending JP2007293857A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2007113190A JP2007293857A (en) 2007-04-23 2007-04-23 Pc card controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2007113190A JP2007293857A (en) 2007-04-23 2007-04-23 Pc card controller

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002269935A Division JP4113750B2 (en) 2002-09-17 2002-09-17 PC card control device and computer system including this PC card control device

Publications (1)

Publication Number Publication Date
JP2007293857A true JP2007293857A (en) 2007-11-08

Family

ID=38764371

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2007113190A Pending JP2007293857A (en) 2007-04-23 2007-04-23 Pc card controller

Country Status (1)

Country Link
JP (1) JP2007293857A (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000284871A (en) * 1999-03-30 2000-10-13 Matsushita Electric Ind Co Ltd Information processor having pc card slot which can be switched to exclusive interface

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000284871A (en) * 1999-03-30 2000-10-13 Matsushita Electric Ind Co Ltd Information processor having pc card slot which can be switched to exclusive interface

Similar Documents

Publication Publication Date Title
JP4113750B2 (en) PC card control device and computer system including this PC card control device
US7519756B2 (en) Method and apparatus for controlling connections of PC cards and a passive-card-adapting card used for connecting one of the PC cards to the apparatus
US8055824B2 (en) Interface unit for interfacing host unit and peripheral unit
JP2007011788A (en) Memory card and its host equipment
US20200387460A1 (en) Method for performing detection control of write protection function of memory device, associated control chip and associated electronic device
JP2010086524A (en) Bridge device with function to save power
JP2001319209A (en) Pc card capable of switching specification mode, and pc card input/output controller
US10977206B2 (en) Data communication device and method for data communication
US7930532B2 (en) Systems and methods for basic input output system (BIOS) management
KR100441533B1 (en) Method of identifying peripheral device employed in a semiconductor device
JP2008084340A (en) Pc card controller, computer system with this pc card controller and pc card identification method
JP2007293857A (en) Pc card controller
US7895381B2 (en) Data accessing system
US20030195716A1 (en) Interface device for product testing
JP2012063851A (en) Peripheral device control circuit and information processor including the same
CN100530119C (en) Method and relevant apparatus for providing secondary basic input/output system code through synchronizing monitor and control
JP3220026B2 (en) Master / slave automatic setting system
CN116028414B (en) Power consumption control circuit and control device
JP4526836B2 (en) Card recognition system and new card recognition method
EP4068107A1 (en) Audio control circuit, host device and associated control method
JP2008204104A (en) Memory card controller and electronic equipment
JPH10198524A (en) Hard disk controller
JP4526837B2 (en) Card recognition system
JP3071044B2 (en) Test method for semiconductor integrated circuit with microcomputer
JP4411104B2 (en) Passive card adapter

Legal Events

Date Code Title Description
A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20100105

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20100308

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20100427