lwip-users
[Top][All Lists]
Advanced

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

RE : [lwip-users] arter getting error sys timeouts in the funtionsys_arc


From: Frédéric BERNON
Subject: RE : [lwip-users] arter getting error sys timeouts in the funtionsys_arch_timeouts()
Date: Mon, 26 Nov 2007 09:39:54 +0100

The problem is you should never return NULL with sys_arch_timeouts(). If you enable assert, you should got this message :
 
"sys_timeout: timeouts != NULL" (from sys.c, line 206).
 
 
 
====================================
Frédéric BERNON
HYMATOM SA
Chef de projet informatique
Microsoft Certified Professional
Tél. : +33 (0)4-67-87-61-10
Fax. : +33 (0)4-67-70-85-44
Email : address@hiddenr
Web Site : http://www.hymatom.fr
====================================
P Avant d'imprimer, penser à l'environnement
 
-----Message d'origine-----
De : address@hidden [mailto:address@hidden De la part de embed9527
Envoyé : lundi 26 novembre 2007 09:34
À : address@hidden
Objet : [lwip-users] arter getting error sys timeouts in the funtionsys_arch_timeouts()

 
 
Hi,
 
    I'm using lwip cvs update, My software and hardware is at91sam7x256 + ucos + lwip,
I'm committed to the stability of the test lwip. my target board connects to company's LAN, so it can recieve a lot of enthernet data. sometime, when lwip get the timeouts error by the funtion sys_arch_timeouts(), I return NULL, and then, lwip doesn't work well, it debugs out information
 
    memp_malloc: out of memory in pool PBUF_POOL
 
forever!
 
    I want to known when the funtion sys_arch_timeouts() gets the error timeouts, what can be return?
 
 
    My second question is in the funtion netconn_recv(). I don't use socket, so when I want to receive data, netconn_recv() is been called. In the funtion, first it asks a buf, then waits for data coming forever. sometimes, I want to close the connect in another task, but the funtion netconn_recv() doesn't return, and the buf doesn't free forever!
 
Thanks.
 

Attachment: Frédéric BERNON.vcf
Description: Frédéric BERNON.vcf


reply via email to

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