2020-03-20 01:34 AM
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
2020-03-20 05:20 PM
OS? Which OS?
2020-03-21 01:50 PM
Windows 7
2020-03-21 06:52 PM
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
2020-03-22 11:20 PM
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?