Present_code_memory_card – ACS ACR33U-A1 SmartDuo Smart Card Reader User Manual

Page 52

Advertising
background image

ACR33U-A1 – Reference Manual

[email protected]

Version 1.02

www.acs.com.hk

Page 52 of 60

Response data format (abData field in the RDR_to_PC_DataBlock)

SW1 SW2

Where:

SW1, SW2 = 90 00h if no error

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.

The ACR33U-A1 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 (SLE4436, SLE5536 and SLE6636

only)

To read a card authentication certificate from a SLE5536 or SLE6636 card, the following actions are

executed by the ACR33U-A1:

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.

Advertising