Hi, I think the stack size is not the problem (I reserved 8 KB) the example consumes so much stack because there is a big copy buffer on the stack. >From Simons answer I think there is maybe a fault in my sys_arch layer with >the semaphore mechanism and api messages are not protected. Ill debug this.
Robert > LwIP netconn API is thread safety, I think. I have many waiting UDP / TCP > connections in separated thread and without problem. > Do you have this sample "echo server" from > http://cvs.savannah.gnu.org/viewvc/contrib/apps/udpecho/udpecho.c?revision=1 > .7&root=lwip&view=markup > This example required a quite big stack size ( cca > 4200 Bytes for each > task ) by my mind. > Do you have sufficient stack size ? > Martin Persich Traumziele - von Beschreibung bis Buchung jetzt kompakt auf den Reise-Seiten von Arcor.de! http://www.arcor.de/rd/footer.reise _______________________________________________ lwip-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/lwip-users
