<?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: How to avoid illegal data reading in S32K</title>
    <link>https://community.nxp.com/t5/S32K/How-to-avoid-illegal-data-reading/m-p/1042176#M6773</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello, now my device S32K146 state as the first picture , D1 LED is light always.&lt;/P&gt;&lt;P&gt;Debug status as the second and third pictures, press "Yes" in the second picture it will jump to the third picture,&amp;nbsp; then press " retry"&amp;nbsp; in the third picture, it will jump to the second picture.&lt;/P&gt;&lt;P&gt;how can i resolve this problem?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/113502i568688DDD96672ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.jpg" alt="pastedImage_1.jpg" /&gt;&lt;/span&gt;&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/113508iD52E24A04FEA7F25/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;&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/113510iA8617A4892B8AED3/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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Jun 2020 02:28:15 GMT</pubDate>
    <dc:creator>814420552</dc:creator>
    <dc:date>2020-06-23T02:28:15Z</dc:date>
    <item>
      <title>How to avoid illegal data reading</title>
      <link>https://community.nxp.com/t5/S32K/How-to-avoid-illegal-data-reading/m-p/1042171#M6768</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello，&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;Program flash and EEPROM are not read-protected. So how do you prevent others from reading the code? I see that STM32 allows users to set read protection, so that the data read is AAAAAAAA, but it does not affect the operation of the program. In your reference manual, I did not see an introduction to read protection. How does S32k146 do read protection?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 13 Jun 2020 08:37:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-avoid-illegal-data-reading/m-p/1042171#M6768</guid>
      <dc:creator>814420552</dc:creator>
      <dc:date>2020-06-13T08:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid illegal data reading</title>
      <link>https://community.nxp.com/t5/S32K/How-to-avoid-illegal-data-reading/m-p/1042172#M6769</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/814420552@qq.com"&gt;814420552@qq.com&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Please refer to the reference manual.&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/112948iDAFA7C3968AE13AA/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;It has been already discussed, for example, here:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/thread/449064"&gt;Flash protection S32k144&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the Backdoor key feature to remove the protection without erasing the MCU:&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-335429"&gt;Example S32K144 Verify Backdoor Access Key S32DS1.3&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Jun 2020 08:29:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-avoid-illegal-data-reading/m-p/1042172#M6769</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-06-16T08:29:44Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid illegal data reading</title>
      <link>https://community.nxp.com/t5/S32K/How-to-avoid-illegal-data-reading/m-p/1042173#M6770</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi&amp;nbsp; Daniel，&lt;/P&gt;&lt;P&gt;&amp;nbsp; how can I know the backdoor key？and if my device S32K148 demo board executed erase all block command the&lt;/P&gt;&lt;P&gt;device will be secured, openSDA can't connect with Device&amp;nbsp; and D1 led keep light, then how can i resove this problem?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if execute backdoor command, but I don't konw the backdoor key.&amp;nbsp; onthe other hand if i know the backdoor key how can i execute this backdoor command in the deviec?(Debug can't connect)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;wish your henlp, thanks very much!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2020 03:50:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-avoid-illegal-data-reading/m-p/1042173#M6770</guid>
      <dc:creator>814420552</dc:creator>
      <dc:date>2020-06-18T03:50:03Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid illegal data reading</title>
      <link>https://community.nxp.com/t5/S32K/How-to-avoid-illegal-data-reading/m-p/1042174#M6771</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;lt;1&amp;gt;&amp;nbsp; is&amp;nbsp;&amp;nbsp;the backdoor key defined by NXP when the device produced？&lt;/P&gt;&lt;P&gt;&amp;lt;2&amp;gt;&amp;nbsp; does the backdoor key can be updated by user?&lt;/P&gt;&lt;P&gt;you said：&lt;SPAN style="color: #51626f; background-color: #c1e6c6;"&gt;You can use the Backdoor key feature to remove the protection without erasing the MCU:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my question is the follow&lt;/P&gt;&lt;P&gt;&amp;lt;3&amp;gt; can i&amp;nbsp; call the&amp;nbsp;API backdoor_key_verify(Key)&amp;nbsp; &amp;nbsp;remove the protection?&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;lt;4&amp;gt; if i want to remove partition and not erase MCU,&amp;nbsp; the&amp;nbsp; steps&amp;nbsp;&amp;nbsp;are&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;I.&amp;nbsp; call API&amp;nbsp;&lt;SPAN&gt;backdoor_key_verify(Key).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;II. call erase all block command&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;are&amp;nbsp; the steps right?&amp;nbsp; if&amp;nbsp; not can you tell me the right step?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #c1e6c6;"&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/113162iE87F3417FAD76E14/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2020 09:07:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-avoid-illegal-data-reading/m-p/1042174#M6771</guid>
      <dc:creator>814420552</dc:creator>
      <dc:date>2020-06-18T09:07:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid illegal data reading</title>
      <link>https://community.nxp.com/t5/S32K/How-to-avoid-illegal-data-reading/m-p/1042175#M6772</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/814420552@qq.com"&gt;814420552@qq.com&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;I believe that it is explained in the example.&lt;/P&gt;&lt;P&gt;The backdoor key is defined by the user in the startup_S32K144.S file.&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/113180i2A576A380BC45C06/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;At 0x400 in the S32K1xx_flash.ld linker file.&amp;nbsp;&lt;/P&gt;&lt;P&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/113181i5FCB7D839A8DBC20/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&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/113182i8EBBC264357BC228/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&gt;&lt;/P&gt;&lt;P&gt;The Backdoor Key Verify FTFC command (0x45) can be used only if the flash configuration field has the key defined.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The command unlocks the MCU so that the debugger can access the memory/registers of the MCU.&lt;/P&gt;&lt;P&gt;If the key is not defined and the MCU is locked, the debugger can only mass erase the MCU.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 18 Jun 2020 11:38:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-avoid-illegal-data-reading/m-p/1042175#M6772</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-06-18T11:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid illegal data reading</title>
      <link>https://community.nxp.com/t5/S32K/How-to-avoid-illegal-data-reading/m-p/1042176#M6773</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hello, now my device S32K146 state as the first picture , D1 LED is light always.&lt;/P&gt;&lt;P&gt;Debug status as the second and third pictures, press "Yes" in the second picture it will jump to the third picture,&amp;nbsp; then press " retry"&amp;nbsp; in the third picture, it will jump to the second picture.&lt;/P&gt;&lt;P&gt;how can i resolve this problem?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.jpg"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/113502i568688DDD96672ED/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.jpg" alt="pastedImage_1.jpg" /&gt;&lt;/span&gt;&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/113508iD52E24A04FEA7F25/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;&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/113510iA8617A4892B8AED3/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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Jun 2020 02:28:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-avoid-illegal-data-reading/m-p/1042176#M6773</guid>
      <dc:creator>814420552</dc:creator>
      <dc:date>2020-06-23T02:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid illegal data reading</title>
      <link>https://community.nxp.com/t5/S32K/How-to-avoid-illegal-data-reading/m-p/1042177#M6774</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&amp;nbsp;&lt;A class="jx-jive-macro-user" href="https://community.nxp.com/people/814420552@qq.com"&gt;814420552@qq.com&lt;/A&gt;,&lt;/P&gt;&lt;P&gt;Is the MCU partitioned with CSEc keys allocated?&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://www.nxp.com/docs/en/application-note/AN12130.pdf" title="https://www.nxp.com/docs/en/application-note/AN12130.pdf"&gt;https://www.nxp.com/docs/en/application-note/AN12130.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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/114045iFEB01E701F48E3C4/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&gt;&lt;/P&gt;&lt;P&gt;BR, Daniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2020 07:06:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-avoid-illegal-data-reading/m-p/1042177#M6774</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2020-06-29T07:06:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to avoid illegal data reading</title>
      <link>https://community.nxp.com/t5/S32K/How-to-avoid-illegal-data-reading/m-p/1042178#M6775</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello，&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;I remember that execute the following code&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/114058i9C3332CA9E8201AE/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;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;this is my test code， after this operation， The device&amp;nbsp; security.&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&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/114059iA721D938E11A9FAC/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;from the manual i found configuration is erased after execute erase all block command , so all the following data is changed to 0xFF, when reset the device is secured,&amp;nbsp; MEEN = 11b, KEYEN = 11b,SEC = 11b.&lt;/P&gt;&lt;P&gt;current device is secured so this command executed succcessfully. so it is&amp;nbsp;no need to consider whether to enable CSEc.&lt;/P&gt;&lt;P&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/114060iD64E57C06E5009BD/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&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/114061i5D14E773F5ECFB3C/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&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;when switch to KEIL 5， run debug&amp;nbsp; tips the following&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_5.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/114062iCBAAB01C6B51B450/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_5.png" alt="pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;then&amp;nbsp; press “确定”&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_6.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/114066i2AA40AEDDB0038E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_6.png" alt="pastedImage_6.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; I don't&amp;nbsp; know why, wish your help&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Jun 2020 09:38:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/How-to-avoid-illegal-data-reading/m-p/1042178#M6775</guid>
      <dc:creator>814420552</dc:creator>
      <dc:date>2020-06-29T09:38:48Z</dc:date>
    </item>
  </channel>
</rss>

