2025-10-07 6:00 AM - last edited on 2025-10-07 6:08 AM by mƎALLEm
Hello,
I have been following a few different Ethernet tutorials for my MCU (STM32H750VBT6TR) I have on a dedicated PCB. Thus far, I have been unable to get a simple ping test working. For reference, I am mostly using this tutorial in combination with this one, but I am not using freeRTOS at this time. I simply want to get LwIP to set up correctly and ping the board so I can then adapt it to a UDP server.
I know my memory locations for the rx/tx designators, and rx pool base, and the LwIP heap are in the right locations (assuming they are as the tutorial states), but my code fails when the LwIP.c file calls netif_add(), which makes me think the issue does not lie within the memory.
Can anyone who is more experienced in simple LwIP implementations help me out here? I am not sure where to turn at this point, as it does not seem people on other posts are having the same issues. I will attach my project files, namely the IOC, so anyone can look to see if there are any issues.
Thanks in advance!
Solved! Go to Solution.
2025-10-09 7:25 AM
... PHY datasheet
... H7 ref manual (I guess it's rather the PHY)
2025-10-09 7:28 AM
I'm glad it solved your issue. Regarding the timeout problem, it appears your ARP cache is being cleared too quickly, so each time you leave the board unattended, its ARP entry is removed. Try checking your interface parameters with these steps:
netsh interface ipv4 show interfacesnetsh interface ipv4 show interface <InterfaceIndex>netsh interface ipv4 set interface <InterfaceIndex> basereachable=600002025-10-09 9:47 AM
All,
I implemented a basic UDP client, and I verified I can send and receive data packets without issue, so I am calling this entire thread solved. I will keep in mind that my PHY may enter a sleep mode as I go forward and will tackle it as it is relevant.
Thank you all for your help; it is much appreciated.