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
Software Application Development USB Host on Microzed with Petalinux 2017.2
  • 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 5 replies
  • Subscribers 331 subscribers
  • Views 1235 views
  • Users 0 members are here
Related

USB Host on Microzed with Petalinux 2017.2

inchara
inchara over 7 years ago

Does anyone have the USB host working on Microzed SOM board with 2017.2 tools? Tried all options and all the solutions out there on the Avnet and Xilinx forums but still can't get it working.

1) USB Host works with prebuilt Pulsar Linux image available on http://zedboard.org/support/design/1519/10

2) USB Host works with prebuilt Vivado / Petalinux 2014.4 image available on http://zedboard.org/support/design/1519/10

3) USB host doesn't work with 2017.2 tools  - a basic platform design (no custom PL components) and then Petalinux build.

Followed several suggestions across Xilinx/Microzed forums, app notes, tutorials, etc. -- looked at the device tree entries, interrupts,reset and others.. still the USB is not detected.

(1) and (2) means that the hardware is good. Checked reset, 5V etc.. all good. The board is not configured for the USB device mode, it is still what came out of factory - USB Host mode.

with (3) there is hardly anything in the hdf / bit file because it is just opening the Vivado and adding a Zynq IP and then generating the bit/hdf files. So I guess the platform is also good. That leaves the Petalinux 2017.2.

Opened a ticket with Xilinx support, and have been exchanging files/logs and they keep telling what is available on the internet forums (for other boards / tool versions) and have been of zero help even after several days.

Would Avnet or microzed.org be able to provide a Petalinux 2017.2 project for Microzed SOM with all the peripherals working?

Any help would be appreciated.

  • Sign in to reply
  • Cancel
Parents
  • inchara
    0 inchara over 7 years ago

    Kevin,

    We rolled back to 2014.4 (Vivado + petalinux)  just for the sake of that feature which is very important to one of our projects.  We also tested 2016.4 suite which didn't work either. We thought of testing 2015.4, but had to take a call not spending unnecessary effort on debugging the tool issues, anyways both 2015 and 2014 are more than 3 years old  so decided to stick to the working 2014.4.

    I'm surprised that this problem hasn't surfaced well enough for Xilinx/Avnet to act. Either Microzed board users are very small in number OR whoever is using Microzed are using old Vivado versions!! 

    ZC702 should be working because it is Xilinx's board (or at least Xilinx MUST own the problem and support ). Looks like issue is something related to the phandle  / interrupt configuration in the petalinux driver or dts.

    I'm afraid that the same USB phy (3320) is used in many other boards which we use on other projects and petalinux might break USB feature on many other boards if it is something related to SW/ driver compatibility with HW. If it is only SW then it is good, there is a hope that sometime in future Xilinx  will resolve this (when it fails on many boards and lots of users are affected).

    You also kindly let us know if you get it working on 2017.2 +.

    Best regards,

    Nagaraj

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • inchara
    0 inchara over 7 years ago

    Kevin,

    We rolled back to 2014.4 (Vivado + petalinux)  just for the sake of that feature which is very important to one of our projects.  We also tested 2016.4 suite which didn't work either. We thought of testing 2015.4, but had to take a call not spending unnecessary effort on debugging the tool issues, anyways both 2015 and 2014 are more than 3 years old  so decided to stick to the working 2014.4.

    I'm surprised that this problem hasn't surfaced well enough for Xilinx/Avnet to act. Either Microzed board users are very small in number OR whoever is using Microzed are using old Vivado versions!! 

    ZC702 should be working because it is Xilinx's board (or at least Xilinx MUST own the problem and support ). Looks like issue is something related to the phandle  / interrupt configuration in the petalinux driver or dts.

    I'm afraid that the same USB phy (3320) is used in many other boards which we use on other projects and petalinux might break USB feature on many other boards if it is something related to SW/ driver compatibility with HW. If it is only SW then it is good, there is a hope that sometime in future Xilinx  will resolve this (when it fails on many boards and lots of users are affected).

    You also kindly let us know if you get it working on 2017.2 +.

    Best regards,

    Nagaraj

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

    My last customer project used a Picozed board and Petalinux 2015.4. USB host mode worked as a USB thumb drive was recognized and accessible when plugging it in. However, I seem to recall that it wasn't 100% reliable between either builds or reboots - can't remember exactly. I don't remember having to do any manual fixup of device tree - it just (gasp!) worked when first tried.

    • 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