この規格 プレビューページの目次
※一部、英文及び仏文を自動翻訳した日本語訳を使用しています。
序文
ISO (国際標準化機構) と IEC (国際電気標準会議) は、世界標準化のための専門システムを形成しています。 ISO または IEC のメンバーである国家機関は、技術活動の特定の分野を扱うために、それぞれの組織によって設立された技術委員会を通じて、国際規格の開発に参加しています。 ISO と IEC の技術委員会は、相互に関心のある分野で協力しています。 ISO および IEC と連携して、政府および非政府の他の国際機関もこの作業に参加しています。情報技術の分野では、ISO と IEC が合同技術委員会 ISO/IEC JTC 1 を設立しました。
国際規格は、ISO/IEC 指令で指定された規則に従って起草されます。 2.
合同技術委員会の主な任務は、国際規格を作成することです。合同技術委員会によって採択された国際規格草案は、投票のために各国の機関に回覧されます。国際規格として発行するには、投票を行う国の機関の少なくとも 75% による承認が必要です。
このドキュメントの要素の一部が特許権の対象となる可能性があることに注意してください。 ISO および IEC は、そのような特許権の一部またはすべてを特定する責任を負わないものとします。
ISO/IEC 10373-8 は、合同技術委員会 ISO/IEC JTC 1, 情報技術、小委員会 SC 17, カードおよび個人識別によって作成されました。
ISO/IEC 10373 は、以下の部分で構成されており、一般的なタイトルは「識別カード - 試験方法」の下にあります。
- Part 1: 一般的な特徴
- Part 2: 磁気ストライプ付きカード
- Part 3: 接点および関連するインターフェイス デバイスを備えた集積回路カード
- Part 5: 光メモリーカード
- Part 6: 近接カード
- Part 7:周辺カード
- Part 8: USB ICC
- Part 9部:光メモリーカード:ホログラフィック記録方式
序章
USB ICC は、USB プロトコルをサポートする複雑なデバイスです。 USB プロトコルの階層構造には、カード メーカーが検証計画を策定する必要がある場合に、さまざまなテスト構成で USB-ICC を設定することが含まれます。また、USB デバイスはすべて USB クラスに属します。したがって、USB デバイスの包括的なテストには、3 つの異なるグループのテストを含むテスト計画を慎重に作成する必要があります。
- 1)電気的、物理的特性の評価;
- 2) USB プロトコルの効果的な実行。
- 3) USB デバイスが特定のクラスに準拠していることを証明するために設計されたテストの実行。
これらの高レベルのテスト グループは、一連の個々のテスト シナリオで構成されています。これらのシナリオはデバイスに挑戦し、カードの非準拠が明らかになるように設計されています。最終的な目的は、USB-ICC と他の USB 準拠デバイスとの互換性を保証することです。
図 1 は、ISO/IEC 10373 のこの部分が USB-ICC に対して提案している USB-ICC の検証テスト フレームワークをまとめたものです。
図 1 —コンプライアンス テストの概要
ISO/IEC 7816-12 によると、USB-ICC は物理的および電気的レベルで USB 仕様 2.0 に準拠する必要があります。この仕様はすべての USB デバイスに共通です。これは USB Implementers Forum によって公開されており、カードの機能の一部をテストするために使用できるコンプライアンス テスト手順もいくつか公開されています。 ISO/IEC 7816-12 は実際には USB-ICC デバイス クラスを記述しており、USB-ICC クラスに固有のテスト手順は利用できないことに注意してください。
1 スコープ
ISO/IEC 10373 のこの部分では、カードの ISO/IEC 7816-12 への準拠を評価するためのテスト方法とテスト シナリオのリストについて説明します。
具体的には、ISO/IEC 10373 のこの部分:
- USB 2.0 の物理層測定と電気的コンプライアンス テストに対処します。
- USB バス トラフィックを分析するためのテスト ツールに関連する問題について説明し、ISO/IEC 10373 のこのパートで提供されるテスト シナリオのガイダンスを提供します。
- ISO/IEC 10373 のこの部分で与えられたテスト シナリオの分類と検証基準を提案します。
- USB CCID クラス デバイスに準拠するためのテスト ケースについて説明します。
注記準拠とは、USB-ICC 製品と呼ばれるカードが ISO/IEC 7816-12 の記述に一致するように設計されていることを意味します。
2 参考文献
本書の適用には、以下の参考文献が不可欠です。日付のある参考文献については、引用された版のみが適用されます。日付のない参照については、参照文書の最新版 (修正を含む) が適用されます。
ISO/IEC 7816-12:2005, 識別カード — 集積回路カード — 12: 接点付きカード — USB 電気的インターフェースと操作手順[ISO/IEC 10373 のこのパートのテスト タグの RE1]
ユニバーサル シリアル バス仕様 – リビジョン2.0, 2000 年 4 月 27 日 [ISO/IEC 10373 のこの部分の RE2]
3 用語と定義
3.1
USB リクエスト
コントロール転送要求
セットアップステージ (3.5)、オプショナル データステージ (3.2)、 ステータスステージ (3.6)から構成されるコントロール転送モードの送信ユニット
注記 1特に 列挙 (3.4) 段階で使用される。
注記 2これらの段階の合計により、適用可能なプロトコル層が確立されます。
注記 3:要求は、標準、クラス固有、またはベンダー固有のいずれかです。
3.2
データステージ
1 つまたは複数のデータ バス トランザクションで特定の要求に関連付けられたデータを伝達するコントロール転送の一部。
3.3
終点
ホストとデバイス間に確立された通信チャネル
注記 1:エンドポイントが同時にアップストリームとダウンストリームになるコントロール転送モードを除いて、エンドポイントは一般に単方向です。
3.4
番号
通信パイプをセットアップするための USB-ICC のホストによる認識の標準手順。その間、ホストはデバイスに一意のアドレスを割り当て、デバイス ドライバは USB-ICC を適切に構成します。
注記 1:デバイスが USB ポートに接続されると開始します。
注記 2: 1 つまたは複数の適切なデバイス ドライバをデバイスに関連付けることができます。
3.5
セットアップ段階
リクエスト定義を含むリクエストの一部 ( Requestを参照)
注記 1: Setup Stage には、要求のターゲット ID, その方向、および次の Data Stage の長さが含まれます。
3.6
ステータスステージ
リクエストのグローバル承認を表すリクエストの一部 ( Requestを参照)
注記 1:すべての要求 (SetAddress 要求を除く) は、ステータス ステージが完了する前に終了する必要があります。
3.7
移行
USB転送
1 つまたは複数の USB トランザクション
注記 1:常に双方向のコントロール転送転送を除いて、転送は一般に単方向 (ダウンストリーム - ホストからデバイスへ、またはアップストリーム - デバイスからホストへ) です。
3.8
USB モード
USB プロトコルで使用される転送モード
注記 1: USB プロトコルは、次の 4 つの異なる転送モードを使用します。コントロール転送 (列挙および特定のインターフェイスに使用)、割り込み転送 (ポーリング メカニズムを使用してハードウェア割り込み動作をシミュレート)、バルク転送 (一般に、非リアルタイム データ転送) およびアイソクロナス転送 (リアルタイム データ転送に使用)
3.9
USB取引
1, 2, または 3 つのフェーズのシーケンス: トークン、データ、ハンドシェイク
参考文献
| [1] | USB 2.0 仕様に対する Inter-Chip USB Supplement – Revision 1.0, 2006 年 3 月 13 日 [ISO/IEC 10373 のこの部分の RE3] |
| [2] | 全速および低速の電気的および相互運用性適合性試験手順 – 改訂1.3, 2004 年 2 月 [ISO/IEC 10373 のこの部分の RE4] |
| [3] | ユニバーサル シリアル バス - デバイス クラス: スマート カード - CCID - USB 集積回路カード インターフェイス デバイスの仕様 - 改訂1.1, 2005 年 4 月 22 日 [ISO/IEC 10373 のこの部分の RE5] |
Foreword
ISO (the International Organization for Standardization) and IEC (the International Electrotechnical Commission) form the specialized system for worldwide standardization. National bodies that are members of ISO or IEC participate in the development of International Standards through technical committees established by the respective organization to deal with particular fields of technical activity. ISO and IEC technical committees collaborate in fields of mutual interest. Other international organizations, governmental and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1.
International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, 2.
The main task of the joint technical committee is to prepare International Standards. Draft International Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as an International Standard requires approval by at least 75 % of the national bodies casting a vote.
Attention is drawn to the possibility that some of the elements of this document may be the subject of patent rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights.
ISO/IEC 10373-8 was prepared by Joint Technical Committee ISO/IEC JTC 1, Information technology, Subcommittee SC 17, Cards and personal identification.
ISO/IEC 10373 consists of the following parts, under the general title Identification cards — Test methods:
- Part 1: General characteristics
- Part 2: Cards with magnetic stripes
- Part 3: Integrated circuit cards with contacts and related interface devices
- Part 5: Optical memory cards
- Part 6: Proximity cards
- Part 7: Vicinity cards
- Part 8: USB-ICC
- Part 9: Optical memory cards: Holographic recording method
Introduction
The USB-ICC is a complex device supporting the USB protocol. The layered structure of the USB protocol involves setting the USB-ICC in different testing configurations when a card manufacturer needs to set forth a Validation Plan. In addition, any USB device belongs to a USB Class. Therefore, the comprehensive testing of any USB device involves carefully developing a Test Plan that includes three different groups of Tests:
- 1) evaluation of the Electrical, Physical features;
- 2) effective execution of the USB protocol;
- 3) execution of Tests designed to prove the compliance of the USB device with its specific Class.
These High-Level Groups of Test are made up of a series of individual Test Scenarios. These scenarios challenge the device, and are designed so that any non-compliance of the card could be disclosed. The final objective is to guarantee the compatibility of the USB-ICC with other USB-compliant devices.
Figure 1 summarizes the Validation Test Framework for the USB-ICC that this part of ISO/IEC 10373 suggests for the USB-ICC.
Figure 1—Compliance test overview
According to ISO/IEC 7816-12, the USB-ICC is required to comply with the USB Specification 2.0 at physical and electrical levels This specification is common to all USB devices; it is published by the USB Implementers Forum, which has also published some Compliance Test Procedures that can be used to test some of the functionalities of the card. Note that ISO/IEC 7816-12 actually describes the USB-ICC Device Class, and testing procedures specific to the USB-ICC Class are not available.
1 Scope
This part of ISO/IEC 10373 describes a Test Methodology and a list of Test Scenarios to evaluate the compliance of a card with ISO/IEC 7816-12.
Specifically, this part of ISO/IEC 10373:
- addresses USB 2.0 physical layer measurements and electrical compliance testing;
- discusses issues relative to the Test Tools to analyse USB bus traffic and provides guidance for the Test Scenarios given in this part of ISO/IEC 10373;
- proposes a classification of Test Scenarios given in this part of ISO/IEC 10373, along with validation criteria;
- discusses Test Cases for compliance with the USB CCID Class Device.
NOTE Compliance means cards that are called USB-ICC products are designed to match the description in ISO/IEC 7816-12.
2 Normative references
The following referenced documents are indispensable for the application of this document. For dated references, only the edition cited applies. For undated references, the latest edition of the referenced document (including any amendments) applies.
ISO/IEC 7816-12:2005, Identification cards — Integrated circuit cards — 12: Cards with contacts — USB electrical interface and operating procedures [RE1 in Test Tags in this part of ISO/IEC 10373]
Universal Serial Bus specification – Revision 2.0, 27 April 2000 [RE2 in this part of ISO/IEC 10373]
3 Terms and definitions
3.1
USB Request
Control Transfer Request
transmission unit for the Control Transfer mode, composed of a Setup Stage (3.5), an optional Data Stage (3.2) and a Status Stage (3.6)
Note 1 to entry: Used in particular for the enumeration (3.4) phase.
Note 2 to entry: The sum of these stages establishes an applicative protocol layer.
Note 3 to entry: A Request can be either Standard, Class Specific or Vendor Specific.
3.2
Data Stage
part of the Control Transfer that conveys the data associated with a given Request in one or more Data Bus Transactions
3.3
endpoint
communication channel established between a host and a device
Note 1 to entry: An endpoint is generally mono-directional, except for the Control Transfer mode, where the endpoint is upstream and downstream at the same time.
3.4
enumeration
Standard Procedure for recognition by the host of the USB-ICC for setting up a communication pipe, during which the host attributes a unique address to the device, and the device driver(s) configure(s) the USB-ICC properly
Note 1 to entry: It starts when a device is plugged onto a USB port.
Note 2 to entry: It allows one or more suitable device drivers to be attributed to the device.
3.5
Setup Stage
part of a request (see Request) containing the request definition
Note 1 to entry: The Setup Stage contains the target identification of the request, its direction and the length of the next Data Stage.
3.6
Status Stage
part of a request (see Request) standing for global acknowledge of the request
Note 1 to entry: Any request (except the SetAddress request) is supposed to be terminated before the Status Stage is completed.
3.7
transfer
USB transfer
one or more USB transactions
Note 1 to entry: A transfer is generally mono-directional (downstream – from host to device, or upstream – from device to host), except for the Control Transfer transfers that are always bi-directional.
3.8
USB mode
mode of transfer used by the USB protocol
Note 1 to entry: The USB protocol uses four different modes of transfer: The Control Transfer (used for enumeration, and certain interfaces), the Interrupt Transfer (simulating a hardware interrupt behaviour using a polling mechanism), the Bulk Transfer (generally used for non-real-time data transfers) and the Isochronous Transfer (used for real-time data transfers).
3.9
USB transaction
sequence of one, two or three phases: Token, Data, Handshake
Bibliography
| [1] | Inter-Chip USB Supplement to the USB 2.0 Specification – Revision 1.0, 13 March 2006 [RE3 in this part of ISO/IEC 10373] |
| [2] | Full and Low Speed Electrical and Interoperability Compliance Test Procedure – Revision 1.3, February 2004 [RE4 in this part of ISO/IEC 10373] |
| [3] | Universal Serial Bus – Device Class: Smart Card – CCID – Specification for USB Integrated Circuit(s) Cards Interface Devices – Revision 1.1, 22 April 2005 [RE5 in this part of ISO/IEC 10373] |