Seeking Advice on Developing a Bootloader for stm32l071x series MCU's
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-06-08 8: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:
- Recommended communication interfaces for bootloader implementation on the STM32L071 (UART, USB, SPI, etc.).
- Tips for memory layout and partitioning for both the bootloader and application firmware.
- Security considerations and techniques to prevent unauthorized firmware updates.
- Any example code or resources available for reference.
Any advice, code snippets, or pointers to relevant documentation would be greatly appreciated!
Thank you in advance for your help.
Best regards,
Manu
- Labels:
-
STM32L0 Series
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2024-06-08 9:15 AM - edited ‎2024-06-08 9: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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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.
