Page 1 of 2
[INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM
Posted: Sat Aug 03, 2019 5:48 pm
by Giovanni
Hi,
I just uploaded a VirtualBox VM including Linux Mint 19.2 and ChibiStudio for Linux Preview 2. Linux users can use the VM or use it as a reference for installation and setup of the toolchain. Of course also Windows/other users can use the VM.
The download is available here:
https://osdn.net/projects/chibios/releases/71386The file is divided in parts because it is too large for OSDN, you can reassemble it from a shell using:
Code: Select all
cat VM_*.7z.* > VM_LinuxMint19.2_with_ChibiStudioP2.7z
You need VirtualBox 6.0.x and its extension pack for USB 2+ support.
Login as:
- User: chibios
- Pass. chibios
It is also a good chance to try Linux Mint

I made no custom settings, it is as clean as freshly installed.
Giovanni
Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM
Posted: Sat Aug 03, 2019 5:53 pm
by Giovanni
Just a note:
Debug launch configurations using the new Eclipse, you need to select:
Debug configurations... -> "GDB Hardware Debugging" -> <<configuration>> -> "Debugger" -> "JTAG Device" -> "OpenOCD Socket" as debug protocol instead of "Generic TCP/IP".
ChibiOS projects will be updated this way in some next release.
Giovanni
Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM
Posted: Mon Aug 05, 2019 5:38 pm
by faisal
Hey Giovanni, how about including the required debugging setup for Segger devices? You can include the Segger GDB server support in your preinstalled Eclipse. The GNU MCU Eclipse plugin is useful in that regard, as it has a configuration page for Segger devices as well.
You could also preinstall Segger Ozone too I guess ..
Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM
Posted: Mon Aug 05, 2019 5:42 pm
by Giovanni
Hi Faisal,
If you send me instructions, I will do that in my next try. This was pretty must an experiment, I don't know if people really need something like this.
I also need to install "Rabbit VCS", it is pretty good for both git and svn.
Giovanni
Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM
Posted: Tue Aug 06, 2019 1:50 pm
by FXCoder
Hi,
The Egit add-on works pretty well in Eclipse.
SVN should already be part of the C/C++ Eclipse package?
--
Bob
Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM
Posted: Tue Aug 06, 2019 1:54 pm
by Giovanni
There are SvN clients for Eclipse but I never used one of those (reminds me I should try...).
Currently I am using "Rabbit VCS" which is pretty much like "Tortoise svn/git" integrated into the Nemo/Nautilus/etc file explorers. Very easy to use and convenient.
Giovanni
Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM
Posted: Tue Aug 06, 2019 2:38 pm
by RoccoMarco
Downloading...
gnam gnam!

Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM
Posted: Wed Aug 07, 2019 4:02 pm
by faisal
Giovanni wrote:Hi Faisal,
If you send me instructions, I will do that in my next try. This was pretty must an experiment, I don't know if people really need something like this.
Giovanni
I got an email from a Segger rep, here is what he said:
> Just copy RTOSPlugin.dll (on Windows) to any J-Link SW download (to the
> JLink_Vxxx\GDBServer\ directory) to add the support.
> It can then be invoked as described in the J-Link User Guide:
>
> 4.5.25 -rtos
> Specifies an RTOS plug-in (.DLL file for Windows, .SO file for Linux and
> Mac). If the filename extension is not specified, it is automatically
> added
> depending on the PC's operating system. The J-Link Software and
> Documentation Package comes with RTOS plug-ins for embOS and FreeRTOS
> pre-installed in the sub-directory "GDBServer". A software development kit
> (SDK) for creating your own plug-ins is also available upon request.
>
> Syntax:
> -rtos <filename>[.dll|.so]
>
> Example:
> jlinkgdbserver -rtos GDBServer\RTOSPlugin_embOS
You may need some additional command line parameters when launching the Segger GDB server. I ran the J-Link GDB server application in windows, and it shows what command line arguments to use (I added the -rtos option to the end):
Code: Select all
JlinkGDBServerCL.exe -select USB -device STM32L476VG -endian little -if JTAG -speed 4000 -noir -LocalhostOnly -rtos RTOSPlugin
Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM
Posted: Wed Aug 07, 2019 4:04 pm
by faisal
Any news on updating the Chibi debug plugin to work with recent version of eclipse (after the debug interface changed post Mars I believe)?
Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM
Posted: Wed Aug 07, 2019 4:08 pm
by Giovanni
faisal wrote:Any news on updating the Chibi debug plugin to work with recent version of eclipse (after the debug interface changed post Mars I believe)?
Hi, it has already been done, you missed some post in the ChibiStudio forum about it. This VM contains the latest Eclipse and the updated plugin already.
About the Segger support, we are talking about a Linux VM, the DLL stuff is not applicable in this context I believe.
Giovanni