2022-09-17 05:41 AM
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.
Solved! Go to Solution.
2022-09-17 12:25 PM
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...
2022-09-17 12:25 PM
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...
2022-09-18 02:02 AM
Thanks for the tip. After replacing the USB host driver my program is working
2022-10-02 03:38 AM
Reopen
2022-10-02 03:40 AM
Please reopen topic