<?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 .elf to .bin in Model-Based Design Toolbox (MBDT)</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/elf-to-bin/m-p/1733725#M8573</link>
    <description>&lt;P&gt;Hello NXP&lt;/P&gt;&lt;P&gt;How can we generate .bin file through NXP MBDT instead of .ELF or Is there any way to convert .elf to .bin&lt;/P&gt;</description>
    <pubDate>Wed, 04 Oct 2023 12:16:37 GMT</pubDate>
    <dc:creator>saurabhkulkarni123</dc:creator>
    <dc:date>2023-10-04T12:16:37Z</dc:date>
    <item>
      <title>.elf to .bin</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/elf-to-bin/m-p/1733725#M8573</link>
      <description>&lt;P&gt;Hello NXP&lt;/P&gt;&lt;P&gt;How can we generate .bin file through NXP MBDT instead of .ELF or Is there any way to convert .elf to .bin&lt;/P&gt;</description>
      <pubDate>Wed, 04 Oct 2023 12:16:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/elf-to-bin/m-p/1733725#M8573</guid>
      <dc:creator>saurabhkulkarni123</dc:creator>
      <dc:date>2023-10-04T12:16:37Z</dc:date>
    </item>
    <item>
      <title>Re: .elf to .bin</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/elf-to-bin/m-p/1738550#M8587</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/202837"&gt;@saurabhkulkarni123&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;MBDT for S32K1 does not perform the generation of &lt;STRONG&gt;.bin&lt;/STRONG&gt; files during the process of building a model, however, for this, you could use the &lt;STRONG&gt;arm-none-eabi-objcopy.exe&lt;/STRONG&gt; utilitary which can be found in the following path &lt;EM&gt;&amp;lt;toolbox_root&amp;gt;/tools/gcc-6.3-arm32-eabi/bin&lt;/EM&gt;. &lt;BR /&gt;You could open the Windows Command Prompt at this location and type the following command:&lt;BR /&gt;&lt;EM&gt;&lt;STRONG&gt;arm-none-eabi-objcopy -O binary ${full_path_to_elf_file} ${full_path_to_binary_file}&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;Moreover, you could create a Matlab script that executes this command and run this script whenever you need to generate a .bin file based on a generated .elf. For executing such commands from the Matlab environment you could use the&amp;nbsp;&lt;STRONG&gt;system&lt;/STRONG&gt; function, please check the &lt;A href="https://www.mathworks.com/help/matlab/ref/system.html" target="_self"&gt;following link from MathWorks documentation.&lt;/A&gt;&amp;nbsp;Please let us know in case additional information is needed.&lt;/P&gt;
&lt;P&gt;Hope this helps,&lt;BR /&gt;Irina&lt;/P&gt;</description>
      <pubDate>Thu, 12 Oct 2023 10:19:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/elf-to-bin/m-p/1738550#M8587</guid>
      <dc:creator>Irina_Costachescu</dc:creator>
      <dc:date>2023-10-12T10:19:00Z</dc:date>
    </item>
  </channel>
</rss>

