How To Flash a target using a .dfu file
This is a guide on how to manually flash the firmware provided as DFU file using ST DFUSE tools.
Introduction
To manually flash firmware using ST DFUSE tools, get a copy of ST DFUSE tools.
Install the DFUSE tools.
Put your device in bootloader mode. This can be accomplished by pressing a certain combination of buttons. It depends on the particular hardware that you are using.
Step one
- Start the STDFU Tester application.
- Select the "Protocol" tab.
- Click the "Create from Map" button.
- Select the "Erase" radio button option.
- Click the "Go" button.
- Wait for the erase process to complete.
Step two
- Start the DFUSE Demo Application
- Locate the .dfu file located in the device firmware update .zip file.
Note: If the .dfu file does not exist in the .zip file. It can be created following the instructions here.
- Within the "Upgrade or Verify" box, click the "Choose" button and then the "Update" button.
- Wait for the process to complete.
- Toggle the devices power.