Home Apps Tools StmDfuUsb
StmDfuUsb

StmDfuUsb

5.0
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 bootloader mode for the STM32. For detailed instructions, refer to AN2606. Generally, you need to set pins BOOT0 and BOOT1 in the correct combination according to your CPU model.

Programming

  1. Select the Firmware File:

    • The firmware file should be in one of the following formats:
      • Intel Hex
      • Motorola S-Record
      • DfuSe (STMicroelectronics DFU format)
      • Raw Binary
  2. Set Writing Options:

    • You can select the following options:
      • Erase only necessary pages
      • Unset readout protection if needed
      • Go CPU after programming
  3. Initiate Programming:

    • Press the "Load file to flash" button and wait for the operation to complete.

Additional Operations

The application also supports the following functions, accessible via the menu:

  • 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 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
  • Diablo 4, Path of Exile 2 Devs Silent on Elon Musk Ban for Account Boosting

    ​Both Blizzard Entertainment and Grinding Gear Games have remained silent on whether they will ban Elon Musk's accounts following his admission of engaging in account boosting in the action RPGs Diablo 4 and Path of Exile 2. Account boosting, where a player pays to have another player raise their ran

    by Lillian Apr 28,2025

  • Palworld Reaches 32M Players Amid Nintendo Pokémon Lawsuit Threat

    ​Since its early access launch in January 2024, *Palworld* has attracted over 32 million players across all platforms, including PC via Steam, Xbox, and PlayStation 5. Dubbed "Pokémon with guns" before its record-breaking release, the crafting and survival game has captured the attention of gamers wo

    by Nicholas Apr 28,2025

Latest Apps
B-LEvel

Auto & Vehicles  /  2.3  /  3.1 MB

Download
QR & Barcode Scanner

Tools  /  2.2.60  /  12.8 MB

Download
Yellow Taxi Trnava

Travel & Local  /  10.13.6  /  6.7 MB

Download
Dash Living

Travel & Local  /  2.5.20  /  67.3 MB

Download