2022-09-16 01:51 AM
Hi,
I'm running into an issue with the provided OTA bootloader getting the device "bricked" after a firmware update.
Details about my setup
MCU: STM32WB55CG
WB package: STM32Cube_FW_WBV1.14.1
BLE Stack: stm32wb5x_BLE_Stack_full_fw
Bootloader example: STM32Cube_FW_WB_V1.14.1\Projects\P-NUCLEO-WB55.Nucleo\Applications\BLE\BLE_Ota
Documentation: AN5247
What have I tried?
I used the above mentioned ST bootloader example as a base for my project with minor modifications. Next to that modified my projects firmware to make some OTA test applications (by adding the reboot charasteristics etc). When I update the firmware via the ST BLE Sensor app, everything works perfect, but when I use another resource (Linux based IoT device) to update the firmware over OTA I'm able to brick the firmware:
The bootloader cannot be build as a debug target because of size restrictions (should fit in region between 0x8000000-0x8006000) which makes it very hard to debug this issue.
Questions:
Thanks in advance,
Frank
2022-09-21 02:44 AM
Hello,
From the behavior you observe, it seems some packet are lost. How have you check that all raw datapackages are correctly received on the device side ?
Which modification have you perform in BLE_Ota project ?
Best Regards