Datasheet

Block Mode 0: This is the transport configuration (delivery state). In this mode the block is
readable and all data manipulating commands are enabled.
But who is allowed to change the Block Mode itself? The sector trailer has its own access
bits, where exactly this and some other details are configured. The set of access right stored
in the trailer block is called „Access Mode“. Here you can configure whether Key A, Key B
or the access bits are read/writeable.
Access condition for
Access Bits Key A Key B
Access
bits
Access-
Mode
read write read write read write
C1 C2 C3
A NEV NEV A A A 0 0 0 0
A|B
NEV
NEV
NEV
B
1 0 0
1
A
NEV
NEV
A
NEV
0 1 0
2
A|B
NEV
NEV
NEV
NEV
1 1 0
3
A
A
NEV
A
A
0 0 1
4
A|B B NEV NEV NEV NEV 1 0 1 5
A|B
B
NEV
NEV
B
0 1 1
6
A|B
NEV
NEV
NEV
NEV
1 1 1
7
Table 17: Access-Modes (NEV = Never)
Example:
Access-Mode 4: This is the transport configuration (delivery state). In this mode the access
bits can only be read or written when using key A for authentication. The same applies to
Key B. Key A can only be written.
Appendix 5: Overview of Tag Properties
Tag-type SAK (Level 1/Level 2) ATQA UID Length
Mifare 1k 08h/ XX 0400h 4 Bytes
Mifare 4k 18h/ XX 0200h 4 Bytes
Mifare Desfire 24h/20h 4403h 7 Bytes
Mifare Ultralight 04h/00h 4400h 7 Bytes
Table 18: Different characteristics of MiFare Chips
metraTec MiFare Protocol Guide Page 36 of 38