<?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>S32KのトピックProblems when flashing a program with IAR compiler on the s32k116 board</title>
    <link>https://community.nxp.com/t5/S32K/Problems-when-flashing-a-program-with-IAR-compiler-on-the/m-p/1992845#M43179</link>
    <description>&lt;P&gt;I am using a project for an S32K116 microcontroller with the IAR Toolchain for ARM -8.x compiler.&lt;/P&gt;&lt;P&gt;I am flashing the program with a PE Micro Multilink. The program works in debug mode, but when I disconnect the PE Micro Multilink, power off and then power on the microcontroller, the program stops working. Could you help me with this problem?&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;</description>
    <pubDate>Tue, 12 Nov 2024 12:48:50 GMT</pubDate>
    <dc:creator>David_Estevez</dc:creator>
    <dc:date>2024-11-12T12:48:50Z</dc:date>
    <item>
      <title>Problems when flashing a program with IAR compiler on the s32k116 board</title>
      <link>https://community.nxp.com/t5/S32K/Problems-when-flashing-a-program-with-IAR-compiler-on-the/m-p/1992845#M43179</link>
      <description>&lt;P&gt;I am using a project for an S32K116 microcontroller with the IAR Toolchain for ARM -8.x compiler.&lt;/P&gt;&lt;P&gt;I am flashing the program with a PE Micro Multilink. The program works in debug mode, but when I disconnect the PE Micro Multilink, power off and then power on the microcontroller, the program stops working. Could you help me with this problem?&lt;/P&gt;&lt;P&gt;Kind regards.&lt;/P&gt;</description>
      <pubDate>Tue, 12 Nov 2024 12:48:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Problems-when-flashing-a-program-with-IAR-compiler-on-the/m-p/1992845#M43179</guid>
      <dc:creator>David_Estevez</dc:creator>
      <dc:date>2024-11-12T12:48:50Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when flashing a program with IAR compiler on the s32k116 board</title>
      <link>https://community.nxp.com/t5/S32K/Problems-when-flashing-a-program-with-IAR-compiler-on-the/m-p/1993300#M43198</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
