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!
2025-10-07 6:28 AM
So, what is your hardware? Is it a ST evaluation board or a custom board with custom PHY?
2025-10-07 6:38 AM
I am using a custom PCB with a DP83825IRMQR PHY IC. This uses the RMII interface. See below for the connections.
I'm not sure how relevant the PHY IC is at this stage, as I cannot get the LwIP to initialize itself correctly as is. Does it need to communicate with the PHY at this stage, and is that a potential source of issues? I have the Platform Settings as the following currently: