<?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>HardwareのトピックRe: S32K144 Connection Issue</title>
    <link>https://community.nxp.com/t5/Hardware/S32K144-Connection-Issue/m-p/2037873#M104</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/246359"&gt;@Billi2110&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The memory range from 0x400 to 0x40F corresponds to the Flash Configuration Field, which stores several flash settings, including important configurations like several flash settings, most importantly the flash protection and system security settings. These settings are copied to the flash registers upon reset.&lt;/P&gt;
&lt;P&gt;To prevent accidental locking of devices, the flash configuration field requires special handling. we recommend that, by default, flash programmers write the following value to the flash configuration field:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;/* Flash Configuration */
    .section .FlashConfig, "a"
    .long 0xFFFFFFFF     /* 8 bytes backdoor comparison key           */
    .long 0xFFFFFFFF     /*                                           */
    .long 0xFFFFFFFF     /* 4 bytes program flash protection bytes    */
    .long 0xFFFF7FFE     /* FDPROT:FEPROT:FOPT:FSEC(0xFE = unsecured) */&lt;/LI-CODE&gt;
&lt;P&gt;This value places the device in an unsecured state with no flash regions protected.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you manipulated the linker file, you might manipulate the system security settings, therem you have disable the JTAG interface.&lt;/P&gt;
&lt;P&gt;Refer to the following community threads, which have information related to the topic, it might be useful for you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio/S32K148-Secured/m-p/1056386" target="_blank" rel="noopener"&gt;S32K148 Secured?&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/Unbricking-S32K146/m-p/937230?commentID=1166947#comment-1166947" target="_blank" rel="noopener"&gt;Unbricking S32K146&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32k116-Timeout-while-unsecuring-device-Erase-never-stops/td-p/1184673" target="_blank" rel="noopener"&gt;S32k116 Timeout while unsecuring device. Erase never stops.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
    <pubDate>Tue, 04 Feb 2025 17:03:48 GMT</pubDate>
    <dc:creator>VaneB</dc:creator>
    <dc:date>2025-02-04T17:03:48Z</dc:date>
    <item>
      <title>S32K144 Connection Issue</title>
      <link>https://community.nxp.com/t5/Hardware/S32K144-Connection-Issue/m-p/2037574#M103</link>
      <description>&lt;P&gt;Hello All,&lt;/P&gt;&lt;P&gt;I&amp;nbsp;built and flash led a flash project on S32DS with linker file update as shown below:&lt;BR /&gt;Before:&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Before.PNG" style="width: 753px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/322283i446D9B0BAB26BEBD/image-size/large?v=v2&amp;amp;px=999" role="button" title="Before.PNG" alt="Before.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After change linker:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="After.PNG" style="width: 756px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/322285i90C9D4EC8BCB8C43/image-size/large?v=v2&amp;amp;px=999" role="button" title="After.PNG" alt="After.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When connecting to flash to the board, S32DS reports an error as below:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error1.PNG" style="width: 290px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/322287i86B1D8CFB5BB116D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error1.PNG" alt="Error1.PNG" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error2.PNG" style="width: 827px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/322286i2F720866A9A0B9FA/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error2.PNG" alt="Error2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I used&amp;nbsp;Kinetis_Recovery_Utility to recover but It still cannot flash&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 599px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/322289iE11C395D9390DD33/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please help me solve this error&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 08:10:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Hardware/S32K144-Connection-Issue/m-p/2037574#M103</guid>
      <dc:creator>Billi2110</dc:creator>
      <dc:date>2025-02-04T08:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Connection Issue</title>
      <link>https://community.nxp.com/t5/Hardware/S32K144-Connection-Issue/m-p/2037873#M104</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/246359"&gt;@Billi2110&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The memory range from 0x400 to 0x40F corresponds to the Flash Configuration Field, which stores several flash settings, including important configurations like several flash settings, most importantly the flash protection and system security settings. These settings are copied to the flash registers upon reset.&lt;/P&gt;
&lt;P&gt;To prevent accidental locking of devices, the flash configuration field requires special handling. we recommend that, by default, flash programmers write the following value to the flash configuration field:&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;/* Flash Configuration */
    .section .FlashConfig, "a"
    .long 0xFFFFFFFF     /* 8 bytes backdoor comparison key           */
    .long 0xFFFFFFFF     /*                                           */
    .long 0xFFFFFFFF     /* 4 bytes program flash protection bytes    */
    .long 0xFFFF7FFE     /* FDPROT:FEPROT:FOPT:FSEC(0xFE = unsecured) */&lt;/LI-CODE&gt;
