Back to Browse

STM32 Tutorial #39 - Cleaner Jump to System Bootloader

2.3K views
Jan 3, 2025
9:26

In this video we revisit how to jump to the built-in system bootloader without using the boot0 pin. The earlier video was a bit naughty as it uses the stack space to store a flag during restart (stack space is NOT initialised during a reset). In this video we do it more elegantly. This video is leading up to a future video implementing a custom bootloader from scratch as well as a relocated application. The method in this video is BUGGY - please watch https://www.youtube.com/watch?v=Wm7eWu5dCrY for an explanation! The earlier video is here: https://www.youtube.com/watch?v=qXi6o8hhwUE This approach is documented on the STM32World wiki here: https://stm32world.com/wiki/STM32_Jump_to_System_Memory_Bootloader Project Files: https://github.com/STM32World/stm32fun #stm32 #tutorial #bootloader #stm32world 00:00 Intro and recap 01:40 Analysing the code 03:14 The Linker script 04:38 Tweaking the linker script - moving the stack 06:22 Using our new bootloader flag 07:44 Testing our new approach

Download

0 formats

No download links available.

STM32 Tutorial #39 - Cleaner Jump to System Bootloader | NatokHD