Re: [lwip-users] lwip hangs after >12 hours of work

2020-03-26 Thread Patrick Klos
On 3/26/2020 11:23 AM, Artem Moroz wrote: Can it be some problems in PPOS input path? Some data that may hang PPOS in case of bad input. I doubt this is stack overflow or timer wrap-around, I have double checked this I doubt an input issue would consistently show up at 12 hours on a regular ba

Re: [lwip-users] lwip hangs after >12 hours of work

2020-03-26 Thread Artem Moroz
Can it be some problems in PPOS input path? Some data that may hang PPOS in case of bad input. I doubt this is stack overflow or timer wrap-around, I have double checked this -- Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html ___ lwip-user

Re: [lwip-users] lwip hangs after >12 hours of work

2020-03-26 Thread Trampas Stern
Sounds like a possible stack overflow. On Thu, Mar 26, 2020 at 10:20 AM Artem Moroz wrote: > I have increased data download size and now it is hanging much more > frequently, approximately 10 minutes. I am investingating. > > > > -- > Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html

Re: [lwip-users] lwip hangs after >12 hours of work

2020-03-26 Thread Artem Moroz
I have increased data download size and now it is hanging much more frequently, approximately 10 minutes. I am investingating. -- Sent from: http://lwip.100.n7.nabble.com/lwip-users-f3.html ___ lwip-users mailing list lwip-users@nongnu.org https://lis

Re: [lwip-users] lwip hangs after >12 hours of work

2020-03-26 Thread Trampas Stern
Along the same lines does it reset with a reboot? If so check timers. If not consider hardware heating. On Wed, Mar 25, 2020 at 7:52 PM Patrick Klos wrote: > I know it's a long shot, but I'm gonna go off on a tangent and ask how > your system does elapsed timing? > > Bottom line: check that yo

Re: [lwip-users] lwip hangs after >12 hours of work

2020-03-25 Thread Patrick Klos
I know it's a long shot, but I'm gonna go off on a tangent and ask how your system does elapsed timing? Bottom line: check that your timers aren't rolling over.  If you happen to have a 100 kHz clock and use it to time things with 32 bit unsigned integers, it'll roll over in about 12 hours (we

[lwip-users] lwip hangs after >12 hours of work

2020-03-25 Thread Artem Moroz
Hi, All! I have STM32F7 board with lwip 2.0.3 running PPOS connection with SIMCOM modem. I am attaching my lwipopts.h file. lwipopts.h After some (long) period of time when modem fails to transmit data, the PPOS connection seems to be "hung