User's Manual

ACR1281U
Advanced Card Systems Ltd. Page 66 of 81
9.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
Pseudo-APDU
CLA INS P1 Byte
Address
MEM_L Byte 1 .... .... Byte N
FF
H
D0
H
00
H
Byte Address = Memory address location of the memory card.
MEM_L Length of data to be written to the memory card.
BYTE Byte value to be written to the card
Response data format
SW1 SW2
SW1, SW2 = 90 00 if no error
9.4 Erase Non-Application Zone
To erase the data in Non-Application Zones. The EEPROM memory is organized into 16 bit
words. Although erases are performed on single bits the ERASE operation clears an entire word in
the memory. Therefore, performing an Erase on any bit in the word will clear All 16 bits of that
word to the state of ‘1’.
To erase Error Counter or the data in Application Zones, please refer to:
- Erase Application Zone With Erase command as specified
- Erase Application Zone With Write and Erase command as specified
- Verify Security Code commands as specified
Command format
Pseudo-APDU
CLA INS P1 Byte
Address
MEM_L
FF
H
D2
H
00
H
00
H
Byte Address
= Memory byte address location of the word to be erased.
Response data format