Open
Description
Describe the bug
Debugging using west debug
does not work properly.
For example, single stepping is not possible.
si
will not run the next instruction.
n
and s
also don't work as well as a c
after hitting a breakpoint.
I updated the firmware of the STLink to the latest version.
I tried halting the M4 core using the BOOT_CM4 option without success.
I get the same behavior with Zephyr v4.1.0
To Reproduce
- west build -b nucleo_h755zi_q/stm32h755xx/m7 -p always samples/basic/blinky
- west debug
- b main
- c
- n
Expected behavior
Debugger single steps to next instruction
Impact
Debugging hardly possible. It is possible to set and break on a first breakpoint though (like on 'main' above)
Environment (please complete the following information):
- OS: WSL/Ubuntu
- Toolchain: Zephyr SDK 0.17.0
- Zephyr: v4.0.0 (release tag), same with v4.1.0
- Open On-Chip Debugger 0.11.0+dev-00728-gb6f95a16c-dirty (from SDK 0.17.0)
- GNU gdb (Zephyr SDK 0.17.0) 12.1