Location: HomeFAQ What are the areas of UHF tag memory divided into?

What are the areas of UHF tag memory divided into?

2023-11-29 16:05:16

It is divided into four independent storage blocks (Bank): Reserved, EPC, TID, and User.

RESERVER area: 8 bytes (4 words) in size, with the first 4 bytes (2 words) being the destruction password (used to destroy tags, usually not used), and the last 4 bytes (2 words) being the access password (used for writing data and locking operations). The default value is: 0000 0000 (destruction password) 0000 0000 0000 (access password).

TID area: 12 bytes (6 words) in size, "readable only, not writable", already written at the factory, is the unique identifier of the label, the product class identification number of the electronic label, and the TID number of each manufacturer will be different.

 

EPC area: In order to identify the electronic product code of the label object, the difference between EPC and TID is that EPC can be manually written and modified by the user. The data structure of the EPC area is that the first word is the checksum, the second word is the length control, and then the data storage location. During inventory, EPC is displayed based on the length represented by the length control bit. When actually writing EPC data, fill in 1 as the starting address, which means writing data from the length control bit, and the check bit will be automatically calculated without manual writing. Length control bit calculation: EPC data length * 2=i; Convert i to hexadecimal representation, then add 00 after the converted result to obtain the length control bit data. For example: 0001, i=4 * 2=8->08->0800, length control bit is 0800, calculated in the program:

 

Byte [] newEPCByte=Tools HexString2Bytes (newEPC);

Byte [] pcByte=new byte [] {0x00, 0x00};

PcByte [0]=(byte) (newEPCByte. length * 4);

String pc=Tools Bytes2HexString (pcByte, 2));

 

The length should be filled in according to the actual data length that needs to be written, for example: 0001, with a length of 1word and 4 digits (it should be noted that the length of the data bit must be a multiple of 4), plus the length control bit 0800. In the software, the length should be filled in as 2; Example: 0001 Starting address: 1, length: 2, data: 08000000 1

 

USER area: The length of this memory is determined by the manufacturers of each electronic tag, and the USER area can write user-defined data (in hexadecimal format)

About FONGWAH
FONGWAH Technology is a high-tech enterprise that specializes in research, development, production, and operation of intelligent IC cards, embedded IC card modules, desktop IC card readers, and related IC card reading and writing devices

Related Products

Page

Hot News