<?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>NFCのトピックRe: Problem with NTAG protected in NFC side</title>
    <link>https://community.nxp.com/t5/NFC/Problem-with-NTAG-protected-in-NFC-side/m-p/2254112#M13871</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205266"&gt;@KaiLi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;BR /&gt;As you can see in the image in the previous reply, I entered the UID when I ran READ CONFIG and WRITE CONFIG. I also don't understand how these READ CONFIG and WRITE CONFIG commands help to solve my problem.&lt;/P&gt;&lt;P&gt;However, I still have the problem of not being able to write to a memory region protected with a plain password. Can you replicate the commands I sent in the first ticket to read a memory region that is protected?&lt;BR /&gt;&lt;BR /&gt;Please see the photos attached:&lt;BR /&gt;- Read/Write Password&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ReadWrite_PWD" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/368417i8E4A46575773D7B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ReadWritePassword.jpg" alt="ReadWrite_PWD" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;ReadWrite_PWD&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- Read "read-protected" register&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="05560499-febe-44d1-bd2e-a0a2a976bd0a.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/368419i4A79C72E53A9DBB1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="05560499-febe-44d1-bd2e-a0a2a976bd0a.jpg" alt="05560499-febe-44d1-bd2e-a0a2a976bd0a.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- Write "write-protected" register&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Write &amp;quot;write-protected&amp;quot; register" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/368418iCFCD6EC9EF0B980B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WriteOpearion.jpg" alt="Write &amp;quot;write-protected&amp;quot; register" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Write "write-protected" register&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;GoncaloS&lt;/P&gt;</description>
    <pubDate>Wed, 03 Dec 2025 09:47:35 GMT</pubDate>
    <dc:creator>GoncaloS</dc:creator>
    <dc:date>2025-12-03T09:47:35Z</dc:date>
    <item>
      <title>Problem with NTAG protected in NFC side</title>
      <link>https://community.nxp.com/t5/NFC/Problem-with-NTAG-protected-in-NFC-side/m-p/2249646#M13843</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using the NXP tag NTP5332 and actually I has problems with commands that are sent via NFC using customized mobile app.&lt;BR /&gt;&lt;BR /&gt;Using a microcontroller, I configured the tag with plain password for NFC side. Bellow is possible to see the values of the configuration registers:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;- Device security configuration&lt;BR /&gt;0x103F: [0]: 0x45; [1]: 0x00; [2]: 0xff; [3]: 0xff&lt;BR /&gt;PP_AREA_1 = 0xFFFF&lt;/P&gt;&lt;P&gt;- Plain Password location&lt;BR /&gt;0x1020: [0]: 0x00; [1]: 0x00; [2]: 0x00; [3]: 0x00&lt;BR /&gt;Read Password: 0x00 0x00 0x00 0x00&lt;/P&gt;&lt;P&gt;0x1021: [0]: 0x00; [1]: 0x00; [2]: 0x00; [3]: 0x00&lt;BR /&gt;Write Password: 0x00 0x00 0x00 0x00&lt;/P&gt;&lt;P&gt;- NFC Protection Pointer&lt;BR /&gt;0x1058: [0]: 0x08; [1]: 0x30; [2]: 0x00; [3]: 0x00&lt;BR /&gt;NFC_PP_AREA_0H = 0x08&lt;BR /&gt;NFC_PPC = 0x30 (AREA_0-H is read and write protected)&lt;BR /&gt;&lt;BR /&gt;On the NFC side, I am having problems writing to a password-protected memory region. Below is the sequence of commands used to authenticate the device in order to write to a specific memory region.&lt;BR /&gt;&lt;BR /&gt;-Get random number&lt;BR /&gt;0x02 | 0xB2 | 0x04&lt;BR /&gt;RESPONSE = 0x00 | RANDOM NUMBER (2 Bytes)&lt;BR /&gt;&lt;BR /&gt;-Set Password&lt;BR /&gt;0x22 | 0xB3 | 0x04 | TAG UID (8 Bytes) | 0x02 (Password Identifier for Write) | XOR PWD (4 Bytes)&lt;BR /&gt;RESPONSE = 0x00&lt;BR /&gt;&lt;BR /&gt;- Write block data&lt;BR /&gt;0x22 | 0x21 | TAG UID (8 Bytes) | Block Number (1 Byte) | Data (4 Bytes)&lt;BR /&gt;RESPONSE = 0x01 | 0x0F&lt;/P&gt;&lt;P&gt;To read a memory region protected against reading, I follow the sequence of commands described above, changing only the Password Identifier to 0x01 and the operation to read; in this case, the read operation is successful.&lt;/P&gt;&lt;P&gt;If the password protection against reading and writing is removed, the read and write commands work without any problems.&lt;/P&gt;&lt;P&gt;In addition, I also tried sending the GET NXP SYSTEM INFORMATION command, but I got the response: 01 (Error) | 0F (Unknown error).&lt;/P&gt;&lt;P&gt;Get NXP info: 0x22 (Flags) | 0xAB (Cmd code) | 0x04 (Manuf. code) | UID&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone help me with these issues? Am I sending the wrong command?&lt;/P&gt;&lt;P&gt;Thanks for your help!&lt;/P&gt;</description>
      <pubDate>Wed, 26 Nov 2025 16:11:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Problem-with-NTAG-protected-in-NFC-side/m-p/2249646#M13843</guid>
      <dc:creator>GoncaloS</dc:creator>
      <dc:date>2025-11-26T16:11:10Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with NTAG protected in NFC side</title>
      <link>https://community.nxp.com/t5/NFC/Problem-with-NTAG-protected-in-NFC-side/m-p/2250192#M13846</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/257383"&gt;@GoncaloS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would like to recommend&amp;nbsp;&lt;A href="https://www.nxp.com/docs/en/application-note/AN12366.pdf" target="_blank"&gt;NTAG 5 - Memory configuration and scalable security&lt;/A&gt;&amp;nbsp;to you, which will tell you how to achieve security protected for NTAG 5link.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 08:01:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Problem-with-NTAG-protected-in-NFC-side/m-p/2250192#M13846</guid>
      <dc:creator>KaiLi</dc:creator>
      <dc:date>2025-11-27T08:01:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with NTAG protected in NFC side</title>
      <link>https://community.nxp.com/t5/NFC/Problem-with-NTAG-protected-in-NFC-side/m-p/2250473#M13848</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205266"&gt;@KaiLi&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;Thank you for your reply. Before making my first post, I had already seen that document.&lt;BR /&gt;I followed the example described in chapter 7.1 Write/Store (derived) PWD using the following sequence:&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;1. Select Cmd (0x25)&lt;BR /&gt;0x22 | 0x25 | UID&lt;BR /&gt;Result: 0x00&lt;/P&gt;&lt;P&gt;2. Get Random Number (0xB2)&lt;BR /&gt;0x12 0xB2 0x04&lt;BR /&gt;Result: 0x00 0x89 0x45&lt;/P&gt;&lt;P&gt;3. Set Password (0xB3)&lt;BR /&gt;0x12 0xB3 0x04 0x02 0x89 0x45 0x89 0x45 (Write Password: 0x00 0x00 0x00 0x00)&lt;BR /&gt;Result: 0x00&lt;/P&gt;&lt;P&gt;4. Write new PWD&lt;BR /&gt;0x12 0x21 0x14 0x11 0x22 0x33 0x44&lt;BR /&gt;Result: 0x00&lt;/P&gt;&lt;P&gt;5: Write in write protected block&lt;BR /&gt;0x12 0x21 0x14 0x01 0x02 0x03 0x04&lt;BR /&gt;Result: 0x01 0x0F&lt;BR /&gt;&lt;BR /&gt;In the example above that I tested, I was able to write a new passwor2d, but the operation of writing data to a write- and read-protected block continues to fail. Before this test, I followed steps 1, 2, 3, and 5, but I got the same error. If I replace steps 4 and 5 with a read in a read- and write-protected block, I am successful. Do you know what mistake I am making?&lt;BR /&gt;&lt;BR /&gt;Below, I have provided the values from my configuration records again:&lt;BR /&gt;0x1037: [0]: 0x09; [1]: 0x00; [2]: 0x5f; [3]: 0x00&lt;BR /&gt;0x103F: [0]: 0x45; [1]: 0x00; [2]: 0xff; [3]: 0xff&lt;BR /&gt;0x1020: [0]: 0x00; [1]: 0x00; [2]: 0x00; [3]: 0x00&lt;BR /&gt;0x1021: [0]: 0x11; [1]: 0x22; [2]: 0x33; [3]: 0x44&lt;BR /&gt;0x1058: [0]: 0x08; [1]: 0x30; [2]: 0x00; [3]: 0x00&lt;BR /&gt;0x100C: [0]: 0x00; [1]: 0x81; [2]: 0x00; [3]: 0x00&lt;BR /&gt;&lt;BR /&gt;Is the Password identifier 0x02 of the set password command only for writing passwords? If so, shouldn't it also be for writing information in the blocks?&lt;BR /&gt;Thanks for the help!&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;GoncaloS&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Nov 2025 15:44:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Problem-with-NTAG-protected-in-NFC-side/m-p/2250473#M13848</guid>
      <dc:creator>GoncaloS</dc:creator>
      <dc:date>2025-11-27T15:44:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with NTAG protected in NFC side</title>
      <link>https://community.nxp.com/t5/NFC/Problem-with-NTAG-protected-in-NFC-side/m-p/2253219#M13865</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/257383"&gt;@GoncaloS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please refer the following log to format read and write command:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KaiLi_0-1764682452526.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/368227i4F9EE33DF3D9D5F6/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KaiLi_0-1764682452526.png" alt="KaiLi_0-1764682452526.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 13:34:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Problem-with-NTAG-protected-in-NFC-side/m-p/2253219#M13865</guid>
      <dc:creator>KaiLi</dc:creator>
      <dc:date>2025-12-02T13:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with NTAG protected in NFC side</title>
      <link>https://community.nxp.com/t5/NFC/Problem-with-NTAG-protected-in-NFC-side/m-p/2253307#M13866</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205266"&gt;@KaiLi&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;In my side, I tested the commands that you sent and worked.&lt;BR /&gt;What do I need to do now?&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;GoncaloS&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Media.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/368250iFF0501554DAFFED4/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Media.jpg" alt="Media.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 02 Dec 2025 15:11:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Problem-with-NTAG-protected-in-NFC-side/m-p/2253307#M13866</guid>
      <dc:creator>GoncaloS</dc:creator>
      <dc:date>2025-12-02T15:11:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with NTAG protected in NFC side</title>
      <link>https://community.nxp.com/t5/NFC/Problem-with-NTAG-protected-in-NFC-side/m-p/2253644#M13869</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/257383"&gt;@GoncaloS&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;UID should use your UID.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KaiLi_0-1764731075321.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/368342i284DA8466979EF8C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KaiLi_0-1764731075321.png" alt="KaiLi_0-1764731075321.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 03:05:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Problem-with-NTAG-protected-in-NFC-side/m-p/2253644#M13869</guid>
      <dc:creator>KaiLi</dc:creator>
      <dc:date>2025-12-03T03:05:48Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with NTAG protected in NFC side</title>
      <link>https://community.nxp.com/t5/NFC/Problem-with-NTAG-protected-in-NFC-side/m-p/2254112#M13871</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/205266"&gt;@KaiLi&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;BR /&gt;As you can see in the image in the previous reply, I entered the UID when I ran READ CONFIG and WRITE CONFIG. I also don't understand how these READ CONFIG and WRITE CONFIG commands help to solve my problem.&lt;/P&gt;&lt;P&gt;However, I still have the problem of not being able to write to a memory region protected with a plain password. Can you replicate the commands I sent in the first ticket to read a memory region that is protected?&lt;BR /&gt;&lt;BR /&gt;Please see the photos attached:&lt;BR /&gt;- Read/Write Password&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="ReadWrite_PWD" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/368417i8E4A46575773D7B0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="ReadWritePassword.jpg" alt="ReadWrite_PWD" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;ReadWrite_PWD&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- Read "read-protected" register&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="05560499-febe-44d1-bd2e-a0a2a976bd0a.jpg" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/368419i4A79C72E53A9DBB1/image-size/medium?v=v2&amp;amp;px=400" role="button" title="05560499-febe-44d1-bd2e-a0a2a976bd0a.jpg" alt="05560499-febe-44d1-bd2e-a0a2a976bd0a.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;- Write "write-protected" register&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Write &amp;quot;write-protected&amp;quot; register" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/368418iCFCD6EC9EF0B980B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="WriteOpearion.jpg" alt="Write &amp;quot;write-protected&amp;quot; register" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Write "write-protected" register&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Regards,&lt;BR /&gt;GoncaloS&lt;/P&gt;</description>
      <pubDate>Wed, 03 Dec 2025 09:47:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/Problem-with-NTAG-protected-in-NFC-side/m-p/2254112#M13871</guid>
      <dc:creator>GoncaloS</dc:creator>
      <dc:date>2025-12-03T09:47:35Z</dc:date>
    </item>
  </channel>
</rss>

