User's Manual

ACR1281U
Advanced Card Systems Ltd. Page 62 of 81
8. Memory Card – SLE4404
8.1 Select Card Type
This command powers down and up the selected card inserted in the card reader and performs a
card reset.
Command format
Pseudo-APDU
CLA INS P1 P2 Lc Card Type
FF
H
A4
H
00
H
00
H
01
H
08
H
Response data format
SW1 SW2
SW1, SW2 = 90 00 if no error
8.2 Read Memory Card
Command format
Pseudo-APDU
CLA INS P1 Byte
Address
MEM_L
FF
H
B0
H
00
H
Byte Address = Memory address location of the memory card.
MEM_L Length of data to be read from the memory card.
Response data format
BYTE 1 BYTE N SW1 SW2
BYTE x Data read from memory card
SW1, SW2 = 90 00 if no error
8.3 Write Memory Card
To write data to the specified address of the inserted card. The byte is written to the card with LSB
first, i.e., the bit at card address 0 is regarded as the LSB of byte 0.
The byte at the specified card address is not erased prior to the write operation and, hence, memory
bits can only be programmed from '1' to '0'.
Command format