问题缘由及解决办法:
When using XILINX JTAG software like Impact, Chipscope and XMD on Linux, the proprietary kernel module windrvr from Jungo is needed to access the parallel- or usb-cable. As this module does not work with current linux kernel versions (> 2.6.18) a library was developed, which emulates the module in userspace and allows the tools to access the JTAG cable without the need for a proprietary kernel module.
是的,就是需要编译这个库,来模仿module的行为,其他问题在上面的主页都好找,我是从git下的最新edition来用的,也不管稳定版还是开发版了:
1.git init
2.git clone git://git.zerfleddert.de/usb-driver
3.make
A:编译前需要先安装libusb-dev的包,否则报错找不到usb.h:sudo apt-get install libusb-dev
B:Built library is 64 bit. Run `make lib32′ to build a 32 bit version,只是提醒,不影响结果
4.找个地方把库给copy过去,然后,在你source settings64.sh之后,打开ise之前,执行如下语句:
export LD_PRELOAD=$yourpath/libusb-driver.so
我做完上面的动作之后,impact打开不再有找不到module的提示,但是仍然没有发现device,重新启动Ubuntu。重启的时候提示usb加载有问题,是否跳过,按s跳过。。。
重启后启动impact,一切正常。