[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: 14455
Joined: Wed May 27, 2009 8:48 am
Location: Salerno, Italy
Has thanked: 1076 times
Been thanked: 922 times
Contact:

[INFO] ChibiStudio P2 preinstalled into Linux Mint 19.2 VM

Postby Giovanni » Sat Aug 03, 2019 5:48 pm

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

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

Postby Giovanni » Sat Aug 03, 2019 5:53 pm

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: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

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

Postby faisal » Mon Aug 05, 2019 5:38 pm

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

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

Postby Giovanni » Mon Aug 05, 2019 5:42 pm

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: 384
Joined: Sun Jun 12, 2016 4:10 am
Location: Sydney, Australia
Has thanked: 180 times
Been thanked: 130 times

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

Postby FXCoder » Tue Aug 06, 2019 1:50 pm

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

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

Postby Giovanni » Tue Aug 06, 2019 1:54 pm

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
Location: Munich (Germany)
Has thanked: 83 times
Been thanked: 67 times
Contact:

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

Postby RoccoMarco » Tue Aug 06, 2019 2:38 pm

Downloading...

gnam gnam! :mrgreen:
Ciao,
RM

faisal
Posts: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

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

Postby faisal » Wed Aug 07, 2019 4:02 pm

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: 374
Joined: Wed Jul 19, 2017 12:44 am
Has thanked: 44 times
Been thanked: 60 times

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

Postby faisal » Wed Aug 07, 2019 4:04 pm

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

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

Postby Giovanni » Wed Aug 07, 2019 4:08 pm

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


Return to “Development and Feedback”

Who is online

Users browsing this forum: Baidu [Spider] and 12 guests