Page 1 of 1

ChibiOS Eclipse Plugin not working

Posted: Tue Oct 28, 2014 7:51 pm
by madprogrammer
Hello,

I can't get the ChibiOS eclipse plugin (for ChibiOS 2.x) to work. I tried it with Luna and Kepler SR2, plugin version (pulled from ChibiStudio) is 1.2.0.201401051224, CDT version 8.3.0.201402142303.
The ChibiOS/RT 2.x.x Debug View can be opened, however it displays only empty views, and pressing the Refresh button does nothing.
The symbols needed for the plugin to detect ChibiOS (such as &rlist) are present and can be viewed using the Eclipse "Expressions" tab in Debug perspective.

Any suggestions on how can I make the plugin work would be highly appreciated. The plugin doesn't show any error messages, it just does nothing.

Thank you!

P.S. I know I may be not supposed to try running the plugin in Eclipse Kepler or higher, but I'm using the GNU ARM plugins for Eclipse, which are not compatible with ChibiStudio.

Re: ChibiOS Eclipse Plugin not working

Posted: Tue Oct 28, 2014 8:04 pm
by Giovanni
Hi,

There are several possible causes:
1) The debugger mode must be "normal", not DSF for the "GDB Hardware Debugging". The plugin does not work if DSF debugging is selected. The settings are in Window->Preferences->Run/Debug->Launching->Default Launchers.
2) The plugin only recognizes the RTOS data structures after chSysInit() has been executed, so execute at least after that.
3) You need to click on the refresh button of the plugin.

Giovanni

Re: ChibiOS Eclipse Plugin not working

Posted: Tue Oct 28, 2014 10:13 pm
by madprogrammer
Oh, thank you. Currently I'm using "GDB OpenOCD Debugging" configuration, but I'll try to fall back to legacy "GDB Hardware Debugging" with CDI and see if it helps.