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
Command format
Header
Instruction
Data length
Data
LEN
CLA
INS
P1
Byte
Address
MEM_L
Byte 1
....
....
Byte N
MSB
LSB
01
H
A0
H
FF
H
D1
H
00
H
Byte Address
= 000A
4
A
3
A
2
A
1
A
0
b
(00
H
to 1F
H
) is the protection memory address location of the memory
card.
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 5542)
To submit the secret code to the memory card to enable the write operation with the SLE5542 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
Byte 3
01
H
A0
H
00
H
08
H
FF
H
20
H
00
H
00
H
03
H
CODE
Three bytes secret code (PIN)
ACR38 Reference Manual
Version 2.2 January 2008
Page
35
of 44