background image

Document  Title Here 

Document Title Here 

 

Document Title Here

 

ACR38x  Reference Manual (CCID) 

Version 6.02

 

Page 18 of 20

 

 

 

[email protected] 

www.acs.com.hk 

8.2.  Commands Accessed via PC_to_RDR_XfrBlock 

8.2.1. 

GET_READER_INFORMATION 

This command returns relevant information about the particular ACR38x  model and the current 

operating status such as the firmware revision number; the maximum data length of a command and 

response; the supported  card types; and whether  a card is inserted and powered  up or not. 

Note:

  This command can only be used after the logical smart card reader communication has been 

established using the 

SCardConnect( )

  API.  For details of 

SCardConnect( )

  API, please refer to 

PC/SC specifications. 

Command format (abData field in the PC_to_RDR_XfrBlock)

 

Pseudo-APDU 

CLA 

INS 

P1 

P2 

Lc 

FF

 

H

 

09

 

H

 

00

 

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 of command data bytes. 

MAX_R 

The maximum number of data bytes that can be requested to be transmitted in a 

response. 

C_TYPE 

The card types supported by the ACR38x (CCID). This data field is a bitmap with each 

bit representing a particular card type.  A  bit set to '1'  means the corresponding card 

type  is supported by the reader and can be selected with the 

SELECT_CARD_TYPE

 

command. The bit assignment is as follows: 

Byte 

card type  

See Appendix A for the correspondence between these bits and the respective card 

types. 

C_SEL 

The currently selected card type.  A value of 

00

H

 means that no card type  has been 

selected. 

C_STAT

 

Indicates whether a card is inserted in the reader and whether the card is powered up: 

00

 

H

:   no card inserted 

01

 

H

:   card inserted, not powered up 

03

 

H

:   card powered up 

 

Summary of Contents for ACR38x

Page 1: ...Subjectto change without prior notice info acs com hk www acs com hk CCID Reference Manual ACR38x Smart Card Reader...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Reviews: