<?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>ColdFire/68K Microcontrollers and ProcessorsのトピックDEMOJM Coldfire locks up when compiled with Codewarrior V6.1</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DEMOJM-Coldfire-locks-up-when-compiled-with-Codewarrior-V6-1/m-p/177565#M7059</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The example programs work when compiled with the version of Codewarrior that comes in the kit, V6.1, but if I compile them with Codewarrior V6.3 they all lock up in disable_ep_tx().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anybody know a fix for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Feb 2010 23:23:31 GMT</pubDate>
    <dc:creator>nophead</dc:creator>
    <dc:date>2010-02-19T23:23:31Z</dc:date>
    <item>
      <title>DEMOJM Coldfire locks up when compiled with Codewarrior V6.1</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DEMOJM-Coldfire-locks-up-when-compiled-with-Codewarrior-V6-1/m-p/177565#M7059</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The example programs work when compiled with the version of Codewarrior that comes in the kit, V6.1, but if I compile them with Codewarrior V6.3 they all lock up in disable_ep_tx().&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anybody know a fix for this?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Feb 2010 23:23:31 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DEMOJM-Coldfire-locks-up-when-compiled-with-Codewarrior-V6-1/m-p/177565#M7059</guid>
      <dc:creator>nophead</dc:creator>
      <dc:date>2010-02-19T23:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: DEMOJM Coldfire locks up when compiled with Codewarrior V6.1</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DEMOJM-Coldfire-locks-up-when-compiled-with-Codewarrior-V6-1/m-p/177566#M7060</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well looking into the assembler code it appears the V6.3 compiler is badly broken:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The line:&lt;/P&gt;&lt;P&gt;MCF_USB_ENDPT(ep) &amp;amp;= ~MCF_USB_ENDPT_TX_EN;&lt;/P&gt;&lt;P&gt;Translates to:&lt;/P&gt;&lt;P&gt;LEA 0xFFFF9AC0,A0&lt;/P&gt;&lt;P&gt;MOV3Q #2,D0&lt;/P&gt;&lt;P&gt;BCLR D0(A0,D0.L*4)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;D0 is used as both the bit to be cleared and the array index. It should use D7 as the index.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The V6.1 compiler produces much worse code but at least it is correct.&lt;/P&gt;&lt;P&gt;CLR.L D0&lt;/P&gt;&lt;P&gt;MOVE.B D7,D0&lt;/P&gt;&lt;P&gt;LEA 0xFFFF9AC0,A0&lt;/P&gt;&lt;P&gt;LEA (A0,D0.L*4),A0&lt;/P&gt;&lt;P&gt;MVZ.B (A0),D0&lt;/P&gt;&lt;P&gt;BCLR #2,D0&lt;/P&gt;&lt;P&gt;MOVE.B D0,(A0)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&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>Sat, 20 Feb 2010 00:34:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/DEMOJM-Coldfire-locks-up-when-compiled-with-Codewarrior-V6-1/m-p/177566#M7060</guid>
      <dc:creator>nophead</dc:creator>
      <dc:date>2010-02-20T00:34:54Z</dc:date>
    </item>
  </channel>
</rss>

