Skip to main content
Visitor II
February 13, 2025
Question

ETHERNET on STM32F479NIH6 chip

  • February 13, 2025
  • 2 replies
  • 500 views

I am trying to create a Client that communicates via Ethernet on the PHY LAN8720 chip. The program has an error that does not run automatically when the board is powered on or the chip is reset. If I use debug, I have to press RUN several times to be able to access the config and main functions and then run normally. Can anyone help me with this error? Thank you very much!!!!

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    February 14, 2025

    Hello @Nắng_ 

    I recommend you the following debugging tips that may help you:

    Debugging tips when working with an Ethernet perip... - STMicroelectronics Community

     

    Technical Moderator
    February 14, 2025

    @Nắng_ wrote:

     The program has an error that does not run automatically when the board is powered on or the chip is reset. If I use debug, I have to press RUN several times to be able to access the config and main functions and then run normally. Can anyone help me with this error? Thank you very much!!!!


    So it seems this issue has no relation with ethernet but to something else.

    Try to comment all the code related to the ethernet initialization and keep the rest clock config GPIO etc .. Do you have the same behavior?