Write_protection_memory_card, Present_code_memory_card (sle 4428 and sle 5528) – ACS ACR38K Smart Keyboard User Manual
Page 35

ACR38x (CCID) – Reference Manual
Version 6.04
www.acs.com.hk
Page 35 of 58
9.3.5.6. WRITE_PROTECTION_MEMORY_CARD
Each byte specified in the command is used in the card to compare the byte stored in a specified
address location. If the data match, the corresponding protection bit is irreversibly programmed to ‘0’.
Command Format (abData field in the PC_to_RDR_XfrBlock)
Where:
MSB Byte Address
= 0000 00A
9
A
8
b is the memory address location of the memory card
LSB Byte Address
= A
7
A
6
A
5
A
4
A
3
A
2
A
1
A
0
b is the memory address location of the memory
card
MEM_L
Length of data to be written to the memory card
Byte x
Byte values to be compared with the data in the card starting at Byte
Address. BYTE 1 is compared with the data at Byte Address; BYTE N is
compared with the data at (Byte Address+N-1).
Response Data Format (abData field in the RDR_to_PC_DataBlock)
SW1 SW2
Where:
SW1 SW2 = 90 00h if no error
9.3.5.7.
PRESENT_CODE_MEMORY_CARD (SLE 4428 and SLE 5528)
This command is used to submit the secret code to the memory card to enable the write operation
with the SLE 4428 and SLE 5528 card, the following actions are executed:
1. Search a ‘1’ bit in the presentation error counter and write the bit to ‘0’.
2. Present the specified code to the card.
3. Try to erase the presentation error counter.
Command Format (abData field in the PC_to_RDR_XfrBlock)
Pseudo-APDU
CLA INS P1 P2 MEM_L
CODE
Byte 1 Byte 2
FFh
20h 00h 00h
02h
Where:
CODE
Two bytes secret code (PIN)
Pseudo-APDU
CLA
INS
Byte Address
MEM_L Byte 1
....
....
Byte N
MSB
LSB
FFh
D1h