Write_Memory_Card; Write_Protection_Memory_Card - ACS ACR 38 Reference Manual

Smart card reader/writer
Table of Contents

Advertisement

Response data format
BYTE x
Data read from memory card
SW1, SW2 = 90
00
H

WRITE_MEMORY_CARD

Command format
Header
Instruction
01
A0
H
MSB Byte Address
LSB Byte Address
LEN
MEM_L
Byte x
Response data format
SW1, SW2 = 90
00
H

WRITE_PROTECTION_MEMORY_CARD

Each of the bytes specified in the command is internally in the card compared with the byte stored at the specified address
and if the data matches, the corresponding protection bit is irreversibly programmed to '0'.
Command format
Header
Instruction
01
A0
H
MSB Byte Address
LSB Byte Address
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
BYTE 1
LEN
01
H
if no error
H
Data length
LEN
CLA
MSB
LSB
FF
H
H
= 0000 00A
A
is the memory address location of the memory card.
9
8 b
= A
A
A
A
A
A
A
A
is the memory address location of the memory card.
7
6
5
4
3
2
1
0 b
= 5 + MEM_L
Length of data to be written to the memory card.
Data to be written to the memory card.
Header
Status
01
H
if no error
H
Data length
LEN
CLA
MSB
LSB
FF
H
H
= 0000 00A
A
is the memory address location of the memory card.
9
8 b
= A
A
A
A
A
A
A
A
is the memory address location of the memory card.
7
6
5
4
3
2
1
0 b
...
...
BYTE N
SW1
Data
INS
Byte Address
MEM_L
MSB
LSB
D0
H
Data length
SW1
SW2
LEN
Data
INS
Byte Address
MEM_L
MSB
LSB
D1
H
SW2
Byte 1
....
....
Byte N
Byte 1
....
....
Byte N
Page 30 of 44

Advertisement

Table of Contents
loading

Table of Contents