
ACR38 Reference Manual
version 1.9 February 2006
8.2.6.4 WRITE_MEMORY_CARD
Command format
Header
Instruction
Data length
Data
LEN
CLA
INS
Byte Address
MEM_L
Byte 1
....
....
Byte N
MSB
LSB
MSB
LSB
01
H
A0
H
FF
H
D0
H
MSB Byte Address
= 0000 00A
9
A
8
b
is the memory address location of the memory card.
LSB Byte Address
=
A
7
A
6
A
5
A
4
A
3
A
2
A
1
A
0
b
is the 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
Data to be written to the memory card.
Response data format
Header
Status
Data length
SW1
SW2
LEN
01
H
SW1, SW2
= 90
H
00
H
if no error
8.2.6.5 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
Data length
Data
LEN
CLA
INS
Byte Address
MEM_L
Byte 1
....
....
Byte N
MSB
LSB
MSB
LSB
01
H
A0
H
FF
H
D1
H
MSB Byte Address
= 0000 00A
9
A
8
b
is the memory address location of the memory card.
LSB Byte Address
=
A
7
A
6
A
5
A
4
A
3
A
2
A
1
A
0
b
is the 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).
Advanced Card Systems Ltd.
Page 29 of 43