<?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 files to .Sxx or .Bin files in Kinetis Design Studio</title>
    <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-convert-elf-files-to-Sxx-or-Bin-files/m-p/555356#M7119</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice video! &amp;nbsp;I have a newer version of KDS (ver. 3.2) - and I don't have a toolchain tab. &amp;nbsp; There's a toolchain editor - but I didn't know what do with it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to generate an sreg file for the MSD Flash Programmer on my FRDM-KE04Z board. &amp;nbsp; &amp;nbsp;I'm not clear if KDS can still do this on its own or if I need to install something. &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="kds_no_toolchain_button_tab.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14112i0C34F92C0E4F7AE9/image-size/large?v=v2&amp;amp;px=999" role="button" title="kds_no_toolchain_button_tab.png" alt="kds_no_toolchain_button_tab.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="kds_tool_chain_editor.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14152iB2C30774CEF57EE9/image-size/large?v=v2&amp;amp;px=999" role="button" title="kds_tool_chain_editor.png" alt="kds_tool_chain_editor.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Feb 2017 00:17:55 GMT</pubDate>
    <dc:creator>dstraight</dc:creator>
    <dc:date>2017-02-18T00:17:55Z</dc:date>
    <item>
      <title>How to convert .elf files to .Sxx or .Bin files</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-convert-elf-files-to-Sxx-or-Bin-files/m-p/555352#M7115</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm new with FreeScale but I managed to setup KDS and rebuild the 'hello_world' application for KL25Z.&lt;/P&gt;&lt;P&gt;Now I want to run it on a board.&lt;/P&gt;&lt;P&gt;But the target I created is in .elf format.&lt;/P&gt;&lt;P&gt;To be able to run it on the KL25Z I must convert it to BS.&amp;nbsp; (.Sxx or .bin)&lt;/P&gt;&lt;P&gt;According to information I found this can be achieved with the 'elftobs' converter.&lt;/P&gt;&lt;P&gt;But I cannot find this tool on NXP of any other site. I found github where it can be downloaded and build.&lt;/P&gt;&lt;P&gt;Can do that, but I like to use the original application first.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If someone knows where to find elftobs (or&amp;nbsp; elftobin) I like to hear.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Jul 2016 00:13:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-convert-elf-files-to-Sxx-or-Bin-files/m-p/555352#M7115</guid>
      <dc:creator>janhoogma</dc:creator>
      <dc:date>2016-07-09T00:13:59Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert .elf files to .Sxx or .Bin files</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-convert-elf-files-to-Sxx-or-Bin-files/m-p/555353#M7116</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;elftobs is included in NXP_Kinetis_Bootloader_2_0_0 package.&lt;/P&gt;&lt;P&gt;download link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/kinetis-cortex-m-mcus/kinetis-symbols-footprints-and-models/kinetis-bootloader:KBOOT?tid=vanKBOOT" title="http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/kinetis-cortex-m-mcus/kinetis-symbols-footprints-and-models/kinetis-bootloader:KBOOT?tid=vanKBOOT"&gt;Kinetis Bootloader|NXP&lt;/A&gt;&lt;/P&gt;&lt;P&gt;folder: ..\Freescale\NXP_Kinetis_Bootloader_2_0_0\bin\Tools\elftosb&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this tool is for generating "Secure Binary" file.&amp;nbsp; the "key file" is needed for using elftobs tool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you only need generate a project bin or srec file, KDS itself can do it well. elftobs is not needed. I just made a video of how the KDS generates bin and srec files. Hope this helps!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Have a great day,&lt;BR /&gt;Jennie Zhang&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 06:53:05 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-convert-elf-files-to-Sxx-or-Bin-files/m-p/555353#M7116</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2016-07-11T06:53:05Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert .elf files to .Sxx or .Bin files</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-convert-elf-files-to-Sxx-or-Bin-files/m-p/555354#M7117</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jan,&lt;/P&gt;&lt;P&gt;KDS includes the 'objcopy' utility which can directly create s19, binary or intel hex files (see &lt;A href="https://mcuoneclipse.com/2014/04/20/binary-files-for-the-mbed-bootloader-with-eclipse-and-gnu-arm-eclipse-plugins/" title="https://mcuoneclipse.com/2014/04/20/binary-files-for-the-mbed-bootloader-with-eclipse-and-gnu-arm-eclipse-plugins/"&gt;https://mcuoneclipse.com/2014/04/20/binary-files-for-the-mbed-bootloader-with-eclipse-and-gnu-arm-eclipse-plugins/&lt;/A&gt; ). For any other advanced binary file manipulation, I recommend the Srecord utility (see &lt;A 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; ).&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, 11 Jul 2016 16:58:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-convert-elf-files-to-Sxx-or-Bin-files/m-p/555354#M7117</guid>
      <dc:creator>BlackNight</dc:creator>
      <dc:date>2016-07-11T16:58:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert .elf files to .Sxx or .Bin files</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-convert-elf-files-to-Sxx-or-Bin-files/m-p/555355#M7118</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, both of you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The answer of Jennie Zhang best reflected my question and the video was very welcome either.&lt;/P&gt;&lt;P&gt;But from Erich I learned that there are other useful tools to explore.&lt;/P&gt;&lt;P&gt;Now I can make the next step.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jul 2016 22:40:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-convert-elf-files-to-Sxx-or-Bin-files/m-p/555355#M7118</guid>
      <dc:creator>janhoogma</dc:creator>
      <dc:date>2016-07-11T22:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert .elf files to .Sxx or .Bin files</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-convert-elf-files-to-Sxx-or-Bin-files/m-p/555356#M7119</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Nice video! &amp;nbsp;I have a newer version of KDS (ver. 3.2) - and I don't have a toolchain tab. &amp;nbsp; There's a toolchain editor - but I didn't know what do with it.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to generate an sreg file for the MSD Flash Programmer on my FRDM-KE04Z board. &amp;nbsp; &amp;nbsp;I'm not clear if KDS can still do this on its own or if I need to install something. &amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="kds_no_toolchain_button_tab.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14112i0C34F92C0E4F7AE9/image-size/large?v=v2&amp;amp;px=999" role="button" title="kds_no_toolchain_button_tab.png" alt="kds_no_toolchain_button_tab.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="kds_tool_chain_editor.png"&gt;&lt;img src="https://community.nxp.com/t5/image/serverpage/image-id/14152iB2C30774CEF57EE9/image-size/large?v=v2&amp;amp;px=999" role="button" title="kds_tool_chain_editor.png" alt="kds_tool_chain_editor.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Feb 2017 00:17:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-convert-elf-files-to-Sxx-or-Bin-files/m-p/555356#M7119</guid>
      <dc:creator>dstraight</dc:creator>
      <dc:date>2017-02-18T00:17:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to convert .elf files to .Sxx or .Bin files</title>
      <link>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-convert-elf-files-to-Sxx-or-Bin-files/m-p/555357#M7120</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Okay, KDS 3.2 has a toolchain tab. &amp;nbsp;I mistakenly had a file highlighted instead of the project name in the project tree highlighted - so when I right clicked and selected properties I got the dialog shown above in the screen capture. &amp;nbsp;Anyway, once I highlighted the project name at the top of the tree I was able to access the toolchain and adjust the settings as shown in the video. &amp;nbsp;Thanks!&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Feb 2017 02:21:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Kinetis-Design-Studio/How-to-convert-elf-files-to-Sxx-or-Bin-files/m-p/555357#M7120</guid>
      <dc:creator>dstraight</dc:creator>
      <dc:date>2017-02-18T02:21:39Z</dc:date>
    </item>
  </channel>
</rss>

