<?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: S32K148: Getting stuck in startup when using full SRAM in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K148-Getting-stuck-in-startup-when-using-full-SRAM/m-p/2002814#M43686</link>
    <description>&lt;P&gt;Hello again Daniel,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any updates regarding this issue, now that I've provided the startup file that I'm using?&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Nils&lt;/P&gt;</description>
    <pubDate>Wed, 27 Nov 2024 10:45:46 GMT</pubDate>
    <dc:creator>nilsmalmquist</dc:creator>
    <dc:date>2024-11-27T10:45:46Z</dc:date>
    <item>
      <title>S32K148: Getting stuck in startup when using full SRAM</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-Getting-stuck-in-startup-when-using-full-SRAM/m-p/1998097#M43452</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am working on a project using the S32K148 and I’m experiencing issues when setting up the linker file of the project.&lt;/P&gt;&lt;P&gt;When setting up the linker file to utilize all the ram as described in the S32K1xx_Memory_Map sheet, and as shown in S32K148 example projects, the project gets stuck in the .LC4 section in the NXP-provided startup file startup_S32K148.S. Additionally, when stuck in the .LC4 section and I put a breakpoint on one of the lines above the .LC4 section, and resume running the project, the projects ends up stopping at the breakpoint, indicating that the project is resetting.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nilsmalmquist_0-1732116408896.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/311476iF7C8D1B445892444/image-size/medium?v=v2&amp;amp;px=400" role="button" title="nilsmalmquist_0-1732116408896.png" alt="nilsmalmquist_0-1732116408896.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;However, if I decrease the size of the SRAM by 11 KB or more, the project runs as it should without getting stuck in the startup, and it is possible to either decreasing the size of the SRAM_U, or the SRAM_L – both cases makes it work as long as the total SRAM size we are decreasing with is 11 KB or more.&lt;/P&gt;&lt;P&gt;What can be the reason behind this issue, and why does it seem like the project is resetting when I try to use the full SRAM size that should be available?&lt;/P&gt;&lt;P&gt;Any help would be very much appreciated.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Nils&lt;/P&gt;</description>
      <pubDate>Wed, 20 Nov 2024 15:31:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-Getting-stuck-in-startup-when-using-full-SRAM/m-p/1998097#M43452</guid>
      <dc:creator>nilsmalmquist</dc:creator>
      <dc:date>2024-11-20T15:31:34Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148: Getting stuck in startup when using full SRAM</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-Getting-stuck-in-startup-when-using-full-SRAM/m-p/1998879#M43492</link>
      <description>&lt;P&gt;Hi Nils,&lt;/P&gt;
&lt;P&gt;Can you share the two linker files?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 12:20:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-Getting-stuck-in-startup-when-using-full-SRAM/m-p/1998879#M43492</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-11-21T12:20:10Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148: Getting stuck in startup when using full SRAM</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-Getting-stuck-in-startup-when-using-full-SRAM/m-p/1999005#M43506</link>
      <description>&lt;P&gt;Hi Daniel,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Certainly! Here are two linker files, one is where I use the full SRAM available, and the other one is one where the size of data_2 has been decreased with 11 KB which makes the project work.&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Nils&lt;/P&gt;</description>
      <pubDate>Thu, 21 Nov 2024 15:41:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-Getting-stuck-in-startup-when-using-full-SRAM/m-p/1999005#M43506</guid>
      <dc:creator>nilsmalmquist</dc:creator>
      <dc:date>2024-11-21T15:41:13Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148: Getting stuck in startup when using full SRAM</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-Getting-stuck-in-startup-when-using-full-SRAM/m-p/2000084#M43551</link>
      <description>&lt;P&gt;Thanks Nils,&lt;/P&gt;
&lt;P&gt;I understand you use the default startup_S32K148.S provided by NXP without any modification.&lt;/P&gt;
&lt;P&gt;However, there are many of those. Can you specify the SDK version, or share the startup code as well?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 22 Nov 2024 12:33:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-Getting-stuck-in-startup-when-using-full-SRAM/m-p/2000084#M43551</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-11-22T12:33:40Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148: Getting stuck in startup when using full SRAM</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-Getting-stuck-in-startup-when-using-full-SRAM/m-p/2000816#M43608</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;I'm using SDK version 2.2.0. I'll attach the startup-file that I'm using here as well.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Nils&lt;/P&gt;</description>
      <pubDate>Mon, 25 Nov 2024 07:49:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-Getting-stuck-in-startup-when-using-full-SRAM/m-p/2000816#M43608</guid>
      <dc:creator>nilsmalmquist</dc:creator>
      <dc:date>2024-11-25T07:49:27Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148: Getting stuck in startup when using full SRAM</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-Getting-stuck-in-startup-when-using-full-SRAM/m-p/2002814#M43686</link>
      <description>&lt;P&gt;Hello again Daniel,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any updates regarding this issue, now that I've provided the startup file that I'm using?&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Nils&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 10:45:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-Getting-stuck-in-startup-when-using-full-SRAM/m-p/2002814#M43686</guid>
      <dc:creator>nilsmalmquist</dc:creator>
      <dc:date>2024-11-27T10:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148: Getting stuck in startup when using full SRAM</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-Getting-stuck-in-startup-when-using-full-SRAM/m-p/2002829#M43687</link>
      <description>&lt;P&gt;HI Nils,&lt;/P&gt;
&lt;P&gt;I have been trying to reproduce it, but without any luck.&lt;/P&gt;
&lt;P&gt;The oldest IDE I can use is S32DS 2.2 with SDK 3.0.0.&lt;/P&gt;
&lt;P&gt;When I replace the linker file and the startup code in a SDK 3.0.0 project with your files, it works as expected, I don't see any issue.&lt;/P&gt;
&lt;P&gt;Is there a reason you use such an old SDK? There have been many bugs fixed since SDK 2.0.0.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If I'm not able to reproduce it, I cannot debug it.&lt;/P&gt;
&lt;P&gt;Maybe you can send the whole project (including compiled .elf).&lt;/P&gt;
&lt;P&gt;If you don''t want to shere it here, use a support ticket.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 27 Nov 2024 11:27:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-Getting-stuck-in-startup-when-using-full-SRAM/m-p/2002829#M43687</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-11-27T11:27:21Z</dc:date>
    </item>
    <item>
      <title>Re: S32K148: Getting stuck in startup when using full SRAM</title>
      <link>https://community.nxp.com/t5/S32K/S32K148-Getting-stuck-in-startup-when-using-full-SRAM/m-p/2003590#M43717</link>
      <description>&lt;P&gt;Hi Daniel,&lt;/P&gt;&lt;P&gt;Thank you!&lt;/P&gt;&lt;P&gt;Regarding the IDE and SDK version I think there was a misunderstanding. However, I've been using&amp;nbsp;&lt;SPAN&gt;S32 Design Studio 2.2.0 with SDK package 3.0.0.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I understand you need a project. We are not able to share our entire project, however I'm currently working on a simplified project that we can share with you. I will share this beginning of next week using a support ticket.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Best,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Nils&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Nov 2024 09:29:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K148-Getting-stuck-in-startup-when-using-full-SRAM/m-p/2003590#M43717</guid>
      <dc:creator>nilsmalmquist</dc:creator>
      <dc:date>2024-11-28T09:29:21Z</dc:date>
    </item>
  </channel>
</rss>

