2015-01-15 05:34 AM
Hello,
I am using anstm32f4-discovery
board with MCUstm32F407
. My intention is create a project using theSTM32CubeM
X 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. #stm32f4-discovery2015-01-15 01:16 PM
Cube-related questions are best to be asked in the dedicated ''software tools'' sub-forum
https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Java/AllItems.aspx JW2015-01-15 09:59 PM
Ok, thanks for your reply.
2015-01-23 02:11 AM
Hi Ilias,
If the problem isn't yet resolved, try to increase heap & stack sizes in the file ''startup_stm32f407xx.s''.-Mayla-To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.