• 0
Notarobot

PmodSD on Zybo

Question

Hi to all,

Today I tried to test PmodSd module using Digilent source code posted on Github and failed to compile. The errors are shown on the attached snapshot.

It appears that the code is expecting Microblase processor instead of ARM. I failed to find proper fix and am hoping that authors of this driver can offer a solution for the Zynq.

Thank you in advance!

Capture.PNG

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hi Notarobot,

MB_SLEEP was depricated in Vivado 2016.4. I just went through and changed all of the mb_sleep(1) to usleep(1000) in DXSPISDVOL.cpp and instead of #include "mb_sleep.h" its #include "sleep.h" in DXSPIDVOL.h.

cheers,

Jon

Share this post


Link to post
Share on other sites
  • 0

Jon,

I wanted to let you know that the example included on Github worked as intended on PmodSD+Zybo after making changes you indicated. I am :)

There are a few warnings in Vivado related to the PmodSD pins but that is a minor issue. I will try to reconfigure the example to work with embedded SD card socket.

Thank you very much for your support and have a great weekend!

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now