<?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: CodeWarrior 5.2 S19 Compare in S12 / MagniV Microcontrollers</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CodeWarrior-5-2-S19-Compare/m-p/1405218#M18435</link>
    <description>&lt;P&gt;Hello&amp;nbsp;fanziyu,&lt;/P&gt;
&lt;P&gt;interesting topic. Generally yes, if all conditions are the same, you should get the same result.&lt;/P&gt;
&lt;P&gt;From your picture:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;please ignore the first line starting with S0 - it is just a header - no relationship to MCU memory content.&lt;/LI&gt;
&lt;LI&gt;The initial part of code (approx. 0xC000~0xC050) is identical - that will be most probably startup code.&lt;/LI&gt;
&lt;LI&gt;The next code looks quite similar with differences at dedicated places - it looks like some offset in addresses. For example 0887&lt;STRONG&gt;AA&lt;/STRONG&gt; 0887&lt;STRONG&gt;AF&lt;/STRONG&gt; 08 97&lt;STRONG&gt;B9&lt;/STRONG&gt;&amp;nbsp;vs 08AC&lt;STRONG&gt;A1&lt;/STRONG&gt; 08AC&lt;STRONG&gt;A6&lt;/STRONG&gt; 08AC&lt;STRONG&gt;B0&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If you would like to investigate, please compare the map files and check whether variables are on the same places in memory.&lt;/P&gt;
&lt;P&gt;Of course, as first you should compare the content of linker files and check whether you have the same compiler and linker settings.&lt;BR /&gt;For example: The linker file may contain some constant names in ENTRIES section. These constants will be not excluded by linker as unused (default behavior). This may be also confirmed in map file where all unused variables/constants are listed in one of the sections.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope it helps you.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;RadekS&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 26 Jan 2022 14:10:35 GMT</pubDate>
    <dc:creator>RadekS</dc:creator>
    <dc:date>2022-01-26T14:10:35Z</dc:date>
    <item>
      <title>CodeWarrior 5.2 S19 Compare</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CodeWarrior-5-2-S19-Compare/m-p/1403720#M18424</link>
      <description>&lt;P&gt;MCU MC9S12G128&lt;/P&gt;&lt;P&gt;TOOL Codewarrior 5.2&amp;nbsp;&lt;/P&gt;&lt;P&gt;Problem:&lt;/P&gt;&lt;P&gt;I have a project "A" ,then i make a new project "B" which have the same code with project "A" ,then i make another new project "C" which have the same code with project "A".Finally i find that the S19 files of the three projects are all different.I do not use "import project" function to make the three projects.What is more,the three project all work well in the mcu,all functions are normal.&lt;/P&gt;&lt;P&gt;In my mind,as long as the code is the same,the files to be programed into the mcu should be the same.&lt;/P&gt;&lt;P&gt;Could you help me ?&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 05:59:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CodeWarrior-5-2-S19-Compare/m-p/1403720#M18424</guid>
      <dc:creator>fanziyu</dc:creator>
      <dc:date>2022-01-24T05:59:22Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior 5.2 S19 Compare</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CodeWarrior-5-2-S19-Compare/m-p/1403951#M18425</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;I do not believe we will be able to help you.. Why? Original project was probably done under different version of the CW. A new project has probably different optimization, compiler setup, variables setup, ….. I can not imagine how to compare two existing projects for all possible setup options in the environment. There is also possibility that there was some patch installed. There could be anything.&lt;/P&gt;
&lt;P&gt;Best regards,&lt;/P&gt;
&lt;P&gt;Ladislav&lt;/P&gt;</description>
      <pubDate>Mon, 24 Jan 2022 12:06:03 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CodeWarrior-5-2-S19-Compare/m-p/1403951#M18425</guid>
      <dc:creator>lama</dc:creator>
      <dc:date>2022-01-24T12:06:03Z</dc:date>
    </item>
    <item>
      <title>Re: CodeWarrior 5.2 S19 Compare</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CodeWarrior-5-2-S19-Compare/m-p/1405218#M18435</link>
      <description>&lt;P&gt;Hello&amp;nbsp;fanziyu,&lt;/P&gt;
&lt;P&gt;interesting topic. Generally yes, if all conditions are the same, you should get the same result.&lt;/P&gt;
&lt;P&gt;From your picture:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;please ignore the first line starting with S0 - it is just a header - no relationship to MCU memory content.&lt;/LI&gt;
&lt;LI&gt;The initial part of code (approx. 0xC000~0xC050) is identical - that will be most probably startup code.&lt;/LI&gt;
&lt;LI&gt;The next code looks quite similar with differences at dedicated places - it looks like some offset in addresses. For example 0887&lt;STRONG&gt;AA&lt;/STRONG&gt; 0887&lt;STRONG&gt;AF&lt;/STRONG&gt; 08 97&lt;STRONG&gt;B9&lt;/STRONG&gt;&amp;nbsp;vs 08AC&lt;STRONG&gt;A1&lt;/STRONG&gt; 08AC&lt;STRONG&gt;A6&lt;/STRONG&gt; 08AC&lt;STRONG&gt;B0&lt;/STRONG&gt;.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;If you would like to investigate, please compare the map files and check whether variables are on the same places in memory.&lt;/P&gt;
&lt;P&gt;Of course, as first you should compare the content of linker files and check whether you have the same compiler and linker settings.&lt;BR /&gt;For example: The linker file may contain some constant names in ENTRIES section. These constants will be not excluded by linker as unused (default behavior). This may be also confirmed in map file where all unused variables/constants are listed in one of the sections.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I hope it helps you.&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;RadekS&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Jan 2022 14:10:35 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/CodeWarrior-5-2-S19-Compare/m-p/1405218#M18435</guid>
      <dc:creator>RadekS</dc:creator>
      <dc:date>2022-01-26T14:10:35Z</dc:date>
    </item>
  </channel>
</rss>

