2021-01-07 05:59 PM
Thank you for helping.
environment:
stm32CubeIDE Ver1.3.0
TouchGFX Ver4.15.0
Board: STM32F746G-DISCO
When I step, it just enters the interrupt handler
I can't move on.
With STM32F769I-DISCO, there is no such symptom.
Is it a problem with the microcomputer?
Please tell me how to solve it.
Solved! Go to Solution.
2021-01-07 10:50 PM
OpenOCD says while starting debugging the board.
...
Warn : Silicon bug: single stepping may enter pending exception handler!
...
And that's true. Has been discussed here and elsewhere before.
Edit: Some debuggers have workarounds (OpenOCD, Segger?), see e.g. http://openocd.zylin.com/gitweb?p=openocd.git;a=commit;h=a4ac56152d9fc13c3fa479397407d9b86ffb13d8
You can mask out a number of interrupts by using for example
__HAL_DBGMCU_FREEZE_TIM6();
at the beginning of main(), but not all.
hth
KnarfB
2021-01-07 10:50 PM
OpenOCD says while starting debugging the board.
...
Warn : Silicon bug: single stepping may enter pending exception handler!
...
And that's true. Has been discussed here and elsewhere before.
Edit: Some debuggers have workarounds (OpenOCD, Segger?), see e.g. http://openocd.zylin.com/gitweb?p=openocd.git;a=commit;h=a4ac56152d9fc13c3fa479397407d9b86ffb13d8
You can mask out a number of interrupts by using for example
__HAL_DBGMCU_FREEZE_TIM6();
at the beginning of main(), but not all.
hth
KnarfB
2021-01-19 02:47 PM
Hi KnarfB
Sounds like a chip-dependent bug.
I understood.
Thank you for information.