2020-07-22 05:17 PM
Occasionally debug gets stuck while loading and never gets to main with the console showing:
Program received signal SIGINT, Interrupt.
0xfffffffe in ?? ()
Once in this mode, the only way to recover is to use the STM32CubeProgrammer to clear the target device in DFU mode over USB. When connecting the device is always in RDP Level 1 and needs to be erased.
Has anyone experienced and behavior like this and found a solution? It is inconvenient to have to go through the process.
2020-07-22 05:18 PM
I don't understand why there is an interrupt before the program finishes loading. My configuration is using STM32CubeIDE, with a BMP, arm-none-eabi-gdb and the target of STM32F072C8T6TR.