StmDfuUsb - Stm32 flashing
by Yaroslav Trymbach
Updating firmware of Stm32 CPU via usb cable by using usb dfu protocol.
App Name | StmDfuUsb - Stm32 flashing |
---|---|
Developer | Yaroslav Trymbach |
Category | Tools |
Download Size | 1 MB |
Latest Version | 1.26 |
Average Rating | 4.86 |
Rating Count | 45 |
Google Play | Download |
AppBrain | Download StmDfuUsb - Stm32 flashing Android app |
Application for updating firmware of Stm32 CPU via usb cable using USB DFU protocol.
Realization of the application is based on next documents from company STMicroelectronics.
1. AN2606 STM32 microcontroller system memory boot mode
2. AN3156 USB DFU protocol used in the STM32 bootloader
How to use application.
PREREQUISITE
You mobile device must support USB-OTG.
PREPARATION
1. Connect Stm32 board with your mobile device by USB-OTG cable
2. Activate bootloader mode for Stm32. How to do this read in AN2606. In general you should set pins BOOT0 and BOOT1 in correct combination according to model of your CPU.
PROGRAMMING
1. Select file with firmware you want to write.
- Firmware file should be in one of following format
- Intel hex
- Motorola S-Record
- DfuSe (STMicroelectronics DFU format)
- Raw binary
2. Set writing options you need. You can select next options
- Erase only necessary pages
- Unset readout protection if need
- Go CPU after programming
3. Press button "Load file to flash" and wait for finish of operation.
Additionally next operations is available in application
- Erasing
- Checking flash for blank
- Compare flash with file.
You can select this operation via appropriated point in menu.
The application is checked on next models of microcontrollers:
Stm32F072
Stm32F205
Stm32F302
Stm32F401
Stm32F746
Stm32G474
Stm32L432
RESTRICTION OF USING
You can make till 25 firmware uploading fully free.
After you achieved this limit you can purchase one of two services
1. additional 100 uploading
2. unlimited using of application.
Recent changes:
Bug fixing
Realization of the application is based on next documents from company STMicroelectronics.
1. AN2606 STM32 microcontroller system memory boot mode
2. AN3156 USB DFU protocol used in the STM32 bootloader
How to use application.
PREREQUISITE
You mobile device must support USB-OTG.
PREPARATION
1. Connect Stm32 board with your mobile device by USB-OTG cable
2. Activate bootloader mode for Stm32. How to do this read in AN2606. In general you should set pins BOOT0 and BOOT1 in correct combination according to model of your CPU.
PROGRAMMING
1. Select file with firmware you want to write.
- Firmware file should be in one of following format
- Intel hex
- Motorola S-Record
- DfuSe (STMicroelectronics DFU format)
- Raw binary
2. Set writing options you need. You can select next options
- Erase only necessary pages
- Unset readout protection if need
- Go CPU after programming
3. Press button "Load file to flash" and wait for finish of operation.
Additionally next operations is available in application
- Erasing
- Checking flash for blank
- Compare flash with file.
You can select this operation via appropriated point in menu.
The application is checked on next models of microcontrollers:
Stm32F072
Stm32F205
Stm32F302
Stm32F401
Stm32F746
Stm32G474
Stm32L432
RESTRICTION OF USING
You can make till 25 firmware uploading fully free.
After you achieved this limit you can purchase one of two services
1. additional 100 uploading
2. unlimited using of application.
Recent changes:
Bug fixing