Learn how to write a bootloader from scratch for a Cortex-M microcontroller. Topics include why bootloaders are needed, setting up memory maps, implementing the bootloader code, and making an application bootloadable. Advanced techniques like message passing to catch reboot loops, relocating the application from flash to RAM, and using the MPU to lock the bootloader are also discussed.

15m read timeFrom interrupt.memfault.com
Post cover image
Table of contents
Table of ContentsWhy you may need a bootloaderA minimal bootloaderBeyond the MVPClosing
1 Comment

Sort: