cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB stack update overwrite M4 application

Jiri VLCEK
ST Employee

Why does STM32CubeProgrammer erase/overwrite data (Cortex-M4 application) at flash address (0x08000000) during STM32WB Stack update over SWD?

1. FUS can be managed only from internal bootloader or internal memory

If SWD is used (means no-bootloader), there must be special software (called FUS operator) loaded to Flash memory. FUS operator can manage FUS commands then. Loading of FUS operator to flash memory overwrites Cortex-M4 application available at address 0x08000000.
More information about FUS can be found in Application note AN5185.
 
119.png

Figure 1 - Loading FUS operator to flash
 
Version history
Last update:
‎2022-09-20 04:58 AM
Updated by: