NFC Tags Memory Explanation

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

NFC Tags Memory Explanation

5,087 Views
michaelsteffenf
NXP Employee
NXP Employee

Where can I find a document(s) that explain what I'm reading from a specifc tag (NFC Forum Type 2 Tag)?  Meaning, is there a document that explains how the memory is formatted with all the bytes I'm reading back via my PN532 reader?

Here is what I'm reading from my tag.  I would like to decode all the bytes of the memory in the tag.

04 7E 1E EC
BA 53 28 80
41 48 00 00
E1 10 12 00
03 0F D1 01
0B 54 02 65
6E 65 6C 65
70 68 61 6E
74 FE 00 00

Michael Steffen

Senior Field Applications Engineer

Member of the Technical Staff

NXP Semiconductors

USA

Tags (2)
1 Reply

4,171 Views
gytiskazlauskas
Contributor II

04 7E 1E EC 
BA 53 28 80 

Card UID

41 48 00 00 

First two bytes in this line also serial number (UID) and other ones Lock0 and Lock1 bytes.

Lock0/Lock1 ---> represents the field-programmable read-only locking mechanism called "static lock bytes".                                                     

*All bits are set to 0b and the CC area and the data area of the tag can be read and written.     

*All bits are set to 1b and the CC area and the data area of the tag can only be read.

E1 10 12 00 

Compability container (CC) 

Manages the information of the Type  2 Tag platform. For NDEF:   

*Byte0 is function cluster code. E1h indicates that NFC-Forum defined data is stored in the data area.     

*Byte1 is the version number of NFC_Forum_Type_2_Tag document. For version 1.0V it's 10h.                 

*Byte2 indicates the memory size of the data area of the Tag 2. The value of byte 2 multiplied by 8 is equal to the data area size measured in bytes. (48bytes ---> 06h / 128 ---> 10h / 2040 ---> FFh).                 

*Byte3 indicates read and write access capability if of the data area and CC area. (00h --> with read and write access granted without any security / 0Fh --> only read access granted)

03 0F D1 01 
0B 54 02 65 
6E 65 6C 65 
70 68 61 6E 
74 FE 00 00

NDEF Message : "elephant"

Document you can find in the attachments: 

Type 2 Tag Operation Specification Technical Specification T2TOP 1.1 NFC ForumTM NFCForum-TS-Type-2-Tag_1.1 2011-05-31