STM32WB BLE Hardware Setup

Revision as of 16:27, 13 October 2021 by Registered User (→‎Introduction)
Under construction.png Coming soon

Click here for BLE overview

1. Introduction

This wiki page contains information to help users to bring up their hardware setups.

  • Boards connection
  • FUS/Stack update

2. P-NUCLEO-WB55

2.1. Boards and ST-LINK USB cable connections

3. STM32WB5MM-DK Discovery kit

3.1. Boards and ST-LINK USB cable connections

3.2. FUS and Stack Update

Firmware Upgade Services (FUS) and Bluetooth® Low Energy Stack can be updated using STM32CubeProgrammer software[1].

3.2.1. FUS Update

FUS (firmware upgrade services) is a firmware running on STM32WB Cortex®-M0+ and offering following features:

  1. Install, upgrade or delete STM32WB Cortex®-M0+ wireless stack
  2. FUS self-upgrade
  3. Customer authentication key management
  4. User key management
  5. Communication with Cortex®-M4 (user code or bootloader)

More information can be found in Firmware Upgrade Services for STM32WB series Application Note[2].


Below are described the different steps to Update the FUS of P-NUCLEO-WB55 and STM32WB5MM-DK Discovery platforms.

3.2.1.1. Connect to Cube Programmer

Connect your platform using STM32Cubeprogrammer[1].

3.2.1.2. Start FUS

Once connected, go to Firmware Upgrade Services interface, and start the actual FUS, clicking on the associated button.

An error can occur while starting the FUS.

If it is the case, press OK on appearing popups and re-start the FUS.

3.2.1.3. Read FUS

Once the FUS is started read its value.

3.2.1.4. Update FUS

Update FUS with latest version.
The latest version of the FUS can be found in STM32Cube_FW_WB package. There are 2 versions of the FUS binary, depending on the actual FUS version present on your platform.

If the actual FUS version is 0.5.3, use the binary dedicated:
STM32Cube_FW_WB_V[...]\Projects\STM32WB_Copro_Wireless_Binaries\STM32WB5x\stm32wb5x_FUS_fw_for_fus_0_5_3.bin
.

If the actual FUS version is different from 0.5.3, then use the other binary: STM32Cube_FW_WB_V[...]\Projects\STM32WB_Copro_Wireless_Binaries\STM32WB5x\stm32wb5x_FUS_fw.bin
.

Check Start Address, this address can be found on STM32Cube_FW_WB package Release Note.

Click on Firmware Upgrade.

A popup occurs to confirm the correct upgrade.

3.2.1.5. Check new FUS version

Check the new FUS version by clicking on Read FUS info button.

4. References