Skip to main content
lliba
Associate
October 9, 2019
Question

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

  • October 9, 2019
  • 2 replies
  • 958 views

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?

This topic has been closed for replies.

2 replies

Pavel A.
Super User
October 9, 2019

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

-- pa

lliba
llibaAuthor
Associate
October 31, 2019

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.
 
 
 

lliba
llibaAuthor
Associate
October 31, 2019

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