ThingMagic M5e-Compact User Manual

Page 147

Advertising
background image

Application Tag Commands

Command Set

147

BlockPermaLock Command Fields

Field

Value

Description

Length

[1 byte]

Number of bytes in the command following the OpCode.

OpCode

0x2E

Gen2 Optional Command.

Time Out

[2 bytes]

Command timeout in milliseconds.

Chip Type

0x00

Gen2 2.0 Tags with BlockPermalock support

Tag Singulation
Fields

| Select Option

[1 byte]

bit 6 (x1xx xxxx | 0x40) must be set, indicating a 1-byte sub command follows
this byte, and before the remaining

Tag Singulation Fields

Sub Command

0x01

BlockPermaLock

Access Password

[4 bytes]

The Access Password for the tag.

Note:

Do not include password if Select Option = 0xX0.

Tag Singulation
Fields

| Select

[Address, Data
Length, Data]

[n bytes]

The remaining fields from the

Tag Singulation Fields

Note:

Optional depending on the value of Select Option.

RFU

0x00

Reserved for future use.

Read/Lock

[1 byte]

Only the Least Significant Bit is used:

• 0x00 = Return the PermaLock status of the blocks specified.

• 0x01 = PermaLock the blocks specified

MemoryBank

0x03

Memory bank who’s blocks will be locked. Currently only User Memory is sup-
ported.

BlockPointer

[4 bytes]

The starting address for Mask, in units of 16 blocks. For example, BlockPtr =
0x00 indicates block 0, BlockPtr = 0x01 indicates block 16, BlockPtr = 0x02 indi-
cates block 32. Depending on the tag memory configuration all 32 Words of
User memory may not be available.

Note:

For Higgs3 tags this value must always be 0x00

BlockRange

[1 byte]

The range of Mask, starting at BlockPointer and ending (16×BlockRange)–1
blocks later.

Note:

For Higgs3 tags this value must always be 0x01

Mask

[2*Block-
Range
bytes]

Memory blocks to PermaLock. Mask depends on the Read/Lock bit as follows:

• Read/Lock = 0: Do not include the Mask field.

• Read/Lock = 1: Mask is 16×BlockRange bits. The Mask bits shall be ordered

from lower-order block to higher (i.e. if BlockPtr = 00h then the most-
significant Mask bit refers to block 0).

– Mask bit = 0: No change to block.
– Mask bit = 1: Permalock the corresponding memory block.

Advertising
This manual is related to the following products: