lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] Recv en socket TCP


From: Oscar F
Subject: Re: [lwip-users] Recv en socket TCP
Date: Mon, 5 Oct 2009 11:01:54 +0200

Hello and what advise do you recommend me? because i don´t understand that the other socket recv works without problem and recive the packet. do you known that can i read for learning about of this, because is my firast time using lwip and i suppossed that using the function BSD i don´t have any problem and work.
for example i don´t know if i using correctly the file of configuration lwipopts.h

In the other case don´t block here, the cause of problem is other that i don´t identify
9 _handle_Data_Address_Read()  0x8001fa34    //FAIL here is the last call
8 xTaskRemoveFromEventList() C:\Proyectos DAS\ProyectosAVRStudio32\
Proyectos demos AVR32\Simulador_RTU\src\SOFTWARE_FRAMEWORK\SERVICES\FREERTOS\Source\tasks.c:1596 0x80012682   
7 xTaskRemoveFromEventList() C:\Proyectos DAS\ProyectosAVRStudio32\Proyectos demos AVR32\Simulador_RTU\src\SOFTWARE_FRAMEWORK\SERVICES\FREERTOS\Source\tasks.c:1596 0x80012682   
6 prvUnlockQueue() C:\Proyectos DAS\ProyectosAVRStudio32\Proyectos demos AVR32\Simulador_RTU\src\SOFTWARE_FRAMEWORK\SERVICES\FREERTOS\Source\queue.c:1056 0x80013358   
5 xQueueGenericSend() C:\Proyectos DAS\ProyectosAVRStudio32\Proyectos demos AVR32\Simulador_RTU\src\SOFTWARE_FRAMEWORK\SERVICES\FREERTOS\Source\queue.c:539 0x80012ee8   
4 sys_sem_signal() C:\Proyectos DAS\ProyectosAVRStudio32\Proyectos demos AVR32\Simulador_RTU\src\NETWORK\lwip-port\AT32UC3A\sys_arch.c:138 0x80016eca   
3 do_recv() C:\Proyectos DAS\ProyectosAVRStudio32\Proyectos demos AVR32\Simulador_RTU\src\SOFTWARE_FRAMEWORK\SERVICES\lwip-1.3.0\src\api\api_msg.c:923 0x80011156   
2 tcpip_thread() C:\Proyectos DAS\ProyectosAVRStudio32\Proyectos demos AVR32\Simulador_RTU\src\SOFTWARE_FRAMEWORK\SERVICES\lwip-1.3.0\src\api\tcpip.c:271 0x8000ed84   
1 <symbol is not available> 0xdeadbeef   

any advice? i´m begginig to despair
thanks!

Oscar

On Mon, Oct 5, 2009 at 10:20 AM, Kieran Mansley <address@hidden> wrote:
On Sun, 2009-10-04 at 09:39 +0200, Oscar F wrote:
> Hello Again. i don´t know what happend, but i have tested all solution
> and don´t work always is blocked in recv.
>
> I follow the call stack, because the debug mode doesn´t work at the
> moment, and this the result

> 4 sys_sem_signal() C:\Proyectos DAS\ProyectosAVRStudio32\Proyectos
> demos AVR32\Simulador_RTU\src\NETWORK\lwip-port\AT32UC3A
> \sys_arch.c:138 0x80016eca
> 3 do_recv() C:\Proyectos DAS\ProyectosAVRStudio32\Proyectos demos
> AVR32\Simulador_RTU\src\SOFTWARE_FRAMEWORK\SERVICES\lwip-1.3.0\src\api
> \api_msg.c:923 0x80011156
> 2 tcpip_thread() C:\Proyectos DAS\ProyectosAVRStudio32\Proyectos demos
> AVR32\Simulador_RTU\src\SOFTWARE_FRAMEWORK\SERVICES\lwip-1.3.0\src\api
> \tcpip.c:271 0x8000ed84
> 1 <symbol is not available> 0xdeadbeef

The call to sys_sem_signal() seems to be where it is blocking, but that
function shouldn't block.  Perhaps this is down to the implementation of
the sys layer in your port, rather than lwIP itself.

Kieran



_______________________________________________
lwip-users mailing list
address@hidden
http://lists.nongnu.org/mailman/listinfo/lwip-users


reply via email to

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