Memory Card - 32,64,128,256,512,1024 Kbit I2C Card; Select_Card_Type; Select_Page_Size - ACS ACR 38 Reference Manual

Smart card reader/writer
Table of Contents

Advertisement

Memory Card – 32,64,128,256,512,1024 kbit I2C card

SELECT_CARD_TYPE

This command powers down and up the selected card inserted in the card reader and performs a card reset.
Notes: This command must be the first command after card insertion!
Command format
Header
01
H
Response data format
Header
01
BYTE x
ATR from card (if any)
SW1, SW2 = 90
00
H

SELECT_PAGE_SIZE

This command will choose the page size to read the smart card. The default value is 8-byte page write. It will reset to default
value whenever the card is removed or the reader is powered off.
Command format
Header
01
H
Data
TPDU to be sent to the card
Page size
= 03
for 8-byte page write
H
= 04
for 16-byte page write
H
= 05
for 32-byte page write
H
= 06
for 64-byte page write
H
= 07
for 128-byte page write
H
ACR38 Reference Manual
Version 2.2 January 2008
A C R 3 8 S m a r t C a r d R e a d e r / W r i t e r
Instruction
Data length
LEN
A0
00
06
H
H
H
Status
Data length
BYTE 1
LEN
H
if no error
H
Instruction
Data length
LEN
A0
00
06
H
H
H
Data
CLA
INS
P1
P2
FF
A4
00
00
H
H
H
H
...
...
BYTE N
Data
CLA
INS
P1
P2
FF
01
00
00
H
H
H
H
Lc
Card Type
01
02
H
H
SW1
SW2
Lc
Page size
01
H
Page 20 of 44

Advertisement

Table of Contents
loading

Table of Contents