cancel
Showing results for 
Search instead for 
Did you mean: 

Bug STM32F429ZI LWIP not work after link up/down

vekli
Associate II

STM32Cube FW_F4 V1.27.1

HAL ETH LWIP

file

ethernetif.c

 HAL_ETH_Start(&heth);

 line 880

 if(linkchanged)

  {

   /* Get MAC Config MAC */

   HAL_ETH_GetMACConfig(&heth, &MACConf);

   MACConf.DuplexMode = duplex;

   MACConf.Speed = speed;

   HAL_ETH_SetMACConfig(&heth, &MACConf);

   HAL_ETH_Start(&heth);

   netif_set_up(netif);

   netif_set_link_up(netif);

  }

Fix:

HAL_ETH_Start_IT(&heth);

1 ACCEPTED SOLUTION

Accepted Solutions
KDJEM.1
ST Employee

Hello @vekli​ ,

A similar question is already asked here.

This issue is fixed in STM32CubeMX 6.7.0 and in STM32CubeIDE1.11.0.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Thank you

Kaoutha

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

1 REPLY 1
KDJEM.1
ST Employee

Hello @vekli​ ,

A similar question is already asked here.

This issue is fixed in STM32CubeMX 6.7.0 and in STM32CubeIDE1.11.0.

When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.

Thank you

Kaoutha

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.