unable to ping ethernet connection with stm32h7
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
โ2025-01-27 1:32 AM - last edited on โ2025-01-27 1:35 AM by mฦALLEm
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
โ2025-01-27 7:34 AM
Hello @CJ007 ,
Here is an example of ping working on H723 board without RTOS and without DHCP.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
โ2025-01-27 1: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
โ2025-01-27 1:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
โ2025-01-27 1:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
โ2025-01-27 2:08 AM
Hello @mฦALLEm 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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
โ2025-01-27 6: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,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
โ2025-01-27 7:34 AM
Hello @CJ007 ,
Here is an example of ping working on H723 board without RTOS and without DHCP.
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
โ2025-01-27 9: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
โ2025-01-27 7:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
โ2025-01-28 7: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
