FreeRTOS aware debugging with openocd

Open source ARM Debugger

Moderator: phalanx

Post Reply
evading
Posts: 1
Joined: Sun Sep 24, 2017 11:27 pm

FreeRTOS aware debugging with openocd

Post by evading » Sun Sep 24, 2017 11:32 pm

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.

Post Reply