Security configuration3
Selecting a chip4
Selecting a page5
Reading chip memory6
Writing chip memory7
Halting a chip8
How to work with several chips in the field9
Managing INSIDE’s chips protocols10
Managing the security11
INSIDE chips security11
Key loading13
How to set a key as the active one14
How to authentify a chip15
How to authentify a PAGE15
Protecting the keys16
Managing ST ANDARD chips protocols17
Time out adjustment17
15 693-3 protocol17
ISO 14 443 type A18
ISO 14 443 type B18
FeliCa ( new version)18
Managing the RF field19
How to reset the RF field ?19
How to asleep the coupler19
How to wake up the coupler19
APPENDIX A
HOW TO LOAD A KEY IN A COUPLER
Exchange key21
Hand’IT-2G - Preliminary Datasheet
Version 1.0
General key loading procedure21
Terminology and notation22
Key loading step by step22
Algorithms23
!ISO 15 693
!ISO 14 443 type A
!ISO 14 443 type B
!FELICA
√√
√Contactless transmission of data and energy supply
√√
√√
√Carrier frequency: 13.56MHz
√√
√√
√On board antenna
√√
√√
√Transparent mode for contactless data exchange
√√
√√
√Supply voltage: 5 or 3,3V
√√
TM
√√
√ Low power consumption < 50 mA
√√
√√
√Idle mode < 5 mA
√√
√√
√Stand-by mode < 50 µA
√√
√√
√Small size: extended CF type I form factor (61 x 43 mm)
√√
√√
√Operating temperature range: -20°C to +50°C
√√
√√
√Emission approval* : FCC, IDA singapore, Canadian, CE
√√
Product Ordering Code
ProductOrdering codePackageTools
Proximi ty Coupl er Hand'IT-2GHand'IT-2G/FCF-
-
Hand'IT -2G -Preliminary Datasheet
Version 1.0
DS - 5
CHAPTER 1
HAND'IT -2G
DESCRIPTION
HAND'IT-2G couplers are developed by INSIDE contactless for
managing the RF communication interface with 13.56 MHz standard
chips.
They have the following features :
""
" Operating frequency13.56MHz
""
""
" Host interfaceCF card
""
""
" CompatibilityWindows 98/XP/Me/2000/PPC2002-
""
2003
""
" T arget applicationsProximity and short range
""
applications
""
" Target chipAll INSIDE’s chips, 15693 chips,
""
14443 chips (type A and type B),
FELICA
TM
Afterwards, the term «coupler» stands for an electronic board or
device that converts numeric commands into contactless chip
commands using the RF interface.
HAND-IT 2G Block Diagram
Hand'IT -2G -Preliminary Datasheet
Version 1.0
DS - 6
HAND'IT-2G dimensions
Mechanical Interface – Top View
"HAND'IT size : L 61 mm * l 43 mm * h 3,3-8mm
HAND'IT-2G with PCMCIA Compact Flash Adaptor (not
supplied)
Hand'IT -2G -Preliminary Datasheet
Version 1.0
DS - 7
CHAPTER 2
HAND'IT -2G CONNECTION
This chapter describes :
! How to power the coupler
! How to communicate with the coupler
Physical Description
The host is connected to the Compact Flash Hand’IT 2G using a standard 50pin
connector.
The host must be equiped with a CF+ type 1 or 2 slot.
Refer to the host user manual for the Compact Flash card insertion.
Electrical Description
The HandIT 2G acts as a standard PC Card A T A using I/O Mode.
Refer to PC Card standards for details.
Power supply
CHARACTERISTICS
To power up the coupler , just insert the device into a CF type I or II slot.
Note that opening the associated COM port will power on the device and closing will
Power it off.
Refer to the host operating system for more details.
DescriptionM in.TypicalM ax.Unit
DC voltage3,1353,33,465V
RF ac t ive current50TBDmA
Idle Mode c urrent5TBDmA
St andby c urrent50TBDµA
Electrical characteristics
Hand'IT -2G -Preliminary Datasheet
Version 1.0
DS - 8
Software & Drivers
System requirements
The Hand’It 2G works with laptops or PDAs running Microsoft Windows 98/2000/XP/CE
/Pocket PC2002&2003.
Pocket PC Users
PDA running Pocket PC don’t need any specific driver to manage the Hand’IT 2G as a
standard COM Port.
Depending on the device, the COM port number can take any value.
Refer to the Register DataBase to get the correct COM number under
HKEY_LOCAL_MACHINE\ DRIVERS\ACTIVE\xx
Search the Key withPnpId = Hand_It-INSIDE-D9A6
Y ou will find the COM number in the Name Field.
Laptops users
Y ou need to install the HandIT 2G drivers from the Inside installation disk
Insert the HandIT 2G into the laptop (using an CF to PCCARD adapter .).
Follow screen instructions and select the folder containing HandIT2G.inf file from the Ins-
tallation Disk.
The HandIT 2G will appear as a standard COM Port named Compact Flash HandIT.
Y ou can adjust COM settings from the hardware profil menu.
Coupler Communication
Once installed, the Hand’IT 2G works as a standard coupler connected to a serial COM
port.
Hand'IT -2G -Preliminary Datasheet
Version 1.0
DS - 9
Serial Interface
8 bits
This interface allows a serial connection to the host via the CF interface:
Character Format
Data Rate115200 baud (default value)
ParityEven
Number of bits8
T ransmission Mode LSB first
Stop bits2
Flow controlnone
SelectCard command frame
Baud rate
The default data rate is set at 115200baud, but this can be changed by software to select
following data rates :
!9600
! 19200
!38400
!57600
!1 15200
Version 1.0
Hand'IT -2G -Preliminary Datasheet
DS - 10
How to reset HAND'IT-2G couplers
Resetting the coupler may be useful in two situation :
a. to set the parameters (speed, disable mode, protocol settings, keys ) to the defaults
values. All these values are stored in coupler’s internal EEPROM
b. if it is impossible to communicate with the coupler (bad setting for serial communication speed mainly)
SOFTWARE RESET
It is possible to reset the coupler’s EEPROM by sending 2 commands thanks to the SET
ST ATUS command.
Command = $80,$F4,$80,$3E,$01 - Data = $00
Command = $80,$F4,$80,$7E,$01 - Data = $00
Then the coupler has the default setting : 1 15200 bds, defaults protocols....
HARDWARE RESET
If for any reason it becomes impossible to communicate with the coupler, follow this
procedure :
•removethe hand’IT 2G from the CF slot
•remove the plastic top cover as shown
•connect the 2 reset pins as indicated in the drawing
•reinsert the Hand’IT 2G and open the COM port: it will start with the default factory
parameters
•remove the hand’IT 2G from the CF slot and the the reset pins connection
Hand'IT -2G -Preliminary Datasheet
Version 1.0
DS - 11
CHAPTER 3
COMMAND INTERFACE
REFERENCE MANUAL
In this chapter you will find the command format, and the description
of all the commands used by the coupler.
User may refer to this chapter to find the following information :
!!
!
low level description of data exchange between coupler
!!
and host, mainly when using microcontroller or an
automat
!!
!
check the signification and/or a value of a command
!!
parameter
Coupler - Reference manual
Version 1.1
RM 1
HOST - COUPLER protocol
DESCRIPTION
The commands are modeled on the ISO 7816 command set. This protocol is used by all
INSIDE"s couplers
A typical protocol exchange includes:
1. The host sends a command to the coupler
2. The coupler executes the command
3. The host receives a response from the coupler
Coupler command is always constituted of 5 bytes :
•CLASS : always 80h
•INSTRUCTION : command to be executed by the coupler (like SelectCard)
•P1 : Command parameter
•P2 : Command parameter
•P3 : Command parameter
Depending on the command, coupler answers data, status words.
There are 4 cases of data exchange:
CaseHost to coupler Coupler to HostISO Type
1NoneNoneISO None
2NoneYesISO Out
3YesNoneISO In
4YesYesISO In / Out
Note : In case 4, data has to be sent and received from the coupler. With T=0 protocol, it
is not possible in a single command, so this command has to be split into 2 commands:
Coupler - Reference manual
Version 1.1
RM 2
ISO In : The host sends a command + data and receives the status words.
ISO Out : The host sends a command and receives data + the status words.
Coupler with firmware former than 40-017F has only ISO NONE, ISO IN and ISO OUT
protocol available.
In all cases, status words are returned (SW1 and SW2).
Case 1: ISO None Data Exchange
Command
Host
Coupler
nb of bytes
Cla.Ins.P1P2P3
5 bytes
Case 2 : ISO Out Data Exchange - Coupler
Command
Host
Coupler
nb bytes
Class : always 80h
Instruction : command code
P1 & P2 : command parameters
P3: number of data bytes expected from the coupler
Cla.Ins.P1P2P3
Status words
SW1SW2
2 bytes
""
" Host
""
Ack.Data
= Ins.dataSW1SW2
1 = P3
Status words
25
Ack. : coupler acknowledgement. It is always equal to the command code, except when
an error occurs. If the Acknoledgement value is different than the instruction byte, then
the received byte is the first byte of a status error code coded on 2 bytes.
Data : data sent to the host by the coupler. Size of the command has to be P3.
Ack. : coupler acknowledgement. It is always equal to the command code, except when
an error occurs. If Acknowledgement value is different than instruction byte, then the
received byte is the first byte of a status error code coded on 2 bytes.
Data : data sent by host to the coupler. Size of data array has to be P3.
Status word : 90 00h if correct / error code.
Error : If the Acknowledgement value is different than the instruction byte, then the received
byte is the first byte of a status error code coded on 2 bytes.
Case 4 : ISO InOut Data Exchange - Host
Command
Host
Coupler
nb bytes
Class : always 80h
Instruction : command code
P1 : command parameters
P2 : number of data bytes expected from the coupler.
P3 : number of data bytes sent to the coupler.
Ack. : coupler acknowledgement. It is always equal to the command code, except when
an error occurs. If Acknowledgement value is different than instruction byte, then the
received byte is the first byte of a status error code coded on 2 bytes.
Data : data sent to the host by the coupler. Size of the command has to be P3.
Status word : 90 00h if correct / error code.
Cla.Ins.P1P2P3Data in
⇔⇔
⇔ coupler
⇔⇔
Ack.Data inAck.Data out
= Ins. = Ins.Data out SW1 SW2
1 = P31 =P252
tatus word
Coupler - Reference manual
Version 1.1
RM 4
Coupler commands overview
CommandINSDescription
SELECT_CARD"A4h"Selects one contactless card following list of
possible cards in the field
SELECT_PAGE"A6h"Selects a page in a multi-application chip
TRANSMIT"C2h"Sends and retrieve data from chip through
contactless interface : Transparent mode
GET_RESPONSE"C0h"Reads the internal buffer of the coupler to retrieve
chip answer for ISO 7816 T=0 protocol.
CommandINSDescription
READ_STATUS"F2h"Reads coupler status or EEPROM memory.
SET_STATUS"F4h"Sets the coupler status or write in EEPROM
memory.
DISABLE_COUPLER"ADh" Disables the coupler. it will only respond after a
ENABLE_COUPLER command.
ENABLE_COUPLER"AEh" Enable the coupler. It wakes up the coupler after
a DISABLE_COUPLER command.
Security module functions†:
CommandINSDescription
LOAD_KEY_FILE"D8h"Load new master keys for authentication
purposes.
ASK_RANDOM"84h"Ask for a random number from the coupler.
SELECT_CURRENT_KEY"52h"Select the key to be used for authentication
purposes.
Coupler - Reference manual
Version 1.1
RM 5
SELECT_CARD
Use
Select a card in order to get the serial number. This command manages anti-collision and
authentication features.
This command is able to test several communication protocol. It answers the number of
protocol used to select the card.
Prototyping
# Command sent : A4h
# Command type : ISO out
Host80hA4hP1P2P3
CouplerA4hCard type Serial number90h00h
Parameters
Bit 76543210
Function - -KeyAuth Presel. LoopHaltW ait
P1: Parameter used for contactless configuration
IMPORTANT: " - " are reserved for future use, and values should be set to 0.
WAIT :
1: Wait until a card is selected or a character received from the host (e.g. PC).
0: Exit if no card is detected after 3 attempts.
Note: When SELECT_CARD uses the option ´LOOPª, the coupler sends
ACK=60h (See T=0 specifications) after each unsuccessful selection until
a card is selected. When a card is selected, ´90h 00hª is returned. In order
to stop this scanning, host has to send a byte through the RS232 interface.
HALT:
1: Halts card after selection for fast serial numbers capture.
0: No halt after selection.
LOOP:
1: returned a frame composed of ACK | CARD TYPE | SN | 9000h or wait character
60h
0: no loop performed.
PRE:
1: Increases pre-selection with INSIDE CONTACTLESS anti-collision and a large
number of cards.
0: Standard anti-collision (best for 5 cards max.).
Coupler - Reference manual
Version 1.1
RM 6
AUTH:
1: Performs a standard INSIDE authentication.
Authentication is performed if the key is set as the current key.
Please refer to appendix A : ´How to low a keyª for key loading and key management
operations details.
0: Does not perform an authentication.
KEY:
1: Authenticates with Debit Key (Kd = Key 1) if AUTH is set.
0: Authenticates with Credit Key (Kc = Key 2) if AUTH is set.
P2: Parameter used for selecting the card types to be read
b7 - b4b3b2b1b0
0Protocol 3Protocol 2Protocol 1Protocol 0
INSIDE couplers manage the following protocols :
- Protocol 0 : ISO 14 443 type B & Inside anticollision (only for INSIDE chip)
- Protocol 1 : ISO 15 693 & Inside anticollision (only for INSIDE chip)
- Protocol 2 : ISO 14 443 type B-3
- Protocol 3 : User defined protocol - see ´Other ISO chip managementª chapter for more
information about Protocol 3 use.
If bit related to protocol x is set to one, coupler will run an anticollision using this protocol.
If several protocols are selected, coupler will test all of them, starting from protocol 0 to
protocol 3.
P3: Number of bytes to be return by the coupler
Set P3 = 09h for reading Pico Family Chips serial numbers.
Response:Card type (1 byte) and serial number (8 bytes)
Card type is the protocol number used by the card that has been selected for its answer.
For 15 693 INSIDE"s chips, card type value is 1 as protocol 1 is used for selection. This
value is the one to use to indicate protocol in the transmit command.
Coupler - Reference manual
Version 1.1
RM 7
Loading...
+ 42 hidden pages
You need points to download manuals.
1 point = 1 manual.
You can buy points or you can get point for every manual you upload.