Skip to main content
Associate III
April 30, 2024
Question

STM32WB persistent user data region after OTA update

  • April 30, 2024
  • 1 reply
  • 822 views

Hello,

We are working on a device based on a STM32WB5MM. The module has configured the SBSFU, the BLE OTA and the user application.

We have defined some sections in the flash memory to store device data, like the serial number or the pin code used for pairing. The device operates correctly and when doing updates of the user application via OTA there is no problem. We have created the region just after __ICFEDIT_SLOT_Dwl_1_end__ :

USER_DATA_region_ROM_start = __ICFEDIT_SLOT_Dwl_1_end__ + 1;

However, when we wanted to update the wireles stack, that section has been deleted.

In which region of the flash memory can we host device data that remains after updating the user application and the wireless stack?

Best regards and thanks in advance.

This topic has been closed for replies.

1 reply

STTwo-32
ST Technical Moderator
June 2, 2024

Hello @thealbertdev 

I think this MOOC should answer your questions.

Best Regards.

STTwo-32 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.