cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F207 based Nuculeo Board hangs while running netcom lwip application

kapilsinghi123
Associate II
Posted on October 13, 2016 at 18:56

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 stm32f207

Problem 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,

KS
1 REPLY 1
slimen
Senior
Posted on November 03, 2016 at 11:31

Hello,

I suggest, as a first step, to run one of the LwIP example available in

http://www.st.com/content/st_com/en/products/embedded-software/mcus-embedded-software/stm32-embedded-software/stm32cube-embedded-software/stm32cubef2.html

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

http://www.st.com/content/ccc/resource/technical/document/user_manual/65/e8/20/db/16/36/45/f7/DM00103685.pdf/files/DM00103685.pdf/jcr:content/translations/en.DM00103685.pdf

: “Developing applications on STM32Cube with LwIP TCP/IP stack�.

Regards