<?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: FEC: Gives rx frame interrupts but no data ..</title>
    <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/FEC-Gives-rx-frame-interrupts-but-no-data/m-p/147940#M3544</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Micael&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Look at these files, this might be useful&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also used mcf5225x, lwip and freertos without problems&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A file comparison might be useful, if this is not the issue, other things to look at:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Are interrupts enabled (asm (move.w #0x2700,SR))?&lt;/P&gt;&lt;P&gt;- When lwIP init the Rx task, are you clearing the ready status? I cant recall the name but its a register with a single bit in the middle of a 32 bit reg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/CFCOMM/7994_5225x_FEC_Files.zip" rel="nofollow" target="_self"&gt;5225x_FEC_Files.zip&lt;/A&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-20&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;01:53 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 21 Oct 2009 01:27:56 GMT</pubDate>
    <dc:creator>PaoloRenzo</dc:creator>
    <dc:date>2009-10-21T01:27:56Z</dc:date>
    <item>
      <title>FEC: Gives rx frame interrupts but no data ..</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/FEC-Gives-rx-frame-interrupts-but-no-data/m-p/147939#M3543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have this issue with the FEC in 52259, where, after I have set it up (using example code from freertos/lwip), it does cannot receive anything.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I get the rx frame interrupts, which is what I have set-up, but if I look in the descriptor, RX_BD_E is still set, the length is left unchanged from my default.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have checked all (4 in my case) rx descriptors, but all are as initiated from start. MCF_FEC_ERDSR is, if I read from it, set to the same address as the first descriptor.&lt;/P&gt;&lt;P&gt;All aligned using the run-time alignment method seen in most examples, to 16 bytes.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is not my first project using the FEC &amp;nbsp;(used it in the 5280 before), still I am lost. I have double checked everything, and really, the example should work out of the box more or less.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So, is there anything obvious I have missed? Is there any condition that can make the FEC give the RX_FRAME interrupt, but leaving the rx descriptors untouched?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;As far as I can understand, 52259 does not support data cache, so I think it is not a cache issue.&lt;/P&gt;&lt;P&gt;I have tried to connect it to a 10mbit hub as well as the gigabit switch we use here, with the same outcome. If I unplug the ethernet cable, the interrupts stop coming, so nothing strange with that part.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;Micael&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 20 Oct 2009 21:14:00 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/FEC-Gives-rx-frame-interrupts-but-no-data/m-p/147939#M3543</guid>
      <dc:creator>vespaman</dc:creator>
      <dc:date>2009-10-20T21:14:00Z</dc:date>
    </item>
    <item>
      <title>Re: FEC: Gives rx frame interrupts but no data ..</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/FEC-Gives-rx-frame-interrupts-but-no-data/m-p/147940#M3544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Micael&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Look at these files, this might be useful&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I also used mcf5225x, lwip and freertos without problems&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;A file comparison might be useful, if this is not the issue, other things to look at:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;- Are interrupts enabled (asm (move.w #0x2700,SR))?&lt;/P&gt;&lt;P&gt;- When lwIP init the Rx task, are you clearing the ready status? I cant recall the name but its a register with a single bit in the middle of a 32 bit reg&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.freescale.com/files/community_files/CFCOMM/7994_5225x_FEC_Files.zip" rel="nofollow" target="_self"&gt;5225x_FEC_Files.zip&lt;/A&gt;&lt;/P&gt;&lt;DIV class="message-edit-history"&gt;&lt;SPAN class="edit-author"&gt;Message Edited by t.dowe on&lt;/SPAN&gt; &lt;SPAN class="local-date"&gt;2009-10-20&lt;/SPAN&gt; &lt;SPAN class="local-time"&gt;01:53 PM&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 21 Oct 2009 01:27:56 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/FEC-Gives-rx-frame-interrupts-but-no-data/m-p/147940#M3544</guid>
      <dc:creator>PaoloRenzo</dc:creator>
      <dc:date>2009-10-21T01:27:56Z</dc:date>
    </item>
    <item>
      <title>Re: FEC: Gives rx frame interrupts but no data ..</title>
      <link>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/FEC-Gives-rx-frame-interrupts-but-no-data/m-p/147941#M3545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;OK, it is later than it ought to be, and it is Friday evening.. And I finally found the problem;&amp;nbsp;MCF_SCM_RAMBAR where not set-up to be available to the on-chip peripherals.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the files. I have read so many fec examples the last couple of days that I will dream about them tonight.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I focused entirely on the FEC, as everything else seamed to work fine... &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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 24 Oct 2009 01:56:04 GMT</pubDate>
      <guid>https://community.nxp.com/t5/ColdFire-68K-Microcontrollers/FEC-Gives-rx-frame-interrupts-but-no-data/m-p/147941#M3545</guid>
      <dc:creator>vespaman</dc:creator>
      <dc:date>2009-10-24T01:56:04Z</dc:date>
    </item>
  </channel>
</rss>

