<?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 PN7642 code read protect in NFC</title>
    <link>https://community.nxp.com/t5/NFC/PN7642-code-read-protect/m-p/2065822#M12935</link>
    <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using PN7642 in my project. I would like to ask, how to protect code from reading properly?&lt;/P&gt;&lt;P&gt;In the datasheet I found description of&amp;nbsp;CRP Levels (CRP1, CRP2, CRP3).&amp;nbsp; In library the is function&amp;nbsp;PN76_Status_t PN76_Sys_OTPConfigs_EnableCRP(). I would like to ask how to use it properly? Where in code it should be called? What level of code read protection it provides? How to check if it works?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I called it from main() function, it returned 0x07 value (what can cause that? it seems like possible values are 0x00 and 0x08) and I still can read memory using JLink utility.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;Artem&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Mar 2025 20:22:41 GMT</pubDate>
    <dc:creator>artem_pn</dc:creator>
    <dc:date>2025-03-20T20:22:41Z</dc:date>
    <item>
      <title>PN7642 code read protect</title>
      <link>https://community.nxp.com/t5/NFC/PN7642-code-read-protect/m-p/2065822#M12935</link>
      <description>&lt;P&gt;Hello!&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using PN7642 in my project. I would like to ask, how to protect code from reading properly?&lt;/P&gt;&lt;P&gt;In the datasheet I found description of&amp;nbsp;CRP Levels (CRP1, CRP2, CRP3).&amp;nbsp; In library the is function&amp;nbsp;PN76_Status_t PN76_Sys_OTPConfigs_EnableCRP(). I would like to ask how to use it properly? Where in code it should be called? What level of code read protection it provides? How to check if it works?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I called it from main() function, it returned 0x07 value (what can cause that? it seems like possible values are 0x00 and 0x08) and I still can read memory using JLink utility.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;P&gt;Artem&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Mar 2025 20:22:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7642-code-read-protect/m-p/2065822#M12935</guid>
      <dc:creator>artem_pn</dc:creator>
      <dc:date>2025-03-20T20:22:41Z</dc:date>
    </item>
    <item>
      <title>Re: PN7642 code read protect</title>
      <link>https://community.nxp.com/t5/NFC/PN7642-code-read-protect/m-p/2069155#M12965</link>
      <description>&lt;P&gt;Please open the API User documentation.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-03-26 12_49_34-AN13936.pdf - Adobe Acrobat Reader (32-bit).png" style="width: 786px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/329998i61481AFCCC269453/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-03-26 12_49_34-AN13936.pdf - Adobe Acrobat Reader (32-bit).png" alt="2025-03-26 12_49_34-AN13936.pdf - Adobe Acrobat Reader (32-bit).png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then&amp;nbsp;&lt;SPAN class="uiOutputText"&gt;go to the OTP (One Time Programable) calls:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2025-03-26 12_48_05-PN7642 NFC Controller_ SYS OTP Config Interface.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/329999iADCF8397F20AB132/image-size/large?v=v2&amp;amp;px=999" role="button" title="2025-03-26 12_48_05-PN7642 NFC Controller_ SYS OTP Config Interface.png" alt="2025-03-26 12_48_05-PN7642 NFC Controller_ SYS OTP Config Interface.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;You could find all kind of security features to protect the chip such as Read protection, SWD disable and so on.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="uiOutputText"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 27 Mar 2025 03:48:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7642-code-read-protect/m-p/2069155#M12965</guid>
      <dc:creator>jimmychan</dc:creator>
      <dc:date>2025-03-27T03:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: PN7642 code read protect</title>
      <link>https://community.nxp.com/t5/NFC/PN7642-code-read-protect/m-p/2101002#M13199</link>
      <description>&lt;P&gt;I also am getting a 0x07 return code.&amp;nbsp; The API documentation you pointed to has no useful information about what code 7 "PN76_STATUS_AUTH_ERROR" means or how to deal with it.&lt;/P&gt;&lt;P&gt;Can you please provide more information on how to utilize the Code Read Protection functionality in the chip?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 21 May 2025 00:30:36 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7642-code-read-protect/m-p/2101002#M13199</guid>
      <dc:creator>KB1</dc:creator>
      <dc:date>2025-05-21T00:30:36Z</dc:date>
    </item>
    <item>
      <title>Re: PN7642 code read protect</title>
      <link>https://community.nxp.com/t5/NFC/PN7642-code-read-protect/m-p/2105427#M13237</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;The function&amp;nbsp;&lt;SPAN&gt;PN76_Sys_OTPConfigs_EnableCRP() can be called only once. After that trying to debug it, I have got this 0x07 message, but it turned off an ability for me to run device in USB FW update mode by selecting boot from USB on evaluation board&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 May 2025 16:14:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/NFC/PN7642-code-read-protect/m-p/2105427#M13237</guid>
      <dc:creator>artem_pn</dc:creator>
      <dc:date>2025-05-27T16:14:44Z</dc:date>
    </item>
  </channel>
</rss>

