2016-10-13 09:56 AM
Hello
I am using Nucelo 144 STM32F207 based board and running Netcom Application using keil version 5.Problem 1:- sometimes while serving a page it hangs and need a restart. on debugging i found oot it is stuck in following void vTaskSwitchContext( void ) { if( uxSchedulerSuspended != ( UBaseType_t ) pdFALSE ) { /* The scheduler is currently suspended - do not allow a context switch. */ xYieldPending = pdTRUE; } Seems like the task switching is suspended. observing the IP traffic on wireshark it seems PC is still in touch with the stm32f207Problem 2 :- sometimes connection is made and is closed without allowing any thing I use Hercules tool( in client mode) from HW Group company to connect to board Regards, KS2016-11-03 03:31 AM
Hello,
I suggest, as a first step, to run one of the LwIP example available in package with a similar type of your project.You can use the example code provided and compare the code/functions inputs and outputs with yours. STM32F207ZG-Nucleo\Applications\LwIP\LwIP_HTTP_Server_Netconn_RTOS You can have a look to this manual : “Developing applications on STM32Cube with LwIP TCP/IP stack�.Regards