SBSFU combined elf - application erased by bootloader
I am trying to run a debug session with the built application which is built upon the secure bootloader. Note: All security mechanisms are disabled for debugging purposes.
The issue seems to be the combined elf file. Loading this using a debugger, the target boots up into the bootloader. The bootloader does not find a valid application in the master slot and erases the flash, since it is not empty and asks for an sfb-file via YMODEM.
Flashing the target with the resulting binary file, using cube programmer, works as expected.
But i want to be able to debug my application. Have anyone else had this issue ?
regards,
Martin
