<?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: Data alignment issue while changing &amp;quot;Linking order&amp;quot; in &amp;quot;Codewarrior for MPC55xx&amp;quot;</title>
    <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Data-alignment-issue-while-changing-quot-Linking-order-quot-in/m-p/232380#M9151</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi HK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The link order defined the list order of modules integration in the application.&lt;/P&gt;&lt;P&gt;Best example explaining the behavior is with the printf example.&lt;/P&gt;&lt;P&gt;If your application contains your own printf code in a souce file as my_printf.c file for instance.&lt;/P&gt;&lt;P&gt;If the file is listed before the library in the link order, your own printf code will be used.&lt;/P&gt;&lt;P&gt;Else if the lib is listed before the my_printf.c file, the application will use the printf code defined in lib.&lt;/P&gt;&lt;P&gt;So the link order could have a big impact on your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be you've experienced a similar problem.&lt;/P&gt;&lt;P&gt;hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 07 Aug 2013 13:33:55 GMT</pubDate>
    <dc:creator>trytohelp</dc:creator>
    <dc:date>2013-08-07T13:33:55Z</dc:date>
    <item>
      <title>Data alignment issue while changing "Linking order" in "Codewarrior for MPC55xx"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Data-alignment-issue-while-changing-quot-Linking-order-quot-in/m-p/232379#M9150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Team,&lt;/P&gt;&lt;P&gt;I am using MPC5534 controller for our application. I use code warrior as IDE. The IDE has been compiling the source code well and is being used since 4 years.&lt;/P&gt;&lt;P&gt;There is a strange behavior observed and is described below:&lt;/P&gt;&lt;P&gt;One of the C file has been rearranged in "Linking order", followed by successful compilation. I downloaded the MOT file to target board. The software runs fine without any RESETS or exceptions. However I see that CAN messages are coming out from board normally but the contents are changing randomly unlike normal case. When MAP files are compared between working / non-working conditions, there are absolutely no extra RAM or FLASH memory usage, only difference is order of memory addressed used for variable and functions in memory layout. &lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What could be the problem?&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Hk&lt;/P&gt;&lt;P style="min-height: 8pt; padding: 0px;"&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Message was edited by: Hk&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 31 Jul 2013 08:22:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Data-alignment-issue-while-changing-quot-Linking-order-quot-in/m-p/232379#M9150</guid>
      <dc:creator>vitra_hk</dc:creator>
      <dc:date>2013-07-31T08:22:00Z</dc:date>
    </item>
    <item>
      <title>Re: Data alignment issue while changing "Linking order" in "Codewarrior for MPC55xx"</title>
      <link>https://community.nxp.com/t5/CodeWarrior-for-MCU/Data-alignment-issue-while-changing-quot-Linking-order-quot-in/m-p/232380#M9151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi HK,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The link order defined the list order of modules integration in the application.&lt;/P&gt;&lt;P&gt;Best example explaining the behavior is with the printf example.&lt;/P&gt;&lt;P&gt;If your application contains your own printf code in a souce file as my_printf.c file for instance.&lt;/P&gt;&lt;P&gt;If the file is listed before the library in the link order, your own printf code will be used.&lt;/P&gt;&lt;P&gt;Else if the lib is listed before the my_printf.c file, the application will use the printf code defined in lib.&lt;/P&gt;&lt;P&gt;So the link order could have a big impact on your application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May be you've experienced a similar problem.&lt;/P&gt;&lt;P&gt;hope this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Pascal&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Aug 2013 13:33:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/CodeWarrior-for-MCU/Data-alignment-issue-while-changing-quot-Linking-order-quot-in/m-p/232380#M9151</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2013-08-07T13:33:55Z</dc:date>
    </item>
  </channel>
</rss>

