lwip-users
[Top][All Lists]
Advanced

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

RE: [lwip-users] FreeRtos/LWIP function oddly if new task created before


From: Bill Auerbach
Subject: RE: [lwip-users] FreeRtos/LWIP function oddly if new task created before vlwipinit();
Date: Wed, 27 May 2009 14:46:18 -0400

Is the webservice task's stack large enough?  Reversing the order of task
creation could alter the memory that is overwritten if the stack is in fact
too small.

Bill

>-----Original Message-----
>From: address@hidden
>[mailto:address@hidden On
>Behalf Of Toan Pham
>Sent: Wednesday, May 27, 2009 1:45 PM
>To: address@hidden
>Subject: [lwip-users] FreeRtos/LWIP function oddly if new task created
>before vlwipinit();
>
>Hi all,
>
>I am new the lwip and freertos,
>I've been having a problem with my code because I had a uart tasks
>that splits out a char every 5 seconds started before
>setting up the lwip stack (vlwIPInit()) and web demo task
>(vBasicWebServer).  Everything would appear to work fine, but
>as soon as someone hit the webservice, everything on the micro appear
>to be frozen.  I wasn't able to ping or see
>characters streaming on the serial port.
>
>However, if i moved the usart task to be created after the ip stack
>and webservice task, everything worked as expected.
>I am curious on what had happened.  Can someone explain this
>phenomenon.  thank you.
>
>Toan
>
>
>_______________________________________________
>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]