Back to Browse

STM32 Tutorial #22 - AMAZING Jump to System Bootloader

3.1K views
Oct 18, 2024
20:38

In this video we demonstrate that it is possible to jump to the built-in system bootloader without using the boot0 pin. It is a bit naughty as it uses the stack space to store a flag during restart (stack space is NOT initialized during a reset). UPDATE: A less naughty approach to doing this exact same thing is documented here: https://www.youtube.com/watch?v=SwcLJoSntVQ Please like and subcribe if you enjoy this kind of video. I also love comments - good and bad. 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 00:00 Intro and recap 01:00 Explaining the system bootloader 01:51 The AN2606 Application Note 04:52 The inspiration blog post 05:57 Starting the source 07:16 Running the basic code 07:51 Creating an unconditional jump (pretty useless) 11:00 Storing data between MCU restarts - naughty naughty! 16:44 Figuring out my mistake 19:00 WORKING!

Download

0 formats

No download links available.

STM32 Tutorial #22 - AMAZING Jump to System Bootloader | NatokHD