Re: [lwip-users] No case for IPv6 in ethernet_input()

2014-12-16 Thread Vincent Cui
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

Re: [lwip-users] No case for IPv6 in ethernet_input()

2014-12-16 Thread Vincent Cui
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: >

Re: [lwip-users] No case for IPv6 in ethernet_input()

2014-12-15 Thread Vincent Cui
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

Re: [lwip-users] No case for IPv6 in ethernet_input()

2014-12-15 Thread Vincent Cui
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

Re: [lwip-users] pbuf_alloc failed after sometime at driver side.

2014-10-15 Thread Vincent Cui
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

Re: [lwip-users] demo web refresh down

2014-08-23 Thread Vincent Cui
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

Re: [lwip-users] demo web refresh down

2014-08-22 Thread Vincent Cui
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

Re: [lwip-users] demo web refresh down

2014-08-22 Thread Vincent Cui
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

Re: [lwip-users] LWIP malloc/free issue

2014-06-26 Thread Vincent Cui
+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

[lwip-users] LWIP malloc/free issue

2014-06-26 Thread Vincent Cui
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

[lwip-users] static ip issue

2013-11-28 Thread Vincent Cui
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:

[lwip-users] how to support transfer file via VPN

2013-11-19 Thread Vincent Cui
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

[lwip-users] lwip tcpip_input cause hardfault

2013-09-06 Thread Vincent Cui
? 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

[lwip-users] what the porting function is

2013-09-05 Thread Vincent Cui
; } 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

Re: [lwip-users] ETHARP_TRUST_IP_MAC

2013-08-09 Thread Vincent Cui
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

[lwip-users] ETHARP_TRUST_IP_MAC

2013-08-08 Thread Vincent Cui
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

Re: [lwip-users] No Ping Response

2013-07-10 Thread Vincent Cui
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

Re: [lwip-users] TCP sending without headers

2013-07-10 Thread Vincent Cui
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

Re: [lwip-users] webserver problem

2013-07-09 Thread Vincent Cui
, 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

Re: [lwip-users] Integrate the SMTP with lwIP -1.3.2.

2013-06-03 Thread Vincent Cui
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

Re: [lwip-users] Is there IGMPv3 available for lwip?

2013-04-11 Thread vincent cui
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

Re: [lwip-users] auto ip is a valid address?

2013-01-21 Thread vincent cui
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

Re: [lwip-users] auto ip is a valid address?

2013-01-21 Thread vincent cui
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: &

[lwip-users] auto ip is a valid address?

2013-01-20 Thread vincent cui
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

[lwip-users] auip

2013-01-17 Thread vincent cui
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

[lwip-users] how to verify lwp stack is dead

2012-12-24 Thread vincent cui
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

Re: [lwip-users] create socket in RAW API call back funtion

2012-12-20 Thread vincent cui
=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

[lwip-users] create socket in RAW API call back funtion

2012-12-19 Thread vincent cui
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

Re: [lwip-users] Sending files from SD card

2012-12-19 Thread vincent cui
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

[lwip-users] smtp application

2012-12-08 Thread vincent cui
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

[lwip-users] vpn upgrade fail

2012-12-03 Thread vincent cui
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

Re: [lwip-users] SSL web server can't work with FF16

2012-11-29 Thread vincent cui
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: &

Re: [lwip-users] SSL web server can't work with FF16

2012-11-29 Thread vincent cui
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

[lwip-users] network configuration change

2012-10-30 Thread vincent cui
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

[lwip-users] ping itself is ok ?

2012-10-24 Thread vincent cui
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

[lwip-users] dns issue

2012-10-09 Thread vincent cui
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

[lwip-users] ping issue

2012-09-18 Thread vincent cui
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

[lwip-users] IPV4 and ipv6 switch

2012-09-06 Thread vincent cui
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

Re: [lwip-users] DNS support in LWIP

2012-09-06 Thread vincent cui
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

[lwip-users] DNS support in LWIP

2012-09-05 Thread vincent cui
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

[lwip-users] swich task A and task B

2012-08-24 Thread vincent cui
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

Re: [lwip-users] how to detect cable down in this case

2012-08-21 Thread vincent cui
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

Re: [lwip-users] how to detect cable down in this case

2012-08-21 Thread vincent cui
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

Re: [lwip-users] how to detect cable down in this case

2012-08-21 Thread vincent cui
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

[lwip-users] how to detect cable down in this case

2012-08-21 Thread vincent cui
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

[lwip-users] how to read more data from browser

2012-08-14 Thread vincent cui
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

Re: [lwip-users] change port for web server

2012-08-08 Thread vincent cui
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

Re: [lwip-users] change port for web server

2012-08-07 Thread vincent cui
=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

[lwip-users] change port for web server

2012-08-06 Thread vincent cui
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

Re: [lwip-users] TCP/IP stack

2012-08-05 Thread vincent cui
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

Re: [lwip-users] LWIP porting for Cortex A8 device

2012-08-01 Thread vincent cui
-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

Re: [lwip-users] LWIP porting for Cortex A8 device

2012-07-31 Thread vincent cui
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

