American Magnetics 152 Operation Instructions Manual

MODEL 152
Smart Card Reader
OPERATION INSTRUCTIO NS
8182760, REVISION G
Copyright© 1999, AXIOHM Transactio n Solutions, Inc. All Rights Reserved
Model 152 Smart Card Reader/Writer Operation Instructions
This equipment has been tested and found to comply with the limits for a class B digital device, pursuant to part 15 of the FCC rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation.
If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures:
Reorient or relocate the receiving antenna. Increase the separation between the equipment and receiver. Connect the equipment into an outlet on a circuit different from that to which the receiver
is connected.
Consult the dealer or an experienced radio/TV technician for help.
This equipment has been certified to comply with the limits for a class B computing device, pursuant to FCC Rules see Appendix H: Declaration of Conformity.
In order to maintain compliance with FCC regulations, shielded cables must be used with this equipment. Operation with non-approved equipment or unshielded cables is likely to result in interference to radio and TV reception.
The user is cautioned that changes and modifications made to the equipment without the approval of the manufacturer could void the user’s authority to operate this equipment.
Statement of Electromagnetic Compliance
This product has passed all electromagnetic interference and susceptibility testing
required by the European Community and thus bears the "CE" mark
This Class B Digital Apparatus meets all requirements of the Canadian Interference
Causing Equipment Regulations.
Notice
The information contained in this manual is subject to change without prior notification. Axiohm ­American Magnetics Division shall not be held liable for technical and editorial omissions or errors made herein; not for incidental, or consequential damages resulting from the furnishing, performance or use of this material. This document contains proprietary information protected by copyright. All rights are reserved. No part of this document may be photocopied without prior, written permission of Axiohm.
Trademarks
All terms used in this document that are known to be trademarks or service marks have been capitalized where appropriate. AMC cannot attest to the accuracy of this information. Use of a term should not be regarded as affecting the validity of any trademark or service mark.
8182760 Revision G Copyright Axiohm 1998 All Rights Reserved Page 2
Model 152 Smart Card Reader/Writer Operation Instructions
Table of Contents
FCC .........................................................................................................................................i
Statement of Electromagnetic Compliance...................................................................................i
Notice .........................................................................................................................................i
Trademarks..................................................................................................................................i
Table of Contents........................................................................................................................ii
Tables and Figures.....................................................................................................................iii
Chapter 1:
Appearance................................................................................................................. 1.1
Features......................................................................................................................1.1
Accessories................................................................................................................. 1.1
Other Documents of Interest........................................................................................ 1.2
Chapter 2:
Hardware ..................................................................................................................... 2.1
Configuration / Demo Software.................................................................................... 2.2
Technical Support........................................................................................................ 2.2
Chapter 3:
Transmission Parameters............................................................................................ 3.1
Host Protocols.............................................................................................................3.1
Chapter 4:
Transport layer ............................................................................................................ 4.1
Basic Frame Structure................................................................................................. 4.1
Commands.................................................................................................................. 4.2
USI2 Reader Command Details................................................................................... 4.2
Responses from Card Reader to the Host ................................................................... 4.5
Status Bytes ................................................................................................................ 4.5
Examples..................................................................................................................... 4.7
Introduction
Installation
Basic Operation
Power Cycle/Reset........................................................................................... 3.1
USI2 Protocol
Table 3 - USI2 Reader Commands..................................................................4.2
Table 5 - USI2 Card Commands...................................................................... 4.4
........................................................................................................... 1.1
............................................................................................................ 2.1
..................................................................................................... 3.1
........................................................................................................ 4.1
Chapter 5:
8182760 Revision G Copyright Axiohm 1998 All Rights Reserved Page iii
TLP-224 Protocol
Transport layer ............................................................................................................ 5.1
Response Operation Status Byte................................................................................. 5.2
Commands.................................................................................................................. 5.3
Table 14 - TLP-224 Reader Commands........................................................... 5.3
Table 16 - TLP-224 Card Commands............................................................... 5.5
Responses................................................................................................................... 5.6
Examples..................................................................................................................... 5.7
................................................................................................... 5.1
Model 152 Smart Card Reader/Writer Operation Instructions
Chapter 6: Chapter 7:
TLP-224Turbo Protocol
......................................................................................... 6.1
ISO TPDU Command/Response Structure
........................................................... 7.1
TPDU Command Structure.......................................................................................... 7.1
TPDU Response Structure .......................................................................................... 7.1
Chapter 8:
Memory Card Support
........................................................................................... 8.1
Commands Supported................................................................................................. 8.2
Appendix A:
Specifications
...................................................................................................A.1
Mechanical ..................................................................................................................A.1
Electrical......................................................................................................................A.1
Environmental..............................................................................................................A.4
Appendix B: FCC Declaration of Conformity...........................................................................B.1
Glossary.................................................................................................................................. C.1
Index D.1
8182760 Revision G Copyright Axiohm 1998 All Rights Reserved Page iv
Model 152 Smart Card Reader/Writer Operation Instructions
Tables and Figures
Table 1 - Power Jack............................................................................................................... 2.1
Table 2 - DB-9 Connector........................................................................................................2.1
Table 3 - USI2 Reader Commands ......................................................................................... 4.2
Table 4 - Memory Card Types................................................................................................. 4.3
Table 5 - USI2 Card Commands.............................................................................................4.4
Table 6 - Responses from Card Reader to the Host................................................................ 4.5
Table 7 - First Status Byte .................................................................................................... 4.5
Table 8 - Second Status Byte.................................................................................................. 4.5
Table 9 - Response to Configuration Request......................................................................... 4.6
Table 10 - USI2 Reader Commands Example......................................................................... 4.7
Table 11 - USI2 Card Commands Example, Microprocessor Card (Solaic PocketBook .......... 4.8
Table 12 - USI2 Card Commands Example, Memory Card (AT24C01A)................................. 4.8
Table 13 - TLP-224 Operation Status Bytes............................................................................ 5.2
Table 14 - TLP-224 Reader Commands.................................................................................. 5.3
Table 15 - TLP-224 LED Control Byte..................................................................................... 5.4
Table 16 - TLP-224 Card Commands...................................................................................... 5.5
Table 17 - TLP-224 Reader Status Byte Format...................................................................... 5.6
Table 18 - TLP-224 Reader Commands Example................................................................... 5.7
Table 19 - TLP-224 Card Commands Example, Microprocessor Card (Solaic PocketBook).... 5.9
Table 20 - TLP-224 Card Commands Example, Memory Card (AT24C01A)........................... 5.9
Table 21 - Memory Card Commands Supported.....................................................................8.2
Table 22 - Electrical Power Requirements...............................................................................A.1
Figure 1 - Dimensions Part 1 ...................................................................................................A.2
Figure 2 - Dimensions Part 2 ...................................................................................................A.3
Table 23 - Environmental Requirements .................................................................................A.4
8182760 Revision G Copyright Axiohm 1998 All Rights Reserved Page v
Model 152 Smart Card Reader/Writer Operation Instructions
Chapter 1:
This booklet describes the requirements, operation, and usage of the Model 152 Smart Card
Reader/Writer (the “reader”). This booklet should be read and understood prior to initial operation of the reader.
Introduction
Appearance
The Model 152 is a manually operated insert reader for Smart Cards. The reader is contained in an attractive plastic housing which allows easy insertion and withdrawal of smart cards. It may be used with or without its base. The housing is suitable for desk top, cabinet top, and cabinet side mounting.
Features
ISO 7816 compliant. Supports Microprocessor Cards requiring a variety of f/d ratios (speeds). Supports a minimum speed of 1920 bps and a top speed of 38400 bps, with various speeds in between.
Reads and writes Microprocessor Cards using either T=0 or T=1 protocol.*
RS232 compatible.
Reads and writes a variety of Memory Cards.
Capable of accessing up to 8 Secure Application Module (SAM) cards in addition to the card in the User Connector.
Can use one of three communication protocols to talk with the host: AMC USI2, TLP-224, or TLP-224Turbo.
Gives the host full control over the LEDs.
Allows the host to interrogate the device about current status and configuration information.
Accessories
A power supply AC/DC adaptor is available which complies with your local power requirements.
Smart Card prototyping and training software for learning and demonstrating capabilities of Smart Card technology using the Model 152.
Local Connector (LSAM) for a Secure Application Module (SAM), in the GSM size. This accessory must be specified when ordering the reader, it is not field upgradable.
CTS for flow control. This option allows the host to block transmission from the reader. This option must be specified when ordering the reader, it is not field upgradable.
External SAM boxes allowing access of up to seven additional SAM cards.
Axiohm - American Magnetics Division is committed to working with users to meet their special requirements.
* Supports T=1 cards with using LRCs in the EDC field.
8182760 Revision G Copyright Axiohm 1998 All Rights Reserved Page 1.1
Model 152 Smart Card Reader/Writer Operation Instructions
Other Documents of Interest
ISO 7816-3 Identification Cards - Integrated circuit(s) cards with contacts
Part 2: Part 3:
Part 4:
Dimension and location of the contacts (1988) Electronic signals and transmission protocols (1989)
Amendment 1:
Protocol type T=1, asynchronous half duplex
block transmission protocol
Amendment 2:
Revision of protocol type selection
Interindustry commands for interchange
8182760 Revision G Copyright Axiohm 1998 All Rights Reserved Page 1.2
Model 152 Smart Card Reader/Writer Operation Instructions
Chapter 2:
Installation
Hardware
1. Attach a suitable (See electrical specifications) power supply to the DB-9 connector and to
a wall socket.
2. A 6 foot (1.8 meter) cable terminated with a female DB-9 connector is permanently attached to the reader. The DB-9 housing has a power jack with a 2.1 mm diameter center pin as positive polarity. See electrical specifications for power requirements.
3. Attach the DB-9 connector to a suitable RS232 connector on your host system. See tables 1 and 2 below for the cable pinouts.
4. Mount the reader in a suitable location for your application. You may use the included rubber feet, velcro, or slotted screw mounts as desired. The base may be separated from the body of the reader by squeezing the sides of the base and pulling.
Table 1 - Power Jack
CenterPin +Vin IN
Blade Circuit Ground ----
Table 2 - DB-9 Connector
1 Not Used --­2TXD OUT 3RXD IN 4 Not Used --­5 Circuit Gnd --­6 Not Used --­7CTS IN 8 Not Used --­9 Not Used ---
Case Chassis Gnd ---
8182760 Revision G Copyright Axiohm 1998 All Rights Reserved Page 1.1
Model 152 Smart Card Reader/Writer Operation Instructions
Configuration / Demo Software
The Model 152 ships from the factory with certain default conditions. These defaults can be changed by running the configuration program (available from American Magnetics
Axiohm
) which may be used to change certain operational conditions.
Using the demo/configuration program is easy, simply launch it from a Microsoft Windows® environment and follow the instructions. You will need to know to which serial communication port the reader is attached (e.g COM1). The configuration program will lead you through a series of steps to complete your configuration successfully. Once configured, the reader retains the new configuration in its permanent memory.
The configuration program also contains a demonstration mode. From the main screen simply click on a command to execute and click on the execute button.
To configure the reader click on the configure button. When you have finished selecting the configuration options, simply click the done tab and click on the OK - write to the EEPROM button to update the EEPROM and return to the main screen.
The demo allows you to explore all the functions of the Model 152.
Division of
Technical Support
For technical support, call Axiohm - American Magnetics Division at one of the phone numbers found on the back cover of this manual.
8182760 Revision G Copyright Axiohm 1998 All Rights Reserved Page 1.2
Model 152 Smart Card Reader/Writer Operation Instructions
Chapter 3:
Basic Operation
Transmission Parameters
Each character is transmitted using 8 data bits, no parity, and 1 stop bit. The factory default speed is 9600 bps. Other speeds may be chosen using the configuration
program. The other speeds are: 38400, 19200, 4800, 2400, and 1200 bps.
Host Protocols
The Model 152 supports three communications protocols to talk with the host. They are: USI2, TLP-224, TLP-224Turbo
USI2 is a proprietary protocol developed by Axiohm - American Magnetics which has features allowing it to be used for multi-dropping and for large (up to 64K bytes) messages. Though the Model 152 does not support multi-dropping at this time, a future variation of the device may.
TLP-224 is a protocol used by several manufacturers of Smart Card devices. There are a core set of functions defined, which, if used exclusively, provide for plug compatibility between
different manufacturer’s readers. The AMC implementation has all of the core functions plus a few more which you may use at your discretion.
TLP-224Turbo is an AMC originated variant of the TLP-224 protocol. The standard TLP-224 protocol requires each byte to be split into two ASCII readable bytes for transmission. This effectively doubles the communication time for each message. The TLP-224Turbo protocol corrects this problem by simply not splitting bytes. If you like TLP-224, but don’t like its speed, you may want to try TLP-224Turbo.
Power Cycle/Reset
Cycling the power to the Model 152 will cause the device to loose the contents of volatile memory, including the information on the current card and selected connector.
When power is restored the device checks the validity of the EEPROM to make sure they are functioning correctly. The host needs to set all the parameters stored in volatile memory before resuming.
8182760 Revision G Copyright Axiohm 1998 All Rights Reserved Page 1.1
Model 152 Smart Card Reader/Writer Operation Instructions
Chapter 4:
USI2 Protocol
Transport layer
Each message sent to or from the reader must be formatted according to the protocol rules. A maximum of 100 milliseconds is allowed between successive bytes of a message; if more
than 100 ms passes without a new byte, the message is considered spurious and is ignored. The receiver then starts to look for a new message.
Basic Frame Structure
Header Data Trailer
SOH ADDR LENH LENL COMMAND or RESPONSE BCC
OR
Header Data Trailer
SOH ADDR LENH LENL COMMAND or RESPONSE EOT BCC
SOH is the value 01H and is used to signal the start of a message ADDR is the address of the intended recipient. The host is always address 00H. Each reader
may be assigned a different address if desired. Readers will ignore messages sent to other addresses. The factory default address is 00H. This address feature is meant for future use in multi-drop configurations.
LENH and LENL give the length of the Data portion of the message. Together they are
considered as an integer with LENH as the high order portion and LENL as the low order portion. If the value of LENH and LENL are both zero, the length of the Data portion is determined by the presence of the EOT byte.
COMMAND is the message being sent. This is either a command to the reader or a response
from the reader. If LENH and LENL are not both equal to zero, any values may be sent in the COMMAND field. If LENH and LENL are both zero, any value except the EOT character may be sent as part of COMMAND.
EOT is optional. It is present only in messages where LENH and LENL are both equal to zero.
In these messages, EOT signals the end of the Data portion of the message. The value of EOT is 04H.
BCC is the block check character. Its value is computed by exclusive oring the value of all
preceding bytes in the message, back to and including the SOH byte.
Commands
8182760 Revision G Copyright Axiohm 1998 All Rights Reserved Page 1.1
Model 152 Smart Card Reader/Writer Operation Instructions
There are two types of commands which can be sent to the reader. The first type is used to manipulate the reader (LEDs, status, etc.). The second type is used to manage I/O with cards. Tables 3 & 5 show the commands of each type.
Table 3 - USI2 Reader Commands
ASCII HEX Name Use
% 25 Retransmit Retransmits the last message again 9 39 Version Report Transmits Version String DEL 7F Warm Reset Simulates power cycle $24
Reader Status Request
Transmits Reader Status Bytes
(see Tables 7 & 8) L 4C Green LED ON Turns on Green LED l 6C Green LED OFF Turns off Green LED ( 28 Green LED FLASH Flashing Green LED (Firmware Beta 2.22 &
later) M 4D Red LED O N Turns on Red LED m 6D Red LED O FF Turns off Red LED ) 29 Red LED FLASH Flashing Red LED (Firmware Beta 2.22 & later) C 43 Select Card Connector Selects the card connector to be used with the
following card I/O commands T 54 Memory Card Type
Select
Selects the type of Memory Card for use with the
following Memory Card Commands 8 38 Switch Report Read and report state of card seated switch
(Firmware Beta 2.22 & later) # 23 Configuration Request Transmits Reader Configuration Bytes
USI2 Reader Command Details
Retransmit Command. Use this command when you detect a communication error in a
message received from the reader. The reader will re-transmit the last response it transmitted before this request. The host may request re-transmits as many times as it likes.
Version Report. Use this Command when you want to know the version of the Model 152 firmware currently loaded. The response is an ASCII string giving the firmware ID.
Warm Reset. Use this command when you want the reader to simulate a power cycle. As on any power up, the Power Up Message will be sent by the reader.
8182760 Revision G Copyright Axiohm 1998 All Rights Reserved Page 1.2
Model 152 Smart Card Reader/Writer Operation Instructions
Reader Status Request. Use this command to interrogate the reader about its operational status. Two bytes of status information will be returned. ICC Power and Card Seated bits refer to the currently selected card connector. Card Seated is only meaningful for the User Connector. See Tables 7 & 8 for an interpretation guide for these bytes.
LED Commands. Use these commands to manipulate the LEDs on the reader (Firmware Beta
2.22 & later has flashing mode). Select Card Connector. The Model 152 supports up to 9 card connectors. This command tells
the reader which connector is to be used with succeeding Card I/O Commands. The User Connector (the only one the user can see) is number 0, and is always selected after a power cycle. The Local Sam (GSM connector) is number 1. The remote SAM box contains up to 7 more connectors, numbered 2-8. The byte following the command byte codes the Connector number.
Memory Card Type Select. This command is used to specify the type of Memory Card to be accessed through the User Connector. The byte following the command byte codes the card type. Table 4 shows the card types, type 0 is the factory default. The default type (always in effect after power up) is selectable via the configuration program. By using type 0, a read of the first four bytes (0-3) will always give the ISO 7816 defined ATR for synchronous cards if the card in the connector conforms to the ISO standard. A user may be able to use the information in the ATR to determine card type.
Table 4 - Memory Card Types
TYPE CARDS
00H Siemens SLE4406, SLE4436, SGS Thomson ST1305, Solaic E192B 01H Siemens SLE4418, SLE4428 02H Siemens SLE4404, GemPlus GPM416-5V, GPM896, Atmel AT88SC101,
AT88SC102, Incard MS101, MS102, AMMI AM0101, AM0102 03H Siemens SLE4432, SLE4442 04H 3 Byte I2C Protocol, Atmel AT24C01a - AT24C16, SGC Thomson ST14C02C 05H 4 Byte I2C Protocol, Microchip 24LC65 06H Xicor X76F041* 07H Xicor X76F640*
Configuration Request This command is used to obtain a configuration response which gives details of the current configuration in the reader. See Table 9 for format and interpretation of the response.
Switch Report. This command will return a “p” (hex 70) if no card is inserted or “s” if a card is inserted. In automatic response mode the reader will send either “p” or “s” whenever the state of the switch changes (Firmware Beta 2.22 & later).
8182760 Revision G Copyright Axiohm 1998 All Rights Reserved Page 1.3
Loading...
+ 30 hidden pages