Flashing STM32 with ST-LINK, JLINK and UART Bootloader, cross platform | VIDEO 44
Channel: Matej Blagšič
Date: 2021-06-29

In this video I show you 4 ways to flash firmware onto STM32 using 3 different interfaces. Demonstration is on Fedora 34 but all tools are available on all platforms.

Code and configuration in the video:
https://github.com/prtzl/Embedded_videos/tree/master/044_BUILDING-PT3

Timestamps:
0:00 Introduction
1:56 Project introduction
3:13 ST-LINK: STM32CubeProgrammer (gui)
5:39 ST-LINK: ST-Flash (terminal)
11:16 JLINK (terminal)
14:50 JLINK automated download using Make
20:18 JLINK launch in vscode
21:06 ST-LINK: ST-Flash using Make launched with vscode
22:38 UART using STM32 built in bootloader
33:59 UART configuration using Make
36:19 UART launch with vscode

Links:
STM32CubeProgrammer: https://www.st.com/en/development-tools/stm32cubeprog.html
ST-FLASH: https://github.com/stlink-org/stlink
ST-LINK convert to JLINk: https://www.segger.com/products/debug-probes/j-link/models/other-j-links/st-link-on-board/
JLINK software: https://www.segger.com/downloads/jlink/
UART flasher: https://sourceforge.net/p/stm32flash/wiki/Home/