-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
Not able to flash stm32h735g_disco - TARGET: stm32h7x.cpu0 - Not halted #50306
Comments
I've contacted STM32 openocd maintainer for this specific issue. Meanwhile, if this is blocking, I suggest to use stm32cubeprogrammer runner. Reducing criticality to low since there is an alternate solution. |
@maxstreitberger I suspect an openocd configuration issue. Regarding nuclo_f429zi, I'll open a dedicated ticket, as I've found the root cause, and I'm not sure it applies to H7 |
Openocd configuration for this board was broken. Fix it. Tested on both SDK 0.15.0 and SDK 0.15.1-RC1. Debug is also functional Fixes zephyrproject-rtos#50306 Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
@maxstreitberger Can you try: #50860 ? |
Openocd configuration for this board was broken. Fix it. Tested on both SDK 0.15.0 and SDK 0.15.1-RC1. Debug is also functional Fixes #50306 Signed-off-by: Erwan Gouriou <erwan.gouriou@linaro.org>
When using the new Zephyr-SDK-0.15.0, I cannot flash the
stm32h735g_disco
board.If I build the
zephyr/samples/hello_world project
for thestm32h735g_disco
and try to flash it, I receive this error:I compared the target file
stm32h7x.cfg
found in~/zephyr-sdk/sysroots/x86_64-pokysdk-linux/usr/share/openocd/scripts/target/
from the Zephyr-SDK-0.14.2 with the file from the Zephyr-SDK-0.15.0 and saw some changes, which I then reverted one by one until I noticed that the change in line145
broke the flashing process. After changing the line back toreset_config srst_only srst_nogate
, I could flash thestm32h735g_disco
board again.I have also noticed that after applying the change to the
stm32h7x.cfg
file, I have to flash thenucleo_f429zi
board twice before the flash command succeeds. Afterwards, I can flash it as usual until I flash thestm32h735g_disco
again.For clarification:
This problem only occurred after the switch to the new Zephyr-SDK version. In the previous
0.14.2
version, everything worked fine, and I can use thestm32h735g_disco
without any issues on macOS, where I do not use the SDK.To Reproduce
Steps to reproduce the behavior:
Impact
annoyance
Environment (please complete the following information):
The text was updated successfully, but these errors were encountered: