This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52840 SDK16 - USB MSC example - How to check if FAT volume exists

Hi everyone,

I am working on the USB MSC example. I am able to create files and perform read and write operations. 

Now what I want is to check if there is a FAT volume when the system restarts. Is there any function for checking this? Because I do not want to accidentally format the disk (call to f_mkfs())

So, how could I ensure during start up that the disk has a FAT volume?

Thanks in advance

Nick

Parents Reply Children
Related