<?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: HI-WAVE: RTSHC08.C not found in CodeWarrior for MCU</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HI-WAVE-RTSHC08-C-not-found/m-p/143889#M3140</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;&amp;nbsp; Apparently you have a bunch of long arithmetic operation in your application.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; So there is no way you are going to be able to avoid linking RTSHC08.c to your application.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; Now you need to tell the debugger where to find the source file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; I assume you are using HI-WAVE&amp;nbsp;for debugging. Am I right?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; Then you need to add the path to the library source file to the paths the debugger will look for source file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Start HI-WAVE&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Select File -&amp;gt; Configuration&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - In the Environment Tab, select general Path&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Add {Compiler}lib\hc08c\src to the General Path&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Click&amp;nbsp;OK to save the configuration.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The debugger should be able to display source code from rtshc08.c now.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Note that if you create your project using the wizard, the debugger will automatically be configured properly &lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" id="smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;.&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>Wed, 31 Jan 2007 18:31:46 GMT</pubDate>
    <dc:creator>CrasyCat</dc:creator>
    <dc:date>2007-01-31T18:31:46Z</dc:date>
    <item>
      <title>HI-WAVE: RTSHC08.C not found</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HI-WAVE-RTSHC08-C-not-found/m-p/143886#M3137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I've got a problem with a program I wrote based upon MyWirelessApp: 802.15.4_MAC_FFD_1.063.Lib&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Building gives no errors.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But in HI-WAVE:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;(Target set to HCS08. Device set to 9S08GT60.)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* In the mode: Full Chip Simulation, the programm works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;It starts in the file C:\Documents and Settings\****\src\code\Sys\crt0.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;* In the mode: In-Circuit Debug/programming, it can't find the code to start with.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The Source window headline says C:\Documents and Settings\****\mcp\...\RTSHC08.C not found&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I think that the file location should be: C:\Program Files\Metrowerks\CW08 V3.1\lib\hc08c\src\rtshc08.c , part of the Motorola HC08 library files.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The header states: PURPOSE : run-time support.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Why is that file needed?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In an older versions of my application, is always started with crt0.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Udo&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;13192-SARD (MC9S08GT60 + MC13192), CodeWarrior HC08 SE 3.1, PEMicro USB HCS08 Multilink&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 00:24:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HI-WAVE-RTSHC08-C-not-found/m-p/143886#M3137</guid>
      <dc:creator>UdovdM</dc:creator>
      <dc:date>2007-01-30T00:24:16Z</dc:date>
    </item>
    <item>
      <title>Re: HI-WAVE: RTSHC08.C not found</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HI-WAVE-RTSHC08-C-not-found/m-p/143887#M3138</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;RTSHC08.c contains code for run time functions. These are the functions the compiler is using to execute arithmetic operation that are not directly supported by the core (floating point arithmetic, long arithmetic, and so on).&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;In order to figure out why the compiler needs these run time library, first step would be to look in the .map file generated by the linker. In that file you should be able to see which function from RTSHC08.c is used.&lt;/DIV&gt;&lt;DIV&gt;Looking further down in the file you should even be able to detect which function is using the run time function.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you can provide me with this information I may be able to tell you why this happens and perhaps how to avoid that.&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>Tue, 30 Jan 2007 15:43:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HI-WAVE-RTSHC08-C-not-found/m-p/143887#M3138</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-01-30T15:43:23Z</dc:date>
    </item>
    <item>
      <title>Re: HI-WAVE: RTSHC08.C not found</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HI-WAVE-RTSHC08-C-not-found/m-p/143888#M3139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi CrasyCat,&lt;BR /&gt;&lt;BR /&gt;See attached My_Target.map.txt&lt;BR /&gt;(I removed some sensitive information)&lt;BR /&gt;&lt;BR /&gt;It looks like I'm calling a lot of functions.&lt;BR /&gt;&lt;BR /&gt;I have changed some of my functions since an older working version.&lt;BR /&gt;I will try to undo/disable these changes, and see what happens.&lt;BR /&gt;The functions should be floatingpoint-opperation free.&lt;BR /&gt;&lt;BR /&gt;I also added some functions to UART.c : *Char, *Hex2, *Deci&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Should I include RTSHC08.C in the project?&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Udo&lt;BR /&gt;13192-SARD (MC9S08GT60 + MC13192), CodeWarrior HC08 SE 3.1, PEMicro USB HCS08 Multilink&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 30 Jan 2007 16:46:50 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HI-WAVE-RTSHC08-C-not-found/m-p/143888#M3139</guid>
      <dc:creator>UdovdM</dc:creator>
      <dc:date>2007-01-30T16:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: HI-WAVE: RTSHC08.C not found</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HI-WAVE-RTSHC08-C-not-found/m-p/143889#M3140</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;&amp;nbsp; Apparently you have a bunch of long arithmetic operation in your application.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; So there is no way you are going to be able to avoid linking RTSHC08.c to your application.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; Now you need to tell the debugger where to find the source file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; I assume you are using HI-WAVE&amp;nbsp;for debugging. Am I right?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; Then you need to add the path to the library source file to the paths the debugger will look for source file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Start HI-WAVE&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Select File -&amp;gt; Configuration&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - In the Environment Tab, select general Path&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Add {Compiler}lib\hc08c\src to the General Path&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Click&amp;nbsp;OK to save the configuration.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;The debugger should be able to display source code from rtshc08.c now.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Note that if you create your project using the wizard, the debugger will automatically be configured properly &lt;IMG alt=":smileywink:" class="emoticon emoticon-smileywink" id="smileywink" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-wink.gif" title="Smiley Wink" /&gt;.&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>Wed, 31 Jan 2007 18:31:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HI-WAVE-RTSHC08-C-not-found/m-p/143889#M3140</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-01-31T18:31:46Z</dc:date>
    </item>
    <item>
      <title>Re: HI-WAVE: RTSHC08.C not found</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/HI-WAVE-RTSHC08-C-not-found/m-p/143890#M3141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I copied the old project files and replaced the code files with my new code, and it now works again.&lt;BR /&gt;&lt;BR /&gt;If I single step and arithmetic operation is needed, the C source code can't be found but I can see the assembler code working.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Udo&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Feb 2007 16:17:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/HI-WAVE-RTSHC08-C-not-found/m-p/143890#M3141</guid>
      <dc:creator>UdovdM</dc:creator>
      <dc:date>2007-02-02T16:17:51Z</dc:date>
    </item>
  </channel>
</rss>

