Close Menu
  • Articles
    • Learn Electronics
    • Product Review
    • Tech Articles
  • Electronics Circuits
    • 555 Timer Projects
    • Op-Amp Circuits
    • Power Electronics
  • Microcontrollers
    • Arduino Projects
    • STM32 Projects
    • AMB82-Mini IoT AI Camera
    • BLE Projects
  • IoT Projects
    • ESP8266 Projects
    • ESP32 Projects
    • ESP32 MicroPython
    • ESP32-CAM Projects
    • LoRa/LoRaWAN Projects
  • Raspberry Pi
    • Raspberry Pi Projects
    • Raspberry Pi Pico Projects
    • Raspberry Pi Pico W Projects
  • Electronics Calculator
Facebook X (Twitter) Instagram
  • About Us
  • Disclaimer
  • Privacy Policy
  • Contact Us
  • Advertise With Us
Facebook X (Twitter) Instagram Pinterest YouTube LinkedIn
How To Electronics
  • Articles
    • Learn Electronics
    • Product Review
    • Tech Articles
  • Electronics Circuits
    • 555 Timer Projects
    • Op-Amp Circuits
    • Power Electronics
  • Microcontrollers
    • Arduino Projects
    • STM32 Projects
    • AMB82-Mini IoT AI Camera
    • BLE Projects
  • IoT Projects
    • ESP8266 Projects
    • ESP32 Projects
    • ESP32 MicroPython
    • ESP32-CAM Projects
    • LoRa/LoRaWAN Projects
  • Raspberry Pi
    • Raspberry Pi Projects
    • Raspberry Pi Pico Projects
    • Raspberry Pi Pico W Projects
  • Electronics Calculator
How To Electronics
Home » STM32 Bootloader: Programming STM32F103C8 Board using USB Port
STM32 Projects

STM32 Bootloader: Programming STM32F103C8 Board using USB Port

Mamtaz AlamBy Mamtaz AlamUpdated:August 22, 20226 Comments2 Mins Read
Share Facebook Twitter LinkedIn Telegram Reddit WhatsApp
STM32 Bootloader Programming STM32F103C8 Board using USB Port
Share
Facebook Twitter LinkedIn Pinterest Email Reddit Telegram WhatsApp

STM32 Bootloader

This post is all about installing STM32 Bootloader, i.e Programming STM32F103C8 Board using micro USB Port directly via Arduino IDE. STM32 Development Board or STM32F103C8 Microcontroller can be easily programmed using the Arduino IDE, only after installing the bootloader.

The previous tutorial link: Getting Started with STM32 Microcontroller : Blinking of LED



Programming STM32F103C8 Board using USB Port

In our previous tutorial, we learned the basics of the STM32 Development Board. We also programmed the STM32 development board to blink an LED. But there was one huge drawback with it because of the method we used to upload the code. We utilized an FTDI programmer/ USB-TTL Converter module for programming. We also had to toggle the boot 0 jumpers to boot 1 position while uploading and testing code. Also, the mini-USB port on the Development board was left totally unused.


The reason for doing that is, when the STM32 development board is bought it does not come with an Arduino ready boot loader. Hence the board will not be discovered by your computer when connected through the USB. But there exists a boot loader program developed by LeafLabs for Maple mini boards. This boot loader can be flashed into the STM32 once and thereafter we can directly use the USB port of the STM32 board to upload programs just like any other Arduino boards.


Components Required

The following are the components required for STM32 Bootloader Programming via USB. All the components can be purchased from Amazon.

  1. STM32F103C8 Board (Buy Online from Amazon)
  2. USB-TTL Converter (FTDI232) (Buy Online from Amazon)
  3. Connecting Wires
  4. Breadboard
  5. 1.5K Resistor (Exception)

Download Links

  1. STM32 Flash Loader: Download
  2. STM32 USB Mini Driver: Download
  3. STM32duino Bootloader:
    Download




The connection between STM32 and USB-TTL for Uploading Bootloader

STM32 and usb to ttl connection


Full Video Tutorial for Uploading Bootloader:

Watch the full video tutorial below to learn about how to upload bootloader to STM32 using USB-TTL Converter. Once the bootloader is installed, you can simply upload any code to STM32 Board directly using mini USB Cable.

STM32 Bootloader | Programming STM32F103C via USB Port
Watch this video on YouTube.

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email Reddit Telegram WhatsApp
Previous ArticleTouch Detector using Arduino TTP223 Capacitive Touch Sensor
Next Article What is Li-Fi? What are its Pros, Cons & Applications?

Related Posts

PIR Motion Detection using Bluetooth & STM32 Board

PIR Motion Detection using Bluetooth & STM32 Board

Updated:December 23, 20234K
STM32 SHT85 Humidity Temperature Sensor

Collecting SHT85 Sensor Data using STM32 & Bluetooth Low Energy

Updated:August 20, 20222K
SX1276 STM32

Interfacing LoRa SX1276 with STM32 Microcontroller | LR1276-915MHz

Updated:May 29, 2023112K
BLE enabled Smart Bulb with STM32 & Javascript

BLE enabled Smart Bulb with STM32 & Javascript

Updated:August 20, 20222K
Create BLE Project using STM32 Microcontroller & BlueIO

Create BLE Project using STM32 Microcontroller & BlueIO

