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
Response data format
Header
Status
Data length
BYTE 1
…
…
BYTE N
SW1
SW2
LEN
01
H
BYTE x
Data read from memory card
SW1, SW2
= 90
H
00
H
if no error
WRITE_MEMORY_CARD
Command format
Header
Instruction
Data length
Data
LEN
CLA
INS
Zone
Address
Byte
Address
MEM_L
Byte 1
....
.... Byte n
MSB
LSB
01
H
A0
H
FF
H
INS
=
D0
H
for writing user zone
=
D1
H
for writing configuration zone or writing fuse
Zone Address
= 0000 0A
10
A
9
A
8
b
, where A
10
is the MSB of zone address
= don’t care for writing fuse
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.
= 1000 0000
b
for writing fuse
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
ACR38 Reference Manual
Version 2.2 January 2008
Page
26
of 44