lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] LwIP tcp_output Pcb Corruption


From: mary_west
Subject: Re: [lwip-users] LwIP tcp_output Pcb Corruption
Date: Thu, 21 Mar 2013 15:56:17 -0600

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: address@hidden [mailto:address@hidden 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

 

 

  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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]