<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.element14.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>SD Card example design using standalone?</title><link>https://community.element14.com/products/devtools/avnetboardscommunity/avnetboard-forums/f/software-application-development/37406/sd-card-example-design-using-standalone</link><description>Hello folks, Quick question: Is it possible to do read/writes to an SD card using standalone (bare-metal) OS? I tried building a Zynq-based SDK project with a standalone BSP + xilfatfs. However when I do so I get this error in SDK: ERROR:EDK:3900 - issued</description><dc:language>en-US</dc:language><generator>Telligent Community 12</generator><lastBuildDate>Mon, 23 Jan 2017 14:50:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://community.element14.com/products/devtools/avnetboardscommunity/avnetboard-forums/f/software-application-development/37406/sd-card-example-design-using-standalone" /><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/133937?ContentTypeID=1</link><pubDate>Mon, 23 Jan 2017 14:50:43 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:dea1df6d-9ee7-4e79-bf0f-1257b0aa4bfa</guid><dc:creator>jafoste4</dc:creator><description>&lt;p style="margin:0;"&gt;Hello Prathik4,&lt;/p&gt;&lt;p style="margin:0;"&gt;His post was from 4 years ago and looking at his GitHub, it hasn&amp;#39;t been updated in over a year. The material you are looking for may be out of date.&lt;/p&gt;&lt;p style="margin:0;"&gt;--Josh&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/133936?ContentTypeID=1</link><pubDate>Mon, 23 Jan 2017 06:50:24 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0131e063-5143-47ea-a515-b600e5d92090</guid><dc:creator>prathik4</dc:creator><description>&lt;p style="margin:0;"&gt;Hi James,&lt;/p&gt;&lt;p style="margin:0;"&gt;Can you please tell how us to use the SDCard driver that you have built for reading and writing data to sd card.&lt;/p&gt;&lt;p style="margin:0;"&gt;Thanks in advance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/133935?ContentTypeID=1</link><pubDate>Sat, 24 Sep 2016 13:55:03 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:44e89d7c-f2b5-46e1-bcb9-0abf3dbcbd87</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;jameswalmsley, i am working with raspberry pi bare metal programming, i found your rpi-boot&amp;nbsp;project very useful. i have few clarification from emmc.c&lt;/p&gt;&lt;p style="margin:0;"&gt;how do i use sdread and sdwrite functions?&lt;/p&gt;&lt;p style="margin:0;"&gt;what is the block device structure ?&lt;/p&gt;&lt;p style="margin:0;"&gt;how do i find block device values to the sd card?&lt;/p&gt;&lt;p style="margin:0;"&gt;it would be greate help if you explain me little bit. sample code also fine&lt;/p&gt;&lt;p style="margin:0;"&gt;&amp;nbsp;&lt;/p&gt;&lt;p style="margin:0;"&gt;thank you&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/133919?ContentTypeID=1</link><pubDate>Thu, 30 Apr 2015 02:10:52 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:c4ba5ac0-7f45-4545-96ed-734626830d83</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;Hi,&lt;br /&gt;&lt;br /&gt;I realize this is a long time after your comment. But nevertheless.&lt;br /&gt;&lt;br /&gt;1) I was wondering, if there is simply NO other connection to be made from the ZYNQ, except for the GPIO setting (and SD0 unsetting)?&lt;br /&gt;&lt;br /&gt;2) How does the SD card get it&amp;#39;s clock? I understand that E14 pin for the SD card provides the card. Will unchecking SD0 still provide a clock on this line?&lt;br /&gt;&lt;br /&gt;3) Should I be using an axi_peripheral at all between my PS and the GPIO connection to the SD card?&lt;br /&gt;&lt;br /&gt;Omkar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/133934?ContentTypeID=1</link><pubDate>Mon, 13 Oct 2014 20:18:28 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:dc7a303c-71db-461c-b6f8-b1ba744106de</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;Here&amp;#39;s a related topic:&lt;br /&gt;&lt;a class="jive-link-external-small" href="http://zedboard.org/content/standalone-sd-card-sdio" rel="nofollow noopener" target="_blank"&gt;http://zedboard.org/content/standalone-sd-card-sdio&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/133933?ContentTypeID=1</link><pubDate>Mon, 13 Oct 2014 18:26:59 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:465104bc-2e3b-47f0-a567-f19b5f446e7b</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;Hi Jet,&lt;br /&gt;&lt;br /&gt;Basically, you have to generate a block design containing a Zynq processor system in &amp;quot;Vivado&amp;quot;. Then you export the implemented design to &amp;quot;Xilinx SDK&amp;quot;. During the export a directory hw_platform_0 is created. Next you generate a new application project, e.g. hello_world. Using the defaults this will create a &amp;quot;hello world&amp;quot; program as well as a &amp;quot;hello_world.bsp&amp;quot; board support package which includes the initialization of the platform, init_platform() in the file platform.c. Next, you right-click on the source folder hello_world/src and select import -&amp;gt; General -&amp;gt; File System -&amp;gt; From directory. Here you select the directory with the SD card source files and import all *.h and *.c files. Remove the file helloworld.c and recompile, e.g. using Project -&amp;gt; Build all. From there on you can program the FPGA and run the main() program in main.c. This writes to the SB card.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/133905?ContentTypeID=1</link><pubDate>Sat, 30 Aug 2014 11:17:21 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b49d714b-3011-42a8-9051-c530d874487b</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;originated from chan, then edh4 with bitbanging, here&amp;#39;s the (still rough) spi version. The SD card is &lt;br /&gt;connected to the MicroZed PMOD connector.&lt;br /&gt;&lt;br /&gt;One caveat though, this was built and tested under the Crossworks toolchain.&lt;br /&gt;&lt;br /&gt;&lt;a class="jive-link-external-small" href="https://drive.google.com/file/d/0Bxyv6KTPN_xAQWNCYUthaWhYSms/edit?usp=sharing" rel="nofollow noopener" target="_blank"&gt;https://drive.google.com/file/d/0Bxyv6KTPN_xAQWNCYUthaWhYSms/edit?usp=sharing&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/133917?ContentTypeID=1</link><pubDate>Thu, 28 Aug 2014 07:49:35 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:287e3fea-4a21-4dac-8f1a-69a92aaeae71</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;Hi Erik,&lt;br /&gt;&lt;br /&gt;Just one question!? Where to find libraries usbdisk.h, atadrive.h, sdcard.h which are used in diskio.c!? Also the function platform_init() in the main faile is not in any of the header files given!?&lt;br /&gt;&lt;br /&gt;Any help would be appreciated.&lt;br /&gt;&lt;br /&gt;Jet&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/133914?ContentTypeID=1</link><pubDate>Mon, 19 May 2014 12:15:35 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:9cda075b-1732-4962-a6bb-3591664471fb</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;Does changing the configuration of the MIO pins connected to the SD card still allow you to boot from the SD card?&lt;br /&gt;&lt;br /&gt;-Pat&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/133912?ContentTypeID=1</link><pubDate>Wed, 14 May 2014 15:42:03 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:8f9fb4b7-2cc0-45ed-b4af-39ec9681ef2a</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;Hi all,&lt;br /&gt;&lt;br /&gt;&lt;span&gt;In a related post, SDIO for Windows 7 (&lt;/span&gt;&lt;a class="jive-link-external-small" href="http://www.zedboard.org/comment/3291" rel="nofollow noopener" target="_blank"&gt;http://www.zedboard.org/comment/3291&lt;/a&gt;&lt;span&gt;) Kenny successfully used the SPI protocol to access the SD card on the Zedboard. Unfortunately, the link to his personal implementation seems to be dead.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Therefore I created a sample project which implements the generic FatFs file system on the Zedboard. It is available at &lt;/span&gt;&lt;a class="jive-link-external-small" href="https://dl.dropbox.com/s/7i4ioinjkn3a7am/zynq_spi_sdc.zip" rel="nofollow noopener" target="_blank"&gt;https://dl.dropbox.com/s/7i4ioinjkn3a7am/zynq_spi_sdc.zip&lt;/a&gt;&lt;span&gt;. The adaptation is largely based on the files and documentation of ChaN&amp;#39;s FatFS - Generic FAT File system &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://elm-chan.org/fsw/ff/00index_e.html" rel="nofollow noopener" target="_blank"&gt;http://elm-chan.org/fsw/ff/00index_e.html&lt;/a&gt;&lt;span&gt;, in particular the AVR sample project.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The configuration uses the Zynq GPIO pins and the Xilinx GPIO driver functions.&lt;br /&gt;&lt;br /&gt;Hardware configuration&lt;br /&gt;&lt;br /&gt;In the ZYNQ7 processing system the MIO pins 40-45 are connected to the SD card interface.&lt;br /&gt;Since these pins are programmed using the GPIO interface, it is mandatory that the SD0 peripheral in the Zynq Block Design (accessing the same pins) is not selected. On the other hand, the GPIO peripheral needs to be selected.&lt;br /&gt;&lt;br /&gt;Programming&lt;br /&gt;&lt;br /&gt;&lt;span&gt;The software has been tested using Vivado 2013.2, SDK build 14.6. The sample project main.c writes a file &amp;quot;newfile.txt&amp;quot; onto the SD card and checks the result. The FatFs API-functions are described on the FatFs website &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://elm-chan.org/fsw/ff/00index_e.html" rel="nofollow noopener" target="_blank"&gt;http://elm-chan.org/fsw/ff/00index_e.html&lt;/a&gt;&lt;span&gt;.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Date and time stamps&lt;br /&gt;&lt;br /&gt;Since a bare metal application has no time-of-day function, the timestamp is derived from the user supplied get_fattime function. In the absence of a real-time clock, the user may specify the date and time using the FILDAT and FILTIM strings, e.g.&lt;br /&gt;#define FILDAT &amp;quot;20140514&amp;quot;&lt;br /&gt;#define FILTIM &amp;quot;123500&amp;quot;t&lt;br /&gt;&lt;br /&gt;Erik&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/134501?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2013 10:36:07 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:f8311107-06c9-44e8-a0be-baca8c78864f</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;Hi thank you for your step by step instructions.&lt;br /&gt;Could you give me maybe a keyword or an additional hint what to look at in STM32F4xx_SDIO_Example.&lt;br /&gt;&lt;br /&gt;I used the FSBL template as a start. After removing most of the code and include files ADMA2 file transfer suddenly stopped working.&lt;br /&gt;&lt;br /&gt;After a while I figured that I have to call the InitPcap(void) function in order to fix the problem.&lt;br /&gt;&lt;br /&gt;int InitPcap(void)&lt;br /&gt;{&lt;br /&gt;tXDcfg_Config *ConfigPtr;&lt;br /&gt;tint Status = XST_SUCCESS;&lt;br /&gt;tDcfgInstPtr = &amp;amp;DcfgInstance;&lt;br /&gt;&lt;br /&gt;t/*&lt;br /&gt;t * Initialize the Device Configuration Interface driver.&lt;br /&gt;t */&lt;br /&gt;tConfigPtr = XDcfg_LookupConfig(DCFG_DEVICE_ID);&lt;br /&gt;&lt;br /&gt;tStatus = XDcfg_CfgInitialize(DcfgInstPtr, ConfigPtr,&lt;br /&gt;tttttConfigPtr-&amp;gt;BaseAddr);&lt;br /&gt;tif (Status != XST_SUCCESS) {&lt;br /&gt;ttreturn XST_FAILURE;&lt;br /&gt;t}&lt;br /&gt;&lt;br /&gt;treturn XST_SUCCESS;&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;Can someone please explain why this is needed? The communication/configuration to and from the card worked fine (responses in accordance with sdc physical spec etc.) but the ADMA2 transfer did not.&lt;br /&gt;&lt;br /&gt;Thanks in advance&lt;br /&gt;&lt;br /&gt;regards,&lt;br /&gt;Christian&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/133910?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2013 09:09:09 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:a88165cd-f0a4-484b-bba5-e52aa9568d08</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;I was working on this topic for the last week and I have a solution. Not perfect, but Iu2019m able to write and read from SD card and use the FATFS. Since I&amp;#39;m working on proprietary firmware I can&amp;#39;t simply give you the code, but I can help:&lt;br /&gt;The FSBL app from Xilinx implements Chanu2019s FAT FS in readonly mode. This is good start point.&lt;br /&gt;You will have to update ffconf to fill your needs.&lt;br /&gt;Update mmm.c :&lt;br /&gt;u2022tadd definitions for CMD24 (single write) and CMD25 (multiwrite)&lt;br /&gt;u2022tIn the make_command&amp;nbsp; function update CMD24 &amp;amp; CMD25 (both R1 resposes and remember, you are sending DATA)&lt;br /&gt;u2022tIn send_cmd only CMD18 is implemented. Change if/else to switch and add CMD24/25 cases. Take a look on ug585/appendix b.27. Transfer command register is explained in detail.&lt;br /&gt;u2022tThere is a bug in disk_status function. Write_Protect_Switch is 0 when write protected, not 1! Change it. Take a look on ug585/b.27 Present_State register, if you donu2019t understand.&lt;br /&gt;u2022tChange disk_ioctl. STM32F4xx_SDIO_Example was great help.&lt;br /&gt;u2022tCreate disk_write function. Again STM32F4xx_SDIO_Example shows how to do it.&lt;br /&gt;Guys Iu2019m sorry, but I simply canu2019t give you codes. Hope that this helps.&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/133915?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2013 13:08:53 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:5d2bbe3a-8d1b-4651-95b3-ffe57bdc3ea4</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;I am also working on the SD write, do you have already find the solutions for this? Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/133898?ContentTypeID=1</link><pubDate>Tue, 11 Jun 2013 06:33:07 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:80eb284f-75ab-4a47-809a-1fc27764e8ef</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;Hi all! I&amp;#39;m working on SD driver for eCos and have problems with write operation. I&amp;#39;ve created this topic on Xilinx forum, but still didn&amp;#39;t get any reasonable answer&lt;br /&gt;&lt;br /&gt;&lt;a class="jive-link-external-small" href="http://forums.xilinx.com/t5/Embedded-Development-Tools/Zynq-SD-write-operation/m-p/314123" rel="nofollow noopener" target="_blank"&gt;http://forums.xilinx.com/t5/Embedded-Development-Tools/Zynq-SD-write-operation/m-p/314123&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I investigate your version of SD driver, but didn&amp;#39;t find write operation too(( I just found return 0. Did you work on SD write op for Zynq ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/174840?ContentTypeID=1</link><pubDate>Thu, 06 Jun 2013 14:46:16 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:0fc2d1ae-b49e-439e-b83f-c159c60db8ae</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;Hi James. I saw your website, it looks great.&lt;br /&gt;I am using a V707 Virtex 7 board with Xilinx&amp;#39;s XPS with an AXI bus, and I&amp;#39;m attempting to access the SD card. &lt;br /&gt;Do you know if your code would work with my project, and if so, how I might go about implementing this? &lt;br /&gt;My partner and I are both new to XPS/FPGA development, and our research professor assigned us this project, but we&amp;#39;re pretty much clueless :P.&lt;br /&gt;Chase&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/133897?ContentTypeID=1</link><pubDate>Mon, 06 May 2013 20:37:18 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b01ab75e-8c3e-4499-b07d-c91f6947b19d</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;Hi Guys, &lt;br /&gt;&lt;br /&gt;I mentioned I was working on an SDCard driver.. Well its now working.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;See &lt;/span&gt;&lt;a class="jive-link-external-small" href="http://github.com/jameswalmsley/bitthunder/" rel="nofollow noopener" target="_blank"&gt;http://github.com/jameswalmsley/bitthunder/&lt;/a&gt;&lt;br /&gt;Look under drivers/mmc/sdcard.c and drivers/mmc/host/sdhci.c&lt;br /&gt;&lt;br /&gt;Also the Xilinx FSBL provides a rather primitive driver example, but&lt;br /&gt;should help anyone trying to write their own driver.&lt;br /&gt;&lt;br /&gt;Hope this helps, &lt;br /&gt;&lt;br /&gt;James&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/133896?ContentTypeID=1</link><pubDate>Wed, 13 Mar 2013 16:00:23 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:df35fe89-2f30-445c-a1ce-8c4f819631f8</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;I&amp;#39;m currently working on SDCard access for my real-time operating system, which is based on FreeRTOS. Unfortunately there seems to be little to no support from Xilinx for doing this.&lt;br /&gt;&lt;br /&gt;The other problem is that there really isn&amp;#39;t much useful information for handling SD cards using the SDIO protocol. (SPI mode there is a lot of documentation from hobbyists etc, as seen from the provided link).&lt;br /&gt;&lt;br /&gt;There are the SDHCI simplified specs, which are useful, but don&amp;#39;t seem to provide all the information you need.&lt;br /&gt;&lt;br /&gt;Anyway, fortunately there are a few reference drivers you can look at for help.&lt;br /&gt;&lt;br /&gt;Obviously there&amp;#39;s linux, which provides the most fully featured driver possible, and its pretty complex. As mentioned earlier I&amp;#39;d avoid this unless you have to.&lt;br /&gt;&lt;br /&gt;Also the raspberrypi is using an SDHCI controller, similar to that in Zynq.&lt;br /&gt;&lt;br /&gt;See:&lt;br /&gt;&lt;a class="jive-link-external-small" href="https://github.com/jameswalmsley/rpi-boot/blob/master/emmc.c" rel="nofollow noopener" target="_blank"&gt;https://github.com/jameswalmsley/rpi-boot/blob/master/emmc.c&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;They seem to have full read access to the card, and from that write access should be trivial.&lt;br /&gt;&lt;br /&gt;In anycase, I shall have my fully featured driver ready in 2/3 weeks from now (hopefully). So checkout:&lt;br /&gt;&lt;a class="jive-link-external-small" href="https://github.com/jameswalmsley/bitthunder/" rel="nofollow noopener" target="_blank"&gt;https://github.com/jameswalmsley/bitthunder/&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The source will be found under: drivers/mmc/host/sdhci.c&lt;br /&gt;&lt;br /&gt;Hope this helps someone.&lt;br /&gt;&lt;br /&gt;James&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/133902?ContentTypeID=1</link><pubDate>Mon, 29 Oct 2012 03:55:44 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:74a8654e-c64e-4933-98a4-7326152951e7</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;Thank you both folks.&amp;nbsp; I&amp;#39;ll review and get back to the thread with my findings.&amp;nbsp; Thanks again!&lt;br /&gt;&lt;br /&gt;Eddie&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/133895?ContentTypeID=1</link><pubDate>Mon, 22 Oct 2012 15:12:06 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:b78d007b-3f84-4271-b033-1309dbcac03f</guid><dc:creator>zedhed</dc:creator><description>&lt;p style="margin:0;"&gt;Hi Eddie,&lt;br /&gt;&lt;br /&gt;Tim makes a great suggestion above.&lt;br /&gt;&lt;br /&gt;I just wanted to add that using only U-Boot may also be an option to look at as well.&amp;nbsp; There are mechanisms built into U-Boot for reading FAT file systems.&lt;br /&gt;&lt;br /&gt;Another option to look at, if your code is compact enough, is the FSBL.&amp;nbsp; There are mechanisms in FSBL BSP for reading from the SD card FAT file system.&amp;nbsp; Plus you have the source code available to you for modification.&lt;br /&gt;&lt;br /&gt;Going to either of these routes will give you some nice APIs to work with but still keep you at a very low level of complexity when it comes to writing into the PL hardware address space.&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;&lt;br /&gt;-Kevin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SD Card example design using standalone?</title><link>https://community.element14.com/thread/133881?ContentTypeID=1</link><pubDate>Mon, 22 Oct 2012 15:01:47 GMT</pubDate><guid isPermaLink="false">93d5dcb4-84c2-446f-b2cb-99731719e767:26207ad6-218c-4bb5-bf3c-3da3a5911892</guid><dc:creator>Former Member</dc:creator><description>&lt;p style="margin:0;"&gt;Eddie,&lt;br /&gt;&lt;br /&gt;Here is a great thread from the Xilinx forums talking about doing exactly what you would like to do (except on a MicroBlaze processor, however the flow will be very similar).&lt;br /&gt;&lt;br /&gt;&lt;a class="jive-link-external-small" href="http://forums.xilinx.com/t5/EDK-and-Platform-Studio/XPS-SPI-Core-and-SD-Card/td-p/173580" rel="nofollow noopener" target="_blank"&gt;http://forums.xilinx.com/t5/EDK-and-Platform-Studio/XPS-SPI-Core-and-SD-Card/td-p/173580&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Let me know if that helps, and if not we can go through it step by step.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>