<?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>i.MX ProcessorsのトピックRe: iMX6 SDK Ethernet driver:  MAC transmit problem</title>
    <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-SDK-Ethernet-driver-MAC-transmit-problem/m-p/268081#M28302</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Very very strange:&amp;nbsp; it turns out this delay is only needed when running with the ARM DS-5 Eclipse debugger, which is how I loaded the SDK during development.&amp;nbsp; Using bootelf from Uboot to run the SDK, the transmit works fine.&amp;nbsp; Thanks ARM!&amp;nbsp; Or maybe it's yet another Eclipse special, who knows.&amp;nbsp; Be careful out there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Feb 2014 18:49:43 GMT</pubDate>
    <dc:creator>shefft</dc:creator>
    <dc:date>2014-02-20T18:49:43Z</dc:date>
    <item>
      <title>iMX6 SDK Ethernet driver:  MAC transmit problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-SDK-Ethernet-driver-MAC-transmit-problem/m-p/268078#M28299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: xx-small ! important; padding: 0 2px ! important; background-color: #d6e3fe ! important;"&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Gonna need some Freescale FAE expertise for this one.&amp;nbsp; I'm using the Platform SDK and modifying it for a Nitrogen6x board with the Micrel 9021 PHYs.&amp;nbsp; When I set up a TxBD and then hit the control tx ready bit, the packet never transmits.&amp;nbsp; TxBD ready bit is never cleared, no event interrupt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is no hardware problem because ethernet works just fine in Uboot.&amp;nbsp; I've gone through and set up my registers for the MAC and PHY to match exactly what Uboot is doing - no luck.&amp;nbsp; Some kind of IOMUX issue?&amp;nbsp; I've been through all that though, including getting some help on these forums to do it correctly and using Uboot as a guide as well.&amp;nbsp; Bringing in some hardware help soon to take a closer look at some signals on the board to see if we can find something wrong.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 01:14:15 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-SDK-Ethernet-driver-MAC-transmit-problem/m-p/268078#M28299</guid>
      <dc:creator>shefft</dc:creator>
      <dc:date>2014-01-31T01:14:15Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 SDK Ethernet driver:  MAC transmit problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-SDK-Ethernet-driver-MAC-transmit-problem/m-p/268079#M28300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;The clock from the PHY looks fine, but the behavior is exactly the same as if the clock was not present.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 19:36:48 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-SDK-Ethernet-driver-MAC-transmit-problem/m-p/268079#M28300</guid>
      <dc:creator>shefft</dc:creator>
      <dc:date>2014-01-31T19:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 SDK Ethernet driver:  MAC transmit problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-SDK-Ethernet-driver-MAC-transmit-problem/m-p/268080#M28301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Finally found a solution:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After a couple weeks of seeing the behavior be so different when using the debugger, setting breakpoints, etc, today I stumbled across the solution.&lt;/P&gt;&lt;P&gt;The SDK send function requires a 1 sec delay to be added in order for the transmit to occur.&amp;nbsp; I don’t understand why this is, but in my experimentation it can’t be shorter than this.&amp;nbsp; It may need to be between setting the TxBD ready bit and setting TDAR high, that’s where I have it.&amp;nbsp; It now works consistently.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why would Uboot work fine without this extra delay? Maybe the steps that Uboot includes for the flushing of the data cache accomplishes the same thing.&amp;nbsp; Something for Freescale engineers to take a look at.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 18:17:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-SDK-Ethernet-driver-MAC-transmit-problem/m-p/268080#M28301</guid>
      <dc:creator>shefft</dc:creator>
      <dc:date>2014-02-19T18:17:56Z</dc:date>
    </item>
    <item>
      <title>Re: iMX6 SDK Ethernet driver:  MAC transmit problem</title>
      <link>https://community.nxp.com/t5/i-MX-Processors/iMX6-SDK-Ethernet-driver-MAC-transmit-problem/m-p/268081#M28302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN&gt;2&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Very very strange:&amp;nbsp; it turns out this delay is only needed when running with the ARM DS-5 Eclipse debugger, which is how I loaded the SDK during development.&amp;nbsp; Using bootelf from Uboot to run the SDK, the transmit works fine.&amp;nbsp; Thanks ARM!&amp;nbsp; Or maybe it's yet another Eclipse special, who knows.&amp;nbsp; Be careful out there.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Feb 2014 18:49:43 GMT</pubDate>
      <guid>https://community.nxp.com/t5/i-MX-Processors/iMX6-SDK-Ethernet-driver-MAC-transmit-problem/m-p/268081#M28302</guid>
      <dc:creator>shefft</dc:creator>
      <dc:date>2014-02-20T18:49:43Z</dc:date>
    </item>
  </channel>
</rss>

