Skip to main content
OliM
Senior II
Aug 31, 2023 9:00 AM UTC
Question

No OTA BLE stack updates for STM32WB5xxC ?

The standard OTA application is taking up 28kBytes and even the light stack (v 1.16) starts at 0x08021000 on the 256kB models. This leaves 104kByte in between. Does that mean it is not possible to updatet the wireless stack via OTA on those models?

This topic has been closed for replies.

4 replies

Issamos
Super User
Aug 31, 2023 9:27 AM UTC

Hello @OliM 

This post may help you.

Best regards.

II

OliM
OliMAuthor
Senior II
Aug 31, 2023 1:47 PM UTC

I know the AN5247 referenced there, which shows the following image

OliM_0-1693489512814.png

According to this it would NOT work in case of the smallest WB chips, even with the light BLE stack. Which I think of as a big drawback. 

Issamos
Super User
Aug 31, 2023 2:08 PM UTC

Hello again,

You're right that on the STM32WB models with 256KB of flash memory, there may not be enough free space left after the standard OTA and BLE stack images to also include an OTA-updatable wireless stack.

 

A few things to note:

 

- The OTA application and BLE stack footprint can sometimes be reduced with optimization to free up more space.

 

- It may be possible to split the wireless stack into multiple smaller chunks that can be individually updated via OTA to fit in the remaining space.

 

- Using external flash/RAM for the updatable portion could work if available on the particular board/module.

Hope this help you. If your question is answered please check this answers as best answer to be diffused.

Best regards.

II