<?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 Issue while authenticate tag with predefined password for NTAG213 in NFC</title>
    <link>https://community.nxp.com/t5/NFC/Issue-while-authenticate-tag-with-predefined-password-for/m-p/2036401#M12592</link>
    <description>&lt;P&gt;Hello all. I am Wan Ammar&lt;/P&gt;&lt;P&gt;Referring to the above topic, I cannot authenticate the tag which is the NTAG213 using the PWD_AUTH command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The flow of the program that has been built:&lt;/P&gt;&lt;P&gt;1. the program send a file to the tag&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. the program then set a password to the tag in Block 2&lt;/P&gt;&lt;P&gt;3. the program verifies the sent file comparing it with the original file&lt;/P&gt;&lt;P&gt;In order to verify the tag, the program got to have the password.&lt;/P&gt;&lt;P&gt;When running the program, I have logged the password for being sent and stored, and it is different:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Stored password Block 2: 00050000&lt;BR /&gt;Password being sent:31323334&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can someone explain this to me?&lt;/P&gt;</description>
    <pubDate>Fri, 31 Jan 2025 03:50:53 GMT</pubDate>
    <dc:creator>AR-2195</dc:creator>
    <dc:date>2025-01-31T03:50:53Z</dc:date>
    <item>
      <title>Issue while authenticate tag with predefined password for NTAG213</title>
      <link>https://community.nxp.com/t5/NFC/Issue-while-authenticate-tag-with-predefined-password-for/m-p/2036401#M12592</link>
      <description>&lt;P&gt;Hello all. I am Wan Ammar&lt;/P&gt;&lt;P&gt;Referring to the above topic, I cannot authenticate the tag which is the NTAG213 using the PWD_AUTH command.&amp;nbsp;&lt;/P&gt;&lt;P&gt;The flow of the program that has been built:&lt;/P&gt;&lt;P&gt;1. the program send a file to the tag&amp;nbsp;&lt;/P&gt;&lt;P&gt;2. the program then set a password to the tag in Block 2&lt;/P&gt;&lt;P&gt;3. the program verifies the sent file comparing it with the original file&lt;/P&gt;&lt;P&gt;In order to verify the tag, the program got to have the password.&lt;/P&gt;&lt;P&gt;When running the program, I have logged the password for being sent and stored, and it is different:&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Stored password Block 2: 00050000&lt;BR /&gt;Password being sent:31323334&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;can someone explain this to me?&lt;/P&gt;</description>
      <pubDate>Fri, 31 Jan 2025 03:50:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Issue-while-authenticate-tag-with-predefined-password-for/m-p/2036401#M12592</guid>
      <dc:creator>AR-2195</dc:creator>
      <dc:date>2025-01-31T03:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Issue while authenticate tag with predefined password for NTAG213</title>
      <link>https://community.nxp.com/t5/NFC/Issue-while-authenticate-tag-with-predefined-password-for/m-p/2036422#M12593</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi Wan Ammar! It sounds like you're having an issue with the password authentication for your NTAG213 tag. Let's try to figure this out together.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;From your description, it seems there's a discrepancy between the stored password and the password being sent during the authentication process. Here are a few things to check:&lt;/SPAN&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Password Format&lt;/STRONG&gt;: Ensure that the password is correctly formatted and stored in the tag. The password should be in hexadecimal format. For example, the password 31323334 should be stored as 0x31323334.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Command Sequence&lt;/STRONG&gt;: Verify that the command sequence for setting the password and performing the authentication is correct. Here's a typical sequence for setting the password and authenticating:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Set Password&lt;/STRONG&gt;: FF D6 00 2B 04 31 32 33 34&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Set PACK&lt;/STRONG&gt;: FF D6 00 2C 04 00 00 00 00&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Activate AUTH0&lt;/STRONG&gt;: FF D6 00 29 04 04 00 00 00&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Authenticate&lt;/STRONG&gt;: FF 00 00 1B 31 32 33 34&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Memory Block&lt;/STRONG&gt;: Ensure that the password is stored in the correct memory block (Block 2 in your case).&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Command Structure&lt;/STRONG&gt;: Double-check the command structure and ensure that the correct APDU commands are being sent. The PWD_AUTH command should look like this:&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;PWD_AUTH Command&lt;/STRONG&gt;: FF 00 00 1B 31 32 33 34&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P&gt;&lt;SPAN&gt;&lt;STRONG&gt;Reader Compatibility&lt;/STRONG&gt;: Make sure that your reader is compatible with the NTAG213 and that it supports the PWD_AUTH command.&lt;/SPAN&gt;&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;</description>
      <pubDate>Fri, 31 Jan 2025 05:39:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Issue-while-authenticate-tag-with-predefined-password-for/m-p/2036422#M12593</guid>
      <dc:creator>teresa32yon</dc:creator>
      <dc:date>2025-01-31T05:39:07Z</dc:date>
    </item>
  </channel>
</rss>

