<?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: Can't receive Ethernet frames in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Can-t-receive-Ethernet-frames/m-p/153622#M4203</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I actually used both Paolo's and Mark's suggestions.&amp;nbsp; I compared the registers with a MQX build, and found several differences.&amp;nbsp; But I zeroed in on RDAR based on the suggestion and based on the datasheet description.&amp;nbsp; I added a line to my code to set the RDAR bit and now the interrupt bit gets set when it Rx data!&amp;nbsp; Yay!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Jul 2011 21:53:52 GMT</pubDate>
    <dc:creator>jrmymllr</dc:creator>
    <dc:date>2011-07-26T21:53:52Z</dc:date>
    <item>
      <title>Can't receive Ethernet frames</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Can-t-receive-Ethernet-frames/m-p/153619#M4200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a M52259EVB board that I'm using to develop firmware for future custom MCF52259 boards.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;At this point, I'm just trying to transmit and receive something over Ethernet.&amp;nbsp; I won't be using a TCP/IP stack anyway, so currently I have things very simple and stripped down.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a transmit function that I have set up to be called when I press one of the eval board buttons.&amp;nbsp; That seems to work.&amp;nbsp; In the debugger, I can see that many FEC registers change (EIR, RMON_T_PACKETS, RMON_T_BC_PKT,&amp;nbsp;RMON_T_P64, RMON_T_OCTETS, IEEE_T_FRAME_OK, IEEE_T_OCTETS_OK) after I have pressed this button.&amp;nbsp; I can also see the Activity LED on the eval board blink, and my computer is recieving data.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I send data to the board the only indication it is receiving somthing is that the Activity LED blinks.&amp;nbsp; But no FEC registers change, and the RxBD (buffer descriptor) status does not change.&amp;nbsp; I used Processor Expert to configure the FEC.&amp;nbsp; I have promiscuous mode enabled.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Considering it can transmit, shouldn't it be set up to Rx?&amp;nbsp; What config bits would prevent Rx in this situation?&amp;nbsp; Sorry for the slightly vague question, but I'll start with this vs. posting a bunch of messy test code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 01:56:41 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Can-t-receive-Ethernet-frames/m-p/153619#M4200</guid>
      <dc:creator>jrmymllr</dc:creator>
      <dc:date>2011-07-26T01:56:41Z</dc:date>
    </item>
    <item>
      <title>Re: Can't receive Ethernet frames</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Can-t-receive-Ethernet-frames/m-p/153620#M4201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Check that Rx buffer descriptor polling is enabled: &lt;STRONG&gt;RDAR = 0﻿&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Then check that the buffer descriptors are configured correctly (simulator to Tx) with the empty bit set in each descriptor (0x8000﻿).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 04:14:55 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Can-t-receive-Ethernet-frames/m-p/153620#M4201</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2011-07-26T04:14:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can't receive Ethernet frames</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Can-t-receive-Ethernet-frames/m-p/153621#M4202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Another quick idea might be to compare all your FEC registers after your configuration/init with another TCP/IP stack like Inteniche or RTCS (MQX) after configuration/init to make sure all your registers look OK. As you know, there are a lot of reigsters! Then check for obvious differences like MAC address or stuff like that. Also check EIMR&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If this is OK, then you can check buffer descriptors:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1. &amp;gt;Try polling during rx. Check EIR. Maybe Interrupt controller is not configured correctly or global mask is not set low enough for your configuration (like 0).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;2 .&amp;gt;To reduce variables in the equation, try internal loopback, this way you will exercise tx-rx in one action. Also if your PHY supports it, try external loopback.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps you&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 09:03:23 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Can-t-receive-Ethernet-frames/m-p/153621#M4202</guid>
      <dc:creator>PaoloRenzo</dc:creator>
      <dc:date>2011-07-26T09:03:23Z</dc:date>
    </item>
    <item>
      <title>Re: Can't receive Ethernet frames</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Can-t-receive-Ethernet-frames/m-p/153622#M4203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I actually used both Paolo's and Mark's suggestions.&amp;nbsp; I compared the registers with a MQX build, and found several differences.&amp;nbsp; But I zeroed in on RDAR based on the suggestion and based on the datasheet description.&amp;nbsp; I added a line to my code to set the RDAR bit and now the interrupt bit gets set when it Rx data!&amp;nbsp; Yay!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Jul 2011 21:53:52 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/Can-t-receive-Ethernet-frames/m-p/153622#M4203</guid>
      <dc:creator>jrmymllr</dc:creator>
      <dc:date>2011-07-26T21:53:52Z</dc:date>
    </item>
  </channel>
</rss>

