English
Language : 

CLRC632 Datasheet, PDF (135/163 Pages) NXP Semiconductors – Multiple Protocol Contactless Reader IC
Philips Semiconductors
Product Specification Rev. 3.0; May 2003
Multiple Protocol Contactless Reader IC
CL RC632
18.9 MIFARE® Classic Security Commands
18.9.1 LOADKEYE2 COMMAND 0BHEX
18.9.1.1 Overview
Command
LoadKeyE2
Codehex
Action
0B
Reads a key from the E²PROM and puts it
into the internal key buffer
Arguments and Data
Start Address LSB
Start Address MSB
Returned Data
-
The LoadKeyE2-Command interprets the first two bytes found in the FIFO buffer as E²PROM starting
byte-address. The E²PROM 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 E²PROM 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 19HEX
18.9.2.1 Overview
Command
LoadKey
Codehex
Action
19
Reads a key from the FIFO buffer and puts it
into the key buffer
Arguments and Data
Byte0 (LSB)
Byte1
…
Byte10
Byte11 (MSB)
Returned Data
-
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.
135
Confidential