2017-12-08 03:46 AM
Hi,
I have generated a project from Cubemx with Stm32f405, I want to use a CDC with my computer, with USB device mode
The board is tested with a previous firmware, and usb is recognized, so there is no a hardware problem.
When I try to use the project generated by CubeMx the usb is not recognized.USB device not recognized (Device Descriptor Failure)
Any idea?
Thank you in Advance
#usb-deviceSolved! Go to Solution.
2017-12-14 04:39 AM
Finally, it was a problem of Clock misconfiguration.
Thanks to all that you took some time on the problem!
2017-12-08 04:03 AM
Hello,
Please try to increase heap and stack sizes.
Best Regards
Imen
2017-12-08 05:27 AM
Hi Imen,
Thanks for your answer. I have a stm32f405zgt6 microcontroller
Which values would be max but still ok for this microcontroller?
Now
stack and heap are like 0x2000 and it doesn't change anything.
Thank you very much
Best Regards
2017-12-14 04:39 AM
Finally, it was a problem of Clock misconfiguration.
Thanks to all that you took some time on the problem!
2018-01-08 09:36 AM
Hi ip,
what was clock misconfiguration exactly