Memory card – sle 4432/sle 4442/sle 5532/sle 5542, Read_memory_card – ACS ACR38 SAM Smart Card Reader User Manual
Page 32

ACR38x – Reference Manual
Version 6.02
www.acs.com.hk
Page 32 of 40
9.2.2.5.6. READ_PRESENTATION_ERROR_COUNTER_MEMORY_CARD (SLE 4428
and SLE 5528)
This command is used to read the presentation error counter for the secret code.
Send Buffer Format
SCardTransmit Send Buffer
CLA
INS
P1
P2
MEM_L (P3)
FFh
B1h
00h
00h
00h
Response Buffer Format
SCardTransmit Receive Buffer
ERRCNT DUMMY 1 DUMMY 2 SW1 SW2
Where:
ERRCNT
The value of the presentation error counter.
DUMMY
Three bytes dummy data read from the card.
SW1 SW2
= 90 00h if no error.
9.2.2.6. Memory Card – SLE 4432/SLE 4442/SLE 5532/SLE 5542
9.2.2.6.1. READ_MEMORY_CARD
Send Buffer Format
SCardTransmit Send Buffer
CLA
INS
P1
Byte Address (P2) MEM_L (P3)
FFh
B0h
00h
Where:
Byte Address = A7A6A5A4 A3A2A1A0b is the memory address location of the memory
card.
MEM_L
Length of data to be read from the memory card.
Response Buffer Format
SCardTransmit Send Buffer
BYTE 1 … … BYTE N PROT 1 PROT 2 PROT3 PROT 4 SW1 SW2
Where:
BYTE x
Data read from memory card.
PROT y
Bytes containing the protection bits from protection memory.
SW1 SW2
= 90 00h if no error.