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
Response data format
Header
Status
Data length
ERRCNT
CODE
SW1
SW2
LEN
Byte 1
Byte 2
Byte 3
01
H
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
H
00
H
if no error
If the correct code has been presented to the card, the value of ERRCNT is 07
H
and the value of CODE is
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
Header
Instruction
Data length
Data
LEN
CLA
INS
P1
P2
MEM_L
MSB
LSB
01
H
A0
H
00
H
08
H
FF
H
B1
H
00
H
00
H
00
H
Response data format
Header
Status
Data length
ERRCNT
DUMMY 1
DUMMY 2
DUMMY 3
SW1
SW2
LEN
01
H
ERRCNT
The value of the presentation error counter.
DUMMY
Three bytes dummy data read from the card.
SW1, SW2
= 90
H
00
H
if no error
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
Data length
Data
LEN
CLA
INS
P1
P2
MEM_L
CODE
MSB
LSB
Byte 1
Byte 2
Byte 3
01
H
A0
H
00
H
08
H
FF
H
D2
H
00
H
01
H
03
H
ACR38 Reference Manual
Version 2.2 January 2008
Page
36
of 44