Home Apps Tools StmDfuUsb
StmDfuUsb

StmDfuUsb Rate : 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 provided by 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 should 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 needed
    • Go 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
  • Comparing flash with file

You can select these operations via the appropriate menu item.

Tested Models of Microcontrollers

The application has been 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 completely free of charge. Once you reach 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
Latest Articles More
  • Pokémon Go Boss Says Scopely Deal Safe

    Following Scopely's acquisition of Pokémon Go developer Niantic, fans have expressed valid concernsCommon worries include potential data privacy issues and intrusive advertising implementationsA recent interview with product director Michael Steranka

    Dec 20,2025
  • Pup Champs: Adorable Puppies Reach the Summit

    Pup Champs is a football-themed puzzle game now available on mobile.Strategically guide your team through grid-based tactical challenges.Set up the perfect shot by dodging opponents and creating scoring opportunities.It’s universally agreed that pupp

    Dec 20,2025
  • Amazon's Lord of the Rings MMO Canceled

    Amazon's The Lord of the Rings MMO seems to have been canceled due to deep cuts within the company's gaming division.This week, Amazon confirmed it has stopped creating new content for its MMO, New World, as part of sweeping layoffs impacting 14,000

    Dec 19,2025
  • Where Winds Meet's Second Closed Beta Opens Sign-Ups

    Registration for the second closed beta test is open until May 15th.The closed beta begins on May 16th and supports multiple languages.The full game is scheduled for release later this year.Last year, we shared a glimpse of this open-world action RPG

    Dec 19,2025
  • Haiku Games Launches Puzzletown Mysteries on Android

    Haiku Games boasts an extensive collection of story-driven puzzle games filled with mysteries. Their newest Android release, Puzzletown Mysteries, continues this tradition. To date, the Adventure Escape series from Haiku Games includes 13 titles, whi

    Dec 19,2025
  • GameSir Super Nova Controller Discounted

    The new GameSir Super Nova wireless controller is now available on Amazon for $47.49 with free shipping, thanks to a limited-time 5% introductory discount. This competitive pricing makes it an excellent value, offering a rich set of features such as

    Dec 18,2025