AnsweredAssumed Answered

stm32f4-discovery with STM32CubeMX

Question asked by karakiritsis.ilias on Jan 15, 2015
Latest reply on Jan 23, 2015 by Amel N
I am using an stm32f4-discovery board with MCU stm32F407.

My intention is create a project using the STM32CubeMX c generator using both RTOS and USB Middlewares. I want to be able to see in my Device Manager of my PC a new HID device when I connect the board using the micro usb connector.

My problem is that although the project is created normally is built successfully using IAR workbench, finally no HID device is identified.

I have enabled in the peripherals of the board USB_OTG_HS as device and I have set the Middleware USB Device class as HID.
I have also tried other combinations (I also USB_OTG_FS) but no result.

I am newbie and what I am asking is if anybody knows how to enable the usb and rtos using the CubeMX c code generator.

Thanks in advance.