<?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: iMXRT: HEX Generation from MBDT</title>
    <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/iMXRT-HEX-Generation-from-MBDT/m-p/1482642#M7450</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/189467"&gt;@Sam_ECU&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only generated executable formats directly from Simulink are &lt;STRONG&gt;.bin&lt;/STRONG&gt; and &lt;STRONG&gt;.axf,&amp;nbsp;&lt;/STRONG&gt;but if you want to generate an &lt;STRONG&gt;.hex&lt;/STRONG&gt; file, you could use the &lt;STRONG&gt;objcopy&lt;/STRONG&gt; GNU tool. After, the .axf file is generated, you could run the following command in a Command Window Prompt:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;arm-none-eabi-objcopy -O ihex "input_file.axf" "output_file.hex"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefancinipeanu_0-1656581440588.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185153iF7029A7452B70F7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefancinipeanu_0-1656581440588.png" alt="stefancinipeanu_0-1656581440588.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that you have go in the folder where your axf file is located and give the full path of arm-none-eabi-objcopy.exe tool. Also, the objcopy GNU tool is delivered with the MBDT toolbox. You can find it in the ../src/tools/BuildTools/bin folder from the where the toolbox is installed.&lt;/P&gt;
&lt;P&gt;Hope this will help you.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Stefan.&lt;/P&gt;</description>
    <pubDate>Thu, 30 Jun 2022 09:30:54 GMT</pubDate>
    <dc:creator>stefancinipeanu</dc:creator>
    <dc:date>2022-06-30T09:30:54Z</dc:date>
    <item>
      <title>iMXRT: HEX Generation from MBDT</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/iMXRT-HEX-Generation-from-MBDT/m-p/1480128#M7441</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177536"&gt;@stefancinipeanu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to generate HEX files directly from MBDT for iMXRT?&amp;nbsp; If so, how?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sam&lt;/P&gt;</description>
      <pubDate>Sun, 26 Jun 2022 18:41:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/iMXRT-HEX-Generation-from-MBDT/m-p/1480128#M7441</guid>
      <dc:creator>Sam_ECU</dc:creator>
      <dc:date>2022-06-26T18:41:27Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT: HEX Generation from MBDT</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/iMXRT-HEX-Generation-from-MBDT/m-p/1482642#M7450</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/189467"&gt;@Sam_ECU&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The only generated executable formats directly from Simulink are &lt;STRONG&gt;.bin&lt;/STRONG&gt; and &lt;STRONG&gt;.axf,&amp;nbsp;&lt;/STRONG&gt;but if you want to generate an &lt;STRONG&gt;.hex&lt;/STRONG&gt; file, you could use the &lt;STRONG&gt;objcopy&lt;/STRONG&gt; GNU tool. After, the .axf file is generated, you could run the following command in a Command Window Prompt:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;arm-none-eabi-objcopy -O ihex "input_file.axf" "output_file.hex"&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="stefancinipeanu_0-1656581440588.png" style="width: 400px;"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/185153iF7029A7452B70F7E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="stefancinipeanu_0-1656581440588.png" alt="stefancinipeanu_0-1656581440588.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Note that you have go in the folder where your axf file is located and give the full path of arm-none-eabi-objcopy.exe tool. Also, the objcopy GNU tool is delivered with the MBDT toolbox. You can find it in the ../src/tools/BuildTools/bin folder from the where the toolbox is installed.&lt;/P&gt;
&lt;P&gt;Hope this will help you.&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Stefan.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Jun 2022 09:30:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/iMXRT-HEX-Generation-from-MBDT/m-p/1482642#M7450</guid>
      <dc:creator>stefancinipeanu</dc:creator>
      <dc:date>2022-06-30T09:30:54Z</dc:date>
    </item>
    <item>
      <title>Re: iMXRT: HEX Generation from MBDT</title>
      <link>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/iMXRT-HEX-Generation-from-MBDT/m-p/1483277#M7453</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.nxp.com/t5/user/viewprofilepage/user-id/177536"&gt;@stefancinipeanu&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Works like a charm.&lt;/P&gt;&lt;P&gt;Cheers.&lt;/P&gt;</description>
      <pubDate>Fri, 01 Jul 2022 07:15:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Model-Based-Design-Toolbox-MBDT/iMXRT-HEX-Generation-from-MBDT/m-p/1483277#M7453</guid>
      <dc:creator>Sam_ECU</dc:creator>
      <dc:date>2022-07-01T07:15:10Z</dc:date>
    </item>
  </channel>
</rss>

