2025-01-27 01:32 AM - last edited on 2025-01-27 01:35 AM by SofLit
2025-01-27 01:39 AM
Hello @CJ007 and welcome to the community,
You provided few wording for a relative complex subject. Need to provide more details on you environment: which board? which middleware are you using? LWIP? with without RTOS? etc etc ..
See the tips on how to post a thread.
PS: see this article on How to create a project for STM32H7 with Ethernet and LwIP stack working
2025-01-27 01:40 AM
2025-01-27 01:54 AM
2025-01-27 02:08 AM
Hello @SofLit I am using LWIP stack , not using RTOS . I tried to assign a static IP to my board ( not DHCP ) and tried to ping from my pc . I was unable to ping .I am using NUCLEO-H723Zg development board.
2025-01-27 06:24 AM
Hello @CJ007,
Please ensure that your PC and the board are on the same network and subnet.
Additionally, verify that the static IP, subnet mask, and gateway are correctly set in your code.
You can find helpful examples at the following link: STM32CubeH7/Projects/NUCLEO-H723ZG/Applications/LwIP at master · STMicroelectronics/STM32CubeH7
With Regards,
2025-01-27 07:34 AM
Hello @CJ007 ,
Here is an example of ping working on H723 board without RTOS and without DHCP.
Regards
2025-01-27 09:03 AM
Hello @ASEHST Pc and board are on the same network and subnet. Also the static ip , subnet mask and gateway is correctly set in the code . Ethernet callback is coming and netlink is setup , physical layer connection is also established , still unable to ping
2025-01-27 07:42 PM
2025-01-28 07:57 AM
Hello @CJ007 ,
Have you changed the IP address in your code accordingly by default it is set to 192.168.1.15 in lwip.c file.in fact, this example is working and has been tested multiple times.
Regards