<?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: S32K322 memory overflow in S32K</title>
    <link>https://community.nxp.com/t5/S32K/S32K322-memory-overflow/m-p/2149979#M51741</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/253614"&gt;@user01&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you open the core register view and check the values in R2 and R3.&lt;/P&gt;
&lt;P&gt;ldr r2, =__INT_SRAM_START (int_sram_c0)&lt;BR /&gt;ldr r3, =__INT_SRAM_END (ram_end_c0)&lt;/P&gt;
&lt;P&gt;R2 is the start address of the SRAM region.&lt;/P&gt;
&lt;P&gt;The loop is incrementing R2 by 8 bytes each iteration until R2 is equal to R3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
    <pubDate>Mon, 11 Aug 2025 09:51:03 GMT</pubDate>
    <dc:creator>danielmartynek</dc:creator>
    <dc:date>2025-08-11T09:51:03Z</dc:date>
    <item>
      <title>S32K322 memory overflow</title>
      <link>https://community.nxp.com/t5/S32K/S32K322-memory-overflow/m-p/2149690#M51719</link>
      <description>&lt;P&gt;Hello:&lt;/P&gt;&lt;P&gt;I have encountered some issues while using the S32K322 chip recently. The specific problems are as follows:&lt;/P&gt;&lt;P&gt;(Development Platform: S32DS. 3.6.2&amp;nbsp; &amp;nbsp; &amp;nbsp; Chip model: S32K322)&lt;/P&gt;&lt;P&gt;The program reported an error during compilation:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user01_0-1754883795552.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/351697iA809584EAC9C21F8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_0-1754883795552.png" alt="user01_0-1754883795552.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;So I modified the size of int_stram_c0 in Project_Settings -&amp;gt;Linker_Files -&amp;gt;linker_flash_c0us32k322.ld&lt;BR /&gt;Before modification：&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user01_2-1754884169969.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/351705iF8D5AFDF9B209D2B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_2-1754884169969.png" alt="user01_2-1754884169969.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;After modification：&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user01_3-1754884334248.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/351708iECF37238D34073DD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_3-1754884334248.png" alt="user01_3-1754884334248.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;After recompiling, there are no errors reported：&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user01_4-1754884396085.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/351709i6DD25E2DEBB003AC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_4-1754884396085.png" alt="user01_4-1754884396085.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="user01_5-1754884410688.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/351710iD1281BAA0419AA6D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="user01_5-1754884410688.png" alt="user01_5-1754884410688.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;P&gt;&lt;SPAN&gt;But when I was debugging, the program got stuck in SRAM_LOOP in Project_Settings -&amp;gt;Startup_Cde -&amp;gt;startup_cm7. s:&lt;BR /&gt;SRAM_LOOP:&lt;BR /&gt;strd r0, r1, [r2], #8&lt;BR /&gt;cmp r2, r3&lt;BR /&gt;blt SRAM_LOOP&lt;BR /&gt;SRAM_LOOP_END:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;This problem has been bothering me for a long time, but I have not been able to solve it. Now I need your help to provide an effective solution. Thank you very much!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 04:05:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K322-memory-overflow/m-p/2149690#M51719</guid>
      <dc:creator>user01</dc:creator>
      <dc:date>2025-08-11T04:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: S32K322 memory overflow</title>
      <link>https://community.nxp.com/t5/S32K/S32K322-memory-overflow/m-p/2149979#M51741</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/253614"&gt;@user01&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;Can you open the core register view and check the values in R2 and R3.&lt;/P&gt;
&lt;P&gt;ldr r2, =__INT_SRAM_START (int_sram_c0)&lt;BR /&gt;ldr r3, =__INT_SRAM_END (ram_end_c0)&lt;/P&gt;
&lt;P&gt;R2 is the start address of the SRAM region.&lt;/P&gt;
&lt;P&gt;The loop is incrementing R2 by 8 bytes each iteration until R2 is equal to R3.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Mon, 11 Aug 2025 09:51:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/S32K322-memory-overflow/m-p/2149979#M51741</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2025-08-11T09:51:03Z</dc:date>
    </item>
  </channel>
</rss>

