cancel
Showing results for 
Search instead for 
Did you mean: 

FreeRTOS PLUS TCP doesnt work

HispaEmo
Associate II

 

 

Hello FreeRTOS friends,

I'm back seeking guidance. I want to mention that I've configured this project without using the IDE, by manually setting up the necessary ETH pins for its operation.

I've followed the documentation on the page, but I'm unable to get the ping working.

-I've used a configuration for printing with the terminal.

My program is stuck in a loop in the FreeRTOS_IP.c file:

 

 

static void prvProcessIPEventsAndTimers( void )
{
(...)

switch( xReceivedEvent.eEventType )
{
            case eNetworkDownEvent:
             /* Attempt to establish a connection. */
                     prvProcessNetworkDownEvent( ( ( NetworkInterface_t * ) xReceivedEvent.pvData ) );
                     break;

 

 

I have uploaded the repository to GitHub:

https://github.com/EmilioCodon/FreeRTOS_Plus

I'm a newbie in FreeRTOS, and I greatly appreciate any kind of assistance.

 

1 REPLY 1
jiangfan
ST Employee

You may use an Ethernet application example for STM32H735 as a reference, such as LwIP_HTTP_Server_Netconn_RTOS project:

STM32CubeH7/Projects/STM32H735G-DK/Applications/LwIP/LwIP_HTTP_Server_Netconn_RTOS at master · STMicroelectronics/STM32CubeH7 · GitHub