ESP32 as Secure Bootloader for STM32

aygh4266
Posts: 36
Joined: Mon Mar 04, 2024 10:33 am

ESP32 as Secure Bootloader for STM32

Postby aygh4266 » Wed Feb 26, 2025 8:20 am

Hello Everyone,

I would like to get some Ideas, how can I use the ESP32 as Secure bootloader for STM32.

Background:ESP32 and STM32 communicate over UART. The ESP32 gets a Firmware Image via Bluetooth and store it in SPIFFS.
Before forwarding the image to the STM32, the signatured image should be verficated (signature verification) (on the esp32 side)

Once it has been verificated, it will be forwarded over UART.

Signing the image will be on PC so the image will be sent signed over Bluetooth.

Any Ideas will be appreciated ?

P.S. The STM32 own Secure Bootloader won't be used for some reasons.

MicroController
Posts: 2661
Joined: Mon Oct 17, 2022 7:38 pm
Location: Europe, Germany

Re: ESP32 as Secure Bootloader for STM32

Postby MicroController » Wed Feb 26, 2025 9:22 am

Once it has been verified, it will be forwarded over UART.
Anyone with physical access to the circuit can intercept/modify/replace the firmware on its way from the ESP32 to the STM32...

Who is online

Users browsing this forum: ChatGPT-User, Google [Bot] and 4 guests