cancel
Showing results for 
Search instead for 
Did you mean: 

[Bug?] USB Host MSC STM32F7 cube 1.17.0

fe3
Associate III

USB Host Driver for MSC does not work.

After upgrading one of my programs to the latest version of the Cube-HAL, my program with USB Host (USB FS) MSC on a STM32F746-Nucleo board stopped working. I use RTOS. The program still recognizes the device and then stops.

Application State: 0

USB Device Connected

USB Device Reset Completed

PID: 6544h

VID: 30deh

Address (#1) assigned.

Manufacturer : KIOXIA

Product : TransMemory

Serial Number : 0022CFF6B899C411F31022D1

Enumeration done.

This device has only 1 configuration.

Default configuration set.

Switching to Interface (#0)

Class   : 8h

SubClass : 6h

Protocol : 50h

MSC class started.

Number of supported LUN: 1

LUN #0:

Replacing the file usbh_ctlreq.c with version from 1.16.2 the program works again.

Application State: 0

USB Device Connected

USB Device Reset Completed

PID: 6544h

VID: 30deh

Address (#1) assigned.

Manufacturer : KIOXIA

Product : TransMemory

Serial Number : 0022CFF6B899C411F31022D1

Enumeration done.

This device has only 1 configuration.

Default configuration set.

Switching to Interface (#0)

Class   : 8h

SubClass : 6h

Protocol : 50h

MSC class started.

Number of supported LUN: 1

LUN #0:

Inquiry Vendor : KIOXIA

Inquiry Product : TransMemory

Inquiry Version :

MSC Device ready

MSC Device capacity : 2615672320 Bytes

Block number : 30274559

Block Size  : 512

Also the demo project for the STM32746G-Discovery\Applications\USB_Host\MSC_RTOS has the same behavior as my program.

Is there a workaround for this problem.

1 ACCEPTED SOLUTION

Accepted Solutions
GLASS
Senior

It s a regression of usb host lib v3.4.1.

​https://github.com/STMicroelectronics/stm32_mw_usb_host/issues/8

Give a try to v3.5.0...​

View solution in original post

4 REPLIES 4
GLASS
Senior

It s a regression of usb host lib v3.4.1.

​https://github.com/STMicroelectronics/stm32_mw_usb_host/issues/8

Give a try to v3.5.0...​

fe3
Associate III

Thanks for the tip. After replacing the USB host driver my program is working

fe3
Associate III

Reopen

fe3
Associate III

Please reopen topic