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
Memory Card – ATMEL AT88SC1608
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.
Notes: This command must be the first command after card insertion!
Command format
Header
Instruction
Data length
Data
LEN
CLA
INS
P1
P2
Lc
Card Type
01
H
A0
H
00
H
06
H
FF
H
A4
H
00
H
00
H
01
H
04
H
Response data format
Header
Status
Data length
BYTE 1
BYTE 2
BYTE 3
BYTE 4
SW1
SW2
LEN
01
H
BYTE x
ATR from card
SW1, SW2
= 90
H
00
H
if no error
READ_MEMORY_CARD
Command format
Header
Instruction
Data length
Data
LEN
CLA
INS
Zone
Address
Byte
Address
MEM_L
01
H
A0
H
00
H
05
H
FF
H
INS
=
B0
H
for reading user zone
=
B1
H
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 0000
b
for reading fuse
MEM_L
Length of data to be read from the memory card.
ACR38 Reference Manual
Version 2.2 January 2008
Page
25
of 44