<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating a partition on NTAG216 to use 215 data. in NFC</title>
    <link>https://community.nxp.com/t5/NFC/Creating-a-partition-on-NTAG216-to-use-215-data/m-p/472637#M46</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Edward:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for sharing more details about your program. It is still confusing what you try to achieve and application specific but let me try to provide some pointers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- If you want to replicate the same configuration from &lt;STRONG&gt;NTAG215&lt;/STRONG&gt; to &lt;STRONG&gt;NTAG216&lt;/STRONG&gt; you need to shift the configuration data and write it to page &lt;STRONG&gt;E2h&lt;/STRONG&gt; instead of &lt;STRONG&gt;82h&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- You might have a copy of configuration pages in &lt;STRONG&gt;NTAG216&lt;/STRONG&gt; at user data pages &lt;STRONG&gt;82h&lt;/STRONG&gt; to &lt;STRONG&gt;86h&lt;/STRONG&gt;, but this data will not have any effect on the actual tag configuration (locking, UID mirroring, etc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- To fill the rest of the user memory with &lt;STRONG&gt;FF's&lt;/STRONG&gt; in &lt;STRONG&gt;NTAG216&lt;/STRONG&gt; (from pages &lt;STRONG&gt;87h&lt;/STRONG&gt; to &lt;STRONG&gt;E1h&lt;/STRONG&gt;) you need to use the &lt;STRONG&gt;WRITE&lt;/STRONG&gt; command. The program (Android, Linux or PC app?) should have some API as a wrapper for this command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is strange that you want to "trick" the device. The correct approach would be to detect the tag type e.g. by reading the byte 2 of the &lt;STRONG&gt;Capability Container&lt;/STRONG&gt; (memory size) or by using the &lt;STRONG&gt;GET_VERSION&lt;/STRONG&gt; command and reading the &lt;STRONG&gt;byte 6 =&lt;/STRONG&gt; &lt;STRONG&gt;storage size&lt;/STRONG&gt;, then taking action according to the detected type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 17 Mar 2016 03:38:39 GMT</pubDate>
    <dc:creator>Jorge_Gonzalez</dc:creator>
    <dc:date>2016-03-17T03:38:39Z</dc:date>
    <item>
      <title>Creating a partition on NTAG216 to use 215 data.</title>
      <link>https://community.nxp.com/t5/NFC/Creating-a-partition-on-NTAG216-to-use-215-data/m-p/472633#M42</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have some data that I need to write to an NTAG215 card.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using a program not created by me to write the card that also uses encryption keys to encrypt the contents. Using 215 this works fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a need to use &lt;SPAN style="text-decoration: underline;"&gt;&lt;EM&gt;NTAG216 cards in place of the NTAG215 cards&lt;/EM&gt;&lt;/SPAN&gt; and I was given a basic explanation of how to do it here:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;NFC tags can actually have multiple partitions (I'm sure most of us know). Make a separate (second) partition on the NTAG216 that is &lt;STRONG&gt;&lt;EM style="text-decoration: underline;"&gt;exactly 348 bytes,&lt;/EM&gt;&lt;/STRONG&gt; and fill it with dummy data (FF's, not 00's).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program will then write the encrypted data to them as they were NTAG215's.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;My problem is that I have found no information anywhere regarding creating any amounts of partitions on the NTAG216 or 215 for that matter. &lt;/P&gt;&lt;P&gt;If someone could give me an explanation of how to do this, I would be much appreciative. Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Mar 2016 17:21:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Creating-a-partition-on-NTAG216-to-use-215-data/m-p/472633#M42</guid>
      <dc:creator>kingoftaurus</dc:creator>
      <dc:date>2016-03-12T17:21:07Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a partition on NTAG216 to use 215 data.</title>
      <link>https://community.nxp.com/t5/NFC/Creating-a-partition-on-NTAG216-to-use-215-data/m-p/472634#M43</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Edward Churchill:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Who provided you with the explanation? Did you mean &lt;STRONG&gt;384 bytes&lt;/STRONG&gt;? That is the difference in user memory from NTAG215 to NTAG216.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating a partition must be something related to your specific program. Both tag types are read and written with the same low level commands, the difference is the available user space and the page addresses for the dynamic lock bytes and configuration pages. See the details in &lt;STRONG&gt;Section 8.5 Memory organization&lt;/STRONG&gt; in the datasheet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://cache.nxp.com/documents/data_sheet/NTAG213_215_216.pdf" title="http://cache.nxp.com/documents/data_sheet/NTAG213_215_216.pdf"&gt;http://cache.nxp.com/documents/data_sheet/NTAG213_215_216.pdf&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, you need to know more about the program itself or ask your colleague what he means by creating partitions. The specification for Type 2 tags is available directly from the NFC Forum page:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://nfc-forum.org/product-category/specification/page/2/" title="http://nfc-forum.org/product-category/specification/page/2/"&gt;http://nfc-forum.org/product-category/specification/page/2/&lt;/A&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 14 Mar 2016 15:44:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Creating-a-partition-on-NTAG216-to-use-215-data/m-p/472634#M43</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2016-03-14T15:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a partition on NTAG216 to use 215 data.</title>
      <link>https://community.nxp.com/t5/NFC/Creating-a-partition-on-NTAG216-to-use-215-data/m-p/472635#M44</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, Jorge and thank you for your quick reply.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I do know about the program is that it writes a tag that contains 540&lt;/P&gt;&lt;P&gt;bytes of encrypted data to the 215 card using two "keys" and then locks the&lt;/P&gt;&lt;P&gt;tag in specific sections.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The device that reads the card, reads, and expects to see the locked pages.&lt;/P&gt;&lt;P&gt;What I am attempting to do is trick the device into thinking that the data&lt;/P&gt;&lt;P&gt;is actually coming from a 215 tag, so that when it reaches the end of the&lt;/P&gt;&lt;P&gt;expected tag (the lock bytes and configuration data) it cannot "read" any&lt;/P&gt;&lt;P&gt;further from that point and basically can "see" no other data to read.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also do know that there are other resources out there to help me, however&lt;/P&gt;&lt;P&gt;I am relatively new to using NFC communication and I am still in a learning&lt;/P&gt;&lt;P&gt;phase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have attached some examples of what is going on here, and perhaps with&lt;/P&gt;&lt;P&gt;your help you can explain to me the extra steps needed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;215 written is what the program writes successfully to a 215 card&lt;/P&gt;&lt;P&gt;216 written is what the program writes to a 216, but the device does not&lt;/P&gt;&lt;P&gt;read it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any further help would be appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Mon, Mar 14, 2016 at 8:44 AM, Jorge_Gonzalez &amp;lt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 02:14:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Creating-a-partition-on-NTAG216-to-use-215-data/m-p/472635#M44</guid>
      <dc:creator>kingoftaurus</dc:creator>
      <dc:date>2016-03-15T02:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a partition on NTAG216 to use 215 data.</title>
      <link>https://community.nxp.com/t5/NFC/Creating-a-partition-on-NTAG216-to-use-215-data/m-p/472636#M45</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Disregard those scans,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;here are the correct ones.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On Mon, Mar 14, 2016 at 7:13 PM, Edward Churchill &amp;lt;kingoftaurus@gmail.com&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Mar 2016 02:54:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Creating-a-partition-on-NTAG216-to-use-215-data/m-p/472636#M45</guid>
      <dc:creator>kingoftaurus</dc:creator>
      <dc:date>2016-03-15T02:54:32Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a partition on NTAG216 to use 215 data.</title>
      <link>https://community.nxp.com/t5/NFC/Creating-a-partition-on-NTAG216-to-use-215-data/m-p/472637#M46</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Edward:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for sharing more details about your program. It is still confusing what you try to achieve and application specific but let me try to provide some pointers:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- If you want to replicate the same configuration from &lt;STRONG&gt;NTAG215&lt;/STRONG&gt; to &lt;STRONG&gt;NTAG216&lt;/STRONG&gt; you need to shift the configuration data and write it to page &lt;STRONG&gt;E2h&lt;/STRONG&gt; instead of &lt;STRONG&gt;82h&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- You might have a copy of configuration pages in &lt;STRONG&gt;NTAG216&lt;/STRONG&gt; at user data pages &lt;STRONG&gt;82h&lt;/STRONG&gt; to &lt;STRONG&gt;86h&lt;/STRONG&gt;, but this data will not have any effect on the actual tag configuration (locking, UID mirroring, etc).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- To fill the rest of the user memory with &lt;STRONG&gt;FF's&lt;/STRONG&gt; in &lt;STRONG&gt;NTAG216&lt;/STRONG&gt; (from pages &lt;STRONG&gt;87h&lt;/STRONG&gt; to &lt;STRONG&gt;E1h&lt;/STRONG&gt;) you need to use the &lt;STRONG&gt;WRITE&lt;/STRONG&gt; command. The program (Android, Linux or PC app?) should have some API as a wrapper for this command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is strange that you want to "trick" the device. The correct approach would be to detect the tag type e.g. by reading the byte 2 of the &lt;STRONG&gt;Capability Container&lt;/STRONG&gt; (memory size) or by using the &lt;STRONG&gt;GET_VERSION&lt;/STRONG&gt; command and reading the &lt;STRONG&gt;byte 6 =&lt;/STRONG&gt; &lt;STRONG&gt;storage size&lt;/STRONG&gt;, then taking action according to the detected type.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Jorge Gonzalez&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Mar 2016 03:38:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Creating-a-partition-on-NTAG216-to-use-215-data/m-p/472637#M46</guid>
      <dc:creator>Jorge_Gonzalez</dc:creator>
      <dc:date>2016-03-17T03:38:39Z</dc:date>
    </item>
    <item>
      <title>Re: Creating a partition on NTAG216 to use 215 data.</title>
      <link>https://community.nxp.com/t5/NFC/Creating-a-partition-on-NTAG216-to-use-215-data/m-p/472638#M47</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry for bring the dead to life, but we are currently working in similar application.&lt;/P&gt;&lt;P&gt;Due a mistake we ended getting &lt;STRONG&gt;NTAG216&lt;/STRONG&gt; type cards, while the system uses &lt;STRONG&gt;NTAG215&lt;/STRONG&gt; cards. So we would like to know if it is possible to emulate the &lt;STRONG&gt;NTAG215&lt;/STRONG&gt; cards with the &lt;STRONG&gt;NTAG216&lt;/STRONG&gt; cards.&lt;/P&gt;&lt;P&gt;I told the manager the best option is to upgrade the access system, but he doesn't want to spend. Then someone suggested there could be an option to use the &lt;STRONG&gt;NTAG216&lt;/STRONG&gt; cards without changings the whole system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards!&lt;/P&gt;&lt;P&gt;Claudio&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 26 Mar 2017 19:32:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Creating-a-partition-on-NTAG216-to-use-215-data/m-p/472638#M47</guid>
      <dc:creator>claudioibarra</dc:creator>
      <dc:date>2017-03-26T19:32:41Z</dc:date>
    </item>
  </channel>
</rss>

