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
SW1
SW2
LEN
01
H
SW1, SW2
= 90
H
00
H
if no error
READ_MEMORY_CARD
Command format
Header
Instruction
Data length
Data
LEN
CLA
INS
Byte Address
MEM_L
MSB
LSB
01
H
A0
H
00
H
05
H
FF
H
INS
=
B0
H
for 32,64,128,256,512kbit iic card
= 1011 000*
b
for 1024kbit iic card, where * is the MSB of the 17 bit addressing
Byte Address
Memory address location of the memory card.
MEM_L
Length of data to be read from the memory card.
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
Byte Address
MEM_L
Byte 1
....
.... Byte n
MSB
LSB
MSB
LSB
01
H
A0
H
FF
H
INS
=
D0
H
for 32,64,128,256,512kbit iic card
= 1101 000*
b
for 1024kbit iic card, where * is the MSB of the 17 bit addressing
Byte Address
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.
ACR38 Reference Manual
Version 2.2 January 2008
Page
21
of 44