• 0
Antonio Fasano

MicroSD Card on the ARTY-Z7-20

Question

Hi,  Guys

I am configuring my ARTY-Z7-20 through the microSD card. I would like to add data to it in binary form and would like to retrieve that data in a later session. How should I do it ? Do I need to add the SD Card as an SD CARD IP in my project ? Are there any examples about that ?

Thanks

Antonio

Share this post


Link to post
Share on other sites

4 answers to this question

Recommended Posts

  • 0

Hi @Antonio Fasano,

I have not configured an fpga with the sd card and then use the same sd card to send and receive data.  I do not see a reason why you would not be able to use the same SD card to configure the Arty-Z7-20 and send and receive data as well.  Just make sure that the boot.bin file is in the root directory of the SD card.  

In the Arty-Z7 reference manual here it describes the process of configuring the FPGA from the SD card in section 3.1 microSD Boot Mode.  Here is an older tutorial for the zedboard, ZYNQ processor, but the process is the same for making a boot.bin and configuring from the sd card. This tutorial also shows how to configure the Arty-Z7 from the QSPI if you would rather use the QSPI instead of the SD card. 

thank you,

Jon

 

 

Share this post


Link to post
Share on other sites
  • 0

Hi, Jon

Thank you for your answer.

I already did the boot.bin file and it is working fine.  Is there any tutotial that has an example on how to write/read data to the microSD card ? Do I need to add an IP to the design ?

Thanks

Antonio

Share this post


Link to post
Share on other sites
  • 0

Hi @Antonio Fasano,

We do not have a tutorial for reading/writing to the SD card.  You should be able to use the SD connection made with the ZYNQ processor. Make sure to be using the Digilent board files to ensure the ZYNQ processor is configured correctly.  I have attached an SDK example that  opens and writes to a file on the SD card. 

cheers,

Jon

main.c

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.