SCM Microsystems @MAXX prime User manual

Reference Manual – version 1.1
@MAXX prime
Multifunctional token (smartcard, microSD, flash, antenna)
type A on request

Reference manual
@MAXX prime (contact smartcard reader,
microSD reader, masstorage, RF-antenna, female
USB extension) USB-Stick
© SCM Microsystems
Oskar-Messter-Strasse, 13
85737 Ismaning
Germany
Phone +49 89 9595 5000 • Fax +49 89 9595 5555

Document history
Date Version Description of change Responsible
person
11/05/2009 0.1 Creation Stephan Rasch
03/06/2009 1.0 Reviewed version Stephan Rasch
08/06/2009 1.1 Reviewed version Stephan Rasch
Approved version
Contact information
http://www.scmmicro.com/products-services/smart-card-readers-terminals/multifunctional-
token.html
For sales information, please email sales@scmmicro.com

@MAXX
PRIME
R
EFERENCE
M
ANUAL
T
ABLE
O
F
C
ONTENTS
4
Table of Contents
1.
Legal information ............................................................................................................... 6
1.1.
Disclaimers.....................................................................................................................6
1.2.
Licenses ......................................................................................................................... 6
1.3.
Trademarks .................................................................................................................... 6
2.
Introduction to the manual .................................................................................................7
2.1.
Objective of the manual ................................................................................................. 7
2.2.
Target audience ............................................................................................................. 7
2.3.
Product version corresponding to the manual ...............................................................7
2.4.
Definition of various terms and acronyms ......................................................................7
2.5.
References .....................................................................................................................8
2.6.
Conventions ...................................................................................................................8
3.
General information about @MAXX prime ...................................................................... 10
3.1.
@MAXX prime key benefits ......................................................................................... 10
3.2.
@MAXX prime key features......................................................................................... 10
3.3.
@MAXX prime ordering information ............................................................................ 10
3.4.
@MAXX prime customization options.......................................................................... 11
3.5.
Hardware features and their principle usage ............................................................... 11
3.5.1.
Contact Smart Card Reader ................................................................................. 12
3.5.2.
Internal RF antenna .............................................................................................. 14
3.5.3.
Micro SD-Card Reader ......................................................................................... 15
3.5.4.
Embedded Flash................................................................................................... 15
3.5.5.
USB extension slot................................................................................................ 15
3.6.
Applications .................................................................................................................. 16
3.6.1.
General ................................................................................................................. 16
3.6.2.
Applications provided by SCM Microsystems....................................................... 18
4.
@MAXX prime characteristics ......................................................................................... 19
4.1.
@MAXX prime high level architecture ......................................................................... 19
4.1.1.
Block diagram ....................................................................................................... 19
4.2.
Quick reference data .................................................................................................... 21
4.2.1.
@MAXX prime dimensions ................................................................................... 21
4.2.2.
@MAXX prime A dimensions ............................................................................... 21
4.2.3.
LED behavior ........................................................................................................ 21
4.2.4.
Other data ............................................................................................................. 22
5.
Software modules ............................................................................................................ 23
5.1.
Installation .................................................................................................................... 23
5.2.
Utilities .......................................................................................................................... 23
5.3.
Driver ............................................................................................................................ 23
5.3.1.
@MAXX listing ...................................................................................................... 23
5.3.2.
Supported operating systems ............................................................................... 23
5.4.
Firmware ...................................................................................................................... 24

