Skip to content

Commit 6f9bc14

Browse files
committed
STM32WB : update Readme
1 parent f904d10 commit 6f9bc14

File tree

2 files changed

+61
-20
lines changed

2 files changed

+61
-20
lines changed

targets/TARGET_STM/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ This table summarizes the STM32Cube versions currently used in Mbed OS master br
7474
| L1 | 1.10.2 | https://github.com/STMicroelectronics/STM32CubeL1 |
7575
| L4 | 1.16.0 | https://github.com/STMicroelectronics/STM32CubeL4 |
7676
| L5 | 1.3.0 | https://github.com/STMicroelectronics/STM32CubeL5 |
77-
| WB | 1.8.0 | https://github.com/STMicroelectronics/STM32CubeWB |
77+
| WB | 1.11.1 | https://github.com/STMicroelectronics/STM32CubeWB |
7878
| WL | 1.0.0 | https://github.com/STMicroelectronics/STM32CubeWL |
7979

8080
In Mbed OS repository, we try to minimize the difference between "official" and copied files.

targets/TARGET_STM/TARGET_STM32WB/README.md

Lines changed: 60 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
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+
112
# STM32WB family
213

314
[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
920

1021
# Supported boards
1122

12-
## NUCLEO_WB55RG
23+
## NUCLEO_WB55RG (NUCLEO-WB55RG)
1324

1425
[st.com STM32WB55RG MCU page](https://www.st.com/en/microcontrollers-microprocessors/stm32wb55rg.html)
1526

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)
1728

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/)
1932

2033
- Total FLASH is 1MB, but note that it is shared by M4 and M0 cores.
2134
- 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.
3043
SRAM2 is dedicated for M0 core and inter CPU communication, and then can not be addressed.
3144

3245

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+
3372
# BLE
3473

3574
## MBED-OS support
@@ -41,8 +80,8 @@ Note that the BLE controller firmware running on the cortex-M0 is the same as in
4180
- within mbed, the controller will run only the below-HCI part
4281
- within STcubeFW (and STM32WPAN middleware), it can run also up to GATT / GAP layers ...
4382

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)
4685

4786

4887

@@ -52,19 +91,19 @@ trace group: BLE_WB
5291

5392
example:
5493
````
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]
62101
````
63102

64103
## BLE FW update
65104

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)
68107

69108
Latest BLE FW :
70109
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
105144
fwdelete command execution finished
106145
```
107146

108-
- STEP 4 : Read and upgrade FUS Version
147+
- STEP 4 : Read FUS Version
109148

110149
```
111150
$ STM32_Programmer_CLI.exe -c port=usb1 -r32 0x20030030 1
@@ -121,17 +160,19 @@ Reading 32-bit memory content
121160
- STEP 5A if last result is 00050300 : Download new FUS :
122161

123162
```
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
125164
```
126165

127166
- STEP 5B if last result is 01000100 or 01000200 : Download new FUS :
128167

129168
```
130169
$ STM32_Programmer_CLI.exe -c port=usb1 -fwupgrade stm32wb5x_FUS_fw.bin 0x080EC000 firstinstall=0
170+
...
171+
Firmware Upgrade Success
131172
```
132173

133174

134-
- STEP 4 (to check) : Read and upgrade FUS Version
175+
- STEP 4 (to check) : Read FUS Version
135176

136177
```
137178
$ STM32_Programmer_CLI.exe -c port=usb1 -r32 0x20030030 1
@@ -140,14 +181,14 @@ Reading 32-bit memory content
140181
Size : 4 Bytes
141182
Address: : 0x20030030
142183
143-
0x20030030 : 01010000
184+
0x20030030 : 01020000
144185
```
145186

146187
- STEP 6 : Download new wireless stack :
147188

148189

149190
```
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
151192
152193
...
153194
Download firmware image at address 0x80cb000 ...

0 commit comments

Comments
 (0)