(Sponsored) STM32 Programming via USB (DFU) - Phils Lab #72 @PhilsLab
(Sponsored) STM32 Programming via USB (DFU) - Phils Lab #72  @PhilsLab
Uploaded August 2022 | Updated November 2026, 3 hours ago
How to flash firmware via USB to STM32 devices via DFU (device firmware upgrade) and STM32 Cube Programmer. This way you do not need an ST-Link or similar programmer to flash firmware - however, you cannot set breakpoints, debug, and so on.
Note: this is only supported on certain STM32 microcontrollers (check the datasheet!).

(AD: This video includes a paid promotion for JLCPCB and Altium.)

[SUPPORT]
Free trial of Altium Designer: altium.com/yt/philslab (AD)

PCBA from $0 (Free Setup, Free Stencil): jlcpcb.com/RHS (AD)

Patreon: patreon.com/phils94

Mixed-signal hardware design course: https://phils-lab-shop.fedevel.education (WERBUNG)

[GIT]
github.com/pms67

[TIMESTAMPS]
00:00 Introduction

00:24 Altium Designer Free Trial (Ad)
00:43 JLCPCB and Git Repo (Ad)

01:08 STM32 DFU Overview

01:58 Test Firmware
02:38 Generating Binaries

03:19 STM32CubeProgrammer and Flashing (BOOT0=1)
04:37 Run Mode (BOOT0=0)

ID: QIBvbJtYjWuHiTG0uCoK
(Sponsored) STM32 Programming via USB (DFU) - Phils Lab #72USB-C Power Delivery Hardware Design - Phils Lab #104FPGA/SoC Board Bring-Up - DDR3 (Zynq Part 2) - Phils Lab #97(Sponsored) PCB Vias 101 - Phils Lab #77FPGA & SoC Hardware Design - Xilinx Zynq - Schematic Overview - Phils Lab #50(Sponsored) Raspberry Pi RP2040 Hardware Design | Altium Designer | JLCPCB - Phils Lab #28Get The Funk Out SoloFPGA/SoC SD Card + PetaLinux (Zynq Part 6)  - Phils Lab #135Crazy Train Guitar Solo - Ozzy OsbourneLTSpice - Basics and DC Operating Point Analysis - Phils Lab #48TinyUSB + STM32 Tutorial (USB CDC) - Phils Lab #168DIY Flight Simulator (Unity/C#)
Phil’s Lab |

(Sponsored) STM32 Programming via USB (DFU) - Phil's Lab #72

SHARE TO X SHARE TO REDDIT SHARE TO FACEBOOK WALLPAPER