Skip to main content
yuri CH
Senior
June 1, 2021
Solved

how to properly define STM32H747i-Disco for ping test?

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:

  1. The ethernet is defined in RMII mode (since MII isnt possible on the STM32H747i-Disco).
  2. 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.

This topic has been closed for replies.
yuri CH
yuri CHBest answer
Senior
June 2, 2021

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.

3 replies

yuri CH
yuri CHAuthorBest answer
Senior
June 2, 2021

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.

Nagendra Somanapalli
Associate II
September 11, 2021

Hi ,

I still struck on this issue, can u share code for stm32h747 ping code?

Explorer
December 12, 2023