WeAct stm32f103 usb c
Re: WeAct stm32f103 usb c
You have to enable the USB CDC. If it is not working then probably a wrong USB clock config
Re: WeAct stm32f103 usb c
Setting `USB support (if available)` was set to HID
Setting `USB support (if available)` to CDC (with or without serial) makes board ACM device (ttyACM0) after `Upload`
Setting `USB support (if available)` to CDC (with or without serial) makes board ACM device (ttyACM0) after `Upload`
Re: WeAct stm32f103 usb c
USB HID has no link with the HID bootloader. You have to enable the USB CDC then when you want upload again, a dedicated sequence is initiated on the USB CDC and restart in the HID BL. Of course the linked Serial port have to be selected.
Re: WeAct stm32f103 usb c
Very complicated. But indeed it works this way! Thank you fpiSTM and ag123.
Re: WeAct stm32f103 usb c
Yes and no. To restart in a dedicated mode it is required to have a trigger, in that case thanks the USB Serial port.
Re: WeAct stm32f103 usb c
Which version of bootloader did you use? With current version 2.2.2 I receive the error in Arduino IDE:
And also, Windows 10 doesn't recognize it at all. It shows Unknown USB Device (Device Descriptor Request Failed)
Update: Surprisingly, the problem disappeared when I flashed the bootloader for WeAct https://github.com/WeActTC/BluePill-Plu ... T6/Arduino
Code: Select all
An error occurred while uploading the sketch
+-----------------------------------------------------------------------+
| HID-Flash v2.2.1 - STM32 HID Bootloader Flash Tool |
| (c) 2018 - Bruno Freitas http://www.brunofreitas.com |
| (c) 2018-2019 - Vassilis Serasidis https://www.serasidis.gr |
| Customized for STM32duino ecosystem https://www.stm32duino.com |
+-----------------------------------------------------------------------+
Usage: hid-flash <bin_firmware_file> <comport> <delay (optional)>
Update: Surprisingly, the problem disappeared when I flashed the bootloader for WeAct https://github.com/WeActTC/BluePill-Plu ... T6/Arduino