beautypg.com

Read binary blocks, Table 4 : mifare ultralight memory map – ACS ACR1283L User Manual

Page 24

background image

ACR1283L – Reference Manual

[email protected]

Version 1.00

www.acs.com.hk

Page 24 of 55


// To authenticate the Block

0x04h

with a {TYPE A, key number

0x00h

}.

// PC/SC V2.07
APDU = {FF 86 00 00 05 01 00

04

60

00h

}


Note: Mifare Ultralight does not need to do any authentication. The memory is free to access.

Table 4: Mifare Ultralight Memory Map

5.3.2.2.3. Read Binary Blocks

This command is used for retrieving a multiple of “data blocks” from the PICC. The data block/trailer

block must be authenticated first before executing the Read Binary Blocks command.

Read Binary APDU Format (5 Bytes)

Command

Class

INS

P1

P2

Le

Read Binary

Blocks

FFh

B0h

00h

Block

Number

Number of Bytes

to Read

Where:

Block Number (1 Byte): The starting block.
Number of Bytes to Read (1 Byte):
Multiply of 16 bytes for MIFARE 1K/4K or Multiply of 4 bytes for Mifare Ultralight

Byte Number

0

1

2

3

Page

Serial Number

SN0

SN1

SN2

BCC0

0

Serial Number

SN3

SN4

SN5

SN6

1

Internal/Lock

BCC1

Internal

Lock0

Lock1

2

OTP

OPT0

OPT1

OTP2

OTP3

3

Data read/write

Data0

Data1

Data2

Data3

4

Data read/write

Data4

Data5

Data6

Data7

5

Data read/write

Data8

Data9

Data10

Data11

6

Data read/write

Data12

Data13

Data14

Data15

7

Data read/write

Data16

Data17

Data18

Data19

8

Data read/write

Data20

Data21

Data22

Data23

9

Data read/write

Data24

Data25

Data26

Data27

10

Data read/write

Data28

Data29

Data30

Data31

11

Data read/write

Data32

Data33

Data34

Data35

12

Data read/write

Data36

Data37

Data38

Data39

13

Data read/write

Data40

Data41

Data42

Data43

14

Data read/write

Data44

Data45

Data46

Data47

15

512 bits

Or

64 bytes