<?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>Classic/Legacy CodeWarriorのトピックRe: Migrating from Codewarrior v5.7.0 to Codewarrior v7.2 for Coldfire architecture</title>
    <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Migrating-from-Codewarrior-v5-7-0-to-Codewarrior-v7-2-for/m-p/190877#M4841</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give me details how you migrated the to CW 7.2?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Nov 2015 05:31:12 GMT</pubDate>
    <dc:creator>kavshi</dc:creator>
    <dc:date>2015-11-09T05:31:12Z</dc:date>
    <item>
      <title>Migrating from Codewarrior v5.7.0 to Codewarrior v7.2 for Coldfire architecture</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Migrating-from-Codewarrior-v5-7-0-to-Codewarrior-v7-2-for/m-p/190875#M4839</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I migrated a project for the Coldfire processor MCF5216 from Codewarrior V5.7.0 to Codewarrior V7.2. I made the necessary changes to the project for migration and the project compiles with no problems.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I debug the project (in winIDEA), it so happens that the code tries to access some unmapped memory region and as a result the program hangs.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Also, I noticed in the document giving instructions regarding migration to V7.2, that the assembly functions need to be declared with the "declspec"&amp;nbsp; qualifier. I do not have any assemler functions in my code but I do make use of some assembly instruction snippets. For example:&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;- - C code - -&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;asm&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;........&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;assembly code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;.....&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;-- C code --&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Will any specific changes have to be made regarding these codes in the project?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help me out here. I have been stuck with this for a long time now.&lt;/P&gt;&lt;P&gt;Thanks in advance.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;-Bhavya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Aug 2012 18:29:58 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Migrating-from-Codewarrior-v5-7-0-to-Codewarrior-v7-2-for/m-p/190875#M4839</guid>
      <dc:creator>cbhavi</dc:creator>
      <dc:date>2012-08-22T18:29:58Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from Codewarrior v5.7.0 to Codewarrior v7.2 for Coldfire architecture</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Migrating-from-Codewarrior-v5-7-0-to-Codewarrior-v7-2-for/m-p/190876#M4840</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I found a small piece of assembly code within a C interrupt function. This piece of code can be found in Coldfire Lite (file main.c):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;//FSL core WD interrupt__interrupt__ void core_wd(){#if WD_TEST   ADDRESS pc_on_stack;//FSL note that stack pointer (a7) was modified by the "C" function      asm { move.l a7,d0 };   //FSL place stack pointer address in d0   asm { add.l #36,d0 };   //FSL point to the start of the exception frame   asm { move.l d0,pc_on_stack }; //FSL update variable   asm { nop };         //FSL PC is +4 from the base of the exception frame   MCF_RCM_RCR = MCF_RCM_RCR_SOFTRST; //FSL Issue software reset command#endif   }&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;Maybe this piece of code can be used as a reference.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;P.S. Make sure to update your version of Codewarrior to 7.2.2, which contains important fixes.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:42:38 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Migrating-from-Codewarrior-v5-7-0-to-Codewarrior-v7-2-for/m-p/190876#M4840</guid>
      <dc:creator>vier_kuifjes</dc:creator>
      <dc:date>2020-10-29T09:42:38Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from Codewarrior v5.7.0 to Codewarrior v7.2 for Coldfire architecture</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Migrating-from-Codewarrior-v5-7-0-to-Codewarrior-v7-2-for/m-p/190877#M4841</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can you give me details how you migrated the to CW 7.2?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 05:31:12 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Migrating-from-Codewarrior-v5-7-0-to-Codewarrior-v7-2-for/m-p/190877#M4841</guid>
      <dc:creator>kavshi</dc:creator>
      <dc:date>2015-11-09T05:31:12Z</dc:date>
    </item>
    <item>
      <title>Re: Migrating from Codewarrior v5.7.0 to Codewarrior v7.2 for Coldfire architecture</title>
      <link>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Migrating-from-Codewarrior-v5-7-0-to-Codewarrior-v7-2-for/m-p/190878#M4842</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to &lt;A href="https://community.nxp.com/thread/379597"&gt;Migrating project from CW 6.2 to CW 10 &lt;/A&gt;&lt;/P&gt;&lt;P&gt;There are 2 TNs under the V7.2 installation.&lt;/P&gt;&lt;P&gt;Please refer to the \CodeWarrior for ColdFire V7.2\Help\PDF folder.&lt;/P&gt;&lt;P&gt;The TN256.pdf and TN268.pdf give some infor to move from V6.x to V7.2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have a great day,&lt;BR /&gt;Pascal&lt;BR /&gt;Freescale Technical Support&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;BR /&gt;Note: If this post answers your question, please click the Correct Answer button. Thank you!&lt;BR /&gt;-----------------------------------------------------------------------------------------------------------------------&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Nov 2015 07:53:22 GMT</pubDate>
      <guid>https://community.nxp.com/t5/Classic-Legacy-CodeWarrior/Migrating-from-Codewarrior-v5-7-0-to-Codewarrior-v7-2-for/m-p/190878#M4842</guid>
      <dc:creator>trytohelp</dc:creator>
      <dc:date>2015-11-10T07:53:22Z</dc:date>
    </item>
  </channel>
</rss>

