Skip to main content
Explorer
October 22, 2024
Question

ETH connection to STM32F769NIH6 with LwIP and FreeRTOS not work

  • October 22, 2024
  • 2 replies
  • 653 views

Hi everyone,

I'm trying to configure my STM32F769NIH6 via the ETH port in "MII full duplex Only" mode and the LwIP library, but I can't make it work as soon as the default task starts everything freezes.

 

 

void StartTask_SYS(void const * argument)
{
 /* init code for LWIP */
 MX_LWIP_Init();
 /* USER CODE BEGIN 5 */

 /* Infinite loop */

 for(;;)

 

 

Daddi_0-1729634519703.pngDaddi_1-1729634546303.pngDaddi_2-1729634573917.png

Daddi_3-1729634614227.png

 

Non capisco dove sto sbagliando, avete dei suggerimenti?

2 replies

Technical Moderator
October 23, 2024

Hello @Daddi 

You might want to try running the application without FreeRTOS to see if it resolves the issue. This approach will help determine if the problem is related to the integration of FreeRTOS. If the application works correctly without FreeRTOS, we can then investigate what might be wrong with the FreeRTOS configuration or its interaction with the LwIP library.

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
ST Employee
October 23, 2024

Hello @Daddi,

Thank you for your report. The problem might be due to your IP address configuration. Please try to change the gateway address to be in the same subnet as the IP address.

If your network uses 192.168.1.x, a typical gateway would be 192.168.1.1.

 

With regards,

"If your question is answered, please close this topic by clicking ""Accept as Solution""."