【发布时间】:2018-03-02 07:28:43
【问题描述】:
我有一个带有 openocd 和 arm-none-eabi-gdb 的设置,我正在尝试调试 FreeRTOS 固件。
我开始使用 openocd:
openocd -f /usr/local/share/openocd/scripts/board/stm32f0discovery.cfg -c "stm32f0x.cpu configure -rtos auto"
该命令运行良好。
然后我运行 arm-none-eabi-gdb -tui 并在我的 .gdbinit 结束时:
target remote localhost:3333
monitor reset halt
file build/fw.elf
load
continue
focus next
但是当我尝试停止 <ctrl>-c 并启动 continue 我的 fw 时,我得到的只是错误:
Cannot execute this command without a live selected thread.
我错过了什么?
我正在使用 JLink Base 调试探针。
【问题讨论】:
-
你找到解决这个问题的方法了吗?我也遇到了同样的问题,找不到解决办法
-
看起来与这个问题有关:mcuoneclipse.com/2016/10/23/…
标签: gdb freertos gdbserver openocd