Encrypted DFU Custom Bootloader
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2025-06-10 10:58 AM
Hello,
What is the simplest and best way to implement encrypted firmware update via DFU? I plan on building a custom bootloader but have not found any recent existing projects. I tried STM32-AES-Bootloader but it is setup for STM32F10 and I am using STM32F373 and am not sure about what memory settings/config I need to go with to make it work.
I need it to work with CubeIDE as well ( STM32 project ) so I've started a new bootloader project to build my own instead of re-using an existing solution. ( unless there is something that will work well with STM32F373 )
My uC currently detects an API 'switch to DFU' command, sets a magic value in memory and resets the hardware. I added reload function on bootup and jump to my app if the magic value is not found. This all works well but it's not encrypted.
Any advice on how I should proceed?
- Labels:
-
STM32F3 Series