@MAXX
PRIME
R
EFERENCE
M
ANUAL
T
ABLE
O
F
C
ONTENTS
5
5.4.1.
CCID transport protocol ........................................................................................ 24
List of CCID bulk messages supported ............................................................................... 24
List of CCID bulk messages not supported......................................................................... 24
6.
Commands description .................................................................................................... 26
6.1.
Escape commands for the contact interface ................................................................ 26
6.1.1.
Sending escape commands to @MAXX prime .................................................... 26
6.1.2.
Escape command codes....................................................................................... 26
6.1.3.
CCID_ESC_GETINFO.......................................................................................... 27
6.1.4.
CCID_ESC_SETMODE ........................................................................................ 27
6.1.5.
CCID_ESC_GETMODE........................................................................................ 27
6.1.6.
CCID_ESC_GET_FW_VERSION ........................................................................ 28
6.1.7.
CCID_ESC_SET_POWER_ON_RESET_ORDER............................................... 28
6.1.8.
CCID_ESC_EMV_LOOPBACK ............................................................................ 28
6.1.9.
CCID_ESC_APDU_TRANSFER .......................................................................... 28
6.1.10.
CCID_ESC_CLK_FREQUENCY .......................................................................... 29
6.1.11.
CCID_ESC_GET_SET_ETU ................................................................................ 29
6.1.12.
CCID_ESC_GET_SET_WAITTIME...................................................................... 29
6.1.13.
CCID_ESC_GET_SET_GUARDTIME.................................................................. 30
6.1.14.
CCID_ESC_GET_SET_EGT ................................................................................ 30
6.1.15.
CCID_ESC_GET_SET_ATR_TIMEOUT.............................................................. 30
6.1.16.
CCID_ESC_POWER ............................................................................................ 30
6.1.17.
CCID_ESC_ROUGH_TANSFER.......................................................................... 31
6.1.18.
CCID_ESC_GET_SET_PROTOCOL ................................................................... 31
6.1.19.
CCID_ESC_GET_SET_TA1_RFU ....................................................................... 31
7.
Annexes ........................................................................................................................... 32
7.1.
Annex A – Status words table ...................................................................................... 32
7.2.
Annex B – Sample code using escape commands through Escape IOCTL ............... 32

@MAXX
PRIME
R
EFERENCE
M
ANUAL
6
1.Legal information
1.1. Disclaimers
The content published in this document is believed to be accurate. SCM Microsystems does
not, however, provide any representation or warranty regarding the accuracy or completeness
of its content and regarding the consequences of the use of information contained herein. If this
document has the status “Draft”, its content is still under internal review and yet to be formally
validated.
SCM Microsystems reserves the right to change the content of this document without prior
notice. The content of this document supersedes the content of previous versions of the same
document. The document may contain application descriptions and/or source code examples,
which are for illustrative purposes only. SCM Microsystems gives no representation or warranty
that such descriptions or examples are suitable for the application that the reader may want to
use them for.
Should you notice problems with the provided documentation, please provide your feedback to
support@scmmicro.com.
1.2. Licenses
If the document contains source code examples, they are provided for illustrative purposes only
and subject to the following restrictions:
•
You MAY at your own risk use or modify the source code provided in the document
in applications you may develop. You MAY distribute those applications ONLY in
form of compiled applications.
•
You MAY NOT copy or distribute parts of or the entire source code without prior
written consent from SCM Microsystems.
•
You MAY NOT combine or distribute the source code provided with Open Source
Software or with software developed using Open Source Software in a manner that
subjects the source code or any portion thereof to any license obligations of such
Open Source Software.
If the document contains technical drawings related to SCM Microsystems products, they are
provided for documentation purposes only. SCM Microsystems does not grant you any license
to its designs.
1.3. Trademarks
MIFARE is a registered trademark of NXP Semiconductors BV.
Windows is a trademark of Microsoft Corporation.
MAC is a trademark of Apple Corporation.

@MAXX
PRIME
R
EFERENCE
M
ANUAL
7
2.Introduction to the manual
2.1. Objective of the manual
This manual provides an overview of the hardware and software features of the @MAXX prime
(contact smartcard reader, microSD reader, mass storage, RF-antenna, female USB extension)
reader, hereafter referred to as “@MAXX prime”.
This manual describes in details interfaces and supported commands available for developers
using @MAXX prime in their applications.
2.2. Target audience
This document describes the technical implementation of @MAXX prime.
The manual targets software developers.
Should you have questions, you may send them to support@scmmicro.com .
2.3. Product version corresponding to the manual
Item Version
Hardware SD-03-M-Ver-F
Firmware (SIM) 2.02
Windows Driver
(PC/SC)
4.41
MAC OS Driver
(PC/SC)
5.0.6
WinCE Driver for
SIM interface
3.14
Linux Driver for
SIM Interface
5.0.2
2.4. Definition of various terms and acronyms
Term Expansion
APDU Application Protocol Data Unit
ATR Answer to Reset, defined in ISO/IEC 7816
ATS Answer to select, defined in ISO/IEC 14443
Byte Group of 8 bits
CCID Chip Card Interface Device
CID Card Identifier
CL Contactless
DFU Device Firmware Upgrade
DR Divider receive: used to determine the baud rate between the reader to the card
DS Divider send: used to determine the baud rate between the card to the reader
LED Light emitting diode
MIFARE is the NXP Semiconductors (a spin-off company formed out of Philips Semiconductors)-
owned trademark of the reputedly most widely installed contactless smartcard
NA Not applicable
NAD Node Address
Nibble Group of 4 bits. 1 digit of the hexadecimal representation of a byte.
Example: 0xA3 is represented in binary as (10100011)b. The least significant nibble is 0x3
or (0011)b and the most significant nibble is 0xA or (1010)b