Re: [lwip-users] 答复: how to release allocated TCB

2012-07-30 Thread vincent cui
+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

[lwip-users] netcard description

2012-07-30 Thread vincent cui
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

Re: [lwip-users] how to upload file to web server

2012-07-26 Thread vincent cui
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

Re: [lwip-users] how to upload file to web server

2012-07-26 Thread vincent cui
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

Re: [lwip-users] how to upload file to web server

2012-07-26 Thread vincent cui
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

Re: [lwip-users] how to upload file to web server

2012-07-26 Thread vincent cui
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--

[lwip-users] how to upload file to web server

2012-07-26 Thread vincent cui
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

Re: [lwip-users] select issue

2012-07-24 Thread vincent cui
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

[lwip-users] select issue

2012-07-24 Thread vincent cui
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

Re: [lwip-users] 答复: how to release allocated TCB

2012-07-21 Thread vincent cui
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

Re: [lwip-users] 答复: how to release allocated TCB

2012-07-20 Thread vincent cui
: 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

[lwip-users] 答复: how to release allocated TCB

2012-07-20 Thread vincent cui
题: 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

[lwip-users] how to release allocated TCB

2012-07-20 Thread vincent cui
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

[lwip-users] 答复: (no subject)

2012-07-17 Thread vincent cui
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

Re: [lwip-users] reset ethernet

2012-07-11 Thread vincent cui
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

Re: [lwip-users] reset ethernet

2012-07-11 Thread vincent cui
: [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

[lwip-users] reset ethernet

2012-07-11 Thread vincent cui
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

Re: [lwip-users] LWIP porting for Cortex A8 device

2012-06-20 Thread vincent cui
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

Re: [lwip-users] LWIP porting for Cortex A8 device

2012-06-20 Thread vincent cui
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

[lwip-users] LWIP porting for Cortex A8 device

2012-06-19 Thread vincent cui
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

Re: [lwip-users] ping thread fails to works when IP, UDP, TCP and ICMP checksums by hardware

2012-06-07 Thread vincent cui
] 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

Re: [lwip-users] ping thread fails to works when IP, UDP, TCP and ICMP checksums by hardware

2012-06-07 Thread vincent cui
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

Re: [lwip-users] ping thread fails to works when IP, UDP, TCP and ICMP checksums by hardware

2012-06-06 Thread vincent cui
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

[lwip-users] ping thread fails to works when IP, UDP, TCP and ICMP checksums by hardware

2012-06-06 Thread vincent cui
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

Re: [lwip-users] reveive timeout fails in lwip1.4.0

2012-05-28 Thread vincent cui
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

Re: [lwip-users] reveive timeout fails in lwip1.4.0

2012-05-28 Thread vincent cui
@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

[lwip-users] reveive timeout fails in lwip1.4.0

2012-05-28 Thread vincent cui
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

Re: [lwip-users] CyaSSL 2.2.0 Released

2012-05-23 Thread vincent cui
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

Re: [lwip-users] lwip whole performance down

2012-05-17 Thread vincent cui
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

Re: [lwip-users] lwip whole performance down

2012-05-17 Thread vincent cui
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:

Re: [lwip-users] lwip whole performance down

2012-05-17 Thread vincent cui
: 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

Re: [lwip-users] lwip whole performance down

2012-05-16 Thread vincent cui
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

Re: [lwip-users] lwip whole performance down

2012-05-15 Thread vincent cui
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

Re: [lwip-users] lwip performance goes down if running with FreeRTOS

2012-05-15 Thread vincent cui
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

Re: [lwip-users] lwip performance goes down if running with FreeRTOS

2012-05-15 Thread vincent cui
(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

[lwip-users] lwip whole performance down

2012-05-15 Thread vincent cui
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

[lwip-users] socket SO_RCVTIMEO

2012-05-15 Thread vincent cui
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

Re: [lwip-users] lwip performance goes down if running with FreeRTOS

2012-05-11 Thread vincent cui
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

Re: [lwip-users] lwip performance goes down if running with FreeRTOS

2012-05-11 Thread vincent cui
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

Re: [lwip-users] lwip performance goes down if running with FreeRTOS

2012-05-10 Thread vincent cui
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

Re: [lwip-users] lwip performance goes down if running with FreeRTOS

2012-05-10 Thread vincent cui
; /* 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

Re: [lwip-users] lwip performance goes down if running with FreeRTOS

2012-05-10 Thread vincent cui
{ 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

[lwip-users] lwip performance goes down if running with FreeRTOS

2012-05-10 Thread vincent cui
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

Re: [lwip-users] mutex API in system layer is necessary ?

2012-05-08 Thread vincent cui
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

Re: [lwip-users] mutex API in system layer is necessary ?

2012-05-07 Thread vincent cui
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

Re: [lwip-users] tcp_sndbuf return 0 when sending file

2012-05-07 Thread vincent cui
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

Re: [lwip-users] mutex API in system layer is necessary ?

2012-05-07 Thread vincent cui
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

[lwip-users] receive speed down after transfer a while

2012-05-07 Thread vincent cui
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   2   3   >