cancel
Showing results for 
Search instead for 
Did you mean: 

USB Dongle is "Unknow Device"

Metallizer
Associate II

Hello, everybody! I faced with some problem. If I init USB_Device as CDC by STM32CubeMX then OS detect dongle as "Unknow Device", but if I use ready project from STM32Cube_FW_WB_V1.3.0 (BLE_TransparentModeVCP) then Dongle is working.

What reasons of this behaivor?

USB settings in thu Cube on the pictures

0693W000000UMt8QAG.png

0693W000000UMtIQAW.png

0693W000000UMtcQAG.png

4 REPLIES 4
Pavel A.
Evangelist III

OS? Which OS?

Windows 7

Pavel A.
Evangelist III

Try Windows 10, it gives helpful diagnostic of usb device errors.

Also as you have noticed, the examples are created manually, they usually work better than Cube-generated templates. This is not likely to improve soon, so copy as much as possible from the examples.

-- pa

Metallizer
Associate II

Thank's for answer. Windows 10 shows error code 43.

This error means hardware problem, but there is not hardware problem because dongle work correctly with standard program.

Cube initialize USD_Device in the Main function. Is it enough for determinate dongle by OS?