lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Underflow problem when reconnecting multiple times.


From: Sergio R. Caprile
Subject: Re: [lwip-users] Underflow problem when reconnecting multiple times.
Date: Wed, 3 Aug 2016 11:51:41 -0300
User-agent: Mozilla/5.0 (Windows NT 6.1; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

mmmm I'm starting to get lost, could you please post some reduced code so I can try to follow what you are doing with the stack ?

BTW, you said "I am using a single threaded custom OS with lwip 1.4.1 in raw mode" Are you absolutely sure you are calling all lwIP low-level functions from the very same execution thread/context ? Memory problems are quite correlated with reentrance, that is, more than one thread, including ints + main on a bare metal. Please double check; did you check your port with some known good application ? I've seen some vendors calling netif rx from interrupts and txing on main loop. No good.





reply via email to

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