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
Default BLE FW in ST boards is stm32wb5x_BLE_Stack_full_fw.bin
and gives 808K available FLASH to application
stm32wb5x_BLE_HCILayer_fw.bin
gives 896K available FLASH to application
- 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
+
- Total FLASH is 1MB
57
+
58
+
But FLASH is shared by M4 and M0 cores, [see BLE FW](#ble-fw)
56
59
57
60
- RAM: 256 KB
58
61
- SRAM1: 192 KB
@@ -83,120 +86,67 @@ Note that the BLE controller firmware running on the cortex-M0 is the same as in
83
86
Official ST Application Note :
84
87
[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)
85
88
89
+
## BLE FW
86
90
91
+
All available BLE FW for M0 core are provided in ths ST STM32CubeWB repo:
Default BLE FW in ST boards is **stm32wb5x_BLE_Stack_full_fw.bin**
96
+
- As explained in Release_Notes.html, this FW is flashed at @ 0x080CA000
97
+
- Default "mbed_rom_size" in targets.json is then "0xCA000" (808K)
98
+
99
+
To optimize FLASH size, **stm32wb5x_BLE_HCILayer_fw.bin** is supported for MBED-OS use case
100
+
- As explained in Release_Notes.html, this FW is flashed at @ 0x080E0000
101
+
- Then "mbed_rom_size" can be updated to "0xE0000" (896K)
102
+
103
+
Example in your local mbed_app.json:
104
+
```
105
+
"target_overrides": {
106
+
"NUCLEO_WB55RG": {
107
+
"target.mbed_rom_size": "0xE0000"
108
+
}
109
+
```
91
110
92
-
example:
93
-
````
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]
101
-
````
102
111
103
112
## BLE FW update
104
113
105
114
Official ST Application Note :
106
115
[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)
0 commit comments