Page 6 of 8
Re: Eclipse debug plugin for ChibiOS/RT
Posted: Thu Oct 27, 2011 4:37 pm
by Giovanni
It is also included in versions 2.2.7 and 2.3.3

Giovanni
Re: Eclipse debug plugin for ChibiOS/RT
Posted: Fri Oct 28, 2011 9:49 am
by matis
Thanx guys,
I can confirm that org.chibios.tools.eclipse.debug_1.0.7.jar works like a charm on Ubuntu 10.04.3 x64 with Indigo SR1 compiled with arm-none-eabi-gcc-4.5.2

Thanks for your effort!
Re: Eclipse debug plugin for ChibiOS/RT
Posted: Mon Nov 07, 2011 5:11 pm
by pmichniewski
Hi, the plugin is great.
Do you plan to port it to the DSF mode of GDB?
Re: Eclipse debug plugin for ChibiOS/RT
Posted: Mon Nov 07, 2011 5:24 pm
by Giovanni
Hi,
Eventually, but it is not an high priority right now, the problem with Eclipse is the documentation (that is both extensive and lacking

), the standard debugger was simply easier to understand and documented.
If somebody has experience with DSF the process could be faster. The plugin source code is on the repository and a single class encapsulates all the debugger-related code.
Giovanni
Re: Eclipse debug plugin for ChibiOS/RT
Posted: Mon Nov 21, 2011 3:23 pm
by DaWaN
This plugin is awesome

I use this plugin with Eclipse Inidigo CDT
I've tested it with the Zylin plugin and that works fine too, very nice.
I do have one problem though: I cannot see the stack usage...

It's problably due to some issues with Inidigo, I wanted to look into the source but couldn't find the source quickly in the SVN browser, were is it located in the SVN repository ?
Re: Eclipse debug plugin for ChibiOS/RT
Posted: Mon Nov 21, 2011 7:04 pm
by Giovanni
Hi,
Probably it is because you have to enable the options CH_DBG_ENABLE_STACK_CHECK and CH_DBG_FILL_THREADS in chconf.h.
The feature works by measuring how many bytes containing the filler remains in the stack.
The source code is available here:
http://chibios.svn.sourceforge.net/view ... pse_debug/Giovanni
Re: Eclipse debug plugin for ChibiOS/RT
Posted: Tue Nov 22, 2011 11:04 am
by DaWaN
Looked into the sources and found out that 2.2.7 stable does not have the stacklimit implemented!
Now tested 2.3.3 unstable and stack checking function works

Re: Eclipse debug plugin for ChibiOS/RT
Posted: Thu Dec 01, 2011 9:11 am
by mobyfab
Hi Giovanni,
I have just tested with my STM32F4DISCOVERY board and it does not seem to work... (nothing displayed by the plugin, debugging itself works fine)
Could you verify?
Re: Eclipse debug plugin for ChibiOS/RT
Posted: Thu Dec 01, 2011 10:37 am
by Giovanni
Hi,
I will look into it.
Giovanni
Re: Eclipse debug plugin for ChibiOS/RT
Posted: Fri Dec 02, 2011 9:07 pm
by Giovanni
Hi Mobyfab,
I just tested it, it worked. Make sure to enable the registry in chconf.h (it is enabled by default). Also, until the program goes past chSysInit() there is nothing to fetch so you need to step at least after that point.
Giovanni