Hi folks,
I want to write data/file to Sdcard present in Zedboard. I am able to write data to DRAM. How Can i Read from DRAM and write that particular data to SDCARD?
I have searched but not able to find any good tutorial for this.
Regards
Hi folks,
I want to write data/file to Sdcard present in Zedboard. I am able to write data to DRAM. How Can i Read from DRAM and write that particular data to SDCARD?
I have searched but not able to find any good tutorial for this.
Regards
Hi Hammad,
Are you trying to do this from Linux or from a baremetal application?
If you are doing this from a baremetal application, there is some example code within SDK that you can leverage as a starting point for reading/writing to an SD card:
http://zedboard.org/content/read-txt-matrices-sd-ddr-zedboard
Regards,
-Kevin
Kevin Thanks for reply,
Baremetal/standalone or linux anything can be good for me to write first time on SDCARD.
Actually What I want to do is Have input coming from ADC of zedBoard send that data from PL to PS and write it on DRAM. Uptill Now I am done with this. Now i Want to read data written in Dram and Write the read data to SDCARD. Please help
Regards
Hi Hammad,
You can find this tutorial on how to use the SD card of the Zedboard in standalone software platform.
link : http://embeddedcentric.com/data-logging-using-sd-cards/
Hi,
Let me try it and then i'll let you know as soon as possible.
Regards
Hi, I have downloaded lab7 from your github repository As I am using older version of vivado I am not able to open your proect in Vivado. So i searched for harwadre(.hdf) and .bit file in your project and i got them. I started my Xilinx Sdk and did all the steps what you told but i am getting error(ZedboardOLED.h file not found). I don't know why i am getting this error. If i copy "ZedboardOLED.h" file from zynq_interrupt_system_wrapper_hw_platform_0 to my data_logger project I get error at line 51 and line 54.
Regards
You don't have to do the complete lab of data logging using the OLED screen. Just create a Zynq Processing System ,do procedure B (Enable SD0 Host Controller on PS ) exactly as explained in the tutorial(cuz the default settings of Vivado r wrong). Then procedure C and D. However, in procedure E you need to create your own application. Read the FatFs API sections to be able to use it.
http://embeddedcentric.com/data-logging-using-sd-cards/
Hope this helps.
EmbeddedCentric.com
Yeah done writing to Sdcard. Thank you
I have another question. I want to write minimum 256 MB or more to DDR memory of Zed Board. Total size of DDR is 512 MB. And then want to read all the data which i have wrote in memory. I am able to write 64 bytes of data in DDR but not able to write more than that. To write in DDR I am using Axi_dma on PL side.
And one more question i want to ask do i have to enable the READ CHANNEL of Axi_dma to read from DDR???
I have posted a new forum here (http://zedboard.org/content/read-and-write-ddr-zed-board) but no one answered So Please help Sir.
Regards