Skip to main content
fe3
Associate III
September 17, 2022
Solved

[Bug?] USB Host MSC STM32F7 cube 1.17.0

  • September 17, 2022
  • 4 replies
  • 1890 views

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.

This topic has been closed for replies.
Best answer by GLASS

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...​

4 replies

GLASS
GLASSBest answer
Visitor II
September 17, 2022

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
fe3Author
Associate III
September 18, 2022

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

fe3
fe3Author
Associate III
October 2, 2022

Reopen

fe3
fe3Author
Associate III
October 2, 2022

Please reopen topic