<?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>Model-Based Design Toolbox (MBDT)のトピックRe: How To Change/Assign S32K344 Simulink App Code Flash Location</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-To-Change-Assign-S32K344-Simulink-App-Code-Flash-Location/m-p/1942316#M9404</link>
    <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/223992"&gt;@kodyw&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The approach that you have used to build an application with a custom linker file is correct.&lt;/P&gt;
&lt;P&gt;1. I have downloaded the attached linker file and tried to use it with a basic application on my end.&lt;/P&gt;
&lt;P&gt;I am encountering multiple issues with some undefined symbols in the &lt;SPAN&gt;&lt;STRONG&gt;startup_cm7.s&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;startup.c&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;files throughout the build process:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="georgevictor_0-1724850502146.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/295841i89EE8898E6852E10/image-size/large?v=v2&amp;amp;px=999" role="button" title="georgevictor_0-1724850502146.png" alt="georgevictor_0-1724850502146.png" /&gt;&lt;/span&gt;These symbols are defined in the linker file that we use by default in our toolbox and it is provided by RTD: (S32K3_RTD\SW32K3_RTD_*\eclipse\plugins\Platform_TS_T40D34M40I0R0\build_files\gcc\linker_flash_s32k344.ld).&lt;/P&gt;
&lt;P&gt;Considering this, you need to make sure that you either define these symbols in your custom linker file or use a custom startup code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Looking into your error:&amp;nbsp;&lt;STRONG&gt;IOC_selfModel_Config/RTD/src/Mem_43_INFLS_Ipw.c:583: undefined reference to `Mem_43_INFLS_ACEraseRomStart'&lt;/STRONG&gt;, I can see that the RTD drivers that our toolbox is based on require the &lt;STRONG&gt;Mem_43_INFLS_ACEraseRomStart &lt;/STRONG&gt;symbol that is generally declared in the linker file provided by RTD. My first thought is to replicate these symbols somewhere in your code or your custom linker file to solve this issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Victor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 28 Aug 2024 13:36:46 GMT</pubDate>
    <dc:creator>georgevictor</dc:creator>
    <dc:date>2024-08-28T13:36:46Z</dc:date>
    <item>
      <title>How To Change/Assign S32K344 Simulink App Code Flash Location</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-To-Change-Assign-S32K344-Simulink-App-Code-Flash-Location/m-p/1941508#M9397</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;We would like to add a bootloader to the S32k344 (MR-CANHUBK344) and need to change/assign S32k344 simulink app code flash location.&lt;/P&gt;&lt;P&gt;How can we set this up in simulink? Are there some configuration UI similar to screenshot below: (This is from old MPC574X MBDT.&amp;nbsp; S32k344 MBDT does not have this configuration screen.)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="1.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/295625i1C1D794ED52DEA77/image-size/large?v=v2&amp;amp;px=999" role="button" title="1.png" alt="1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;We tried to use a custom linker file from a S32DS S32k344 example project onto the simulink project. But it failed to compile.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;here is the screenshot of how to set up the custom linker file:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/295626i3883956543251D3B/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.png" alt="2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;attached are the custom linker file and Simulink error output log file.&lt;/P&gt;</description>
      <pubDate>Tue, 27 Aug 2024 19:05:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-To-Change-Assign-S32K344-Simulink-App-Code-Flash-Location/m-p/1941508#M9397</guid>
      <dc:creator>kodyw</dc:creator>
      <dc:date>2024-08-27T19:05:25Z</dc:date>
    </item>
    <item>
      <title>Re: How To Change/Assign S32K344 Simulink App Code Flash Location</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-To-Change-Assign-S32K344-Simulink-App-Code-Flash-Location/m-p/1942316#M9404</link>
      <description>&lt;P&gt;Hi,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/223992"&gt;@kodyw&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The approach that you have used to build an application with a custom linker file is correct.&lt;/P&gt;
&lt;P&gt;1. I have downloaded the attached linker file and tried to use it with a basic application on my end.&lt;/P&gt;
&lt;P&gt;I am encountering multiple issues with some undefined symbols in the &lt;SPAN&gt;&lt;STRONG&gt;startup_cm7.s&lt;/STRONG&gt;&amp;nbsp;and &lt;STRONG&gt;startup.c&amp;nbsp;&lt;/STRONG&gt;&lt;/SPAN&gt;files throughout the build process:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="georgevictor_0-1724850502146.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/295841i89EE8898E6852E10/image-size/large?v=v2&amp;amp;px=999" role="button" title="georgevictor_0-1724850502146.png" alt="georgevictor_0-1724850502146.png" /&gt;&lt;/span&gt;These symbols are defined in the linker file that we use by default in our toolbox and it is provided by RTD: (S32K3_RTD\SW32K3_RTD_*\eclipse\plugins\Platform_TS_T40D34M40I0R0\build_files\gcc\linker_flash_s32k344.ld).&lt;/P&gt;
&lt;P&gt;Considering this, you need to make sure that you either define these symbols in your custom linker file or use a custom startup code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. Looking into your error:&amp;nbsp;&lt;STRONG&gt;IOC_selfModel_Config/RTD/src/Mem_43_INFLS_Ipw.c:583: undefined reference to `Mem_43_INFLS_ACEraseRomStart'&lt;/STRONG&gt;, I can see that the RTD drivers that our toolbox is based on require the &lt;STRONG&gt;Mem_43_INFLS_ACEraseRomStart &lt;/STRONG&gt;symbol that is generally declared in the linker file provided by RTD. My first thought is to replicate these symbols somewhere in your code or your custom linker file to solve this issue.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Victor&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Aug 2024 13:36:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/How-To-Change-Assign-S32K344-Simulink-App-Code-Flash-Location/m-p/1942316#M9404</guid>
      <dc:creator>georgevictor</dc:creator>
      <dc:date>2024-08-28T13:36:46Z</dc:date>
    </item>
  </channel>
</rss>

