How to make SDIO & eMMC FatFs Work with STM32F4 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-02 10:20 AM
Hello
I am using :
- STM32F413HDESCOVRY
- STM32 CubeMX tool
- Atollic TrueStudio V9.3
- eMMC : Kingston EMMC04G
I already created the files
- user_discio.c
- user_discio.h
- eMMC_Driver.c
- eMMC_Driver.h
when i use f_mount i get FR_NO_FILESYSTEM
thx
Solved! Go to Solution.
- Labels:
-
FatFS
-
SDIO-SDMMC
-
STM32CubeMX
-
STM32F4 Series
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-03 9:49 AM
Capacity seems all wrong for a 4GB eMMC, and I'm not sure I've coded to manage anything below 2GB
The ODROID cards with their MicroSD adapter connect more directly into the STM32 DISCO/EVAL boards.
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
‎2019-04-02 11:10 AM
>>when i use f_mount i get FR_NO_FILESYSTEM
Blank eMMC devices will need to be formatted. If you've validated the READ, and then WRITE functionality, you're ready to use f_mkfs()
I found these ODROID cards to be less of a circus
https://www.hardkernel.com/shop/8gb-emmc-module-c2-android/
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
‎2019-04-02 3:38 PM
STM32F413H-DISCO eMMC test code, blind port, I don't own this board.
Outputs via VCP at 115200 8N1, at first prompt hit ENTER, will prompt to format if necessary.
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
‎2019-04-03 8:22 AM
Thank you for your reply. I tried your source code it happens to connect with the eMMC but it can neither write nor erase. I tested it with several eMMCs always the same thing in the attached file you find all msg.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2019-04-03 9:49 AM
Capacity seems all wrong for a 4GB eMMC, and I'm not sure I've coded to manage anything below 2GB
The ODROID cards with their MicroSD adapter connect more directly into the STM32 DISCO/EVAL boards.
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
‎2019-04-09 7:20 AM
Hello @Community member​
Thanks for all the valuable. We solved the problem and all seems correct now.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-08-22 8:39 AM
Do you have stm32f4 emmc 5.1 example working with iNAND 7250 ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-09-30 4:20 AM
Hello dear Mcherif
I have a similar challenge to you
Would it be possible to explain and post a sample code where FATFS is implemented via SDIO on EMMC memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2023-12-05 12:58 AM
I'd also be interested in your outcome especially of the FATFS... It would be nice to have a list of things working and the code that goes along with it. It might also be interesting for future users if it is only for reference...
