2025-09-08 11:35 PM - last edited on 2025-09-09 1:34 AM by Saket_Om
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!
Solved! Go to Solution.
2025-09-09 5:48 AM
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,
2025-09-09 2:14 AM - edited 2025-09-09 2:14 AM
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,
2025-09-09 3:48 AM
@STackPointer64 Thank you for responding. The file mentioned below is a ZIP file of my STM32F746NG + LWIP + FreeRTOS project.
2025-09-09 5:48 AM
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,
2025-09-09 11:51 PM
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?
2025-09-10 1:28 AM
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,
2025-09-10 8:39 AM
The new thread:
Implement EtherNet/IP communication on STM32F746NG using OpENer