lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] TCP problems using pppos on stm32


From: Роман Торопов
Subject: Re: [lwip-users] TCP problems using pppos on stm32
Date: Fri, 4 Aug 2017 12:22:23 +0300

Hi, Sylvain, I am grateful for your advice and help. I found hardware problem in my project.

27 июля 2017 г. 19:40 пользователь "Sylvain Rochet" <address@hidden> написал:
Hi Roman,

On Wed, Jul 26, 2017 at 06:08:55AM -0700, Roman wrote:
> Hi, lwip. I still can't solve my problem, it has been going on for a long
> time, and I feel very stupid.
> When I stopped using sys_timeout / sys_untimout and started using the
> FreeRTOS timers, the average transmission time was about 15 minutes when I
> removed the FreeRTOS timer and started using pppos_input_tcpip () in the
> while cycle, the average transmission time was approximately 5 minutes. What
> do I mean when I say "average transmission time": through sockets I
> continuously send a small message to the server with a specified period, and
> the server answers me.
> As can be understood from what I said above, the situation only worsened,
> but I hope this will help to localize the problem.
> When I tried to debug a program, I noticed that when the transfer stops in
> the tcp_out () function, the tcp_out_segment () function is no longer
> called.
> My modified modem driver: modem.c
> <http://lwip.100.n7.nabble.com/file/n30266/modem.c>

I'm no TCP expert. But, since it involve PPP, could you at least check
that PPP is not the issue here by testing the throughput over a long
period of time using simple ICMP or UDP packets ?  You really have to
troubleshoot layer by layer.

Sylvain

_______________________________________________
lwip-users mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

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