Diego Nunes

NE64 - handle incoming frame in interrupt

Discussion created by Diego Nunes on Apr 26, 2007
Latest reply on Apr 27, 2007 by Diego Nunes
I'm trying to handle incoming frames by interrupt, but the receive buffer seems not working.
I've added debug code, but the emac_rx_b_ac_isr was not called.
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.
Obs: The gotlink variable works fine.

Diego Nunes.
in main.c
#include "ne64driver.h"

void main(void) {
 while(1) {
   if(gotlink) {
     // debug here

in ne64driver.c

interrupt void emac_rx_b_a_c_isr(void) {
 // My Handle frame code
 // debug here