cancel
Showing results for 
Search instead for 
Did you mean: 

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

MOUAN
Associate

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 ?

1 REPLY 1
KnarfB
Principal III

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