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
MODE
BYTE
MSB
LSB
01
H
A0
H
FF
H
D0
H
00
H
02
H
Byte Address
= Memory address location of the memory card.
LEN
= 5 + MEM_L
MODE
Specifies the write mode and backup option
00
H
: write
01
H
: write with carry
02
H
: write with backup enabled (SLE4436 and SLE5536 only)
03
H
: write with carry and with backup enabled (SLE4436 and SLE5536 only)
BYTE
Byte value to be written to the card
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
To submit the secret code to the memory card to enable the card personalization mode. The following actions are executed:
- search a '1' bit in the presentation counter and write the bit to '0'
- present the specified code to the card
The ACR38 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
Header
Instruction
Data length
Data
LEN
CLA
INS
P1
P2
MEM_L
CODE
MSB
LSB
ADDR
Byte 1
Byte 2
Byte 3
01
H
A0
H
00
H
08
H
FF
H
20
H
00
H
00
H
04
H
ADDR
Byte address of the presentation counter in the card
CODE
Three bytes secret code (PIN)
ACR38 Reference Manual
Version 2.2 January 2008
Page
40
of 44