UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 24004

8.2.01 EDK - The TEMAC Loopback test generated by the BSB for the ML410 board reports "Test Failed"

Description

The TEMAC Loopback test generated by the BSB for the ML410 board reports "Test Failed".

Solution

ML410 8.2i TestApp_Peripheral

Starting with EDK 8.2i SP1 Base System Builder (BSB) can be used to generate an ML410 design that contains a hard_temac peripheral. The BSB generated TestApp_Peripheral code used to perform a quick TEMAC loopback test needs to be changed to use the production ML410 PHY address.

In the file xtemac_example.h, perform the following edit:

Change From:

#define TEMAC_PHY_ID 0

To:

#define TEMAC_PHY_ID 7

For additional information regarding the PHY address settings for the ML405 and ML410 see (Xilinx Answer 23948)

Also add the usleep(1000000); function call to the "xtemac_example_util.c" source file as illustrated below:

usleep(1000000);

Status = XTemac_PhyWrite(TemacInstancePtr, TEMAC_PHY_ID, 20, PhyReg20);

Status |= XTemac_PhyWrite(TemacInstancePtr, TEMAC_PHY_ID, 0, PhyReg0 | PHY_R0_RESET);

Linked Answer Records

Associated Answer Records

Answer Number Answer Title Version Found Version Resolved
38093 ML410 - Known Issues and Release Notes Master Answer Record N/A N/A
AR# 24004
Date Created 09/04/2007
Last Updated 12/15/2012
Status Active
Type General Article