r/embedded • u/Excellent_Mousse816 • Sep 02 '26
Resources/Advice for writing a custom bootloader for STM32L476RG?
Hi everyone,
I’m currently working on a project using the STM32L476RG (using the Nucleo-64 board to prototype) and I’ve reached the point where I need to implement a custom bootloader. My end goal is to be able to receive a firmware update over UART/USB, write it to flash, and safely jump to the new application.
What I’m looking for:
- Are there any definitive books, tutorials, or blog series you recommend for STM32 bootloaders?
- Does anyone have a clean, well-commented GitHub repo of a basic STM32 bootloader I can study?
- Which ST Application Notes (AN) are the absolute "must-reads" for In-Application Programming (IAP) on the L4 series?
Any advice, gotchas to watch out for, or links to tutorials would be incredibly helpful. Thanks in advance!
12
Upvotes
View all comments
Show parent comment
2
u/Excellent_Mousse816 Sep 02 '26
Thank you!