Reference Manual Preliminary
Prox–DU & Prox–SU
www.gemalto.com Release for first samples Do not use for final design
DOC118569A Public Use Page 46/134
Interfacing with MIFARE
®
Cards
As defined in PC/SC V2.0 Part 3 Revision 2.01.09 specifications, the Prox–DU and the
Prox–SU devices perform the appropriate mapping for memory smart card commands that
consist of Inter Industry commands (and the exposed data structures) to memory card
commands (and the associated data structures defined for the MIFARE
®
contactless
memory smart cards).
The Prox–DU and the Prox–SU devices will handle the following ISO7816-4 Inter Industry
commands to interface with MIFARE
®
1K, MIFARE
®
4K and MIFARE
®
Ultralight memory
smart cards:
• Get Data: retrieves the UID or the historical bytes of the ATS of the inserted smart
card.
• Load Keys: Load MIFARE
®
secret into the contactless reader/writer.
• General Authenticate: Perform an authentication between the contactless
reader/writer and the MIFARE
®
memory smart cards.
• Read Binary: Read data from the MIFARE
®
memory smart cards.
• Update Binary: Write data to the MIFARE
®
memory smart cards.
The MIFARE
®
1K is a 8-Kbit (1 Kbyte) MIFARE
®
memory contactless smart card arranged
as 64 memory blocks as shown in the appendix “MIFARE
®
cards mapping”.
The MIFARE
®
4K is a 32-Kbit (8 Kbytes) MIFARE
®
memory contactless smart card
arranged as 256 memory blocks as shown in the appendix “MIFARE
®
cards mapping”.
The MIFARE
®
Ultralight is a 512-bit (64 bytes) MIFARE
®
memory contactless smart card
arranged as 16 memory pages as shown in the appendix “MIFARE
®
cards mapping”.
ATR for MIFARE
®
cards
The Answer To Request (ATR) returned by a MIFARE
®
card is compliant with PC/SC V2.0
Part 3 Revision 2.01.09 specifications.
The ATR will be as follows:
Byte
Number
Value
Designatio
n
Description
0 3Bh
Initial
header
1 8Nh T0
• Higher nibble 8 means no TA1, TB1, TC1
only TD1 is following.
• Lower nibble N is the number of historical
bytes (HistByte 0 to HistByte N-1).
2 80h TD1
• Higher nibble 8 means no TA2, TB2, TC2
only TD2 is following.
• Lower nibble 0 means T = 0.