Updated:August 20, 202212K
DS18B20 STM32

Interfacing DS18B20 Temperature Sensor with STM32

Updated:August 21, 2022110K
View 6 Comments

6 Comments

  1. somebody on October 26, 2019 6:50 PM

    Hello, can you tell me, is there any compability issues with this model, or it fully supports arduino commands and libraries?

    Reply
    • Alex Newton on October 26, 2019 8:55 PM

      Not every library are supported. But most of the C commamd of arduino are compatible.

      Reply
  2. omitdebnath on December 8, 2019 11:13 AM

    Can you give me a tutorial link or file for, “long distance control or, long distance monitor a high power device by using STM32” or, wireless control????? Please help me.

    Reply
  3. minhmeow on September 19, 2022 11:13 AM

    I have done exactly like your video. But when I plug in the USB from the UST to TTL module to my PC, nothing show up on the Port Name.

    Reply
  4. Mikat Kabir Lagon on January 26, 2023 7:48 AM

    mara kha

    Reply
  5. Peter on February 14, 2023 7:27 PM

    When trying to upload a sketch via the USB port I get the following message:

    A fatal error has been detected by the Java Runtime Environment:

    #

    EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x000000007110b5db, pid=3092, tid=0x0000000000002c48

    Does anybody know a fix for this problem? Thanks a lot

    Reply

CommentsCancel reply

Latest Posts
IoT Based PM & Air Quality Monitoring System using ESP32

IoT Based PM & Air Quality Monitoring System using ESP32

May 31, 2026
DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

DIY ESP32 MLX90640 IR Thermal Camera with Live Web Display

May 10, 2026
IoT Activity Tracker with ESP32 & Accelerometer Gyroscope

IoT Activity Tracker with ESP32 & Accelerometer/Gyroscope

May 2, 2026
A Guide to Sourcing Obsolete ICs for Vintage Projects

Beyond AliExpress: A Guide to Sourcing Obsolete ICs for Vintage Projects

April 21, 2026

ESP32 IoT Vehicle Motion Analyzer with MPU6050 & LIS3MDL

April 27, 2026
Building a Smart Sensor Node with a BLE Microcontroller

Building a Smart Sensor Node with a BLE Microcontroller

February 26, 2026
High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

High-Accuracy Pitch, Roll, Yaw with ESP32 & BNO08x IMU

April 27, 2026
DIY Colorimeter using AS7265x Spectroscopy Sensor & ESP32

DIY Colorimeter using AS7265x Spectroscopy Sensor & ESP32

February 1, 2026
Top Posts & Pages
  • IoT Based PM & Air Quality Monitoring System using ESP32
    IoT Based PM & Air Quality Monitoring System using ESP32
  • 12V DC to 220V AC Inverter Circuit & PCB
    12V DC to 220V AC Inverter Circuit & PCB
  • IoT AC Energy Meter with PZEM-004T & ESP32 WebServer
    IoT AC Energy Meter with PZEM-004T & ESP32 WebServer
  • Buck Converter: Basics, Working, Design & Application
    Buck Converter: Basics, Working, Design & Application
  • ECG Graph Monitoring with AD8232 ECG Sensor & Arduino
    ECG Graph Monitoring with AD8232 ECG Sensor & Arduino
  • How to use INA219 DC Current Sensor Module with Arduino
    How to use INA219 DC Current Sensor Module with Arduino
  • Interfacing PN532 NFC RFID Module with Arduino
    Interfacing PN532 NFC RFID Module with Arduino
  • IoT Based ECG Monitoring with AD8232 ECG Sensor & ESP32
    IoT Based ECG Monitoring with AD8232 ECG Sensor & ESP32
Categories
  • Arduino Projects (197)
  • Articles (60)
    • Learn Electronics (19)
    • Product Review (15)
    • Tech Articles (28)
  • Electronics Circuits (46)
    • 555 Timer Projects (21)
    • Op-Amp Circuits (7)
    • Power Electronics (13)
  • IoT Projects (204)
    • ESP32 MicroPython (7)
    • ESP32 Projects (81)
    • ESP32-CAM Projects (15)
    • ESP8266 Projects (76)
    • LoRa/LoRaWAN Projects (22)
  • Microcontrollers (38)
    • AMB82-Mini IoT AI Camera (4)
    • BLE Projects (18)
    • STM32 Projects (19)
  • Raspberry Pi (93)
    • Raspberry Pi Pico Projects (57)
    • Raspberry Pi Pico W Projects (12)
    • Raspberry Pi Projects (24)
Follow Us
  • Facebook
  • Twitter
  • Pinterest
  • Instagram
  • YouTube
About Us

“‘How to Electronics’ is a vibrant community for electronics enthusiasts and professionals. We deliver latest insights in areas such as Embedded Systems, Power Electronics, AI, IoT, and Robotics. Our goal is to stimulate innovation and provide practical solutions for students, organizations, and industries. Join us to transform learning into a joyful journey of discovery and innovation.

Copyright © How To Electronics. All rights reserved.
  • About Us
  • Disclaimer
  • Privacy Policy
  • Contact Us
  • Advertise With Us

Type above and press Enter to search. Press Esc to cancel.

Ad Blocker Enabled!
Ad Blocker Enabled!
Looks like you're using an ad blocker. Please allow ads on our site. We rely on advertising to help fund our site.