<?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のトピックRe: Important ColdFire Lite for 52259 bug found!</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Important-ColdFire-Lite-for-52259-bug-found/m-p/156173#M4541</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll have the engineer contact you at your Gmail address.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 03 Mar 2009 00:18:07 GMT</pubDate>
    <dc:creator>J2MEJediMaster</dc:creator>
    <dc:date>2009-03-03T00:18:07Z</dc:date>
    <item>
      <title>Important ColdFire Lite for 52259 bug found!</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Important-ColdFire-Lite-for-52259-bug-found/m-p/156169#M4537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I just found an important bug in Coldfire Lite when compiled for the 52259 CPU. This bug will make the board hang during initialisation!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The bug is located in &lt;SPAN style="color: #ff0000;"&gt;MCF52259_sysinit.c&lt;/SPAN&gt; , near the end of the function &lt;SPAN style="color: #ff0000;"&gt;void mcf52259_ePHY_init(void)&lt;/SPAN&gt;:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is the original version:&lt;/P&gt;&lt;PRE&gt;
 while(!(fec_mii_read(FEC_PHY0, &lt;SPAN style="color: #ff0000;"&gt;0x10&lt;/SPAN&gt;, &amp;amp;reg0))) // read PHY status register
 {
&amp;nbsp; reg0=0;
 };
 DUPLEX_phy_r17_dpm = (int)((reg0&amp;amp;0x0004)&amp;gt;&amp;gt;2); // 1=full,0=half duplex...used in ifec.c

 do&amp;nbsp; //FSL read PHY status register
 {
&amp;nbsp; fec_mii_read(FEC_PHY0, &lt;SPAN style="color: #ff0000;"&gt;0x10&lt;/SPAN&gt;, &amp;amp;reg0);
 }while (!(reg0&amp;amp;(PHY_R1_LS)));&amp;nbsp; //FSL exit while loop when Link Status up&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;This is what should be there:&lt;/P&gt;&lt;PRE&gt;
 while(!(fec_mii_read(FEC_PHY0, &lt;SPAN style="color: #ff0000;"&gt;PHY_REG_SR&lt;/SPAN&gt;, &amp;amp;reg0))) // read PHY status register
 {
&amp;nbsp; reg0=0;
 };
 DUPLEX_phy_r17_dpm = (int)((reg0&amp;amp;0x0004)&amp;gt;&amp;gt;2); // 1=full,0=half duplex...used in ifec.c

 do&amp;nbsp; //FSL read PHY status register
 {
&amp;nbsp; fec_mii_read(FEC_PHY0, &lt;SPAN style="color: #ff0000;"&gt;PHY_REG_SR&lt;/SPAN&gt;, &amp;amp;reg0);
 }while (!(reg0&amp;amp;(PHY_R1_LS)));&amp;nbsp; //FSL exit while loop when Link Status up&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;P&gt;The actual value of &lt;SPAN style="color: #339966;"&gt;PHY_REG_SR&lt;/SPAN&gt; is &lt;SPAN style="color: #339966;"&gt;0x01&lt;/SPAN&gt;. This means that, in the original version of MCF52259_sysinit.c, the program is reading the wrong register (0x10, which actually corresponds to PHY_REG_IR, the PHY interrupt register).&lt;SPAN style="color: #ff0000;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Marc VDH on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-02-25&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;02:52 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:00:16 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Important-ColdFire-Lite-for-52259-bug-found/m-p/156169#M4537</guid>
      <dc:creator>vier_kuifjes</dc:creator>
      <dc:date>2020-10-29T09:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Important ColdFire Lite for 52259 bug found!</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Important-ColdFire-Lite-for-52259-bug-found/m-p/156170#M4538</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have checked with an enginner on this matter, and here is his response:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000ff" face="Arial"&gt;The M52259EVB has a National Semi DP83640 Ethernet PHY.&lt;/FONT&gt;&lt;/P&gt;&lt;DIV align="left" dir="ltr"&gt;&lt;SPAN class="700063216-26022009"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;That PHY has a status register at 0x10 that contains many useful parameters all in one register.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left" dir="ltr"&gt;&lt;SPAN class="700063216-26022009"&gt;&lt;FONT color="#0000ff" size="2"&gt;&lt;FONT face="Arial"&gt;Reference:&lt;/FONT&gt; &lt;A href="http://www.national.com/ds/DP/DP83640.pdf" rel="nofollow" target="_blank" title="http://www.national.com/ds/DP/DP83640.pdf"&gt;&lt;FONT face="Arial"&gt;&lt;/FONT&gt;&lt;/A&gt;&lt;A href="http://www.national.com/ds/DP/DP83640.pdf" target="test_blank"&gt;http://www.national.com/ds/DP/DP83640.pdf&lt;/A&gt;&lt;/FONT&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left" dir="ltr"&gt;&lt;SPAN class="700063216-26022009"&gt;&lt;FONT color="#0000ff"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left" dir="ltr"&gt;&lt;SPAN class="700063216-26022009"&gt;&lt;STRONG&gt;&lt;FONT face="Helvetica-Bold" size="1"&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;P align="left"&gt;&lt;STRONG&gt;&lt;FONT face="Helvetica-Bold" size="1"&gt;14.1.10 PHY Status Register (PHYSTS)&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;FONT face="Helvetica" size="1"&gt;&lt;/FONT&gt;&lt;P align="left"&gt;&lt;FONT face="Helvetica" size="1"&gt;This register provides a single location within the register set for quick access to commonly accessed information.&lt;/FONT&gt;&lt;/P&gt;&lt;STRONG&gt;&lt;FONT size="1"&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;P align="left"&gt;&lt;STRONG&gt;&lt;FONT size="1"&gt;TABLE 23. PHY Status Register (PHYSTS), address 0x10&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P align="left"&gt;&lt;STRONG&gt;&lt;FONT size="1"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="700063216-26022009"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial"&gt;&lt;SPAN class="250445217-26022009"&gt;There&lt;/SPAN&gt; are other register&lt;SPAN class="250445217-26022009"&gt;s&lt;/SPAN&gt; that can be used&lt;SPAN class="250445217-26022009"&gt;,&lt;/SPAN&gt; but we simpl&lt;SPAN class="250445217-26022009"&gt;y&lt;/SPAN&gt; choose this one.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="700063216-26022009"&gt;&lt;/SPAN&gt;&lt;DIV align="left" dir="ltr"&gt;&lt;SPAN class="058505116-26022009"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;The 0x10 register we have in the code is a valid National Semi PHY register and has worked for us.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left" dir="ltr"&gt;&lt;SPAN class="058505116-26022009"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;The 0x01 register he suggests is OK for Link Status but not duplex setting.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left" dir="ltr"&gt;&lt;SPAN class="058505116-26022009"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;The 0x10 register has both the Link and Duplex status.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="700063216-26022009"&gt;&lt;FONT color="#0000ff"&gt;&lt;FONT size="2"&gt;&lt;FONT face="Arial"&gt;&lt;SPAN class="250445217-26022009"&gt;Having said that, we&lt;/SPAN&gt; did notice a #if not set correctly that cause&lt;SPAN class="250445217-26022009"&gt;s&lt;/SPAN&gt;&amp;nbsp;&lt;SPAN class="250445217-26022009"&gt;the board&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN class="250445217-26022009"&gt;to fail to&lt;/SPAN&gt; connect in the same function.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="700063216-26022009"&gt;&lt;FONT color="#0000ff" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN class="700063216-26022009"&gt;&lt;FONT color="#0000ff" face="Courier New" size="2"&gt;&amp;nbsp;MCF_FEC_MSCR = MCF_FEC_MSCR_MII_SPEED((uint32)(SYS_CLK_MHZ/5));&lt;BR /&gt; &lt;FONT color="#ff0000"&gt;#if 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;----- WAS SET TO 1.......&lt;/FONT&gt;&lt;BR /&gt;&amp;nbsp;do&lt;BR /&gt;&amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;while(!(fec_mii_read(FEC_PHY0, PHY_REG_CR, &amp;amp;reg0)))&amp;nbsp;&amp;nbsp;//FSL read PHY control register&lt;BR /&gt;&amp;nbsp;&amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;reg0=0;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;};&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&lt;BR /&gt;&amp;nbsp;} while(reg0&amp;amp;PHY_R0_RESET);&amp;nbsp;&amp;nbsp;//Test RESET bit...1=in reset, 0=reset complete&lt;BR /&gt;#else&lt;BR /&gt;&amp;nbsp;for(myctr=0;myctr&amp;lt;32;myctr++)&lt;BR /&gt;&amp;nbsp;{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;fec_mii_read(myctr, PHY_REG_CR, &amp;amp;reg0);&lt;BR /&gt;&amp;nbsp;&amp;nbsp;if(reg0 != 0xffff)&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;break;&lt;BR /&gt;&amp;nbsp;}&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left" dir="ltr"&gt;&lt;SPAN class="250445217-26022009"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left" dir="ltr"&gt;&lt;SPAN class="250445217-26022009"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;A new version of ColdFire Lite was posted, and perhaps it will solve your problem.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left" dir="ltr"&gt;&lt;SPAN class="250445217-26022009"&gt;&lt;FONT color="#0000ff" face="Arial" size="2"&gt;The engineer is interested as why your change worked, and is willing to dicsuss the matter offline with you.&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left" dir="ltr"&gt;&lt;SPAN class="250445217-26022009"&gt;&lt;FONT color="#0000ff" face="Arial"&gt;&amp;nbsp;&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV align="left" dir="ltr"&gt;&lt;SPAN class="250445217-26022009"&gt;&lt;FONT color="#0000ff" face="Arial"&gt;---Tom&lt;/FONT&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 03:18:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Important-ColdFire-Lite-for-52259-bug-found/m-p/156170#M4538</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2009-02-27T03:18:00Z</dc:date>
    </item>
    <item>
      <title>Re: Important ColdFire Lite for 52259 bug found!</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Important-ColdFire-Lite-for-52259-bug-found/m-p/156171#M4539</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;Maybe it might work with the EVB board then, but the smaller DEMO board uses a MICREL PHY. The MICREL PHY doesn't appear to have a register 0x10. Maybe that is the reason the original version didn't work for me?...&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Marc VDH on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-02-26&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;08:29 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by Marc VDH on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-02-26&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;08:30 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 03:24:13 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Important-ColdFire-Lite-for-52259-bug-found/m-p/156171#M4539</guid>
      <dc:creator>vier_kuifjes</dc:creator>
      <dc:date>2009-02-27T03:24:13Z</dc:date>
    </item>
    <item>
      <title>Re: Important ColdFire Lite for 52259 bug found!</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Important-ColdFire-Lite-for-52259-bug-found/m-p/156172#M4540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I went checking for the new version. I found &lt;FONT color="#ff0000"&gt;&lt;SPAN&gt;ColdFire_TCP-IP_Lite_Rev3.2&lt;/SPAN&gt;&lt;/FONT&gt; which is available since the beginning of February and which is the version I have been testing with.&lt;/P&gt;&lt;P&gt;I also found &lt;FONT color="#ff0000"&gt;&lt;SPAN&gt;ColdFire_Lite_M52259EVB&lt;/SPAN&gt;&lt;/FONT&gt;.&lt;/P&gt;&lt;P&gt;There appear to be quite a number of differences between the two. I'm not sure which is the one you're referencing to though, but the files in the archive which contains ColdFire_Lite_M52259EVB appear to be older then the files in the revision 3.2 archive.&lt;/P&gt;&lt;P&gt;Maybe I should check through all the files with differences and keep the best from both!&lt;IMG alt=":smileyhappy:" class="emoticon emoticon-smileyhappy" id="smileyhappy" src="http://freescale.i.lithium.com/i/smilies/16x16_smiley-happy.gif" title="Smiley Happy" /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Contacting the engineer seems like a good idea to me too...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Feb 2009 16:31:25 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Important-ColdFire-Lite-for-52259-bug-found/m-p/156172#M4540</guid>
      <dc:creator>vier_kuifjes</dc:creator>
      <dc:date>2009-02-27T16:31:25Z</dc:date>
    </item>
    <item>
      <title>Re: Important ColdFire Lite for 52259 bug found!</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Important-ColdFire-Lite-for-52259-bug-found/m-p/156173#M4541</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll have the engineer contact you at your Gmail address.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;---Tom&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 03 Mar 2009 00:18:07 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Important-ColdFire-Lite-for-52259-bug-found/m-p/156173#M4541</guid>
      <dc:creator>J2MEJediMaster</dc:creator>
      <dc:date>2009-03-03T00:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Important ColdFire Lite for 52259 bug found!</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Important-ColdFire-Lite-for-52259-bug-found/m-p/156174#M4542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have checked out my "bug report" a little more closely. The original ePHY_init routine was written with only the52259EVB board in mind. This board uses a different PHY compared to the DEMO board. Both PHYs have a different register set, which means that the init routine for the EVB may not work for the DEMO board.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So I made a modification to make the init routine compatible with both EVB and DEMO boards, based on the board selection in processor.h&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The first piece of code shows the original code from the init routine, the second piece is my new version.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;
 while(!(fec_mii_read(FEC_PHY0, 0x10, &amp;amp;reg0))) // read PHY status register
 {
  reg0=0;
 };
 DUPLEX_phy_r17_dpm = (int)((reg0&amp;amp;0x0004)&amp;gt;&amp;gt;2); // 1=full,0=half duplex...used in ifec.c

 do  //FSL read PHY status register
 {
  fec_mii_read(FEC_PHY0, 0x10, &amp;amp;reg0);
 }while (!(reg0&amp;amp;(PHY_R1_LS)));  //FSL exit while loop when Link Status up&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;I still believe the original code contains a bug, by the way. There is a reference to a bit called PHY_R1_LS (link status) in PHY register 0x10.The link status bit is available in register 0x10, but not at the bit position PHY_R1_LS, which actually belongs to the PHY basic status register at adress 0x01.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;
 do  //FSL read PHY status register
 {
  fec_mii_read(FEC_PHY0, PHY_REG_SR, &amp;amp;reg0);
 }while (!(reg0&amp;amp;(PHY_R1_LS)));  //FSL exit while loop when Link Status up

