EasyManua.ls Logo

ACS ACR38 - Read_Memory_Without_Protect_Bit_Card

ACS ACR38
43 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
ACR38 Reference Manual version 1.9 February 2006
Response data format
Header Status Data length BYTE 1 … … BYTE N PROT 1 … … PROT L SW1 SW2
LEN
01
H
BYTE x Data read from memory card
PROT y Bytes containing the protection bits of the data bytes read
SW1,SW2 = 90
H
00
H
if no error
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 PROT 2 …
P8 P7 P6 P5 P4 P3 P2 P1 P16 P15 P14 P13 P12 P11 P10 P9 .. .. .. .. .. .. P18 P17
Px is the protection bit of BYTE x in the response data
‘0’ byte is write protected
‘1’ byte can be written
8.2.6.3 READ_MEMORY_WITHOUT_PROTECT_BIT_CARD
Command format
Header Instruction Data length Data
LEN CLA INS Byte Address MEM_L
MSB LSB
01
H
A0
H
00
H
05
H
FF
H
B2
H
MSB Byte Address = 0000 00A
9
A
8
b
is the memory address location of the memory card.
LSB 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.
MEM_L Length of data to be read from the memory card.
Response data format
Header Status Data length BYTE 1 … … BYTE N SW1 SW2
LEN
01
H
BYTE x Data read from memory card
SW1, SW2 = 90
H
00
H
if no error
Advanced Card Systems Ltd. Page 28 of 43

Table of Contents