2024-09-13 12:46 AM
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: