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# 20500

EDK 6.3 - OPB Emaclite (emaclite_v1_01_a) - Bug in XEmacLite_RecvFrame in L0 xemaclite_l.c

Description

General Description:

In Emaclite software version emaclite_v1_01_a, there is a known bug in XEmacLite_RecvFrame in the Level 0 xemaclite_l.c that will

cause incorrect data to be received.

Solution

The problem is in the EmacLite_AlignedRead() function called in XEmacLite_RecvFrame() w/o an offset, causing

incorrect data to be returned.

The fix is to modify the line 157 in xemaclite_l.c (located here: EDK6.3\sw\XilinxProcessorIPLib\drivers\emaclite_v1_01_a\src).

The line should be modified such that XEL_RXBUFF_OFFSET is added to the BaseAddress, as shown below:

XEmacLite_AlignedRead((Xuint32 *) (BaseAddress+XEL_RXBUFF_OFFSET), FramePtr, Length);

AR# 20500
Date Created 12/12/2004
Last Updated 12/15/2012
Status Active
Type General Article