AR# 24004

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

描述

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

解决方案

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);

链接问答记录

相关答复记录

Answer Number 问答标题 问题版本 已解决问题的版本
38093 ML410 - Known Issues and Release Notes Master Answer Record N/A N/A
AR# 24004
日期 12/15/2012
状态 Active
Type 综合文章