Advanced Card Systems Limited ACR1281U User Manual
ACR1281U
Advanced Card Systems Ltd.
Page 52 of 81
Pseudo-APDU
Byte Address
CLA
INS
MSB
LSB
MEM_L
FF
H
B2
H
MSB Byte Address
= 0000 00A9A8 b is the memory address location of the memory card.
LSB Byte Address
= A7A6A5A4 A3A2A1A0 b is the memory address location of the memory
card.
MEM_L
Length of protection bits to be read from the card, in multiples of 8 bits.
Maximum value is 32.
MEM_L = 1 + INT( (number of bits-1)/8 )
For example, to read eight protection bits starting from memory 0x0010, the
following pseudo-APDU should be issued:
0xFF 0xB1 0x00 0x10 0x01
• Response data format
PROT 1
…
…
PROT L
SW1
SW2
• PROT y
Bytes containing the protection bits
• SW1,SW2
= 90 H 00 H if no error
• 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
• ‘0’ byte is write protected
• ‘1’ byte can be written
5.5 Write Memory Card
• Command format
Pseudo-APDU
Byte Address
CLA
INS
MSB
LSB
MEM_L
Byte 1
....
....
Byte N
FF
H
D0
H
MSB Byte Address
= 0000 00A9A8 b is the memory address location of the memory card.
LSB Byte Address
= A7A6A5A4 A3A2A1A0 b is the memory address location of the memory
card.
MEM_L
Length of data to be written to the memory card.