[STM32F4] 错误Non-stop mode not supported from STM32CubeIDE

[复制链接]
380|6
lilaiju 发表于 2025-9-14 20:31 | 显示全部楼层 |阅读模式
本帖最后由 lilaiju 于 2025-9-14 20:45 编辑

XPack-QEMU-ARM 搭配 GDB 服务器错误:Non-stop mode not supported from STM32CubeIDE。我在 Windows 下使用以下命令启动了 xpack-qemu-arm 二进制文件:



.\bin\qemu-system-gnuarmeclipse --verbose --verbose --board STM32F4-Discovery --mrecu STM32F407VG --gdb tcp::1234 -d unimp,guest_errors --semihosting-config enable=on,target=native --semihosting-cmdline blinky

在从CubeIDE连接到外部DBG服务器时出现此错误:

>   Error in final launch sequence:
>
> Failed to execute MI command: target remote localhost:1234
>
> Error message from debugger back end: Non-stop mode requested, but
> remote does not support non-stop Failed to execute MI command: target
> remote localhost:1234
>
> Error message from debugger back end: Non-stop mode requested, but
> remote does not support non-stop Non-stop mode requested, but remote
> does not support non-stop

cr315 发表于 2025-9-15 15:12 | 显示全部楼层
STM32CubeIDE默认可能启用Non-stop调试模式,但XPack-QEMU-ARM的GDB服务器仅支持All-stop模式。
duo点 发表于 2025-9-15 16:13 | 显示全部楼层
禁用Non-stop模式。
elephant00 发表于 2025-9-15 15:14 | 显示全部楼层
升级XPack-QEMU-ARM。
flycamelaaa 发表于 2025-9-15 19:15 | 显示全部楼层
可能需要换调试工具。
jcky001 发表于 2025-9-15 20:15 | 显示全部楼层
QEMU的GDB服务器与CubeIDE的调试模式不兼容吧。
powerantone 发表于 2025-9-15 22:16 | 显示全部楼层
建议在QEMU启动时添加-D log.txt参数,将调试日志输出到文件,检查GDB握手过程。
您需要登录后才可以回帖 登录 | 注册

本版积分规则

51

主题

51

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部