Skip to content

Debugging on Nucleo H755ZI-Q doesn't work properly #87293

Open
@mthiede-acn2

Description

@mthiede-acn2

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

  1. west build -b nucleo_h755zi_q/stm32h755xx/m7 -p always samples/basic/blinky
  2. west debug
  3. b main
  4. c
  5. 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

Metadata

Metadata

Assignees

Labels

Waiting for responseWaiting for author's responsebugThe issue is a bug, or the PR is fixing a bugplatform: STM32ST Micro STM32priority: lowLow impact/importance bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions