StmDfuUsb

StmDfuUsb

Tools 2.6 MB by Yaroslav Trymbach 1.25 5.0 Apr 22,2025
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 should set the pins BOOT0 and BOOT1 in the correct combination according to the model of your CPU.

Programming

  1. Select the firmware file you want 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 according to your needs. You can select from the following options:

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

Additional Operations Available in the Application

  • Erasing
  • Checking flash for blank
  • Compare flash with file

You can select these operations via the appropriate menu point.

Tested Models

The application has been tested on the following 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
CBIS
CBIS Tools丨41.2 MB
POLRI
POLRI Tools丨82.0 MB
BeamNG Mods
BeamNG Mods Tools丨39.1 MB
L-Home
L-Home Tools丨152.1 MB
Mojanah
Mojanah Tools丨33.6 MB
HDM Mobile
HDM Mobile Tools丨31.7 MB