Ubuntu's XilinxUSBcable driver problem

Source: Internet
Author: User
Cause and solution: whenusingjavasinxjtagsoftwarelikeimpact, ChipscopeandXMDonLinux, theproprietarykernelmodulewindrvrfromJungoisneededtoaccesstheparallel-orusb-cable.Asthismoduledo

Cause and solution:

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.

Yes, it is necessary to compile this library to imitate the module behavior. Other problems can be found on the home page above. I am using the latest edition under git, whether it's a stable version or a development version:

1. git init

2. git clone git: // git.zerfleddert.de/usb-driver

3. make

A: install the libusb-dev package before compiling. Otherwise, the usb. h: sudo apt-get install libusb-dev cannot be found.

B: Built library is 64 bit. Run 'make lib32' to build a 32 bit version. It only prompts that the result is not affected.

4. Find a place to copy the database, and run the following statement before you start ise after source settings64.sh:

Export LD_PRELOAD = $ yourpath/libusb-driver.so

After I finish the above actions, the prompt that the module is not found when the impact is enabled, but no device is found and Ubuntu is restarted. When the instance is restarted, the system prompts that there is a problem with usb loading. If yes, press s to skip...

After restart, start impact. Everything is normal.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.