ACS ACR 38 Reference Manual

ACS ACR 38 Reference Manual

Smart card reader/writer
Table of Contents

Advertisement

Quick Links

Reference Manual
ACR38 Smart Card Reader/Writer
Advanced Card Systems Ltd.
Website: www.acs.com.hk
Email: info@acs.com.hk

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the ACR 38 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for ACS ACR 38

  • Page 1 Reference Manual ACR38 Smart Card Reader/Writer Advanced Card Systems Ltd. Website: www.acs.com.hk Email: info@acs.com.hk...
  • Page 2: Table Of Contents

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Contents Introduction..........................4 Features............................ 4 Supported card types......................5 Microcontroller-based smart cards (asynchronous interface) ............5 Memory-based smart cards (synchronous interface) .................
  • Page 3 A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r 8.2.4.6 VERIFY_AUTHENTICATION ....................24 8.2.5 Memory Card – ATMEL AT88SC1608 ..................25 8.2.5.1 SELECT_CARD_TYPE ......................
  • Page 4: Introduction

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Introduction The ACS Smart Card Reader/Writer ACR38 is 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.
  • Page 5: Supported Card Types

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Supported card types The ACR38 can operate MCU cards with T=0 and T=1 protocol in its main card slot. Microcontroller-based smart cards (asynchronous interface) The ACR38 supports EEPROM microcontroller-based cards with internal programming voltage (VPP) generation and the following programming parameters transmitted in the ATR:...
  • Page 6: Smart Card Interface

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Smart Card Interface The interface between the ACR38 and the inserted smart card follows the specifications of ISO7816-3 with certain restrictions or enhancements to increase the practical functionality of the ACR38.
  • Page 7: Power Supply

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Power Supply The ACR38 requires a voltage of 5V DC, 100mA regulated power supply. The ACR38 gets the power supply from the PC (through the cable supplied along with each type of reader).
  • Page 8: Usb Interface

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

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Communication protocol In the normal operation, the ACR38 acts as a slave device with regards to the communication between a computer and the reader.
  • Page 10: Card Status Message

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Byte 5 ... N+4 (N>0) Header Status Data Length = N Data Data Length N Header Always 01 to indicate the start of the response.
  • Page 11: Commands

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Commands The commands executed by the ACR38 can generally be divided into two categories, namely, Control Commands and Card Commands.
  • Page 12: Select_Card_Type

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r : card inserted, not powered up : card powered up SELECT_CARD_TYPE This command sets the required card type. The firmware in the ACR38 adjusts the communication protocol between reader and the inserted card according to the selected card type.
  • Page 13: Set_Card_Pps

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length SET_CARD_PPS This command sends PPS Request to the smart card. This command should work in pair with SET_READER_PPS.
  • Page 14 A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r PPS Response PPS Response received from the card (Please refer to ISO/IEC 7816-3:1997 Section 7 for details of PPS response).
  • Page 15: Card Commands

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Card Commands The available commands and the parameters specified in the card commands as well as the data transmitted in the response from the ACR38 depend on the selected card type.
  • Page 16: Power_Off

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length ……… Answer-To-Reset as transmitted by the card according to ISO7816-3. NOTE - The ATR is only returned in the ACR38 response if the communication protocol of the card is compatible with the reader, i.e., if the card can be processed by the ACR38.
  • Page 17: Exchange_Tpdu_T1

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length BYTE 1 … … BYTE N BYTE x Response data from card (if any).
  • Page 18: Select_Page_Size

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Command format Header Instruction Data length Data Card Type Response data format Header Status Data length BYTE 1...
  • Page 19: Read_Memory_Card

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r READ_MEMORY_CARD Command format Header Instruction Data length Data Byte Address MEM_L Byte Address Memory address location of the memory card. MEM_L Length of data to be read from the memory card.
  • Page 20: Memory Card - 32,64,128,256,512,1024 Kbit I2C Card

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Memory Card – 32,64,128,256,512,1024 kbit I2C card SELECT_CARD_TYPE This command powers down and up the selected card inserted in the card reader and performs a card reset. Notes: This command must be the first command after card insertion! Command format Header...
  • Page 21: Read_Memory_Card

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length SW1, SW2 = 90 if no error READ_MEMORY_CARD Command format Header...
  • Page 22: Memory Card - Atmel At88Sc153

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length SW1, SW2 = 90 if no error Memory Card –...
  • Page 23: Write_Memory_Card

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length BYTE 1 … … BYTE N BYTE x Data read from memory card SW1, SW2 = 90...
  • Page 24: Initialize_Authentication

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Pw(0),Pw(1),Pw(2) Passwords to be sent to memory card. = 0000 00rp where the two bits “rp” indicate the password to compare r = 0 : Write password, r = 1: Read password, p: Password set number,...
  • Page 25: Memory Card - Atmel At88Sc1608

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Memory Card – ATMEL AT88SC1608 SELECT_CARD_TYPE This command powers down and up the selected card inserted in the card reader and performs a card reset. It will also select the page size to be 16-byte page write.
  • Page 26: Write_Memory_Card

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length BYTE 1 … … BYTE N BYTE x Data read from memory card SW1, SW2 = 90...
  • Page 27: Verifty_Password

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r VERIFTY_PASSWORD Command format Header Instruction Data length Data Data Pw(0) Pw(1) Pw(2) Pw(0),Pw(1),Pw(2) Passwords to be sent to memory card.
  • Page 28: Verify_Authentication

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r VERIFY_AUTHENTICATION Command format Header Instruction Data length Data Q1(0) Q1(1) … Q1(7) Byte Address Memory address location of the memory card. Q1(0),Q1(1)…Q1(7) Host challenge, 8 bytes.
  • Page 29: Read_Memory_Without_Protect_Bit_Card

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r MSB Byte Address = 0000 00A is the memory address location of the memory card. LSB Byte Address is the memory address location of the memory card.
  • Page 30: Write_Memory_Card

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length BYTE 1 … … BYTE N BYTE x Data read from memory card SW1, SW2 = 90...
  • Page 31: Present_Code_Memory_Card (Only Sle 5528)

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r = 5 + MEM_L MEM_L Length of data to be written to the memory card. Byte x Byte values to be compared with the data in the card starting at Byte Address.
  • Page 32 A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Command format Header Instruction Data length Data MEM_L Response data format Header Status Data length ERRCNT DUMMY 1...
  • Page 33: Memory Card - Sle4432/5542

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Memory Card – SLE4432/5542 SELECT_CARD_TYPE This command powers down and up the selected card inserted in the card reader and performs a card reset. Notes: This command must be the first command after card insertion! Command format Header...
  • Page 34: Write_Memory_Card

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length BYTE 1 … … BYTE N PROT 1 PROT 2 PROT3...
  • Page 35: Present_Code_Memory_Card (Only Sle 5542)

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Command format Header Instruction Data length Data Byte MEM_L Byte 1 ..Byte N Address Byte Address = 000A...
  • Page 36: Read_Presentation_Error_Counter_Memory_Card (Only Sle 5542)

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length ERRCNT CODE Byte 1 Byte 2 Byte 3 ERRCNT The value of the presentation error counter after the code presentation.
  • Page 37 A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length SW1, SW2 = 90 if no error ACR38 Reference Manual Page 37 of 44 Version 2.2 January 2008...
  • Page 38: Memory Card - Sle4406/4436/5536

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Memory Card – SLE4406/4436/5536 Only ACR38 reader with firmware v1.10 onwards can support this memory card type SLE4406/4436/5536. SELECT_CARD_TYPE This command powers down and up the selected card inserted in the card reader and performs a card reset.
  • Page 39: Write_One_Byte_Memory_Card

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length BYTE 1 … … BYTE N BYTE x Data read from memory card SW1, SW2 = 90...
  • Page 40: Present_Code_Memory_Card

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Command format Header Instruction Data length Data Byte MEM_L MODE BYTE Address Byte Address = Memory address location of the memory card. = 5 + MEM_L MODE Specifies the write mode and backup option...
  • Page 41: Authenticate_Memory_Card (Sle4436 And Sle5536 Only)

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Response data format Header Status Data length SW1, SW2 = 90 if no error AUTHENTICATE_MEMORY_CARD (SLE4436 and SLE5536 only) To read a card authentication certificate from a SLE5536 card.
  • Page 42: Appendix A: Supported Card Types

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r 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 43: Appendix B: Response Status Codes

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r Appendix B: Response Status Codes The following table summarizes the possible status code returned by the ACR38: Status Code Status OK –...
  • Page 44: Appendix C: Technical Specifications

    A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r 19.0 96.5 73.0 Appendix C: Technical Specifications Device ACR38 Smart Card Reader/Writer Universal Serial Bus Interface Type..........USB full speed, four lines: +5V, GND, D+ and D- Power source........From USB Speed ..........12 Mbps...

Table of Contents