Hey,
did anyone use the USB Port successfully?
I want to use it for an wifi dongle or an input-port.
"lsusb" in Petalinux doesn't show any output.
http://www.wiki.xilinx.com/Zynq+Linux+USB+Device+Driver
Do I have to change the "Device-tree" or/and is it necessary to enable something in vivado?
Thanks for the help.
Sebastian
Using the USB port
Re: Using the USB port
Hi,
The USB port doesn't work directly, you have to configure the chip next to it (U10, TPS2051D).
So far, I just tested this port. To do it, I used the example code from Xilinx in SDK. (Create in Vivado a design with a Zynq block, enable USB, and UART to debug through micro usb, export hardware, and launch SDK. Create a .bsp, and from there, check the Xilinx libraries and code examples. Select USB, and import project.)
The default code was enough for Windows to recognise the USB in the Device Manager. For your purposes, I guess you will have to write your own code based on Xilinx's example.
Regards,
Timoteo
The USB port doesn't work directly, you have to configure the chip next to it (U10, TPS2051D).
So far, I just tested this port. To do it, I used the example code from Xilinx in SDK. (Create in Vivado a design with a Zynq block, enable USB, and UART to debug through micro usb, export hardware, and launch SDK. Create a .bsp, and from there, check the Xilinx libraries and code examples. Select USB, and import project.)
The default code was enough for Windows to recognise the USB in the Device Manager. For your purposes, I guess you will have to write your own code based on Xilinx's example.
Regards,
Timoteo
-
- Posts: 10
- Joined: Tue Nov 15, 2016 12:28 pm
Re: Using the USB port
Thanks for your help,
but how to enable the U10?
Is it enabled by Vivado or SDK?
Or do you mean the JP5?
but how to enable the U10?
Is it enabled by Vivado or SDK?
Or do you mean the JP5?
Re: Using the USB port
Hi,
You must use the dedicated MIO pins in the Zynq to configure the chip. This must be done in the ARM processor. You need to create a design in Vivado where you instantiate a Zynq processor block, and select the MIO pins corresponding to the USB port. To program the Zynq in C, just export the hardware design, and launch SDK.
You can work standalone first to test it. Create a new board support package (bsp) based on the exported hardware. Then create a project (or import from Xilinx examples) based on that board support package. Compile and run the project example for USB.
Page 12 of "EMC2-DP_Design_Specification_(QCF51)_v3-4.pdf". Check the MIO pins on the Zynq.
Here an example of where to assign pins in the Zynq block
Here an example of where to add the usb example project in SDK. Create the .bsp, and find the examples in system.mss.
Regards,
Timoteo
You must use the dedicated MIO pins in the Zynq to configure the chip. This must be done in the ARM processor. You need to create a design in Vivado where you instantiate a Zynq processor block, and select the MIO pins corresponding to the USB port. To program the Zynq in C, just export the hardware design, and launch SDK.
You can work standalone first to test it. Create a new board support package (bsp) based on the exported hardware. Then create a project (or import from Xilinx examples) based on that board support package. Compile and run the project example for USB.
Page 12 of "EMC2-DP_Design_Specification_(QCF51)_v3-4.pdf". Check the MIO pins on the Zynq.
Here an example of where to assign pins in the Zynq block
Here an example of where to add the usb example project in SDK. Create the .bsp, and find the examples in system.mss.
Regards,
Timoteo
Last edited by Timoteo on Thu Feb 16, 2017 10:17 am, edited 1 time in total.
-
- Posts: 10
- Joined: Tue Nov 15, 2016 12:28 pm
Re: Using the USB port
Thank you Timoteo,
it was a problem with Petalinux and the USB port.
I managed it by changing the device-tree.
Regards,
Sebastian
it was a problem with Petalinux and the USB port.
I managed it by changing the device-tree.
Regards,
Sebastian
Return to “FAQ about Tulipp Development Platform”
Who is online
Users browsing this forum: No registered users and 4 guests