2020-07-02 05:29 AM
Dear Sir/Madam,
I am quite new to the world of STM32 ,although I explore new things about them everyday.
I have to use (internal) DMA of SDMMC of a MCU,to transfer large capacity of bytes from a SD Card to the internal RAM of the micro .
For doing this,is it really necessary to use FATFS(as a middle-ware for SD card) or not?
I really appreciate your attention.
Solved! Go to Solution.
2020-07-02 05:44 AM
FATFS is reasonably efficient, you want to be reading large/aligned blocks, think sector/cluster, and create buffering or algorithms that facilitate optimum interaction with the underlying media.
You can read/write block(s) directly to the SD Cards, but if you're throwing away the file system you'd want to come up with something better.
Might want to create an optimized method that manages and chases the cluster chain for a single file data stream, or cache/prefetch the file allocation table to help FATFS hit your performance goals.
2020-07-02 05:44 AM
FATFS is reasonably efficient, you want to be reading large/aligned blocks, think sector/cluster, and create buffering or algorithms that facilitate optimum interaction with the underlying media.
You can read/write block(s) directly to the SD Cards, but if you're throwing away the file system you'd want to come up with something better.
Might want to create an optimized method that manages and chases the cluster chain for a single file data stream, or cache/prefetch the file allocation table to help FATFS hit your performance goals.
2020-07-02 07:43 AM
Thank you clive1 for your reply .