cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G474: Processor hanging when NVIC_Enable Debugger-Timer IRQ.

Hello,

currently I'm transferring from a Nucleo to the target electronics(STM32G474RE3), but when I download the Code(verified successfully) and start it, the Processor is hanging when the Timer IRQ for the Debugger is enabled.

  • Supply Voltage is ok, 3.3V
  • NRSET is at 3.3V
  • Signals on SWDIO and SWCLK look ok(square)

I really have no idea what the issue is, it works on the Nucleo, but it can't get passed that Code.

I'm really running out of ideas, has anyone had these issues before or an idea what the issue may be. The debugger just can not get forward, it's stuck and if I start the controller in standalone, it will not start driving the resonator, driving I2C-Lines,.. nothing.

Thank you everyone in advance for helping.

Best Regards, Seppel

0693W00000WKNAMQA5.png0693W00000WKNAWQA5.png 

0693W00000WKNAHQA5.png 0693W00000WKNACQA5.png

10 REPLIES 10
It's documented in the reference manual. Though using STM32CubeProgrammer is going to be a lot easier. The values are persistent across resets.
If you feel a post has answered your question, please click "Accept as Solution".