Question
STM32_USB-Host-Device_Lib_V2.1.0 (MSC issues)
Posted on March 27, 2012 at 15:23
Hi,
I'm using the USB-Host (MSC class) library to read/write USB flash drives with STM32F105/107. I've the STM3210C-EVAL board to try the example bundled in the official package (compiled with MDK-ARM, but also with bare-bone Codesourcery GCC -> same results). USB Host MSC example -> used with 3 different USB flash drives Lexar JDFF4GB-00-5015 VID: 05DCh PID: A781h Manufacturer : Lexar Product: JD FireFly Transcend JF V30/2GB VID: 058Fh PID: 6387h Manufacturer : JetFlash Product: Mass Storage Device Transcend TS128MJF2A VID: 0C76h PID: 0005h Manufacturer : JetFlash Product: TS128MJF2A All USB drives enumerate, butonly
in the Lexar one the f_mount / Explore_Disk demo execute successfully, in other two devices the functionshangs
. I've tried ''STM32_F105-07_F2xx_USB-Host-Device_Lib_V2.0.0'' too, same target, same compilers (MDK-ARM and bare-bone Codesourcery GCC). With that library I've got better results, only the Transcend TS128MJF2A device hangs. Seems that LibraryV2.0.0 works better with STM32F105/107 target. Best Regards, Luca #usb-host #usb-msc-mass-storage #usb-device-msc-code-sourcery #stm32-usb-library #usb-host