Response data format
ERRCNT
The value of the presentation error counter after the code presentation.
CODE
The three bytes secret code read from the card.
SW1, SW2 = 90
00
H
If the correct code has been presented to the card, the value of ERRCNT is 07
identical to the code data specified in the command.
READ_PRESENTATION_ERROR_COUNTER_MEMORY_CARD (only SLE 5542)
To read the presentation error counter for the secret code.
Command format
Response data format
Header
01
H
ERRCNT
The value of the presentation error counter.
DUMMY
Three bytes dummy data read from the card.
SW1, SW2 = 90
00
H
CHANGE_CODE_MEMORY_CARD (only SLE 5542)
To write the specified data as new secret code in the card.
The current secret code must have been presented to the card with the PRESENT_CODE command prior to
the execution of this command!
Command format
Header
Instruction
01
A0
H
ACR38 Reference Manual
Version 2.2 January 2008
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
Header
Status
Data length
ERRCNT
LEN
01
H
if no error
H
Header
Instruction
Data length
LEN
MSB
LSB
01
A0
00
08
H
H
H
Status
Data length
ERRCNT
LEN
if no error
H
Data length
LEN
CLA
MSB
LSB
00
08
FF
H
H
H
H
CODE
Byte 1
Byte 2
Byte 3
Data
CLA
INS
P1
FF
B1
00
H
H
H
H
DUMMY 1
DUMMY 2
DUMMY 3
Data
INS
P1
P2
MEM_L
D2
00
01
03
H
H
H
SW1
SW2
and the value of CODE is
H
P2
MEM_L
00
00
H
H
SW1
SW2
CODE
Byte 1
Byte 2
Byte 3
H
Page 36 of 44