Lost configuration file handler

Discussions and support about ChibiStudio, the free development environment for ARM.
steved
Posts: 823
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 135 times

Lost configuration file handler

Postby steved » Sat Jan 27, 2018 3:02 pm

When I open a board config file (*.chcfg) in ChibiStudio17, the XML displays as text and there's no option to view the 'prompted' display or generate the board configuration files.
I've tried refreshing the eclipse directory from the original, updating the plugin, and a few other things, with no success.
(I also have a vague recollection that somewhere uner File-->New there was a 'Chibios Project' option; if so, that's not there either)
Is there some Eclipse setting which needs restoring?

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: Lost configuration file handler

Postby Giovanni » Sat Jan 27, 2018 4:23 pm

It looks like the plugin is not loaded, you may try to rename the ChibiStudio directory and unzip a fresh one, verify if the function is there.

Giovanni

steved
Posts: 823
Joined: Fri Nov 09, 2012 2:22 pm
Has thanked: 12 times
Been thanked: 135 times

Re: Lost configuration file handler

Postby steved » Sun Jan 28, 2018 12:49 pm

Giovanni wrote:It looks like the plugin is not loaded, you may try to rename the ChibiStudio directory and unzip a fresh one, verify if the function is there.

Giovanni

I'd 'sort of' tried that already, by extracting the eclipse directory and replacing the existing one with it.
I've now tried creating a complete fresh install from the Chibistudio19 zip, with the same problem.
It's as if there's an Eclipse configuration file of some sort outside the Chibistudio directory, but I haven't been able to find anything (also checked the registry).
I've also updated the Chibi plugin, to no effect.
The configuration list looks sensible:

Code: Select all

org.chibios.chibistudio.branding (1.0.0) "ChibiStudio Branding Plugin" [Resolved]
org.chibios.tools.eclipse.config (1.10.1.201710081418) "ChibiOS Configuration Support" [Installed]
org.chibios.tools.eclipse.debug.chibiosrt2 (1.2.0.201710081418) "ChibiOS/RT 2.x.x Debug Support" [Installed]
org.chibios.tools.eclipse.debug.chibiosrt3 (1.0.1.201710081418) "ChibiOS/RT 3.x.x Debug Support" [Installed]
org.chibios.tools.eclipse.debug.chibiosrt4 (1.0.2.201710081418) "ChibiOS/RT 4.x.x Debug Support" [Installed]



Edit: Noticed two things:
1. Both 'original' and 'latest' files are present in the eclipse/plugins directory (which may be OK):
Eclipse_plugins.png


2. There are some errors in the eclipse log:

Code: Select all

!ENTRY org.eclipse.equinox.p2.repository 2 0 2018-01-28 11:45:46.547
!MESSAGE Server returned lastModified <= 0 for http://www.chibios.org/eclipse/chibistudio/content.jar
!SESSION 2018-01-28 12:27:06.934 -----------------------------------------------
eclipse.buildId=4.4.2.M20150204-1700
java.version=1.7.0_51
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_GB
Framework arguments:  -product org.eclipse.epp.package.java.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.java.product

!ENTRY org.chibios.tools.eclipse.config 4 0 2018-01-28 12:27:07.741
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.chibios.tools.eclipse.config [772]
  Unresolved requirement: Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.8))"

   at org.eclipse.osgi.container.Module.start(Module.java:434)
   at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
   at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
   at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
   at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
   at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
   at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
   at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)

...which is interesting, because my control panel tells me that I have Java 1.8 installed. I'll try and update, but its not cooperating ATM.


Edit: ....and that's the answer. Eclipse requires 32-bit Java, and turns out that I had V1.8 64-bit and V1.7 32-bit installed. So upgrading the 32-bit to V1.8 fixed it.


Return to “ChibiStudio”

Who is online

Users browsing this forum: No registered users and 12 guests