Read_Presentation_Error_Counter_Memory_Card (Only Sle4428 And 5528); Read_Protection_Bit - ACS ACR39x Reference Manual

Table of Contents

Advertisement

8.3.3.
READ_PRESENTATION_ERROR_COUNTER_MEMORY_CARD (Only
SLE4428 and 5528)
This command is used to read the presentation error counter for the secret code.
Command format (abData field in the PC_to_RDR_XfrBlock)
CLA
INS
FFh
B1h
Response data format (abData field in the RDR_to_PC_DataBlock)
ERRCNT
Where:
ERRCNT
DUMMY
SW1 SW2 = 90 00h if no error.
8.3.4.

READ_PROTECTION_BIT

Command format (abData field in the PC_to_RDR_XfrBlock)
CLA
INS
FFh
B2h
Where:
MSB Byte Address
LSB Byte Address
MEM_L
ACR39x – Reference Manual
Version 1.02
Pseudo-APDU
P1
P2
MEM_L
00h
00h
03h
DUMMY 1
DUMMY 2
The value of the presentation error counter. FFh indicates the last verification is
correct. 00h indicates the password is locked (exceeded maximum number of
retries). Other values indicate the last verification failed.
Two bytes dummy data read from the card.
Pseudo-APDU
Byte Address
MEM_L
MSB
LSB
= 0000 00A
= A
A
A
A
7
6
5
card
Length of data to be read from the memory card (in multiple of 8 bits;
maximum of 32).
MEM_L = 1 + INT [(number of bits – 1)/8]
For example: To read eight protection bits starting from memory
0010h, the following pseudo-APDU should be issued as:
FF B1 00 10 01h
SW1
SW2
A
b is the memory address location of the memory card.
9
8
A
A
A
A
b is the memory address location of the memory
4
3
2
1
0
Page 24 of 35
info@acs.com.hk
www.acs.com.hk

Advertisement

Table of Contents
loading

Table of Contents