ACR3801 – Reference Manual
Version 2.01
www.acs.com.hk
Page 30 of 62
8.3.3.3. WRITE_MEMORY_CARD
Command Format (
abData
field in the
PC_to_RDR_XfrBlock
)
Pseudo-APDU
CLA INS
P1
Byte Address MEM_L 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 to the memory card
MEM_D
Data to be written to the memory card
Response Data Format (
abData
field in the
RDR_to_PC_DataBlock
)
SW1 SW2
Where:
SW1 SW2
= 90 00h if no error
8.3.3.4. VERIFY_PASSWORD
Command Format (
abData
field in the
PC_to_RDR_XfrBlock
)
Pseudo-APDU
CLA INS
P1
P2
Lc
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.