Skip to main content
Visitor II
October 23, 2022
Question

ethernet to work on nucleo-h753

  • October 23, 2022
  • 4 replies
  • 3290 views

i have the nucleo-h753 evolution board , and i want to activate the ethernet port to perform udp client .

i want the implementation without FREERTOS  

i followed the steps described in the link below :

https://community.st.com/s/article/How-to-create-project-for-STM32H7-with-Ethernet-and-LwIP-stack-working

and i added the code in main.c so i can do a ping to the board

i see if i put a breakpoint beside

 ethernetif_input(&gnetif);

 sys_check_timeouts();

that the debger hits the breakpoint so the hardware is configured correctly

but still i dont see that the board is replying to my ping request

is there an example or did some one managed to to get the ethernet to work on the board i will be glad for help

    This topic has been closed for replies.

    4 replies

    Super User
    October 23, 2022

    Try this example. It is expected to work.

    https://github.com/stm32-hotspot/STM32H7-LwIP-Examples/tree/main/STM32H743_Nucleo_ETH

    When you get it at least responding to ping, try to add UDP.

    Graduate II
    October 23, 2022

    > evolution board

    Duplicate topic:

    https://community.st.com/s/question/0D53W00001siY8sSAE/ethernet-to-work-on-nucleoh753

    Also what is the chance of an absolute beginner succeeding while starting with one of the most complex topics (networking) on the most complex MCU (STM32H7)? It's close to zero... Have you learned the basic prerequisites? C programming language, blinky, USART, SPI, I2C, task scheduling, some non-trivial projects? Have you read and understood the OSI networking layers?

    Post edited to adhere community guidelines.

    Graduate
    July 21, 2023

    I suggest you get a NUCLEO-H753ZI evaluation board along with a STM32F769I-DISCO, and, for both boards, you try to get a running CubeMX project with FreeRTOS and LwIP packages that ping.

    In my case, it's a matter of few minutes from start to the first ping on the F769.

    But in the case of the H753, I spend hours and days trying to pinpoint differences between fu*ked project for the H753, and the only working, NON CubeMX, projet from the H743 examples. The project in Repository/STM32Cube_FW_H7_V1.11.0/Projects/NUCLEO-H743ZI/Applications/LwIP/LwIP_HTTP_Server_Netconn_RTOS/  is running properly on a H753. A CubeMX one is not. Try to find the differences between both, become crazy, and come back here to tell us how it went.

    At this point, 2023-07-21, the STM32CubeH7 Firmware Package V1.11.0 / 04-Nov-2022 is buggy, it doesn't work for H753, at least regarding the LwIP implementation or side configurations.

    Visitor II
    September 26, 2024

    I found a sloution to your exact problem and also included a TCP server to the project.

    https://github.com/ShadiElshazly/STM32H7-Ethernet-issue-solved.git

    Explorer
    March 30, 2025

    Hi Shadi,

    I’ve tested your project and it is running!

    I can ping my Nucleo board, but I don’t see an example webpage running from the board in the browser.

    Do you have any manual or instructions on how to view a simple HTML page?

    Best regards,
    Tim