cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WB bonded devices information is lost after core2 firmware update

Nikta Gorbadey
Associate

Hello!

We are developing the BLE application on STM32WB55 along with the mobile app companion. The microcontroller is in a Peripheral role, mobile app - in Central.

After BLE connection is established, MCU firmware sends a security request and master initiates the pairing procedure. We chose Passkey entry pairing method and after the first successful pairing, the mobile device is added to bonded devices, so that we can skip entering pin code for the next connections.

In most cases, everything works flawlessly, however, we faced a problem with bonded devices information loss after MCU firmware update. It repeats every time we update the core2 firmware and sometimes after updating core1 firmware. 

Could you specify where exactly the bonded devices information is stored? The AN5289 mentions that "When devices are bonded, the keys are stored in the non-volatile memory area." How can we avoid erasing this FLASH area while updating firmware on both cores?

0 REPLIES 0