cancel
Showing results for 
Search instead for 
Did you mean: 

Very slow initialization of eth1 on sr6g7

andreih
Associate

Hello,

I have a problem regarding the slow initialization of eth1 on SR6G7 evbc6000 rev B board.

The function xNetworkInterfaceInitialise() is failing multiple times, until it is succesfull.  From further investigation, I discovered that phy_check_id() is the cause of the failing. phy_check_id() is used inside dp83tg720_phydev_init(), which can be found here: ModExt/Drivers/Ethernet/DP83TG720/src/dp83tg720.c .

Is there something that must be done before initializing the interface? Could it be a problem regarding the Ethernet cable?

This behaviour can be seen using StellarSDK 4.0.0, using the ethPing project (Projects/Comms/Ethernet/ethPing). In order to use the eth1, in main() function I also registered the eth1 interface, like this:

 
xNetworkRegisterIf(ETH0_INSTANCE, NO_HW_LOOPBACK);
xNetworkRegisterIf(ETH1_INSTANCE, NO_HW_LOOPBACK);
 
Thanks in advance! :) 
This discussion is locked. Please start a new topic to ask your question.
1 ACCEPTED SOLUTION

Accepted Solutions
FSPIL
ST Employee

Hi,

SR6 information is provided under NDA.
For any question, please contact local ST support, and do not post information/questions in this public forum.

Thank you.


In order 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.

View solution in original post

1 REPLY 1
FSPIL
ST Employee

Hi,

SR6 information is provided under NDA.
For any question, please contact local ST support, and do not post information/questions in this public forum.

Thank you.


In order 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.