This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

c6678网口sgmii0与phy芯片link不通



您好,

        之前我在开发板上调试,用的k1 stk v1.1里的ge例程。当时过不了keystone ge init这个函数里keystone ethernet ports init函数。后来发现开发板只将sgmii1连到了phy芯片,所以需要把for循环里的i=0改为i=1。改正后ge初始化能正确通过。

现在呀自制板上调试,也是卡在了这个函数的while里面。

由于自制板是连了sgmii0,所以把for循环里的i=0,且i<1,但是依然卡在这个地方。看到status reg里,link和自协商都是0。

现在查了硬件图,发现config管脚的配置和开发板是不一样的。比如说自制板的phy address是00000,而开发板的10000。

我们用的phy芯片和开发板一样,都是88e1111,不知道现在这种情况是否要对88e1111进行配置?怎么配置?

此外,我看了gpmdio寄存器,里面的值为全0,这是否也说明就是phy有问题?

谢谢各位大神赐教!