<?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 Re: How to convert *.elf to *.hex file in S32 Design Studio</title>
    <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-convert-elf-to-hex-file/m-p/639313#M935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to use the S32K144 chip. When I tried to flash the "bin" file to S32K144, it failed.&lt;/P&gt;&lt;P&gt;Doesn't S32K144 support "bin" type? "elf" and "hex" work well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28274i4E94FE6B638D2AA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Seunghyun Um&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 09 Nov 2017 04:27:02 GMT</pubDate>
    <dc:creator>seunghyunum</dc:creator>
    <dc:date>2017-11-09T04:27:02Z</dc:date>
    <item>
      <title>How to convert *.elf to *.hex file</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-convert-elf-to-hex-file/m-p/639307#M929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;I'm planning to work on a bootloader project for my MPC5748G. *.elf file can't not be parsed easily, so I want to convert it to *.hex file. Is there any build-in tool in S32 that can do this job?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 02:22:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-convert-elf-to-hex-file/m-p/639307#M929</guid>
      <dc:creator>yuehedeng</dc:creator>
      <dc:date>2016-10-17T02:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert *.elf to *.hex file</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-convert-elf-to-hex-file/m-p/639308#M930</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm using the open source SRecord (&lt;A class="link-titled" href="http://srecord.sourceforge.net/" title="http://srecord.sourceforge.net/"&gt;SRecord 1.64&lt;/A&gt;) utility for this and all kind of advanced convertsion and manipulation. It can be called from Eclipse/S32 Design Studio as part of the 'post build step'.&lt;/P&gt;&lt;P&gt;It supports both 32bit and 16bit Intel .hex files:&lt;/P&gt;&lt;TABLE border="0" cellpadding="0" cellspacing="0" frame="void" rules="none" width="100%"&gt;&lt;TBODY&gt;&lt;TR align="left" valign="top"&gt;&lt;TD width="23%"&gt;&lt;/TD&gt;&lt;TD width="9%"&gt;&lt;P&gt;&lt;STRONG&gt;−Intel&lt;/STRONG&gt;&lt;/P&gt;&lt;/TD&gt;&lt;TD width="3%"&gt;&lt;/TD&gt;&lt;TD width="65%"&gt;&lt;P&gt;An Intel hex format file will be written. (See &lt;EM&gt;srec_intel&lt;/EM&gt;(5) for a description of this file format.) The default is to emit “i32hex” 32-bit linear addressing; if you want “i16hex” 20-bit extended segment addressing use the &lt;STRONG&gt;−address-length=3&lt;/STRONG&gt; option, if you want “i8hex” 16-bit addressing use the &lt;STRONG&gt;−address-length=2&lt;/STRONG&gt; option.&lt;/P&gt;&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;P style="margin-left: 23%;"&gt;&lt;STRONG&gt;−Intel_HeX_16&lt;/STRONG&gt;&lt;/P&gt;&lt;P style="margin-left: 35%;"&gt;An Intel-16 hex format (INHX16) file will be written. (See &lt;EM&gt;srec_intel16&lt;/EM&gt;(5) for a description of this file format.)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For other usage, see&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuoneclipse.com/2015/04/26/crc-checksum-generation-with-srecord-tools-for-gnu-and-eclipse/" title="https://mcuoneclipse.com/2015/04/26/crc-checksum-generation-with-srecord-tools-for-gnu-and-eclipse/"&gt;https://mcuoneclipse.com/2015/04/26/crc-checksum-generation-with-srecord-tools-for-gnu-and-eclipse/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuoneclipse.com/2015/09/23/aligning-s19-records-to-64-bit-boundaries/" title="https://mcuoneclipse.com/2015/09/23/aligning-s19-records-to-64-bit-boundaries/"&gt;https://mcuoneclipse.com/2015/09/23/aligning-s19-records-to-64-bit-boundaries/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://mcuoneclipse.com/2016/02/26/merging-s19-files/" title="https://mcuoneclipse.com/2016/02/26/merging-s19-files/"&gt;https://mcuoneclipse.com/2016/02/26/merging-s19-files/&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this helps,&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 05:48:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-convert-elf-to-hex-file/m-p/639308#M930</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-10-17T05:48:07Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert *.elf to *.hex file</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-convert-elf-to-hex-file/m-p/639309#M931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can also create .hex file directly in design studio. Open project properties and C/C++ Build -&amp;gt; Setting. Check Create flash image button and click OK.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4327i6B646C5592FD246C/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now open project properties again and choose Standard S32DS Create Flash Image -&amp;gt; General. There are four output file formats and one of these is Intel HEX. Choose HEX and click OK. Build your project once again.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_2.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4328i49ABEA481821680B/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_2.png" alt="pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After the build, hex file is placed in Debug folder.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_3.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/4330i1662761FD7CEDE62/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_3.png" alt="pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Martin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 07:03:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-convert-elf-to-hex-file/m-p/639309#M931</guid>
      <dc:creator>martin_kovar</dc:creator>
      <dc:date>2016-10-17T07:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert *.elf to *.hex file</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-convert-elf-to-hex-file/m-p/639310#M932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great! Thank you very much, it works.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 07:36:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-convert-elf-to-hex-file/m-p/639310#M932</guid>
      <dc:creator>yuehedeng</dc:creator>
      <dc:date>2016-10-17T07:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert *.elf to *.hex file</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-convert-elf-to-hex-file/m-p/639311#M933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you.&amp;nbsp;Martin Kovar provides another for S32. If you aslo use S32, you can try it as well.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Oct 2016 07:38:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-convert-elf-to-hex-file/m-p/639311#M933</guid>
      <dc:creator>yuehedeng</dc:creator>
      <dc:date>2016-10-17T07:38:40Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert *.elf to *.hex file</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-convert-elf-to-hex-file/m-p/639312#M934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did what you said, and why did the compiler make a mistake?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="2.JPG"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/9104iF2D6490FE844ACF6/image-size/large?v=v2&amp;amp;px=999" role="button" title="2.JPG" alt="2.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Oct 2017 10:26:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-convert-elf-to-hex-file/m-p/639312#M934</guid>
      <dc:creator>jackjiang</dc:creator>
      <dc:date>2017-10-27T10:26:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert *.elf to *.hex file</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-convert-elf-to-hex-file/m-p/639313#M935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I'm trying to use the S32K144 chip. When I tried to flash the "bin" file to S32K144, it failed.&lt;/P&gt;&lt;P&gt;Doesn't S32K144 support "bin" type? "elf" and "hex" work well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="pastedImage_1.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/28274i4E94FE6B638D2AA6/image-size/large?v=v2&amp;amp;px=999" role="button" title="pastedImage_1.png" alt="pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Seunghyun Um&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Nov 2017 04:27:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-convert-elf-to-hex-file/m-p/639313#M935</guid>
      <dc:creator>seunghyunum</dc:creator>
      <dc:date>2017-11-09T04:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert *.elf to *.hex file</title>
      <link>https://community.nxp.com/t5/S32-Design-Studio/How-to-convert-elf-to-hex-file/m-p/639314#M936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #51626f; background-color: #ffffff;"&gt;As we are trying to generate .hex file, default its generating with record type as Extended segment address( type 2) .We need .hex file with extended linear address(type 4).Please let me know any changes need to be done.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 Nov 2019 09:46:45 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S32-Design-Studio/How-to-convert-elf-to-hex-file/m-p/639314#M936</guid>
      <dc:creator>sreevishakhkp</dc:creator>
      <dc:date>2019-11-07T09:46:45Z</dc:date>
    </item>
  </channel>
</rss>

