2019-07-04 03:55 AM
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 ?
2019-07-04 06:08 AM
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