RTEMS / Zynq (microZed) - Writing data to a file on removable media (SD card)

Jim Elliott jim.elliott at nta-inc.net
Fri Jul 19 20:02:14 UTC 2019


Thank you for the pointer. Before I go down that route, would it be easier to put the sd card into a usb adapter?

When I say easier, would this preset an option which already has working solution? If so are there any pointers as to how to implement this solution? The "Using_the_RTEMS_DOS_File_System" alludes to a Flash Disk but there are no details (and I am assuming that Flash Disk == USB Flash, maybe that is an incorrect assumption)....

I'm sorry if it seems that I am trying to dodge the solution you provided it is just that I am trying to follow the path of least resistance. I need to attempt to get data files off of the RTEMS/microZed sooner rather than later using whatever method is the quickest to a solution (SD or USB Flash). If the only solution is really to adapt the beagleboard sdhci driver then I will definitely start looking into that.

Best Regards,


From: Jonathan Brandmeyer <jbrandmeyer at planetiq.com>
Sent: Friday, July 19, 2019 12:25 PM
To: Jim Elliott <jim.elliott at nta-inc.net>
Cc: users at rtems.org <users at rtems.org>
Subject: Re: RTEMS / Zynq (microZed) - Writing data to a file on removable media (SD card)

I haven't actually seen an SDCard driver for the Zynq BSP in RTEMS.
That said, FreeBSD does support this device via the sdhci driver.  So
it might be possible to adapt the sdhci driver support in rtems-libbsd
to the RTEMS Zynq BSP.  Take a look at how the beagleboard and IMX
BSPs do it.  rtemsbsp/include/bsp/nexus-devices.h is one of the entry
points I use when source-diving into rtems-libbsd.

Jonathan Brandmeyer


CONFIDENTIALITY NOTICE: The contents of this e-mail message may be privileged, confidential, proprietary, Controlled Unclassified Information (CUI) or otherwise protected against disclosure or dissemination. This e-mail message and any files transmitted with it are intended solely for the use of the individual/individuals or entity/entities to whom they are addressed. If you are not the intended recipient of this message, any dissemination, distribution, printing or copying is strictly prohibited. If you have received this message in error, please e-mail or call the sender (jim.elliott at nta-inc.net, ) and destroy all copies.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20190719/d7a24e53/attachment-0002.html>

More information about the users mailing list