&lt;P&gt;This may be caused by the lack of START_FROM_FLASH in the assembly preprocessor. Please refer to the previous discussion: &lt;A href="https://community.nxp.com/t5/S32K/S32K188-runs-with-debugger-but-not-witout/td-p/1203150" target="_self"&gt;S32K118 runs with debugger, but not without&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Since I didn't install the IAR Toolchain for ARM -8.x compiler, I found a picture on the Internet:&amp;nbsp;Assembler -&amp;gt; Preprocessor -&amp;gt; Defined symbols-&amp;gt; &lt;STRONG&gt;START_FROM_FLASH&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="IAR Assembler Preprocessor Defined symbols START_FROM_FLASH.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310181i21E32CFCA6A86822/image-size/large?v=v2&amp;amp;px=999" role="button" title="IAR Assembler Preprocessor Defined symbols START_FROM_FLASH.png" alt="IAR Assembler Preprocessor Defined symbols START_FROM_FLASH.png" /&gt;&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>Wed, 13 Nov 2024 03:32:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Problems-when-flashing-a-program-with-IAR-compiler-on-the/m-p/1993300#M43198</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2024-11-13T03:32:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when flashing a program with IAR compiler on the s32k116 board</title>
      <link>https://community.nxp.com/t5/S32K/Problems-when-flashing-a-program-with-IAR-compiler-on-the/m-p/1993531#M43216</link>
      <description>&lt;P&gt;Hi Robin,&lt;BR /&gt;I have made that change just as you have shown.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="David_Estevez_0-1731488718946.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310237i357F21E03AAC005E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="David_Estevez_0-1731488718946.png" alt="David_Estevez_0-1731488718946.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I am still facing the same problem.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 09:05:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Problems-when-flashing-a-program-with-IAR-compiler-on-the/m-p/1993531#M43216</guid>
      <dc:creator>David_Estevez</dc:creator>
      <dc:date>2024-11-13T09:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when flashing a program with IAR compiler on the s32k116 board</title>
      <link>https://community.nxp.com/t5/S32K/Problems-when-flashing-a-program-with-IAR-compiler-on-the/m-p/1993551#M43219</link>
      <description>&lt;P&gt;Let's check where the program went wrong by &lt;STRONG&gt;Attach to Running Target&lt;/STRONG&gt;.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Attach to Running Target.png" style="width: 950px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310245i4231F0A5A9E696AB/image-size/large?v=v2&amp;amp;px=999" role="button" title="Attach to Running Target.png" alt="Attach to Running Target.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hardfault init_data_bss.png" style="width: 729px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310246i984820532428FD81/image-size/large?v=v2&amp;amp;px=999" role="button" title="hardfault init_data_bss.png" alt="hardfault init_data_bss.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;What is the value of SR0 you see?&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 09:12:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Problems-when-flashing-a-program-with-IAR-compiler-on-the/m-p/1993551#M43219</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2024-11-13T09:12:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when flashing a program with IAR compiler on the s32k116 board</title>
      <link>https://community.nxp.com/t5/S32K/Problems-when-flashing-a-program-with-IAR-compiler-on-the/m-p/1993564#M43223</link>
      <description>&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="David_Estevez_0-1731489803671.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310249i0EF22CEB0518C6BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="David_Estevez_0-1731489803671.png" alt="David_Estevez_0-1731489803671.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;This is the SR0 value.&lt;/P&gt;</description>
      <pubDate>Wed, 13 Nov 2024 09:24:49 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Problems-when-flashing-a-program-with-IAR-compiler-on-the/m-p/1993564#M43223</guid>
      <dc:creator>David_Estevez</dc:creator>
      <dc:date>2024-11-13T09:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when flashing a program with IAR compiler on the s32k116 board</title>
      <link>https://community.nxp.com/t5/S32K/Problems-when-flashing-a-program-with-IAR-compiler-on-the/m-p/1994251#M43273</link>
      <description>&lt;P&gt;It looks the same as the picture I replied to you last time. This is because the ECC error is caused by not executing the &lt;STRONG&gt;#ifdef START_FROM_FLASH&lt;/STRONG&gt; code that initializes the ECC RAM.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="hardfault init_data_bss START_FROM_FLASH .png" style="width: 399px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/310434i223A201EFFBA4C97/image-size/large?v=v2&amp;amp;px=999" role="button" title="hardfault init_data_bss START_FROM_FLASH .png" alt="hardfault init_data_bss START_FROM_FLASH .png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;I have not finished the installation of IAR. If you find through debugging that the initialization ECC RAM code is not executed, then we should check why the definition of &lt;STRONG&gt;START_FROM_FLASH&lt;/STRONG&gt; is not working.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Nov 2024 05:06:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Problems-when-flashing-a-program-with-IAR-compiler-on-the/m-p/1994251#M43273</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2024-11-14T05:06:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when flashing a program with IAR compiler on the s32k116 board</title>
      <link>https://community.nxp.com/t5/S32K/Problems-when-flashing-a-program-with-IAR-compiler-on-the/m-p/1996953#M43400</link>
      <description>&lt;P&gt;Please add &lt;STRONG&gt;START_FROM_FLASH&lt;/STRONG&gt; to IAR Assembler-&amp;gt;Preprocessor-&amp;gt;Defined symbols&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As I mentioned before, after adding &lt;STRONG&gt;START_FROM_FLASH&lt;/STRONG&gt; the S32K116EVB can work normally after power on.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="S32DS ARM2.2 to IAR 8.32 S32K116 START_FROM_FLASH.jpg" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311197iE957B8789496AD06/image-size/large?v=v2&amp;amp;px=999" role="button" title="S32DS ARM2.2 to IAR 8.32 S32K116 START_FROM_FLASH.jpg" alt="S32DS ARM2.2 to IAR 8.32 S32K116 START_FROM_FLASH.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Nov 2024 08:30:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Problems-when-flashing-a-program-with-IAR-compiler-on-the/m-p/1996953#M43400</guid>
      <dc:creator>Robin_Shen</dc:creator>
      <dc:date>2024-11-19T08:30:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problems when flashing a program with IAR compiler on the s32k116 board</title>
      <link>https://community.nxp.com/t5/S32K/Problems-when-flashing-a-program-with-IAR-compiler-on-the/m-p/1997872#M43437</link>
      <description>Thank you for the solution!</description>
      <pubDate>Wed, 20 Nov 2024 08:46:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/Problems-when-flashing-a-program-with-IAR-compiler-on-the/m-p/1997872#M43437</guid>
      <dc:creator>David_Estevez</dc:creator>
      <dc:date>2024-11-20T08:46:47Z</dc:date>
    </item>
  </channel>
</rss>

