Write_Memory_Card; Erase_Scratch_Pad_Memory_Card - ACS ACR3x mobile Reference Manual

Hide thumbs Also See for ACR3x mobile:
Table of Contents

Advertisement

8.8.3.

WRITE_MEMORY_CARD

This command is used 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
CLA
INS
FFh
D0h
Where:
Byte Address
MEM_L
BYTE
Response Data Format
SW1
SW2
Where:
SW1 SW2 = 90 00h if no error
8.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 8.8.5.
Command Format
CLA
INS
FFh
D2h
Where:
Byte Address
ACR3x – Reference Manual
Version 1.03
Pseudo-APDU
P1
Byte Address
00h
= Memory address location of the memory card
Length of data to be written to the memory card
Byte value to be written to the card
Pseudo-APDU
P1
Byte Address
00h
Memory byte address location of the scratch pad
Typical value is 02h
MEM_L
Byte 1
...
MEM_L
00h
Byte N
Page 47 of 77
info@acs.com.hk
www.acs.com.hk

Advertisement

Table of Contents
loading

Table of Contents