-
Notifications
You must be signed in to change notification settings - Fork 7.4k
Debugging on Nucleo H755ZI-Q doesn't work properly #87293
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I don't have this board, so I can't test, but I had a quick test on stm32h747i_disco/stm32h747xx/m7 and debug works reliabily. About M4 debug, IIRC there were some attempts to have it functional with gdb, but from what I could test it doesn't work. The related note in the board documentation still stands:
|
Did you build the application without size optimizations (default mode)? Try enabling |
@erwango I modified
instead of
and now single stepping and continue work. @lromeraj thanks for the hint, this improves debug experience once debugging is working at all |
@mthiede-acn2 Thanks for the feedback. Would you have the possibility to push this change so everyone can benefit ? |
This issue has been marked as stale because it has been open (more than) 60 days with no activity. Remove the stale label or add a comment saying that you would like to have the label removed otherwise this issue will automatically be closed in 14 days. Note, that you can always re-open a closed issue at any time. |
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
ands
also don't work as well as ac
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
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):
The text was updated successfully, but these errors were encountered: