<?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)中的主题 SRAM-DTC usage anormally huge when I use i.MXRT106x example generated code on evaluation kit ?</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SRAM-DTC-usage-anormally-huge-when-I-use-i-MXRT106x-example/m-p/1189055#M5409</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When I build the NXP GPIO Polling example from Simulink, I am surprised by the SRAM-DTC used percentage in the final report :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="build_simulink_exemplePolling.JPG" style="width: 378px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131008iC25678020408C8B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="build_simulink_exemplePolling.JPG" alt="build_simulink_exemplePolling.JPG" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;build_simulink_exemplePolling.JPG&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, half of the SRAM_DTC is used for this example app. It's huge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On a second hand, we have developped a small similar application in C using the MCUxpresso IDE (without Simulink and genrated code features).&lt;/P&gt;&lt;P&gt;For information, our app is very simple and it just flashes a LED through a GPIO pin.&lt;/P&gt;&lt;P&gt;When we build this application from the IDE, here is the mem report :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="build_ide.JPG" style="width: 402px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131009i704D9951F685B055/image-size/large?v=v2&amp;amp;px=999" role="button" title="build_ide.JPG" alt="build_ide.JPG" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;build_ide.JPG&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's better and more realistic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, my question is : why mem usage is huge when I use NXP model-based example ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;</description>
    <pubDate>Wed, 25 Nov 2020 14:59:10 GMT</pubDate>
    <dc:creator>scocmr</dc:creator>
    <dc:date>2020-11-25T14:59:10Z</dc:date>
    <item>
      <title>SRAM-DTC usage anormally huge when I use i.MXRT106x example generated code on evaluation kit ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SRAM-DTC-usage-anormally-huge-when-I-use-i-MXRT106x-example/m-p/1189055#M5409</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;When I build the NXP GPIO Polling example from Simulink, I am surprised by the SRAM-DTC used percentage in the final report :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="build_simulink_exemplePolling.JPG" style="width: 378px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131008iC25678020408C8B6/image-size/large?v=v2&amp;amp;px=999" role="button" title="build_simulink_exemplePolling.JPG" alt="build_simulink_exemplePolling.JPG" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;build_simulink_exemplePolling.JPG&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, half of the SRAM_DTC is used for this example app. It's huge.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;On a second hand, we have developped a small similar application in C using the MCUxpresso IDE (without Simulink and genrated code features).&lt;/P&gt;&lt;P&gt;For information, our app is very simple and it just flashes a LED through a GPIO pin.&lt;/P&gt;&lt;P&gt;When we build this application from the IDE, here is the mem report :&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="build_ide.JPG" style="width: 402px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131009i704D9951F685B055/image-size/large?v=v2&amp;amp;px=999" role="button" title="build_ide.JPG" alt="build_ide.JPG" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;build_ide.JPG&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It's better and more realistic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then, my question is : why mem usage is huge when I use NXP model-based example ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 14:59:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SRAM-DTC-usage-anormally-huge-when-I-use-i-MXRT106x-example/m-p/1189055#M5409</guid>
      <dc:creator>scocmr</dc:creator>
      <dc:date>2020-11-25T14:59:10Z</dc:date>
    </item>
    <item>
      <title>Re: SRAM-DTC usage anormally huge when I use i.MXRT106x example generated code on evaluation kit ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SRAM-DTC-usage-anormally-huge-when-I-use-i-MXRT106x-example/m-p/1189254#M5413</link>
      <description>&lt;P&gt;Hi Sebastian,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The memory allocation is driven by the linker files settings. It looks like the linker files used in the toolbox are a little outdated. Please try with the files in the zip file attached&amp;nbsp; - for MIMXRT1062 (IMXRT-1060 board) and for MIMXRT1064 (IMXRT-1064 board). Copy the linker files in the next locations:&lt;/P&gt;
