Skip to main content
Visitor II
July 4, 2019
Question

How to skip the interruption while debugging STM32F746-Discovery with Cube-IDE ?

  • July 4, 2019
  • 1 reply
  • 1158 views

I am using the ST-LINK GDB server as a debugger under Cube-IDE , in every step over the debugger enter to interrupt and never go out, is there any solution to skip the interruption.

E.g. In my application the interruption that occur is :

void TIM6_DAC_IRQHandler(void)

{

 /* USER CODE BEGIN TIM6_DAC_IRQn 0 */

 /* USER CODE END TIM6_DAC_IRQn 0 */

 HAL_TIM_IRQHandler(&htim6);

 /* USER CODE BEGIN TIM6_DAC_IRQn 1 */

 /* USER CODE END TIM6_DAC_IRQn 1 */

}

I tried to Debug the application with OpenOCD but Cube-IDE didn't let me configure it .

Any Ideas ?

    This topic has been closed for replies.

    1 reply

    Super User
    July 4, 2019

    Its a limitation in the chip. A workaround is: put the following two lines into main():

     DBGMCU->APB1FZ = 0xFFFFFFFF;

     DBGMCU->APB2FZ = 0xFFFFFFFF;

    This does not stop everyting, but helps.

    Frank