2025-01-20 01:43 PM
Hi, we are developing a custom board with the STM32F405 as main micro-controller.Actually We can communicate with some flash drives and create directories and files , but with others we simply get "FR_DISK_ERR".
Some of them are detected by the Host because we can detect that current is being delivered to them, but others dont do nothing.
For example with some flash drives (Kingston) it works nice but with others It doesn't. (Doesn't matter if they are 2.0/3.0).
It seems to be realted to the certification of each USB stick. For example
Kingston 2.0 64GB works excellent
Kingston 2.0 16GB doesn't work
Sandisck 2.0 16GB doesn't work
Kingston 64GB 3.0 works excellent
Maybe some of them aren't original , (just clones, IDK)
All of them are formated to fat32. (Also tried exFat)
So it seems to be a certificated USB stick error related. The question is: how can we solve it so the board can accept a huge variety? Is there any library or solution that improves this? Or how would you deal with this?
Thanks for reading
2025-01-20 01:47 PM
Add info:
*We use the usb_otg_hs port( but same problem with FS port)
*USB host libraries are up to date
*We use fatfs library