Yes, others have complained about the ST demo code. You might read through this thread that talks about an issue you may be having: http://lists.nongnu.org/archive/html/lwip-users/2012-09/msg00054.html
I'm guessing the demo code probably calls ethernetif_input() once every time an Ethernet interrupt is generated? You want to loop and call it as many times as necessary while there are packets to read. It is possible that you get one interrupt from the Ethernet MAC but by the time you get to servicing it there are multiple packets in there. -Zach -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of David Shmelzer Sent: Wednesday, December 19, 2012 10:08 AM To: [email protected] Subject: [lwip-users] ARP requests crashing stack The lwip stack stops responding completely when an IPscan on the subnet is performed. This spews out a series of ARP requests. It looks like the Ethernet MAC stops generating interrupts because ethernetif_input() is no longer called. lwIPstats() reports an ETHARP drop and lenerr which makes me think the MAC is is not being serviced fast enough. I'm using a modified STR9 demo from FreeRTOS with lwip 1.4.0. My lwipopts.h settings are using the defaults for the most part. Anyone else have this issue? -Dave _______________________________________________ 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
