STM32WB55 Custom External Loader Failed to flash whole image
Has anyone encountered the issue that external loader works fine only when flashing QSPI EFlash_Section independently (e.g. slice the firmware.elf into MCU.bin and EFlash.bin and flash separately).
BUT if flash from 0x08000000(Complete Firmware) the using firmware.elf either stm32cubeide or stm32cubeprogrammer will halt with error message.
Below are -v from stm32cubeide
Erasing memory corresponding to segment 0:
Erasing internal memory sectors [16 138]
Erasing memory corresponding to segment 1:
Erasing external memory sectors [0 397]
Download in Progress:
�������������������������������������������������� 0%
���� 9%����� 18%���� 27%
And pop message:
=============================================
Blah Blah Blah.............
Error message from debugger back end:
Error finishing flash operation
Error finishing flash operation
