Difference between revisions of "ST STM32WB"

From SEGGER Wiki
Jump to: navigation, search
Line 1: Line 1:
 
__TOC__
 
__TOC__
   
  +
= Multicore Architecture =
= Dual Core =
 
 
The STM32WB55 is a heterogeneous dual-core MCU with a Cortex-M4 for the end-user application and a Corte-M0 for the BLE stack.
 
The STM32WB55 is a heterogeneous dual-core MCU with a Cortex-M4 for the end-user application and a Corte-M0 for the BLE stack.
   
Line 8: Line 8:
   
 
= How to update the Wireless Stack =
 
= How to update the Wireless Stack =
  +
Uploading a wireless stack to the STM32WB55 can be done with- J-Link Commander(J-Link.exe). To do so you first have to connect to the MCU by executing the following command in J-Link
In order to update the wireless stack in your target device, you can simply load the binary image with J-Link Commander.
 
  +
C:\Program Files (x86)\SEGGER\JLink_V647d
  +
$ JLink.exe -autoconnect 1 -device "STM32WB55xx - FUS" -if swd -speed 4000
  +
  +
The above command output should be as following:
  +
[[File:STM32WB55 Connect.jpg|600px]]
   
  +
After successfully connect to the MCU execute the loadbin command with the binary file location and location for the Wireless stack.
  +
J-Link> loadbin C:\Users\Pedro\Desktop\STM32WB_Copro_Wireless_Binaries\stm32wb5x_BLE_Stack_fw.bin, 0x080CC000
  +
The output should be as follow.
  +
[[File:STM32WB55 WS upgrade.jpg|600px]]
  +
  +
The wireless stack binaries can be downloaded from https://www.st.com/en/embedded-software/stm32cubewb.html. Once you have the package just unpack it and navigate to ..\STM32Cube_FW_WB_V1.1.0\Projects\STM32WB_Copro_Wireless_Binaries\.
  +
Inside that folder, you may find the Release_Notes.html(which will tell you where each stack starts and should be programmed) and the binary files.
  +
[[File:STM32WB55 WS Binaries.jpg|600px]]
  +
  +
== How does it works ==
  +
The process for uploading a Wireless stack to STM32WB55
   
 
= How to delete the Wireless Stack =
 
= How to delete the Wireless Stack =
  +
Follow the same process for connecting with the STM32WB55 as above and after that simply execute erase.
   
  +
J-Link>erase
   
 
= How to update the RSS =
 
= How to update the RSS =
Line 22: Line 40:
 
Once the FUS is updated from the v0.5.3 to v1.0.1 is not possible to reverse RSS.
 
Once the FUS is updated from the v0.5.3 to v1.0.1 is not possible to reverse RSS.
 
The RSS/FUS can only upload wireless stacks from the same release version.
 
The RSS/FUS can only upload wireless stacks from the same release version.
  +
  +
  +
  +
https://www.st.com/en/microcontrollers-microprocessors/stm32wb-series.html

Revision as of 14:33, 5 July 2019

Multicore Architecture

The STM32WB55 is a heterogeneous dual-core MCU with a Cortex-M4 for the end-user application and a Corte-M0 for the BLE stack.

RSS / FUS

How to update the Wireless Stack

Uploading a wireless stack to the STM32WB55 can be done with- J-Link Commander(J-Link.exe). To do so you first have to connect to the MCU by executing the following command in J-Link

C:\Program Files (x86)\SEGGER\JLink_V647d
$ JLink.exe -autoconnect 1 -device "STM32WB55xx - FUS" -if swd -speed 4000

The above command output should be as following:

600px

After successfully connect to the MCU execute the loadbin command with the binary file location and location for the Wireless stack.

 J-Link> loadbin C:\Users\Pedro\Desktop\STM32WB_Copro_Wireless_Binaries\stm32wb5x_BLE_Stack_fw.bin, 0x080CC000

The output should be as follow.

600px

The wireless stack binaries can be downloaded from https://www.st.com/en/embedded-software/stm32cubewb.html. Once you have the package just unpack it and navigate to ..\STM32Cube_FW_WB_V1.1.0\Projects\STM32WB_Copro_Wireless_Binaries\. Inside that folder, you may find the Release_Notes.html(which will tell you where each stack starts and should be programmed) and the binary files.

600px

How does it works

The process for uploading a Wireless stack to STM32WB55

How to delete the Wireless Stack

Follow the same process for connecting with the STM32WB55 as above and after that simply execute erase.

 J-Link>erase

How to update the RSS

Same process as a wireless Stack. Simply loadbin over J-Link Commnander to the memory specified by ST and wait for the process to finish.

Available Stack from ST

Warning: Once the FUS is updated from the v0.5.3 to v1.0.1 is not possible to reverse RSS. The RSS/FUS can only upload wireless stacks from the same release version.


https://www.st.com/en/microcontrollers-microprocessors/stm32wb-series.html