@MAXX
PRIME
R
EFERENCE
M
ANUAL
8
PCD Proximity Coupling Device
PC/SC Personal Computer/Smart Card: software interface to communicate between a PC and a
smart card
PICC Proximity Integrated Chip Card
PID Product ID
Proximity Distance coverage in the range of 5cm
PUPI Pseudo unique PICC identifier
RFU Reserved for future use
RF Radio Frequency
STCII Smart card reader controller ASIC from SCM Microsystems
USB Universal Serial Bus
VID Vendor ID
(xyz)b Binary notation of a number x, y, z ∈{0,1}
0xYY The byte value YY is represented in hexadecimal
2.5. References
Doc ref in the
manual
Description Issuer
ISO/IEC 7816-3
Identification cards — Integrated circuit
cards — Part 3: Cards with contacts — Electrical
interface and transmission protocols
ISO / IEC
ISO/IEC 7816-4 Identification cards - Integrated circuit(s) cards
with contacts
Part 4: Interindustry commands for interchange
ISO/IEC 7816-4: 1995 (E)
ISO / IEC
ISO/IEC 14443-
3
Identification cards — Contactless
integrated circuit(s) cards — Proximity
cards — Part 3: Initialization and anticollision
ISO / IEC
ISO/IEC 14443-
4
Identification cards — Contactless integrated
circuit(s) cards — Proximity cards
Part 4: Transmission protocol ISO/IEC 14443-
4:2001(E)
ISO / IEC
PC/SC Interoperability Specification for ICCs and
Personal Computer Systems v2.01
PC/SC Workgroup
CCID Specification for Integrated Circuit(s) Cards
Interface Devices 1.1
USB-IF
USB Universal Serial Bus Specification 2.0 USB-IF
2.6. Conventions
Bits are represented by lower case ‘b’ where followed by a numbering digit.
Bytes are represented by upper case ‘B’ where followed by a numbering digit.
Example:

@MAXX
PRIME
R
EFERENCE
M
ANUAL
9
163 decimal number is represented
•
in hexadecimal as 0xA3
•
in binary as (10100011)b
The least significant nibble of 0xA3 is
•
0x3 in hexadecimal
•
(0011)b in binary
The most significant nibble of =xA3 is
•
0xA in hexadecimal
•
(1010)b in binary

@MAXX
PRIME
R
EFERENCE
M
ANUAL
10
3.General information about @MAXX prime
3.1. @MAXX prime key benefits
The @MAXX prime is an all-in-one device and the flagship of the @MAXX token family.
Designed as a USB-stick the @MAXX prime is portable and can be connected to stationary
PCs as well as Laptops. In addition to the normal smartcard reader the internal RF antenna
converts the normal USB-stick together with a dual interface smartcard to a portable mobile
passive NFC token. The microSD card slot creates an additional possibility to enlarge the
existing embedded storage. The downstream port allows users to connect USB Low Speed
devices having the slim USB connector. The typical application field of the @MAXX prime is the
combination of physical and logical access within one device.
3.2. @MAXX prime key features
•
8-pin, ISO7816 compliant contact smart card reader for ID-000 smartcards
oPC/SC v2.0 compliant
oCCID compatible
•
Unique serial number for the Mass Storage interface
•
Can be plugged into any USB slot on a PC without having to re-install the driver.
•
Supports MicroSD cards up to 8GB
•
embedded flash memory 1GB (up to 4 GB on request)
•
internal passive RF-antenna connected to C4/C8 of the smartcard connector
•
High-Speed downstream port for connecting low speed USB devices (with slim USB
interface)
•
3.3. @MAXX prime ordering information
Item Part number
@MAXX prime
@MAXX prime A
905024
905111
Contact SDK 905129 SDK for Contact SmartCard

@MAXX
PRIME
R
EFERENCE
M
ANUAL
11
3.4. @MAXX prime customization options
Upon request, SCM can customize:
•
The color of the casing
•
The logo
•
The product label
•
The USB strings for the Mass Storage Device
•
Flash memory capacity
Terms and conditions apply, please contact your local SCM representative or send an email to
sales@scmmicro.com.
3.5. Hardware features and their principle usage
The @MAXX prime is a multifunctional token device, which can be used within a big application
field. It can be used for one application or for a combination of several applications. In the
following paragraphs the usage recommendations are outlined to ensure best user experience.
1. Contact Smart Card Reader for dual interface Smart Cards with antenna connection on
C4 / C8
2. Internal RF antenna
3. micro SD card reader
4. On board flash memory
5. USB expansion slot (via internal USB hub)

