How to do Ethernet internal loop back test in IMX6dl?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to do Ethernet internal loop back test in IMX6dl?

Jump to solution
2,970 Views
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

Labels (1)
Tags (2)
0 Kudos
1 Solution
1,266 Views
maheshmahadeva1
NXP Employee
NXP Employee

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

Best regards,

-Mahesh

View solution in original post

0 Kudos
2 Replies
1,267 Views
maheshmahadeva1
NXP Employee
NXP Employee

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

Best regards,

-Mahesh

0 Kudos
1,265 Views
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 Kudos