Hi Tarek,

I encountered a problem debugging STM32H745 with "set USE_CTI 1".
The step command didn't work, PC didn't advance. I found out that the problem depends
on setting "cortex_m maskisr auto", it disappears with other maskisr modes.

Well it seems clear: In the maskisr auto mode a dummy run to breakpoint at PC address is issued first. It sets CTI signals and later issued C_STEP is therefore suppressed.
We would need a stm32h7x_cti_prepare_restart call in between but there is no
suitable event emitted.

Tom


_______________________________________________
OpenOCD-devel mailing list
OpenOCD-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to