gdeac.comHome NavigationNavigation
Home >  Apps >  Tools >  StmDfuUsb
StmDfuUsb

StmDfuUsb

Category:Tools Size:2.6 MB Version:1.25

Developer:Yaroslav Trymbach Rate:5.0 Update:Jun 28,2025

5.0
Download
Application Description

Updating Firmware of STM32 CPU via USB Cable Using USB DFU Protocol

Application for Updating Firmware of STM32 CPU via USB Cable Using USB DFU Protocol

The realization of this application is based on the following documents from STMicroelectronics:

  1. AN2606: STM32 Microcontroller System Memory Boot Mode
  2. AN3156: USB DFU Protocol Used in the STM32 Bootloader

How to Use the Application

Prerequisite

Your mobile device must support USB-OTG.

Preparation

  1. Connect the STM32 board to your mobile device using a USB-OTG cable.
  2. Activate the 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

  1. Select the firmware file you wish to write. The firmware file should be in one of the following formats:

    • Intel Hex
    • Motorola S-Record
    • DfuSe (STMicroelectronics DFU format)
    • Raw Binary
  2. Set the writing options as needed. You can select from the following options:

    • Erase only necessary pages
    • Unset readout protection if required
    • Go to CPU after programming
  3. Press the "Load file to flash" button and wait for the operation to complete.

Additional Operations Available in the Application

  • Erasing
  • Checking flash for blank status
  • Comparing flash content with the file

You can select these operations via the appropriate menu points.

Compatibility

The application has been tested on the following STM32 microcontroller models:

  • STM32F072
  • STM32F205
  • STM32F302
  • STM32F401
  • STM32F746
  • STM32G474
  • STM32L432

Restrictions on Use

You can perform up to 25 firmware uploads completely free of charge. After reaching this limit, you can purchase one of the following services:

  1. An additional 100 uploads
  2. Unlimited use of the application
Screenshot
StmDfuUsb Screenshot 0
StmDfuUsb Screenshot 1
StmDfuUsb Screenshot 2
StmDfuUsb Screenshot 3
Reviews Post Comments
Apps like StmDfuUsb
Latest Articles
  • Eighth Era Introduces Thrilling PvP Arena Mode in Latest Update

    ​ Nice Gang's Eighth Era launches new PvP gameplay feature Players can battle rivals after reaching level 9 Eighth Era offers in-game tournaments with tangible prizes Completing a game’

    Author : Adam View All

  • Discover All NPC Locations in GHOUL://RE

    ​ If you're a fan of GHOUL://RE, the recently released game inspired by the popular anime Tokyo Ghoul, you know the stakes are high. One wrong move, and it’s game over. But fear not—this rogue-like adventure offers numerous NPCs scattered across the map, each with their own role to play in helping you

    Author : Jonathan View All

  • Orcs Must Die! Deathtrap Update Released

    ​ Orcs Must Die! Deathtrap is a thrilling strategy roguelike that combines fast-paced tower defense with chaotic, trap-filled combat. Build elaborate defenses, harness powerful upgrades, and team up with friends in four-player co-op to stop endless waves of orcs from invading your realm. Dive into the

    Author : Victoria View All

Topics
Top Arcade Classics and New Hits
Top Arcade Classics and New HitsTOP

Dive into the world of arcade gaming with our curated collection of classic and new hits! Experience the thrill of retro gameplay with titles like Clone Cars and Brick Breaker - Balls vs Block, or discover innovative new experiences with Fancade, Polysphere, and Riot Squid. Whether you're a fan of puzzle games (Screw Pin Puzzle 3D), action-packed adventures (Rope-Man Run, SwordSlash), or competitive multiplayer (1-2-3-4 Player Ping Pong), this collection has something for everyone. Explore the best in arcade gaming with Tolf and many more exciting apps. Download Clone Cars, Fancade, 1-2-3-4 Player Ping Pong, Brick Breaker - Balls vs Block, Polysphere, Riot Squid, Tolf, Rope-Man Run, SwordSlash, and Screw Pin Puzzle 3D today!