User Manual

ACR38x (CCID) Reference Manual info@acs.com.hk
Version 6.04
www.acs.com.hk
Page 47 of 58
Command Format (abData field in the PC_to_RDR_XfrBlock)
Pseudo-APDU
CLA INS P1 Byte Address MEM_L Byte 1 Byte N
FFh D0h 00h
Where:
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 (abData field in the RDR_to_PC_DataBlock)
SW1 SW2
Where:
SW1 SW2 = 90 00h if no error
9.3.8.4. ERASE_SCRATCH_PAD_MEMORY_CARD
This command is used to erase the data of the scratch pad memory of the inserted card. All memory
bits inside the scratch pad memory will be programmed to the state of ‘1’.
To erase error counter or user area, please use the VERIFY_USER_CODE command as specified in
the Section 9.3.8.5.
Command Format (abData field in the PC_to_RDR_XfrBlock)
Pseudo-APDU
CLA INS P1 Byte Address MEM_L
FFh D2h 00h 00h
Where:
Byte Address = Memory byte address location of the scratch pad
Typical value is 0x02h
Response Data Format (abData field in the RDR_to_PC_DataBlock)
SW1 SW2
Where:
SW1 SW2 = 90 00h if no error