Read_memory_card, Write_memory_card – ACS ACR33U-A1 SmartDuo Smart Card Reader User Manual
Page 30
![background image](/manuals/248156/30/background.png)
ACR33U-A1 – Reference Manual
Version 1.02
www.acs.com.hk
Page 30 of 60
Response data format (abData field in the RDR_to_PC_DataBlock)
SW1 SW2
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, 512 kbit iic card
= 1011 000*b for 1024 kbit 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
FFh
Where:
INS
= D0h for 32, 64, 128, 256, 512 kbit iic card
= 1101 000*b for 1024 kbit 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