Home Apps Tools StmDfuUsb
StmDfuUsb

StmDfuUsb

Tools 1.25 2.6 MB

by Yaroslav Trymbach Dec 31,2024

This application facilitates STM32 microcontroller firmware updates via USB cable using the USB DFU protocol. Development leveraged STMicroelectronics documentation: AN2606 (STM32 microcontroller system memory boot mode) and AN3156 (USB DFU protocol in STM32 bootloader). Prerequisites: A mobile de

5.0
StmDfuUsb Screenshot 0
StmDfuUsb Screenshot 1
StmDfuUsb Screenshot 2
StmDfuUsb Screenshot 3
Application Description

This application facilitates STM32 microcontroller firmware updates via USB cable using the USB DFU protocol. Development leveraged STMicroelectronics documentation: AN2606 (STM32 microcontroller system memory boot mode) and AN3156 (USB DFU protocol in STM32 bootloader).

Prerequisites:

  • A mobile device with USB-OTG support.

Preparation:

  1. Connect the STM32 board to your mobile device using a USB-OTG cable.
  2. Activate the STM32 bootloader mode (refer to AN2606 for specific pin configurations based on your CPU model). This typically involves setting BOOT0 and BOOT1 pins to the correct combination.

Programming:

  1. Select the firmware file (.hex, .srec, .dfu, or raw binary).
  2. Configure writing options: Selective page erasing, readout protection disabling (if required), and automatic CPU execution post-programming.
  3. Click "Load file to flash" and await completion.

Additional Features:

The application offers additional functionality, including:

  • Flash erasing
  • Blank flash verification
  • Firmware comparison against the loaded file. These options are accessible through the application menu.

Tested Microcontrollers:

This application has been verified with the following STM32 models: STM32F072, STM32F205, STM32F302, STM32F401, STM32F746, STM32G474, STM32L432.

Usage Restrictions:

The application allows up to 25 free firmware uploads. Beyond this limit, you can purchase one of two upgrade options:

  1. An additional 100 uploads.
  2. Unlimited application usage.

Tools

REVIEWS
POST COMMENTS+
There are currently no comments available