<?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: S19 vs. HEX in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/S19-vs-HEX/m-p/157808#M2483</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a tool called burner.exe located in {Install}\MCU\prog directory.&lt;/P&gt;&lt;P&gt;This tool can be used to convert a Motorola S record file into an Intel Hex file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer to {Install}\MCU\Help\PDF\Build_Tools_Utilities.pdf chapter &lt;EM&gt;&lt;STRONG&gt;Burner Utility&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;for more information on how this tool is working.&lt;/P&gt;&lt;P&gt;The tool can be use in interactive mode (using a GUI) or from batch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To convert a S record file into a Hex file just specify the S record as input file and specify you want an Intel Hex file as output.&lt;/P&gt;&lt;P&gt;Adjust the other parameters and you should be done&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Aug 2011 21:07:44 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2011-08-11T21:07:44Z</dc:date>
    <item>
      <title>S19 vs. HEX</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/S19-vs-HEX/m-p/157806#M2481</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We use CW to create S19 files. Then we have a 3rd party app that converts that S19 file into a HEX file format.&amp;nbsp;This HEX file is then loaded onto external flash. Our bootloader pulls that HEX file from external flash into internal flash on the MCU to update the Application code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me understand more about this process.&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Why would CW provide an S19 file if the MCU is expecting a HEX file?&lt;/LI&gt;&lt;LI&gt;Does CW have an option to output HEX files?&lt;/LI&gt;&lt;LI&gt;Could I simply&amp;nbsp;load the S19 file into external flash and then make my bootloader smart enough to convert that into HEX?&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Project info:&lt;/P&gt;&lt;P&gt;MCU -&amp;nbsp;MCF51CN128&lt;/P&gt;&lt;P&gt;IDE - CW 10.1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Aug 2011 22:35:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/S19-vs-HEX/m-p/157806#M2481</guid>
      <dc:creator>ignisuti</dc:creator>
      <dc:date>2011-08-10T22:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: S19 vs. HEX</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/S19-vs-HEX/m-p/157807#M2482</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;To answer your questions:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) .S19 is the Motorola S-Record format. This is an ACSII representation of the binary file in hexadecimal format. It's what a typical Freescale programmer expects. You are using a programmer that uses Intel HEX, which is bought and paid for, right? Hence the conversion headache.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2) There is a way to specify the type of ASCII format for the final output file. This is controlled by a scripting file, burner.bbl. You can specify Motorola S-Record or Intel HEX output. For more information, follow this &lt;A href="http://www.freescale.com/infocenter/Codewarrior/index.jsp?topic=/com.freescale.doc.mcu.faq_guide/030_IDE.How_can_I_generate_S19_Intel_Hex_and_Binary_files_for_my_project.html" rel="nofollow" target="_self"&gt;link&lt;/A&gt; to our on-line infocenter.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Given the answer in 2) you probably know the answer to this question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 19:38:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/S19-vs-HEX/m-p/157807#M2482</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2011-08-11T19:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: S19 vs. HEX</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/S19-vs-HEX/m-p/157808#M2483</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;There is a tool called burner.exe located in {Install}\MCU\prog directory.&lt;/P&gt;&lt;P&gt;This tool can be used to convert a Motorola S record file into an Intel Hex file.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please refer to {Install}\MCU\Help\PDF\Build_Tools_Utilities.pdf chapter &lt;EM&gt;&lt;STRONG&gt;Burner Utility&amp;nbsp;&lt;/STRONG&gt;&lt;/EM&gt;for more information on how this tool is working.&lt;/P&gt;&lt;P&gt;The tool can be use in interactive mode (using a GUI) or from batch.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To convert a S record file into a Hex file just specify the S record as input file and specify you want an Intel Hex file as output.&lt;/P&gt;&lt;P&gt;Adjust the other parameters and you should be done&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;CrasyCat&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Aug 2011 21:07:44 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/S19-vs-HEX/m-p/157808#M2483</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2011-08-11T21:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: S19 vs. HEX</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/S19-vs-HEX/m-p/157809#M2484</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guys&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am tagging this question on here since the topic is (generally) related.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Specifically to CW10.1 - this can be configured to generate S19 output (by selecting the "Generate S-Record File" in the ARM linker output setting). However, unlike CW7 there doesn't seem to be the option to generate a binary output.&lt;/P&gt;&lt;P&gt;[&lt;EM&gt;As comparison, CW7 generates a Motorola format binary file - which is divided into blocks with an address and block length count for each block it generates&lt;/EM&gt; (CW6 generated pure binary files)].&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In some circumstances a 'pure' binary output file is needed for programming (eg. a tool that accepts only a binary image) and, for this reason, I have created a tool to convert from Motorola binary to pure binary (&lt;EM&gt;for info and not that relevant here&lt;/EM&gt;).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When working with CW10.1 no binary is presently available and am wondering what would be the best way to generate it? Possibly there is a tool built in that will do this (how to activate it and will it generate Motorola binary or pure binary?).&lt;/P&gt;&lt;P&gt;Otherwise a fall-back would be to use a post build step to call a bat file to use GCC objcopy.exe﻿ to convert the S19 to a binary. Although this will work (has been used in emergency with other tool chains before) it always seems strange to have to install the GCC tool chain to do such clean-up work for a different IDE. What would be best?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Aug 2011 07:31:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/S19-vs-HEX/m-p/157809#M2484</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2011-08-14T07:31:31Z</dc:date>
    </item>
    <item>
      <title>Re: S19 vs. HEX</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/S19-vs-HEX/m-p/157810#M2485</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have had a go at using the BURNER.EXE to do the work but didn't get very far since it is very powerful and so also very complicated to do simple things with. I read the manual and tried following examples but it beat me in to submission.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In addition, it seems as though it is limited to 3k output size for 32 bit processors when working with the Special Editions of CW (&lt;A href="https://community.freescale.com/message/65808#65808" title="https://community.freescale.com/message/65808#65808"&gt;https://community.freescale.com/message/65808#65808&lt;/A&gt;﻿), so I decided that it will generally be easier to use the GCC tool for a quick result and write a new utility to do this in the long run.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 14 Aug 2011 23:40:08 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/S19-vs-HEX/m-p/157810#M2485</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2011-08-14T23:40:08Z</dc:date>
    </item>
  </channel>
</rss>

