<?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のトピックRe: s32k312 boot failed after modify memory map in  linked script</title>
    <link>https://community.nxp.com/t5/S32K/s32k312-boot-failed-after-modify-memory-map-in-linked-script/m-p/1910172#M37772</link>
    <description>i found it maybe a MPU issue. MPU init function not updated with the linked file. so it got a permission problem.</description>
    <pubDate>Wed, 17 Jul 2024 02:03:34 GMT</pubDate>
    <dc:creator>victory</dc:creator>
    <dc:date>2024-07-17T02:03:34Z</dc:date>
    <item>
      <title>s32k312 boot failed after modify memory map in  linked script</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-boot-failed-after-modify-memory-map-in-linked-script/m-p/1908314#M37693</link>
      <description>&lt;P&gt;Hi Nxp,&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;i need to modify ld file since the application ram usage exceeded. i mainly expand the&amp;nbsp;int_sram size as followed. then the app failed to init and debug is abnormal , stucked, see attached image. could you give some advice what's wrong i've made.&lt;/P&gt;&lt;P&gt;i only change the MEMORY section&amp;nbsp; as below:&lt;/P&gt;&lt;P&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;int_pflash : ORIGIN = 0x00400000, LENGTH = 0x001D4000 /* 2048KB - 176KB (sBAF + HSE)*/&lt;BR /&gt;int_dflash : ORIGIN = 0x10000000, LENGTH = 0x00020000 /* 128KB */&lt;BR /&gt;int_itcm : ORIGIN = 0x00000000, LENGTH = 0x00008000 /* 32KB */&lt;BR /&gt;int_dtcm : ORIGIN = 0x20000000, LENGTH = 0x0000F000 /* 60KB */&lt;BR /&gt;int_stack_dtcm : ORIGIN = 0x2000F000, LENGTH = 0x00001000 /* 4KB */&lt;BR /&gt;int_sram : ORIGIN = 0x20400000, LENGTH = 0x00007F00 /* 32KB , needs to include int_sram_fls_rsv*/&lt;BR /&gt;int_sram_fls_rsv : ORIGIN = 0x20407F00, LENGTH = 0x00000100&lt;BR /&gt;int_sram_no_cacheable : ORIGIN = 0x20408000, LENGTH = 0x00007F00 /* 32KB , needs to include int_sram_results */&lt;BR /&gt;int_sram_results : ORIGIN = 0x2040FF00, LENGTH = 0x00000100&lt;BR /&gt;int_sram_shareable : ORIGIN = 0x20410000, LENGTH = 0x00008000 /* 32KB */&lt;BR /&gt;ram_rsvd2 : ORIGIN = 0x20418000, LENGTH = 0 /* End of SRAM */&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;-- my new settings-------&lt;BR /&gt;MEMORY&lt;BR /&gt;{&lt;BR /&gt;int_pflash : ORIGIN = 0x00400000, LENGTH = 0x001D4000 /* 2048KB - 176KB (sBAF + HSE)*/&lt;BR /&gt;int_dflash : ORIGIN = 0x10000000, LENGTH = 0x00020000 /* 128KB */&lt;BR /&gt;int_itcm : ORIGIN = 0x00000000, LENGTH = 0x00008000 /* 32KB */&lt;BR /&gt;int_dtcm : ORIGIN = 0x20000000, LENGTH = 0x0000F000 /* 60KB */&lt;BR /&gt;int_stack_dtcm : ORIGIN = 0x2000F000, LENGTH = 0x00001000 /* 4KB */&lt;BR /&gt;int_sram : ORIGIN = 0x20400000, LENGTH = 0x00011000 /* 32KB , needs to include int_sram_fls_rsv*/&lt;BR /&gt;int_sram_fls_rsv : ORIGIN = 0x20411000, LENGTH = 0x00000100&lt;BR /&gt;int_sram_no_cacheable : ORIGIN = 0x20411100, LENGTH = 0x00006A00 /* 32KB , needs to include int_sram_results */&lt;BR /&gt;int_sram_results : ORIGIN = 0x20417B00, LENGTH = 0x00000100&lt;BR /&gt;int_sram_shareable : ORIGIN = 0x20417C00, LENGTH = 0x00000400 /* 32KB */&lt;BR /&gt;ram_rsvd2 : ORIGIN = 0x20418000, LENGTH = 0 /* End of SRAM */&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2024 05:31:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-boot-failed-after-modify-memory-map-in-linked-script/m-p/1908314#M37693</guid>
      <dc:creator>victory</dc:creator>
      <dc:date>2024-07-15T05:31:40Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 boot failed after modify memory map in  linked script</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-boot-failed-after-modify-memory-map-in-linked-script/m-p/1909789#M37764</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234378"&gt;@victory&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;I just tested your configuration in an RTD 4.0.0 P24 project, but it works without any issues.&lt;/P&gt;
&lt;P&gt;Can you share a test project here that can replicate it?&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>Tue, 16 Jul 2024 14:08:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-boot-failed-after-modify-memory-map-in-linked-script/m-p/1909789#M37764</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-07-16T14:08:31Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 boot failed after modify memory map in  linked script</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-boot-failed-after-modify-memory-map-in-linked-script/m-p/1910172#M37772</link>
      <description>i found it maybe a MPU issue. MPU init function not updated with the linked file. so it got a permission problem.</description>
      <pubDate>Wed, 17 Jul 2024 02:03:34 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-boot-failed-after-modify-memory-map-in-linked-script/m-p/1910172#M37772</guid>
      <dc:creator>victory</dc:creator>
      <dc:date>2024-07-17T02:03:34Z</dc:date>
    </item>
    <item>
      <title>Re: s32k312 boot failed after modify memory map in  linked script</title>
      <link>https://community.nxp.com/t5/S32K/s32k312-boot-failed-after-modify-memory-map-in-linked-script/m-p/1910347#M37777</link>
      <description>&lt;P&gt;Hi &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/234378"&gt;@victory&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;In that case, you should see a MemManage fault exception in the Configurable Fault Status Register (CSFR).&lt;/P&gt;
&lt;P&gt;The base address of any MPU region must be aligned to the size of the region, it was discussed here:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.nxp.com/t5/S32K/S32K3xx-RTD-default-MPU-implementation-causes-problems-seems/td-p/1871986" target="_blank"&gt;https://community.nxp.com/t5/S32K/S32K3xx-RTD-default-MPU-implementation-causes-problems-seems/td-p/1871986&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR, Daniel&lt;/P&gt;</description>
      <pubDate>Wed, 17 Jul 2024 07:19:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32K/s32k312-boot-failed-after-modify-memory-map-in-linked-script/m-p/1910347#M37777</guid>
      <dc:creator>danielmartynek</dc:creator>
      <dc:date>2024-07-17T07:19:01Z</dc:date>
    </item>
  </channel>
</rss>

