Somehow my lwip user forum subscription/setting/options was not
functioning properly, and I may have sent out this request multiple
times since I tried to figure out what was wrong. My apologies if it was
the case...
Hi there,
The following test was based on lwip 1.41 port on TI's TiVaware
Sergio, Thanks for your reply. I was out of the country until today,
sorry for the late reply
The problem is similar to the following pseudo codes:
while (1)
{
p=pbuf_alloc()
memcopy (p->payload,...)
err= udp_sendto (...)
pbuf_free(p)
/*if I delay a little here, err
Hi there,
I use udp_sendto to output packets, if I space them in time to make sure
the packets are sent, everything is fine, but if I call udp_sendto too
frequently, I will run into error code -1, out of memory.
Which lwip raw API can I call to find out if I have the resource before
I
After waiting for two days, instead of the same out-of-order incident, I
got one that was re-transmitted very quick (see packet 20 and 21)
https://www.dataq.com/exchange/retransmit_immediately.pcapng
On 11/1/2016 12:00 PM, lwip-users-requ...@nongnu.org wrote:
Date: Mon, 31 Oct 2016 10:14:25
I also try to identify if it was a resend, so I added a counter to the
payload, but I haven't caught one fail since the modification last
Friday, because WireShark quit when this happened over the weekend.
Hopefully I can catch it soon
I am not using DMA and this one running on TI's TiVa
The
Hi there,
I am use lwIP 1.4.1 and the test ran for long time before I ran into a
problem with TCP packet out-of-order.
The PC (windows 10) is acting properly but lwip sent out a packet with
out-of-order sequence segment:
This was captured on Wireshark and I saved the data around this event
Hi there,
I am using 1.4.1 and would like to give 2.0.0(beta) a try, I thought I
could just keep the port and application files and simply replace the
whole folder of 1.4.1 with 2.0.0, but then I realized there are files
added/renamed, for example, in src\core\ipv4 subfolder
1.4.1 package
Hi all,
I run into a problem and don't know how to handle it properly.
I am using lwip 1.4.1 to pump data out at 400kB/sec rate. After many
many GB data (even Wireshark 12 crashed a few times during the process
due to memory leak), I will get tcp_err callback from
Hi Sergio,
Thanks for your pointer and patience!
After some debugging and tracking, I found the problem. I am writing to confirm
the problem is neither in lwip nor the port, but the communication between the
remote side and my codes, since this is my first try with callback, I didn't
handle
Hi Sergio,
I took your suggestion of only sending out more data in tcp_sent callbak
and rewrite the codes
And I run into another problem: The data stream is very jerky (I am
streaming 200kb/s)
So I used a scope to see how often the tcp_sent callback is invoked, it
turns out:
I will get
Thanks for the clarification, I will take your suggestion and modify my
codes accordingly
On 7/11/2015 12:00 PM, lwip-users-requ...@nongnu.org wrote:
--
Message: 1
Date: Fri, 10 Jul 2015 13:31:37 -0300
From: Sergio R.
Hi Sergio,
Thanks again for your kind reply.
I am not an expert in lwip, but I did several projects on other TCP stack
The receiver's ACK is taken care inside lwip, not by the callback of
tcp_sent
and tcp_sndbuff tells the size of available tx buffer
I agree with you about the timer may
Hi Sergio,
Per your suggestion, I took a closer look at the port and my codes
I am on TiVa/lwip platform.
1) The timer seems to work fine, sys_now() returns correct ms counts (I
can't rule out the hardware induced glitch due to TI design flaw).
So I don't understand why calling
Thanks for your pointers! I will check my codes according to your suggestion
On 7/7/2015 12:00 PM, lwip-users-requ...@nongnu.org wrote:
s
--
Message: 5
Date: Mon, 06 Jul 2015 17:13:34 -0300
From: Sergio R. Caprile scapr...@gmail.com
To: lwip-users@nongnu.org
Hi, Sergio,
Thank you for your time!
I am not calling any raw api from interrupts and I don't use RTOS.
I include the pseudo codes below. (Note: In my codes, only one TCP connection
is allowed)
A) The following codes works, but I still get the (too quick) retransmit
problem after long run,
Hi all,
I ran into a problem with lwip 1.4.1. For some reason, lwip decides to
retransmit package immediately, without waiting for the ACK for the receiver
The Wireshark captures for the moment (16KB only) can be downloaded from
Hi all,
I am picking up an old lwip project to add an extra function via a new
UDP socket.
The original project runs on lwip 1.4.1 without RTOS. It has one UDP and
one TCP sockets, simple HTTP support, and it acquires its IP via DHCP.
The orders are like
http_init;
udp_new
udp_bind
Hi Jens,
Thanks for your reply!
The current setting of MEMP_NUM_UDP_PCB is 4
attached is the lwipopts.h
Thanks!
On 6/16/2015 12:00 PM, lwip-users-requ...@nongnu.org wrote:
Message: 4
Date: Tue, 16 Jun 2015 17:46:39 +0200 (CEST)
From: Jens Nielsend...@telia.com
To: Mailing list for lwIP
More on the configuration:
1) No RTOS
2) 8KB heap
A few more faults generated, always the same place inside tcp_output
It seems the image were dropped.
So I am going to add some text to it.
Hi there,
I am using TI's TiVa (TM4C1294) for a TCP-based project
The code is developed on CCS,
It seems the image were dropped.
So I am going to add some text to it.
Hi there,
I am using TI's TiVa (TM4C1294) for a TCP-based project
The code is developed on CCS, and the TiVaware contains lwip 1.4.1.
I got my codes working (sort of), pumping out data acquired from SSI
port (via ISR) to
I would like to use it on TI's TiVa to sync our data loggers
I have a working 1588 implementation on LWIP -- based on the white
rabbit code plus some changes. What are you trying to do with it?
Philip
On 7/29/14, 11:46 AM, Xun Chen wrote:
Hi there,
I googled 1588 and lwip and found some
Sorry, my bad, missing the subject line
I contacted TI regarding that, but haven't got anything useful for the TiVa
series, and the Stellarisware example they gave me was a broken project,
missing files, and build at all.
It seems that TI's team was totally lost in their 1588 support.
That's
Hi there,
I googled 1588 and lwip and found some implements, but the discussions
are not from this official lwip support forum.
Any suggestion or pointer regarding 1588 support from this lwip official
forum?
Thanks for any info!
Chen
___
23 matches
Mail list logo