ChibiStudio for linux

Discussions and support about ChibiStudio, the free development environment for ARM.
User avatar
Giovanni
Site Admin
Posts: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: ChibiStudio for linux

Postby Giovanni » Tue May 19, 2015 12:29 pm

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

Postby tinito » Tue May 19, 2015 1:01 pm

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

Postby renegade82 » Tue May 19, 2015 6:42 pm

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: 374
Joined: Fri May 25, 2012 10:23 am
Location: toulouse, france
Has thanked: 38 times
Been thanked: 61 times
Contact:

Re: ChibiStudio for linux

Postby alex31 » Thu Sep 17, 2015 5:37 pm

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: 374
Joined: Fri May 25, 2012 10:23 am
Location: toulouse, france
Has thanked: 38 times
Been thanked: 61 times
Contact:

Re: ChibiStudio for linux

Postby alex31 » Thu Sep 17, 2015 5:47 pm

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: 374
Joined: Fri May 25, 2012 10:23 am
Location: toulouse, france
Has thanked: 38 times
Been thanked: 61 times
Contact:

Re: ChibiStudio for linux

Postby alex31 » Thu Sep 17, 2015 5:57 pm

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: 14444
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1074 times
Been thanked: 921 times
Contact:

Re: ChibiStudio for linux

Postby Giovanni » Thu Sep 17, 2015 6:06 pm

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: 374
Joined: Fri May 25, 2012 10:23 am
Location: toulouse, france
Has thanked: 38 times
Been thanked: 61 times
Contact:

Re: ChibiStudio for linux

Postby alex31 » Fri Sep 18, 2015 8:21 am

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: 374
Joined: Fri May 25, 2012 10:23 am
Location: toulouse, france
Has thanked: 38 times
Been thanked: 61 times
Contact:

Re: ChibiStudio for linux

Postby alex31 » Fri Sep 18, 2015 9:49 am

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


Return to “ChibiStudio”

Who is online

Users browsing this forum: No registered users and 4 guests