2024-06-08 08:58 AM
Hi everyone,
I'm currently working on developing a bootloader for the STM32L071 microcontroller and could use some guidance. I've outlined the basic structure of the bootloader code, but I'm looking for insights and best practices from those who have experience in this area.
Specifically, I'm interested in:
Any advice, code snippets, or pointers to relevant documentation would be greatly appreciated!
Thank you in advance for your help.
Best regards,
Manu
2024-06-08 09:15 AM - edited 2024-06-08 09:18 AM
First Q is why not system bootloader and STMCubeprogrammer? an2606-stm32-microcontroller-system-memory-boot-mode-stmicroelectronics.pdf
Next idea is SBSFU. X-CUBE-SBSFU - Secure boot & secure firmware update software expansion for STM32Cube - STMicroelectronics
2024-06-08 12:30 PM
By "bootloader" you do actually mean a solution for firmware update or recovery?
For question #1 - this entirely depends on your product requirements. Will you allow connection by end user or technician? Which interfaces do you want to expose? Are there any requirements for anti-hackery and security?
When you have answers to these questions, here you can find advise and help.