You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
STM32WB0x series have a flash base address of 0x10040000,
while other series have 0x8000000.
This means that the STM32CubeProgrammer requires
a different set of options to flash the board.
Moreover, by default the start address is 0x10040000,
which makes it begin execution directly in user flash.
This skips the bootloader code which performs some
bookkeeping (notably, updating RAM_VR.ResetReason).
As a result, RAM_VR.ResetReason and RCC->CSR will
hold invalid values until PORRESET, or two regular
RESET cycles occur (only 1 for RCC->CSR).
So, force board to begin execution in bootloader
(0x10000000) after flashing via STM32CubeProgrammer
to ensure proper system behavior at all times.
Signed-off-by: Frederic Pillon <frederic.pillon@st.com>
0 commit comments