Skip to main content
Metallizer
Associate
March 20, 2020
Question

USB Dongle is "Unknow Device"

  • March 20, 2020
  • 3 replies
  • 2163 views

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

This topic has been closed for replies.

3 replies

Pavel A.
Super User
March 21, 2020

OS? Which OS?

Metallizer
Associate
March 21, 2020

Windows 7

Pavel A.
Super User
March 22, 2020

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
March 23, 2020

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?