Giovanni
Eclipse debug plugin for ChibiOS/RT
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: Eclipse debug plugin for ChibiOS/RT
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!
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!
-
pmichniewski
- Posts: 1
- Joined: Mon Nov 07, 2011 5:09 pm
Re: Eclipse debug plugin for ChibiOS/RT
Hi, the plugin is great.
Do you plan to port it to the DSF mode of GDB?
Do you plan to port it to the DSF mode of GDB?
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: Eclipse debug plugin for ChibiOS/RT
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
Eventually, but it is not an high priority right now, the problem with Eclipse is the documentation (that is both extensive and lacking
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
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 ?
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 ?
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: Eclipse debug plugin for ChibiOS/RT
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
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
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
Now tested 2.3.3 unstable and stack checking function works
Re: Eclipse debug plugin for ChibiOS/RT
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?
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?
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
- Giovanni
- Site Admin
- Posts: 14895
- Joined: Wed May 27, 2009 8:48 am
- Has thanked: 1202 times
- Been thanked: 997 times
Re: Eclipse debug plugin for ChibiOS/RT
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
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