AnsweredAssumed Answered

STM32_USB-Host-Device_Lib_V2.1.0 (MSC issues)

Question asked by Luca Bassanello on Mar 27, 2012
Latest reply on Jul 26, 2012 by Luca Bassanello

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, but only in the Lexar one the f_mount / Explore_Disk demo execute successfully, in other two devices the functions hangs.

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,