Skip to main content
Visitor II
June 5, 2024
Solved

STM32F407ZGT6 +LAN8720+FREERTOS+LWIP+HTTPD《LwIP_HTTP_Server_Raw》

  • June 5, 2024
  • 3 replies
  • 1941 views

@
STM32Cube_FW_F4_V1.28.0\Projects\STM324xG_EVAL\Applications\LwIP\LwIP_HTTP_Server_Raw
I use this Demo,replace phy with Lan8742 sucessfully,then I ping this board ip address sucessfully too,but when I open webpage by browser,the network is down,cannot ping ,how to solve this problem。

with
STM32Cube_FW_F4_V1.26.2\Projects\STM324xG_EVAL\Applications\LwIP\LwIP_HTTP_Server_Raw
this version can work whole time.Compare two versions,different files are HAL Drivers  and ethernetif.c.so
how to solve this problem,thanks for your help!

 

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

    Hello @ZainFan ,

    by costume board I mean is this a Custom PCB that you are using this is not a board provided by ST so you need to make sure that you are rooting the correct pins to the PHY interface are the same (check pinouts in the Ethernetif.c to look for changes as the example you put don't use the same PHY. also make sure you are using the correct lan8720.c file.
    Regards

    3 replies

    ST Employee
    June 13, 2024

    Hello @ZainFan ,

    thank you for sharing this with us.

    could you please give us some details to help us reproduce you issue?

    about the Hardware you are using?

    is the STM32F407ZGT6 +LAN8720 a custom board? 

    Regards

    ZainFanAuthor
    Visitor II
    June 17, 2024

    sorry ,idont know what is  a custom board?  I buy it online。i can support a link to my code。

    https://github.com/zainFan/STM32.git

    thanks for your help ,you can find me with my email 1019472847@qq.com

    STeaAnswer
    ST Employee
    July 4, 2024

    Hello @ZainFan ,

    by costume board I mean is this a Custom PCB that you are using this is not a board provided by ST so you need to make sure that you are rooting the correct pins to the PHY interface are the same (check pinouts in the Ethernetif.c to look for changes as the example you put don't use the same PHY. also make sure you are using the correct lan8720.c file.
    Regards

    ST Employee
    August 2, 2024

    Hello @ZainFan,

    Did you manage to solve this issue? is there any updates?
    Regards

    Visitor II
    March 18, 2025

    Hello, @STea 

    I have the same problem. The development board is also STM32F407ZGT6 + LAN8720. Using the httpd.c file to configure the webServer, I can ping the network, but after entering the IP configured for the PHY locally, the webpage cannot return resources, and afterwards I can no longer ping.

    Regards