ACS ACR33U-A1 SmartDuo Smart Card Reader User Manual
Page 43
![background image](/manuals/248156/43/background.png)
ACR33U-A1 – Reference Manual
Version 1.02
www.acs.com.hk
Page 43 of 60
Command format (abData field in the PC_to_RDR_XfrBlock)
Pseudo-APDU
CLA INS
Byte Address
MEM_L Byte 1 .... .... Byte N
MSB LSB
FFh D1h
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
8.3.5.7. PRESENT_CODE_MEMORY_CARD (only SLE 4428 and SLE5528)
To submit the secret code to the memory card to enable the write operation with the SLE4428 and
SLE5528 card, the following actions are executed:
•
Search a ‘1’ bit in the presentation error counter and write the bit to ‘0’
•
Present the specified code to the card
•
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)
Response data format (abData field in the RDR_to_PC_DataBlock)
SW1
SW2
ErrorCnt
90h