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 USB Host Power
  • 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 3 replies
  • Subscribers 352 subscribers
  • Views 720 views
  • Users 0 members are here
Related

USB Host Power

Former Member
Former Member over 13 years ago

Hi


I'm having trouble getting the USB host to work on the ZEDBoard. Appareantly there is no power on the USB-Connector. Jumpers JP2 and JP3 are closed. CPEN from the Phy is low (which causes no power on the bus). What are the prerequisites for having CPEN high?

Some lines from dmesg:

ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
xusbps-ehci xusbps-ehci.0: Xilinx PS USB EHCI Host Controller
xusbps-ehci xusbps-ehci.0: new USB bus registered, assigned bus number 1
xusbps-ehci xusbps-ehci.0: irq 53, io mem 0x00000000
xusbps-ehci xusbps-ehci.0: USB 2.0 started, EHCI 1.00
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.


Some lines from my device tree:

                usb@e0002000 {
                        compatible = "xlnx,ps7-usb-1.00.a";
                        reg = <0xe0002000 0x1000>;
                        interrupts = <0 21 0>;
                        interrupt-parent = <&gic>;
                        dr_mode = "host";
                        phy_type = "ulpi";
                };




Best regards,
Ben.

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

    I'm going to revive this post rather than create a new one, since it wasn't ever answered and I'm having exactly the same problem.

    I'm using a very recent checkout of the xilinx linux kernel from git, and I'm attempting to get any USB device to be recognized (ultimately I'm trying to get USB wifi, but for now I'll settle for a USB flashdrive) on the ZedBoard. I get the same messages printed at boot-up, and the same symptoms: The CPEN pin from the USB-PHY remains low, and 5V VBUS is not applied.

    I'm currently digging into the USB drivers in the kernel, but this is entirely new for me, and I am not making quick progress to say the least.

    I've noticed that the micro-USB to female Type-A cable provided with my ZedBoard has a Micro-B, and that the ID pin is not tied to ground. Shouldn't this cable be the micro-A end with ID pulled low to indicate that the ZedBoard should be a host? I have a hunch this may be the issue, except that I can't understand why the ZedBoard would ship with this cable if that were the case.

    Is there a way to force the USB into HOST mode via a command or kernel source modification?

    Would love to hear if anyone is having better luck with the ZedBoard as a USB host.

    Thanks,
    -Jeff

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

    I found a solution. It appears that my problem has popped up only in recent linux-xlnx versions, so it probably is different from the OP's problem, but I found the solution here:
    http://forums.xilinx.com/t5/Embedded-Linux/usb-host-not-working/td-p/397689

    I re-built the kernel with the Device Drivers->USB Support->USB Physical Layer Drivers-->Xilinx Zynq USB OTG dual-role support option enabled, and voila. Both my WIFI dongle and a USB flash drive are recognized!

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

    Hi I am long time Xilinx designer, but am new to the zed board and Linux. I am very interested in using USB WIFI dongles and flash drives. Just curious: are the drivers for these devices generic or device specific? Also, do you know what the throughput is?

    • 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