<?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>CodeWarrior Development Tools中的主题 Re: Merging Multiple Executables (Bootloader + Application)</title>
    <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662497#M5863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ladislav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help and&amp;nbsp;quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution I am looking for is not for a one time merge. I am looking into a solution that can be used during an application development and want to do an automatic merge&amp;nbsp;every time&amp;nbsp;the debugger is launched.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The use of the keyword within the project linker command file does most of what we desire to implement.&lt;/P&gt;&lt;P&gt;However, I was told that there is a way to automate the merge using a script file (debugger command file) that the debugger will execute when launching. This information about a debugger command file is&amp;nbsp;mentioned within the debugger help file. I am unable to locate the specific details necessary to implement,&amp;nbsp;i.e.,&amp;nbsp;create a script / debugger command file though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The is method of merging is mainly &amp;nbsp;to be used only for application development. The bootloader takes care of the programming/updating the application in a non-development environment. We need the automation for application development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help. Look forward to your follow up response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again and best regards,&lt;/P&gt;&lt;P&gt;Ziggy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Jan 2017 14:43:53 GMT</pubDate>
    <dc:creator>zegeyealemu</dc:creator>
    <dc:date>2017-01-06T14:43:53Z</dc:date>
    <item>
      <title>Merging Multiple Executables (Bootloader + Application)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662495#M5861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello All,&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was in need of loading multiple executables from the debugger. I have seen forum responses that suggest the use of the key word 'HEXFILE' and using a Burner utility.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe that there is also a way to handle the merge by creating a Debugger Script File (Command Files).&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would you please point me to a resource that would help me understand and implement this capability?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your continuous support.&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ziggy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jan 2017 15:57:27 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662495#M5861</guid>
      <dc:creator>zegeyealemu</dc:creator>
      <dc:date>2017-01-05T15:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Multiple Executables (Bootloader + Application)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662496#M5862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i would like to provide you two ways I have used"&lt;/P&gt;&lt;P&gt;1) The merge can be done manually – easy merge two S19 records in the text editor. Just remove information about end of file from the first placed record. You can also remove S0 record lines from the S19 record file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) Next way is describe tin the chapter 8 of AN4258&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.nxp.com/assets/documents/data/en/application-notes/AN4258.pdf" title="http://www.nxp.com/assets/documents/data/en/application-notes/AN4258.pdf"&gt;http://www.nxp.com/assets/documents/data/en/application-notes/AN4258.pdf&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ladislav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 09:42:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662496#M5862</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2017-01-06T09:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Multiple Executables (Bootloader + Application)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662497#M5863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ladislav,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help and&amp;nbsp;quick response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The solution I am looking for is not for a one time merge. I am looking into a solution that can be used during an application development and want to do an automatic merge&amp;nbsp;every time&amp;nbsp;the debugger is launched.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The use of the keyword within the project linker command file does most of what we desire to implement.&lt;/P&gt;&lt;P&gt;However, I was told that there is a way to automate the merge using a script file (debugger command file) that the debugger will execute when launching. This information about a debugger command file is&amp;nbsp;mentioned within the debugger help file. I am unable to locate the specific details necessary to implement,&amp;nbsp;i.e.,&amp;nbsp;create a script / debugger command file though.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The is method of merging is mainly &amp;nbsp;to be used only for application development. The bootloader takes care of the programming/updating the application in a non-development environment. We need the automation for application development.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help. Look forward to your follow up response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again and best regards,&lt;/P&gt;&lt;P&gt;Ziggy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Jan 2017 14:43:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662497#M5863</guid>
      <dc:creator>zegeyealemu</dc:creator>
      <dc:date>2017-01-06T14:43:53Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Multiple Executables (Bootloader + Application)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662498#M5864</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What we are looking for is a way to load multiple executables using the debugger. This will allow us to debug our application in an environment that is close to the release.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;By modifying the debugger command files/ scripts, one can automate the loading of executables in the device via the debugger.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The capability of this feature&amp;nbsp;being available is found within the debugger help file. However, we are unable to find the details&amp;nbsp;as to how to achieve this task. It probably is available somewhere but we were unable to find&amp;nbsp;the details as to how to achieve this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again and best regards,&lt;/P&gt;&lt;P&gt;Ziggy&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Jan 2017 16:01:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662498#M5864</guid>
      <dc:creator>zegeyealemu</dc:creator>
      <dc:date>2017-01-12T16:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Multiple Executables (Bootloader + Application)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662499#M5865</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have contacted our CodeWarrior expert team and here is their response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Hi Ladislav,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;I checked this thread. From my view you had provided sufficient information for customer.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Unfortunately I never heard hiwave debugger can utilize this customer’s requirement.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;All the debugger commands are documented in Debugger_HC12.pdf. I&amp;nbsp; ever used some of this for writing script file. But no command can combine files.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Command &lt;STRONG&gt;CF&lt;/STRONG&gt; and &lt;STRONG&gt;CALL&lt;/STRONG&gt; can open a command script and read the commands from it. But seems there is no command can do file merge…&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;&amp;nbsp; &lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #1f497d;"&gt;Jennie &lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 10:36:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662499#M5865</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2017-01-13T10:36:19Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Multiple Executables (Bootloader + Application)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662500#M5866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good Morning Jennie,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help and response. I have not yet consulted the Debugger_HC12.pdf file yet but will do so shortly.&lt;/P&gt;&lt;P&gt;I guess I got the question wrong. I desire to LOAD multiple executables NOT&amp;nbsp;MERGE executables. I agree that it seems logical for NOT having a debugger merging command.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Would you please&amp;nbsp;comment on loading&amp;nbsp;multiple executables?&lt;/P&gt;&lt;P&gt;To be more specific,&amp;nbsp;what we are trying to do is to load the Bootloader and the Application one at a time (according to the script content) but automated via the debugger.&amp;nbsp;That way every time we modify the application for development, the load for both execuatables happen is automated and application is ready for debug.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again for your help and look forward to your response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ziggy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 14:01:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662500#M5866</guid>
      <dc:creator>zegeyealemu</dc:creator>
      <dc:date>2017-01-13T14:01:41Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Multiple Executables (Bootloader + Application)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662501#M5867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-size: large;"&gt;Zegeye&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using HEXFILE in PRM to include bootloader code in resulting ELF file. This is 100% enough&amp;nbsp;for debugging.&lt;/P&gt;&lt;P&gt;Modified burner BBL produces two S19 files instead, not single S19. One with bootloader&amp;nbsp;included, and another one without bootloader.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You need to find required OPENFILE "%ABS_FILE%.phy"... CLOSE&amp;nbsp;block, create a copy of it, for example OPENFILE "%ABS_FILE%NOBOOT.phy"... CLOSE&amp;nbsp;&lt;/P&gt;&lt;P&gt;then determine, which segment(s) contains bootloader and eliminate it. For example, if bootloader is at top 4k of nonpaged memory, then it&amp;nbsp;may look&amp;nbsp;like &amp;nbsp;&lt;/P&gt;&lt;P&gt;origin = 0x00C000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* nonpaged C000 */&lt;BR /&gt;len = 0x3000&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* excluding bootloader, 0x3000 instead of 0x4000*/&lt;BR /&gt;destination = 0x0FC000&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 13 Jan 2017 19:47:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662501#M5867</guid>
      <dc:creator>kef2</dc:creator>
      <dc:date>2017-01-13T19:47:30Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Multiple Executables (Bootloader + Application)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662502#M5868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ziggy,&lt;/P&gt;&lt;P&gt;Unfortunately, Hiwave debugger doesn't have feature of loading&amp;nbsp;multiple executables.&lt;/P&gt;&lt;P&gt;Besides Edward Karpicz's suggestion, you can also use "HEXFILE + selecting specific target" to download different files via different targets. see document&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.nxp.com/docs/DOC-332027"&gt;How to support multiple targets in CodeWarrior(Classic, Eclipse)/KDS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;"1.2 One file for specific target only"&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps!&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>Tue, 17 Jan 2017 08:09:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662502#M5868</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2017-01-17T08:09:32Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Multiple Executables (Bootloader + Application)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662503#M5869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you all for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;Ziggy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 14:01:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662503#M5869</guid>
      <dc:creator>zegeyealemu</dc:creator>
      <dc:date>2017-01-17T14:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: Merging Multiple Executables (Bootloader + Application)</title>
      <link>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662504#M5870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You are welcome Ziggy.&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;Jennie&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jan 2017 14:03:10 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-Development-Tools/Merging-Multiple-Executables-Bootloader-Application/m-p/662504#M5870</guid>
      <dc:creator>ZhangJennie</dc:creator>
      <dc:date>2017-01-17T14:03:10Z</dc:date>
    </item>
  </channel>
</rss>

