Read_Memory_Without_Protect_Bit_Card - ACS ACR 38 Reference Manual

Smart card reader/writer
Table of Contents

Advertisement

MSB Byte Address
LSB Byte Address
MEM_L
Response data format
Header
Status
01
H
BYTE x
Data read from memory card
PROT y
Bytes containing the protection bits of the data bytes read
SW1,SW2 = 90
00
H
The number L of protection bytes returned in the response is determined by the number N of data bytes read from the card as
follows:
L = 1 + INT(N/8)
The arrangement of the protection bits in the PROT bytes is as follows:
PROT 1
P8
P7
P6
P5
P4
P3
Px is the protection bit of BYTE x in the response data
'0' byte is write protected
'1' byte can be written

READ_MEMORY_WITHOUT_PROTECT_BIT_CARD

Command format
MSB Byte Address
LSB Byte Address
MEM_L
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
= 0000 00A
A
is the memory address location of the memory card.
9
8 b
= A
A
A
A
A
A
A
A
is the memory address location of the memory card.
7
6
5
4
3
2
1
0 b
Length of data to be read from the memory card. (Max. allowable size is EC
Data length
BYTE 1
...
...
LEN
if no error
H
PROT 2
P2
P1
P16
P15
P14
P13
Header
Instruction
Data length
LEN
01
A0
00
05
H
H
H
= 0000 00A
A
is the memory address location of the memory card.
9
8 b
= A
A
A
A
A
A
A
A
is the memory address location of the memory card.
7
6
5
4
3
2
1
0 b
Length of data to be read from the memory card.
BYTE N
PROT 1
...
P12
P11
P10
P9
..
..
..
Data
CLA
INS
Byte Address
MSB
FF
B2
H
H
H
...
PROT L
SW1
SW2
...
..
..
..
P18
P17
MEM_L
LSB
.)
H
Page 29 of 44

Advertisement

Table of Contents
loading

Table of Contents