background image

Document  Title Here 

Document Title Here 

 

Document Title Here

 

ACR38x  Reference Manual (CCID) 

Version 6.02

 

Page 3 of 20

 

 

 

[email protected] 

www.acs.com.hk 

1.0.  Introduction 

This document contains information regarding the ACR38x using the PC/SC platform.  The ACR38x 

uses CCID interface to communicate with the USB port. CCID refers to the Device Class Specification 

for USB Chip/Smart Card Interface Devices that defines the communication protocol and commands 

for the USB chip-card interface devices.  
The ACR38x acts as an interface for the communication between a computer (for example, a PC) and 

a smart card. Different types of smart cards have different commands and different communication 

protocols,  which  prevents,  in most cases the direct communication between  a smart card and a 

computer. The ACR38x establishes a uniform interface from the computer to the smart card for a wide 

variety of cards. By taking care of the card specific particulars, it releases the computer software 

programmer from getting involved with the technical details of the smart card operation, which are not 

relevant  in many cases of the implementation  of smart card system. 

Note

: Although the ACR38x is a true 

card reader/writer

 as it can read and write data from and to smart 

cards. The terms 

reader

  or 

card reader

  will be used indifferently to refer to the ACR38x.  These 

designations are commonly used for this kind of devices. 

 

Содержание ACR38x

Страница 1: ...Subjectto change without prior notice info acs com hk www acs com hk CCID Reference Manual ACR38x Smart Card Reader...

Страница 2: ...tus LED 7 6 0 USB Interface 8 6 1 Communication Parameters 8 6 2 Endpoints 8 7 0 Communication Protocol 9 8 0 Commands 11 8 1 CCID Command Pipe Bulk OUT Messages 11 8 1 1 PC_to_RDR_IccPowerOn 11 8 1 2...

Страница 3: ...rd Different types of smart cards have different commands and different communication protocols which prevents in most cases the direct communication between a smart card and a computer The ACR38x est...

Страница 4: ...s o Has read and write support to all microprocessor cards with T 0 or T 1 protocols o Supports memory cards I2C bus Protocol Cards 1K bits to 1024K bits Secure Memory Cards Atmel AT88SC153 and AT88SC...

Страница 5: ...mson ST14C02C ST14C04C Gemplus GFM1K GFM2K GFM4K GFM8K Cards with secure memory IC with password and authentication including Atmel AT88SC153 and AT88SC1608 Cards with intelligent 1k bytes EEPROM with...

Страница 6: ...he inserted card This includes both the memory cards and MCU based cards For MCU based cards the reader allows to select the preferred protocol T 0 or T 1 However this selection is only accepted and c...

Страница 7: ...f reader 5 1 Status LED The Green LED on the front of the reader indicates the activation status of the smart card interface Flashing slowly turns on 200ms for every 2 seconds Indicates that the ACR38...

Страница 8: ...s data between ACR38x and PC 3 D Differential signal transmits data between ACR38x and PC 4 GND Reference voltage level for power supply Table 1 USB Interface Wiring Note In order for the ACR38x CCID...

Страница 9: ...have to be sent synchronously i e bMaxCCIDBusySlots is equal to 1 for ACR38x CCID The supported CCID features by ACR38x CCID are indicated in its Class Descriptor Offset Field Size Value Description 0...

Страница 10: ...according to parameters Automatic baud rate change according to frequency and FI DI parameters TPDU level exchange with ACR38x 44 dwMaxCCIDMessageLeng th 4 0000010Fh Maximum message length accepted b...

Страница 11: ...ageType 1 62h 1 dwLength 4 00000000h Size of extra bytes of this message 2 bSlot 1 Identifies the slotnumber for this command 5 bSeq 1 Sequence number for command 6 bPowerSelect 1 Voltage that is appl...

Страница 12: ...is the RDR_to_PC_SlotStatus message 8 1 4 PC_to_RDR_XfrBlock Transfer data block to the ICC Offset Field Size Value Description 0 bMessageType 1 6Fh 1 dwLength 4 Size of abData field of this message...

Страница 13: ...lotnumber for this command 6 BSeq 1 Sequence number for command 7 AbRFU 3 Reserved for future use The response to this message is the RDR_to_PC_Parameters message 8 1 6 PC_to_RDR_ResetParameters Reset...

Страница 14: ...2 Reserved for future use 10 abProtocolDataStru cture Byte array Protocol Data Structure Protocol Data Structure for Protocol T 0 dwLength 00000005h Offset Field Size Value Description 10 bmFindexDin...

Страница 15: ...KST1 1 B7 2 000100b B0 Checksum type b0 0 for LRC b0 1 for CRC B1 Convention used b1 0 for direct b1 1 for inverse Note The CCID ignores this bit 12 BGuardTimeT1 1 Extra Guardtime 0 to 254 etu between...

Страница 16: ...atus 1 Slot status register as defined in CCID section 4 2 1 8 bError 1 Slot error register as defined in CCID section 4 2 1 and this specification section 5 2 8 9 bChainParameter 1 00h RFU TPDU excha...

Страница 17: ...bSlot 1 Same value as in Bulk OUT message 6 bSeq 1 Same value as in Bulk OUT message 7 bStatus 1 Slot status register as defined in CCID section 4 2 1 8 bError 1 Slot error register as defined in CCI...

Страница 18: ...0 H 00 H 10 H Response data format abData field in the RDR_to_PC_DataBlock FIRMWARE MAX_C MAX_R C_TYPE C_SEL C_STAT FIRMWARE 10 bytes data for firmware version MAX_C The maximum number ofcommand data...

Страница 19: ...Type 00H Auto select T 0 or T 1 communication protocol 01H I2C memory card 1k 2k 4k 8k and 16k bits 02H I2C memory card 32k 64k 128k 256k 512k and 1024k bits 03H Atmel AT88SC153 secure memory card 04...

Страница 20: ...d by the ACR38x Error Code Status FFH SLOTERROR_CMD_ABORTED FEH SLOTERROR_ICC_MUTE FDH SLOTERROR_XFR_PARITY_ERROR FCH SLOTERROR_XFR_OVERRUN FBH SLOTERROR_HW_ERROR F8H SLOTERROR_BAD_ATR_TS F7H SLOTERRO...

Отзывы: