[INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM

This forum is dedicated to feedback, discussions about ongoing or future developments, ideas and suggestions regarding the ChibiOS projects are welcome. This forum is NOT for support.
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

[INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM

Post 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/71386

The 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
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM

Post 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
faisal
Posts: 382
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 45 times
Been thanked: 62 times

Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM

Post 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 ..
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM

Post 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
User avatar
FXCoder
Posts: 403
Joined: Sun Jun 12, 2016 4:10 am
Has thanked: 188 times
Been thanked: 134 times

Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM

Post by FXCoder »

Hi,
The Egit add-on works pretty well in Eclipse.
SVN should already be part of the C/C++ Eclipse package?
--
Bob
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM

Post 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
User avatar
RoccoMarco
Posts: 655
Joined: Wed Apr 24, 2013 4:11 pm
Has thanked: 83 times
Been thanked: 67 times

Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM

Post by RoccoMarco »

Downloading...

gnam gnam! :mrgreen:
faisal
Posts: 382
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 45 times
Been thanked: 62 times

Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM

Post 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
faisal
Posts: 382
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 45 times
Been thanked: 62 times

Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM

Post 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)?
User avatar
Giovanni
Site Admin
Posts: 14893
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: [INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM

Post 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
Post Reply