ACR1281U-C1 – Application Programming Interface
Version 1.08
www.acs.com.hk
Page 47 of 96
5.1.9.3.
Write Memory Card
This command writes 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
Pseudo-APDU
Command
Class
INS
P1
Byte
Address
MEM_L
Byte 1
…
…
Byte N
Write Memory
Card
FFh
D0h
00h
Where:
Byte Address
(1 byte)
Memory address location of the memory card.
MEM_L
(1 byte)
Length of data to be written to the memory card
Byte (1…N)
Byte value to be written to the card.
Response
Response
Data Out
Result
SW1
SW2
Where:
SW1 SW2
= 90 00h if the operation is completed successfully.
5.1.9.4.
Erase non-application zone
This command erases 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