Skip to main content
Visitor II
February 18, 2022
Question

Difficulties pinging the STM32H7 which uses LwIP and FreeRTOS. STM32H7 can send the UDP packet to the server but the server cannot send UDP packet to the STM32H7. I cannot ping the STM32H7, what could be the cause here?

  • February 18, 2022
  • 1 reply
  • 1752 views

Hello everyone,

I'm trying to set up the LwIP and FreeRTOS on the STM32H7.

Currently I can send UDP packet from the client (STM32H7) to the server (PC),

but I cannot ping the STM32H7.

There is the main.c in the attachment and the lwipopts, ethernetif and FreeRTOSConfig.

Here is the image taken from the wireshark. The STM32H7 was given the 192.168.0.100 and the server 192.168.0.238 address.

0693W00000KZfu0QAD.png 

What could be the issue here?

Is it the initialization or the configuration files?

I'm running out of ideas and any help would be greatly appreciated.

Thanks

    This topic has been closed for replies.

    1 reply

    Visitor II
    March 1, 2022

    Hello @Nick1234569​ ,

    You can refer to the following application provided under the H7 Firmware Package:

    • Projects\STM32H743I-EVAL\Applications\LwIP\LwIP_UDPTCP_Echo_Server_Netconn_RTOS

    I hope this helps you.

    BeST Regards,

    Walid