<?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: FEC only works after reset in ColdFire/68K Microcontrollers and Processors</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/FEC-only-works-after-reset/m-p/171678#M6397</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search for "TDAR", "FEC" and "MCF54455" on this forum. The following post (found searhing for "TDAR") has the opposite problem to you - FEC0 fails but FEC1 is fine:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/87278#87278" title="https://community.freescale.com/message/87278#87278"&gt;https://community.freescale.com/message/87278#87278&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They fixed their problem with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;After switching the DMA start order&amp;nbsp;to Tx then Rx,&amp;nbsp;the code&amp;nbsp;worked for both FEC0 and FEC1.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Now I see that an Ethernet Bus Error (EBERR) is being generated at some point.﻿&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Read the rest of the above for hints as to what might be wrong with your code.&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;&amp;nbsp;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;﻿&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Oct 2011 05:19:01 GMT</pubDate>
    <dc:creator>TomE</dc:creator>
    <dc:date>2011-10-05T05:19:01Z</dc:date>
    <item>
      <title>FEC only works after reset</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/FEC-only-works-after-reset/m-p/171677#M6396</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am using both etheret controllers on an MCF5445.&amp;nbsp; The first controller works fine, but the second controller won't transmit upon power up.&amp;nbsp; TDAR is set high, but it just seems to be ignored.&amp;nbsp; After I reset the chip (without powering it down), and the same code runs again, everything works as expected.&amp;nbsp; If I power down the chip again, then the second ethernet controller doesn't work again after I power it up.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I know this isn't much information, but I feel like I must be configuring the registers properly, or it wouldn't work after resetting it.&amp;nbsp; As a work around, I just check to see if TDAR is stuck high, and if it is, I reset the chip once.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Oct 2011 09:38:57 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/FEC-only-works-after-reset/m-p/171677#M6396</guid>
      <dc:creator>Jo_Jo</dc:creator>
      <dc:date>2011-10-04T09:38:57Z</dc:date>
    </item>
    <item>
      <title>Re: FEC only works after reset</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/FEC-only-works-after-reset/m-p/171678#M6397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Search for "TDAR", "FEC" and "MCF54455" on this forum. The following post (found searhing for "TDAR") has the opposite problem to you - FEC0 fails but FEC1 is fine:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.freescale.com/message/87278#87278" title="https://community.freescale.com/message/87278#87278"&gt;https://community.freescale.com/message/87278#87278&lt;/A&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;They fixed their problem with:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;After switching the DMA start order&amp;nbsp;to Tx then Rx,&amp;nbsp;the code&amp;nbsp;worked for both FEC0 and FEC1.&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;Now I see that an Ethernet Bus Error (EBERR) is being generated at some point.﻿&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Read the rest of the above for hints as to what might be wrong with your code.&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;&amp;nbsp;&lt;P&gt;&lt;FONT face="courier new,courier"&gt;﻿&lt;BR /&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 05:19:01 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/FEC-only-works-after-reset/m-p/171678#M6397</guid>
      <dc:creator>TomE</dc:creator>
      <dc:date>2011-10-05T05:19:01Z</dc:date>
    </item>
    <item>
      <title>Re: FEC only works after reset</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/FEC-only-works-after-reset/m-p/171679#M6398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I figured it out.&amp;nbsp; I thought I would post the solution in case someone else runs across this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was enabling the controllers before I assigned values to ERDSR and ETDSR.&amp;nbsp; The datasheet says this is the wrong order.&amp;nbsp; Since neither of these registers gets set by hardware upon a reset, the values presisted after the reboot, which meant that after reboot they were set before I enabled the controller, which is how it should have been before.&amp;nbsp; The odd thing is that either of the controllers ever worked the first time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Oct 2011 05:41:53 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/FEC-only-works-after-reset/m-p/171679#M6398</guid>
      <dc:creator>Jo_Jo</dc:creator>
      <dc:date>2011-10-05T05:41:53Z</dc:date>
    </item>
  </channel>
</rss>

