cancel
Showing results for 
Search instead for 
Did you mean: 

STM32H735G CustomHID code not working "This device cannot start. (Code 10)"

Ckerl.2
Associate II

I am trying to test a CustomHID from the STMCubeMX code and the project does not seem to work as intended.

When I use the HID Standalone example for the STMH735G Dev Kit the project works as intended however when I try to set it up with the CustomHID windows gives this error. I changed the clocks to match the HID Standalone project with a max clock of 520mhz.

Wondering what I am doing wrong or if there is some setting that needs to be modified for this to work properly. Looks like everything is setup and should work already but doesn't

1 ACCEPTED SOLUTION

Accepted Solutions
Ckerl.2
Associate II

I resolved the issue,

the project with the default descriptor does not actually set anything up.

I followed this video for setting up the USB device

https://www.youtube.com/watch?v=3JGRt3BFYrM&ab_channel=STMicroelectronics

View solution in original post

4 REPLIES 4
Imen.D
ST Employee

Hello @Community member​,

Check the differences in Clock Configuration between the -ready to use- application and your project created with CubeMx.

Have a look at this FAQ: USB device not recognized.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Ckerl.2
Associate II

Hi Imen,

The clocks are identical to the ready to use application and my application.

I increased the heap size to 0x1000 as suggested and this still did not resolve the issue.

still receive code error 10

0693W00000aHTTjQAO.png 

when attempting the CDC example for AzureRtos

I get this, I dono if this is helpful information to resolving this. 0693W00000aHTSgQAO.png

Ckerl.2
Associate II

I resolved the issue,

the project with the default descriptor does not actually set anything up.

I followed this video for setting up the USB device

https://www.youtube.com/watch?v=3JGRt3BFYrM&ab_channel=STMicroelectronics

Hi @Community member​ ,

Glad to know the issue has been solved.

Please allow me to close this thread and thank you again for your contribution.

Imen

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen