How to do Ethernet internal loop back test in IMX6dl?

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

How to do Ethernet internal loop back test in IMX6dl?

跳至解决方案
4,051 次查看
ismailkk
Contributor I

My ethernet is working properly from uboot in normal mode of operation on iMx6dl. but when I carried out an  internel MAC loop back  it doesn't generate a receive event and i donot get a value in the receive buffer.

Following is the procedure i have done ,

1. Send an ethernet ping packet in normal mode, polled for receive event ,got reply and verified my transmit and receive procedures are perfect.

2. Enabled Loop back mode by setting up  loop back bit in the receive control register.

3. send a packet (verified packet is not transmitted to the network).

4. poll for receive event .

....

but i neither get a receive event nor any values in receive buffer .

Is there something else i have to do rather than setting loopback bit.

Please help.

ismail

标签 (1)
标记 (2)
0 项奖励
回复
1 解答
2,347 次查看
maheshmahadeva1
NXP Employee
NXP Employee

Try setting this register to RCR | 0xD i.e set bits 3,2 and 0.

Best regards,

-Mahesh

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,348 次查看
maheshmahadeva1
NXP Employee
NXP Employee

Try setting this register to RCR | 0xD i.e set bits 3,2 and 0.

Best regards,

-Mahesh

0 项奖励
回复
2,346 次查看
ismailkk
Contributor I

Bit 3 promiscuous mode was my key....i was doing everything but the bit 3..thanks a lot for you answer Mahesh Mahadevan.

0 项奖励
回复