<?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>S12 / MagniV MicrocontrollersのトピックRe: NE64 - handle incoming frame in interrupt</title>
    <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-handle-incoming-frame-in-interrupt/m-p/131808#M1616</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Thanks Mark!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I made it work by copying PRM linker file from Startup Demo Project. I'm testing if Flat or Balnked memory model was geting the problem.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 28 Apr 2007 01:19:06 GMT</pubDate>
    <dc:creator>DiegoNunes</dc:creator>
    <dc:date>2007-04-28T01:19:06Z</dc:date>
    <item>
      <title>NE64 - handle incoming frame in interrupt</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-handle-incoming-frame-in-interrupt/m-p/131804#M1612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I'm trying to handle incoming frames by interrupt, but the receive buffer seems not working.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I've added debug code, but the emac_rx_b_ac_isr was not called.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I created a new project and added driver files. I'm working with Raw Ethernet frames and I don't need OpenTCP stack, so I want a minimal code.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Obs: The gotlink variable works fine.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Diego Nunes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-----------------------&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;in main.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;#include "ne64driver.h"&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;void main(void) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;PE_low_level_init();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;EtherInit();&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;while(1) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;if(gotlink) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;// debug here&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;in ne64driver.c&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;interrupt void emac_rx_b_a_c_isr(void) {&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;// My Handle frame code&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;// debug here&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;BR /&gt;&lt;DIV&gt; &lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 07:23:02 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-handle-incoming-frame-in-interrupt/m-p/131804#M1612</guid>
      <dc:creator>DiegoNunes</dc:creator>
      <dc:date>2007-04-26T07:23:02Z</dc:date>
    </item>
    <item>
      <title>Re: NE64 - handle incoming frame in interrupt</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-handle-incoming-frame-in-interrupt/m-p/131805#M1613</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Sometimes the solution is more simple that you image, i'll try.&lt;BR /&gt;I suppose you use processore Expert, have you activated the interrupt?&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 17:40:37 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-handle-incoming-frame-in-interrupt/m-p/131805#M1613</guid>
      <dc:creator>PsychoDebugger</dc:creator>
      <dc:date>2007-04-26T17:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: NE64 - handle incoming frame in interrupt</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-handle-incoming-frame-in-interrupt/m-p/131806#M1614</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;I didn't use PE. I created a new blank project and added some files from Startup Demo, like ne64driver.c, cpu.c and vectors.c and its headers.&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;The interrupt ephy_isr is working fine, changing correctly the state of variable gotlink.&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2007 19:41:54 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-handle-incoming-frame-in-interrupt/m-p/131806#M1614</guid>
      <dc:creator>DiegoNunes</dc:creator>
      <dc:date>2007-04-26T19:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: NE64 - handle incoming frame in interrupt</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-handle-incoming-frame-in-interrupt/m-p/131807#M1615</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;&lt;/DIV&gt;Hi&lt;BR /&gt;Setting up the EMAC to receive is more complicated than setting up the PHY to give a link change interrupt. This means that more can go wrong.&lt;BR /&gt;Here's a check list:&lt;BR /&gt;1. Ensure that the EMAC rx buffers are set up correcty&lt;BR /&gt;2. Ensure that the controller is configured. Best to use promiscuous mode so than any frame will interrupt. Ensue also that ETCTL is configured to respond to at least IPV4 and ARP frames&lt;BR /&gt;3. Ensure that the EMAC interrupt(s) are enabled.&lt;BR /&gt;4. Ensure that the EMAC is finally enabled to work.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;&lt;BR /&gt;Mark&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.uTasker.com" rel="nofollow" target="_blank"&gt;www.uTasker.com&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 27 Apr 2007 02:13:21 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-handle-incoming-frame-in-interrupt/m-p/131807#M1615</guid>
      <dc:creator>mjbcswitzerland</dc:creator>
      <dc:date>2007-04-27T02:13:21Z</dc:date>
    </item>
    <item>
      <title>Re: NE64 - handle incoming frame in interrupt</title>
      <link>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-handle-incoming-frame-in-interrupt/m-p/131808#M1616</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV&gt;Thanks Mark!&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;I made it work by copying PRM linker file from Startup Demo Project. I'm testing if Flat or Balnked memory model was geting the problem.&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 Apr 2007 01:19:06 GMT</pubDate>
      <guid>https://community.nxp.com/t5/S12-MagniV-Microcontrollers/NE64-handle-incoming-frame-in-interrupt/m-p/131808#M1616</guid>
      <dc:creator>DiegoNunes</dc:creator>
      <dc:date>2007-04-28T01:19:06Z</dc:date>
    </item>
  </channel>
</rss>

