Page 1 of 1

[deletd]

Posted: Tue Jun 08, 2021 4:58 pm
by Doublestm32
[deletd]

Re: STM32F103C8T6 bluepill with HID Bootloader 2.2 problems uploading

Posted: Tue Jun 15, 2021 6:55 pm
by Vassilis
This is because the usb port is not configured as a composite usb device. A USB Composite Device is a peripheral device that supports more than one device class (source: keil.com). For example, using the usb port as a composite device you can have a usb serial port, mouse and keyboard, all at the same time.

Currently, the HID bootloader does not run as a composite usb device. When running your sketch, only the USB Serial port is available. The Arduino IDE uses the serial port to restart the MCU in HID bootloader mode. If there is no serial port, the loader cannot restart the MCU. When you replace:
USB support from CDC generic supersede U (S) ART
to
HID keyboard and mouse
automatically turn off the serial port needed to restart the MCU in the next programming.

[deletd]

Posted: Fri Jun 18, 2021 5:01 pm
by Doublestm32
[deletd]