User guide
ACR38x – Reference Manual info@acs.com.hk
Version 6.02
www.acs.com.hk
Page 21 of 40
Where:
BYTE x Data read from memory card.
SW1 SW2 = 90 00h if no error.
9.2.2.1.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 D0h
Where:
Byte Address Memory address location of the memory card.
MEM_L Length of data to be written in the memory card.
Byte x Data to be written to the memory card.
Response Buffer Format
SCardTransmit Receive Buffer
SW1 SW2
Where:
SW1 SW2 = 90 00h if no error.
9.2.2.2. Memory Card – 32, 64, 128, 256, 512, and 1024 Kbit I2C Card
9.2.2.2.1. SELECT_PAGE_SIZE
This command will choose the page size to read the smart card. The default value is 8-byte page
write. It will reset to default value whenever the card is removed or the ACR38x is powered off.
Send Buffer Format
SCardTransmit Send Buffer
CLA INS P1 P2 Lc (P3) Page size
FFh 01h 00h 00h 01h
Where:
Data TPDU to be sent to the card.
Page size = 03h for 8-byte page write.
= 04h for 16-byte page write.
= 05h for 32-byte page write.
= 06h for 64-byte page write.
= 07h for 128-byte page write.