<?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>MCUXpresso GeneralのトピックRe: Code Protection</title>
    <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985993#M2778</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry, but I am confused with your example. if your application has already got copied by someone else, there is no meaning for the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Code Read Protection. How to protect a file which has already been taken out?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Would you please clarify?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 24 Feb 2020 08:25:38 GMT</pubDate>
    <dc:creator>Kan_Li</dc:creator>
    <dc:date>2020-02-24T08:25:38Z</dc:date>
    <item>
      <title>Code Protection</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985976#M2761</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have completed my coding and now need to flash the code into the mcu but in such a way that no can have access to it or say no can copy code from the mcu again using SWD, UART, ISP &amp;amp; USB.&lt;/P&gt;&lt;P&gt;So, I need to know how do we flash the mcu in protected way for the production or market. Which NXP tool or third party tools we have to use for it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Nov 2019 11:43:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985976#M2761</guid>
      <dc:creator>trivedimanva</dc:creator>
      <dc:date>2019-11-13T11:43:28Z</dc:date>
    </item>
    <item>
      <title>Re: Code Protection</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985977#M2762</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which MCU are you referring to? Would you please specify?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 Nov 2019 08:16:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985977#M2762</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-11-19T08:16:29Z</dc:date>
    </item>
    <item>
      <title>Re: Code Protection</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985978#M2763</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi @Kan_Li&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using PN7462AU Read IC and for code development MCUXpresso IDE.&lt;/P&gt;&lt;P&gt;Looking forward for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Manva&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 24 Nov 2019 18:56:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985978#M2763</guid>
      <dc:creator>trivedimanva</dc:creator>
      <dc:date>2019-11-24T18:56:34Z</dc:date>
    </item>
    <item>
      <title>Re: Code Protection</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985979#M2764</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You may disable the SWD interface to protect your application code. Please refer to the following for details.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/94899i6DD3C91D98E2A32B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Nov 2019 04:54:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985979#M2764</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-11-25T04:54:53Z</dc:date>
    </item>
    <item>
      <title>Re: Code Protection</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985980#M2765</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I already gone through all these details.&lt;/P&gt;&lt;P&gt;From the document I tried to develop &amp;amp; generate the code CRP level 01 for security, to do these I have used the user_ee.xml file to "add custom parameter" as mentioned in the&amp;nbsp;UM10948 - PN7462 EEPROM Management (at Pg 8 and point 2.5).&lt;/P&gt;&lt;P&gt;But I am unable to get the updated changed file.&lt;/P&gt;&lt;P&gt;(I am not getting any page VII [UserBlock] in the html file after cross verifying it).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please let me know whats the issue.&amp;nbsp;&lt;/P&gt;&lt;P&gt;And if possible, Can CRP changed from the firmware side directly without changing any file through xml files (Means any code level, function or register settings I have to done, then please share a sample for safety purpose otherwise my board will get wasted).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward for your kind support ...&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;&lt;P&gt;Manva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Dec 2019 09:34:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985980#M2765</guid>
      <dc:creator>trivedimanva</dc:creator>
      <dc:date>2019-12-06T09:34:54Z</dc:date>
    </item>
    <item>
      <title>Re: Code Protection</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985981#M2766</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any other method through which we can set the CRP level&amp;nbsp; =&amp;nbsp; 01 in firmware side(without using XML file).&lt;/P&gt;&lt;P&gt;If possible then please share sample of it for reference &amp;amp; safety as well(because any hard changes in the CRP level may cause reversible settings into it)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward for your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Manva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2019 05:35:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985981#M2766</guid>
      <dc:creator>trivedimanva</dc:creator>
      <dc:date>2019-12-11T05:35:19Z</dc:date>
    </item>
    <item>
      <title>Re: Code Protection</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985982#M2767</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually I did as the the&amp;nbsp;UM10948 and got the same result as it is, please kindly refer to the following for details.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/96338iE6643D22C3D2C22F/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I think your issue might be due to the xml format, so I attach my file here, please refer to the attachment for details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually xml file is just used to define your own parameters in the EEPROM, so you may lock your application just once. You know, we provide ROM system services for that purpose, but some API should be used considering EEPROM erase/write limitations.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/96339iFEA7967571CAB27E/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please refer to 3.3 in UM10913 for more details.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2019 05:38:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985982#M2767</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-12-11T05:38:51Z</dc:date>
    </item>
    <item>
      <title>Re: Code Protection</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985983#M2768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for response ....&lt;/P&gt;&lt;P&gt;I was also trying the same way to create page VII "UserBlock" using the xml, user_ee.xml file but unfortunately I was getting error and not able to get page VII.&lt;/P&gt;&lt;P&gt;Now I am getting it, Thanks once again for your support.&lt;/P&gt;&lt;P&gt;It will great of yours if can you share one of the sample the code for the SecRow(), OTP() functions and all which is done from the application code inside, Because I am afraid that If I made some wrong setting by mistake in the PN7462AU ROM then it will get block or something else.&lt;/P&gt;&lt;P&gt;So, I will request you, if you can share the sample of it for reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward for your support and responses ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards&lt;/P&gt;&lt;P&gt;Manva&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2019 18:59:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985983#M2768</guid>
      <dc:creator>trivedimanva</dc:creator>
      <dc:date>2019-12-11T18:59:35Z</dc:date>
    </item>
    <item>
      <title>Re: Code Protection</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985984#M2769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually we have already provided a code snippet in UM10948 as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/96582iA8E5870B64255718/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and if you want to protect the code and data from read, you should use the ROM system service:phhalSysSer_USB_PrimaryDnldConfig().because the following parameters locate in the NXP protected section. You can not use a xml file to get access to these parameters.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_209.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/96583iC7EE47FBE15FFF2B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_209.png" alt="pastedImage_209.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Prefer to the API guide, you may find the sample code as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_131.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/96584i7A0E6316CCE1A8AC/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_131.png" alt="pastedImage_131.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2019 07:02:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985984#M2769</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-12-12T07:02:06Z</dc:date>
    </item>
    <item>
      <title>Re: Code Protection</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985985#M2770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your response...!!!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It was okay.&lt;/P&gt;&lt;P&gt;I will look into and if found any issue I will update you for the same.&lt;/P&gt;&lt;P&gt;Thanks a lot for your support on the Code Protection : EEPROM CRP Level settings.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Manva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2019 18:13:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985985#M2770</guid>
      <dc:creator>trivedimanva</dc:creator>
      <dc:date>2019-12-17T18:13:53Z</dc:date>
    </item>
    <item>
      <title>Re: Code Protection</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985986#M2771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You are welcome! Please kindly let me know if there is any further issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 Dec 2019 06:05:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985986#M2771</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2019-12-19T06:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Code Protection</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985987#M2772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Kan_Li"&gt;Kan_Li&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sure I will let you know, If I have any further issues.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Manva Trivedi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Dec 2019 06:11:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985987#M2772</guid>
      <dc:creator>trivedimanva</dc:creator>
      <dc:date>2019-12-23T06:11:29Z</dc:date>
    </item>
    <item>
      <title>Re: Code Protection</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985988#M2773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Kan_Li"&gt;Kan_Li&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Hello once again, From last week I am trying to set CRP Level 01 using your shared xml eeprom file.&lt;/P&gt;&lt;P&gt;Whenever I run the "user_ee.bat" file it generate the new "user_ee.bin" file &amp;amp; even I can also see those changed in the outputted .html file.&lt;/P&gt;&lt;P&gt;But problem is that when I load/flash the newly generated "user_ee.bin" file it not showing any indication in "CRP_00" file name as it has to show when we made the changes into the eeprom user_ee.xml file as per the document(UM10948&lt;BR /&gt;EEPROM Management of PN746X and PN736X, page number - 12, Table 2. Code and data protection level).&lt;/P&gt;&lt;P&gt;(For your reference I am sharing my user_ee.bin and xml file, please let me about the error if any)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would request to share the sample code for the setting CRP level using the OTP(otp_Secrow) functions available.&lt;/P&gt;&lt;P&gt;While reading for my solution I have figured out some below function which already available :&lt;/P&gt;&lt;P&gt;1. phhalSysSer_OTP_SecrowConfig&lt;/P&gt;&lt;P&gt;2. phhalSysSer_OTP_SetSecrowLock&lt;/P&gt;&lt;P&gt;3. phhalSysSer_USB_PrimaryDnldConfig&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As I mentioned earlier that, I am scared to implement code with above function because any wrong setting &amp;amp; configuration causes my MCU irreversible setting and I cant do anything after it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I will very grateful, If you can share me the sample code using above available function which can directly implemented(Without making any changes into eeprom file) in main.c file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward for your support &amp;amp; Response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Manva Trivedi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Dec 2019 11:43:33 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985988#M2773</guid>
      <dc:creator>trivedimanva</dc:creator>
      <dc:date>2019-12-24T11:43:33Z</dc:date>
    </item>
    <item>
      <title>Re: Code Protection</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985989#M2774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The "user_ee.bin" file has no relation with CRP level configuration, you should use&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;phhalSysSer_USB_PrimaryDnldConfig(), just as I replied in the previous thread. This API would not brick the device, please feel free to use it according to the API user guide.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jan 2020 03:21:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985989#M2774</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2020-01-08T03:21:04Z</dc:date>
    </item>
    <item>
      <title>Re: Code Protection</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985990#M2775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/Kan_Li"&gt;Kan_Li&lt;/A&gt;‌,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried to develop the code for the Code Read and Write protection in application("phExccid") bin file, not in the EEPROM Bin file. So, that application bin didn't get copied if some one try to do it.&lt;/P&gt;&lt;P&gt;But after developing that code I am not able to get it(it normally get copied after applying such setting using API's).&lt;/P&gt;&lt;P&gt;After flashing that code in the PN7462, It allow to copy the application bin file(which I want to stop).&lt;/P&gt;&lt;P&gt;As you have shared the screenshot for the various "Code Read Protection" &amp;amp; "Code Write Protection" levels, In which I need to set the level 2 No Read Only Write is possible.&lt;/P&gt;&lt;P&gt;For your information here I am sharing function in which I have developed the function using the API's available in&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;&lt;SPAN&gt;&amp;nbsp;"&lt;/SPAN&gt;phhalSysSer"&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;So, Please correct me &amp;amp; guide me if I have set the wrong parameter if any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward for your support.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;Manva&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is code below :&lt;/P&gt;&lt;P&gt;void CRP(void){&lt;/P&gt;&lt;P&gt;wStatus = phhalSysSer_USB_Config(PH_SYSRV_GET_DATA, &amp;amp;sUsbInfo);&lt;BR /&gt; /* Update Product ID. */&lt;BR /&gt; sUsbInfo.USBDesc_PID[0] = 0x01;&lt;BR /&gt; sUsbInfo.USBDesc_PID[1] = 0x68;&lt;BR /&gt; wStatus = phhalSysSer_USB_Config(PH_SYSRV_SET_DATA, &lt;BR /&gt;&amp;amp;sUsbInfo);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; wStatus = phhalSysSer_USB_Config(PH_SYSRV_GET_DATA, &amp;amp;sUsbInfo);&lt;BR /&gt; /* Update Vendor ID. */&lt;BR /&gt; sUsbInfo.USBDesc_VID[0] = 0x25;&lt;BR /&gt; sUsbInfo.USBDesc_VID[1] = 0x2A;&lt;BR /&gt; wStatus = phhalSysSer_USB_Config(PH_SYSRV_SET_DATA, &lt;BR /&gt;&amp;amp;sUsbInfo);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; wStatus = phhalSysSer_OTP_SecrowConfig(PH_SYSRV_GET_DATA, &lt;BR /&gt;&amp;amp;sSecrowConfig);&lt;BR /&gt; /* Block SWD. */&lt;BR /&gt; sSecrowConfig.bBlockSWD[0] = 1;&lt;BR /&gt; wStatus = phhalSysSer_OTP_SecrowConfig &lt;BR /&gt;(PH_SYSRV_SET_DATA, &amp;amp;sSecrowConfig);&lt;/P&gt;&lt;P&gt;wStatus = phhalSysSer_OTP_SecrowConfig(PH_SYSRV_GET_DATA, &lt;BR /&gt;&amp;amp;sSecrowConfig);&lt;BR /&gt; /* Enable Code Write Protection. */&lt;BR /&gt; sSecrowConfig.bEnableCWP[0] = 1;&lt;BR /&gt; wStatus = phhalSysSer_OTP_SecrowConfig &lt;BR /&gt;(PH_SYSRV_SET_DATA, &amp;amp;sSecrowConfig);&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; wStatus = phhalSysSer_USB_PrimaryDnldConfig(PH_SYSRV_GET_DATA, &lt;BR /&gt;&amp;amp;sPriDwnlCfg);&lt;BR /&gt; /* Disable primary download. */&lt;BR /&gt; sPriDwnlCfg.CRP_Level[0] = 1;&lt;BR /&gt; wStatus = phhalSysSer_USB_PrimaryDnldConfig &lt;BR /&gt;(PH_SYSRV_SET_DATA, &amp;amp;sPriDwnlCfg);&lt;/P&gt;&lt;P&gt;wStatus = phhalSysSer_OTP_SetSecrowLock();&lt;BR /&gt;}&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Feb 2020 10:29:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985990#M2775</guid>
      <dc:creator>trivedimanva</dc:creator>
      <dc:date>2020-02-01T10:29:45Z</dc:date>
    </item>
    <item>
      <title>Re: Code Protection</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985991#M2776</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Did you power cycle the board after that?&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;SPAN style="border: 0px; font-weight: bold;"&gt;&lt;STRONG&gt;Note:&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;Securing the chip, disabling the SWD, shall NOT be done at every power up. This caused issues in the past. so if it is done once by receiving a command,&amp;nbsp; that would be&amp;nbsp;fine, just avoid doing it e.g. at every power up.&amp;nbsp;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;BTW, if you use diff command to compare CRP_00.bin and CRP_01.bin, their contents are different.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/103323i3F33CCCFFA7C45DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;and alternatively you may open these bin files by npp, and from the content view , you may find they are different , as the primary download just provides 0xff when CRP level is greater than 0.&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/103441i569A40B068C4EBAA/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_4.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/103480i8FEF13305C367588/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_4.png" alt="pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Hope that helps,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Best Regards,&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;Kan&lt;/P&gt;&lt;P style="color: #51626f; background-color: #ffffff; border: 0px;"&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2020 02:44:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985991#M2776</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2020-02-11T02:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: Code Protection</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985992#M2777</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi @Kan_Li,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can understand from your file which you have shown that it is protected.&lt;/P&gt;&lt;P&gt;But what if, My file is get copied and same file is pasted in another MCU.&lt;/P&gt;&lt;P&gt;For Example, Consider that if someone has two another nxp mcu &amp;amp; also my board with my application developed. Now they can go into the USB MSD download mode can easily copy my developed code and past it in someone another board.&lt;/P&gt;&lt;P&gt;(I also know we can also disable the usb MSD mode, but I am in development phase so currently I cant block the usb msd mode, but need to protect my application bin file.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, that's why I am looking for the Code Read Protection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Looking forward for your feedback.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Manva&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 23 Feb 2020 05:06:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985992#M2777</guid>
      <dc:creator>trivedimanva</dc:creator>
      <dc:date>2020-02-23T05:06:30Z</dc:date>
    </item>
    <item>
      <title>Re: Code Protection</title>
      <link>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985993#M2778</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manva,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sorry, but I am confused with your example. if your application has already got copied by someone else, there is no meaning for the&amp;nbsp;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Code Read Protection. How to protect a file which has already been taken out?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;Would you please clarify?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="border: 0px;"&gt;Have a great day,&lt;BR /&gt;Kan&lt;/P&gt;&lt;P style="border: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P style="border: 0px;"&gt;&lt;BR /&gt;-------------------------------------------------------------------------------&lt;BR /&gt;Note:&lt;BR /&gt;- If this post answers your question, please click the "Mark Correct" button. Thank you!&lt;BR /&gt;- We are following threads for 7 weeks after the last post, later replies are ignored&lt;BR /&gt;Please open a new thread and refer to the closed one, if you have a related question at a later point in time.&lt;BR /&gt;-------------------------------------------------------------------------------&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Feb 2020 08:25:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/MCUXpresso-General/Code-Protection/m-p/985993#M2778</guid>
      <dc:creator>Kan_Li</dc:creator>
      <dc:date>2020-02-24T08:25:38Z</dc:date>
    </item>
  </channel>
</rss>