&lt;P&gt;This value places the device in an unsecured state with no flash regions protected.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When you manipulated the linker file, you might manipulate the system security settings, therem you have disable the JTAG interface.&lt;/P&gt;
&lt;P&gt;Refer to the following community threads, which have information related to the topic, it might be useful for you.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32-Design-Studio/S32K148-Secured/m-p/1056386" target="_blank" rel="noopener"&gt;S32K148 Secured?&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/Unbricking-S32K146/m-p/937230?commentID=1166947#comment-1166947" target="_blank" rel="noopener"&gt;Unbricking S32K146&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32k116-Timeout-while-unsecuring-device-Erase-never-stops/td-p/1184673" target="_blank" rel="noopener"&gt;S32k116 Timeout while unsecuring device. Erase never stops.&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, VaneB&lt;/P&gt;</description>
      <pubDate>Tue, 04 Feb 2025 17:03:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Hardware/S32K144-Connection-Issue/m-p/2037873#M104</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2025-02-04T17:03:48Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Connection Issue</title>
      <link>https://community.nxp.com/t5/Hardware/S32K144-Connection-Issue/m-p/2038147#M105</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201913"&gt;@VaneB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Refer your comment, I did create the sample project and in the&amp;nbsp;startup_S32K144.S , I added&amp;nbsp;&amp;nbsp;Flash Configuration as below picture&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture1.PNG" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/322425i6BE257287659560E/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture1.PNG" alt="Capture1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but the issue still occur&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Error1.PNG" style="width: 290px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/322426i3060AE9DF963A3E3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Error1.PNG" alt="Error1.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture2.PNG" style="width: 377px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/322427iC61283C0D84C1362/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture2.PNG" alt="Capture2.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I don't know whether I have missed something to do it. please help me solve it. Sorry for my inconvenient&lt;/P&gt;&lt;P&gt;Best regards&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 02:14:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Hardware/S32K144-Connection-Issue/m-p/2038147#M105</guid>
      <dc:creator>Billi2110</dc:creator>
      <dc:date>2025-02-05T02:14:47Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Connection Issue</title>
      <link>https://community.nxp.com/t5/Hardware/S32K144-Connection-Issue/m-p/2038768#M106</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/246359"&gt;@Billi2110&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The message "Erase to unsecure?" indicates that mass erase is still enabled, which means there is a possibility of unsecuring the device. Please refer to the following community thread, which should be helpful.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/Device-is-secure-erase-to-unsecure/m-p/1081528" target="_blank" rel="noopener"&gt;Device is secure , erase to unsecure&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Additionally, do you still have the changes previously made to the linker file? If so, please use the default project files created by S32DS.&lt;/P&gt;</description>
      <pubDate>Wed, 05 Feb 2025 18:13:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Hardware/S32K144-Connection-Issue/m-p/2038768#M106</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2025-02-05T18:13:54Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Connection Issue</title>
      <link>https://community.nxp.com/t5/Hardware/S32K144-Connection-Issue/m-p/2040822#M109</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201913"&gt;@VaneB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Sorry for my reply to late, when I use Jlink to erase secure refer your suggest and get some error, please help me resolve it&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture3.PNG" style="width: 888px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/323148iFD576EBB28867449/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture3.PNG" alt="Capture3.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 10:00:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Hardware/S32K144-Connection-Issue/m-p/2040822#M109</guid>
      <dc:creator>Billi2110</dc:creator>
      <dc:date>2025-02-10T10:00:22Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Connection Issue</title>
      <link>https://community.nxp.com/t5/Hardware/S32K144-Connection-Issue/m-p/2041158#M110</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/246359"&gt;@Billi2110&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;As mentioned in the previous community thread, have you already tried using the unlock Kinetis command with J-Link Commander? I am attaching additional threads where this topic has been discussed.&lt;/P&gt;
&lt;P data-unlink="true"&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32K148-Unsecurity/m-p/1182938" target="_blank" rel="noopener"&gt;&amp;nbsp;S32K148 Unsecurity&amp;nbsp;&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/How-to-unlock-S32K148-Chip/m-p/1201568" target="_blank" rel="noopener"&gt;How to unlock S32K148 Chip&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forum.segger.com/index.php/Thread/5949-SOLVED-S32K-can-not-connect-after-program/" target="_blank" rel="noopener"&gt;S32K can not connect after program&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 10 Feb 2025 20:09:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Hardware/S32K144-Connection-Issue/m-p/2041158#M110</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2025-02-10T20:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Connection Issue</title>
      <link>https://community.nxp.com/t5/Hardware/S32K144-Connection-Issue/m-p/2041265#M111</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/201913"&gt;@VaneB&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;Actually, I succeeded unlock the device&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture4.PNG" style="width: 291px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/323266i54F97CA2F9E81B27/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture4.PNG" alt="Capture4.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;but after that, I connect and get the error as upper my comment&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 01:31:24 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Hardware/S32K144-Connection-Issue/m-p/2041265#M111</guid>
      <dc:creator>Billi2110</dc:creator>
      <dc:date>2025-02-11T01:31:24Z</dc:date>
    </item>
    <item>
      <title>Re: S32K144 Connection Issue</title>
      <link>https://community.nxp.com/t5/Hardware/S32K144-Connection-Issue/m-p/2041992#M112</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/246359"&gt;@Billi2110&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Could you try using the swdwriteap 1, 0x1 command, which will launch a mass erase operation directly and set Control[0] = 1 after unlocking the Kinetis device?&lt;/P&gt;
&lt;P&gt;Additionally, based on your previous responses, I infer that you may have a PEMicro device. If so, could you try selecting the "Emergency Kinetis Device Recovery by Full Chip Erase" option in the S32 Design Studio debug configuration? This will help rule out any potential issues with the J-Link debugger.&lt;/P&gt;</description>
      <pubDate>Tue, 11 Feb 2025 19:35:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Hardware/S32K144-Connection-Issue/m-p/2041992#M112</guid>
      <dc:creator>VaneB</dc:creator>
      <dc:date>2025-02-11T19:35:23Z</dc:date>
    </item>
  </channel>
</rss>

