ChibiStudio for linux

Discussions and support about ChibiStudio, the free development environment for ARM.
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: ChibiStudio for linux

Post by Giovanni »

You should ask the author, that one is not an official release. No idea anyway.

Giovanni
tinito
Posts: 112
Joined: Tue Jun 07, 2011 10:32 am
Has thanked: 1 time
Been thanked: 1 time

Re: ChibiStudio for linux

Post by tinito »

Here I am :)

Not sure about the error messages in italian, what if you just clean and build again?
What system are you using, 32 or 64 bit?
If it is 64 bit, do you have the 32 bit support (multiarch / ia32libs)?
renegade82
Posts: 13
Joined: Thu Jul 03, 2014 12:21 pm

Re: ChibiStudio for linux

Post by renegade82 »

tinito wrote:Not sure about the error messages in italian, what if you just clean and build again?


yes, i've done it

tinito wrote:What system are you using, 32 or 64 bit?


Ubuntu 15.04 64bit

tinito wrote:If it is 64 bit, do you have the 32 bit support (multiarch / ia32libs)?


i not think, how to install this lib??
User avatar
alex31
Posts: 445
Joined: Fri May 25, 2012 10:23 am
Has thanked: 57 times
Been thanked: 88 times

Re: ChibiStudio for linux

Post by alex31 »

I try to use chibios within eclipse (mars) from scratch on linux.

I am at a point where all is working nicely but the chibios plugins.

I have copied from latest chibiostudio for windows the 4 jar files :
org.chibios* from the plugins directory.

What is the next step to activate the plugins in eclipse ?

Thanks
Alexandre
User avatar
alex31
Posts: 445
Joined: Fri May 25, 2012 10:23 am
Has thanked: 57 times
Been thanked: 88 times

Re: ChibiStudio for linux

Post by alex31 »

ok found it.

in fact i didnt copy the .jar to the correct directory.

Now that they are in the good one, it's the usual way :

Window -> Show view -> Other -> Chibios-RT

Alexandre
User avatar
alex31
Posts: 445
Joined: Fri May 25, 2012 10:23 am
Has thanked: 57 times
Been thanked: 88 times

Re: ChibiStudio for linux

Post by alex31 »

well, i have now the chibios view with all tabs, but nothing inside, even after a break.

perhaps it's not compatible with black magic probe gdb server, or i miss somethings ?

Alexandre
User avatar
Giovanni
Site Admin
Posts: 14891
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 996 times

Re: ChibiStudio for linux

Post by Giovanni »

Hi,

Eclipse has two different debuggers, into the preferences you have to set the "Legacy" debugger for the GDB HW Debugger instead of DSF.

Window->Preferences->Run/Debug->Launching->Default Launchers

Giovanni
User avatar
alex31
Posts: 445
Joined: Fri May 25, 2012 10:23 am
Has thanked: 57 times
Been thanked: 88 times

Re: ChibiStudio for linux

Post by alex31 »

Thanks for the hint.

switching to DSF triggers very strange bug/behavior :

I have error message

Code: Select all


Warning: the current language does not match this frame.
No source file named /home/alex/DEV/CHIBISTUDIO/TP/anotherProject_1/build/ch.elf.
No source file named /home/alex/DEV/CHIBISTUDIO/TP/anotherProject_1/ttyConsole.c.
No source file named /home/alex/DEV/CHIBISTUDIO/TP/anotherProject_2/main.c.
Cannot execute this command while the target is running.


cannot found where there is mention in the anotherProject_x in my project. switching back to legacy and it debugs again (but without chibios view of course)

Alexandre
User avatar
alex31
Posts: 445
Joined: Fri May 25, 2012 10:23 am
Has thanked: 57 times
Been thanked: 88 times

Re: ChibiStudio for linux

Post by alex31 »

Ok, found why it was referencing others projects : i had pending breakpoints.

after removing all breakpoints in the breakpoints view, it's still not working with DSF, i have :

Code: Select all

and "show warranty" for details.
This GDB was configured as "--host=i686-linux-gnu --target=arm-none-eabi".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word".


Warning: the current language does not match this frame.
Cannot execute this command while the target is running.
Use the "interrupt" command to stop the target
and then try again.


of course the target was not already in running mode ...

Alexandre
Post Reply