This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

About BIOS FatFS question - C66x

Other Parts Discussed in Thread: SYSBIOS, OMAP-L138, OMAPL138

Hi,

As I know, FatFS has been added into the sysbios. Our goal is to make the SD card (or similar) external memeory easily accessible by a Windows OS PC, and my questions are as below.

1. Does the FatFS meet the above requirement?

2. Please release more FatFS reference information for external and post the link if possible.

Thanks.

  • Andy,

    Can you please re-state your usage model/requirements for FatFS?  I’m not clear on how you want to use it.

    For reference information, you can find some details within the SYS/BIOS release.  You can click on the “SYS/BIOS APIs (cdoc) (Indexed and Searchable within CCS/Eclipse Help)" link in the SYS/BIOS release notes, and then navigate to the ti.sysbios.fatfs.FatFS module.  Also, you can find a bit more information and links via the Welcome.html page in the package directory (in the SYS/BIOS install directory, in the \packages\ti\sysbios\fatfs subdirectory).  Have you already seen this information?

    Scott

  • Andy,

    The FatFS for SYS/BIOS currently only supports a RAM disk.  Unfortunately, we have no plans of making an SD card driver for the C66x.  If you wish, you can port FatFS to for SD card support on your own but we cannot provide much help.

    Having said that, please check out the FatFS wiki page I have just created: http://processors.wiki.ti.com/index.php/FatFS_for_SYS/BIOS

    This page provides a nice overview.  It should also provide an example however I had an issue trying to attach it to the wiki so I have attached it here.

    Furthermore, we do have an existing SD card driver which uses FatFS but it is for the ARM processor.  If you wish, I can provide that code for you and you could use it to help create SD card driver for your hardware.  Additionally, the FatFS website does provide examples of MMC/SD card drivers for other hardware platforms that may help you as well.

    Hope this helps,

    Steve

    4353.fatfs-example.zip

  • Steve,

    I'd love to get a copy of your SD card driver for the ARM if it's still available.  Is the MMC/SD controller in the ARM you targeted the driver to similar to the one in the OMAP-L138?  I was about to attempt to extend FatFS myself to support the ARM side of an OMAP-L138, but if you guys already have something implemented I'd much rather start there.  

    Thanks,

    John Filo

  • John --

    This post is closed.   It is best to open a new thread in the future since we don't monitor closed threads and this could've been lost in the noise.  We typically only track and work open threads.

    I think that there's a FatFS driver for the 6748 which has same MMC/SD peripheral as OMAPL138.    It should be straightforward to port this to the Arm side.

    The DSP-version of this driver and related docs can be found here.  You need the 3.00.01.00 version.

    http://software-dl.ti.com/dsps/dsps_public_sw/psp/BIOSPSP/03_00_01_00/index_FDS.html

    -Karl-