Skip to main content
Graduate
December 27, 2021
Solved

debugger stops after HAL_TIM_Base_Start_IT .

  • December 27, 2021
  • 1 reply
  • 2215 views

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.
    Best answer by sde c.1

    Found the issue

    0693W00000HpyClQAJ.png

    1 reply

    Super User
    December 27, 2021

    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.

    sde c.1AuthorAnswer
    Graduate
    December 28, 2021

    Found the issue

    0693W00000HpyClQAJ.png