Hi
I am trying to access from a pc to the contents of an SD card. SD card on which I can write with FatFs
I work with the FRDM-K66 from the "usb_device_composite_cdc_msc_sdcard" demo project
usb_device_composite_cdc_msc_sdcard demo project works perfectly
I managed to integrate FatFs, create directories and write to the SD card (by désabling USB)
If I add the initialization of the file system to the USB demo project then the USB no longer works.
FatFs and USB stack are very difficult to understand...
=>Is it technically possible to have both msd device and FatFs to write to memory ?
If yes, where should I act? A mutex between FatFs and msd (I tried without success for the moment)?
thank you in advance
Hi PO220
There is a USB host demo integrated with fatfs, I think you can refer to it.
SDK_2.2_FRDM-K66F\boards\frdmk66f\usb_examples\usb_host_msd_fatfs\freertos\
Regards
Daniel