cancel
Showing results for 
Search instead for 
Did you mean: 

ETH connection to STM32F769NIH6 with LwIP and FreeRTOS not work

Daddi
Associate

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 2
Saket_Om
ST Employee

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.

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

Thanks
Omar
ASEHST
ST Employee

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".