English - Français
This tools is for internal usage, we use it to load daplink on target (STM32L475, STM32WB55, ...), to replace ST-LINK.
With OpenOCD, the program steps are :
- Unlock the RDP of the STM32F103xB
- Mass erase flash
- Flash bootloader
- Send firmware
- (optionnal) Send test program
Appearance may vary depending on your OS configuration.
To avoid installing OpenOCD on your computer, we recommend using the pre-built version maintained by XPack. The tested and compatible version is v0.12.0-4.
Once you've downloaded and decompressed the archive corresponding to your OS, move the files/folders as follows (the term root folder refers to the folder where the easy-flash-daplink-[version]-[os] executable is located):
- All files in the
binfolder must be moved to the root folder. - The
scriptsfolder in theopenocdfolder must be moved to the root folder
💡 The archives available in releases already contains all the files placed where they need to be.
-
Bootloader
-
Firmware
- STM32L475VG: https://github.com/letssteam/DAPLink/releases/latest/download/stm32f103xb_stm32l475vg_if.bin
- STM32WB55RG: https://github.com/letssteam/DAPLink/releases/latest/download/stm32f103xb_stm32wb55rg_if.bin
- STeaMi: https://github.com/letssteam/DAPLink/releases/latest/download/stm32f103xb_steami32_if.bin
💡 Older releases are available here: https://github.com/letssteam/DAPLink/releases
To enable the program to flash the bootloader, firmware and then the test program, the board must be wired to a probe (ST-Link, Black magic probe, etc.), and connected to the computer (using a micro-USB cable).
The program offer a simple GUI interface to select the bootload and the firmware that will be flashed on the STM32F1x.
- Select files you downloaded from requirements
- The bootloader binary file to flash (e.g:
stm32f103xb_bl.bin) - The firmware binary file to flash (e.g:
stm32f103xb_stm32l475vg_if.bin) - (optionnal) The program binary file to flash (you can find test program in
test binfolder)
- The bootloader binary file to flash (e.g:
- Set the target mount point name (e.g:
DIS_L4IOT,DAPLINK,STEAMI...) - Define the timeout mount point waiting (e.g:
10), in seconds - Push the "Start" button.
💡 Pro tips: All inputs are saved for the next time you will open the tool !
- Install rust
- Clone or download this repository
git clone https://github.com/steamicc/DapLink-EasyFlash.git - Enter in project folder
cd DapLink-EasyFlash - Run
cargo runfrom the project root.
In the test bin folder, you can find some simple programs for targets.
It blinks the LEDs, LD1 and LD2, in two different patterns.

Toggles between high and low states of pins PC10 and PC12. (The video is the result on the STeaMi board).




