element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Avnet Boards Forums
  • Products
  • Dev Tools
  • Avnet & Tria Boards Community
  • Avnet Boards Forums
  • More
  • Cancel
Avnet Boards Forums
ZedBoard Hardware Design Access SD card from PL
  • Forum
  • Documents
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Join Avnet Boards Forums to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Not Answered
  • Replies 10 replies
  • Subscribers 352 subscribers
  • Views 1796 views
  • Users 0 members are here
Related

Access SD card from PL

Former Member
Former Member over 13 years ago

How can I read and write to the SD card without using Linux? I would like to be able to access the SD card from a standalone application and/or the programmable logic without using Linux.

I couldn't find much information on how to communicate with the SD controller. Any help would be appreciated.

Thanks

  • Sign in to reply
  • Cancel
Parents
  • Former Member
    0 Former Member over 13 years ago

    dangmug,

    If you reference the Zedboard schematic:

    http://zedboard.org/sites/default/files/documentations/ZedBoard_RevC.1_Schematic_120913_0.pdf

    you will see the interface to the SD-Card is on sheet 6, and the connections to the Zynq IC are on page 10.  The pins come into the PS MIO interface pins, and thus can not be directly interfaced too via the PL portion of the Zynq device.

    You could, however, write some bare-metal code in the ARM to translate requests from the PL portion of Zynq and pull data from and push data to the SD-Card.

    Why is it that you would like to interface to the card not using Linux?/the ARM core(s)?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • Former Member
    0 Former Member over 13 years ago

    dangmug,

    If you reference the Zedboard schematic:

    http://zedboard.org/sites/default/files/documentations/ZedBoard_RevC.1_Schematic_120913_0.pdf

    you will see the interface to the SD-Card is on sheet 6, and the connections to the Zynq IC are on page 10.  The pins come into the PS MIO interface pins, and thus can not be directly interfaced too via the PL portion of the Zynq device.

    You could, however, write some bare-metal code in the ARM to translate requests from the PL portion of Zynq and pull data from and push data to the SD-Card.

    Why is it that you would like to interface to the card not using Linux?/the ARM core(s)?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    Keith,

    Thanks for the response. I am OK with doing a bare metal application to transfer the data. It may be preferred as I can do some other simple logic to go along with my pl.

    What I can't figure out is how to read/write using the bare metal application. When I create my own axi core the software makes a simple driver for me that I can use to r/w to it. I don't see anything like that for the SD card. I have the address for it on the bus in my system.xml, but what do I read/write from/to that address in order to actually read and write usable information on the sd card?

    My goal right now is to have pixel data saved on the SD card that I pull off and send to my pl. I want to then send the processed image data back to the SD card as another file.

    We will probably use Linux in our final design, but I want to know how to do this with the bare metal application to help increase my understanding of how it all works. My thought is that this should be pretty simple, I just can't figure it out.

    Thanks,

    Dangmug

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 13 years ago in reply to Former Member

    Tim. Sorry, I meant to thank you, not Keith in my previous post.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Former Member
    0 Former Member over 12 years ago in reply to Former Member

    There is EMIO connected with PL, could PL write/read data from SD card through EMIO directly without PS involving, such as bare-metal mode?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube