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 storage using bare metal application On Zedboard
  • 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 331 subscribers
  • Views 2065 views
  • Users 0 members are here
Related

USB storage using bare metal application On Zedboard

monali
monali over 8 years ago

Hello,

 

  It seems many people have tried to access USB storage device connected to Zynq PS externally, through bare metal application. But unfortunately I could not get any solution on it. We are trying the same again.

We could initialise USB storage device trough bare metal application, but unable to get its interrupt event so that we can start storage.

 

We are using Zedboard

Tool : SDK 2015.4

 

We cannot move to linux as we have other limitations. If anyone has gone beyond initialising USB trough bare metal, please provide some direction.

Or is it like it is very difficult to implement USB storage in bare metal?

 

 

Thank you

Monali

  • Sign in to reply
  • Cancel
  • jafoste4
    0 jafoste4 over 8 years ago

    Hi Monali,

    Have you looked at the usb and usbps examples located in SDK located at 

    C:\Xilinx\SDK\2016.4\data\embeddedsw\XilinxProcessorIPLib\drivers

    to see if any of them cover what you are trying to do?

    --Josh

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • monali
    0 monali over 8 years ago in reply to jafoste4

    Hello 

    Yes, we have checked the usbps examples. Most of them are configuring USB device as HID or as Slave device. we want to configure ZYNQ device as host and to store streaming data through VDMA S2MM channel  to PS DDR and from DDR to slave device ( USB mass storage device ).

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • monali
    0 monali over 8 years ago in reply to jafoste4

    Hello Josh,

    Will you please check this link once. 

    http://www.wiki.xilinx.com/Zynq+Standalone+USB+device+driver

    It says HOST and OTG mode are not supported by standalone drivers. But it is stated as limitation to the driver. Does that mean it is not at all possible to implement OTG mode using standalone drivers.

    Thanks and Regards,

    Monali

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

    Hi Monali,

    Use of the USB interface has been best supported under Linux.  It should be possible to get it working under standalone, but I am guessing that you would spend a lot of development work to get it to the point where you can enumerate client devices and move data in the direction you want.

    You are correct, HOST and OTG functionality are not supported by the standalone drivers since you need different USB stack functionality for those modes.

    Have you looked into Micrium RTOS?

    http://www.wiki.xilinx.com/uCOS

    Micrium also has a USB host stack that works with the Xilinx EHCI controller.

    https://www.micrium.com/rtos/usbhost/

    Regards,

    -Kevin

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • lelee007
    0 lelee007 over 6 years ago

    https://gitenterprise.xilinx.com/embeddedsw/embeddedsw/tree/master/XilinxProcessorIPLib/drivers/usbps/

    why this link can't be accessed right now? and where could it be downloaded? thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • jafoste4
    0 jafoste4 over 6 years ago

    I don't know what that link goes to, however i think your trying to access the xilinx github.

    https://github.com/Xilinx
    -Josh

    • 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