Nios® II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
12434 Discussions

Sending data from DE2-115 FPGA board over Ethernet to PC




I am currently trying to use the Triple-Speed Ethernet core in my Nios2 project to send a raw Ethernet frame from my DE2-115 FPGA board to the PC and capture it with Wireshark. I used the "Using Triple-Speed Ethernet on DE2-115 Boards" pdf as a reference. The frame is sent, but it seems to be encapsuled in a TCP/IP packet from with IP src and IP dest Also, every fifth byte of the data that is captured is 0x01, which makes me think there is also some clocking problem going on. It does not matter if the packet is sent via a point-to-point connection or over the router, it looks the same either way. I know that the Ethernet core does not implement a TCP/IP stack by default, so I assume that the network controller on my PC encapsules the packet this way, but I am not sure why. Is anything wrong with my code?


My top.vhd:

My main.c:


Please tell me if more information is needed. I would be very happy if someone could point me in the right direction here.

0 Kudos
0 Replies