[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] TCP problems using pppos on stm32
From: |
Sylvain Rochet |
Subject: |
Re: [lwip-users] TCP problems using pppos on stm32 |
Date: |
Thu, 27 Jul 2017 18:39:31 +0200 |
User-agent: |
Mutt/1.5.23 (2014-03-12) |
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
signature.asc
Description: Digital signature