ACR3801 – Reference Manual
Version 2.01
www.acs.com.hk
Page 48 of 62
8.3.7.4. PRESENT_CODE_MEMORY_CARD
To submit the secret code to the memory card to enable the card personalization mode, the following
actions are executed:
1. Search a '1' bit in the presentation counter and write the bit to '0'.
2. Present the specified code to the card.
ACR3801 does not try to erase the presentation counter after the code submission. This must be
done by the application software through a separate ‘Write with carry' command.
Command Format (
abData
field in the
PC_to_RDR_XfrBlock
)
Pseudo-APDU
CLA INS
P1
P2
MEM_L
CODE
ADDR Byte 1 Byte 2 Byte 3
FFh
20h
00h
00h
04h
09h
Where:
ADDR
Byte address of the presentation counter in the card
CODE
Three bytes secret code (PIN)
Response Data Format (
abData
field in the
RDR_to_PC_DataBlock
)
SW1 SW2
Where:
SW1 SW2
= 90 00h if no error
8.3.7.5. AUTHENTICATE_MEMORY_CARD (SLE 4436, SLE 5536 and SLE
6636)
To read a card authentication certificate from a SLE 5536 or SLE 6636 card, the ACR3801 executes
the following actions:
1. Select Key 1 or Key 2 in the card as specified in the command.
2. Present the challenge data specified in the command to the card.
3. Generate the specified number of CLK pulses for each bit of authentication data computed by
the card.
4. Read 16 bits of authentication data from the card.
5. Reset the card to normal operation mode.
The authentication has to be performed in two steps. The first step is to send the Authentication
Certificate to the card. The second step is to get back two bytes of authentication data calculated by
the card.