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 USB-UART Problem
  • 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 928 views
  • Users 0 members are here
Related

USB-UART Problem

Former Member
Former Member over 10 years ago

Hi,

I use Xilinx SDK on Linux (Debian) and I would like see on SDK's Terminal the "Hello world". I programmed the FPGA and I connected the terminal but when I launch the program I have this message on the Terminal :
Connection canceled due to ownership request. LaunchConfiguration

Do you know why ?

Jo

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

    Hi Jo,

    Have you tried using a different terminal application to see if the Linux USB-UART driver is functioning correctly and has the right ownership permissions to open the USB-UART device that is enumerated?

    Here are the steps that I use under CentOS to get USB-UART working on my ZedBoard/MicroZed/PicoZed targets with minicom:


    Install and Test Minicom Serial Terminal
    ----------------------------------------


    1)  Install minicom serial terminal.

    If prompted to allow download of packages, accept the download by pressing the Y key followed by the Enter key.

    $ sudo yum install minicom


    2)  Connect a bootable MicroZed to USB port and wait for device to boot to a terminal.


    3)  Check the kernel output log for signs that the USB-UART device has enumerated and note the ttyUSB device that is enumerated.

    $ dmesg


    4)  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/


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

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


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

    # relax the permissions just for ttyUSB0
    KERNEL=="ttyUSB0",              MODE="0666"

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


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

    :wq


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

    $ sudo usermod -a -G dialout AES_CM


    9)  Run minicom with elevated privileges so that the configuration can be modified.

    $ sudo minicom -s


    10)  Change minicom 'Serial port setup' settings and perform the following:
      A)  Set the 'Serial Device' setting to '/dev/ttyUSB0' or to match the device name from Step 3 above.
      B)  Set the 'Hardware Flow Control' setting to 'No'.
      C)  Set the 'Software Flow Control' setting to 'No'.
      D)  Save the settings by selecting the Save setup as dfl option.

     
    11)  Exit from minicom.

    12)  Run minicom in normal user mode.

    $ minicom

    If you can get something simple like minicom working, that will rule out driver and access permissions issues.

    Regards,

    -Kevin

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

    Thanks for your answer, It works.

    Jo

    • 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