
Philips Semiconductors
Product Specification Rev. 3.0; May 2003
Multiple Protocol Contactless Reader IC
CL RC632
135
Confidential
18.9 MIFARE
Classic Security Commands
18.9.1 LOADKEYE2 COMMAND 0B
HEX
18.9.1.1 Overview
Command
Code
hex
Action
Arguments and Data
Returned Data
LoadKeyE2
0B
Reads a key from the E2PROM and puts it
into the internal key buffer
Start Address LSB
Start Address MSB
-
The
LoadKeyE2-Command
interprets the first two bytes found in the FIFO buffer as E2PROM starting
byte-address. The E2PROM bytes starting from the given starting byte-address are interpreted as key, stored
in the correct key format as described in chapter 6.4.1. When all two argument-bytes are available in the
FIFO buffer, the command execution starts. The
LoadKeyE2-Command
can be started only by the μ-
Processor. It stops automatically after having copied the key from the E2PROM into the key buffer.
18.9.1.2 Relevant Error Flags for the LoadKeyE2-Command
If the key format is not correct (see chapter 6.4.1) an undefined value is copied into the key buffer and the
flag
KeyError
is set.
18.9.2 LOADKEY COMMAND 19
HEX
18.9.2.1 Overview
Command
Code
hex
Action
Arguments and Data
Returned Data
LoadKey
19
Reads a key from the FIFO buffer and puts it
into the key buffer
Byte0 (LSB)
Byte1
…
Byte10
Byte11 (MSB)
-
The
LoadKey-Command
interprets the first twelve bytes it finds in the FIFO buffer as key, stored in the
correct key format as described in chapter 6.4.1.
When the twelve argument-bytes are available in the FIFO buffer they are checked and, if valid, are copied
into the key buffer (see also 19.2).
The
LoadKey-Command
can only be started by the μ-Processor. It stops automatically after having copied
the key from the FIFO buffer into the key buffer.
18.9.2.2 Relevant Error Flags for the LoadKey-Command
All bytes requested are copied from the FIFO buffer to the key buffer. If the key format is not correct (see
chapter 6.4.1) an undefined value is copied into the key buffer and the flag
KeyError
is set.