ChibiOS Eclipse Plugin not working

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

Post Reply
madprogrammer
Posts: 4
Joined: Tue Oct 28, 2014 7:40 pm

ChibiOS Eclipse Plugin not working

Post 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.
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: ChibiOS Eclipse Plugin not working

Post 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
madprogrammer
Posts: 4
Joined: Tue Oct 28, 2014 7:40 pm

Re: ChibiOS Eclipse Plugin not working

Post 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.
Post Reply