Associate III
February 16, 2022
Question
USB device MSC is too slow to access an SD in FAT32 (it works fine with FAT)
- February 16, 2022
- 8 replies
- 8967 views
Hi to all,
I use the Device MSC provided by CubeMX.
I wrote my own diskio.c file and every works fine with an SD of 2Gb formatted in FAT.
When I use n SD of 8Gb formatted in FAT32, WIndows take about 2 minutes to access the root directory. After this time, the Mass storage works fine.
What is the delay in enumerating files in FAT32?
Attached my usbd_storage_if.c
P.S.: FATFS works great with the same user_diskio.c and user_spi_diskio.c (attached)
Thanks to all.
