[ECOS] AW: lwIP "hangs" under eCos

Maxim Dolgov dolgov@fzi.de
Thu Apr 30 13:48:00 GMT 2009


Sorry for disturbing. A simple reset of DMA solved the problem.
Now I'm searching why....

-----Ursprüngliche Nachricht-----
Von: Maxim Dolgov 
Gesendet: Mittwoch, 29. April 2009 14:41
An: 'ecos-discuss@ecos.sourceware.org'
Betreff: lwIP "hangs" under eCos

Hello,

I have little experience with eCos, especially the interrupt management. 
I'm using MCBSTR9 running eCos and lwIP-Stack. I use the Socket-API of lwIP
to send a small web page on a request.

The problem I have is following: 
The stack starts normally and manages to receive and send packets (you get
the web page by request). But after some time (it varies how long) the MCU
doesn't run the TCP-ISR anymore and only the idle thread is executed. The
stack is executed with enabled debug support but I get no further
information.

The only thing I can imagine is that the TCP-DSR disables the TCP-interrupt
and is somehow prevented from enabling it.

Is there a way to find out where the TCP-ISR is disabled?? Or is there
another possible occasion for this bug??

Regards,
Maxim


--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss



More information about the Ecos-discuss mailing list