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


STM32 System Workbench - looks nice but it does not work

Greetings.

I recently downloaded the program, installed it and tried to create a new project.
It looks nice, it feels nice, it has a lot of text, menus, messages, it even asks for permission to send error reports.

But whatever I do, there’s no windows where I can type any code.

Here’s what I am doing:
File - New - C/C++ Project - C managed build
next
Project name: MyProject
Project type: Executable, AC6 STM32 MCU Project, toolchain is AC6 MCU GCC.
next
selecting both debug and release configurations
next
MCU series - STM32F4, board is STM32F429i-DISCO
next
FIrmware is Cube Hal, already downloaded.
additional drivers - stm32 usb device library, additional utilities - fatFS
finish
There’s a small green progress bar in the bottom-right corner and some messaging about preparing everything
After it finishes, there’s no left window showing files. There’s an empty windows on half-left, another window saying “an outline is not available” on right, and another one on bottom saying “no operations to display at this time.”
But it does build something when I hit ctrl+B.

There is a missing function - import existing C or header files to the existing project.
This should appear when right-clicking the workspace.
There is also a missing menu: View - select windows: project explorer, text display, status messages display. These menu functions should bring the missing windows on screen by force. Ida Pro Disassembler and Resource Hacker did not identify such functions both in the RAM dumped content and on the hard disk program installation folder.

Also another weird thing: when pressing ctrl+B it is trying to run a linux executable on a windows host:

Description Resource Path Location Type
Cannot run program “sh”
(in directory “G:\work\stm32_system_workbench_projects\My_Project”): CreateProcess error=2, The system cannot find the file specified

Trying to import existing projects - the same.
I select STM32Cube example projects - the folder titles: led, lcd, dac-adc - and it says it can not identify any project inside those folders.

This is weird because this fresh install takes a lot of space in the RAM, a lot on the hard-drive, it has a lot of files, beautiful buttons and menus but it does nothing.
People here are talking about things I am unable to do.
The tutorials here describe things which do not exist on the installation I have.
Example: http://www.openstm32.org/Importing+a+STCubeMX+generated+projectQuestion

I did not take any illegal substances and I did not smoke anything, but I have been looking at the screen until I started to feel weird, and I have been reading through the web site instructions for two days - which do not apply on this installation - until I gave up.

Please advise.

Eclipse IDE for C/C++ Developers
Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500
Java Version 8 Update 161 (build 1.8.0_161_b12)

Operating System:
OS Name: Microsoft Windows 7 Ultimate
OS Version: 6.1.7601 Service Pack 1 Build 7601
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
System Manufacturer: HP
System Model: HP 250 G5 Notebook PC
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
01: Intel64 Family 6 Model 78 Stepping 3 GenuineIntel ~690 Mhz
BIOS Version: Insyde F.24, 05.01.2017

Quite a wonderful first experience with STM32 System Workbench...

later edit: uninstalling
There’s an “exception caught” message which I need... 6 LCD monitors to display it entirely.
If I write this message by hand it takes a full A-4 sheet:
com.izforge.izpack.api.exception.WrappedNativeLibException: NativeLibException.functionFailed.RegOpenKeyExNativeLibException.libInternal.OsErrNumPraefix5NativeLibException.libInternal.OsErrStringPraefixAccess is denied.at com.izforge.izpack.event.RegistryUninstallerListener.beforeDelete(RegistryUninstallerListener.java:134)at com.izforge.izpack.uninstaller.event.UninstallerListeners.beforeDeletion(UninstallerListeners.java:115)at com.izforge...................

(more sarcastic jokes about braking someone’s fingers translated into latin with “ae” for “e”)

France

Hi,

The exceptions raised about accessing the registry may be due to a lack of permissions. Do you have an Administrator account on your Windows PC or just a User account? If this is the case you can’t install new programs on your system and must see with your system administrator.

Otherwise the first issue you describe seems to indicate that you are using a perspective that was corrupted; did you try to do “Window >> Perspective >> Reset Perspective...”?

By the way, how did you install System Workbench for STM32? Did you download the installer or did you install maually in a pre-existing Eclipse installation?

Best regards,

Bernard (Ac6)


Hello,

Indeed. Installation was corrupted. I downloaded the installer and at first setup attempt I had that error “java 1.74 required”.
No other versions of Eclipse were ever installed on my computer.
I deinstalled whatever java I had, installed Java 8. Again after setup, system workbench complained one more time about that old java version requirement but - strange - it decided to continue. Two days I looked at it like a monkey looks at a flying saucer: missing menus. missing buttons, missing GUI functions, project import wizard does not show the same menus as on the web site description I provided in the previous post.

I deinstalled both java and system workbench, I manually deleted everything related from both hard drive and registry.
Reinstalled java 8, installed system workbench, now it works.
Those missing menus I mentioned - they are on the screen and work perfectly.

Still - there are a few things related to programming. Arduino IDE is a little more specific on their tutorials, examples and instructions section:
- how to handle a physical port;
- how to handle a GPIO pin;
- how to define a gpio pin as input/output;
and so on.
They even provide simple drawings describing common tasks and the related software example.

Here it is assumed that the user already has strong experience with STM32 and already knows what to do.

I would like to ask if there is any tutorial about how to define a group of GPIOs as standard old ports no longer in use today: parallel port, IDE, SCSI, ISA 8bit, ISA 16bit. Still searching.