2022-08-25 06:19 AM
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
Solved! Go to Solution.
2022-08-25 06:25 AM
The simplest way is to download the combined image with an external progarmmer ( like CubeProgrammer) . Then in your IDE, removing the flash of the binary for the debug and only load the symbol.
2022-08-25 06:25 AM
The simplest way is to download the combined image with an external progarmmer ( like CubeProgrammer) . Then in your IDE, removing the flash of the binary for the debug and only load the symbol.