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

10.1 EDK - XMD gives a segmentation fault

Description

All of the Xilinx tools are set up in the Linux shell, but I receive the following message from XMD when I attempt to debug my processor system:

$ xmd

Xilinx Microprocessor Debug (XMD) Engine

Xilinx EDK 10.1.01 Build EDK_K_SP1.3

Copyright (c) 1995-2007 Xilinx, Inc. All rights reserved.

XMD%

XMD% connect ppc hw

Info:AutoDetecting cable. Please wait.

...

nfo:File version of /opt/Xilinx/10.1/ISE/bin/lin/xusbdfwu.hex = 1030.

Info:File version of /usr/share/xusbdfwu.hex = 1030.

Info: Using libusb.

Info: Max current requested during enumeration is 280 mA.

Info:write cmdbuffer failed 1.

Info:write cmdbuffer failed 1.

Info:Loopback test failed. Sent character = 00, Received character = 00.

Info:Cable connection failed.

Info: OS platform = i686.

Segmentation fault

Solution

This problem occurs because XMD uses the ".so" file that was installed with ChipScope.

To work around this issue, set up your $PATH and $LD_LIBRARY variables such that the EDK tools appear first, and thus allow XMD to pull in the library file that was installed with EDK.

This problem has been fixed in the latest 10.1 Service Pack available at:

http://www.xilinx.com/support/download/
The first service pack containing the fix is 10.1 Service Pack 3.

AR# 31565
Date Created 08/26/2008
Last Updated 12/15/2012
Status Active
Type General Article