User guide

ACR38xReference Manual info@acs.com.hk
Version 6.02
www.acs.com.hk
Page 24 of 40
9.2.2.3.2. WRITE_MEMORY_CARD
Send Buffer Format
SCardTransmit Send Buffer
CLA INS P1 Bye Address (P2) MEM_L (P3) Byte 1 .... .... Byte n
FFh 00h
Where:
INS = D0h for writing zone 00b.
= D1h for writing zone 01b.
= D2h for writing zone 10b.
= D3h for writing zone 11b.
= D4h for writing fuse.
Byte Address Memory address location of the memory card.
MEM_L Length of data to be written in the memory card.
MEM_D Data to be written to the memory card.
Response Buffer Format
SCardTransmit Receive Buffer
SW1 SW2
Where:
SW1 SW2 = 90 00h if no error.
9.2.2.3.3. VERIFY_PASSWORD
Send Buffer Format
SCardTransmit Send Buffer
CLA INS P1 P2 Lc (P3) Pw(0) Pw(1) Pw(2)
FFh 20h 00h 03h
Where:
Pw(0),Pw(1),Pw(2) Passwords to be sent to memory card.
P2 = 0000 00rpb
where the two bits “rp” indicate the password to compare:
r = 0: Write password,
r = 1: Read password,
p: Password set number,
rp = 01 for the secure code.