'Send and receive test-data via ethernet-card-port

I want to send and receive data from pc (ubuntu) to fpga.

1. receive:

I know that my pins are even not perfectly wired up! BUT: as I did something like

ping -I <ethernetcardname> google.de 

I could see a change on my wires :P

  • So as those lanes are not really changeable, I just want to see I at least could
  • generate some packets which I would somehow recognize.
  • Maybe there is a simple program for this.. I try right now netsniff

Send to pc

  • Is there something I need to take care of when sending data to my pc?
  • I check it with wireshark and netsniff .. but cant see anything incoming.
  • at the moment I just send 0x0707070707070707 Idle and 0xFF Control Xgmii messages
  • I hope my lanes are correctly configured and also correctly on my board.


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source