Promag Mifare DESFire User Manual

Mifare® DESFire® Reader
User’s Manual
REV.C
November 30, 2011
PROMAG
DF7XX
REV.C
2
Table of Contents
Mifare® Configurable Sector Reader .......................................................................................... 3
Mifare® Application Directory (MAD) Support: ........................................................................ 4
Mifare® User-Data Format ............................................................................................................. 5
Wires Assignment ........................................................................................................................... 6
Mifare® DESFire® Reader Utility .................................................................................................. 7
1. DESFire® Settings ........................................................................................................... 7
2. Mifare® Settings ............................................................................................................... 8
3. Reader Settings ............................................................................................................. 10
4. LED / Buzzer Settings .................................................................................................. 11
5. Wiegand Setting ............................................................................................................ 13
6. ABA-TK2 Settings ......................................................................................................... 14
7. RS232 Output Setting................................................................................................... 15
8. Configured Card ............................................................................................................ 17
9. Test Reader After Update ............................................................................................ 18
ANNEX A. Hardware Specification ........................................................................................... 19
ANNEX B. Wiegand Interface ..................................................................................................... 20
ANNEX C. ABA TK2 Interface ..................................................................................................... 21
ANNEX D. RS232 Interface ......................................................................................................... 22
ANNEX E. External LED/Buzzer Control ................................................................................. 23
ANNEX F. Order Information ...................................................................................................... 24
ANNEX G. WebISP - Firmware Upgrade Utility ...................................................................... 25
ANNEX H. Configured Card ........................................................................................................ 27
ANNEX I. Key Pad Settings (for DF750K/DF760K) ............................................................... 29
ANNEX J. History .......................................................................................................................... 30
PROMAG
DF7XX
REV.C
3
Mifare® Configurable Sector Reader
Overview:
DF7XX Reader is a user configurable mifare® sector data reader. It can be configured to read mifare® card with MAD1/MAD2/MAD3 standard in a mifare® application open system, or can be configured to read the user-defined sector data (Non-MAD) in a user defined closed system. Output interface can be configured as an RS232 output or Wiegand output. Wiegand output is selectable up to 128 bits. DF7XX Reader can also be set with a Reader ID number for multi-unit communication.
Features:
1. Support MAD1/MAD2/MAD3 standard, and support customer MAD-AID setting.
2. Support Non-MAD format with user-defined sector number.
3. Support used card with data offset and length.
4. Support Multi Sectors.
5. Support Mifare® Standard 4K or Mifare® Standard 1K card.
6. Each Reader with Reader ID for multi-link application.
7. Output interface: Wiegand (Default), ABA-TK2 and RS232.
8. Wiegand output selectable from 1 bit to 128 bits.
9. RS232 output packet can be set with Header, Reader ID and Trailer.
Application:
1. Access Control.
2. Time Attendance.
3. Guest Registration System.
4. Academic Services.
5. Info Services.
PROMAG
DF7XX
REV.C
4
Mifare® Application Directory (MAD) Support:
DF7XX reader support the MAD format card, the MAD (mifare® application directory) standard proposes the introduction of common data structures for card application directory entries. DF7XX Reader should take advantage of this feature using those sector pointers instead of physical sector number.
Yes
Auto Mode
Get
Application Sector#
Request
Anti-collision
Is MAD
Card
AID Match
Using DF700
Non-MAD Sector#
Un-know
Read Sector Data
Output Data
No Tag
Card On Reader
No
Yes
No
The DESFire Reader will search the AID from mifare® application directory (MAD), then got a correct sector number from MAD. If the card is not a MAD card, the DF700 will use the Non-MAD Sector# (Setting by Mifare Reader Utility).
About MAD please visit the web sites:
http://www.mifare.net
http://www.semiconductors.philips.com/ac
robat/other/identification/M001824.pdf
APP KEY
Authenticate
NG
PASS
PROMAG
DF7XX
REV.C
5
Mifare® User-Data Format
DF7XX reader will send out the data following the format as below, the user data length defined by the Data-Info. At Wiegand output format, the data output length is fixed (defined by Number Of Bits), so the user data would be cut if longer than Number of Bits, or the user data would be appended with zero “0” if shorter than Number of Bits.
Byte 0
Byte 15
Application
Sector #
Block 0
Data-Info
Block 1
USER DATA (Max 128 Bytes)
Block 2
Block 3
Data-Info
bit7 bit6
bit5 bit0
Data Type (11b)
Data Length
Data Type is fixed with 11b which meets “any other data” type of “Card Holder information” as MAD standard. And data length is including the data with ending zero 0, so the number of data byte sent by DF7XX reader is equal to data length with one less for RS232 output. Example: Data Length is 16, DF7XX reader only sends out 15 bytes for RS232 output.
PROMAG
DF7XX
REV.C
6
Wires Assignment
Color
Symbol
I/O
Description
Red
VCC
IN
Power Input : DC 7.5V~24V
Black
GND
IN
Power Ground
White
DATA 1
OUT
Wiegand Data 1 Signal / ABA TK2 Clock (Strobe)
Green
DATA 0
OUT
Wiegand Data 0 Signal / ABA TK2 Data
Yellow
TXD
OUT
RS232 TXD (To Host RXD)/ RS485+(for DF710)
Blue
RXD
IN
RS232 RXD (To Host TXD)/ RS485-(for DF710)
Orange
CP
OUT
ABA TK2 Card Present
Brown
LED/BUZEER
IN
External LED/BUZZER Control
To configure the DF7XX Reader you need connect the reader to the MF700KIT first as below:
DF700/DF750
CP
GND
D1 D0 RX TX
VCC
" "" "
MF700KIT
MF700
9VDC
WAS-T0029
BLACK
WHITE
GREEN
BLUE
YELLOW
RED
ORANGE
BROWN
DF710/DF760
Connect Yellow (T+) and Blue (T-) to RS485 Converter to PC. (Suggest using USB485A)
ORANGE
BROWN
T+
T-
CP
GND
D1 D0 RX TX
VCC
" "" "
MF700KIT
MF705
9VDC or 12VDC
WAS-T0029
BLACK
WHITE
GREEN
BLUE
YELLOW
RED
Note: MF700KIT is a test connection kit for DF7XX reader configuration use. It is an optional item for purchasing.
The above housing is for reference only
PROMAG
DF7XX
REV.C
7
Mifare® DESFire® Reader Utility
1. DESFire® Settings
MAD-AID: (Default=F47030)
MAD Application Identifier number is authorized and assigned by Mifare
®
.net upon the customer’s
request for registered Application Identifier in a mifare® application open system (AID: 000000h~FFFFFFh). Or it is also possible for the user to define the AID himself for the application in user defined closed system without registering into MAD group. According to the AID, DF7XX reader can find and read the corresponding application on the card.
File ID: (Default=0)
File ID is 0~15. There are three file types. Data file, Value file and Record file. DF7XX Reader will auto detect the type and output the data.
PROMAG
DF7XX
REV.C
8
Offset/Length: (Default=0 / 5)
The Data file will depend on the value to output data. The Value file will be sent the value out. The Record file will be sent the latest record data.
Access Key No/Value: (Default=0 / 00000000000000000000000000000000)
Key must be the same as the Read or Read/Write KEY of the card issued. This means DF7XX reader only can read the data on the card with the same KEY.
2. Mifare® Settings
Click Card Type: Mifare Only or “Both”, and this tab will be visibled.
MAD-AID: (Default=4703)
MAD Application Identifier number is authorized and assigned by Mifare
®
.net upon the customer’s
request for registered Application Identifier in a mifare® application open system (AID: 0000h~FFFFh). Or it is also possible for the user to define the AID himself for the application in user defined closed system without registering into MAD group. According to the AID, DF7XX reader can find and read the corresponding sector on the MAD card.
PROMAG
DF7XX
REV.C
9
Non-MAD Sector: (Default =0)
When the card is Non-MAD format, DF7XX reader will only read the “Non-MAD Sector”. (1K Card Sector: 0~15, 4K Card Sector: 0~39). For the Non-MAD application, user can freely define the Sector.
App Key (KEY_A): (Default=FFFFFFFFFFFF)
App Key must be the same as the KEY_A of the card issued. This means DF7XX reader only can read the sector data on the card with the same KEY_A.
Encrypt: (Default=None) Fraud prevention, Select Encrypt Mode (None, Encrypt 1, Encrypt 2, Encrypt 3, Encrypt 4, Encrypt 5) to protected your card data. (Remark: Encrypt mode must to work together with the same encrypt mode of Mifare Card Issuer software.)
Used Card (Not issued by “Mifare Card Issuer)
You have to indicate the data position in the card, when the card is not issued by Mifare Card Issuer software. And you must set the Offset (Max 255, and base from zero) form the beginning of sector and set your data Length (Max 128).
Example: If your card data in the grey grid of sector, you have to set the Offset = 17, and set the Length= 20.
AID Sector (or Non-MAD Sector)
Block 0
0 1 2 3 4 5 6 7 8 9 10
11
12
13
14
15
Block 1
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Block 2
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
PROMAG
DF7XX
REV.C
10
3. Reader Settings
Reader ID: (Default=0)
DF7XX Reader ID for multi link application. (ID: 0~63)
Interface: (Default=Wiegand) DF7XX reader can be set as Wiegand , RS232 or ABA-TK2 output.
Read Mode: (Default=Card Data Only) a. Card Data Only: Read card sector data only; If any error (ex. mifare® key error), reader will show
Card Invalid status.
b. Card Data or CSN (Card Serial Number): Read card sector data, If any error (ex. mifare® key error),
reader will send the CSN to host.
c. CSN Only: CSN read only.
Output Mode: (Default=Once)
a. Once: Send data (or CSN) to host once. b. Continue: Keeping sending data (or CSN) to host till card remove. Only for Mifare® Card.
PROMAG
DF7XX
REV.C
11
4. LED / Buzzer Settings
Enable RS232 Command Set Control: (For 19200,n,8,1 Only)
RS232 LED/Buzzer command set frame as below:
STX J NUMBER (0~9)
CR
02h
4Ah
30h~39h
0Dh
Command Table:
NUMBER
Descriptions
0 (30h)
All LED Off, Buzzer Off
1 (31h)
Green LED ON
2 (32h)
Green LED OFF
3 (33h)
Red LED ON
4 (34h)
Red LED OFF
5 (35h)
Buzzer Beep once
6 (36h)
Buzzer Beep 3 Times
7 (37h)
Green LED ON with Beep once
8 (38h)
Red LED ON with Beep 3 Times
9 (39h)
All LED ON (Orange)
Remark: If “Enable RS232 Command Set Control (for LED/Buzzer)” checkbox is checked, the external LED/Buzzer control with high/low level control will be disabled.
PROMAG
DF7XX
REV.C
12
Enable Two Wires Control LED / Disabled ABA-TK2: (For 19200,n,8,1 only)
set up the "Brown Wire Active Level", and Brown wire and Orange wire will follow
the setting.
Example: "Brown Wire Active Level"=High; Green light on with a beep when brown
wire level was high. Red light on with three beeps when orange wire level high.
When both wire change level high at the same time, it will both light on without
beep.
Read Idle: Show LED color after power on or idle state.
Brown wire = PULSE (or Card is valid): Show LED color and beeps to indicate the end-user when
brown wire = PULSE, or card was passed by DF7XX Reader.
Brown wire = Inactive (or Card is invalid): Show LED color and beeps to indicate the end-user when
brown wire = Inactive, or card was failed by DF7XX Reader.
Brown wire = Active: Show LED color and beeps to indicate the end-user that brown wire = Active signal from Host.
Brown wire Active level: Set Brown wire Active level condition with Host status. Disable: Always disable the Brown wire. (Default), LED/Buzzer controls by reader self. High: Active High / Normal keep in Low. Low: Active Low / Normal keep in High.
Remark: If set Active Low, you may have to connect brown wire to a pull-up resistor (1K~10K) with 5VDC).
Control Brown wire:
After Data Output: The brown wire will be enabling after finished output the card data or CSN. (Default) Any Time: The brown wire enabled in any time.
Note: See Annex E, the LED/Buzzer also can be controlled externally with High/Low
level control.
Brightness: Change value to brighten or darken led. More high and more brighten..
PROMAG
DF7XX
REV.C
13
5. Wiegand Setting
Include Reader ID is to set the Wiegand output data to include Reader ID when it is enabled.
(Default=Disable). Custom Premable is to set the Wiegand output data to include premable code when it is enabled. This code only combines with CSN output. (Default=Disable). Number of Bits is to set the Wiegand output type you want to meet your Host (or Terminal). It can be 1 to 128 (Default=26). Bit Sequence is to set the Wiegand output data sequence, it can be standard data sequence (MSB first) or Reverse data sequence (LSB first). (Default=Standard). Byte Order is to set the Wiegand output data sequence, it can be ISO (High byte first) or Non ISO (Low byte first). Alive Event is reserved.
PROMAG
DF7XX
REV.C
14
6. ABA-TK2 Settings
Number Of Digital: Set number of digital codes for TK2 output. (Default=10) Add Reader ID: Add Reader ID into TK2 data. (Default=Disable)
Output Data Order: Set the TK2 output data sequence order. (Default=MSB First) Source Data Order: Set the TK2 source data sequence order. (Default=MSB First)
Data Conversion: Select card data format to convert,
a. BIN to DEC (Default, card issue by Mifare Card Issuer Utility) b. Decimal String (ex. 123456) c. BCD d. Direct (Memory Map) e. Bytes to DEC
PROMAG
DF7XX
REV.C
15
7. RS232 Output Setting
Baud rate can be set 2400bps~57600bps (Default=9600bps) Data Sequence can be set LSB first and MSB first(Default). Package is to set the output data packet to include Header, Reader ID, Data Length, CR, LF and Trailer.
(Header: 00h~FFh, Trailer: 00h~FFh). (Default = 02h+Visible Hex Code+CR+LF+03h) Output Format can be Binary” or Hex String for output format.
PROMAG
DF7XX
REV.C
16
Note:
(1).Wiegand output data packet with Reader ID:
(2).RS232 output data packet with Header, Reader ID and Trailer:
Header
Reader ID
(LSB) Data Bytes (MSB)
Trailer
(3).ABA-TK2 with Reader ID:
Remark:
DF7XX reader all configuration items are write only, so any users can not read the configuration items from DF7XX reader to get the App Key, that is very important to protect your App Key and all configuration items.
Standard
Parity(Even)
Reader ID
(MSB) Data Bits (LSB)
Parity(Odd)
Reverse
Parity(Odd)
Reader ID
(LSB) Data Bits (MSB)
Parity(Even)
MSB First
SS
Reader ID
(MSB) Digital Code (LSB)
ES
LRC
LSB First
SS
Reader ID
(LSB) Digital Code (MSB)
ES
LRC
PROMAG
DF7XX
REV.C
17
8. Configured Card
Configured Card Enabled can allow your reader change configuration by Mifare® Card. Key is the Mifare® Key A for allowed configured card.
PROMAG
DF7XX
REV.C
18
9. Test Reader After Update
After readers configurations have been updated success, you can use [Test] function to check readers configurations have been correctly stored.
1. After set configurations in the Reader Utility software, you can click [Update Reader] to update the currently configurations to the reader.
2. Or, click [Test] to update configurations and verify output data.
3. Got an issued mifare® card and approach the reader, you can see the output data on “Reader Test window.
Wiegand 34 bits output data with standard bit sequence, example as below:
PROMAG
DF7XX
REV.C
19
ANNEX A. Hardware Specification
DF7XX reader
Major Feature
Mifare® DESFire® Application Directory Reader
Access Control & Security
Card Type
ISO14443A, Mifare® Class1
(Mifare® 1K, Mifare
®
4K for MAD1/MAD2)
DESFire®
RF Frequency
13.56MHz
RF Distance2
50mm (Using the MFA01 Mifare® card of GIGA-TMS INC.)
DC Power
7.5VDC~24VDC (Min 250mA@7.5V, 150mA@12V)
Interface
Wiegand 26~128 bits (Standard / Reverse)
RS232 2400bps~57600bps
ABA-TK2 40IPS
Dimension
H82.5mm x W46.5mm x D15.0mm
Weight
120g
Note:
1. Mifare
®
Class: Mifare Standard 1K/4K/Pro (without Mifare® Ultra-Light).
2. DF7XX reader RF distance can reach up to 50mm with MFA01 (Mifare
®
Standard 1K Card)
of GIGA-TMS INC.
PROMAG
DF7XX
REV.C
20
ANNEX B. Wiegand Interface
The Data 1 and Data 0 signals are held at a logic high level unit, the reader is ready to send a data stream. The reader places data as asynchronous low-going pulses on the Data 1 or Data 0 lines to transmit the data stream to Host. The Data 1 and Data 0 pulses will allowable pulse width times and pulse interval times for the DF7XX Reader.
Data 1 Signal
Data 0 Signal
` Tpw Tpi Tpw Tpi
Pulse Times
Symbol
Description
Typical Time
Tpw
Pulse Width Time
100us +/- 3%
Tpi
Pulse Interval Time
1.9ms +/- 3%
Wiegand Packet (Without Reader ID)
Standard (Default)
Parity(Even)
(MSB) Data Bits (LSB)
Parity(Odd)
Reverse (Option)
Parity(Odd)
(LSB) Data Bits (MSB)
Parity(Even)
Connect the Wiegand wires, example as below: (The pull high resister must >= 10K Ohm)
Optional: External LED/Buzzer Control (Brown)
(Red)
(Black)
Data 0 (Green)
Data 1 (White)
HOST/Terminal
DF700
7.5~24VDC
GND
GND
10K
ohm
10K
ohm
5VDC
Pull high resistor
>=10K Ohm
PROMAG
DF7XX
REV.C
21
ANNEX C. ABA TK2 Interface
The timing for Card Present, Clock (Strobe) and Data, example as below:
DATA
The data signal is valid while the clock is low. If the Data signal is high, the bit
is a zero. If the Data signal is low, the bit is a one.
CLOCK (STROBE)
The Clock signal indicates when Data is valid. It is recommended that Data be loaded
by the user with the leading edge (negative) of the Strobe.
CARD PRESENT
Card Present will go low after flux reversals from the Reader. Card Present will return
high after the last flux reversal.
Connect the ABA TK2 wires, example as below:
Clock (White)
Data (Green)
HOST/Terminal
Optional: External LED/Buzzer Control (Brown)
(Red)
(Black)
DF700
7.5~24VDC
GND
GND
Card Present (Orange)
0 0 0 . . . 0 1 1 0 1 0 0 1 . . . 0 0 0
Leading Zero
Data
Trailing Zero
/CARD PRESENT
/STROBE
(CLOCK)
/DATA
Bit Time 40IPS (min:280us, typ:330us, max:480us)
STROBE Width Approximately 25~50% Of Bit Time
PROMAG
DF7XX
REV.C
22
ANNEX D. RS232 Interface
Connect the RS232 wires, example as below:
HOST/Terminal
Optional: External LED/Buzzer Control (Brown)
(Red)
GND (Black)
DF700
7.5~24VDC
GND
GND
TXD (Yellow)
PROMAG
DF7XX
REV.C
23
ANNEX E. External LED/Buzzer Control
DF7XX reader supports the external LED/Buzzer control for Terminal (or Host) to prompt end-user the card data is invalid or valid. Use Brown wire to control the LED/Buzzer of DF7XX reader
Examples as below: (Active High)
(1) Show External Invalid Status
Data Output
Alarm Control (Brown)
(2) Show Card Valid Status
Data Output
Alarm Control (Brown)
Note:
1. Send one pulse to show the Extern InvalidLED/Buzzer Status.
2. Send three or more pulse to show the Card ValidLED/Buzzer status.
3. You can configure the LED/Buzzer status by READER utility Software.
Min 100ms
Min 100ms
PROMAG
DF7XX
REV.C
24
ANNEX F. Order Information
Part Number
Include
Description
DF700-00
DF700-00
DF700 DESFire® Configurable Reader
MF700KIT-10
MF700KIT
WAS-T0029
DISK5238
Power Adaptor
Reader Kit
MF7XX Configure Cable
Card Issue and Utility Software
DC Power Adaptor 9VDC for MF7XXKIT
MFA01
MFA01
Mifare® Standard 1K Card
MFA04
MFA04
Mifare® Standard 4K Card
PROMAG
DF7XX
REV.C
25
ANNEX G. WebISP - Firmware Upgrade Utility
DF7XX reader also supports the ISP (In-System Program) function to upgrade the readers
firmware.
Install the WebISP (include in CD-ROM) in your Windows System first (It may need to
reboot your system) and follow the steps as below: (First of all, you need to connect
the reader or programmer to PC, and make sure they were power-on)
Step 1: Input your account
(UserName and Password)
Note:
Contact us to get your
account when needed.
Step 2: Click [Start Check]
to automatically check the
firmware version from our
FTP server.
Note:
1. The WebISP will auto
scan all COM ports to
search the reader or
programmer.
2. The WebISP will show the
[Update Information]
and list the update
history.
Show the update history.
PROMAG
DF7XX
REV.C
26
Step 3: If your readers or
programmer’s firmware out
of date, then WebISP will
prompt you to update the
firmware. Click [Update]
to begin Updating the
firmware.
Step 4: Wait for the
updating to finish. And
repeat step 2 to update
other readers or
programmers.
Update finished
PROMAG
DF7XX
REV.C
27
ANNEX H. Configured Card
You can configure the reader by Mifare® Card when the "Configured Card Enabled" is
enabled.
Step 1: Connect the PCR310 to
PC for issuing card.
Click "Auto Scan"
Choose "DF700/DF750 Series"
Choose DF700-00/DF750-00
Click "OK"
Remark: DO NOT connect the
reader to PC when auto scan.
Step 2: Configure all
settings as normal.
Click "Configure Card"
PROMAG
DF7XX
REV.C
28
Step 3: Type in correct
"Configured Key" as same as
reader configured before.
Put an empty Mifare® Card.
Click "Create"
Finish
Take this card to approach
the reader for configured
settings.
PROMAG
DF7XX
REV.C
29
ANNEX I. Key Pad Settings (for DF750K/DF760K)
(Default=Wiegand 8Bits)
a. Wiegand 4,6,8: Send Wiegand signal pre key pressing. b. ASCII Hex Code: Send ASCII code pre key pressing. c. Buffering(Decimal): press 0~65535 number and press "#" to send decimal number.("*" to cancel)
Wiegand 4 bits
Wiegand 6 bits
Wiegand 8 bits
ASCII Hex Code
Buffering(Decimal)
1
0001
000010
11100001
31 00 00
0~65535
2
0010
000100
11010010
32 00 00
3
0011
000111
11000011
33 00 00
4
0100
101001
10110100
34 00 00
5
0101
101010
10100101
35 00 00
6
0110
101100
10010110
36 00 00
7
0111
101111
10000111
37 00 00
8
1000
110001
01111000
38 00 00
9
1001
110010
01101001
39 00 00
0
0000
000001
11110000
30 00 00
*
1010
110100
01011010
2A 00 00
Cancel
#
1011
110111
01001011
23 00 00
Send
PROMAG
DF7XX
REV.C
30
ANNEX J. History
Rev A: February 12, 2009
Issue DF7XX Reader.
Rev B: October 29, 2009
Fix power supply 7.5V~24VDC
Rev C: November 30, 2011 (Kylie)
Update Mifare Reader Utility Pics.
Modify Reader ID to 0~63.
Add Source Data Order. (P.14)
Modify Sequence Order to Output Data Order.(P.14)
Modify Remark. (P.11)
PROMAG
DF7XX
REV.C
31
PROMAG
®
GIGA-TMS INC.
http://www.gigatms.com.tw
mailto:promag@gigatms.com.tw
TEL : +886-2-26954214 FAX : +886-2-26954213
Office: 8F, No. 31,Lane 169, Kang-Ning St.,Hsi-Chih, Taipei, Taiwan
Loading...