UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Observer lim.junhyoung
Observer
135 Views
Registered: ‎03-27-2019

how to write stream data in nand flash to ddr ram in pl side

i want to read stream data (ex, txt file) in nand flash.

now, i can read stream data in nand flash using mount nand flash and read txt file.

but, i want to read data using axi dma. is there way to read?

i can't find read/write data using axi dma in zcu102 . i want simple vivado design and linux application.

0 Kudos
4 Replies
Xilinx Employee
Xilinx Employee
124 Views
Registered: ‎10-12-2018

Re: how to write stream data in nand flash to ddr ram in pl side

Hi @lim.junhyoung ,

Please check this AR for design examples.

https://www.xilinx.com/support/answers/57550.html

Thanks & Regards
Anil B
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Observer lim.junhyoung
Observer
118 Views
Registered: ‎03-27-2019

Re: how to write stream data in nand flash to ddr ram in pl side

thank you for reply.

I saw the link you gave me. However, this link is only about the zynq-7000 device.
I want available on the zcu102 board.
Is it zynq-7000 but can it be used for zynqmp?

this link is all of the example code is standalone, and I need an application that can create and test the linux driver.

0 Kudos
Highlighted
Xilinx Employee
Xilinx Employee
94 Views
Registered: ‎10-12-2018

Re: how to write stream data in nand flash to ddr ram in pl side

Hi @lim.junhyoung ,

Have you checked this wiki which describes how to use the Xilinx provided DMA driver for AXI DMA through the Linux DMA Engine and a simple method of DMA from user space? This wiki also provides the harware design for MPSOC with AXI DMA.

https://xilinx-wiki.atlassian.net/wiki/spaces/A/pages/18842418/Linux+DMA+From+User+Space

Thanks & Regards
Anil B
-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
Observer lim.junhyoung
Observer
87 Views
Registered: ‎03-27-2019

Re: how to write stream data in nand flash to ddr ram in pl side

Yes. I also saw this link.
The dma example provided in this document seems to access kernel internal memory instead of using a specific device's memory (ex ram, nand).
Is there any example that uses ps -> ram or nand write / read with memory like ram or nand?
0 Kudos