Skip to main content
Explorer
September 9, 2025
Solved

STM32F746NG + LWIP + FREERTOS ping problem

  • September 9, 2025
  • 3 replies
  • 540 views

Hello @Community,

I am working on the STM32F746NG board. In my application, I want to communicate with a PLC using the EtherNet/IP communication protocol to exchange real-time data.

The problem I am facing is that my board does not respond to ping when FreeRTOS is enabled. Without FreeRTOS, the board is pinging correctly.

Has anyone faced this issue before? If yes, please guide me on how to resolve it. Any suggestions or solutions will be greatly appreciated.

Thank you!

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

    Hello,

    After reviewing your project, it appears you skipped crucial steps when configuring your project, such as setting up the MPU, configuring LwIP heap memory, and declaring the proper memory sections for the descriptors and Rx pool. To resolve this, I suggest you follow the guide below and focus on these areas, adapting them to your MCU and memory configuration.

    Best regards,

    3 replies

    Technical Moderator
    September 9, 2025

    Hello @ashish1907 and welcome to ST community,

    To better understand and assist you with this issue, could you please attach your STM32CubeMX configuration file (.ioc), your main.c file, and your linker file? This will help me review your configuration and implementation.

    Best regards,

    Technical Moderator
    September 9, 2025

    Hello,

    After reviewing your project, it appears you skipped crucial steps when configuring your project, such as setting up the MPU, configuring LwIP heap memory, and declaring the proper memory sections for the descriptors and Rx pool. To resolve this, I suggest you follow the guide below and focus on these areas, adapting them to your MCU and memory configuration.

    Best regards,

    Explorer
    September 10, 2025

    Thank you @STackPointer64  for your response, it is working. However, I now want to communicate with a PLC through EtherNet/IP. For this, I need to build and run the OpENer stack on my STM32F746NG board. Could you please describe the process step by step?

    Technical Moderator
    September 10, 2025

    Hello,

    I’m afraid I cannot assist with that, as it is beyond my scope. Thank you for your understanding. I suggest you start a new thread in the community maybe other members could assist and guide you.

    Best regards, 

    Super User
    September 10, 2025