Reference Manual
Prox–DU & Prox–SU
www.gemalto.com
DOC118569D Public Use Page 61/145
Command executed successfully 90 00h
Others Refer to the error codes table below
Note:
For MIFARE
®
1K, MIFARE
®
4K and MIFARE
®
Mini, it is mandatory to perform the General
Authenticate command before each read memory block operation. Otherwise, an
authentication error will occur.
For MIFARE
®
Ultralight the General Authenticate operation is not required. Refer to the
appendix for the MIFARE
®
Ultralight read operation.
Update Binary command
The Update Binary command is used to write data into a MIFARE
®
memory area.
Data consist of a memory block (16 bytes) or a memory page (4 bytes).
This command is formatted as follows:
CLA INS P1 P2 Lc DATA
FFh D6h ABLM ABLL Size Data
1 byte 1 byte 1 byte 1 byte 1 byte 16 bytes
The response is formatted as follows:
SW1 SW2
1 byte 1 byte
Where:
ABLM Address Block MSB 00h
ABLL Address Block LSB
MIFARE
®
1K
MIFARE
®
4K
MIFARE
®
Mini
MIFARE
®
Ultralight
00h – 3Fh
00h – FFh
00h – 13h
00h – 0Fh (*)
Size Size of the memory area
MIFARE
®
1K, 4K, Mini
MIFARE
®
Ultralight
10h (size of the memory block)
04h (size of the memory page)
Data
MIFARE
®
1K, 4K, Mini
MIFARE
®
Ultralight
16-byte of data
4-byte of data
The first byte of the block is byte 0
Present only when there is no error