how to properly define STM32H747i-Disco for ping test?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-06-01 06:49 AM
Hello!
I am working with the STM32H747i-Disco board, my aim is to create ethernet connectivity between the board and the PC, as a first step to send a ping from the PC to the STM32H747i-Disco and get a response. My cubeMX version is 6.2.1, the H7 firmware repository is version 1.9.0.
first, i have made the nessecery HW modifications to the STM32H747i-Disco board in order to connect the proper ethernet pins to the MCU. (SB8 closed, SB21 open, R87 open, SB17 closed).
i have defined a cubemx project according to the instructions in this link: https://community.st.com/s/article/How-to-create-project-for-STM32H7-with-Ethernet-and-LwIP-stack-working . with two exclusions:
- The ethernet is defined in RMII mode (since MII isnt possible on the STM32H747i-Disco).
- Clock source is HSI (and not HSE) - but still with 400 MHz for the M7 cortex (the ethernet is connected to the M7). I Also tried defining teh HSE option, it didnt change the outcome.
i configured the PC ethernet connection to a static IP (192.168.0.7) , also, disabled the DHCP on the board and gave an IP address as instructed (192.168.0.10).
after the code generation and running the project code on the board i connected the PC and board with an ethernet cable, while debugging i saw that the link functions are activated as expected.
unfortunetly, when i try to ping the board from PC i get "Destination host unreachable".
what might be the reason? why cant i get a ping response?
please advise on how to perform this test succesfully and correctly.
thanks in advance.
Solved! Go to Solution.
- Labels:
-
Ethernet
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-06-02 07:01 AM
Hi All!
The issue was resolved, it appears that i have configured the MPU incorrectly.
Now i have verified that these (https://community.st.com/s/article/How-to-create-project-for-STM32H7-with-Ethernet-and-LwIP-stack-working) config instructions with the STM32H747i-Disco.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-06-02 07:01 AM
Hi All!
The issue was resolved, it appears that i have configured the MPU incorrectly.
Now i have verified that these (https://community.st.com/s/article/How-to-create-project-for-STM32H7-with-Ethernet-and-LwIP-stack-working) config instructions with the STM32H747i-Disco.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2021-09-11 03:34 AM
Hi ,
I still struck on this issue, can u share code for stm32h747 ping code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2023-12-12 01:36 AM
that is very bad to share link, what nor work! :(