Memory card – atmel at88sc1608, Select_card_type, Read_memory_card – ACS ACR33U-A1 SmartDuo Smart Card Reader User Manual
Page 36
![background image](/manuals/248156/36/background.png)
ACR33U-A1 – Reference Manual
Version 1.02
www.acs.com.hk
Page 36 of 60
8.3.4.
Memory Card – ATMEL AT88SC1608
8.3.4.1. SELECT_CARD_TYPE
This command powers down and up the selected card inserted in the card reader and performs a card
reset. It will also select the page size to be 16-byte page write.
Note: This command can only be used after the logical smart card reader communication has been
established using the SCardConnect( ) API. For details of SCardConnect( ) API, please refer to
PC/SC specifications.
Command format (abData field in the PC_to_RDR_XfrBlock)
Pseudo-APDU
CLA INS P1 P2 Lc Card Type
FFh A4h 00h 00h 01h
04h
Response data format (abData field in the RDR_to_PC_DataBlock)
SW1 SW2
Where:
SW1, SW2 = 90 00h if no error
8.3.4.2. READ_MEMORY_CARD
Command format (abData field in the PC_to_RDR_XfrBlock)
Pseudo-APDU
CLA INS Zone Address Byte Address MEM_L
FFh
Where:
INS
= B0h for reading user zone
= B1h for reading configuration zone or reading fuse
Zone Address = 0000 0A
10
A
9
A
8
b, where A
10
is the MSB of zone address
= don’t care for reading fuse
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
= 1000 0000b for reading fuse
MEM_L:
Length of data to be read from the memory card
Response data format (abData field in the RDR_to_PC_DataBlock)
BYTE 1 … … BYTE N SW1 SW2