cancel
Showing results for 
Search instead for 
Did you mean: 

Bug: STM32CubeIDE+FreeRTOS+FATFS+USBDisk, can't recognize?

lliba
Associate II

STM32CubeIDE+FreeRTOS+USB_OTG_FS +USB Host+FATFS, can't recognize usbdisk.

STM32CubeIDE+USB_OTG_FS +USB Host+FATFS, can recognize usbdisk.

All can recognize usbdisk in MDK5.

I don't know why?

3 REPLIES 3
Pavel A.
Evangelist III

Basically because Keil MDK has their own runtime library, and different pool&stack arrangement than GNU toolchains.

-- pa

lliba
Associate II

Can anyone help me?

STM32CubeIDE+FreeRTOS+USB Host+FatFS, can't recognise USB-Disk. This USB state is APPLICATION_START, can't reach APPLICATION_READY. Stack and heap is enough.

USB Device Attached
PID: 5678h
VID: ffffh
Address (#1) assigned.
Manufacturer : USB
Product : Disk 2.0
Serial Number : 6864291150875323753
Enumeration done.
This device has only 1 configuration.
Default configuration set.
Switching to Interface (#0)
Class    : 8h
SubClass : 6h
Protocol : 50h
MSC class started.
 
 
 

this is a same problem.https://www.openstm32.org/forumthread3205