2021-05-28 03:30 AM
Hello,
I've been trying to program a GUI application using Touch GFX with a custom board including a STM32F469II. Recently however, the program has begun to act weird when I try to debug it and fails before I have to restart it manually. Here what I could find concerning this issue :
if (IS_TIM_SLAVE_INSTANCE(htim->Instance))
htim is TIM6 here which I put as the timebase source in the SYS menu in CubeMX (the debug mode is Serial Wire). It then stops and an error message is shown : "Break at address "0x0" with no debug information available, or outside of program code.". I'm using CubeIDE by the way.
Has anybody experienced a similar issue and if so, how can I fix this issue ?
Thanks in advance,
Tristan
2021-05-28 05:36 AM
There's nothing special about that line.
The line before is this:
/* Enable the TIM Update interrupt */
__HAL_TIM_ENABLE_IT(htim, TIM_IT_UPDATE);
My guess is the program is stuck in an interrupt which consumes all of the cpu and doesn't let the main thread progress.
2021-05-28 08:06 AM
Thank you for the input,
I've disable all the interrupts I could from CubeMX and the same problem is still showing. I do not know how to prove that an interrupt is the cause of this issue so if you know of a way to prove this I'm a taker.
Tristan
2021-05-28 08:40 AM