<?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 unable to change flash security? in S32K</title>
    <link>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1442489#M14912</link>
    <description>&lt;P&gt;hi.&lt;/P&gt;&lt;P&gt;I use S32k144 and want to activate the security for prevent illegal access to memory from debugger. I change the "startup_S32K142.s" file according to available examples in the forum.&lt;/P&gt;&lt;P&gt;__FlashConfig&lt;BR /&gt;DCD 0x12345622 ; 8 bytes backdoor comparison key&lt;BR /&gt;DCD 0x12345678 ;&lt;BR /&gt;DCD 0xFFFFFFFF ; 4 bytes program flash protection bytes&lt;BR /&gt;DCD 0xFFFF7FBF ; FDPROT:FEPROT:FOPT:FSEC&lt;BR /&gt;__FlashConfig_End&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I use debugger the memory is accessible and when disconnect debugger from MCU and read the location 0x408 it returned 0xFFFF7DFE !! (also in debugger). Backdoor phrases are write well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 12 Apr 2022 07:27:31 GMT</pubDate>
    <dc:creator>JeorgeB</dc:creator>
    <dc:date>2022-04-12T07:27:31Z</dc:date>
    <item>
      <title>unable to change flash security?</title>
      <link>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1442489#M14912</link>
      <description>&lt;P&gt;hi.&lt;/P&gt;&lt;P&gt;I use S32k144 and want to activate the security for prevent illegal access to memory from debugger. I change the "startup_S32K142.s" file according to available examples in the forum.&lt;/P&gt;&lt;P&gt;__FlashConfig&lt;BR /&gt;DCD 0x12345622 ; 8 bytes backdoor comparison key&lt;BR /&gt;DCD 0x12345678 ;&lt;BR /&gt;DCD 0xFFFFFFFF ; 4 bytes program flash protection bytes&lt;BR /&gt;DCD 0xFFFF7FBF ; FDPROT:FEPROT:FOPT:FSEC&lt;BR /&gt;__FlashConfig_End&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But when I use debugger the memory is accessible and when disconnect debugger from MCU and read the location 0x408 it returned 0xFFFF7DFE !! (also in debugger). Backdoor phrases are write well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 07:27:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1442489#M14912</guid>
      <dc:creator>JeorgeB</dc:creator>
      <dc:date>2022-04-12T07:27:31Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change flash security?</title>
      <link>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1442544#M14916</link>
      <description>&lt;P&gt;Hi&amp;nbsp;JeorgeB,&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;S32k144 should modify the&amp;nbsp;"startup_S32K14&lt;STRONG&gt;4&lt;/STRONG&gt;.s". Why you change the&amp;nbsp;"startup_S32K14&lt;STRONG&gt;2&lt;/STRONG&gt;.s"?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Best Regards,&lt;BR /&gt;Robin&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;/P&gt;
&lt;P&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;</description>
      <pubDate>Tue, 12 Apr 2022 08:50:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1442544#M14916</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-04-12T08:50:25Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change flash security?</title>
      <link>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1442591#M14918</link>
      <description>&lt;P&gt;It was a typing mistake.&lt;/P&gt;&lt;P&gt;I try that in S32K142 and there was the same problem.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 09:39:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1442591#M14918</guid>
      <dc:creator>JeorgeB</dc:creator>
      <dc:date>2022-04-12T09:39:47Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change flash security?</title>
      <link>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1442595#M14919</link>
      <description>&lt;P&gt;Have you try to use S32DS with P&amp;amp;E Micro debugger?&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 09:42:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1442595#M14919</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-04-12T09:42:39Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change flash security?</title>
      <link>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1442598#M14920</link>
      <description>&lt;P&gt;No, I use IAR and debug tool is jlink.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 09:49:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1442598#M14920</guid>
      <dc:creator>JeorgeB</dc:creator>
      <dc:date>2022-04-12T09:49:23Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change flash security?</title>
      <link>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1442650#M14924</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Since you are using IAR, have you add&lt;STRONG&gt; --enable_config_write&lt;/STRONG&gt;? refer:&amp;nbsp;&lt;/SPAN&gt;&lt;A href="https://community.nxp.com/t5/Kinetis-Microcontrollers/Using-IAR-EWARM-to-program-flash-configuration-field/m-p/284155" target="_self"&gt;&lt;SPAN class="lia-link-navigation lia-link-disabled"&gt;Using IAR EWARM to program flash configuration field?&lt;/SPAN&gt;&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Apr 2022 10:48:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1442650#M14924</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2022-04-12T10:48:57Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change flash security?</title>
      <link>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1735286#M27641</link>
      <description>&lt;P&gt;Hi Robin,&lt;/P&gt;&lt;P&gt;I also encountered such a problem in the S32DS, the SREC is BF, and the BE is when viewing after burning. What is the solution.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Oct 2023 07:24:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1735286#M27641</guid>
      <dc:creator>ZEROOO</dc:creator>
      <dc:date>2023-10-08T07:24:25Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change flash security?</title>
      <link>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1735290#M27642</link>
      <description>&lt;P&gt;If you are using Segger J-Link, please select (&lt;STRONG&gt;allow security&lt;/STRONG&gt;) when configure &lt;STRONG&gt;Target Device Settings&lt;/STRONG&gt;.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Oct 2023 07:52:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1735290#M27642</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2023-10-08T07:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: unable to change flash security?</title>
      <link>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1735294#M27643</link>
      <description>&lt;P&gt;The debugger I use is ic5000, I do not know why this phenomenon occurs, any suggestions&lt;/P&gt;</description>
      <pubDate>Sun, 08 Oct 2023 08:05:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1735294#M27643</guid>
      <dc:creator>ZEROOO</dc:creator>
      <dc:date>2023-10-08T08:05:25Z</dc:date>
    </item>
    <item>
      <title>回复： unable to change flash security?</title>
      <link>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1737089#M27743</link>
      <description>&lt;P&gt;The problem has been solved, thank you! When downloading the program in the security zone, the general debugger will not download the security zone by default, and it is necessary to configure the corresponding Settings before modifying the security zone value, but this will have the risk of the chip being permanently locked, how to set the specific setting can ask the debugger technical support.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Oct 2023 05:30:20 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/unable-to-change-flash-security/m-p/1737089#M27743</guid>
      <dc:creator>ZEROOO</dc:creator>
      <dc:date>2023-10-11T05:30:20Z</dc:date>
    </item>
  </channel>
</rss>

