
ACR1281U-C1 – Application Programming Interface
Version 1.08
www.acs.com.hk
Page 58 of 96
5.2.4.2.
PICC Commands (T=CL Emulation) for MIFARE 1K/4K Memory Cards
5.2.4.3.
Load authentication keys
This command loads the authentication keys into the reader. The authentication keys are used to
authenticate the specified sector of the MIFARE 1K/4K Memory Card. Two kinds of authentication key
locations are provided, volatile and non-volatile key locations.
Command
Command
Class INS
P1
P2
Le
Data In
Load Authentication Keys
FFh
82h
Key
Structure
Key
Number
06h
Key
Where:
Key Structure
(1 byte)
00h
= Key is loaded into the reader’s volatile memory
20h
= Key is loaded into the reader’s non-volatile memory
Other = Reserved.
Key Number
(1 byte)
00h – 1Fh
=
Non-volatile memory for storing keys. The keys are
permanently stored in the reader and will not be erased even if the
reader is disconnected from the PC. It can store up to 32 keys inside
the reader non-volatile memory.
20h (Session Key)
=
Volatile memory for temporarily storing keys.
The keys will be erased when the reader is disconnected from the
PC. Only one volatile memory is provided. The volatile key can be
used as a session key for different sessions. Default value = FF FF
FF FF FF FFh.
Key
(6 bytes)
The key value loaded into the reader.
E.g. {FF FF FF FF FF
FFh}
Response
Response
Data Out
Result
SW1
SW2
Where:
SW1 SW2
= 90 00h means the operation is completed successfully.
= 63 00h means the operation failed.