cancel
Showing results for 
Search instead for 
Did you mean: 

How to switch between MSD and FatFs?

CFosc
Associate

Hi

I like to use my small mcu system (stm32f401 with 4bit SDIO and USB-Device) in the follow way:

If USB is plugged in -> the system should behave like a msd on a windows machine.

If USB is not plugged in -> the system should read the files from the sd-card via fatfs and use the files localy.

I know, msd and fatfs at the same time is not possible, but switching between them at runtime should be possible. has anyone done this bevor? and examples to share?

cheers Claudio

0 REPLIES 0