cancel
Showing results for 
Search instead for 
Did you mean: 

GDB loading of STM32F072 device

CScho.1
Associate

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.

1 REPLY 1
CScho.1
Associate

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.