Skip to main content
Associate
September 7, 2023
Question

Upgrade STM32WB5 MCU (Stack + User app) via UART

  • September 7, 2023
  • 1 reply
  • 1111 views

We have the following use case: 
- H5 MCU runs FreeRtos and communicates with the STM32WB5 chip via UART;
- We want to be able to download the SW into the CM4 and CM0 memory regions.
What is the simplest way to update the stack and user app via UART?

Thank you!

This topic has been closed for replies.

1 reply

Foued_KH
ST Employee
October 23, 2023

Hello @Artomatica , 

You can use a bootloader to update the stack and user app.

The bootloader can be programmed into the device's memory during the initial programming phase and is responsible for updating the firmware.
When a firmware update is required, the firmware update tool sends the new firmware over UART to the bootloader, which writes it to the appropriate memory regions.

Foued

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.