2018-08-12 11:45 PM
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 mucg
2018-08-13 1:42 AM
help me
2018-08-13 4:44 AM
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.
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.