
App Name | StmDfuUsb |
Developer | Yaroslav Trymbach |
Category | Tools |
Size | 2.6 MB |
Latest Version | 1.25 |
Available on |


Updating Firmware of STM32 CPU via USB Cable Using USB DFU Protocol
Application Overview
The application facilitates the updating of firmware on STM32 CPUs using a USB cable and the USB DFU protocol. It is developed based on the following documents from STMicroelectronics:
- AN2606: STM32 Microcontroller System Memory Boot Mode
- AN3156: USB DFU Protocol Used in the STM32 Bootloader
How to Use the Application
Prerequisite
- Your mobile device must support USB-OTG.
Preparation
- Connect the STM32 board to your mobile device using a USB-OTG cable.
- Activate bootloader mode for the STM32. Refer to AN2606 for detailed instructions. Generally, you need to set the BOOT0 and BOOT1 pins in the correct combination according to your CPU model.
Programming
Select the firmware file you wish to upload. The firmware file should be in one of the following formats:
- Intel hex
- Motorola S-Record
- DfuSe (STMicroelectronics DFU format)
- Raw binary
Set the necessary writing options. You can choose from the following:
- Erase only necessary pages
- Unset readout protection if needed
- Start the CPU after programming
Press the "Load file to flash" button and wait for the operation to complete.
Additional Operations
The application also supports the following operations, accessible via the appropriate menu points:
- Erasing
- Checking flash for blank
- Comparing flash with file
Tested Models
The application has been successfully tested on the following STM32 microcontroller models:
- STM32F072
- STM32F205
- STM32F302
- STM32F401
- STM32F746
- STM32G474
- STM32L432
Restrictions on Usage
You can perform up to 25 firmware uploads for free. After reaching this limit, you have the option to purchase one of the following services:
- An additional 100 uploads
- Unlimited use of the application
-
Stalker 2: List Of All The Artifacts & How To Get Them
-
Trainer's Pokémon Set to Resurface in Pokémon TCG in 2025
-
Clash of Clans Unveils Town Hall 17: Game-Changing Update Released
-
Breaking: Ubisoft Unveils Covert NFT Gaming Venture
-
REDMAGIC's Charger and Cooler Boosted for Mobile Dominance
-
Shadow of the Depth: Open Beta Now Available on Android