Unable to upload a skect to STM32 Bluepill
Posted: Sat May 20, 2023 3:29 pm
I have been using Arduino Nanos for years, but I am unable to transfer a sketch to a STM32 Bluepill (STM32FC103C8).
I have followed this tutorial : https://www.sgbotic.com/index.php?dispa ... page_id=48 , and for information I have previously trried using PlatformIO under VScore: Platformio tells that everything is SUCCESS but nothing happens (Led is not blinking, let me think that the sketch has not been uploaded).
section 1- "Arduino Bootloader" of the Tutorial because i would like to avoir using the ST-Link.
I have selected:
But when I try to upload the sketch, i get the following error:
meaning that the Serial port does not exist or the Arduino is not connected, whereas the bluepill is connected wia a USBA-USB-C cable.
Can you help becasue I have trying different methods for 3 days without any success...
I have followed this tutorial : https://www.sgbotic.com/index.php?dispa ... page_id=48 , and for information I have previously trried using PlatformIO under VScore: Platformio tells that everything is SUCCESS but nothing happens (Led is not blinking, let me think that the sketch has not been uploaded).
section 1- "Arduino Bootloader" of the Tutorial because i would like to avoir using the ST-Link.
I have selected:
- Bluepill Generic STM32F103C8 as indicated
USB Support, select CDC (generic "Serial" supersede U(S)ART)
Upload method, select HID Bootloader 2.2
The COM port already selected is COM3 on my PC.
But when I try to upload the sketch, i get the following error:
Code: Select all
+-----------------------------------------------------------------------+
| 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 |
+-----------------------------------------------------------------------+
> Trying to open the [COM3]...
> unable to set comport cfg settings
> Unable to open the [COM3]
> Searching for [1209:BEBA] device...
##########
Error - [1209:BEBA] device is not found :(> Searching for [COM3] ...
> unable to set comport cfg settings
> unable to set comport cfg settings
> unable to set comport cfg settings
> unable to set comport cfg settings
> unable to set comport cfg settings
> Finish
le port série sélectionné > Finish
n'existe pas ou votre Arduino n'est pas connectée
Can you help becasue I have trying different methods for 3 days without any success...