Advanced Card Systems ACR1222U Users Manual

ACR1222U
Technical Specification
V1.02
Advanced Card Systems Ltd. Page 1 of 46
Revision History
Rev
Number
V1.01 17/12/2009 Vincent Zhong
V1.02 30/09/2010 Vincent Zhong
Date Author Notes
Teddy Liu
Kit Au
Preliminary specification for ACR1222U
Added Remark on “Refresh the interface status” command
Advanced Card Systems Ltd. `Page 2 of 46
INDEX
Index .................................................................................................................................................... 3
Scopes .................................................................................................................................................. 5
Hightlights ........................................................................................................................................... 5
Terms ................................................................................................................................................... 6
Quick Overview of the ACR1222U Reader ........................................................................................ 7
1. ACR1222U (with Contact Card Option) ..................................................................................... 7
2. ACR1222U (without Contact Card Option) ................................................................................ 7
3. ACR1222U ICC Interface ........................................................................................................... 8
4. ACR1222U PICC Interface ......................................................................................................... 8
5. ACR1222U SAM Interface ......................................................................................................... 9
6. ACR1222U Firmware Upgrade Procedure ................................................................................ 10
System description ............................................................................................................................. 14
1. The Reader Block Diagram ....................................................................................................... 14
2. Communication between the PCSC Driver and the ICC, PICC & SAM .................................. 15
3. Smart Card Readers Interfaces Overview. ................................................................................ 16
Hardware Description ........................................................................................................................ 17
1. LED Indicatior ........................................................................................................................... 17
2. Buzzer ........................................................................................................................................ 17
3. USB Interface ............................................................................................................................ 18
4. ICC Interface (Contact Smart Card) .......................................................................................... 18
5. SAM Interface (Contact Smart Card) ........................................................................................ 18
6. PICC Interface (Contactless Smart Card) .................................................................................. 18
Software Description ......................................................................................................................... 19
1. TAPDUDemoCard Demo App .................................................................................................. 19
2. ACR1222U PCSC Direct Command Test ................................................................................. 20
Peripherals Control ............................................................................................................................ 21
1. Get Firmware Version ............................................................................................................... 21
2. LED Control .............................................................................................................................. 21
3. Buzzer Control ........................................................................................................................... 22
4. Default LED and Buzzer Behaviors .......................................................................................... 22
5. Refresh the Interface Status ....................................................................................................... 23
6. Set the Configure Mode ............................................................................................................. 23
7. Set the PICC Operating Parameter ............................................................................................ 24
PICC Interface Description ................................................................................................................ 25
1. ATR Generation ........................................................................................................................ 25
Pseudo APDUs for Contactless Interface .......................................................................................... 27
1. Direct Transmit .......................................................................................................................... 27
PICC Commands for General Purposes ............................................................................................ 28
1. Get Data ..................................................................................................................................... 28
PICC Commands (T=CL Emulation) for MIFare 1K/4K MEMORY Cards .................................... 29
2.1 Load Authentication Keys ....................................................................................................... 29
2.2 Authentication for MIFARE 1K/4K ........................................................................................ 30
Advanced Card Systems Ltd. Page 3 of 46
2.3 Read Binary Blocks ................................................................................................................. 33
2.4 Update Binary Blocks .............................................................................................................. 34
2.5 Value Block Related Commands ............................................................................................. 35
2.5.1 Value Block Operation ......................................................................................................... 35
2.5.2 Read Value Block ................................................................................................................. 36
2.5.3 Restore Value Block ............................................................................................................. 37
Basic Program Flow for Contactless Applications ............................................................................ 38
1. How to access PCSC Compliant Tags (ISO14443-4)? ............................................................. 39
2. How to access DESFIRE Tags (ISO14443-4)? ......................................................................... 42
3. How to access FeliCa Tags (ISO18092)? .................................................................................. 43
4. How to access NFC Forum Type 1 Tags (ISO18092)? E.g. Jewel and Topaz Tags ................. 44
Technical Specification ..................................................................................................................... 46
Advanced Card Systems Ltd. `Page 4 of 46
SCOPES
This document describes the contactless part (PICC & PCD) of the ACR1222U reader only.
HIGHTLIGHTS
The ACR1222U is a dual-interface reader (IFD and PCD) that supports both contact (ICC) and contactless (PICC) smart cards.
One standard ICC landing type card acceptor.
One SAM socket is provided for highly secure applications.
A built-in antenna for PICC contactless access applications.
ISO 7816 Parts 1-4 Compliant for Contact Smart Card Interface.
Intelligent Support for Hybrid Cards and Combi Cards.
Energy saving modes for turning off the antenna field whenever the PICC is inactive, or no
PICC is found. It prevents the PICC from exposing to the field all the time.
Contactless interface Support ISO14443 Part 4 Type A & B, MIFARE, FeliCa and NFC-1
tags.
User-Controllable Peripherals. E.g. LED, Buzzer.
CCID Compliant.
PCSC Compliant for Contact, Contactless and SAM Interfaces.
USB V2.0 Interface. (12M bps)
Device Firmware Upgradeable through the USB Interface.
Advanced Card Systems Ltd. Page 5 of 46
TERMS
IFD: Interface Device. A terminal, communication device, or machine to which the
integrated circuit(s) card is electrically connected during operation.
PCD: Proximity Coupling Device. ISO 14443 Contactless Reader.
ICC: Integrated Circuit(s) Card. Refer to a plastic card containing an integrated circuit,
which is compatible with ISO 7816.
SAM: Security Access Module, similar to ICC but in smaller size.
PICC: Proximity Integrated Circuit(s) Card. Contactless Cards operating without
mechanical contact to the IFD, using magnetic coupling.
Combi-Card: A smart card that supports both ICC and PICC Interfaces. But only one
interface can be operating at any one time.
Hybrid-Card: A smart card that consists of both ICC and PICC cards. Both ICC and PICC
cards can be operating at the same time.
USB: Universal Serial Bus, a common device interface used in PC environment.
CCID: The specifications for USB devices that interface with ICC or act as interfaces with
ICC/PICC.
PCSC: Personal Computer Smart Card, a specification that can facilitate the interoperability
necessary to allow ICC/PICC technology to be effectively utilized in the PC environment.
ISO 7816: A standard for contact smart cards (ICC).
T=0: Character-oriented asynchronous half duplex transmission protocol for ICCs (ISO
7816).
T=1: Block-oriented asynchronous half duplex transmission protocol for ICCs (ISO 7816).
ISO 14443: A standard for contactless smart cards (PICC)
T=CL: Block-oriented asynchronous half duplex transmission protocol for PICCs (ISO
14443).
APDU: Application Protocol Data Unit.
ATR: Answer-to-Reset. The transmission sent by an ICC to the reader (IFD) in response to
a RESET condition.
ATS: Answer-to-Select. The transmission sent by a PICC Type A to the reader (PCD) in
response to a SELECT condition.
ATQB: Answer-to-Request. The transmission sent by a PICC Type B to the reader (PCD)
in response to a REQUEST condition.
Card Insertion Event: Either an ICC or a PICC is just appeared to the reader.
Card Removal Event: Either an ICC or a PICC is removed from the reader.
Advanced Card Systems Ltd. Page 6 of 46
QUICK OVERVIEW OF THE ACR1222U READER
1. ACR1222U (with Contact Card Option)
2. ACR1222U (without Contact Card Option)
Advanced Card Systems Ltd. `Page 7 of 46
3. ACR1222U ICC Interface
4. ACR1222U PICC Interface
Advanced Card Systems Ltd. `Page 8 of 46
5. ACR1222U SAM Interface
Step 1: Open the plastic covers by unscrewing the four screws first
Step 2: The SAM socket is inside the reader.
Advanced Card Systems Ltd. `Page 9 of 46
6. ACR1222U Firmware Upgrade Procedure
Step 1: Unplug the USB Cable from the PC. Step 2: Open the plastic covers by unscrewing the four screws first.
The Button Used For Firmware Upgrade
Advanced Card Systems Ltd. `Page 10 of 46
Step 3: Insert the USB plug to USB Port before pressing the button.
Step 4: The USB Mass Storage Device can be found in Device Manager.
Step 5: Execute the Firmware Upgrade Program:
FW Upgrade Tool.exe
Advanced Card Systems Ltd. `Page 11 of 46
Step 6: Pressing the “Load BIN” Button.
Select the “Firmware” file for Upload to the Reader
Step 7: Pressing the “Start Program” Button.
Start Program
The firmware is being uploaded to the reader
Advanced Card Systems Ltd. `Page 12 of 46
The firmware upgrade is completed.
Step 8: Close the plastic covers. After that, reconnect the USB cord.
Noted:
If the upgrade firmware “fail”, please repeat do from steps 3 to 7.
Advanced Card Systems Ltd. `Page 13 of 46
SYSTEM DESCRIPTION
1. The Reader Block Diagram
Advanced Card Systems Ltd. Page 14 of 46
Loading...
+ 32 hidden pages