2024-03-13 09:21 AM
Hi the community,
I tried to use a STM32L552 to create file in a USB key with FatFS but without success.
I already create and write file in SD card with FatFS but my aim (after a USB key) is to do it on an external hard drive (so througth USB, the capacity storage of SD cards are too small).
Contrary to SD Card, I have to use user-defined and USB Device library.
My problem is that my f_open return me FR_NOT_READY, and it is impossible to found an exemple.
I tried to use this library ->
STM32Cube_FW_L5_V1.3.0\Projects\STM32L562E-DK\Applications\USB_Device\MSC_Standalone\readme.txt but I have the same problem.
Has anyone ever managed to do that?
Thanks!
Solved! Go to Solution.
2024-03-13 09:56 AM
Hi,
L552 cannot play "host" , see ds:
So to have usb host msc : need other chip, that can be "host" .
2024-03-13 09:48 AM
A USB Flash drive would need to use a USB HOST example, not a USB DEVICE one.
Not sure the L5 design facilitates that.
2024-03-13 09:56 AM
Hi,
L552 cannot play "host" , see ds:
So to have usb host msc : need other chip, that can be "host" .
2024-03-14 02:09 AM
I tried to use USB HOST from a STM32F4 code but it didn't work.
2024-03-14 02:10 AM
Ok, I'll do that. Thank you.