User guide
ACR38x – Reference Manual info@acs.com.hk
Version 6.02
www.acs.com.hk
Page 22 of 40
Response Buffer Format
SCardTransmit Receive Buffer
SW1 SW2
Where:
SW1 SW2 = 90 00h if no error.
9.2.2.2.2. READ_MEMORY_CARD
Send Buffer Format
SCardTransmit Send Buffer
CLA INS
Byte Address
MEM_L (P3)
MSB (P1) LSB (P2)
FFh
Where:
INS = B0h for 32, 64, 128, 256, 512 kbit 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 Buffer Format
SCardTransmit Receive Buffer
BYTE 1 … … BYTE N SW1 SW2
Where:
BYTE x Data read from memory card.
SW1 SW2 = 90 00h if no error.
9.2.2.2.3. WRITE_MEMORY_CARD
Send Buffer Format
SCardTransmit Send Buffer
CLA INS
Byte Address
MEM_L (P3) Byte 1 .... .... Byte n
MSB (P1) LSB (P2)
FFh
Where:
INS = D0h for 32, 64, 128, 256, 512 kbit iic card.