Read_Memory_Card; Write_Memory_Card - ACS ACR 38 Reference Manual

Smart card reader/writer
Table of Contents

Advertisement

Response data format
SW1, SW2 = 90
00
H

READ_MEMORY_CARD

Command format
INS
= B0
H
= 1011 000*
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
01
BYTE x
Data read from memory card
SW1, SW2 = 90
00
H

WRITE_MEMORY_CARD

Command format
Header
Instruction
01
A0
H
INS
= D0
H
= 1101 000*
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
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
01
H
if no error
H
Header
Instruction
Data length
LEN
01
A0
00
05
H
H
H
for 32,64,128,256,512kbit iic card
for 1024kbit iic card, where * is the MSB of the 17 bit addressing
b
Status
Data length
BYTE 1
LEN
H
if no error
H
Data length
LEN
CLA
MSB
LSB
FF
H
H
for 32,64,128,256,512kbit iic card
for 1024kbit iic card, where * is the MSB of the 17 bit addressing
b
Data length
SW1
SW2
LEN
Data
CLA
INS
Byte Address
MSB
FF
H
H
...
...
BYTE N
Data
INS
Byte Address
MEM_L
MSB
LSB
MEM_L
LSB
SW1
SW2
Byte 1
....
....
Byte n
Page 21 of 44

Advertisement

Table of Contents
loading

Table of Contents