@MAXX
PRIME
R
EFERENCE
M
ANUAL
12
@MAXX schematics:
3.5.1. Contact Smart Card Reader
The contact smart card reader is an 8-pin, ISO7816 compliant contact smart card reader for ID-
000 smartcards. Its contacts C4 and C8 are connected with the internal RF antenna. Thus it is
possible to use beside normal smartcards (microprocessor and memory cards) also dual interface
smartcards with additional contacts on C4 / C8. Memory cards can be accessed using SCM’s
Memory Card DLL.
Note: Memory cards which supports C4 /C8 will not be able to work as these pins are used for the
RF antenna.
Within a Windows® environment the smart card reader can be used with the PC/SC driver or with a
preinstalled USB-CCID driver.
Windows® Vista and future Windows® operation systems have the USB-CCID driver as standard
driver already installed. If Windows® XP is used as operating system, the USB-CCID driver is
available as optional update.

@MAXX
PRIME
R
EFERENCE
M
ANUAL
13
Contact
Designation Use
C1 Vcc Power connection through which operating power is supplied
to the microprocessor chip in the card
C2 RST
Reset line through which the IFD can signal to the smart
card's microprocessor chip to initiate its reset sequence of
instructions
C3 CLK
Clock signal line through which a clock signal can e provi
ded
to the microprocessor chip. This line controls the operation
speed and provides a common framework for data
communication etween the IFD and the ICC
C4 Antena RF antenna
C5 GND Ground line providing common electrical ground etween the
IFD and the ICC
C6 Vpp Programming power connection used to program EEPROM of
first generation ICCs.
C7 I/O Input/output line that provides a half-duplex communication
channel etween the reader and the smart card
C8 Antenna RF antenna
Smart Card insertion:

@MAXX
PRIME
R
EFERENCE
M
ANUAL
14
3.5.2. Internal RF antenna
The internal RF antenna is connected with the pins C4 / C8 of the smartcard reader for the
usage of dual interface cards.
When a dual interface card is inserted in the @MAXX and the @MAXX is put in the magnetic
field of any contactless reader, the internal RF antenna couples with the reader and an
induction current appears in the antenna thus providing power to the integrated circuit. The
generated current is proportional to the magnetic flux going through the antenna of @MAXX
reader
The carrier frequency of the magnetic field is used as a fundamental clock signal for the
communication between the reader and the card. It is also used as a fundamental clock input
for the integrated circuit microprocessor to function.
To send data to the user token the reader modulates the amplitude of the field. There are
several amplitude modulation and data encoding rules defined in ISO/IEC 14443. The reader
should should be ISO 14443 compliant reader.
To answer to the reader, the integrated circuit card of the @MAXX modulates its way of loading
(impedance) the field generated by the reader. Here also further details can be found in
ISO/IEC 14443.
The best communication between the @MAXX (with inserted dual interface card) and a
contactless reader can be established if the @MAXX is placed on the contactless reader with
the @MAXX bottom side in direction to the contactless reader. The bottom side of the @MAXX
is the side where the label and the smartcard insertion slot can be found. Depending on the
used contactless reader and the used dual interface card, the @MAXX prime establishes a
read out distance between 2cm – 3cm. A little bit bigger antenna within the @MAXX pime A
results to a bigger read out distance up to 3.5cm.
The communication between the reader and the @MAXX with dual interface card is sensitive to
the presence of material or objects interfering with the magnetic field generated by the reader.
The presence of conductive materials like metal in the vicinity of the reader and the user token
can severally degrade the communication and even make it impossible. The magnetic field of
the reader generates Eddy or Foucault’s currents in the conductive materials; the field is
literally absorbed by that kind of material.
The presence of multiple @MAXXs in the field of contactless readers also interferes with the
communication. When several @MAXXs are in the field of a contactless reader, load of the
field increases which implies that less energy is available for each of them and that the system
is detuned.
The communication between a contactless reader and the @MAXX is sensitive to the geometry
of the system {reader, @MAXX}. Parameters like the geometry and specially the relative size of
the reader and @MAXX antennas directly influence the inductive coupling and therefore the
communication.

