beautypg.com

Legend – Rainbow Electronics MAX66120 User Manual

Page 17

background image

MAX66120

Lock Block

The Lock Block command permanently locks (write pro-
tects) the selected block and reports the success of the
operation in the response. Locking a block takes
t

PROG

. The response is transmitted after the protection

byte is updated. The block protection can alternatively
be achieved by direct writing to memory block 11.
Before using the Lock Block command, the final block
data should be defined and written to the device.

Read Single Block

The Read Single Block command allows for retrieving
the data of a single memory block. This command uses
one command-specific parameter, which is the memory
block number. Valid block numbers are 00h to 11h. If
the Option_flag bit is set, the response includes the
block’s security status.

REQUEST FLAGS

COMMAND

UID BLOCK

NUMBER

(1 Byte)

22h

(8 Bytes)

(1 Byte)

ISO 15693-Compliant 1Kb Memory Fob

______________________________________________________________________________________

17

*

If this command is processed without any error, the slave responds with a response flags byte of 00h.

Request Data for the Lock Block Command*

Request Data for the Read Single Block Command

Response Data for the Read Single Block Command (No Error, Option_flag Not Set)

Response Data for the Read Single Block Command (No Error, Option_flag Set)

REQUEST FLAGS

COMMAND

UID BLOCK

NUMBER

(1 Byte)

20h

(8 Bytes)

(1 Byte)

RESPONSE FLAGS

MEMORY DATA

00h (8

Bytes)

RESPONSE FLAGS

SECURITY STATUS

MEMORY DATA

00h

(1 Byte)

(8 Bytes)

CODE

SECURITY STATUS CODE EXPLANATION

00h

The memory block is not protected.

01h

The memory block is write protected.

Legend: