Ok – nevermind last email.  I need the ETH IRQ handler.  In there, I load an 
application list (not an LwIP pbuf) with the received ETH packet and clear the 
ETHDMA bits to get the next interrupt.  In main, I get the packet out of the 
list and call ethernet_input to have LwIP handle it.  Is this how it should be 
done to avoid problems in tcp_output?

Thanks-
Mary

From: [email protected] 
[mailto:[email protected]] On Behalf Of 
Simon Goldschmidt
Sent: Thursday, March 21, 2013 12:24 PM
To: Mailing list for lwIP users
Subject: Re: [lwip-users] LwIP tcp_output Pcb Corruption

 [email protected]<mailto:[email protected]> wrote:

  I read this in the archive as part of an answer to a question about a similar 
input problem:
  "When running without an OS, you have to put new packets on a linked list 
that is processed
  periodically from main() (just like the timers)."  Is this true for outgoing 
tcp packets?

No, it means don't call ethernet_input from the interrupt but from the main 
loop, too.

Simon
_______________________________________________
lwip-users mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to