@MAXX
PRIME
R
EFERENCE
M
ANUAL
15
3.5.3. Micro SD-Card Reader
The micro SD-card reader is connected with internal USB-hub over the micro SC-card
controller. Micro SD-cards with up to 8GB storage are supported by the controller. MicroSD
complies to SecureDigital™(SD) card Rev. 2.0 and HC-SD (SDHC) specifications.
Beside the embedded flash memory the SD-Card reader enables the user to enlarge the
storage of the device and is listed as a USB Mass Storage Device. No further driver installation
is needed to run the Micro SD-card reader in a Windows®, Linux and Mac environment.
3.5.4. Embedded Flash
Also the embedded flash memory is connected with the internal USB-hub over the flash
controller. The actual hardware design is able to support embedded flash memory up to 4GB.
Several different partitions can be created on the flash memory:
- CD-Rom partition (with Auto-run function)
- Secure partition (PIN protected)
It is also possible to upload data on the flash and to create different partitions on production
level.
3.5.5. USB extension slot
The USB downstream port is connected directly with the internal hub. Due to the fact that the
internal USB hub is a Bus-Powered USB hub, only low-power devices (up to 100mA) can be
connected to the extension slot.
The @MAXX prime has only a USB extension slot for devices with a slim USB connector. The
@MAXX prime A has a regular USB type A extension slot.

@MAXX
PRIME
R
EFERENCE
M
ANUAL
16
3.6. Applications
3.6.1. General
@MAXX prime is a multifunctional device, designed to interface a personal computer host
supporting PC/SC interface or CCID interface with ISO7816 smartcards in ID-000 format.
Further the device can be used as a passive NFC tag by using a dual interface smartcard. And
the @MAXX can be used as USB Mass Storage device and Micro SD-card reader.
The following graphic shows the case study and the needed infrastructure if the @MAXX is
used as a passive NFC token.
A similar use case is the door opener. In this case the host is not seen. The contactless reader
is installed beside the door.

@MAXX
PRIME
R
EFERENCE
M
ANUAL
17
@MAXX prime itself handles the communication protocol but not the application related to the
token. The application-specific logic has to be implemented by software developers on the host.

@MAXX
PRIME
R
EFERENCE
M
ANUAL
18
3.6.2. Applications provided by SCM Microsystems
SCM Microsystems does not provide payment or transport applications.
SCM Microsystems provides a few applications for development and evaluation purposes that
can function with @MAXX prime. There are many tools provided; here are two of them:
•
The NFC forum tag reader/writer is a standalone application that enables the user to
read and write NFC forum compliant records into NFC forum compatible tags. It is an
easy to use tool to configure rapidly NFC forum tag demonstrations. Note: @MAXX
PRIME supports NFC forum tag type 2 and 4, only.
•
Smart card commander version 1.1 provides NFC forum record parsing functionality
of NDEF records in XML format as well as scripting functionality which can be very
useful for developers to develop and debug their applications. This tool can be used
for both the contact and the contactless interfaces of @MAXX PRIME.

@MAXX
PRIME
R
EFERENCE
M
ANUAL
19
4.@MAXX prime characteristics
4.1. @MAXX prime high level architecture
4.1.1. Block diagram
The link between @MAXX prime and the host to which it is connected is the USB interface
providing both the power and the communication channel.
@MAXX Prime contains the SCM Mask ROM Controller for the SIM Interface. The Mask ROM
firmware can handle all the ISO7816 contact protocol and the PC/SC communication protocol
with the host.

@MAXX
PRIME
R
EFERENCE
M
ANUAL
20
Software architecture
Applications can interface with the driver directly through the PC/SC interface.
The @MAXX prime driver implements PC/SC v2.0 API towards upper layers and full CCID for
the contact slot.
Table of contents
Other SCM Microsystems Card Reader manuals
Popular Card Reader manuals by other brands

AWID
AWID SENTINEL-PROX MR-1824 Installation sheet

PreCise Biometrics
PreCise Biometrics Tactivo User reference guide

Addonics Technologies
Addonics Technologies ADCTEU31 user guide

Allflex
Allflex 930009-001 Quick start instructions

Panasonic
Panasonic AJ-PCD20EJ operating instructions

Satel
Satel CZ-DALLAS quick start guide

Uniform Industrial
Uniform Industrial MSR152 Series Simple manual

Assmann
Assmann DA-70316-1 user manual

Ultra Products
Ultra Products USB 2.0 Floppy Disk Drive/All in One Card... user manual

Tokenworks
Tokenworks IDWedgeBT quick start guide

Aiphone
Aiphone GT-HID instructions

Hama
Hama 124020 operating instructions