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


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% 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


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:

The first service pack containing the fix is 10.1 Service Pack 3.

AR# 31565
日期 12/15/2012
状态 Active
Type 综合文章