<?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 StarCoreのトピックRe: CodeWarrior for StarCore DSPs, Classic IDE</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192094#M261</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Q: How do I force alignment of a variable without using a &lt;CODE&gt;#pragma align x&lt;/CODE&gt;?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is, how can I set the alignment of variables in memory without the use of compiler-specific directives?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt; Use the &lt;CODE&gt;__attribute(align(n))&lt;/CODE&gt; function to force alignment.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;typedef struct {&lt;BR /&gt; short a;&lt;BR /&gt; short b;&lt;BR /&gt; short c;&lt;BR /&gt; __attribute__((aligned(8))) short test[16];&lt;BR /&gt; short * ptr;&lt;BR /&gt; } OK1_T;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;__attribute__((aligned(2))) unsigned char my_char;&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Apr 2010 04:10:09 GMT</pubDate>
    <dc:creator>J2MEJediMaster</dc:creator>
    <dc:date>2010-04-14T04:10:09Z</dc:date>
    <item>
      <title>CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192078#M245</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This thread contains FAQs that cover CodeWarrior for StarCore DSPs tool set&amp;nbsp;that uses the "Classic" IDE. However, they also contain some general-purpose information that may be of value to the anyone using the Eclipse-base CodeWarrior for StarCore DSPs tools.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 02:58:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192078#M245</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-14T02:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192079#M246</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;Q:&lt;/STRONG&gt; &lt;STRONG&gt;Can I use CodeWarrior's &lt;CODE&gt;SC3400plat_pacc&lt;/CODE&gt; simulator with a SmartDSP OS project?&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;I have an MSC8144ADS SmartDSP OS project created from CodeWarrior stationery. Is it possible to profile one of the 4 linker-output files (&lt;CODE&gt;~.eld&lt;/CODE&gt;) using the &lt;CODE&gt;SC3400plat_pacc&lt;/CODE&gt; simulation model? I want the measurement to be performance-accurate like the SC3400platform-accurate model.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt; The &lt;CODE&gt;runsim&lt;/CODE&gt; profiler does not handle cases where the address translation is not 1-to-1, which is the case with the SmartDSP OS. This means that for situations where virtual and physical memory addresses are not the same, which occurs in SmartDSP OS applications, the &lt;CODE&gt;runsim&lt;/CODE&gt; profiler will not work. Therefore, unfortunately you cannot use the &lt;CODE&gt;runsim&lt;/CODE&gt; profiler for SmartDSP OS projects. These profiler results will have to be acquired on a real hardware target, such as the MSC8144ADS.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 03:05:46 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192079#M246</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-14T03:05:46Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192080#M247</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Q: When using CodeWarrior for StarCore, what is the meaning of the &lt;CODE&gt;clock()&lt;/CODE&gt; function's return value when running MSC8144 for ISS ?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When using CodeWarrior for StarCore, what is the meaning of the &lt;CODE&gt;clock()&lt;/CODE&gt; function's return value when running MSC8144 for ISS? I tried to use the code found in &lt;CODE&gt;StarCore_C_Compiler_User_Guide.pdf&lt;/CODE&gt; to measure the time needed for my application processing:&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;#include "time.h"&lt;BR /&gt; clock_t start, end, elapsed;&lt;BR /&gt; /* . . . application setup . . . */&lt;BR /&gt; start = clock( );&lt;BR /&gt; /* . . . application processing . . . */&lt;BR /&gt; end = clock( );&lt;BR /&gt; elapsed = end - start; /* Assumes no wrap-around */&lt;BR /&gt; printf("Elapsed time: %Lu * 2 cycles. \n", elapsed);&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;I want to know that is the meaning of the number returned by &lt;CODE&gt;clock()&lt;/CODE&gt;? Is it my CPU's clock, or the core's internal clock?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt; The time shown when running the MSC8144 for ISS represents the number of instructions executed. Each time a new instruction is executed, the SC100 Simulator Register/CYCLE is incremented. When the &lt;CODE&gt;clock()&lt;/CODE&gt; function is called, the Debugger Engine automatically reads the value of the CYCLE register.&lt;BR /&gt;&lt;BR /&gt;In order to measure the time needed for code execution via &lt;CODE&gt;clock()&lt;/CODE&gt;, you need to use one of the MSC8144 timers. For a proper measurement, the timer needs to be initialized and started. An example about how to achieve this can be found in: &lt;CODE&gt;{CW install dir}\StarCore_Support\MiniDrivers_8144ADS\Examples\CoreTimer\&lt;/CODE&gt;.&lt;BR /&gt;Please notice that you need to add &lt;CODE&gt;libd&lt;/CODE&gt;, (located in &lt;CODE&gt;{CW Install dir}\StarCore_Support\MiniDrivers_8144ADS\Lib\&lt;/CODE&gt;) to your project in order to have the proper implementation of the &lt;CODE&gt;clock()&lt;/CODE&gt; function.&lt;BR /&gt;&lt;BR /&gt;The workstation CPU's speed has no influence upon &lt;CODE&gt;clock()&lt;/CODE&gt;'s return value.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 03:09:39 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192080#M247</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-14T03:09:39Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192081#M248</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Q: When building a program with CodeWarrior for StarCore, what are the differences between selecting SC3400 and MSC8144 targets?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am building a new stationary project in the IDE, and need to understand what these differences are.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt; The main differences between these targets are:&lt;BR /&gt;1) The MSC8144 supports only the BIG ENDIAN addressing mode and non-small memory models.&lt;BR /&gt;2) The SC3400 target architecture does not support MMU translation, cache, and memory protection.&lt;BR /&gt;3) Each processor requires different libraries files and start-up (boot) code. When a program using the SC3400 target is built, the IDE uses the library files located in &lt;CODE&gt;{CW installed dir}\StarCore_Support\compiler\lib\sc3400&lt;/CODE&gt;. When building for the MSC8144 target , the IDE uses the library files located in &lt;CODE&gt;{CW installed dir}\StarCore_Support\compiler\lib\msc8144&lt;/CODE&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 03:14:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192081#M248</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-14T03:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192082#M249</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Q: How can I enable 64-bit data type support in CodeWarrior for StarCore?&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I tried adding the &lt;CODE&gt;-sll&lt;/CODE&gt; option in the &lt;CODE&gt;To Shell&lt;/CODE&gt; edit box within the project settings &lt;STRONG&gt;Passthrough, Hardware&lt;/STRONG&gt; panel, but the linker does not find the &lt;CODE&gt;long long&lt;/CODE&gt; arithmetic functions.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A: The application is linked with the incorrect run time library file.&lt;BR /&gt;&lt;BR /&gt;In order to enable operation on 64-bit data, check the box &lt;STRONG&gt;64-Bit Data Type support (long long and double)&lt;/STRONG&gt; in the &lt;STRONG&gt;C Language&lt;/STRONG&gt; panel.&lt;BR /&gt;&lt;BR /&gt;This should change the library linked to your application and enable the appropriate &lt;CODE&gt;long long&lt;/CODE&gt; functions.&lt;BR /&gt;&lt;BR /&gt;Do not specify &lt;CODE&gt;-sll&lt;/CODE&gt; in the &lt;STRONG&gt;Passthrough, Hardware&lt;/STRONG&gt; panel.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 03:17:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192082#M249</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-14T03:17:02Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192083#M250</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;Q:&lt;/STRONG&gt; &lt;STRONG&gt;For CodeWarrior for StarCore, I am reading 16-bit values from an ASCII text file with &lt;CODE&gt;fscanf()&lt;/CODE&gt;. I only get the data values from odd addresses, while the even address values are filled with zeros. Why is that happening?&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am using following code to read from the file:&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;short *p_local;&lt;BR /&gt;&lt;BR /&gt; for (count=0; count&amp;lt; NbrElement; count++)&lt;BR /&gt; {&lt;BR /&gt; ret= fscanf(file, "0x%x\n" ,p_local++);&lt;BR /&gt; }&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt; If you intend to read 16-bit values out of an ASCII text file, we would recommend using:&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;ret= fscanf(file, "0x%hx\n" ,p_local++);&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;to do this.&lt;BR /&gt;&lt;BR /&gt;The modifier &lt;CODE&gt;%x&lt;/CODE&gt; is reading an &lt;CODE&gt;int&lt;/CODE&gt; (32-bits) from the file. The modifier &lt;CODE&gt;%hx&lt;/CODE&gt; reads 16-bit values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 03:19:59 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192083#M250</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-14T03:19:59Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192084#M251</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Q: The CodeWarrior Flash Programmer takes hours to program an 8MB flash from an S-Record file, yet another flash programmer does this same operation in minutes. Why is the CodeWarrior Flash Programmer so slow?&lt;BR /&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt; The speed of the CodeWarrior Flash Programmer can be improved by verifying these configurations:&lt;BR /&gt;&lt;BR /&gt;- Make sure the Interface Clock Frequency between the USB TAP or Ethernet TAP and the target is set to the maximum supported data rate.&lt;BR /&gt;&lt;BR /&gt;- Make sure the target-initialization file used by the Flash Programmer does not enable caches in the target processor.&lt;BR /&gt;&lt;BR /&gt;- Make sure the Flash Programmer's Target RAM Buffer Size is set to the maximum size supported by the target RAM.&lt;BR /&gt;&lt;BR /&gt;- Disable the &lt;STRONG&gt;Verify Target Memory Writes&lt;/STRONG&gt; option in the Flash Programmer.&lt;BR /&gt;&lt;BR /&gt;If all of these steps have been taken and the Flash Programmer is still taking a long time to program the flash, then examine your S-Record file and look for a large number of gaps in the addresses written to flash. The CodeWarrior Flash Programmer works best if there are no gaps between flash addresses. Every time there is a break or discontinuity between addresses, the CodeWarrior Flash Programmer flushes the Target RAM Buffer and starts over, filling it with data from the S-Record file. Each one of these breaks/flushes interrupts the steady flow of data to the target flash, and thus slows down the Flash Programmer.&lt;BR /&gt;&lt;BR /&gt;A workaround to this situation is to convert the S-Record file to a binary file, filling all the gaps or holes with values of 0xFF, thereby creating a continuous stream of data from start to finish. One such converter can be found at &lt;A href="http://www.s-record.com." rel="nofollow" target="_blank"&gt;http://www.s-record.com.&lt;/A&gt; Be sure to use the &lt;CODE&gt;-o&lt;/CODE&gt; parameter to define the address where you want your data to start, otherwise the &lt;CODE&gt;srec2bin.exe&lt;/CODE&gt; utility fills your binary file with filler data from a starting address of 0x00000000 up to the starting address of your real data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 03:22:51 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192084#M251</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-14T03:22:51Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192085#M252</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Q: How can I get &lt;CODE&gt;const&lt;/CODE&gt; variables to be linked separately from text strings when building code with CodeWarrior for StarCore?&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt;&amp;nbsp;In order to get constants allocated in a separate section from strings, you can use&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;place (ALL_STRING)&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;in your &lt;CODE&gt;.appli&lt;/CODE&gt; file.&lt;BR /&gt;&lt;BR /&gt;If you build with&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;String_To_Rom= TRUE&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;you need to define a dedicated ROM section as follows:&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;rom = [&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;strings: ".string",&lt;BR /&gt; &amp;nbsp;&amp;nbsp;]&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;If you are not building with&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; String_To_Rom= TRUE&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;you need to define a dedicated data section as follows:&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;data= [&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;...&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;strings: ".string",&lt;BR /&gt; &amp;nbsp;&amp;nbsp;]&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;Then use&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;place (ALL_STRING) in strings&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;This should place all string constants in the section &lt;CODE&gt;.string&lt;/CODE&gt;.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 03:26:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192085#M252</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-14T03:26:18Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192086#M253</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Q: In CodeWarrior for StarCore, if you Run rather than Debug a project, can you still get console I/O?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;When you run an application instead of debugging it, the debugger performs the following actions:&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;- Configures the target by executing the commands in the Target Initialization File. This file is specified in the &lt;STRONG&gt;Target&lt;/STRONG&gt; option of &lt;STRONG&gt;SC Debugger Target&lt;/STRONG&gt; panel.&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;- Downloads the code to the target and starts program execution. No debugging session is started, so output to console window is not possible.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 03:29:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192086#M253</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-14T03:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192087#M254</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Q: In CodeWarrior for StarCore, how do I force code/data into specific areas of memory?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;Basically you can place code (or data) in a specific section using either a pragma, or an application configuration file (&lt;CODE&gt;*.appli&lt;/CODE&gt;).&lt;BR /&gt;&lt;BR /&gt;If you decide to use a pragma to place code from a specific module into, say, a section called &lt;CODE&gt;.mySection&lt;/CODE&gt;, you can use the pragma &lt;CODE&gt;pgm_seg_name&lt;/CODE&gt;:&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;#pragma pgm_seg_name ".mySection "&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;In this example, the code from all functions within that module are allocated in the specified section.&lt;BR /&gt;There are pragmas &lt;CODE&gt;data_seg_name&lt;/CODE&gt;, &lt;CODE&gt;bss_seg_name&lt;/CODE&gt;, and &lt;CODE&gt;rom_seg_name&lt;/CODE&gt; that allow you to place initialized data, un-initialized data or constant data into their respective user-defined sections. The section can then be placed in the desired memory area using the &lt;CODE&gt;.lcf&lt;/CODE&gt; file.&lt;BR /&gt;&lt;BR /&gt;If you decide to go with an application configuration file, we recommend that you to create a project for a MSC8144_ADS board without SDOS support to generate an &lt;CODE&gt;.appli&lt;/CODE&gt; file that can be used as a starting point.&lt;BR /&gt;Check the file &lt;CODE&gt;demo.appli&lt;/CODE&gt; in the &lt;CODE&gt;Application_file&lt;/CODE&gt; folder for an example on how to allocate functions/data in user-defined sections.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 03:31:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192087#M254</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-14T03:31:48Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192088#M255</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;Q: I was using a parallel port when debugging with CodeWarrior. However, now I am using a USB TAP interface and CodeWarrior does not recognize it. I cannot get the CCS software to switch from using the parallel port to the USB TAP. How do I corrrect this?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt; You need to modify the configuration file that the CodeWarrior Connection Server (CCS) uses to determine which interface to use.&lt;BR /&gt;&lt;BR /&gt;1) Quit the IDE.&lt;BR /&gt;2) Close all CCS icons on the Windows status bar by right-clicking on them and choosing &lt;STRONG&gt;Quit CCS&lt;/STRONG&gt;.&lt;BR /&gt;3) Start the IDE.&lt;BR /&gt;4) Select &lt;STRONG&gt;File &amp;gt; Open&lt;/STRONG&gt; and choose the file &lt;CODE&gt;{CodeWarrior Installation}\ccs\bin\ccs.cfg&lt;/CODE&gt;.&lt;BR /&gt;5) Change &lt;CODE&gt;config cc Parallel:1&lt;/CODE&gt; to &lt;CODE&gt;config cc utap&lt;/CODE&gt;.&lt;BR /&gt;6) Save the changes and close the edit window.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 03:34:47 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192088#M255</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-14T03:34:47Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192089#M256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Q: For CodeWarrior for StarCore, in the application configuration file, how can I allocate variables into different sections?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt; Suppose you want to allocate a global variable called &lt;CODE&gt;MyTable&lt;/CODE&gt; into a section called &lt;CODE&gt;MyTableSec&lt;/CODE&gt;, you can create an application configuration file looking as follows:&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;configuration&lt;BR /&gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;view test&lt;BR /&gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;section&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;data = [data1:"MyTableSec"]&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;end section&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;place (_MyTable) in data1&lt;BR /&gt; &amp;nbsp;&amp;nbsp;end view&lt;BR /&gt;&lt;BR /&gt; &amp;nbsp;&amp;nbsp;use view test&lt;BR /&gt;&lt;BR /&gt; end configuration&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;The compiler adds a "_" prefix to the symbol name internally. Therefore, you need to write &lt;CODE&gt;_MyTable&lt;/CODE&gt; to allocate the symbol &lt;CODE&gt;MyTable&lt;/CODE&gt; in a specific section.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 03:38:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192089#M256</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-14T03:38:16Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192090#M257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;Q:&lt;/STRONG&gt; &lt;STRONG&gt;I am getting the message &lt;CODE&gt;support for long long and double is insufficiently specified&lt;/CODE&gt; due to &lt;CODE&gt;.asm&lt;/CODE&gt; files I have in my project. How can I avoid that?&lt;/STRONG&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt; To prevent the linker from generating this message for assembly source files when the 64-bit datatype support is activated in ANSI C, you need to add following line at the beginning of the assembly source file:&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;DEFINE .slld '1'&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 03:42:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192090#M257</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-14T03:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192091#M258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Q: In CodeWarrior for StarCore, how can I access the symbols defined in my linker control file (&lt;CODE&gt;.lcf&lt;/CODE&gt;) from a source file?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I define a symbol as:&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;.provide mySymbol, 0x0F&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;I get a linker error message if I use the symbol as follows:&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;unsigned long int data = mySymbol&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;Why is that happening?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt;&amp;nbsp;When you define a symbol in the &lt;CODE&gt;.lcf&lt;/CODE&gt; file as follows:&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;.provide mySymbol, 0x0F&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;you define a symbol, &lt;CODE&gt;mySymbol&lt;/CODE&gt; whose address is 0x0F.&lt;BR /&gt;&lt;BR /&gt;So in order to make sure the variable &lt;CODE&gt;data&lt;/CODE&gt; gets initialized with the contents of address 0x0F, you need to write:&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;data = (unsigned long int)(&amp;amp;mySymbol);&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;Writing &lt;CODE&gt;data = mySymbol&lt;/CODE&gt; reads 4 bytes of data storage from address 0x0F-0x02. This is not legal on StarCore, where all 4-byte read accesses should be aligned to an even boundary.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 03:45:19 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192091#M258</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-14T03:45:19Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192092#M259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Q: I'm trying to debug an application already loaded into ROM. In this case, how should the debugger be started in order to for it to have access to the symbols and source code?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt; This can be achieved as follows:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;1) Double-click on &lt;CODE&gt;HIWAVE.exe&lt;/CODE&gt; in the File Explorer.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;2) &lt;STRONG&gt;Select File &amp;gt; Open Configuration&lt;/STRONG&gt; and browse for your project's &lt;CODE&gt;.ini&lt;/CODE&gt; file.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This file is usually located in your project directory and is named according to your connection interface.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; For example, if you using a P&amp;amp;E Multilink cable, the file is named &lt;CODE&gt;P&amp;amp;E_Multilink_CyclonePro.ini&lt;/CODE&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;3) Select &lt;STRONG&gt;File &amp;gt; Load Application&lt;/STRONG&gt;.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;4) Browse for your application &lt;CODE&gt;.abs&lt;/CODE&gt; file.&lt;BR /&gt;&amp;nbsp;&amp;nbsp;5) Click &lt;STRONG&gt;Load Symbols&lt;/STRONG&gt;.&lt;BR /&gt;&lt;BR /&gt;You should be connected to the board and have access to the application's symbolic information.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 03:48:14 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192092#M259</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-14T03:48:14Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192093#M260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Q: I have a board with several StarCore DSPs on it. Two StarCore DSPs are running the exact same code. When I set a breakpoint in this common code, how can I control to which DSP the breakpoint is associated?&amp;nbsp;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt; In a multi-DSP application, it is not recommended to set breakpoint in CodeWarrior Edit windows. What you are doing is activating the breakpoint for whatever is the default core. It is extremely hard to control what is the default core at a given moment.&lt;BR /&gt;&lt;BR /&gt;To make sure you set a breakpoint for the core you are interested in, you need to set it either in the Core Thread window, or use a Memory window opened for that core.&lt;BR /&gt;&lt;BR /&gt;Using the Core Thread window is fine if you want to set a breakpoint in the function where the core is currently stopped. If you wish to place the breakpoint in another function, we recommend using the Memory window.&lt;BR /&gt;&lt;BR /&gt;This can be achieved as follows:&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 1) Right-click in the Thread window of the core where you want to set the breakpoint.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 2) In the drop down menu that appears, select &lt;STRONG&gt;View Memory&lt;/STRONG&gt;. A Memory window opens for the selected core.&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 3) In the Memory window's &lt;STRONG&gt;Display&lt;/STRONG&gt; edit box, enter the name of the function where you want to set a breakpoint (for example, &lt;CODE&gt;MyFunction&lt;/CODE&gt;).&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 4) Set the View combo box to &lt;STRONG&gt;Source&lt;/STRONG&gt; or &lt;STRONG&gt;Mixed&lt;/STRONG&gt; (Whatever you feel more comfortable with).&lt;BR /&gt;&amp;nbsp;&amp;nbsp; 5) Set your breakpoint in the Memory window.&lt;BR /&gt;&lt;BR /&gt;If set in shared memory, the breakpoint will trigger for all cores on the same DSP as the core you selected.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 03:50:40 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192093#M260</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-14T03:50:40Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192094#M261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Q: How do I force alignment of a variable without using a &lt;CODE&gt;#pragma align x&lt;/CODE&gt;?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;That is, how can I set the alignment of variables in memory without the use of compiler-specific directives?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt; Use the &lt;CODE&gt;__attribute(align(n))&lt;/CODE&gt; function to force alignment.&lt;BR /&gt;&lt;BR /&gt;For example:&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;typedef struct {&lt;BR /&gt; short a;&lt;BR /&gt; short b;&lt;BR /&gt; short c;&lt;BR /&gt; __attribute__((aligned(8))) short test[16];&lt;BR /&gt; short * ptr;&lt;BR /&gt; } OK1_T;&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;or&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;__attribute__((aligned(2))) unsigned char my_char;&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 04:10:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192094#M261</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-14T04:10:09Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192095#M262</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Q: How do I assign my StarCore code to a section without using pragmas?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt; The StarCore compiler now supports GCC-like style attributes to define a section, like so:&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;__attribute__(section(“sect_name”)).&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;Here is an example that defines the sections &lt;CODE&gt;sec1&lt;/CODE&gt; and &lt;CODE&gt;sec2&lt;/CODE&gt;:&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;extern void example( void ) __attribute__ ((section ("sec1")));&lt;BR /&gt;&lt;BR /&gt; int x __attribute__ ((section("sec2")) = 0;&lt;BR /&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Apr 2010 21:12:09 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192095#M262</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-14T21:12:09Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192096#M263</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;FONT size="3"&gt;&lt;STRONG&gt;Q: In CodeWarrior for MXC 2.2, how do I setup trace triggers without having to set OCE events and Nexus hardware registers?&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt; CodeWarrior for MXC 2.2 and future releases support Trace points. To use these, simply right-click on your source code or dissassembly window during a debug session and &lt;STRONG&gt;Select Trace Start point&lt;/STRONG&gt; or &lt;STRONG&gt;Trace Stop point&lt;/STRONG&gt; to set a range of specific code for tracing.&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 02:07:32 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192096#M263</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-15T02:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior for StarCore DSPs, Classic IDE</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192097#M264</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;STRONG&gt;&lt;FONT size="3"&gt;Q: In CodeWarrior for StarCore, what is the difference between &lt;CODE&gt;.segment&lt;/CODE&gt; and &lt;CODE&gt;.concatenate&lt;/CODE&gt; linker directives?&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;A:&lt;/STRONG&gt; The &lt;CODE&gt;.segment&lt;/CODE&gt; directive combines all sections that match the specified patterns into a new segment, at the current location counter or at the memory address specified by .org directive&lt;BR /&gt;&lt;BR /&gt;The .concatenate directive concatenates a list of &lt;CODE&gt;OVERLAY&lt;/CODE&gt; sections, in the specified order. Concatenate pertains only to overlay sections. Overlay sections in the list must share such properties as flags and section type.&lt;BR /&gt;&lt;BR /&gt;For the StarCore MSC81xx, it is recommended that you use the &lt;CODE&gt;.concatenate&lt;/CODE&gt; instead of &lt;CODE&gt;.segment&lt;/CODE&gt; directive.&lt;BR /&gt;&lt;BR /&gt;Why should &lt;CODE&gt;.concatenate&lt;/CODE&gt; directive be used?&lt;BR /&gt;First, this can be used to reduce the number of descriptors.&lt;BR /&gt;Second, the &lt;CODE&gt;.concatenate&lt;/CODE&gt; directive simulates the behavior for the &lt;CODE&gt;.segment&lt;/CODE&gt; directive, but this directive creates a section instead of segment.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Apr 2010 02:11:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-StarCore/CodeWarrior-for-StarCore-DSPs-Classic-IDE/m-p/192097#M264</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2010-04-15T02:11:55Z</dc:date>
    </item>
  </channel>
</rss>

