STM32 Tutorial #43 – USB DFU Implementation
4.9K views on YouTube
In tutorial #40 we created a custom bootloader and a relocated application. We did however never implement the actual USB DFU (Device Firmware Update) functionality. In this video we will implement that and show how to flash our device using nothing but a web browser.
Original video is here: https://youtu.be/wirNEpE6Dd4
STM32World Wiki: https://stm32world.com/wiki
Project Files: https://github.com/STM32World/stm32fun
#stm32 #stm32cubeide #stm32cubemx #bootloader #usb #dfu #arduino #stm32world
00:00 Intro and recap
00:58 STM32F411 (Black Pill) flash layout
03:10 Modifying DFU media descriptor settings in STM32CubeMX
06:45 The source code
08:05 Sector table
09:00 The DFU functions
12:25 Flashing the new bootloader
14:20 Testing the DFU functionality
16:23 Please help figuring out how to avoid the error