<?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: Command line linker problem with referrenced file in LCF in Classic/Legacy CodeWarrior</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134389#M720</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi again,&lt;BR /&gt;&lt;BR /&gt;Well, I don't use the same debugging environment as you, so I cannot provide much help (I use Trace32).&lt;BR /&gt;&lt;BR /&gt;However, to trace the RTRT results, you need to set breakpoints to the funtion _priv_writeln. You don't need conditional breakpoints there.&lt;BR /&gt;&lt;BR /&gt;You will have then to dump the contents of _atl_buffer, then... At least, this is what we do and it works, even with big test results (with coverage and runtime tracing enabled) and from the real target. I don't understand why you say that it does not help to dump the buffer at each write hit.&lt;BR /&gt;&lt;BR /&gt;Hope this help,&lt;BR /&gt;&lt;BR /&gt;Javier&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 25 May 2007 22:03:42 GMT</pubDate>
    <dc:creator>jballes</dc:creator>
    <dc:date>2007-05-25T22:03:42Z</dc:date>
    <item>
      <title>Command line linker problem with referrenced file in LCF</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134382#M713</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am having the problems in command line of CodeWarrior (with the MMI it works fine).&lt;/DIV&gt;&lt;DIV&gt;We have a LCF file containing a reference to an external file as follows:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;BR /&gt;.code :&lt;BR /&gt;&amp;nbsp;&amp;nbsp; {&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ALIGNALL( 32 );&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ___VECTOR_START = .;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; vectors.s (.text)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ___VECTOR_END = .;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.text)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *(.rodata)&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ___DATA_ROM = .;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; } &amp;gt; code&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; .&lt;BR /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;For information, the referenced file “vectors.s” contains the definition of the vector table. I can send you a copy of this file if you need, but I think that you won’t need it.&lt;/DIV&gt;&lt;DIV&gt;Whenever we launch the linker (we are using CodeWarrior 6.3 for Coldfire), the linker says that it cannot find the file “vectors.s”:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;mwldmcf -nodefaults -msgstyle gcc -g -proc MCF5282 –map “C:\PROGRA~1\Rational\TESTRE~1\targets\CWARRI~2\CW\PF08476.lcf"&amp;nbsp; "C:\integral\CFBOOTLOADER\TU\CF Bootloader\cwarrior_coldfire_t32_common_bootloader\vectors.o" &amp;lt;other .o files&amp;gt; -o ".\cwarrior_coldfire_t32_common_bootloader\Test_CRC.elf"&amp;nbsp; -L"C:\integral\CFBOOTLOADER\SOURCES\SERVICE\Metrowerks\E68K_SUPPORT\Libraries" -L"C:\integral\CFBOOTLOADER\SOURCES\SERVICE\Metrowerks\E68K_SUPPORT\Runtime" -L"C:\integral\CFBOOTLOADER\SOURCES\SERVICE\Metrowerks\E68K_SUPPORT\msl\MSL_C\MSL_E68k\Lib" -lfp_coldfire.o -lC_4i_CF_Runtime.a -lC_4i_CF_MSL.a&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="font-family: 'Courier New';"&gt;mwldmcf: Linker command file error at line 58&lt;BR /&gt;mwldmcf: File not found: vectors.s&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;I have tried the following workarounds without success:&lt;/DIV&gt;&lt;DIV&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Placing the full path within the LCF&lt;BR /&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Placing “vectors.s” at the same place as the LCF and within the current path.&lt;BR /&gt;-&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Including the “vectors.s” file to the linker command line as if it were an output file.&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Do you know how to solve this problem?&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Thanks in advance,&lt;/DIV&gt;&lt;DIV&gt;&lt;BR /&gt;Javier&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 20:10:26 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134382#M713</guid>
      <dc:creator>jballes</dc:creator>
      <dc:date>2007-05-21T20:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: Command line linker problem with referrenced file in LCF</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134383#M714</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 building from the command line or from the IDE?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you are building from the command line you need to specify the name of the object file&lt;/DIV&gt;&lt;DIV&gt;generated by the macro-assembler in the lcf file.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If you are building from the IDE, you have to specify the source file name in the lcf 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>Mon, 21 May 2007 20:18:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134383#M714</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-05-21T20:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Command line linker problem with referrenced file in LCF</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134384#M715</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi CrasyCat,&lt;BR /&gt;&lt;BR /&gt;Thanks for your quick answer, it works!&lt;BR /&gt;&lt;BR /&gt;I am using the command line, so as you explained to me, I changed from "vectors.s" to "vectors.o" within the LCF and the linker accepts it with charm.&lt;BR /&gt;&lt;BR /&gt;Thanks again,&lt;BR /&gt;&lt;BR /&gt;Javier&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 21 May 2007 20:45:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134384#M715</guid>
      <dc:creator>jballes</dc:creator>
      <dc:date>2007-05-21T20:45:12Z</dc:date>
    </item>
    <item>
      <title>Re: Command line linker problem with referrenced file in LCF</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134385#M716</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;DIV&gt;Hello,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I am very new to Codewarrior IDE. We are also trying to use it with RTRT. I am facing problems while linking in command line. It is showing errors like:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;mwldmcf.exe: between 0x00000000-0x00007FFF or 0xFFFF8000-0xFFFFFFFF in memory.&lt;BR /&gt;mwldmcf.exe: Illegal 16-bit absolute address reference to symbol '__atc_data1'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;mwldmcf.exe: from address 0x0000000A in section '.text' of file&lt;BR /&gt;mwldmcf.exe: 'main_cdwarior.o '.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;mwldmcf.exe: Check linker command file to make sure symbol is located&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;mwldmcf.exe: between 0x00000000-0x00007FFF or 0xFFFF8000-0xFFFFFFFF in memory.&lt;BR /&gt;mwldmcf.exe: Illegal 16-bit absolute address reference to symbol '_atl_out'&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;mwldmcf.exe: from address 0x0000002E in section '.text' of file 'TP.o'.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;mwldmcf.exe: Check linker command file to make sure symbol is located.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;This is what i have done:&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;1) I have opened a sample project for MCF5282. Built it and executed succesfully on IDE.&lt;/DIV&gt;&lt;DIV&gt;2) I have compiled the sample main.c from command line to generate main.o with options:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; mwccmcf -c -v main.c&amp;nbsp;&amp;nbsp;&amp;nbsp; (is this enough?)&lt;/DIV&gt;&lt;DIV&gt;3)&amp;nbsp; I am using only the default ".LCF" file given in project directory: M5282EVB_INT_ROM.lcf without any modifications.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I have used the following in command line:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;mwldmcf -nodefaults&amp;nbsp; -g -proc MCF5282 –map “C:\Program Files\Freescale\CodeWarriorV6.4\(CodeWarrior_Examples)\new\sources\M5282EVB_INT_ROM.lcf" main.o&amp;nbsp; -L"C:\Program Files\Freescale\CodeWarriorV6.4\E68K_SUPPORT\Libraries"&lt;/DIV&gt;&lt;DIV&gt;-L"C:\Program Files\Freescale\CodeWarriorV6.4\E68K_SUPPORT\Runtime"&lt;/DIV&gt;&lt;DIV&gt;-L"C:\Program Files\Freescale\CodeWarriorV6.4\E68K_SUPPORT\msl\MSL_C\MSL_E68k\Lib"&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -lfp_coldfire.o -lC_4i_CF_Runtime.a&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Can you help please...&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 15:38:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134385#M716</guid>
      <dc:creator>ajays</dc:creator>
      <dc:date>2007-05-24T15:38:59Z</dc:date>
    </item>
    <item>
      <title>Re: Command line linker problem with referrenced file in LCF</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134386#M717</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;P&gt;Hi Ajays,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;I will explain to you what I have done to make CodeWarrior work with RTRT. I’m not very experienced with CodeWarrior neither, so you may need to look further. I would say, however, that your problem comes from the vector table defined in your LCF file.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;But before starting, the first question is if you have a working project with the IDE. If the answer is no, you will need to make things work.&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Once you have a project working with the IDE, you have all the elements. For the compilation, what I do is:&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;mwccmcf -c -pragma "mpwc_relax on" -gccext on -nodefaults -msgstyle gcc -gccinc -ppopt line,full,space -g -model far -abi compact -proc MCF5282 -inline off&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt; -I"&amp;lt;include_paths&amp;gt;" "C:\main.c" -o "main.o"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Like this for all your C files (you may also need to use the assembler if you have some files also). For the linking, you need to use the following command:&lt;BR /&gt;&amp;nbsp;&lt;BR /&gt;&lt;SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;mwldmcf -nodefaults -msgstyle gcc -g -proc MCF5282 -map "C:\PROGRA~1\Rational\TESTRE~1\targets\CWARRI~2\CW\PF08476.lcf"&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; "&amp;lt;O files&amp;gt;" -o ".\cwarrior_coldfire_t32_common_bootloader\bootloader.elf"&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt; -L"C:\Program Files\Freescale\CodeWarrior for ColdFire V6.3\E68K_Support\Runtime" -L"C:\Program Files\Freescale\CodeWarrior for ColdFire V6.3\E68K_Support\Libraries" -L" C:\Program Files\Freescale\CodeWarrior for ColdFire V6.3\E68K_Support\Runtime" -L"C:\Program Files\Freescale\CodeWarrior for ColdFire V6.3\E68K_Support\msl\MSL_C\MSL_E68k\Lib" -lfp_coldfire.a -lC_4i_CF_Runtime.a -lC_4i_CF_MSL.a&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;You need to be sure that you will pass to the linker as many files as you have in the “Link Order” tab of your IDE for your working project.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;It’s not an easy task to make RTRT work with CodeWarrior, but it’s not impossible.&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;Javier&lt;/P&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 16:28:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134386#M717</guid>
      <dc:creator>jballes</dc:creator>
      <dc:date>2007-05-24T16:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Command line linker problem with referrenced file in LCF</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134387#M718</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;hello jablles,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;Thank you so much for the qiuck reply. Well in fact now the linking part is working fine.I am at present working with a sample project. I'll get back to you if i face further problems.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks again,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Ajays&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 May 2007 16:59:30 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134387#M718</guid>
      <dc:creator>ajays</dc:creator>
      <dc:date>2007-05-24T16:59:30Z</dc:date>
    </item>
    <item>
      <title>Re: Command line linker problem with referrenced file in LCF</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134388#M719</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;hello,&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;i am facing problem to get back the results. I am doing it on host (CC-SIM). I have followed the steps given in&lt;/DIV&gt;&lt;DIV&gt;help-&amp;gt; Targetting Coldfire,&amp;nbsp; to run my .elf file. I then run the debugger script. But there are no&lt;/DIV&gt;&lt;DIV&gt;conditional breakpoints in help except for bp. That does not help to dump the buffer each time write&lt;/DIV&gt;&lt;DIV&gt;function is hit.&lt;/DIV&gt;&lt;DIV&gt;I also tried to use fopen,fwrite. But they are giving undefined even in codewarrior IDE.&lt;/DIV&gt;&lt;DIV&gt;How to go about?&lt;BR /&gt;Please guide..&lt;/DIV&gt;&lt;DIV&gt;Thanks &amp;amp; Regards,&lt;BR /&gt;Ajays&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 20:25:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134388#M719</guid>
      <dc:creator>ajays</dc:creator>
      <dc:date>2007-05-25T20:25:40Z</dc:date>
    </item>
    <item>
      <title>Re: Command line linker problem with referrenced file in LCF</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134389#M720</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Hi again,&lt;BR /&gt;&lt;BR /&gt;Well, I don't use the same debugging environment as you, so I cannot provide much help (I use Trace32).&lt;BR /&gt;&lt;BR /&gt;However, to trace the RTRT results, you need to set breakpoints to the funtion _priv_writeln. You don't need conditional breakpoints there.&lt;BR /&gt;&lt;BR /&gt;You will have then to dump the contents of _atl_buffer, then... At least, this is what we do and it works, even with big test results (with coverage and runtime tracing enabled) and from the real target. I don't understand why you say that it does not help to dump the buffer at each write hit.&lt;BR /&gt;&lt;BR /&gt;Hope this help,&lt;BR /&gt;&lt;BR /&gt;Javier&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 May 2007 22:03:42 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134389#M720</guid>
      <dc:creator>jballes</dc:creator>
      <dc:date>2007-05-25T22:03:42Z</dc:date>
    </item>
    <item>
      <title>Re: Command line linker problem with referrenced file in LCF</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134390#M721</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;Can you please be a little bit more specific?&lt;/DIV&gt;&lt;DIV&gt;What are you trying to do exactly?&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, 29 May 2007 19:27:29 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134390#M721</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-05-29T19:27:29Z</dc:date>
    </item>
    <item>
      <title>Re: Command line linker problem with referrenced file in LCF</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134391#M722</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;Hello Javier/CrassyCat,&lt;BR /&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;I am able to put break points at priv_writeln using keyword 'bp' and dumping atl_buffer using keyword 'evaluate'. But when i give command 'go', the execution stops. I cannot move further. ie i need to dump the atl_buffer value until i reach the function priv_close.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I want to automate the process ie using a debugger script. At present i am using like this:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;bp priv_writeln&lt;/DIV&gt;&lt;DIV&gt;bp priv_close&lt;/DIV&gt;&lt;DIV&gt;go&lt;/DIV&gt;&lt;DIV&gt;evaluate atl_buffer&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;But it stops after dumping the result once. How can i automate this process so that i can keep on dumping the results each time i hit the breakpoint for priv_writeln and exit when i reach priv_close.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Hope you can guide me in this,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;ajays&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BR /&gt;&lt;BR /&gt;Message Edited by ajays on &lt;SPAN class="date_text"&gt;2007-07-31&lt;/SPAN&gt; &lt;SPAN class="time_text"&gt;12:09 PM&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 31 Jul 2007 18:07:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134391#M722</guid>
      <dc:creator>ajays</dc:creator>
      <dc:date>2007-07-31T18:07:43Z</dc:date>
    </item>
    <item>
      <title>Re: Command line linker problem with referrenced file in LCF</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134392#M723</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;Debugging in the IDE you can achieve that using eventpoints.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Just set a scriptpoint on function priv_writeln and associate it with the "evaluate atl_buffer" command,.&lt;/DIV&gt;&lt;DIV&gt;Set another scriptpoint on function priv_closeand associate it with the "kill" command.&lt;/DIV&gt;&lt;DIV&gt;You can also specify whether you want to stop execution of the debugger when the script point is reached.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Running application should print value of atl_buffer each time priv_writeln is invoked and should kill the debug session when priv_close is invoked.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Unfortunately there are no command available to define an eventpoint (or script point) in a tcl script&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Only way I can think about to get that working is the following:&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Open your project in the IDE&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Set your event points as described above&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Open the command window&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp; - Run the application.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I did not try it myself, but this should be working.I hope this helps.&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, 31 Jul 2007 19:21:17 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134392#M723</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-07-31T19:21:17Z</dc:date>
    </item>
    <item>
      <title>Re: Command line linker problem with referrenced file in LCF</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134393#M724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;hello crassycat,&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;thanks for the reply.&lt;/DIV&gt;&lt;DIV&gt;i am trying to automate the process by using an infinite while loop and it is working. But now i want to quit the IDE automatically. How can this be done?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I tried using&amp;nbsp;quitIDE in the script. But it is not doing the job.&lt;/DIV&gt;&lt;DIV&gt;I also tried&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;cmdIDE /d scriptfile /q&amp;nbsp; from command line, but it is quitting without debugging.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Any way out?..&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 15:09:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134393#M724</guid>
      <dc:creator>ajays</dc:creator>
      <dc:date>2007-08-02T15:09:09Z</dc:date>
    </item>
    <item>
      <title>Re: Command line linker problem with referrenced file in LCF</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134394#M725</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;quitIDE is the appropriate command to close the IDE.&lt;/DIV&gt;&lt;DIV&gt;If you have a running debug session, I would recommend to first kill&amp;nbsp;the debug session (command kill)&lt;/DIV&gt;&lt;DIV&gt;and then use quitIDE.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I can close the IDE is I enter command quitIDE in the command window or in a tcl script and it did in fact close the IDE.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Be careful the command window is case sensitive&amp;nbsp;so you need to watch for upper and lower cases&amp;nbsp;&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, 02 Aug 2007 15:43:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134394#M725</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-08-02T15:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Command line linker problem with referrenced file in LCF</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134395#M726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;This is a different question, so I opened a new Thread for it. &lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 24 Sep 2007 13:38:28 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Command-line-linker-problem-with-referrenced-file-in-LCF/m-p/134395#M726</guid>
      <dc:creator>CrasyCat</dc:creator>
      <dc:date>2007-09-24T13:38:28Z</dc:date>
    </item>
  </channel>
</rss>

