Skip to main content
Senior II
Dec 27, 2021 4:28 PM UTC
Solved

debugger stops after HAL_TIM_Base_Start_IT .

Created a new STM32 project for STM32G030K8 without modifications, when i run the debugger debugger stops working after HAL_TIM_Base_Start_IT..

I have selected TIM14 as timebase source as i'm using RTOS.

Why does the debugger stops in a new STM32 cube project? Any ideas?0693W00000Hpsy1QAB.png0693W00000Hpt1sQAB.png0693W00000Hpt1nQAB.png0693W00000Hpt1iQAB.png 

This topic has been closed for replies.
sde c.1Best answer
Senior II
Dec 28, 2021 2:25 PM UTC

Found the issue

0693W00000HpyClQAJ.png

2 replies

TDK
Dec 27, 2021 5:24 PM UTC

Well you don't show the code around HAL_TIM_Base_Start_IT which would be helpful. One likely possibility is the MCU is swamped with IRQ interrupts from the timer that it can't make progress in the main thread and you misinterpret that for the debugger stopping.

"If you feel a post has answered your question, please click ""Accept as Solution""."
sde c.1AuthorBest answer
Senior II
Dec 28, 2021 2:25 PM UTC

Found the issue

0693W00000HpyClQAJ.png