2024-06-07 09:37 PM - last edited on 2024-06-08 11:27 AM by Peter BENSCH
Hope all is going well. I'm trying to ping STM32H743ZI NUCLEO 144 using LWIP middle-ware. Code generated by CubeMX.
while(1) { MX_LWIP_Process(); }
I don't know how should I configure the CubeMX or change the generated code to be able to ping my board.sir can you please share the working code please :folded_hands:
Solved! Go to Solution.
2024-06-11 02:55 AM
Hello @Raja_Kaaliraj,
Please ensure that your assigned static IP address is in the same subnet as your router and is not within the range allocated by your router's DHCP to avoid IP address conflicts. Also, ensure that your router's IP address is set as the gateway.
You can find a detailed, step-by-step Ethernet example project code based on LwIP here: STM32H7-LwIP-Examples/STM32H743_Nucleo_ETH at main · stm32-hotspot/STM32H7-LwIP-Examples (github.com)
With Regards,
2024-06-08 12:19 PM
Before generating code with Cube, please begin from one of ready examples. Do not change anything before the selected example "works" (at least responds to ping).
2024-06-11 02:55 AM
Hello @Raja_Kaaliraj,
Please ensure that your assigned static IP address is in the same subnet as your router and is not within the range allocated by your router's DHCP to avoid IP address conflicts. Also, ensure that your router's IP address is set as the gateway.
You can find a detailed, step-by-step Ethernet example project code based on LwIP here: STM32H7-LwIP-Examples/STM32H743_Nucleo_ETH at main · stm32-hotspot/STM32H7-LwIP-Examples (github.com)
With Regards,