2021-11-18 02:39 PM
Hi,
We are working on a STM32 project based on sample_azure_iot_embedded_sdk_adu project. The board is B-L4S5I-IOT01A.
At the moment, we are implementing the OTA. The board is able to download the firmware bin file, however it is stuck at the function HAL_FLASH_OB_Launch() -> SET_BIT(FLASH->CR,FLASH_CR_OBL_LAUNCH). After that, the debugger says that "target is not responding, retrying... ". Then, the board resets by itself and still boots up with the original firmware.
The firmware size is 360KB which is less than each bank size.
Can you please take a look and see what would be the cause of it ? FYI, Attached is the linker file and the c file.
Thanks,
Face
Solved! Go to Solution.
2021-11-19 02:16 PM
We found the issue that the banks got swapped twice. That is why it loads the original firmware again.
2021-11-19 02:16 PM
We found the issue that the banks got swapped twice. That is why it loads the original firmware again.