ACS ACR30 Reference Manual

ACS ACR30 Reference Manual

Smart card reader/writer w/ card eject
Hide thumbs Also See for ACR30:
Table of Contents

Advertisement

Version 3.2
11-2005
Unit 1008, 10th Floor, Hongkong International Trade and Exhibition Centre
1 Trademart Drive, Kowloon Bay, Hong Kong
Tel: +852 2796 7873
Fax: +852 2796 1286
Email: info@acs.com.hk
Website: www.acs.com.hk

Advertisement

Table of Contents
loading

Summary of Contents for ACS ACR30

  • Page 1 Version 3.2 11-2005 Unit 1008, 10th Floor, Hongkong International Trade and Exhibition Centre 1 Trademart Drive, Kowloon Bay, Hong Kong Tel: +852 2796 7873 Fax: +852 2796 1286 Email: info@acs.com.hk Website: www.acs.com.hk...
  • Page 2: Table Of Contents

    ACR30 Reference Manual version 3.2 November 2005 Contents Introduction..........................4 Features............................ 4 Supported Card Types ......................5 Memory-based smart cards (synchronous interface) (*) ..............5 Microcontroller-based smart cards (asynchronous interface) ............5 Smart Card Interface ....................... 6 Smart Card Power Supply VCC (C1) ....................6 Programming Voltage VPP (C6)......................
  • Page 3 ACR30 Reference Manual version 3.2 November 2005 9.2.1.4 WRITE_DATA (*) ..........................22 9.2.1.5 PRESENT_TRANSPORT_CODE (*)....................22 9.2.1.6 AUTHENTICATE_CARD_SLE4436 (firmware 2.10 onwards) (*)...........23 9.2.1.7 AUTHENTICATE_CARD_SLE5536 (firmware 2.10 onwards) (*)...........24 9.2.2 I2C-Bus cards (standard and extended addressing) (*) ................25 9.2.2.1 RESET (*)............................25 9.2.2.2 POWER_OFF (*)..........................25 9.2.2.3...
  • Page 4: Introduction

    NOTE - Although the ACR30 is a true card reader/writer as it can read and write smart cards, the terms card reader or reader will be used indifferently to refer to the ACR30, for the sake of readability and because these designations are commonly in use for this kind of devices.
  • Page 5: Supported Card Types

    0) and that particular mode is not supported by the ACR30, the reader will reset the card to set it to negotiable mode. If the card cannot be set to negotiable mode, the reader will reject the card.
  • Page 6: Smart Card Interface

    C2). 4.3 Card Type Selection The controlling PC has to always select the card type through the proper command sent to the ACR30 prior to activating the 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 carried out by the reader through the PPS when the card inserted in the reader supports both protocol types.
  • Page 7: Power Supply

    ACR30 Reference Manual version 3.2 November 2005 NOTE - The ACR30 does never by itself switch on the power supply to the inserted card. This must explicitly be done by the controlling computer through the proper command sent to the reader.
  • Page 8: Serial Interface

    Stop Bits Handshake through CTS The ACR30 provides two means to select the transmission speed (baud rate) used by the reader in the normal operation, by hardware and/or by software. 6.1.1 Hardware Baud Rate The default hardware baud rate setting is 9600 bps.
  • Page 9 PC send a command to the ACR30. NOTE - Communication problems between the ACR30 and a PC can occur if a 25 pin to 9 pin RS-232 adapter or a cable is used in which not all 9 signal lines are connected. Adapters supplied with computer mouse frequently have not all lines connected. For the...
  • Page 10: Usb Interface

    Reference voltage level for power supply NOTE - In order for the ACR30 functioning properly through USB interface, either ACS proprietary device drive or ACS PC/SC device driver has to be installed. Please refer to the Device Driver Installation Guide for more detail.
  • Page 11: Communication Protocol

    3.2 November 2005 8. Communication protocol In the normal operation, the ACR30 acts as a slave device with regard to the communication between a computer and the reader. The communication is carried out in the form of successive command-response exchanges.
  • Page 12: Extended Command

    8.2 Response The response from the ACR30 to any command depends if the command where received by the reader without error (e.g., checksum error). 8.2.1 No transmission error with normal response (Length < 255 bytes)
  • Page 13: No Transmission Error With Extended Response

    , respectively: byte 8.2.2 No transmission error with extended response The response by the ACR30 to a correctly received command consists of three protocol bytes, two status bytes and a variable number of data bytes and has the following structure: byte 7 ...
  • Page 14: Transmission Error

    8.2.3 Transmission error If the receiving party of a command (i.e., the ACR30) or a response (i.e., the computer) detects an error in the data length or the checksum of a command, it disregards the received data and sends a "NOT ACKNOWLEDGE"...
  • Page 15: Transmission Protocol

    ACR30 Reference Manual version 3.2 November 2005 volatile and will be lost with the next reader reset or power up. By default, the Card Status Message will be transmitted by the reader after a reset. The Card Status Messages have the following structure and contents:...
  • Page 16: Commands

    The commands executed by the ACR30 can generally be divided into two categories, namely, Control Commands and Card Commands. Control Commands control the internal operation of the ACR30. They do not directly affect the card inserted in the reader and are therefore independent of the selected card type.
  • Page 17: Set_Protocol

    The maximum number of data bytes that can be requested to be transmitted in a response. C_TYPE The card types supported by the ACR30. 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.
  • Page 18: Select_Card_Type

    ACR30 has sent out the response string to the SET_PROTOCOL command. 9.1.3 SELECT_CARD_TYPE This command sets the required card type. The firmware in the ACR30 adjusts the communication protocol between reader and the inserted card according to the selected card type.
  • Page 19: Reset

    ACR30 Reference Manual version 3.2 November 2005 9.1.4 RESET This section describes the RESET command only for the case when no card type is selected or when the card type 00 is selected. For all other cases, please refer to the specific section described for each individual card type.
  • Page 20: Card Commands

    9.2 Card Commands The available commands and the parameters specified in the card commands as well as the data transmitted in the response from the ACR30 depend on the selected card type. 9.2.1 '104' - type non-reloadable Token Counter Cards (*) 9.2.1.1 RESET (*)
  • Page 21: Power_Off (*)

    ACR30 Reference Manual version 3.2 November 2005 Command format Instruction Data length Code Response data format Four bytes Answer-To-Reset read from the card. The ATR bytes are read from the card with LSB first, i.e., the first bit read from the card is the LSB of the first ATR byte.
  • Page 22: Write_Data (*)

    Response data format No response data 9.2.1.5 PRESENT_TRANSPORT_CODE (*) To submit the transport code to the card in order to enable the card personalization mode. The following actions are executed by the ACR30:  Advanced Card Systems Ltd. Page 22 of 42...
  • Page 23: Authenticate_Card_Sle4436 (Firmware 2.10 Onwards) (*)

    '1' bit in the presentation counter and write the bit to '0' present the specified code to the card The ACR30 does not try to erase the presentation counter after the code submission! The application software through a separate ‘Write with carry’ command must do this.
  • Page 24: Authenticate_Card_Sle5536 (Firmware 2.10 Onwards) (*)

    CLK pulses for each bit of authentication data computed by the card read 16 bits of authentication data from the card reset the card to normal operation mode The ACR30 returns the 16 bits of authentication data calculated by the card in the response. Command format Instruction Data length...
  • Page 25: I2C-Bus Cards (Standard And Extended Addressing) (*)

    ACR30 Reference Manual version 3.2 November 2005 9.2.2 I2C-Bus cards (standard and extended addressing) (*) 9.2.2.1 RESET (*) This command powers up the card inserted in the card reader. No action is taken if the card is powered up when the command is being issued.
  • Page 26: Write_Data (*)

    ACR30 Reference Manual version 3.2 November 2005 Response data format BYTE 1 BYTE 2 BYTE 3 BYTE N BYTE x Data bytes read from the card memory 9.2.2.4 WRITE_DATA (*) To write the specified data bytes to the specified address of the card inserted.
  • Page 27: Siemens Sle 4432/4442 Intelligent 256 Byte Memory Card (*)

    ACR30 Reference Manual version 3.2 November 2005 9.2.3 Siemens SLE 4432/4442 intelligent 256 Byte Memory Card (*) 9.2.3.1 RESET (*) This command powers up the card inserted in the card reader and performs a card reset. If the card is powered up when the command is being issued, only a reset of the card is carried out, the power supply to the card is not switched off.
  • Page 28: Write_Data (*)

    ACR30 Reference Manual version 3.2 November 2005 Response data format BYTE 1 BYTE 2 BYTE 3 BYTE N PROT 1 PROT L BYTE x Data bytes read from the card memory PROT y Bytes containing the protection bits of the data bytes read (0...4 bytes)
  • Page 29: Write_Protection (*)

    To submit the secret code to the card to enable the write operation with the SLE 4442 card. The following actions are executed by the ACR30: search a '1' bit in the presentation error counter and write the bit to '0'...
  • Page 30: Change_Code (Only Sle 4442) (*)

    ACR30 Reference Manual version 3.2 November 2005 CODE The three bytes secret code read from the card. If the correct code has been presented to the card, the value of ERRCNT is 07 and the value of CODE is identical to the code data specified in the command.
  • Page 31: Siemens Sle 4418/4428 Intelligent 1K Byte Memory Card (*)

    ACR30 Reference Manual version 3.2 November 2005 9.2.4 Siemens SLE 4418/4428 intelligent 1K Byte Memory Card (*) 9.2.4.1 RESET (*) This command powers up the card inserted in the card reader and performs a card reset. If the card is powered up when the command is being issued, only a reset of the card is carried out, the power supply to the card is not switched off.
  • Page 32: Write_Data (*)

    ACR30 Reference Manual version 3.2 November 2005 Response data format BYTE 1 BYTE 2 BYTE 3 BYTE N PROT 1 PROT L BYTE x Data bytes read from the card memory PROT y Bytes containing the protection bits of the data bytes read (1...4 bytes)
  • Page 33: Present_Code (Only Sle 4428) (*)

    To submit the secret code to the card to enable the write operation with the SLE 4442 card. The following actions are executed by the ACR30: search a '1' bit in the presentation error counter and write the bit to '0'...
  • Page 34: Mcu-Based Card

    Answer-To-Reset as transmitted by the card according to ISO7816-3. NOTE - The ATR is only returned in the ACR30 response if the communication protocol of the card is compatible with the reader, i.e., if the card can be processed by the ACR30. Otherwise, the ACR30 returns an error status and deactivates the smart card interface.
  • Page 35: Exchange_T1_Frame

    Hence, only either Lc or Le can be greater than 0 in an EXCHANGE_APDU command when a T=0 card is in the reader. If both parameters have a value greater than 0, the ACR30 does not execute the command and returns an error status.
  • Page 36: Security Application Module (Sam) (**)

    Answer-To-Reset as transmitted by the card according to ISO7816-3. NOTE - The ATR is only returned in the ACR30 response if the communication protocol of the SAM is compatible with the reader, i.e., if the SAM can be processed by the ACR30. Otherwise, the ACR30 returns an error status and deactivates the SAM.
  • Page 37: Exchange_Sam_Apdu (**)

    Hence, only either Lc or Le can be greater than 0 in an EXCHANGE_SAM_APDU command when a T=0 card is in the reader. If both parameters have a value greater than 0, the ACR30 does not execute the command and returns an error status.
  • Page 38: Exchange_Sam_T1_Frame (**)

    ACR30 Reference Manual version 3.2 November 2005 9.2.6.4 EXCHANGE_SAM_T1_FRAME (**) To exchange an APDU (Application Protocol Data Unit) command/response pair between the SAM card inserted in the ACR30 and the host computer using T1 protocol. Command format Instruction Data length...
  • Page 39: Appendix A: Supported Card Types

    ACR30 Reference Manual version 3.2 November 2005 Appendix A: Supported Card Types The following table summarizes which values must be specified in the SET_CARD_TYPE command for a particular card type to be used, and how the bits in the response to the GET_ACR_STAT command correspond with the respective card types.
  • Page 40: Appendix B: Response Status Codes

    ACR30 Reference Manual version 3.2 November 2005 Appendix B: Response Status Codes The following table summarizes the possible status code bytes SW1, SW2 returned by the ACR30: Status OK – command successfully executed OK – using T=1 protocol (only in response to the RESET command) OK –...
  • Page 41: Appendix C: Technical Specifications

    Appendix C: Technical Specifications 67.0 56.0 91.6 16.9 Device ACR30 Smart Card Reader/Writer Power supply Supply voltage ........Regulated 5V DC Supply current.........< 100mA (without smart card) Serial Communication Interface Type..........RS-232C, five lines: RxD, TxD, CTS, DTR, GND Power source ........From PS/2 mouse interface Speed ..........9600 –...
  • Page 42: Advanced Card Systems Ltd

    ACR30 Reference Manual version 3.2 November 2005 Note: This device complies with Part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) This device must accept any interference received, including interference that may cause undesired operation.

Table of Contents