I already checked that document.
On that example board in device mode. Host computer see that board as a storage device. and it is petalinux application.
But I want to use my board as OTG or HOST to reach other PenDrive. And it must be a standalone project.
I found similar subject at xilinx forum, the topic is "usb storage using bare metal application on zedboard"
It says "writing customized bare-metal drivers for HOST/OTG, is possible but it is very tricky "
I have to write my customized drivers for this, it also say all required USB IF register written in TRM, but i'm couldn't understand and I'm not sure about how to start.
This information may be a good starting point https://www.xilinx.com/support/answers/61881.html
Why are you opposed to running an OS? Accomplishing this task would be significantly easier as by dafault the barmetal drivers do not suppor this.
Take a look at this post http://zedboard.org/content/usb-storage-using-bare-metal-application-zedboard
I also same problem did u get solution....
I'm trying to reach pendrive through USB OTG port with Zynq PS. But I couldnt find any solution or example for this.
There is only "xusbps_intr_example" on SDK and its not suitable for my problem.
I'm looking for examples, design guides or any another suggestions to follow.