<?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 for MCUのトピックRe: How to merge 2 projects</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144726#M3198</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Basically the .abs.s19 is in fact a &amp;nbsp;S record file.&lt;/DIV&gt;&lt;DIV&gt;To merge the bootloader code into&amp;nbsp;the application S19 file, just use the HEXFILE command as specified in a previous thread.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Feb 2007 16:43:39 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2007-02-08T16:43:39Z</dc:date>
    <item>
      <title>How to merge 2 projects</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144725#M3197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hi&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What I want to do is to merge two separate codewarrior projects to be able to flash both of them.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have a small bootloader and a larger application in seperate projects which both have been developed using codewarrior 5.0 for HCS08... The MCU is a MC9S08GT32...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The flash is divided into two partions... the application is being flashed to the first and the bootloader to the second...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have searced around in this forum and found similar threads, but I can't seem to get what they are suggesting to work.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;First of all, I don't get a file *.s19, which is mentioned alot... only files called *.abs.s19 are these the same?&lt;/DIV&gt;&lt;DIV&gt;It seems to as it is the *.abs that contains the important information.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have tried to manually cut and paste these files but then the debugger won't load them... I have also tried to use the expert mode programmer to program a module after specifying the object file from the other project...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;It seems that this is kind of an easy task, but I seem to miss some basic knowledge...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;would be grateful for help&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;//Daniel Thysell,&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 00:29:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144725#M3197</guid>
      <dc:creator>thysell</dc:creator>
      <dc:date>2007-02-08T00:29:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge 2 projects</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144726#M3198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Basically the .abs.s19 is in fact a &amp;nbsp;S record file.&lt;/DIV&gt;&lt;DIV&gt;To merge the bootloader code into&amp;nbsp;the application S19 file, just use the HEXFILE command as specified in a previous thread.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 16:43:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144726#M3198</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-02-08T16:43:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge 2 projects</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144727#M3199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Ok...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;should i use the command HEXFILE in the debuggers command window? I've tried that and the reply is: Error: no such command: HEXFILE&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;But... after some more researsh I have written a file callet test.cmd wich includes the following&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;OPENFILE "C:\Documents and Settings\danielt\My Documents\flashtest\bin\output.s19"&lt;BR /&gt;format=motorola&lt;BR /&gt;busWidth=1&lt;BR /&gt;origin=0&lt;BR /&gt;len=0x10000&lt;BR /&gt;destination=0&lt;BR /&gt;SRECORD=Sx&lt;BR /&gt;SENDBYTE 1 "C:\Documents and Settings\danielt\My Documents\flashtest\bin\cabinet.abs"&lt;BR /&gt;SENDBYTE 1 "C:\Documents and Settings\danielt\My Documents\flashtest\bin\project.abs"&lt;BR /&gt;CLOSE&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;this makes an file called output.s19 wich I am then able load through the debugger, now it seems to be flashed down alright... At least it looks that way&amp;nbsp;in the memory window... But it still don't seem to work as it should&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;thanks for your help&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;//Daniel&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 17:29:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144727#M3199</guid>
      <dc:creator>thysell</dc:creator>
      <dc:date>2007-02-08T17:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge 2 projects</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144728#M3200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;another thing...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;when I load that .s19 file... the command window outputs this:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Stop at Function: No function with the name "main" was found.&lt;BR /&gt;&lt;/DIV&gt;&lt;DIV&gt;which don't feel quite right...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So I don't think that my suggested solution works&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;//Daniel&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 17:37:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144728#M3200</guid>
      <dc:creator>thysell</dc:creator>
      <dc:date>2007-02-08T17:37:47Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge 2 projects</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144729#M3201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; HEXFILE should be used in linker command file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; Please refer to following post:&lt;/DIV&gt;&lt;DIV&gt;&lt;A href="http://forums.freescale.com/freescale/board/message?board.id=CWCOMM&amp;amp;message.id=3107&amp;amp;query.id=1343#M3107" target="_blank"&gt;http://forums.freescale.com/freescale/board/message?board.id=CWCOMM&amp;amp;message.id=3107&amp;amp;query.id=1343#M3107&lt;/A&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This will include code from the bootloader into the application .abs and .abs.s19 file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Note that the .abs.s19 file contains only executable code, but no debug information. You can use this file&amp;nbsp;for production flash programming or to program the flash as long as you do not want to debug the application.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you want to debug the application, you need to download the .abs file. This will provide you with information on application functions, variables,&amp;nbsp;and so on.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Per default the debugger is configured to start and run till main function is reached. If you download the .abs.s19 file, there is no debug information, so&amp;nbsp;the debugger &amp;nbsp;does not know where to stop. This is the reason for the message you are seeing.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So if you want to debug the application, make sure to download&amp;nbsp;the .abs file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 17:56:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144729#M3201</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-02-08T17:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge 2 projects</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144730#M3202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;I changed the openfile command to specify an .abs file instead of an .s19 file...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So now I think I am downloading the .abs files but I still get the no main function error...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;thanks very much&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;//Daniel&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 19:19:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144730#M3202</guid>
      <dc:creator>thysell</dc:creator>
      <dc:date>2007-02-08T19:19:58Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge 2 projects</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144731#M3203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;ok...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;as of now I've tried to implement a line:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;HEXFILE booter.abs.s19&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;in the application .prm file... this too seem to download the code fot the bootloader into the flash...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;now I get a bunch of errors that says:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;code loading overlap detected in range&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;... and then it outputs this for all the ranges that hold my main application... that can't be good either... since it doesnt execute the application properly...&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;regards&lt;/DIV&gt;&lt;DIV&gt;//Daniel&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Feb 2007 20:57:11 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144731#M3203</guid>
      <dc:creator>thysell</dc:creator>
      <dc:date>2007-02-08T20:57:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge 2 projects</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144732#M3204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Hello&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Are you using the same memory areas for the bootloader and the application?&lt;/DIV&gt;&lt;DIV&gt;That could not work. If you want to keep a bootloader and an application in CPU flash, both application should use separate memory areas.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;So adjust your .prm file and make sure code from bootloader is loaded separately from application code.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;CrasyCat&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Feb 2007 17:09:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144732#M3204</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-02-09T17:09:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to merge 2 projects</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144733#M3205</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;thank you very much&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I think that I've got it to work now&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;//Thysell&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Feb 2007 17:41:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/How-to-merge-2-projects/m-p/144733#M3205</guid>
      <dc:creator>thysell</dc:creator>
      <dc:date>2007-02-12T17:41:42Z</dc:date>
    </item>
  </channel>
</rss>

