- Notifications
You must be signed in to change notification settings - Fork1k
Commit367641a
committed
feat(wb0): add new STM32CubeProgrammer options
STM32WB0x series have a flash base address of 0x10040000,while other series have 0x8000000.This means that the STM32CubeProgrammer requiresa 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 somebookkeeping (notably, updating RAM_VR.ResetReason).As a result, RAM_VR.ResetReason and RCC->CSR willhold invalid values until PORRESET, or two regularRESET cycles occur (only 1 for RCC->CSR).So, force board to begin execution in bootloader(0x10000000) after flashing via STM32CubeProgrammerto ensure proper system behavior at all times.Signed-off-by: Frederic Pillon <frederic.pillon@st.com>1 parent094710a commit367641a
2 files changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
920 | 920 | | |
921 | 921 | | |
922 | 922 | | |
| 923 | + | |
| 924 | + | |
| 925 | + | |
923 | 926 | | |
924 | 927 | | |
925 | 928 | | |
| |||
1002 | 1005 | | |
1003 | 1006 | | |
1004 | 1007 | | |
1005 | | - | |
| 1008 | + | |
1006 | 1009 | | |
1007 | 1010 | | |
1008 | 1011 | | |
| |||
13124 | 13127 | | |
13125 | 13128 | | |
13126 | 13129 | | |
| 13130 | + | |
| 13131 | + | |
| 13132 | + | |
13127 | 13133 | | |
13128 | 13134 | | |
13129 | 13135 | | |
| |||
13164 | 13170 | | |
13165 | 13171 | | |
13166 | 13172 | | |
13167 | | - | |
| 13173 | + | |
13168 | 13174 | | |
13169 | 13175 | | |
13170 | 13176 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
120 | 123 | | |
121 | 124 | | |
122 | 125 | | |
| |||
0 commit comments
Comments
(0)