Skip to main content
Associate
Jan 13, 2025 2:55 PM UTC
Question

SBSFU OTA 2 Images STM32WB55 linker file for application with OTA

Using STM32WB55, for the SBSFU 2 image bootloader ST provide a linker script for the user application. This works, but the user application itself can only be updated by uploading a new application from within the application using YMODEM, or exiting the application and going into the STM_OTA bootloader. 

In the STM32WB55 example Heartrate_Ota, a linker script is provided that makes a wireless application bootloadable, but in this case there is no security in the bootloader system. 

I'm trying to understand what the linker script for the user application should look like in the case where you want to use SBSFU in 2 image mode, and you wish to have BLE running in the user application. I am finding that if you simply use the 2 image linker script provided, BLE works fine in the bootloader, but does not work in the user application.   

This topic has been closed for replies.

1 reply

ST Technical Moderator
Mar 12, 2025 12:25 AM UTC

Hi @kdchris 

Sorry for my late reply.

The  X-Cube-SBSFU package provides 2 demo projects for WB55, you can find the linker files used there:

  •  ~\STM32CubeExpansion_SBSFU_V2.6.2\Projects\P-NUCLEO-WB55.Nucleo\Applications\2_Images\2_Images_SBSFU
  • ~\STM32CubeExpansion_SBSFU_V2.6.2\Projects\STM32WB5MM-DK\Applications\2_Images_ExtFlash

Hope this is helpfull.

 

Best Regards