1
+ * [ STM32WB family] ( #stm32wb-family )
2
+ * [ Supported boards] ( #supported-boards )
3
+ * [ NUCLEO_WB55RG] ( #nucleo_wb55rg )
4
+ * [ DISCO_WB5MMG (STM32WB5MM-DK)] ( #disco_wb5mmg-stm32wb5mm-dk )
5
+ * [ BLE] ( #ble )
6
+ * [ MBED-OS support] ( #mbed-os-support )
7
+ * [ mbed-trace support] ( #mbed-trace-support )
8
+ * [ BLE FW update] ( #ble-fw-update )
9
+ * [ BLE FW flashing procedure] ( #ble-fw-flashing-procedure )
10
+
11
+
1
12
# STM32WB family
2
13
3
14
[ st.com STM32WB family page] ( https://www.st.com/en/microcontrollers-microprocessors/stm32wb-series.html )
@@ -9,13 +20,15 @@ This ST MCU family is dual-core : based on an Arm Cortex-M4 core and an Arm Cort
9
20
10
21
# Supported boards
11
22
12
- ## NUCLEO_WB55RG
23
+ ## NUCLEO_WB55RG (NUCLEO-WB55RG)
13
24
14
25
[ st.com STM32WB55RG MCU page] ( https://www.st.com/en/microcontrollers-microprocessors/stm32wb55rg.html )
15
26
16
- [ st.com NUCLEO page] ( https://www.st.com/en/evaluation-tools/p- nucleo-wb55 .html )
27
+ [ st.com NUCLEO board page] ( https://www.st.com/en/evaluation-tools/nucleo-wb55rg .html )
17
28
18
- [ mbed.com NUCLEO page] ( https://os.mbed.com/platforms/ST-Nucleo-WB55RG/ )
29
+ [ st.com Pack board page] ( https://www.st.com/en/evaluation-tools/p-nucleo-wb55.html )
30
+
31
+ [ mbed.com platform page] ( https://os.mbed.com/platforms/ST-Nucleo-WB55RG/ )
19
32
20
33
- Total FLASH is 1MB, but note that it is shared by M4 and M0 cores.
21
34
- mbed-os application size is then limited to 768 KB
@@ -30,6 +43,32 @@ SRAM1 is dedicated for M4 core, and then for mbed-os applications.
30
43
SRAM2 is dedicated for M0 core and inter CPU communication, and then can not be addressed.
31
44
32
45
46
+ ## DISCO_WB5MMG (STM32WB5MM-DK)
47
+
48
+ [ st.com STM32WB5MMG module page] ( https://www.st.com/en/microcontrollers-microprocessors/stm32wb5mmg.html )
49
+
50
+ [ st.com DISCO board page] ( https://www.st.com/en/evaluation-tools/stm32wb5mm-dk.html )
51
+
52
+ [ mbed.com platform page] ( https://os.mbed.com/platforms/DISCO-WB5MMG/ )
53
+
54
+ - Total FLASH is 1MB, but note that it is shared by M4 and M0 cores.
55
+ - mbed-os application size is then limited to 768 KB
56
+
57
+ - RAM: 256 KB
58
+ - SRAM1: 192 KB
59
+ - SRAM2a: 32 KB
60
+ - SRAM2b: 32 KB
61
+
62
+ SRAM1 is dedicated for M4 core, and then for mbed-os applications.
63
+
64
+ SRAM2 is dedicated for M0 core and inter CPU communication, and then can not be addressed.
65
+
66
+ NB: MBED CLI1 tool can be used thanks to this command:
67
+ ```
68
+ mbedls -m 0884:DISCO_WB5MMG
69
+ ```
70
+
71
+
33
72
# BLE
34
73
35
74
## MBED-OS support
@@ -41,8 +80,8 @@ Note that the BLE controller firmware running on the cortex-M0 is the same as in
41
80
- within mbed, the controller will run only the below-HCI part
42
81
- within STcubeFW (and STM32WPAN middleware), it can run also up to GATT / GAP layers ...
43
82
44
- Official ST Application Note AN5289: Building wireless applications with STM32WB Series microcontrollers :
45
- https://www.st.com/resource/en/application_note/dm00598033-building-wireless-applications-with-stm32wb-series-microcontrollers-stmicroelectronics.pdf
83
+ Official ST Application Note :
84
+ [ AN5289: Building wireless applications with STM32WB Series microcontrollers ] ( https://www.st.com/resource/en/application_note/dm00598033-building-wireless-applications-with-stm32wb-series-microcontrollers-stmicroelectronics.pdf )
46
85
47
86
48
87
@@ -52,19 +91,19 @@ trace group: BLE_WB
52
91
53
92
example:
54
93
````
55
- [INFO][BLE_WB ]: WIRELESS COPROCESSOR FW VERSION ID = 1.8.0
56
- [INFO][BLE_WB ]: WIRELESS COPROCESSOR FW STACK TYPE = 1
57
- [DBG ][BLE_WB ]: mbox_write type:1, len:3
58
- [INFO][BLE_WB ]: TX>> BLE CMD
59
- [DBG ][BLE_WB ]: Type 0x1
60
- [DBG ][BLE_WB ]: Cmd 0xc03
61
- [DBG ][BLE_WB ]: Len 0D]
94
+ [INFO][BLWB ]: WIRELESS COPROCESSOR FW VERSION ID = 1.11.1
95
+ [INFO][BLWB ]: WIRELESS COPROCESSOR FW STACK TYPE = 1
96
+ [DBG ][BLWB ]: mbox_write type:1, len:3
97
+ [INFO][BLWB ]: TX>> BLE CMD
98
+ [DBG ][BLWB ]: Type 0x1
99
+ [DBG ][BLWB ]: Cmd 0xc03
100
+ [DBG ][BLWB ]: Len 0D]
62
101
````
63
102
64
103
## BLE FW update
65
104
66
- Official ST Application Note AN5185: ST firmware upgrade services for STM32WB Series :
67
- http://www.st.com/st-web-ui/static/active/en/resource/technical/document/application_note/DM00513965.pdf
105
+ Official ST Application Note :
106
+ [ AN5185: ST firmware upgrade services for STM32WB Series ] ( http://www.st.com/st-web-ui/static/active/en/resource/technical/document/application_note/DM00513965.pdf )
68
107
69
108
Latest BLE FW :
70
109
https://github.com/STMicroelectronics/STM32CubeWB/blob/master/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x/stm32wb5x_BLE_Stack_full_fw.bin
@@ -105,7 +144,7 @@ Firmware delete finished
105
144
fwdelete command execution finished
106
145
```
107
146
108
- - STEP 4 : Read and upgrade FUS Version
147
+ - STEP 4 : Read FUS Version
109
148
110
149
```
111
150
$ STM32_Programmer_CLI.exe -c port=usb1 -r32 0x20030030 1
@@ -121,17 +160,19 @@ Reading 32-bit memory content
121
160
- STEP 5A if last result is 00050300 : Download new FUS :
122
161
123
162
```
124
- $ ./STM32_Programmer_CLI.exe -c port=usb1 -fwupgrade stm32wb5x_FUS_fw_1_0_2 .bin 0x080EC000 firstinstall=0
163
+ $ ./STM32_Programmer_CLI.exe -c port=usb1 -fwupgrade stm32wb5x_FUS_fw_for_fus_0_5_3 .bin 0x080EC000 firstinstall=0
125
164
```
126
165
127
166
- STEP 5B if last result is 01000100 or 01000200 : Download new FUS :
128
167
129
168
```
130
169
$ STM32_Programmer_CLI.exe -c port=usb1 -fwupgrade stm32wb5x_FUS_fw.bin 0x080EC000 firstinstall=0
170
+ ...
171
+ Firmware Upgrade Success
131
172
```
132
173
133
174
134
- - STEP 4 (to check) : Read and upgrade FUS Version
175
+ - STEP 4 (to check) : Read FUS Version
135
176
136
177
```
137
178
$ STM32_Programmer_CLI.exe -c port=usb1 -r32 0x20030030 1
@@ -140,14 +181,14 @@ Reading 32-bit memory content
140
181
Size : 4 Bytes
141
182
Address: : 0x20030030
142
183
143
- 0x20030030 : 01010000
184
+ 0x20030030 : 01020000
144
185
```
145
186
146
187
- STEP 6 : Download new wireless stack :
147
188
148
189
149
190
```
150
- $ STM32_Programmer_CLI.exe -c port=usb1 -fwupgrade stm32wb5x_BLE_Stack_full_fw.bin 0x080CB000 firstinstall=1
191
+ $ STM32_Programmer_CLI.exe -c port=usb1 -fwupgrade stm32wb5x_BLE_Stack_full_fw.bin 0x080CA000 firstinstall=1
151
192
152
193
...
153
194
Download firmware image at address 0x80cb000 ...
0 commit comments