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
Latest Articles
  • James Gunn, John Cena Stunned by HBO Max Rebrand

    ​ DC Studios Team Caught Off Guard by Streaming Name Reversal The DC Studios team experienced genuine surprise while filming promotional material for Peacemaker Season 2 when learning about Warner Bros. Discovery's decision to revert their streaming pl

    Author : Sebastian View All

  • Silver Palace Launch Date & Time

    ​ Discover the industrial metropolis of Silvernia in Silver Palace. This guide covers the anticipated release date, supported platforms, and development updates for the upcoming game.← Back to Silver Palace main pageSilver Palace Release Date and TimeC

    Author : Zachary View All

  • XD Inc Unveils Animal Crossing New Horizons-Like Sim Heartopia

    ​ XD Inc’s next big project is Heartopia, a cozy small-town life sim inspired by Animal Crossing: New Horizons. It’s set to launch globally in 2026 on both PC and mobile. They’ve shared a trailer revealing the game’s charming aesthetic. XD is bringing

    Author : Peyton 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!