Hi Simon, What is the preferred way to send data from within LwIP context.
Beside running sys_timeout and hooking a function to it ? If I want to send data at a high rate and I will set sys_timeout to say 1ms it will cause load on the system. Is there another clean way to do it ? BR, Noam. -----Original Message----- From: lwip-users [mailto:[email protected]] On Behalf Of Simon Goldschmidt Sent: Wednesday, September 28, 2016 1:33 PM To: [email protected] Subject: Re: [lwip-users] blocked udp garibaldi pineda garcia wrote: > What I do is have an interrupt to receive the data from the FPGA and, >in the main program loop (would this be the LWIP context?), I guess so. That would mean you don't use an OS but use lwIP in NO_SYS=1 mode. > I call a function to send data out. I also have an interrupt for the > receive function for the LWIP data. That would mean you call the lwIP TX functions from main loop while calling the RX functions from ETH RX interrupt. That's not supported and this most probably is your problem. Simon _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users _______________________________________________ lwip-users mailing list [email protected] https://lists.nongnu.org/mailman/listinfo/lwip-users
