Loading...
 

SW4STM32 and SW4Linux fully supports the STM32MP1 asymmetric multicore Cortex/A7+M4 MPUs

   With System Workbench for Linux, Embedded Linux on the STM32MP1 family of MPUs from ST was never as simple to build and maintain, even for newcomers in the Linux world. And, if you install System Workbench for Linux in System Workbench for STM32 you can seamlessly develop and debug asymmetric applications running partly on Linux, partly on the Cortex-M4.
You can get more information from the ac6-tools website and download (registration required) various documents highlighting:

System Workbench for STM32


Eclipse cubemx plugin falls over

Eclipse cubemx plugin falls over

This message comes up in when Cubemx is started:

:
loadIPPluginJar : add tim
IoConfig Change Database Path : /home/remmy/Ac6/SystemWorkbench/plugins/com.st.microxplorer.rcp_4.15.1.201606091139//db/
IoConfig Change Database Version : DB.4.0.151
setPackage(No Configuration,No Configuration)
xcb Unknown request in queue while dequeuing
xcb Most likely this is a multi-threaded client and XInitThreads has not been called
xcb Aborting, sorry about that.
eclipse: ../../src/xcb_io.c:179: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq’ failed.
Aborted (core dumped)

Afte that, the whole eclipse application dies.

Running on Ubuntu 12.04 32 bit, Version: Mars.2 Release (4.5.2), Build id: 20160218-060

France

Hi,

I hear this problem has already been reported and people should work on it.

We have discovered some problems with Eclipse Mars; could you try to type the following line in your console juste before starting Sysetm Workbench from the same commad line window:
export SWT_GTK3=0; path-to-sw4STM32-installation/eclipe
and tell us if it solves your problem?


Thanks for your patiente,

Bernard (Ac6)


Thank you Bernard, I tried, but same result.

FYI, the export SWT_GTK3=0; was already installed in ~/.profile due to problem with
Project > Properties > C/C++ Build > Settings hangs problem.
Running export and eclipse from command line made no difference.

Still no luck, so I now got the STM32CubeMX stand alone version working and created a project.
But magically for a noob there are no instructions on UM1718 on how to open this project
with AC6. All the files seem to be there with a sample main().

But how do I open an STM32CubeMX generated project in AC6 mrgreen
(Search is not helping turning up all kinds of answers about opening STM32CubeMX files
in STM32CubeMX. eek )

No problem - found it:
http://www.openstm32.org/Importing+a+STCubeMX+generated+projectQuestion

The mistake was not seeing the setting for toolchain / IDE which
defaults to some other IDE vendor.
Setting it to SW4STM32 fixed it.
I’m thinking as a noob, it should say AC6 to reduce confusion?idea


I’ve seen some other plugins reporting an ‘xcb” issue when using OpenJDK

Can you try with an Oracle JVM

On your second point, we are currently implementing the direct project open from STM32CubeMX to SW4STM32.

In STM32CubeMX you’ll have a new button Open Project at the end of the code generation that will automatically import or refresh the project into your choosen Eclipse workspace.

Regards
Daniel

Thank you Daniel, I will try with Oracle JVM.

FYI, I first installed Netbeans and Eclipse from fresh install of 32 bit Ubuntu 14.04 using Ubuntu repositories knowing it will install the default Java (OpenJDK).
I had trouble installing the Oracle Java which is why I went that route to save time.
I left half the disk for 2nd partition and 64bit Ubuntu, so I give it a go soon.

Thank you for note about direct import from STM32CubeMX to SW4STM32.

ideaAnother moot point / request. The idea of workspace is nice if you have limited number of projects.
When you got literally hundreds of projects, variants, and versions, its tedious to “switch workspaces”.
Just quicker to close the project go to the relevant directory and click on a project file and it opens.
Currently when eclipse opens, its in a default directory and that could easily be for a different CPU.
So you have to go around checking paths before getting down to work. Not ideal.
The coocox developers have customized eclipse to do this, so there must be a way cool

Regards

Joe