cancel
Showing results for 
Search instead for 
Did you mean: 

Unknown USB device not recognized (Device Descriptor Failure)

ignasi
Associate II
Posted on December 08, 2017 at 12:46

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-device
1 ACCEPTED SOLUTION

Accepted Solutions
Posted on December 14, 2017 at 12:39

Finally, it was a problem of Clock misconfiguration.

Thanks to all that you took some time on the problem!

View solution in original post

4 REPLIES 4
Imen.D
ST Employee
Posted on December 08, 2017 at 13:03

Hello,

Please try to increase heap and stack sizes.

Best Regards

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Posted on December 08, 2017 at 13:27

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

Posted on December 14, 2017 at 12:39

Finally, it was a problem of Clock misconfiguration.

Thanks to all that you took some time on the problem!

Posted on January 08, 2018 at 17:36

Hi ip,

what was clock misconfiguration exactly