element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • 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 & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
  • 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
      • Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Vietnam
      • 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 & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
Avnet Boards General Cypress-USB2UART-Ver1.0G driver for Linux?
  • 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 6 replies
  • Subscribers 353 subscribers
  • Views 2380 views
  • Users 0 members are here
Related

Cypress-USB2UART-Ver1.0G driver for Linux?

Former Member
Former Member over 11 years ago

Hi,

I would like to use my Linux PC to connect to my Zedboard. However, I can't seem to find a driver for the UART. It's visible using lsusb:

lsusb -s 1:6  
Bus 001 Device 006: ID 04b4:0008 Cypress Semiconductor Corp.

And I observe it in the kernel log:

[  460.188289] usb 1-5.1: New USB device found, idVendor=04b4, idProduct=0008
[  460.188298] usb 1-5.1: New USB device strings: Mfr=1, Product=2, SerialNumber=4
[  460.188303] usb 1-5.1: Product: Cypress-USB2UART-Ver1.0G
[  460.188307] usb 1-5.1: Manufacturer: 2012 Cypress Semiconductor
[  460.188310] usb 1-5.1: SerialNumber: 044301C42216
[  460.188439] usb 1-5.1: usb_probe_device
[  460.188445] usb 1-5.1: configuration #1 chosen from 1 choice
[  460.190763] usb 1-5.1: adding 1-5.1:1.0 (config #1, interface 0)
[  460.191036] usb 1-5.1: adding 1-5.1:1.1 (config #1, interface 1)
[  460.191137] drivers/usb/core/inode.c: creating file '006'

But no tty driver.

I have CONFIG_USB_SERIAL_CYPRESS_M8=y in my .config file, but this appears to be a different driver.

I tried to follow the link in the datasheet, but I was asked to register at the Cypress web site. But after entering the information I simply got a message saying:

"Sorry, there was an error. Site admins have been contacted with your information and error details."

Anybody using the Zedboard from a Linux host?

  • Sign in to reply
  • Cancel
  • Former Member
    0 Former Member over 11 years ago

    This link might be helpful: http://www.cypress.com/?app=forum&id=167&rID=67355

     

    You could also take a look at Sven Anderssons' blog: http://svenand.blogdrive.com/archive/160.html#.VGTcR_nF840

     

    Sven steps through installing the Xilinx tools and developing on Ubuntu (in a Virtual Machine).

     

    -Gary

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

    Thanks TroutChaser

    But I have this already enabled:

    # grep CONFIG_USB_ACM .config
    CONFIG_USB_ACM=y

    But still I don't get any /dev/ttyM*

    ls -l /dev/ttyA*
    ls: cannot access /dev/ttyA*: No such file or directory


    I have two other USB serial interfaces on my machine and they work fine:

    ls -l /dev/ttyU*
    crw-rw---- 1 root uucp 188, 0 Nov 14 16:58 /dev/ttyUSB0
    crw-rw-rw- 1 root uucp 188, 1 Nov 14 16:58 /dev/ttyUSB1

    But they are FTDI devices.

    I have Vivado set up on native Linux. The only thing I need to get working is the Cypress driver and the JTAG interface.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • zedhed
    0 zedhed over 11 years ago

    Hi pegu,

     

    It sounds like you are getting very close to having it working, it is probably a configuration issue at this point rather than a driver one.

     

    For the benefit of the rest of the community, can you detail which Linux distro you are using?

     

    The Cypress USB UART device on ZedBoard is known to enumerate correctly as a /dev/ttyACM0 device out of the box so far with Ubuntu 10.04 LTS, Ubuntu 12.04.3, CentOS 6.3, and CentOS 6.6 Desktop installs.

     

    Regards,

     

    -Kevin

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

    Hi zedhed, I'm using Gentoo. As I mentioned my other USB serial drivers appears to be working fine.

    It might be that I'm missing support for the character driver or something. If somebody has a working Linux system a "lsmod" and a "cat /proc/devices" could be useful.

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

    Typical, it was all my fault. I messed up my kernel files in grub. Now I'm using the correctly configured kernel and it works fine to access.

    Thanks a lot for all help and suggestions.

    Here's some output in case somebody else ends up here using google:

    $ gzip -dc /proc/config.gz | grep CONFIG_USB_ACM
    CONFIG_USB_ACM=y
    # grep ACM /proc/devices
    166 ttyACM


    and dmesg shows:

    [    5.377185] usb 1-5.1: Product: Cypress-USB2UART-Ver1.0G
    [    5.377257] usb 1-5.1: Manufacturer: 2012 Cypress Semiconductor
    [    5.377329] usb 1-5.1: SerialNumber: 044301C42216
    [    5.377853] usb 1-5.1: usb_probe_device
    [    5.377864] usb 1-5.1: configuration #1 chosen from 1 choice
    [    5.380203] usb 1-5.1: adding 1-5.1:1.0 (config #1, interface 0)
    [    5.380645] cdc_acm 1-5.1:1.0: usb_probe_interface
    [    5.380657] cdc_acm 1-5.1:1.0: usb_probe_interface - got id
    [    5.380662] cdc_acm 1-5.1:1.0: This device cannot do calls on its own. It is not a modem.
    [    5.380920] cdc_acm 1-5.1:1.0: ttyACM0: USB ACM device

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • zedhed
    0 zedhed over 11 years ago

    Hi pegu,

    Glad to hear you got this working now!

    Thank you for following up on this thread and posting the results for the rest of the Zed community.

    Regards,

    -Kevin

    • 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