Present_Code_Memory_Card - ACS ACR 38 Reference Manual

Smart card reader/writer
Table of Contents

Advertisement

Command format
Header
01
H
Byte Address = Memory address location of the memory card.
LEN
= 5 + MEM_L
MODE
Specifies the write mode and backup option
00
: write
H
01
: write with carry
H
02
: write with backup enabled (SLE4436 and SLE5536 only)
H
03
: write with carry and with backup enabled (SLE4436 and SLE5536 only)
H
BYTE
Byte value to be written to the card
Response data format
SW1, SW2 = 90
00
H

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
01
A0
H
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
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
Instruction
Data length
LEN
CLA
MSB
LSB
A0
FF
H
Header
Status
01
H
if no error
H
Data length
CLA
LEN
MSB
LSB
00
08
FF
H
H
H
Data
INS
P1
Byte
MEM_L
Address
D0
00
H
H
H
Data length
SW1
SW2
LEN
Data
INS
P1
P2
MEM_L
20
00
00
04
H
H
H
H
MODE
BYTE
02
H
CODE
ADDR
Byte 1
Byte 2
Byte 3
Page 40 of 44

Advertisement

Table of Contents
loading

Table of Contents