ACR1281U-C1 – Application Programming Interface
Version 1.08
www.acs.com.hk
Page 33 of 96
5.1.6.4.
Read Protection Bit
This command reads the protection bits for the first 32 bytes.
Command
Command
Class
INS
P1
P2
MEM_L
Read Protection Bit
FFh
B2h
00h
00h
04h
Response
Response
PROT 1
PROT 2
PROT 3
PROT 4
SW1
SW2
Result
Where:
PROT (1..4)
Bytes containing the protection bits.
SW1 SW2
= 90 00h if the operation is completed successfully.
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
Where:
Px
protection bit of bytes in the response data:
0 = byte is write protected
1 = byte can be written
5.1.6.5.
Write memory card
This command writes the memory card’s content to a specified address.
Command
Command
Class
INS
P1
Byte
Address
MEM_L
Byte
1
…
…
Byte
N
Write Memory Card
FFh
D0h 00h
Where:
Byte Address
(1 byte)
= A7 A6 A5 A4 A3 A2 A1 A0b is the memory address location of the
memory card
MEM_L
(1 byte)
Length of data to be written to the memory card
Byte (1…N)
Data to be written to the memory card.