This application enables firmware updates for STM32 microcontrollers via USB cable using the USB DFU protocol. Its functionality is based on STMicroelectronics documentation (AN2606 and AN3156).
Prerequisites:
- Your mobile device must support USB OTG.
Preparation:
- Connect the STM32 board to your mobile device using a USB OTG cable.
- Activate the STM32 bootloader mode (consult AN2606 for specific instructions based on your microcontroller model; this typically involves setting BOOT0 and BOOT1 pins).
Programming:
- Select the firmware file (.hex, .srec, .dfu, or raw binary).
- Configure writing options (e.g., selective page erasing, disabling read-out protection, automatic CPU restart).
- Click "Load file to flash" and wait for the process to complete.
Additional Features:
The application also provides options for:
- Flash erasing
- Flash blank check
- Firmware comparison against the flash memory
Supported Microcontrollers:
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:
- An additional 100 uploads
- Unlimited application usage