User's Manual

ACR1281U
Advanced Card Systems Ltd. Page 64 of 81
Pseudo-APDU
CODE CLA INS Error Counter
LEN
Byte
Address
MEM_L
Byte 1
Byte 2
FF
H
20
H
04
H
08
H
02
H
Error Counter LEN Length of presentation error counter in bits.
Byte Address Byte address of the key in the card.
CODE 2 bytes User Code
Response data format
SW1 SW2
SW1, SW2 = 90 00 if no error.
= 63 00 if there is no more retry chance
Note: After SW1SW2 = 90 00 has been received, read back the User Error Counter can check
whether the VERIFY_USER_CODE is correct. If User Error Counter is erased and equals to “FF”,
the previous verification is success.
8.6 Verify Memory Code
To submit Memory Code (4 bytes) to the inserted card. Memory Code is used to authorize the
reloading of the user memory, together with the User Code.
The following actions are executed:
- present the specified code to the card
- search a '1' bit in the presentation error counter and write the bit to '0'
- erase the presentation error counter. Please note that Memory Error Counter
cannot be erased.
Command format
Pseudo-APDU
CODE CLA INS Error Counter
LEN
Byte
Address
MEM_L
Byte 1
Byte 2 Byte 3 Byte 4
FF
H
20
H
40
H
28
H
04
H
Error Counter LEN Length of presentation error counter in bits.
Byte Address Byte address of the key in the card.
CODE 4 bytes Memory Code
Response data format
SW1 SW2
SW1, SW2 = 90 00 if no error
= 63 00 if there is no more retry chance