I am trying to setup Eclipse with GNU MCU Eclipse plugin as an IDE debugger for Zephyr under Ubuntu 19.04. That is mainly in hopes to be able to debug with multiple threads, since I can't seem to get the gdb to detect more than thread at a time, even with the application configured with CONFIG_OPENOCD_SUPPORT=y set. For the test I'm using the Philosophers example provided by Zephyr.
So far I've been following the guide in the zephyr documentation and completed the configuration, but when I try to debug the program I get the following error:
However, I can run the gdb debugger or simply flash the code just fine by using following commands:
Below are the screenshots of my configuration. I am passing the --pack option since I'm using STM Nucleo-144 F446ZE, which is not installed with pyOCD by default and I cannot install it using other means. Anyway, according to the error message it seems to me the command is called correctly.
Any help is greatly appreciated.