FatFs with SD 4Bit Bus & RTOS is not working (f_open) in LFN Mode
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2020-09-03 12:09 AM
Hi
I've configured FatFs for SD 4Bit Bus. I'm using FreeRTOS.
When USE_LFN = 0 then all works well. Writing and reading to/from the SD card is working as it should.
As soon as I enable USE_LFN = 3 (in CubeMX) f_open returns FR_NO_FILESYSTEM (13).
check_fs in f_open return 2 (Valid BS but not FAT).
That's strange because I've formatted the SD card with f_mkfs as FAT and FAT32. I've formatted it on my PC as FAT and FAT32 as well. I always get this behaviour.
Can anyone help me with this issue?
Regards
Dejan
Labels:
- Labels:
-
FatFS
-
FreeRTOS
-
SDIO-SDMMC
This discussion is locked. Please start a new topic to ask your question.
0 REPLIES 0
