<?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: S32DS.ARM.2.2 -The same code without any altering works as Debug Build, but hangs as Release Bui in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-ARM-2-2-The-same-code-without-any-altering-works-as-Debug/m-p/1690586#M10609</link>
    <description>&lt;P&gt;Hi&amp;nbsp;Mehul,&lt;/P&gt;&lt;P&gt;thank you for your answer.&lt;/P&gt;&lt;P&gt;I have checked Optimization Level. It was already set to None by default. So it didn't change anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still cannot find a way to set Building of the Project as Debug to Flash instead of Debug to RAM and when I recompile good working Debug Build into&amp;nbsp; Release Build, the program &amp;nbsp;just freezes after flashing the .elf file to MCU.&lt;/P&gt;</description>
    <pubDate>Fri, 21 Jul 2023 17:43:31 GMT</pubDate>
    <dc:creator>Chad72</dc:creator>
    <dc:date>2023-07-21T17:43:31Z</dc:date>
    <item>
      <title>S32DS.ARM.2.2 -The same code without any altering works as Debug Build, but hangs as Release Build</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-ARM-2-2-The-same-code-without-any-altering-works-as-Debug/m-p/1690467#M10606</link>
      <description>&lt;P&gt;Hi, I´m new in&amp;nbsp;S32DS and working with&amp;nbsp;S9KEAZN16AMLH, and I see a lot of things in this IDE that are much more complex than they should to be...&lt;/P&gt;&lt;P&gt;The first Problem - I cannot debug in Flash - I can see in Project - Bulid Configurations - Set Active - only two options: Debug and Release. No&amp;nbsp;Debug_RAM option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;But&amp;nbsp;Debug_RAM is obviously set by default as&amp;nbsp;Debug Build. The code is loaded into SRAM and after power OFF/ON cycle is naturally gone. And I cannot find a way to switch Debug to Flash possibility in this S32DS IDE.&lt;/P&gt;&lt;P&gt;The second problem- when I trying to build the same code - which works perfectly during Debugging (in my case it is possible only as "Debug_RAM") - as Release - just by swithching by Hammer Icon from Debug to Release - I get Release &amp;nbsp;Build.&lt;/P&gt;&lt;P&gt;When I then do "Run - Flash from File" selecting the .elf file from Release Build - this time I can start device&amp;nbsp; after&amp;nbsp; power OFF/ON cycle (LEDs go on), but further nothing happens - LEDs should be blinking, but they do not - MCU hangs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is very strange and has to do indeed with the IDE – because absolutely the same code runs perfectly as Debug, but being built as Release – stuck right away.&lt;/P&gt;&lt;P&gt;Could someone help me with theses S32DS Problems?&lt;/P&gt;&lt;P&gt;P.S. I have de-installed and re-installed S32DS &amp;nbsp;IDE a couple of times, but nothing changes and nothing helps.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 14:22:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-ARM-2-2-The-same-code-without-any-altering-works-as-Debug/m-p/1690467#M10606</guid>
      <dc:creator>Chad72</dc:creator>
      <dc:date>2023-07-21T14:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS.ARM.2.2 -The same code without any altering works as Debug Build, but hangs as Release Bui</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-ARM-2-2-The-same-code-without-any-altering-works-as-Debug/m-p/1690571#M10608</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/220435"&gt;@Chad72&lt;/a&gt;&amp;nbsp;,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Please can you check the the optimization level. If it is set to Optimize most -O3 level, that may cause the problem.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can change the optimization by&lt;/P&gt;
&lt;P&gt;Select the project name, then Right click -&amp;gt; build - &amp;gt; Properties -&amp;gt; C/C++ Build -&amp;gt; Settings -&amp;gt; Standard S32DS C Compiler -&amp;gt; Optimization -&amp;gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Then select&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mehul_Patel_NXP_0-1689959179229.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233028i6C8FBED157E2F014/image-size/large?v=v2&amp;amp;px=999" role="button" title="Mehul_Patel_NXP_0-1689959179229.png" alt="Mehul_Patel_NXP_0-1689959179229.png" /&gt;&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;And change it to none&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Mehul_Patel_NXP_1-1689959241582.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/233029i7AF0B3F6FDCDD5DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="Mehul_Patel_NXP_1-1689959241582.png" alt="Mehul_Patel_NXP_1-1689959241582.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;And, check if it works.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-Mehul Patel&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 17:07:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-ARM-2-2-The-same-code-without-any-altering-works-as-Debug/m-p/1690571#M10608</guid>
      <dc:creator>Mehul_Patel_NXP</dc:creator>
      <dc:date>2023-07-21T17:07:58Z</dc:date>
    </item>
    <item>
      <title>Re: S32DS.ARM.2.2 -The same code without any altering works as Debug Build, but hangs as Release Bui</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/S32DS-ARM-2-2-The-same-code-without-any-altering-works-as-Debug/m-p/1690586#M10609</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Mehul,&lt;/P&gt;&lt;P&gt;thank you for your answer.&lt;/P&gt;&lt;P&gt;I have checked Optimization Level. It was already set to None by default. So it didn't change anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I still cannot find a way to set Building of the Project as Debug to Flash instead of Debug to RAM and when I recompile good working Debug Build into&amp;nbsp; Release Build, the program &amp;nbsp;just freezes after flashing the .elf file to MCU.&lt;/P&gt;</description>
      <pubDate>Fri, 21 Jul 2023 17:43:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/S32DS-ARM-2-2-The-same-code-without-any-altering-works-as-Debug/m-p/1690586#M10609</guid>
      <dc:creator>Chad72</dc:creator>
      <dc:date>2023-07-21T17:43:31Z</dc:date>
    </item>
  </channel>
</rss>

