<?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 Help with finding generated code size in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Help-with-finding-generated-code-size/m-p/1552856#M7835</link>
    <description>&lt;P&gt;Hi all, due to the shortage of chips in the world we are having to look at alternatives&amp;nbsp;for our design. I use S32K148 BGA and currently I can only get S32K144 BGA. The information I need for me to be able to order the chips is how do I find out if my application code would fit? I cant see anywhere where the code size is displayed when you build the model. Obviously the 148 has 4x the program memory size o the 144 so I need to make sure that my application code would actually be able to be flashed. I would be using a bootloader as well as the application code.&lt;/P&gt;&lt;P&gt;Thank you, I would really appreciate quick help with this.&lt;/P&gt;</description>
    <pubDate>Sun, 13 Nov 2022 21:50:40 GMT</pubDate>
    <dc:creator>Poley</dc:creator>
    <dc:date>2022-11-13T21:50:40Z</dc:date>
    <item>
      <title>Help with finding generated code size</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Help-with-finding-generated-code-size/m-p/1552856#M7835</link>
      <description>&lt;P&gt;Hi all, due to the shortage of chips in the world we are having to look at alternatives&amp;nbsp;for our design. I use S32K148 BGA and currently I can only get S32K144 BGA. The information I need for me to be able to order the chips is how do I find out if my application code would fit? I cant see anywhere where the code size is displayed when you build the model. Obviously the 148 has 4x the program memory size o the 144 so I need to make sure that my application code would actually be able to be flashed. I would be using a bootloader as well as the application code.&lt;/P&gt;&lt;P&gt;Thank you, I would really appreciate quick help with this.&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2022 21:50:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Help-with-finding-generated-code-size/m-p/1552856#M7835</guid>
      <dc:creator>Poley</dc:creator>
      <dc:date>2022-11-13T21:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: Help with finding generated code size</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Help-with-finding-generated-code-size/m-p/1552862#M7836</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/183842"&gt;@Poley&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For the code size report, we have added such a feature in the MBDT for S32K1xx 4.3.0, so now in the diagnostic viewer, you shall be able to see the code size.&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_1-1668380766605.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/200118i9471A12D06A243E5/image-size/large?v=v2&amp;amp;px=999" role="button" title="mariuslucianand_1-1668380766605.png" alt="mariuslucianand_1-1668380766605.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;If you are using an older version of our toolbox, you could type the following command in MATLAB, by setting the current folder inside your generated *_mbd_rtw folder, and replacing the name of the .elf file with the one of your model.&lt;/P&gt;
&lt;P&gt;system([fullfile(mbd_find_s32k_root(), 'tools\gcc-6.3-arm32-eabi/bin/arm-none-eabi-size'), ' --format=berkeley gpio_s32k144.elf'])&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mariuslucianand_2-1668380813746.png" style="width: 999px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/200119i498278EB3B8E8284/image-size/large?v=v2&amp;amp;px=999" role="button" title="mariuslucianand_2-1668380813746.png" alt="mariuslucianand_2-1668380813746.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;/P&gt;
&lt;P&gt;Marius&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Nov 2022 23:07:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/Help-with-finding-generated-code-size/m-p/1552862#M7836</guid>
      <dc:creator>mariuslucianand</dc:creator>
      <dc:date>2022-11-13T23:07:56Z</dc:date>
    </item>
  </channel>
</rss>

