cancel
Showing results for 
Search instead for 
Did you mean: 

USB HOST and MSC problem on STM32F7

fjahn9
Associate II
Posted on September 30, 2015 at 23:37

Hello,

i'm trying to implement msc class in my firmware to read usb stick's.

I used Stm32CubeMx to create the source code. I also implemented sd-card and fat file system. I can read  from sd-card without any problem. But i can only read from usb stick, if i disable data cache. Without Data cache i get a lot debug messages (i have debug level 3) like this :

USB Device Attached

PID: 1666h

VID: 951h

Address (&sharp1) assigned.

Manufacturer : Kingston

Product : DataTraveler 3.0

Serial Number : 50E549513770BF20A986024D

Enumeration done.

This device has only 1 configuration.

Default configuration set.

Switching to Interface (&sharp0)

Class    : 8h

SubClass : 6h

Protocol : 50h

MSC class started.

Number of supported LUN: 1

LUN &sharp0: 

Inquiry Vendor  : Kingston

Inquiry Product : DataTraveler 3.0

Inquiry Version : PMAP

MSC Device ready

MSC Device capacity : 2848259584 Bytes

Block number : 30728831

Block Size   : 512

With Data cache i only get the message ''USB Device Attached'' and ''USB Device disconnected''

I hope anyone can help

Regards

Falko

PS:

Sorry for my english

#usb-host-msc-stm32f7
0 REPLIES 0