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: [email protected]
>[mailto:[email protected]] On
>Behalf Of Toan Pham
>Sent: Wednesday, May 27, 2009 1:45 PM
>To: [email protected]
>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
>[email protected]
>http://lists.nongnu.org/mailman/listinfo/lwip-users



_______________________________________________
lwip-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to