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.

FAT32 Filesystem

Other Parts Discussed in Thread: TMS320C5505

Hi,

we would like to use an TMS320c5505 DSP to write to an sd Card withcontains an FAT32 Filesystem in order to read the files on a PC. Is there any free Fat32 Filesystem driver for this processor around? I have seen some commercial Products for the FAT32 Filesystem on: http://focus.ti.com/dsp/docs/dspfindtoolswresults.tsp?sectionId=3&tabId=1620&familyId=114&toolTypeId=24 can you recommend anyone of these or any other?

  • I am using Elm Chan's free FatFS with some success (http://elm-chan.org/fsw/ff/00index_e.html) with a C2000 device.

    I tried other libraries before (commercial and open source). As with the C2000, you must be careful in choosing a library that assumes that a byte or char is 8-bits long. Unfortunately most of them do. Compiling FatFS without modification will waste some RAM space, particularly with the 512-byte FAT buffer which would be using twice that amount of memory. You may want to modify the library to use the __byte intrinsics to recover some space.

    Regards.

  • thx for the hint FatFS looks promising :)

    They also sum up all used Data types in the integer.h as far as I can tell.

  • Hi pbk,

    Would  you please help me to meditate on modifying the library to use the __byte intrinsics? I am trying to use Elm FatFS in my 5505 . I couldn't have FatFS run properly because 5505 uses 16-bit memory addressing so all bytes & chars are 16-bit. Do you know what is the best way to solve this problem?

    Thank  you very much!

    Joe

  • Mr PBK,

    I too am using a C2000 with FAT for SD card storage.  Could you please elaborate on porting FatFS for C2000 possibly code

     

    HC

  • Joe,

    We've got a fat32 file system and low level drivers for the 55 family that handles the byte/16bit and endianess issues.  Are you still working on this issue?

    -Shawn