
Page
49
of
77
Copyright © Access-IS 2020
7.9 MIFARE Ultralight read block
Use this command to read the contents of the specified block.
The Ultralight card blocks are only 4 bytes long.
Note: This command is applicable ONLY to MIFARE Ultralight cards and fails if executed on other
MIFARE card types.
7.9.1 MIFARE Ultralight command bytes
MIFARE Ultralight command bytes
Command header
Command code
Block number
[0x00]
[0x20]
MIFARE Ultralight read block
Block number
7.9.2 MIFARE Ultralight response bytes
MIFARE Ultralight response bytes
Response header
Response code
Block number
Block data (1)
Status bytes
[0x00]
[0x21]
Block number
16 bytes
(4 consecutive block
data are retrieved)
[0x90][0x00]
Success
Failure
(1)
This field is present only if the command is successful. Refer to page 55 for information on
MIFARE failure status codes.
7.9.3 Example
This command successfully reads four blocks (block numbers 4, 5, 6 and 7) from the Ultralight
MIFARE card.
There is no authentication feature on Ultralight cards.
USB
Command:
[0x00][0x20][0x04]
Response:
[0x00][0x21][0x04][0x04][0x01][0x02][0x03][0x55][0x66][0x77]
[0x88][0x05][0x06][0x07][0x08][0x09][0x0A][0x0B][0x0C][0x90]
[0x00]
Serial
Command:
[0x6F][0x03][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x00]
[0x00][0x20][0x04]
Response:
[0x80][0x15][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x00]
[0x00][0x21][0x04][0x04][0x01][0x02][0x03][0x55][0x66][0x77]
[0x88][0x05][0x06][0x07][0x08][0x09][0x0A][0x0B][0x0C][0x90]
[0x00]