cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
5,474 Views
Registered: ‎08-09-2014

Modifying AXI_Ethernet example

Jump to solution

Hi,

 

I have run the examples

 

xaxiethernet_example_intr_fifo.c

xaxiethernet_example_polled.c

 

of Vivado 2013.4 on KC705. The polling mode tests and the interrupt mode tests are passed successfully. This example puts the PHY on loopback mode. Now what I want is to break the loopbak and send the packets out to the PC.

 

How can I modify these example codes to break the loop?

 

What I did so far is just commented out the line for loopback

 

//Status = AxiEthernetUtilEnterLoopback(&AxiEthernetInstance, LoopbackSpeed);

 

Tests fail as expected but cannot observe any packets on wireshark.

 

 

Thanks

 

 

0 Kudos
1 Solution

Accepted Solutions
Highlighted
Visitor
Visitor
9,351 Views
Registered: ‎08-09-2014

Solved the problem.

 

AxiEthernetUtilEnterLoopback()  also configures the PHY for speed... etc as well as loopback mode. So left this function but only commented  

 

//XAxiEthernet_PhyWrite(AxiEthernetInstancePtr, PhyAddr, PHY_R0_CTRL_REG, PhyReg0 | PHY_R0_LOOPBACK);

 

Thanks

View solution in original post

0 Kudos
2 Replies
Highlighted
Visitor
Visitor
9,352 Views
Registered: ‎08-09-2014

Solved the problem.

 

AxiEthernetUtilEnterLoopback()  also configures the PHY for speed... etc as well as loopback mode. So left this function but only commented  

 

//XAxiEthernet_PhyWrite(AxiEthernetInstancePtr, PhyAddr, PHY_R0_CTRL_REG, PhyReg0 | PHY_R0_LOOPBACK);

 

Thanks

View solution in original post

0 Kudos
Highlighted
1,131 Views
Registered: ‎03-12-2015

how do you receive packets from pc with application axi_eth_fifo_intr example?

0 Kudos