[deletd]

Bootloader for STM32F103 and STM32F4xx micro-controllers
No special driver is required. Support for Windows, Linux and Mac Operating System
Post Reply
Doublestm32
Posts: 3
Joined: Mon Jun 07, 2021 1:51 pm

[deletd]

Post by Doublestm32 »

[deletd]
Last edited by Doublestm32 on Mon Feb 03, 2025 9:53 am, edited 1 time in total.
User avatar
Vassilis
Posts: 24
Joined: Wed Dec 18, 2019 3:04 pm
Location: Thessaloniki, Greece
Contact:

Re: STM32F103C8T6 bluepill with HID Bootloader 2.2 problems uploading

Post 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.
Vassilis Serasidis
https://www.serasidis.gr
Doublestm32
Posts: 3
Joined: Mon Jun 07, 2021 1:51 pm

[deletd]

Post by Doublestm32 »

[deletd]
Post Reply

Return to “STM32 HID bootloader”