A question about using FATFS with SD Cards(SDMMC Host controller of STM32-H7)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-02 5: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.
- Labels:
-
FatFS
-
SDIO-SDMMC
-
STM32H7 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-02 5: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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-02 5: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.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2020-07-02 7:43 AM
Thank you clive1 for your reply .
