Write_Memory_Card; Write_Protection_Memory_Card - ACS ACR3x mobile Reference Manual

Hide thumbs Also See for ACR3x mobile:
Table of Contents

Advertisement

The arrangement of the protection bits in the PROT bytes is as follows:
PROT 1
P8
P7
P6
P5
Where:
Px is the protection bit of BYTE x in the response data
'0' byte is write protected
'1' byte can be written
8.6.5.

WRITE_MEMORY_CARD

Command Format
CLA
INS
FFh
D0h
Where:
Byte Address
MEM_L
Byte x
Response Data Format
SW1
SW2
Where:
SW1 SW2 = 90 00h if no error
8.6.6.

WRITE_PROTECTION_MEMORY_CARD

Each byte specified in the command is internally in the card compared with the byte stored at the
specified address and if the data match, the corresponding protection bit is irreversibly programmed to
'0'.
Command Format
CLA
INS
FFh
D1h
Where:
Byte Address
MEM_L
ACR3x – Reference Manual
Version 1.03
P4
P3
P2
P1
P16
P15
P14
Pseudo-APDU
P1
Byte Address
00h
= A
A
A
A
A
A
A
7
6
5
4
3
2
card
Length of data to be written to the memory card
Data to be written to the memory card
Pseudo-APDU
P1
Byte Address
00h
= 000A
A
A
A
A
4
3
2
1
location of the memory card
Length of data to be written to the memory card
PROT 2
P13
P12
P11
P10
P9
..
MEM_L
Byte 1
....
A
b is the memory address location of the memory
1
0
MEM_L
Byte 1
....
b (00h to 1Fh) is the protection memory address
0
...
..
..
..
..
..
P18
P17
Byte N
Byte N
Page 39 of 77
info@acs.com.hk
www.acs.com.hk

Advertisement

Table of Contents
loading

Table of Contents