Forum Discussion

Mike_flv's avatar
Mike_flv
Icon for New Member rankNew Member
1 hour ago

RX and FCS Errors in MAX 10 TSE Example Design Loopback Tests (v16.0.0)

Development Environment

Development Board: MAX 10 FPGA Development Kit (Rev. C)
Software: Quartus Prime Lite Edition 16.0
Example Design: MAX 10 FPGA – Single-Port Triple Speed Ethernet and Onboard PHY Chip Design Example
Example Design Version: 16.0.0
Example Design URL: https://docs.altera.com/r/example-designs/714818/16.0.0/max-10-fpga-single-port-triple-speed-ethernet-and-onboard-phy-chip-design-example/introduction

Issue Description

I am a beginner in FPGA development, and I am using the Altera-provided example design to learn more about Ethernet communication and the Triple-Speed Ethernet (TSE) IP core.

I compiled the example design according to the official user guide and programmed the generated SOF file onto the MAX 10 FPGA Development Kit. After programming the FPGA, I pressed the reset button to perform a hardware reset, as instructed in the user guide.I then launched System Console, executed source main.tcl, and performed "a. To Perform Internal MAC Loopback Test", as described on page 21 of the user guide.

 

I executed the following commands:

source main.tcl

TEST_MAC_LB 1000M 

stats_chk

 

However, when I checked the MAC statistics counters using stats_chk, I observed a large number of RX errors and FCS errors.

For example, the 1000 Mbps internal MAC loopback test produced the following results:

aFramesTransmittedOK = 109387

aFramesReceivedOK = 4437

aFrameCheckSequenceErrors = 28318

ifInErrors = 95112

aTxPAUSEMACCtrlFrames = 9387

etherStatsFragments = 8899

 

Are these results expected behavior for the example design, or do they indicate a configuration or operational issue?

Please note that I have not modified the example design in any way, including the HDL source files, IP settings, or Tcl scripts.

For reference, I performed the Internal MAC Loopback Test at 1000 Mbps, 100 Mbps, and 10 Mbps, and attached the System Console logs as text files.

I also performed "b. To Perform External MAC Loopback Test" (PHY internal loopback), as described on page 21 of the user guide, at all three speeds. I have attached those logs as well.

Each log file is named to indicate the test type and operating speed.

I would appreciate your guidance on the following questions:

  1. Are the RX errors and FCS errors observed in these loopback tests expected, or should the tests complete without errors?
  2. Are there any additional settings or checks required to run these loopback tests successfully?
  3. Are there any known issues, fixes, or updated versions of this example design that I should be aware of?

As I am still learning FPGA development and Ethernet, I may have overlooked something basic.

Any advice or suggestions would be greatly appreciated.

Thank you for your time and assistance.

1 Reply

  • ai_responder's avatar
    ai_responder
    Icon for Community Manager rankCommunity Manager

    Thank you for your inquiry. To ensure an accurate response, your request has been routed to an Altera application engineer for further review and assistance.


    Note: To continue using AI Responder, please start your next inquiry with ai_responder

    Disclaimer: AI-generated responses may contain errors or omissions. Please verify technical guidance with official Altera documentation before implementation.

    Thank you very much.