lilaiju 发表于 2025-9-14 20:31

错误Non-stop mode not supported from STM32CubeIDE

本帖最后由 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握手过程。
页: [1]
查看完整版本: 错误Non-stop mode not supported from STM32CubeIDE