Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

Underrun in open_eth

Altera_Forum
Honored Contributor II
1,078 Views

I am now running on a NEEK using the Igor MAC to connect to ethernet with a National PHY.  

 

My MAC is configured as follows in HW: 

Descriptors:128 

Transmit buffer: 2048B 

Receive buffer: 4096B 

 

I can ping TO outside, and I can ping FROM outside but... 

 

When I allow ping to use its default packet size, I *always* get errors like this: 

oeth: tx14,00a34900 

 

This seems to be sensitive to the packet size, since when I "ping <ip> -s 5", resulting in a 5 byte payload, the problem gets better(still happens sometimes). When It does happen, the interface is pretty hosed up, and doesn&#39;t really respond anymore. 

 

When I looked into open_eth.h, I found that errors are reported in the low 9 bits of the bdp structure (which I don&#39;t really understand B.T.W....first time in this code). 

The above code corresponds to OETH_TX_BD_UNDERRUN 

 

Can anyone tell me what this means, and why I may be seeing it?
0 Kudos
0 Replies
Reply