t, you might want to check what
your sources are or who told you it's 1.4.3?
Simon
Vincent Cui
Firmware Engineer Leader
Shanghai Enlogic Electric Technology Co., Ltd.
Room1106, Building A, New Caohejing Business Centre, No.391, Guiping Road,
Xuhui District, Shanghai, P.R
Hi
thank you.
Send from my BlackBerry10 phone.
Original Message
From: Claudius Zingerli
Sent: 2014年12月16日星期二 19:03
To: Mailing list for lwIP users
Reply To: Mailing list for lwIP users
Subject: Re: [lwip-users] No case for IPv6 in ethernet_input()
On 2014-12-16 4:22, Vincent Cui wrote:
>
ncent
Vincent Cui
Firmware Engineer Leader
Shanghai Enlogic Electric Technology Co., Ltd.
Room1106, Building A, New Caohejing Business Centre, No.391, Guiping Road,
Xuhui District, Shanghai, P.R.China
T: +86 21 34612525, M: +86 13482482211
www.enlogi
Hi simon:
My LWIP includes following file in IPV6 folder.
[cid:image001.png@01D01923.FBEAC040]
But I don’t find lwip1.4.1 and lwip1.4.0 doesn’t include them . so , I really
don’t know what version it is ..
Vincent
Vincent Cui
Firmware Engineer Leader
[cid:b6dbc4.png@e4efcbd0.4aa0ab91
This is LPC driver issue ...
Vincent
Vincent Cui
Firmware Engineer Leader
Shanghai Enlogic Electric Technology Co., Ltd.
Room1106, Building A, New Caohejing Business Centre, No.391, Guiping Road,
Xuhui District, Shanghai, P.R.China
T: +86 21 34612525, M: +86 13482482211
www.enlogic.com
half Of
Vincent Cui
Sent: 2014年8月23日 11:44
To: Mailing list for lwIP users
Subject: Re: [lwip-users] demo web refresh down
Hi
By check
http://www.lpcware.com/content/faq/malloc-failure-using-freertos-heap3c-lpcxpresso-tool-chain
I found that heap is real overfollow once more request comin
in case of
1. Freertos use heap3.c
2. popt.h define
#define MEM_LIBC_MALLOC 1
#define MEMP_MEM_MALLOC 1
How to fix the issue of heap overflow ?
Vincent
Vincent Cui
Firmware Engineer Leader
[cid:5fe714.png@9b1a3db5.47a6fab8]
Room1106, Building A, New
Vincent Cui
Firmware Engineer Leader
[cid:764478.png@8210bffa.4d96e2c8]
Room1106, Building A, New Caohejing Business Centre, No.391, Guiping Road,
Xuhui District, Shanghai, P.R.China
T: +86 21 34612525, M: +86 13482482211
www.enlogic.com
P please consider the
+vincent.cui=enlogic@nongnu.org] On Behalf Of
Vincent Cui
Sent: 2014年6月27日 11:57
To: lwip-users@nongnu.org
Subject: [lwip-users] LWIP malloc/free issue
All:
I define MEM_LIBC_MALLOC and MEMP_MEM_MALLOC to 0. But my application still can
use MALLOC and FREE function.
As LWIP help show, if the define
know this ?
Vincent
Vincent Cui
Firmware Engineer Leader
[cid:e97d52.png@245c3c0c.499d481c]
Room1106, Building A, New Caohejing Business Centre, No.391, Guiping Road,
Xuhui District, Shanghai, P.R.China
T: +86 21 34612525, M: +86 13482482211
www.enlogic.com
P
All:
If I set STATIC ip in lwIP, do I also need call netif_set_link_down when cable
is plug out. And
Call netif_set_link_up when cable is plug in ?
In my memory, it is only for DHCP mode
Vincent
___
lwip-users mailing list
lwip-users@nongnu.org
https:
HI :
Anyone know how to support transfer file via VPN ? I can log in web in remote
device via VPN, but I can't transfer a file to the device via VPN.
The device only receive some data of the file , anyone know why ?
Current, my lwipopt.h define, is something wrong ?
#define SYS_LIGHTWEIGHT_PROT
?
Vincent
Vincent Cui
Firmware Engineer Leader
[cid:1122a6.png@98a44c61.47aa9046]
Room1106, Building A, New Caohejing Business Centre, No.391, Guiping Road,
Xuhui District, Shanghai, P.R.China
T: +86 21 34612525, M: +86 13482482211
www.enlogic.com
P please co
;
}
return xReturn;
}
I think the archMESG_QUEUE_LENGTH should be size in function parameter.
But I replace it with size, LWIP can’ t work, why ?
Vincent
Vincent Cui
Firmware Engineer Leader
[cid:6a295b.png@4f7adcf4.4e9b6f3d]
Room1106, Building A, New Caohejing Business Centre, No.391
pps always reconnect normally. Our devices are often power
24/7 as well (not that they should be – some users are lazy).
Bill
From: lwip-users-bounces+bauerbach=arrayonline@nongnu.org
[mailto:lwip-users-bounces+bauerbach=arrayonline@nongnu.org] On Behalf Of
Vincent Cui
Sent: Thursday, Augus
again . but if cold reset the device with A version, PING issue goes
out. But It will come back
After running many days.
Anyone has known this ?
Vincent
Vincent Cui
Firmware Engineer Leader
[cid:3cfd56.png@7da8a8c7.4a802cb0]
Room1106, Building A, New Caohejing Business Centre, No.391
You need modify some definition and open HW checksum .
I
Vincent Cui
Firmware Engineer Leader
Shanghai Enlogic Electric Technology Co., Ltd.
Room1106, Building A, New Caohejing Business Centre, No.391, Guiping Road,
Xuhui District, Shanghai, P.R.China
T: +86 21 34612525, M: +86 13482482211
Hi :
If you use socket api instead of RAW api, you can send the header directly
before sending content.
Vincent
Vincent Cui
Firmware Engineer Leader
Shanghai Enlogic Electric Technology Co., Ltd.
Room1106, Building A, New Caohejing Business Centre, No.391, Guiping Road,
Xuhui District
, as for limitation RAM.
My https server works fast too .
I think you should write a receive data thread in loop, and use TCPIP tool to
send data in loop to check if there is interrupt or other issue.
Maybe your Ethernet driver has problem too .
Vincent
Vincent Cui
Firmware Engineer Leader
Hi simon:
Does smtp code support NLTM authentication ?
Vincent
Vincent Cui
Firmware Engineer Leader
[cid:4b8bf2.png@ff28fbbd.4ca4cbd2]
Room1106, Building A, New Caohejing Business Centre, No.391, Guiping Road,
Xuhui District, Shanghai, P.R.China
T: +86 21 34612525, Ext: 6104, M: +86
Hi:
LwIP support snmp v1, v2c, not support v3. As snmp v3 shall cover more
algorithms, it take more afford to implement .
Snmpv3 support MD5, SHA1, AEC-CBC, AES-EFB-128/256
Vincent
From: lwip-users-bounces+vincent.cui=enlogic@nongnu.org
[mailto:lwip-users-bounces+vincent.cui=enlogic@n
Yes,. It is.
Thank you
Vincent
-Original Message-
From: lwip-users-bounces+vincent.cui=enlogic@nongnu.org
[mailto:lwip-users-bounces+vincent.cui=enlogic@nongnu.org] On Behalf Of RAc
Sent: 2013年1月21日 PM 8:39
To: lwip-users@nongnu.org
Subject: Re: [lwip-users] auto ip is a valid
ssage-
From: lwip-users-bounces+vincent.cui=enlogic@nongnu.org
[mailto:lwip-users-bounces+vincent.cui=enlogic@nongnu.org] On Behalf Of
Simon Goldschmidt
Sent: 2013年1月21日 PM 2:49
To: Mailing list for lwIP users
Subject: Re: [lwip-users] auto ip is a valid address?
vincent cui wrote:
&
All:
Does the ip allocate from autoip is valid to ping ?
Vincent
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
All:
I use one cable to connect my computer and net-device with lwip.
If the net-device with static ip, and my computer is configured in same net
scope, my computer can access the netdevice
But if the net device work with dhcp, and there is no dhcp server, it will run
into autoip,
It will be all
Hi all:
Is there a way to know lwIP current status is dead ?
Vincent
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
=enlogic@nongnu.org] On Behalf Of
goldsi...@gmx.de
Sent: 2012年12月20日 PM 4:02
To: Mailing list for lwIP users
Subject: Re: [lwip-users] create socket in RAW API call back funtion
vincent cui wrote:
Is it possible that creating socket in RAW API call back functions ?
I tried it and got fail result
Hi :
Is it possible that creating socket in RAW API call back functions ?
I tried it and got fail result
Vincent
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
Hi :
You need setup one type of file system in SD card, then loop reading the big
file and sending with netcon api.
You can refer FATFS website to get sample project with SD card .
Vincent
-Original Message-
From: lwip-users-bounces+vincent.cui=enlogic@nongnu.org
[mailto:lwip-us
All:
I use smtp code in contribution packet, also, I enable DNS to parse host name .
I found that I can't receive mail on time sometimes after I modify those
definition as following .
/** TCP poll timeout while sending message body, reset after every
* successful write. 3 minutes */
#define SMTP
All:
I access and upgrade the device with lwip1.4.0 in office via VPN. I found that
the upgrade
Binary file the device receive is different with the correct one.
Is it route issue ?
Vincent
___
lwip-users mailing list
lwip-users@nongnu.org
https://list
5:22:25 +
> From: vincent cui
> To: Mailing list for lwIP users
> Subject: [lwip-users] SSL web server can't work with FF16
> Message-ID: <32017C613EF61F42B30F94182979BEB75B14902C@server4>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi all:
&
right away.
Cheers
Ivan
> Date: Thu, 29 Nov 2012 05:22:25 +
> From: vincent cui
> To: Mailing list for lwIP users
> Subject: [lwip-users] SSL web server can't work with FF16
> Message-ID: <32017C613EF61F42B30F94182979BEB75B14902C@server4>
> Content-Type: te
Hi :
How to reinitialize lwIP core when network configuration from DHCP to STATIC
without cold reset ?
Do I need delete TCPIP and ETHERNET task first, then call lwIP init functions ?
Vincent
___
lwip-users mailing list
lwip-users@nongnu.org
https://lis
All:
I develop ping application with LWIP1.4.0, but I found it can't ping itself
successfully .
Is it LWIP issue ?
Vincent
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
All:
Does LWIP support DNS 's HOST NAME feature ? if yes, how to register the host
name into desired DNS server .
Vincent
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
All
It is possible device ping itself with LWIP ?
Vincent
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
Hi :
If I enable ipv4 and ipv6 together, could lwIP switch and realize the current
protocol automatically ?
for example, local network is using IPV6, lwIP will use IPV6 protocol
automatically ?
vincent
___
lwip-users mailing list
lwip-users@nongnu.or
in LWIP
vincent cui wrote:
> Does LWIP support DNS server ? I need know the real ip address by web site
> name input by user .
Yes. See dns.h (raw API), api.h (netconn_gethostbyname) or netdb.h (socket API).
Simon
___
lwip-users mailing list
lwip
Hi :
Does LWIP support DNS server ? I need know the real ip address by web site name
input by user .
Anyone give any help ?
Vincent
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
All:
My platform is LWIP and FreeRTOS, and create task A or task B by user choice.
There is only one running task of A and B.
When user enable and create another task, it needs disable and cancel the first
task, then enable and create another task.
But if user want to enable and create first tas
detect cable down in this case
So, assuming that cable is only "passive copper physical medium:)"
there is no difference which side of cable is unplugged - PHY device
will report link down.
Regards,
Krzysztof Wesołowski,
On Tue, Aug 21, 2012 at 11:12 PM, vincent cui wrote:
> Actua
an by unpluging another side.
Keep Alives are sent between hosts, so L2/L3 devices are usually
transparen to them.
Regards,
Krzysztof Wesołowski,
On Tue, Aug 21, 2012 at 11:06 PM, vincent cui wrote:
> You mean that I have to send keep-alive packet to switch and hub to get
> response ? if no r
You mean that I have to send keep-alive packet to switch and hub to get
response ? if no response, it should be break up ?
-Original Message-
From: lwip-users-bounces+vincent.cui=enlogic@nongnu.org
[mailto:lwip-users-bounces+vincent.cui=enlogic@nongnu.org] On Behalf Of
Krzysztof
Hi:
When internet cable is plugged into board, but another side is plugged out
Slotn how lwip know that the cable is down?
Vincent
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
All:
In WEB development, I meet a problem with IE , FF, CHROME, SAFARI.
In login page, it will issue header request and JSON data (username and
password) after I type them and press login button.
For FF, CHROME, SAFARI browser, they issue header request and JSON data in same
packet.
For IE8&9, i
Subject: Re: [lwip-users] change port for web server
On 8 Aug 2012, at 01:11, vincent cui wrote:
> How to know the socket is in TCP time-wait state ?
You can't. Any socket that you have a file descriptor for is not in the time
wait state. If you find that you want to re-use a port on a ne
=enlogic@nongnu.org] On Behalf Of
Kieran Mansley
Sent: 2012年8月8日 2:37
To: Mailing list for lwIP users
Subject: Re: [lwip-users] change port for web server
On 7 Aug 2012, at 06:01, vincent cui wrote:
> I develop a web server with LWIP SOCKET API, it has a function which could
> change HTT
Hi all:
I develop a web server with LWIP SOCKET API, it has a function which could
change HTTP port value and relogin again .
After apply for new HTTP port, it also needs wait 2min to make sure TCP is in
timeout state ?
Vincent
___
lwip-users mailing
Hi :
Sure, you can .
LWIP support those feature .
Vincent
From: lwip-users-bounces+vincent.cui=enlogic@nongnu.org
[mailto:lwip-users-bounces+vincent.cui=enlogic@nongnu.org] On Behalf Of
Hassan Mansouri
Sent: 2012年8月6日 13:02
To: lwip-users@nongnu.org
Subject: [lwip-users] TCP/IP stack
-users] LWIP porting for Cortex A8 device
Hello,
The Windows and Linux installer are available. On installation, you should be
able to access all required examples in a particular folder.
On 31-07-2012 14:59, vincent cui wrote:
Hi :
I download file with license, but it is binary file for that
Hi :
I download file with license, but it is binary file for that . where do I get
sample code ?
From: lwip-users-bounces+vincent.cui=enlogic@nongnu.org
[mailto:lwip-users-bounces+vincent.cui=enlogic@nongnu.org] On Behalf Of
vincent cui
Sent: 2012年6月21日 11:52
To: Mailing list for
+vincent.cui=enlogic@nongnu.org] On Behalf Of
vincent cui
Sent: 2012年7月21日 15:44
To: Mailing list for lwIP users
Subject: Re: [lwip-users] 答复: how to release allocated TCB
Simon:
You are correct, after waiting 2Min and create it again , it works now .
But it maybe client socket is active too when
All:
Where can I set description string to netcard ? is it the name string of netif
structure ?
Vincent
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
list for lwIP users
Subject: Re: [lwip-users] how to upload file to web server
vincent cui wrote:
> Now, I have written web server with socket API, which support POST and GET
> .
> But it can't accept POST request with socket when file upload, I capture
> it with wireshark, it c
Hi :
I think that my last mail let you misunderstand..
The following picture is captured by wireshark .
[cid:image001.png@01CD6B68.BDCFB790]
When select file and press upload button in web page, the browser really issue
POST request in TCP packet drawn by black pen.
But the socket accept AP
Now, I have written web server with socket API, which support POST and GET .
But it can't accept POST request with socket when file upload, I capture it
with wireshark, it captures it in TCP level, not HTTP level
-Original Message-
From: lwip-users-bounces+vincent.cui=enlogic@nongnu
Hi Krzy:
I want to upload via web panel use POST with mime type . but my server can't
capture the POST request in HTTP protocol.
The web server is developed with SOCKET api, not RAW API
As you mean, I need receive file by RAW api once press upload button ?
Vincent
-Original Message--
Hi :
I develop a webserver with lwIP. Now, I need upload a file from PC to server by
web. Do I use GET or POST method to do that ?
Vincent
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
No, I don’t enable memory pools..so I have no clue to trace it
From: lwip-users-bounces+vincent.cui=enlogic@nongnu.org
[mailto:lwip-users-bounces+vincent.cui=enlogic@nongnu.org] On Behalf Of
Krzysztof Weso?owski
Sent: 2012年7月24日 22:27
To: Mailing list for lwIP users
Subject: Re: [lwip-us
Hi :
I develop SSH server with LWIP SOCKET, and I can connect it with PUTTY client
tool.
After connect ok, SSH server trigger a internal SHELL to accept commands user
input.
But I found a strange problem about reconnection, that is
close the PUTTY by press windows right upper X button to disconn
15:35, vincent cui wrote:
>
>> Hi:
>>
>> I use socket api to do that.
>
> Is it possible that the old socket is just in the TCP TIME_WAIT state, and
> will be cleared up after a short while? If you're calling close() on your
> sockets, that is all you
: 2012年7月21日 6:27
To: Mailing list for lwIP users
Subject: Re: [lwip-users] 答复: how to release allocated TCB
Kieran Mansley wrote:
>
> On 20 Jul 2012, at 15:35, vincent cui wrote:
>
>> Hi:
>>
>> I use socket api to do that.
>
> Is it possible that the old sock
题: Re: [lwip-users] how to release allocated TCB
Hi,
On Fri, Jul 20, 2012 at 02:05:24PM +, vincent cui wrote:
> Hi :
>
> I write TELNET application with socket and run under FreeRTOS. As
> system boot, TELNET works well. And can be connected with hypertim.
>
> I close telnet
Hi :
I write TELNET application with socket and run under FreeRTOS. As system boot,
TELNET works well. And can be connected with hypertim.
I close telnet socket and delete the TELNET task in another Task. And create
new TELNET task after a while, I found that it binds success, but I can't
conn
t know why
发件人: lwip-users-bounces+vincent.cui=enlogic@nongnu.org
[lwip-users-bounces+vincent.cui=enlogic@nongnu.org] 代表 Kieran Mansley
[kie...@recoil.org]
发送时间: 2012年7月18日 3:34
到: Mailing list for lwIP users
主题: Re: [lwip-users] (no subject)
On 17 Jul 2012, at 09:39, vincent
Of
Simon Goldschmidt
Sent: 2012年7月11日 18:47
To: Mailing list for lwIP users
Subject: Re: [lwip-users] reset ethernet
vincent cui wrote:
> I check other production. The production Ethernet led is off, then on
> again
That looks like they would simply save the changed configuration (e
: [lwip-users] reset ethernet
In my opinion you just need to bind the new port number to used pcb.
Regards
Artur
Von: lwip-users-bounces+artur.funk=iq-wireless@nongnu.org
[mailto:lwip-users-bounces+artur.funk=iq-wireless@nongnu.org] Im Auftrag
von vincent cui
Gesendet: Mittwoch, 11. Juli
Hi:
In my application, I need reset LWIP when user change web server port.
My question that, need I reset ETH task and TCPIP task together ?
Vincent
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
device
Hello,
http://processors.wiki.ti.com/index.php/StarterWare
Check out the Starterware for AM335x SoC on the above link.
Thanks & Regards,
Sanchayan.
On 21-06-2012 09:01, vincent cui wrote:
Hello:
Where Can I download ?
Could you provide a link for that ?
Vincent ?
From:
lwip-u
for Cortex A8 device
Hello,
TI has already ported lwip to their AM335x devices which are based on ARM
Cortex A8 core. LWIP support for these devices is available in their
"Starterware " package.
Thanks & Regards,
Sanchayan.
On 19-06-2012 19:24, vincent cui wrote:
All:
Anyone d
All:
Anyone do porting LWIP to A8 device ? I plan porting FreeRTOS and LWIP in A8
device
Vincent
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users
] ping thread fails to works when IP, UDP, TCP and ICMP
checksums by hardware
What platform are you running on?
I'm not sure about this, but could it be an endianness issue? Is your #define
BYTE_ORDER _ENDIAN correct?
Hope this helps,
Colin
On 06/07/2012 05:23 AM, vincent cui wrote:
Hi
ess@nongnu.org
[mailto:lwip-users-bounces+artur.funk=iq-wireless@nongnu.org] Im Auftrag
von vincent cui
Gesendet: Mittwoch, 6. Juni 2012 13:12
An: Mailing list for lwIP users
Betreff: [lwip-users] ping thread fails to works when IP, UDP, TCP and ICMP
checksums by hardware
All
I porte
ess@nongnu.org
[mailto:lwip-users-bounces+artur.funk=iq-wireless@nongnu.org] Im Auftrag
von vincent cui
Gesendet: Mittwoch, 6. Juni 2012 13:12
An: Mailing list for lwIP users
Betreff: [lwip-users] ping thread fails to works when IP, UDP, TCP and ICMP
checksums by hardware
All
I ported ping thr
All
I ported ping thread from contrib. packet, and found that it fails to works
when IP, UDP, TCP and ICMP checksums by HW.
But it works when those checksums by SW.
Anyone meets same problem ?
Regards,
Vincent
___
lwip-users mailing list
lwip-users@no
Hi all:
Please ignore last two mail about the topic. It is my application code problem .
Vincent
From: lwip-users-bounces+vincent.cui=enlogic@nongnu.org
[mailto:lwip-users-bounces+vincent.cui=enlogic@nongnu.org] On Behalf Of
vincent cui
Sent: 2012年5月29日 10:32
To: Mailing list for lwIP
@nongnu.org] On Behalf Of
vincent cui
Sent: 2012年5月29日 9:37
To: Mailing list for lwIP users
Subject: [lwip-users] reveive timeout fails in lwip1.4.0
All:
lwip_setsockopt’s SO_RCVTIMEO feature can’t works in LWIP1.4.0. I enable
LWIP_TIMERS in timers.c, it seems that it can’t be timeout.
But it is ok
All:
lwip_setsockopt's SO_RCVTIMEO feature can't works in LWIP1.4.0. I enable
LWIP_TIMERS in timers.c, it seems that it can't be timeout.
But it is ok in lwip1.3.2. because I set thread timeout in creating thread code
in sys_arch.c.
Does I also need set thread timeout in creating thread code in
Hi Chris:
I am working on HTTPS and SSH, and looking for a SSL to support LWIP.
So , the CyaSSL 2.2.0 is small enough for integrity it into LWIP and FreeRTOS ?
do you have a sample to SSH application ?
From: lwip-users-bounces+vincent.cui=enlogic@nongnu.org
[mailto:lwip-users-bounces+vince
Behalf Of
Sylvain Rochet
Sent: 2012年5月17日 18:33
To: Mailing list for lwIP users
Subject: Re: [lwip-users] lwip whole performance down
Hi Vincent,
On Thu, May 17, 2012 at 10:15:36AM +, vincent cui wrote:
>
> When lwIP performance goes down, the Ethernet DMA's RX buffer
> unava
ui=enlogic@nongnu.org
[mailto:lwip-users-bounces+vincent.cui=enlogic@nongnu.org] On Behalf Of
Sylvain Rochet
Sent: 2012年5月17日 18:04
To: Mailing list for lwIP users
Subject: Re: [lwip-users] lwip whole performance down
Hi Vincent,
On Thu, May 17, 2012 at 09:51:55AM +0000, vincent cui wrote:
: 2012年5月17日 17:50
To: Mailing list for lwIP users
Subject: Re: [lwip-users] lwip whole performance down
Salut Vincent,
On Thu, May 17, 2012 at 12:35:10AM +, vincent cui wrote:
>
> [...]
> I found that it takes a 1 or 2 seconds to open connect successfully .
> [...]
It look
Hi sylvailn and bill:
Thank you for your advise .
Current, I can keep sending and reveiving speed stable by modify enthernet DMA
data chain from 5 to 3. As I said that DMA data buffer become unvailable if set
the value to 5.
But there is another problem, it maybe not performance issue . I am no
avail: 16
used: 0
max: 0
err: 0
MEM PBUF_POOL
avail: 10
used: 2
max: 2
err: 0
From: lwip-users-bounces+vincent.cui=enlogic@nongnu.org
[mailto:lwip-users-bounces+vincent.cui=enlogic@nongnu.org] On Behalf Of
vincent cui
Sent
6511
tcp_output: nothing to send ()
tcp_output: snd_wnd 17520, cwnd 2920, wnd 2920, seg == NULL, ack 6511
-Original Message-
From: lwip-users-bounces+vincent.cui=enlogic@nongnu.org
[mailto:lwip-users-bounces+vincent.cui=enlogic@nongnu.org] On Behalf Of
vincent cui
Sent
(pcb, IP_ADDR_ANY, 8081);
pcb = tcp_listen(pcb);
tcp_accept(pcb, server_accept);
}
static void server_init(void)
{
tcp_callback(server_init_callback);
for (;;)
{
vTaskDelay(50);
}
}
tcp_accept
- Original Message -
From: "vincent cui"
To: "Mailing list for lw
Hi:
I am working on LWIP1.4.0 and FreeRTOSv7.1.1 to setup web server with SOCKET
API..and found that sending speed becomes lower.
In order to know the actual sending speed, I write a simple application to test
it. And found that the sending speed is up to 8Mb/s. it is high enough for me.
I notic
All:
After set socket with attribute SO_RCVTIMEO, how does application know receive
timeout in this case? Is there a signal or call back to notice application ?
Vincent
___
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailma
t;ETH_ResumeDMATransmission();
>ETH->DMASR = (u32)ETH_DMA_IT_TBU;
>}
>...
> }
>
>
> Regards,
> Bernard Xiong
> ~~~~~~~~~~
> RT-Thread - An open source RTOS from China.
> http://en.rt-thread.org
> http://www.rt-thread.o
Krzysztof Weso?owski
Sent: 2012年5月11日 15:10
To: Mailing list for lwIP users
Subject: Re: [lwip-users] lwip performance goes down if running with FreeRTOS
On Fri, May 11, 2012 at 8:46 AM, vincent cui
mailto:vincent@enlogic.com>> wrote:
HI :
You use MTU SIZE as RX buffer, in ST code, it
HI :
You use MTU SIZE as RX buffer, in ST code, it define RX buffer like uint8_t
Rx_Buff[ETH_RXBUFNB][ETH_RX_BUF_SIZE];
So, you only set ETH_RXBUFNB to 1 ?
From: lwip-users-bounces+vincent.cui=enlogic@nongnu.org
[mailto:lwip-users-bounces+vincent.cui=enlogic@nongnu.org] On Behalf Of
;
/* Resume DMA reception */
ETH->DMARPDR = 0;
}
return p;
}
From: lwip-users-bounces+vincent.cui=enlogic@nongnu.org
[mailto:lwip-users-bounces+vincent.cui=enlogic@nongnu.org] On Behalf Of
vincent cui
Sent: 2012年5月11日 13:24
To: Mailing list for lwIP users
Subject: Re: [lwip
{
for(i=0; iinput( p, s_pxNetIf))
{
pbuf_free(p);
p=NULL;
}
}
}
}
From: lwip-users-bounces+vincent.cui=enlogic@nongnu.org
[mailto:lwip-users-bounces+vincent.cui=enlogic....@nongnu.org] On Behalf Of
vincent cui
Sent: 2012年5月11日 8:20
To: Mailing list for lwIP users
Subj
Hi:
I found a odd strange in Cortex M3, running LWIP1.4.0 + FreeRTOS.
I write a TCP server to accept large file, the code works well if running in
LWIP standalone. The performance is high and stable.
But when I create the task in FreeRTOS, the whole LWIP performance goes to down
after the task a
users
Subject: Re: [lwip-users] mutex API in system layer is necessary ?
vincent cui wrote:
> Yes, they are same ...
> I am confused that nobody meet this kind of problem
Still, please just don't re-post (and do keep the summary in sync with a post's
content). You risk annoying peopl
Yes, they are same ...
I am confused that nobody meet this kind of problem
Vincent Cui
Firmware Engineer Leader
Mobile: +8613482482211
Tel: +86 21 34612525x6104
Fax: +86 21 34619770
E-Mail: vincent@enlogic.com
Shanghai EnLogic Electric Technology Co., Ltd.
Address: 1104-1106, Building A, No
Hi :
I use latest LWIP1.4.x from git repo, and found that the problem of receive
speed down after sending file 3 times.
My code is pasted as following .
My system is FreeRTOS + lwip, I think it may be lwip bug
static void close_conn(struct tcp_pcb *pcb)
{
tcp_arg(pcb, NULL);
tcp_sen
pbuf_free(p);
}
if (err == ERR_OK && p == NULL) {
close_conn(pcb);
}
return ERR_OK;
}
Vincent Cui
Firmware Engineer Leader
Mobile: +8613482482211
Tel: +86 21 34612525x6104
Fax: +86 21 34619770
E-Mail: vincent@enlogic.com
Shanghai EnLogic Electric Techno
All:
I use the latest LWIP 1.4.x from git. And try to test lwIP receive speed by
RAW api as following
I use tool send 2MB file, the speed is fast at first, but go to down after a
while or transfer more times.
Anyone know the problem ?
static void close_conn(struct tcp_pcb *pcb)
{
tcp_ar
1 - 100 of 223 matches
Mail list logo