2025-07-09 12:28 AM
Hello,
I need the TCP Server with static IP address. I chose the Nx_TCP_Echo_Echo_Server example and NUCLEO-H723ZG board as a starting point. I use the STM32CubeIDE 1.19 with latest x-cube-azrtos-h7-v3-4-0 sample files. So I imported the Nx_TCP_Echo_Echo_Server example project and compiled it without problems. But after that I disabled DHCP and set the static IP address:
After that project can't be build and it is necessary to edit app_netxduo.c file as in it still there are some code related to DHCP. But even after successful compilation I can't connect to the server from the client. Also I can't ping it too.
It seems that this is a global problem with NetXDuo as there are plenty of posts with similar problems. E.g.:
https://community.st.com/t5/stm32-mcus-embedded-software/netxduo-not-working-with-a-static-ip-addresss/td-p/673975
https://community.st.com/t5/stm32-mcus-embedded-software/http-server-on-netx-and-azrtos-disable-dhcp-when-using-fixed-ip/td-p/94729
I've tried to implement all the recommendations from these posts, but still no result.
I attach my project and raise the question - how the TCP server with Static IP address can be realized using NetXDuo ?
- on
2025-07-10 2:35 AM
Hello @Irek,
Thank you for your report.
After an initial analysis, it appears to be an issue related to CubeIDE. I followed the same steps you described and was able to ping successfully using IAR, but not with CubeIDE.
This recurring issue has been tracked internally, and an internal ticket (213871) has already been raised for further follow-up.
With Regards,