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.
Figure 1 - Loading FUS operator to flash