Application tag commands, Tag singulation fields – ThingMagic M5e-Compact User Manual
Page 150

Application Tag Commands
150
Command Set
BlockWrite Command Fields
An example BlockErase single tag command is:.
The response to the BlockErase command is an ACK. The format of the response is:
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
| 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
Sub Command
0x00
BlockErase
Access Password
[4 bytes]
The Access Password for the tag.
Note:
Do not include password if Select Option = 0xX0.
| Select [Address, Data
Length, Data]
[n bytes]
Note:
Optional depending on the value of Select Option.
WordPointer
[4 bytes]
Starting, zero-based, 16-bit word address of the MemoryBank to be erased.
MemoryBank
[1 byte]
Memory bank who’s data will be erased. Standard Gen2 field values:
• 0x00 = Reserved
• 0x01 = EPC
• 0x02 = TID
• 0x03 = User
WordCount
[1 bytes]
Number of 16-bit words to be erased.
FF
1A
2E
03
E8
00
42
00
11
11
22
22
00
00
00
00
10
E2 00
SOH
Length
OpCode
Timeout (ms)
Chip
Type
Option
Sub
Cmd
Access Passwords
Select Data Address
Select
Length
Selct
Data
00
00
00
02
01
01
??
??
Address
Mem
Bank
Word
Count
CRC
FF
XX
2E
00
00
??
??
SOH
Length
OpCode
Status
CRC