cancel
Showing results for 
Search instead for 
Did you mean: 

FatFs with SD 4Bit Bus & RTOS is not working (f_open) in LFN Mode

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

0 REPLIES 0