cancel
Showing results for 
Search instead for 
Did you mean: 

NUCLEO-WB55: Unable to get bluetooth to work.

G5658
Associate II

I followed this[1] URL to update FUS and wireless stack, it failed and now i can't get wireless to work. All the examples are hard faulting. My FUS is still in version 0.5.3

Reading 32-bit memory content
  Size          : 4 Bytes
  Address:      : 0x20030030
 
0x20030030 : 00050300

But i can't upgrade to the latest one.

USB speed   : Full Speed (12MBit/s)
Manuf. ID   : STMicroelectronics
Product ID  : DFU in FS Mode
SN          : 206F3169554D
FW version  : 0x011a
Device ID   : 0x0495
Device name : STM32WBxx
Flash size  : 1 MBytes
Device type : MCU
Device CPU  : Cortex-M4
 
Current FUS Version  : 0x00050300==================] 100% 
 
Uploaded FUS Version : 0x01000200
 
 
FUS state is FUS_IDLE
 
FUS status is FUS_NO_ERROR
 
Old wireless stack delete ...
 
Deleting firmware ...
Firmware delete finished
 
FUS state is FUS_SERVICE_ONGOING
 
FUS status is FUS_IMAGE_NOT_FOUND
 
FUS state is FUS_IDLE
 
FUS status is FUS_NO_ERROR
Download firmware image at address 0x80ec000 ...
 
 
Memory Programming ...
Opening and parsing file: stm32wb5x_FUS_fw_1_0_2.bin
  File          : stm32wb5x_FUS_fw_1_0_2.bin
  Size          : 24492 Bytes
  Address       : 0x080EC000 
 
 
Erasing memory corresponding to segment 0:
rasing internal memory sectors [236 241]
erasing sector 0236 @: 0x080ec000 done
erasing sector 0237 @: 0x080ed000 done
erasing sector 0238 @: 0x080ee000 done
erasing sector 0239 @: 0x080ef000 done
erasing sector 0240 @: 0x080f0000 done
erasing sector 0241 @: 0x080f1000 done
Download in Progress:
[==================================================] 100%    4% 
 
File download complete
Time elapsed during download operation: 00:00:00.487
 
FUS state is FUS_IDLE
 
FUS status is FUS_NO_ERROR
 
Firmware Upgrade process started ...
 
Updating firmware ...
Waiting for firmware upgrade end
 
FUS state is WIRELESS_STACK_UPGRADE_ONGOING
 
FUS status is FUS_NO_ERROR
 
FUS state is WIRELESS_STACK_UPGRADE_ONGOING
 
FUS status is FUS_IMAGE_NOT_AUTHENTIC
Error: Firmware not authentic!

How do i get my bluetooth back up and running?

[1]: https://github.com/ARMmbed/mbed-os/blob/master/targets/TARGET_STM/TARGET_STM32WB/README.md

1 ACCEPTED SOLUTION

Accepted Solutions
G5658
Associate II

Fixed this by first erasing all sectors from the "Erasing and programming" section of the programmer GUI and then flashing the FUS by

STM32_Programmer_CLI -c port=usb1 -fwupgrade stm32wb5x_FUS_fw_1_0_2.bin 0x080EC000 firstinstall=0

View solution in original post

2 REPLIES 2
G5658
Associate II

Or is it possible to flash the original wireless stack that came with the board?

G5658
Associate II

Fixed this by first erasing all sectors from the "Erasing and programming" section of the programmer GUI and then flashing the FUS by

STM32_Programmer_CLI -c port=usb1 -fwupgrade stm32wb5x_FUS_fw_1_0_2.bin 0x080EC000 firstinstall=0