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.

fat16 or fat32

Other Parts Discussed in Thread: MSP430F5529

hi,

i make my spi connection work between the msp430F5529 and the sd card. Now i want to write data on the sd card in fat16 or fat 32 format  in order to read it on my pc.

i need information. people say to use efsl library, but i have no idea how to use it. And also i'm wondering if it can be used for the F5529?

thanks,

  • cedric dassigli said:
    people say to use efsl library, but i have no idea how to use it. And also i'm wondering if it can be used for the F5529?

    Unless there is a port for MSP430, it is rather unlikely that it can be used.

    If oyu use the forum search, you'll find some threads dealing with FAT16 on MSP. (for FAT32, I fear the overhead is too much to reliably sue it on an MSP - and the code is too large to use it with the free compiler versions).
    Whether the data is on an SD card or stored on anything else, makes no difference. The code used in these threads only requires a 'read block' and 'write block' function from and to storage.

  • cedric dassigli said:
    people say

    What people?

    Where do they say it?

    cedric dassigli said:
    use efsl library, but i have no idea how to use it

    Whatever you use, you are going to have to spend time to study it & how to use it.

    http://www.lmgtfy.com?q=efsl+library

    cedric dassigli said:
    i'm wondering if it can be used for the F5529?

    Study the EFSL documentation to find what resources it requires; then study  the msp430F5529 documentation to find what resources it provides - work from there...

    http://bit.ly/pWAASo

    FatFs is another filesystem popular for small microcontrollers - details here: http://elm-chan.org/fsw/ff/00index_e.html - in particular, note the resources links at the bottom of the page...

    More on SD Cards & microcontrollers in general: http://bit.ly/V9SkrZ

    As already noted, you don't necessary need a filesystem on the embedded device: you could just write raw blocks and, instead, write a PC application (or whatever) to read that - thus removing the burden from the resource-constrained device to the resource-rich device. That's less convenient for the users, but gives you the opportunity to simplify the embedded device.

    Only you can decide whether the user convenience is worth the extra cost in the embedded device for your particular situation...

     

**Attention** This is a public forum