Loading...
 
Skip to main content

System Workbench for STM32


CubeMX + OpenSTM32 + lwIP + FreeRTOS not working

I just created a simple project with CubeMX including FreeRTOS and lwIP. I selected STM32F746G-DISCO board and enabled Ethernet in RMII mode.
Then I generated code for SW4STM32 and the project compiles fine but there is no ping.

Is it possible?

Found the solution:

CubeMX configures a wrong value for PHY address. In CubeMX, under Configuration tab, select ETH and set a PHY address equal to 0.

PHY address should be zero for STm32F746G-DISCO