Page 46 of 77 Copyright © Access-IS 2020
7.6.3 Example
This command successfully creates a value field in block number 4 and initialises the value to
[0x00000001]. The command uses the loaded key and authenticates against Key A in the media.
[0x00][0x4A][0x04][0x00][0x00][0x0][0x01]
[0x00][0x4B][0x04][0x90][0x00]
[0x6F][0x07][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x00]
[0x00][0x4A][0x04][0x00][0x00][0x00][0x01]
[0x80][0x05][0x00][0x00][0x00][0x00][0x00][0x00][0x00][0x00]
[0x00][0x4B][0x04][0x90][0x00]
7.7 MIFARE increment value block (key A or key B)
Use this command to authenticate the given MIFARE block against the MIFARE media’s internal
Key A or B and then increment the value block.
You must load the MIFARE key using MIFARE load key (on page 40) before sending this command.
The specified block number must also be a value block or the command will fail. To create a value
block, use the MIFARE create value block (key A or key B) command (on page 44).
Note: This command is NOT applicable to MIFARE Ultralight cards and fails if executed on
Ultralight cards. Ultralight cards do not support value blocks.
7.7.1 MIFARE command bytes
[0x0C]
Increment value block (Key A)
32-bit increment
value
(MSB first)
[0x1C]
Increment value block (Key B)
[0x4C]
Authenticate and increment value block (Key A)
[0x5C]
Authenticate and increment value block (Key B)
[0x8C] or [0xCC]
RF select, authenticate and increment value
block (Key A)
[0x9C] or [0xDC]
RF select, authenticate and increment value
block (Key B)