cancel
Showing results for 
Search instead for 
Did you mean: 

ETHERNET on STM32F479NIH6 chip

Nắng_
Associate

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!!!!

2 REPLIES 2
Imen.D
ST Employee

Hello @Nắng_ 

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

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

 

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
SofLit
ST Employee

@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?

To give better visibility on the answered topics, please click on "Accept as Solution" on the reply which solved your issue or answered your question.
PS:
1 - This is NOT an online support (https://ols.st.com) but a collaborative space.
2 - Please be polite in your reply. Otherwise, it will be reported as inappropriate and you will be permanently blacklisted from my help.