2022-04-03 11:59 PM
2022-04-04 05:14 AM
Hello @TG.3 and welcome to the Community :)
Please check your USB cable and pins configuration.
I advise you to follow the same configuration as in examples provided in STM32CubeF4 package.
Maybe you have the same issue as reported in this post : LWIP get HardFault_Handler after update on STM32CubeIDE v1.9.0!
Otherwise, it would be really helpful if you share more information about CubeMx and Cube package version and the error message that you have.
When your question is answered, please close this topic by choosing Select as Best. This will help other users find that answer faster.
Imen
2022-04-04 11:15 PM
Thank you for your response.
I have ethernet and lwip software written in Standard Library in IAR Workbench that is working fine. but when i configure using stm32cube ide, i'm not getting it working.
In IAR, ETH_InitStructure.ETH_AutoNegotiation = ETH_AutoNegotiation_Enable; is enabled. But in cube ide i don't find it.