Rfid Reader Official Software
Rfid Reader Official Software
®
OBID
PC/SC-Driver USB
final
public (B)
2010-08-17
H61201-7e-ID-B.doc
OBID® classic-pro Manual OBID® PC/SC-Driver USB
Note
© Copyright 2010 by
FEIG ELECTRONIC GmbH
Lange Strasse 4
D-35781 Weilburg-Waldhausen
Tel.: +49 6471 3109-0
http://www.feig.de
With the edition of this document, all previous editions become void. Indications made in this manual may be
changed without previous notice.
Copying of this document, and giving it to others and the use or communication of the contents thereof are
forbidden without express authority. Offenders are liable to the payment of damages. All rights are reserved
in the event of the grant of a patent or the registration of a utility model or design.
Composition of the information in this document has been done to the best of our knowledge. FEIG
ELECTRONIC GmbH does not guarantee the correctness and completeness of the details given in this ma-
nual and may not be held liable for damages ensuing from incorrect or incomplete information. Since, despite
all our efforts, errors may not be completely avoided, we are always grateful for your useful tips.
The instructions given in this manual are based on advantageous boundary conditions. FEIG ELECTRONIC
GmbH does not give any guarantee promise for perfect function in cross environments and does not give
any guaranty for the functionality of the complete system which incorporates the subject of this document.
FEIG ELECTRONIC call explicit attention that devices which are subject of this document are not designed
with components and testing methods for a level of reliability suitable for use in or in connection with surgical
implants or as critical components in any life support systems whose failure to perform can reasonably be
expected to cause significant injury to a human. To avoid damage, injury, or death, the user or application
designer must take reasonably prudent steps to protect against system failures.
FEIG ELECTRONIC GmbH assumes no responsibility for the use of any information contained in this docu-
ment and makes no representation that they free of patent infringement. FEIG ELECTRONIC GmbH does
not convey any license under its patent rights nor the rights of others.
Contents
1. Introduction .................................................................................................................... 9
3.1. Switching over between PC/SC - Mode and OBID® Native Mode ...................................25
5. Troubleshooting .......................................................................................................... 32
This is an agreement between you and FEIG ELECTRONIC GmbH (hereafter "FEIG") for use of
provided software shipped with setup_usb.exe, hereafter called licensing material. By installing and
using the licensing material you agree to all terms and conditions of this agreement without excep-
tion and without limitation. If you are not or not completely in agreement with the terms and condi-
tions, you may not install the licensing material or use it in any way.
2. FEIG calls explicit attention to the fact that the use of the licensed material may result ir-
reversible settings and adjustments to devices which may in turn destroy or otherwise make them
unusable. FEIG assumes no liability for such actions whether knowingly or unknowingly.
3. FEIG provides the software "as is“ and without any warranty. FEIG cannot guarantee the
performance or the results you obtain from using the licensed material. FEIG assumes no liability
or guarantee that the protection rights of third parties are not violated, nor that the software is suit-
able for a particular purpose.
4. FEIG call explicit attention the licensed material is not designed with components and
testing for a level of reliability suitable for use in or in connection with surgical implants or as critical
components in any life support systems whose failure to perform can reasonably be expected to
cause significant injury to a human.
To avoid damage, injury, or death, the user or application designer must take reasonably prudent
steps to protect against system failures.
§4 final clause
1. This Agreement contains the complete licensing terms and conditions and supersedes
any prior agreements and terms. Changes and additions must be made in writing.
2. If any provision in this agreement is declared to be void, or if for any reason is declared
to be invalid or of no effect, the remaining provisions shall be in no manner affected thereby but
shall remain in full force and effect. Both parties agree to replace the invalid provision with one
which comes closest to its original intention.
3. This agreement is subject to the laws of the Federal Republic of Germany. Place of juris-
diction is Frankfurt a. M.
Revision Description
2 • Vista Support
Version Description
• First released version
01.00.00 • Supported reader:
- ID CPR.04.P/AB-USB
• Adding of support of SR176, SRIxx Transponder
• Supported reader:
02.00.00
- ID CPR.04.P/AB-USB - (up from Firmware 02.03.02)
- ID CPR40.30-USB - (up from Firmware 01.00.00)
• Bugfix for longer transmitted APDUs
• Supported reader:
02.00.01
- ID CPR.04.P/AB-USB - (up from Firmware V02.03.03)
- ID CPR40.30-USB - (up from Firmware 01.00.00)
• Adding of support for 2 SAM card slots.
• Supported reader:
02.04.00 - ID CPR.04.P/AB-USB - (up from Firmware V02.03.03)
- ID CPR40.xx-USB - (up from Firmware 01.05.00)
- ID CPR40.xx-SUSB - (up from Firmware 01.05.00)
02.11.00 • Support for Windows 7 operating system (32 Bit and 64 Bit platform)
1. Introduction
This manual will give you a guideline for installation and possibilities of the OBID® PC/SC-Driver.
The manual describes the installation procedure for Windows XP.
The OBID® PC/SC-Driver supports the following OBID® classic-pro Readers :
Device Reader-Firmware USB-Firmware
ID CPR.04.P/AB-USB ≥ 02.03.02 ≥ 01.05.02
ID CPR40.xx-USB ≥ 01.05.00 -
ID CPR40.xx-SUSB ≥ 01.05.00 -
ID CPR44.xx-SUSB ≥ 01.00.00
The following system requirements are needed for the OBID® PC/SC-Driver:
Operating System: Windows 32Bit Systems
(Windows 2000 SP4, Windows Server 2003, Windows Server 2008,
Windows XP SP2, Vista, Windows 7)
Windows 64Bit Systems
(Windows Server 2003, Windows Server 2008 (R2), Windows XP
SP2, Vista, Windows 7)
This driver must not installed if there is already installed an OBID® CPR Standard
USB driver on the system !! Before installing this driver make sure that an installed
OBID® CPR Standard USB-driver was uninstalled properly.
The following Transponder types are explicit (ISO14443-2 and ISO14443-3 compliant Transpond-
er) or implicit (ISO14443-4 compliant Transponder) supported by the OBID® PC/SC-Driver:
Supported by Reader
ISO Standard Transponder Type PC/SC Command Set ID CPR.04.P/AB- ID CPR40.xx-(S)U
USB ID CPR44.xx-SU
ISO 14443-3, Type A mifare ultralight Storage Card Commands(* • •
• •
(*
ISO 14443-3, Type A mifare standard 1k Storage Card Commands
(*
ISO 14443-3, Type A mifare standard 4k Storage Card Commands • •
(*
ISO 14443-3, Type A my-d SLE55Rxx Storage Card Commands • •
• •
(*
ISO 14443-2 (3), Type B SR176 Storage Card Commands
•
(*
ISO 14443-2 (3), Type B SRI512, SRIX512 Storage Card Commands -
•
(*
ISO 14443-2 (3), Type B SRI4K, SRIX4K Storage Card Commands -
ISO 14443-4, Type A mifare DESFire Processor Card Commands • •
common cards like
ISO 14443-4, Type A SmartMX, SLE66CL, Processor Card Commands • •
etc. are supported
common cards like
SLE66CL,
ISO 14443-4, Type B Processor Card Commands • •
ST19WR66, Sharp
etc. are supported
* The storage Card support is implemented on basis of PC/SC specification, Part 3, Revi-
sion 2.01.07 (December 2005)
If an OBID® RFID Reader with additional slots for SAM modules (SmartCard Slots) was detected
by the setup, the setup installs additional independent slot driver for each slot.
To use a SAM it has to be installed into the physical SAM slot before any interaction can be made.
Dynamic card insertion or card removal detection is not supported by the OBID® PC/SC-Driver.
2. Start the setup software setup_usb.exe and follow the instructions of the setup assistant.
3. Plug in the OBID® classic-pro USB-reader and follow the advice's of the hardware-assistant
for installation of the PC/SC-Driver
4. Installing the OBID® Native driver
It is important to close all the other programs before beginning the installation of the driver
and uninstall older versions of PC/SC Driver first.
The following steps are necessary for the installation (Windows 7):
During the installation you will get messages, which you must accept.
The end of the first step of the installation is displayed. The second step is the installation of the
hardware device.
Plug in your USB reader. Choose a USB hub which can power the device. The installation of the
reader drivers will be done automatically.
During the installation you will get messages, which you must accept.
During the installation you will get messages, which you must accept.
During the installation you will get messages, which you must accept.
2.3.6. Installation of SmartCard RFID Slot1 and 2 (optional for Reader with SAM)
In case of OBID® RFID Reader with additional slots for SAM modules (e.g.ID CPR40.xx-SUSB)
one additional driver for each available SAM slot will be installed.
Here you will get the same dialogs, which are described in the previous chapter 2.0.1, page 18.
For the installation of the OBID® Native Driver you first have to start
the OBID® Driver Switch.
For activation click on the entry “OBID USB Driver Switch” in the menu “Autostart”.
The activated OBID® Driver Switch appears as OBID® Icon in the taskbar.
By clicking on the OBID® Icon with the right mouse button the OBID®
Driver Switch menu will open. In this menu you can switch over between
the PC/SC-Mode (PC/SC USB driver) and the OBID® Native Mode
(OBID USB driver).
Choose the entry “OBID® USB driver” for switching over the driver in the
OBID® Native Mode.
The installation of the OBID® Native Driver (FEUSBIO Device) has been finished. Press the
“Finish” button to complete the OBID® Native Driver installation.
Now the system is ready to operate in OBID® Native Mode.
For activation click on the entry “OBID USB Driver Switch” in the menu “Autostart”.
The activated OBID® Driver Switch appears as OBID® Icon in the taskbar.
By clicking on the OBID® Icon with the right mouse button the OBID® Driv-
er Switch menu will open. In this menu you can switch over between the
PC/SC-Mode and the OBID® Native Mode.
Choose the entry “OBID® USB driver” for switching over the driver in the
OBID® Native Mode.
During the installation you will get messages, which you must accept.
After successful installation of the complete PC/SC-Driver the device manager shows the following
device entries when the reader has been plugged in.
Choose:
For PC/SC-Mode:
1. Start the setup of the new OBID® PC/SC-Driver version and follow the instructions of the assis-
tant.
If an older version of OBID® PC/SC-Driver is installed on your system the assistant first deins-
tall's this older version.
2. Reboot your system as suggested by the assistant.
3. After your system is rebooted start the setup of the new OBID® PC/SC-Driver version once
again to install the new version.
For removing the OBID® PC/SC-Driver open the and choose the entry “FEIG PC/SC Driver for
USB”. Then press the button “Remove”.
3.1. Switching over between PC/SC - Mode and OBID® Native Mode
By clicking on the OBID® Icon with the right mouse button the OBID®
Driver Switch menu will open. In this menu you can switch over be-
tween the PC/SC-Mode and the OBID® Native Mode.
Choose the entry “OBID® USB driver” for switching over the driver in the
OBID® Native Mode.
After the Driver is installed on your PC System it starts running in PC/SC Mode. To communicate
with the connected OBID® ID CPR-Reader make sure that the Smart Card Service of your Win-
dows operating system is enabled.
Just as the PC/SC - Mode is running and the reader is connect to your PC the reader is polled
permanently by the PC/SC-Driver.
The green and blue LED of the reader indicates some processing statuses of the system.
NOTICE:
If a mifare standard Transponder was detected by the PC/SC-Driver the Driver stops the
automated polling of the Transponder till the PC/SC-Driver gets an explicit command from
the application to restart the polling. This causes that the blue LED turns off while a mifare
standard Transponder is not polled by the application.
In OBID® Native - Mode the driver can used with non PC/SC - Applications like an standard USBIO
Driver. The OBID® Native Mode can be used for processing a firmware update or other special
device testing e.g. in connection with OBID® CPRStart Software.
The functionality of the reader in this mode is documented in the OBID® ID CPR-Family Manual.
This chapter describes the implementation of PC/SC Storage Card commands in relation to the
supported Transponder Types.
The following table gives a short overview about the supported Storage Card commands.
PC/SC Command
Update Binary
Authenticate
Read Binary
Load Keys
Get UID
Transponder Type
mifare ultralight • - - • •
mifare standard 1k • • • • •
mifare standard 4k • • • • •
my-d SLE55Rxx • - - • •
SR176 • - - • •
SRI512 / SRIX512 • - - • •
SRI4K / SRIX4K • - - • •
By default, the PC/SC driver exposes standard MIFARE storage cards through a PC/SC 2.01
compliant interface. This driver-level MIFARE emulation mode makes standard MIFARE cards
available through standard APDUs even though the card itself does not support any asynchronous
protocols supported directly by native PC/SC components.
Dual-interface cards work differently. Their CPU supports communication through ISO14443A part
4 (T=CL) allowing on-card MIFARE emulation rather than host-side MIFARE emulation.
To switch from the ISO14443A part 4 (T=CL) of a dual interface card to ISO14443A part 3 (on-card
Mifare emulation) the following APDU has to be executed.
After the successfull execution, the APDUs from chapter 2.5. ISO14443-3, Storage Cards could be
used to access the Mifare part of the transponder.
Data Out
UID0 UID1 UID2 UID3 SW1 SW2
NOTE:
• Firmware Version >= 1.09.00 is neccessary for the ID CPR40.xx family
• Firmware Version >= 1.01.00 is neccessary for the ID CPR44.xx family
Le:
0x00: Returns the full length of the UID. The usage of this Le value is recommended.
Key Type:
0x60: Mifare Key A
0x61: Mifare Key B
Le:
The Le parameter must match to the Block Size of the Transponder.
max.
Address Range File Start Address Block Size
File Size
Mifare Ultra light 0...15 0 4 byte 64 byte
Mifare Standard 1K 0...63 0, 4, 8, 12, ... 60 16 byte 64 byte
0...127 0, 4, 8, 12, ...124 16 byte 64 byte
Mifare Standard 4K
128...255 128, 144, 160...240 16 byte 256 bye
SLE55Rxxxx 0...255 0 8 byte 2048 byte
SR176 0...15 0 2 byte 32 byte
SRI512 / SRIX512 0...15, 255 0, 255 4 byte 32 byte
SRI4K / SRIX4K 0...127, 255 0, 255 4 byte 512 byte
NOTICE:
Le is limited to 128 byte (0x80) because of reader internal buffer size
Lc:
The Lc parameter must match to the Block Size of the Transponder.
max.
Address Range File Start Address Block Size
File Size
Mifare Ultra light 0...15 0 4 byte 64 byte
Mifare Standard 1K 0...63 0, 4, 8, 12, ... 60 16 byte 64 byte
0...127 0, 4, 8, 12, ...124 16 byte 64 byte
Mifare Standard 4K
128...255 128, 144, 160...240 16 byte 256 bye
SLE55Rxxxx 0...255 0 8 byte 2048 byte
SR176 0...15 0 2 byte 32 byte
SRI512 / SRIX512 0...15, 255 0, 255 4 byte 32 byte
SRI4K / SRIX4K 0...127, 255 0, 255 4 byte 512 byte
5. Troubleshooting
Error What to do
Reader doesn’t work Check the entries in the device manager after you’ve plugged in the
correctly in the operating reader device (find correct device manager entries: End of Chapter 2.5,
system page 23)
The OBID® Support Team need further details, which you can find in
the List of Events of your operating system.
List of Events:
Error What to do
Application gets no data Check whether the SmartCard Service has been activated in your sys-
from the PC/SC interface tem environment:
If this service is not marked as „Started“, then click on the „Smart Card“
entry and the following window will appear.
Here you have the possibility to start the service by pressing the „Start“
button.
Error What to do
Error What to do
Only for CPR40.30-U Check the entries in the device manager after you’ve plugged in the
reader device (find correct device manager entries: End of Chapter 2.5,
Reader doesn’t work
page 23)
correctly in PC/SC Mode
and application gets no Check also if the reader is configured in Reader Mode: “ISOHost
data from the PC/SC Mode”. Check the configuration with the CPRStart Software. Switch
interface of the operating “OBID Switch Driver” to “OBID USB Driver” to configure the reader in
system. OBID Native Mode. Open the CPRStart Software and detect the Read-
er.
Check the configuration page “CFG1: Interface and Mode”:
Press the “[0x80] Read” – Button to read out the EEPROM settings of
the reader.
If the reader has the following settings:
you must switch the reader to “ISOHost Mode” and store the changes in
the EEPROM of the reader by pressing the “[0x81] Write” – button.
Now it should be possible to run the reader in PC/SC Mode by switch-
ing back the “OBID Switch Driver” to “PC/SC USB driver”.