cancel
Showing results for 
Search instead for 
Did you mean: 

F_MOUNT RETUFN FR_NO_FILESYSTEM stm32f411 usb mass storage class

Hoang_Tran
Associate III

hello everyone.i am a new member.I am trying to read a file in usb memory. When executing F_Mount, it returns FR_NO_FILESYSTEM. If I replace 0, then this function returns FR_OK but then executes F_OPEN. This function returns FR_NO_FILESYSTEM.please help me.thank you very mucg0690X000006BsmfQAC.png

2 REPLIES 2
Hoang_Tran
Associate III

help me

Please don't bump questions in this way, it's awfully presumptive.

So behaviour is consistent the flag causes the mounting to be deferred.

If the media is >=64GB in might well be in EXFAT format and you'll need to enable that in the configuration of FATFS. Also NTFS volumes will not be mounted.

If the underlying read/write functions in the DISKIO layer don't return expected data/blocks then the file system will fail. You should review the data returned during initial mounting to see if it reads the MBR and BPB correctly.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..