#if M52259EVB
 while(!(fec_mii_read(FEC_PHY0, 0x10, &amp;amp;reg0))) // read DP83640 PHY status register
 {
  reg0=0;
 };
 DUPLEX_phy_r17_dpm = (int)((reg0&amp;amp;0x0004)&amp;gt;&amp;gt;2); // 1=full,0=half duplex...used in ifec.c
#else // M52259DEMO
 while ((reg0 &amp;amp; 0x1c) == 0)
 {
  while(!(fec_mii_read(FEC_PHY0, 0x1f, &amp;amp;reg0))) // read KSZ8041NL PHY control 2 register
  {
   reg0=0;
  };
 };
 DUPLEX_phy_r17_dpm = (int)((reg0&amp;amp;0x0010)&amp;gt;&amp;gt;4); // 1=full,0=half duplex...used in ifec.c
#endif&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;In my new version, I switched the link status detect and the full/half duplex readout. I think it makes more sense to wait for the link to become active before figuring out if the link is full or half duplex.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Checking the duplex had to be done differently in the EVB and DEMO boards because of the different PHY chips used. See the corrsponding data sheets for th actual registers/bits used.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Marc&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 29 Oct 2020 09:00:18 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Important-ColdFire-Lite-for-52259-bug-found/m-p/156174#M4542</guid>
      <dc:creator>vier_kuifjes</dc:creator>
      <dc:date>2020-10-29T09:00:18Z</dc:date>
    </item>
  </channel>
</rss>

