Page 6 of 6

Re: ChibiStudio for linux

Posted: Tue May 19, 2015 12:29 pm
by Giovanni
You should ask the author, that one is not an official release. No idea anyway.

Giovanni

Re: ChibiStudio for linux

Posted: Tue May 19, 2015 1:01 pm
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)?

Re: ChibiStudio for linux

Posted: Tue May 19, 2015 6:42 pm
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??

Re: ChibiStudio for linux

Posted: Thu Sep 17, 2015 5:37 pm
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

Re: ChibiStudio for linux

Posted: Thu Sep 17, 2015 5:47 pm
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

Re: ChibiStudio for linux

Posted: Thu Sep 17, 2015 5:57 pm
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

Re: ChibiStudio for linux

Posted: Thu Sep 17, 2015 6:06 pm
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

Re: ChibiStudio for linux

Posted: Fri Sep 18, 2015 8:21 am
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

Re: ChibiStudio for linux

Posted: Fri Sep 18, 2015 9:49 am
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