3 of 3 people found this helpful
Tell us more, why do you want to do this - is it an exercise or part of a project. Are you looking for the least hassle solution or to test out some ideas.
On a microZed you can do this using the processor or the FPGA - which do you want to use and why ?
It will be much easier using the processor and linux.
People on E14 have been doing some Xilinx tutorials and blogging about them under the banner "Path to Programmable"
Take a look at their blogs and this will give you an idea of where to look.
There is a lot of material on Xilinx's website.
Thanks for the answer.
This is part of a project, where I want to send some data to the microZed, process it with the FPGA and then send some data through the I/O ports.
I don´t mind using the processor or the FPGA, if using the processor and Linux is easier, let's do it that way.
I am looking to the "Path to Programmable" tutorials and they are very interesting for begginers like me, but I do not see any example of the USB OTG functionality.
I can't help you with the USB OTG on the Micro Zed (never used it ). You'll need to trawl the Zed forums and the Xilinx support stuff for that.
Google throws up a lot of stuff, including this doc:
which says (page 15):
OTG Mode Note that MicroZed does not support OTG mode since a 5-pin USB connector is not used, therefore the ID pin is not available to detect role change. Zynq and the SMSC PHY both support OTG mode with a USB connector that supports it.
so you need to check that out to see if it is still true.
Ok thanks. From what I have read, it is possible using Petalinux, although I cannot find any example. I will read more about this. Thanks for your time
2 of 2 people found this helpful
I can't help much but as Michael mentions, the Path to Programmable blogs may get you going in the right direction, especially how to write data to the DDR via the usual memory map, if you're bare metal, and how to access it via the FPGA portion.
You've mentioned you're running Linux.. in that case, if you're using the processor to access then is likely you'll need to find or write a driver to write to specific memory. The reason is that Linux takes control of the RAM usually, so it's not under your control. Linux will allocate RAM as required, and never tell you the memory location addresses (since it uses memory management that hides this). It should be possible to configure Linux so it only uses a portion of RAM, leaving the remainder for use by a driver, or for Linux to allocate in advance during startup and then provide the physical address, but this is not specific to Xilinx or Microzed, so linux forums may be able to help too.
I want to do the same things as you :
1. send data through USB OTG
2. save them in a DDR3
3. read the data from the DDR
4. process it on FPGA, then according to this data, I have to change the values of some LVDS signals.
I hope your project worked well.
do you have any links that can help me move forward on the project please. ? Thanks for advance
for me I use the ZC702 Zync evaluation board.
Thanks for your reply, it's very useful for me the hardware zedboard training.
Hi all, I am new with the microzed and I have just began using FPGAs. I have gone through some getting started and hello world tutorials.
I would like to send some data from my PC (around 500 MB) to the RAM memory in the Microzed. I was planning on using the USB OTG to do the data transfer and then store the data in the DDR3 memory. At the moment I know how to create a QSPI Flash image in order to boot open source Linux.
Is there any example of how to use the USB OTG? And any example of how to store data in DDR3?
If not, could you give me some advice about how to continue?