
8
Firmware upgrade
8.1
STM32WB5MMG firmware upgrade
is an ultra-low-power module with a dual core Arm Cortex
®
-M4 MCU and Cortex
®
-M0+.
, the Cortex
®
application firmware, while the Cortex
®
-
M0+ hosts the Bluetooth
®
Low Energy stack.
The firmware of the cores can be upgraded in different ways, as described in the following sections.
The
Projects\STEVAL-ASTRA1B\Applications\AssetTracking\Binaries
folder contains all the compiled codes.
Figure 36.
Binaries folder
8.1.1
How to update the STM32WB5MMG M4 core via STLINK-V3MINI
To download the application code into the
, follow the procedure
below.
Step 1.
Check the programming jumper position according to
, table 5.
Step 2.
programming connector J300 (see
,
section 2.2, for further information).
Step 3.
As the
loads a preprogrammed bootloader, to download your customized code
without overwriting the bootloader, use the following file:
–
stm32wb55xx_flash_cm4_ota.icf
linker file to set the correct flash memory address space in IAR.
Step 4.
to update the firmware by choosing one binary file, which is in the
"Binaries" folder or using your own. Follow the readme.txt file inside that folder for further details.
Step 5.
To restore the bootloader with the
StevalAstra1B_BLE_Ota.hex
compiled file that is available in the
binary folder, use
to program the bootloader at the 0x08000000 address.
8.1.2
How to update the STM32WB5MMG M0+ core via STLINK-V3MINI
To download the application code into the
below.
Step 1.
Check the programming jumper position according to
, table 5.
UM3019
Firmware upgrade
UM3019
-
Rev 1
page 33/43