dpmac17 sgmii Problems

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

dpmac17 sgmii Problems

跳至解决方案
4,665 次查看
muaxi8
Contributor V

lx2160a custom board。

Using SERDES1 Protocol: 1 (0x1)
Using SERDES2 Protocol: 7 (0x7)
Using SERDES3 Protocol: 3 (0x3)

Now I am using dpMAC17 SGMII of SerDES2 as the debugging network port. The PHY chip is AR0833. Using MII command under uboot, I can see that the PHY is in link state, but ping my host is not working.。

RCW parameter EC1_PMUX[833-832] is changed to 0x01,  but the ping still fails

 

 

 

 

0 项奖励
回复
1 解答
4,475 次查看
muaxi8
Contributor V

when the clock spread spectrum turned off, we can ping through, it is too hard

thank u

在原帖中查看解决方案

0 项奖励
回复
25 回复数
1,086 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the update from the AE team.

From the response of Q1 it seems that mc firmware is not updated by customer. Please update and check

0 项奖励
回复
1,086 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the update from the AE team.

Do customer really required loopback at the MAC level?

For MAC level loopback at u-boot customer needs to configure or set loopback bit after running ping command using codewarrior ccs.

When ping is ran from the u-boot prompt, probe command is called and MAC is reconfigured, means loopback bit will be reset. hence for running loopback at MAC, customer needs to set loopback bit from ccs after running ping command.

 

I have attached document describing digital loopback. please check and let us know if it works.

0 项奖励
回复
1,083 次查看
muaxi8
Contributor V

i want to check the mac17 is ok, It looks correct from the print。Could you please share the complete file in the attachment with me? It may be very helpful to me.

very thanks.

ping failed; host 192.168.0.119 is not alive
=>
ldpaa_dpmac_bind, DPMAC Type= dpmac
ldpaa_dpmac_bind, DPMAC ID= 17
ldpaa_dpmac_bind, DPMAC State= 0
ldpaa_dpmac_bind, DPNI Type= dpni
ldpaa_dpmac_bind, DPNI ID= 0
ldpaa_dpmac_bind, DPNI State= 0
DPMAC link status: 1 - up
DPNI link status: 1 - up
Using DPMAC17@sgmii device
DPNI counters ..
DPNI_CNT_ING_ALL_FRAMES= 1
DPNI_CNT_ING_ALL_BYTES= 60
DPNI_CNT_ING_MCAST_FRAMES= 0
DPNI_CNT_ING_MCAST_BYTES= 0
DPNI_CNT_ING_BCAST_FRAMES= 1
DPNI_CNT_ING_BCAST_BYTES= 60
DPNI_CNT_EGR_ALL_FRAMES= 1
DPNI_CNT_EGR_ALL_BYTES= 42
DPNI_CNT_EGR_MCAST_FRAMES= 0
DPNI_CNT_EGR_MCAST_BYTES= 0
DPNI_CNT_EGR_BCAST_FRAMES= 1
DPNI_CNT_EGR_BCAST_BYTES= 42
DPNI_CNT_ING_FILTERED_FRAMES= 0
DPNI_CNT_ING_DISCARDED_FRAMES= 0
DPNI_CNT_ING_NOBUFFER_DISCARDS= 0
DPNI_CNT_EGR_DISCARDED_FRAMES= 0
DPNI_CNT_EGR_CNF_FRAMES= 0

DPMAC counters ..
DPMAC_CNT_ING_BYTE=15
DPMAC_CNT_ING_FRAME_DISCARD=9
DPMAC_CNT_ING_ALIGN_ERR =11
DPMAC_CNT_ING_BYTE=15
DPMAC_CNT_ING_ERR_FRAME=21
DPMAC_CNT_EGR_BYTE =21
DPMAC_CNT_EGR_ERR_FRAME =25

Abort
ping failed; host 192.168.0.119 is not alive

0 项奖励
回复
1,075 次查看
yipingwang
NXP TechSupport
NXP TechSupport

Can you please confirm if you have updated mc firmware version or not?

From the test result of digital loopback it looks that digital loopback path is in good state.

Can you please move forward with PHY remote loopback as mentioned in AR8033 datasheet to check peer-peer connection. (section 2.5.3 in PHY datasheet).

for loopback test please follow steps shared in PHY datasheet.

0 项奖励
回复
4,476 次查看
muaxi8
Contributor V

when the clock spread spectrum turned off, we can ping through, it is too hard

thank u

0 项奖励
回复