Skip to main content
Associate III
July 4, 2024
Solved

issue with FW_V1.10.0 not pinging in stm32h743

  • July 4, 2024
  • 1 reply
  • 734 views

im using stm32h743zi2 nucleo board . im triyng to do programming in ethernet with udp without freeRTOS . using firmware version of 1.10.0 but it is not pinging .  anybody  did programming with this FW  . please let me know the reasons for not ping.

or send me the working code for ping. thanks

Best answer by STea

Hello @saikumar ,

ping works ok with firmware version 1.10 it seems that you are missing some hardware or software configuration.
here is an example showcasing the Ethernet working on H7CubeFirmware 1.10 STM32H7-LwIP-Examples/STM32H743_Nucleo_ETH at main · stm32-hotspot/STM32H7-LwIP-Examples (github.com) .

there has been some corrections on newest version of Cube Firmware H7 1.11.2 regarding Lwip and Ethernet examples (see STM32CubeH7/Release_Notes.html at master · STMicroelectronics/STM32CubeH7 (github.com):(

  • HAL ETH
    • Update the entry to critical section without enabling unwanted global interrupts.
    • Add missing system time in different PTP APIs.
    • Fix ETH_Start_IT sequence.
    • HAL ETH Driver general updates to enhance the quality and robustness.
    • Add condition to get the TimeStamp only when it was captured (Check on Last Descriptor and TimeStamp flag set).
    • Fix comment “CSR Clock Range between 150-250* MHz”.
    • Update on Rx descriptor Tail pointer management to avoid race condition.
    • Move the section of disable MMC interrupts from HAL_ETH_Start_IT() API to HAL_ETH_Init() API.
    • Fix MAC register name to get MAC LPI interrupt.

although this should not affect your ability to ping and run TCP UDP examples on the previous version v1.10.
Regards

1 reply

STeaBest answer
ST Employee
September 16, 2024

Hello @saikumar ,

ping works ok with firmware version 1.10 it seems that you are missing some hardware or software configuration.
here is an example showcasing the Ethernet working on H7CubeFirmware 1.10 STM32H7-LwIP-Examples/STM32H743_Nucleo_ETH at main · stm32-hotspot/STM32H7-LwIP-Examples (github.com) .

there has been some corrections on newest version of Cube Firmware H7 1.11.2 regarding Lwip and Ethernet examples (see STM32CubeH7/Release_Notes.html at master · STMicroelectronics/STM32CubeH7 (github.com):(

  • HAL ETH
    • Update the entry to critical section without enabling unwanted global interrupts.
    • Add missing system time in different PTP APIs.
    • Fix ETH_Start_IT sequence.
    • HAL ETH Driver general updates to enhance the quality and robustness.
    • Add condition to get the TimeStamp only when it was captured (Check on Last Descriptor and TimeStamp flag set).
    • Fix comment “CSR Clock Range between 150-250* MHz”.
    • Update on Rx descriptor Tail pointer management to avoid race condition.
    • Move the section of disable MMC interrupts from HAL_ETH_Start_IT() API to HAL_ETH_Init() API.
    • Fix MAC register name to get MAC LPI interrupt.

although this should not affect your ability to ping and run TCP UDP examples on the previous version v1.10.
Regards