Memory card – atmel at88sc153, Select_card_type, Read_memory_card – ACS ACR33U-A1 SmartDuo Smart Card Reader User Manual
Page 32

ACR33U-A1 – Reference Manual
Version 1.02
www.acs.com.hk
Page 32 of 60
8.3.3.
Memory Card – ATMEL AT88SC153
8.3.3.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 8-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
03h
Response data format (abData field in the RDR_to_PC_DataBlock)
SW1 SW2
Where:
SW1, SW2 = 90 00h if no error
8.3.3.2. READ_MEMORY_CARD
Command format (abData field in the PC_to_RDR_XfrBlock)
Pseudo-APDU
CLA INS P1 Byte Address MEM_L
FFh
00h
Where:
INS
= B0h for reading zone 00b
= B1h for reading zone 01b
= B2h for reading zone 10b
= B3h for reading zone 11b
= B4h for reading fuse
Byte Address: Memory address location of the memory card
MEM_L:
Length of data to be read from the memory card