Read_memory_card, Write_memory_card – ACS ACR3801 Smart Card Reader User Manual
Page 27
![background image](/manuals/248159/27/background.png)
ACR3801 – Reference Manual
Version 2.01
www.acs.com.hk
Page 27 of 62
Where:
SW1 SW2 = 90 00h if no error
8.3.2.3. READ_MEMORY_CARD
Command Format (abData field in the PC_to_RDR_XfrBlock)
Pseudo-APDU
CLA INS
Byte Address
MEM_L
MSB
LSB
FFh
Where:
INS
= B0h 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 (abData field in the RDR_to_PC_DataBlock)
BYTE 1 … … BYTE N SW1 SW2
Where:
BYTE x
Data read from memory card
SW1 SW2
= 90 00h if no error
8.3.2.4. WRITE_MEMORY_CARD
Command Format (abData field in the PC_to_RDR_XfrBlock)
Pseudo-APDU
CLA INS
Byte Address
MEM_L Byte 1 .... .... Byte n
MSB
LSB
FF
Where:
INS
= D0h 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
MEM_L
Length of data to be written to the memory card
Byte x
Data to be written to the memory card