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

Jonathan Brandmeyer jbrandmeyer at planetiq.com
Fri Jul 19 20:24:47 UTC 2019


On Fri, Jul 19, 2019 at 2:02 PM Jim Elliott <jim.elliott at nta-inc.net> wrote:
>
> Jonathan,
>
> 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)....

For the Zynq platform, the only bidirectional bulk data interface that
is supported out-of-the-box is the Ethernet port.  There's also an
NFSv2 client (look for librtemsNfs.h) if your code is tightly coupled
to filesystem-like interfaces... and you're willing to deal with the
network security issues inherent to NFSv2.

For a one-way interface from your development environment to the
application, you can also package some program data with your
application using the UnTar_Xz* family of support functions and
rtems-bin2c.

Depending on how early you are in the development cycle, it may be
worthwhile to take a look at nexus-devices.h to get a better idea of
which BSP's support which features.  The Other Leading Brand (Intel
nee Altera Cyclone V) has better RTEMS support right now.


-- 
Jonathan Brandmeyer



More information about the users mailing list