&lt;P&gt;- first in &lt;STRONG&gt;[Toolbox Installation Folder]\mbdtbx_imxrt\linker_files\default\flash&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;- and if you already have the &amp;lt;model_name&amp;gt;Config folder or your model, replace the appropriate linker files in&amp;nbsp;&amp;nbsp;&amp;lt;model_name&amp;gt;Config/linker_files/flash.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BR,&lt;/P&gt;
&lt;P&gt;Alexandra&lt;/P&gt;</description>
      <pubDate>Wed, 25 Nov 2020 19:27:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SRAM-DTC-usage-anormally-huge-when-I-use-i-MXRT106x-example/m-p/1189254#M5413</guid>
      <dc:creator>nxa11767</dc:creator>
      <dc:date>2020-11-25T19:27:47Z</dc:date>
    </item>
    <item>
      <title>Re: SRAM-DTC usage anormally huge when I use i.MXRT106x example generated code on evaluation kit ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SRAM-DTC-usage-anormally-huge-when-I-use-i-MXRT106x-example/m-p/1189519#M5420</link>
      <description>&lt;P&gt;Hi Alexandra,&lt;/P&gt;&lt;P&gt;I'm surprised that the linker files of my NXP toolbox would be outdated because I have installed the latest available toolbox from the NXP support site.&lt;/P&gt;&lt;P&gt;May be, a new version is in preparation with up-to-date linker files and will be proposed very soon&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Anyway, I'll try again with your files as soon as I get back to my office (home working until the end of this week).&lt;/P&gt;&lt;P&gt;I'll keep you informed.&lt;/P&gt;&lt;P&gt;Thank you very much for your support.&lt;/P&gt;&lt;P&gt;Have a nice day.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;BR,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;</description>
      <pubDate>Thu, 26 Nov 2020 07:44:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SRAM-DTC-usage-anormally-huge-when-I-use-i-MXRT106x-example/m-p/1189519#M5420</guid>
      <dc:creator>scocmr</dc:creator>
      <dc:date>2020-11-26T07:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: SRAM-DTC usage anormally huge when I use i.MXRT106x example generated code on evaluation kit ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SRAM-DTC-usage-anormally-huge-when-I-use-i-MXRT106x-example/m-p/1191419#M5445</link>
      <description>&lt;P&gt;Hi Alexandra,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Good news, the patched linker files work as expected.&lt;/P&gt;&lt;P&gt;In order to compare, here are the generation reports (on the left without the patch and on the right with it) :&lt;/P&gt;&lt;TABLE border="1" width="100%"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD width="50%"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="build_simulink.JPG" style="width: 415px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131420iF53A1A4A31B55F86/image-size/large?v=v2&amp;amp;px=999" role="button" title="build_simulink.JPG" alt="build_simulink.JPG" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;build_simulink.JPG&lt;/span&gt;&lt;/span&gt;&lt;/TD&gt;&lt;TD width="50%"&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="After_linker_patch.JPG" style="width: 406px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/131421i797BB562BEBC854E/image-size/large?v=v2&amp;amp;px=999" role="button" title="After_linker_patch.JPG" alt="After_linker_patch.JPG" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;After_linker_patch.JPG&lt;/span&gt;&lt;/span&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As you can see, with your patch, the SRAM_DTC uses only 6.78% for our test application.&lt;/P&gt;&lt;P&gt;It seems correct now &lt;LI-EMOJI id="lia_slightly-smiling-face" title=":slightly_smiling_face:"&gt;&lt;/LI-EMOJI&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A last question, do you think this patch will be included in a NXP Toolbox release soon ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you very much for your help !&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 01 Dec 2020 08:35:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SRAM-DTC-usage-anormally-huge-when-I-use-i-MXRT106x-example/m-p/1191419#M5445</guid>
      <dc:creator>scocmr</dc:creator>
      <dc:date>2020-12-01T08:35:44Z</dc:date>
    </item>
    <item>
      <title>Re: SRAM-DTC usage anormally huge when I use i.MXRT106x example generated code on evaluation kit ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SRAM-DTC-usage-anormally-huge-when-I-use-i-MXRT106x-example/m-p/1193833#M5459</link>
      <description>&lt;P&gt;Hi Sebastian,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We are planning a new IMXRT release somewhere at the beginning of Q2 next year. Is this ok with you?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Alexandra&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 09:15:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SRAM-DTC-usage-anormally-huge-when-I-use-i-MXRT106x-example/m-p/1193833#M5459</guid>
      <dc:creator>nxa11767</dc:creator>
      <dc:date>2020-12-04T09:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: SRAM-DTC usage anormally huge when I use i.MXRT106x example generated code on evaluation kit ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SRAM-DTC-usage-anormally-huge-when-I-use-i-MXRT106x-example/m-p/1193862#M5461</link>
      <description>&lt;P&gt;Hi Alexandra,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;No problem, it's OK for us.&lt;/P&gt;&lt;P&gt;Thank you for this information.&lt;/P&gt;&lt;P&gt;Have a nice day.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Sebastian&lt;/P&gt;</description>
      <pubDate>Fri, 04 Dec 2020 10:01:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SRAM-DTC-usage-anormally-huge-when-I-use-i-MXRT106x-example/m-p/1193862#M5461</guid>
      <dc:creator>scocmr</dc:creator>
      <dc:date>2020-12-04T10:01:29Z</dc:date>
    </item>
    <item>
      <title>Re: SRAM-DTC usage anormally huge when I use i.MXRT106x example generated code on evaluation kit ?</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SRAM-DTC-usage-anormally-huge-when-I-use-i-MXRT106x-example/m-p/1195432#M5467</link>
      <description>&lt;P&gt;&lt;U&gt;&lt;FONT color="#333333"&gt;A debt of gratitude is in order for tending to this subject. I was searching for the data with respect to the equivalent &lt;/FONT&gt;&lt;A href="https://www.yourtexasbenefits.biz/" target="_self"&gt;&lt;FONT color="#333333"&gt;yourtexasbenefits&lt;/FONT&gt;&lt;/A&gt;&lt;FONT color="#333333"&gt;.&lt;/FONT&gt;&lt;/U&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Dec 2020 10:41:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/SRAM-DTC-usage-anormally-huge-when-I-use-i-MXRT106x-example/m-p/1195432#M5467</guid>
      <dc:creator>Lambert1</dc:creator>
      <dc:date>2020-12-08T10:41:07Z</dc:date>
    </item>
  </channel>
</rss>

