Skip to main content
Visitor II
November 6, 2024
Solved

STM32H745 nucleo: Ethernet ping works in debug mode; fails in standalone

  • November 6, 2024
  • 2 replies
  • 1381 views

on STM32H745 nucleo board, Ethernet ping command working in debug mode but failing in standalone mode. Please help

    This topic has been closed for replies.
    Best answer by ASEHST

    Hello,

    Please take a look at this post: Solved: Basic UDP Echo server works in debug, but not run ... - STMicroelectronics Community. You might be experiencing a similar issue.

     

    With Regards,

    2 replies

    Super User
    November 6, 2024

    What, exactly, do you mean by "debug mode" and "standalone mode" ?

    When you say "ping fails", is that your system sending or responding to the ping ?

    What testing/investigation/debugging have you done to find out what's going on? eg, diagnostic trace output? Wireshark? etc...

     

    GopinathAuthor
    Visitor II
    November 6, 2024

    From PC i'm sending ping command to hit the STM32 tcpserver, when connected from STM32CubeIDE- debug mode, STM32H745 nucleo board response good for the ping command. But when the same board booted after the reboot with out connecting to Cube IDE, it is not responding to the Ping Command

    Super User
    November 7, 2024

    Does your system have ICMP enabled?

    What testing/investigation/debugging have you done to find out what's going on? eg, diagnostic trace output? Wireshark? etc...

    ASEHSTAnswer
    ST Employee
    November 18, 2024

    Hello,

    Please take a look at this post: Solved: Basic UDP Echo server works in debug, but not run ... - STMicroelectronics Community. You might be experiencing a similar issue.

     

    With Regards,

    GopinathAuthor
    Visitor II
    November 19, 2024

    Thanks

    added 1800 mSec delay and it worked perfect and Reset Button, short press and release will not work on the nucleo board, either do long Press and release of Reset button or do the USB reconnect. Ping and Rest Api worked perfectly
    /* USER CODE END Boot_Mode_Sequence_2 */
    /* USER CODE BEGIN SysInit */
    HAL_Delay(1800);
    /* USER CODE END SysInit */
    /* Initialize all configured peripherals */
    MX_GPIO_Init();
    MX_LWIP_Init();