element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • About Us
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Using Xilinx Tools Forum how to connect zedboard on Centos 7
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 2 replies
  • Subscribers 336 subscribers
  • Views 561 views
  • Users 0 members are here
Related

how to connect zedboard on Centos 7

Former Member
Former Member over 10 years ago

I have installed xilinx xpc4drvr.ko and it is shown in lsmod.
============================================
xpc4drvr               17644  0
============================================

After connecting the board, it showed the board could be found.
============================================
[  154.376085] usb 2-1: new high-speed USB device number 6 using xhci_hcd
[  154.392204] usb 2-1: New USB device found, idVendor=0403, idProduct=6014
[  154.392207] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  154.392208] usb 2-1: Product: Digilent USB Device
[  154.392209] usb 2-1: Manufacturer: Digilent
[  154.392210] usb 2-1: SerialNumber: 210248650532
[  154.439517] usbcore: registered new interface driver ftdi_sio
[  154.439541] usbserial: USB Serial support registered for FTDI USB Serial Device
[  154.439629] ftdi_sio 2-1:1.0: FTDI USB Serial Device converter detected
[  154.439657] usb 2-1: Detected FT232H
[  154.439659] usb 2-1: Number of endpoints 2
[  154.439661] usb 2-1: Endpoint 1 MaxPacketSize 512
[  154.439663] usb 2-1: Endpoint 2 MaxPacketSize 512
[  154.439665] usb 2-1: Setting MaxPacketSize 512
[  154.440018] usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0
============================================

But when using impact, there is no cable that can be found.
============================================
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable drivers. See Answer Record 22648.
PROGRESS_END - End Operation.
Elapsed time =      0 sec.
Enumerating cables. Please wait.
PROGRESS_START - Starting Operation.
If you are using the Platform Cable USB, please refer to the USB Cable Installation Guide (UG344) to install the libusb package.
Connecting to cable (Usb Port - USB21).
Checking cable driver.
Linux release = 3.10.0-123.20.1.el7.x86_64.
WARNING:iMPACT -  Module windrvr6 is not loaded. Please reinstall the cable drivers. See Answer Record 22648.
PROGRESS_END - End Operation.
Elapsed time =      0 sec.
ERROR:iMPACT - This function requires that a target is opened first.
WARNING:iMPACT - The cable selected is not avaliable, please select a different one.
WARNING:iMPACT - The cable selected is not avaliable, please select a different one.
WARNING:iMPACT - The cable selected is not avaliable, please select a different one.
============================================

libusb has already been installed
============================================
libusb-0.1.4-3.el7.x86_64
libusbx-1.0.15-4.el7.x86_64
============================================

What else steps I can try to connect zedboard on centos 7?

  • Sign in to reply
  • Cancel
  • zedhed
    0 zedhed over 10 years ago

    Hi scott7950,

    This forum post might provide some help for you, specifically the permissions on the enumerated device might need some attention.

    http://forums.xilinx.com/t5/Installation-and-Licensing/Vivado-2013-3-cable-drivers-installation-problem/td-p/456470

    For example, on my CentOS 7.0 machine, I was having trouble with the ZedBoard USB-UART at first until I found that there was both a permissions problem and a resource contention issue with modem-manager.  These are the steps I used to work around those two problems:

    1) Create system default udev rules to give USB-UART devices sufficient permissions for development users.

    $ sudo cp /lib/udev/rules.d/50-udev-default.rules /etc/udev/rules.d/


    2)  Edit the system default udev rules with vi editor.

    $ sudo vi /etc/udev/rules.d/50-udev-default.rules


    3)  Add the following lines to 50-udev-default.rules somewhere just after the 'tty' section.

    # relax the permissions just for ttyACM0 used on ZedBoard
    KERNEL=="ttyACM0",              MODE="0666"

    # prevent modem-manager from touching USB-UART device that is a target board
    SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="0008", MODE="0666", GROUP="dialout", ENV{ID_MM_DEVICE_IGNORE}="1"


    4)  Save the changes to the 50-udev-default.rules file and exit vi editor.

    :wq


    5)  Add your user to the dialout group which gives permission to access USB-UART serial tty devices.

    $ sudo usermod -a -G dialout zedhed

    Also, have you taken a look at Sven Andersson's blog? 

    http://svenand.blogdrive.com/archive/172.html#.VNTZqmjF-Sp

    Sven has a page where he connects to ZedBoard using his Ubuntu virtual machine.

    Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 10 years ago

    I tried the following configuration but it didn't work.

    But anyway I found I can use root to access the board and download the code. Thank you.

    =============================================================
    ## relax the permissions just for ttyACM0 used on ZedBoard
    KERNEL=="ttyUSB0", MODE="0666"

    ## prevent modem-manager from touching USB-UART device that is a target board
    SUBSYSTEM=="usb", ATTR{idVendor}=="04b4", ATTR{idProduct}=="0008", MODE="0666", GROUP="dialout", ENV{ID_MM_DEVICE_IGNORE}="1"
    =============================================================

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube