A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r
LEN
= 5 + MEM_L
MEM_L
Length of data to be written to the memory card.
Byte x
Byte values to be compared with the data in the card starting at Byte Address. BYTE 1 is
compared with the data at Byte Address; BYTE N is compared with the data at (Byte
N-1).
Response data format
Header
Status
Data length
SW1
SW2
LEN
01
H
SW1, SW2
= 90
H
00
H
if no error
PRESENT_CODE_MEMORY_CARD (only SLE 4428)
To submit the secret code to the memory card to enable the write operation with the SLE4428 card. The following
actions are executed:
-
search a ‘1’ bit in the presentation error counter and write the bit to ‘0’
-
present the specified code to the card
-
try to erase the presentation error counter
Command format
Header
Instruction
Data length
Data
LEN
CLA
INS
P1
P2
MEM_L
CODE
MSB
LSB
Byte 1
Byte 2
01
H
A0
H
00
H
07
H
FF
H
20
H
00
H
00
H
02
H
CODE
Two bytes secret code (PIN)
Response data format
Header
Status
Data length
ERRCNT
CODE
SW1
SW2
LEN
Byte 1
Byte 2
01
H
ERRCNT
The value of the presentation error counter after the code presentation.
CODE
The two bytes secret code read from the card.
SW1, SW2
= 90
H
00
H
if no error
If the correct code has been presented to the card, the value of ERRCNT is FF
H
and the value of CODE is
identical to the code data specified in the command.
READ_PRESENTATION_ERROR_COUNTER_MEMORY_CARD (only SLE 4428)
To read the presentation error counter for the secret code.
ACR38 Reference Manual
Version 2.2 January 2008
Page
31
of 44