2025-02-12 11:37 PM
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!!!!
2025-02-14 08:28 AM
Hello @Nắng_
I recommend you the following debugging tips that may help you:
Debugging tips when working with an Ethernet perip... - STMicroelectronics Community
2025-02-14 09:19 AM - edited 2025-02-14 09:19 AM
@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?