SparkFun Forums 

Where electronics enthusiasts find answers.

Open source ARM Debugger
By evading
#196308
Hi,

I'm trying to debug a FreeRTOS project using openocd and arm-none-eabi-gdb

I'm starting openocd using:
Code: Select all
openocd -f /usr/local/share/openocd/scripts/board/stm32f0discovery.cfg -c "stm32f0x.cpu configure -rtos auto"
and my .gdbinit file has the following contents:
Code: Select all
target remote localhost:3333
monitor reset halt
file build/fw.elf
load
continue
focus next
The problem is that when I try to continue i get the error message "Cannot execute this command without a live selected thread." and I can't get passed that.
What should I do?

Thanks.