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 two short videos (registration required) highlighting:

System Workbench for STM32


Eclipse crashes during run/debug

Hello I am geting java nullptr exception while trying to run/debug from workbench
http://i.imgur.com/lOuQZYe.pngQuestion

Building is ok, without error. I can even upload created .bin file to my board through st link utility. I’ve tried to reinstall drivers for st link and workbench.

Any ideas?

I’m having the same issue trying to debug GPIO_IOToggle example for the Nucleo-F401.

> An internal error occurred during: “Launching STM32F4xx-Nucleo Debug”.
> java.lang.NullPointerException

Any help would be appreciated.

BTW, my Java version is 1.7.0_79

And here’s my logs:

SESSION 2015-10-06 11:53:01.065 -------------------

eclipse.buildId=4.4.2.M20150204-1700
java.version=1.7.0_79
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.cpp.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.cpp.product

....

ENTRY org.eclipse.core.jobs 4 2 2015-10-06 17:17:50.175

MESSAGE An internal error occurred during: “Launching STM32F4xx-Nucleo Debug”.

STACK 0

java.lang.NullPointerException
at fr.ac6.mcu.debug.launching.MCUGdbLaunch.createOpenOCDProgramProcess(MCUGdbLaunch.java:141)
at fr.ac6.mcu.debug.launching.MCUGdbLaunch.addOpenOCDProcess(MCUGdbLaunch.java:67)
at fr.ac6.mcu.debug.launching.MCUGDBJtagDSFLaunchConfigurationDelegate.launch(MCUGDBJtagDSFLaunchConfigurationDelegate.java:98)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:885)
at org.eclipse.debug.internal.core.LaunchConfiguration.launch(LaunchConfiguration.java:739)
at org.eclipse.debug.internal.ui.DebugUIPlugin.buildAndLaunch(DebugUIPlugin.java:1039)
at org.eclipse.debug.internal.ui.DebugUIPlugin$8.run(DebugUIPlugin.java:1256)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)




I have the same problem. I can open workspace, import projects, edit files, compile and build binary files, but I cannot program STM32F7 board from Eclipse. I get following error within Eclipse:
An internal error occurred during: “Launching STM32746G_DISCOVERY Debug”.
java.lang.NullPointerException.

My colleague has exactly the same problem on his laptop computer. We can use binary files to program the board, but only from STM32-Link Utility application and everything works ok. Many people mentioned bad xml files in project directory. We inspected all of them and found nothing suspicious.

Is there a way around this problem? Basically, everything works except Program & Debug from Eclipse. We found solution for programming, but Debugger won’t run.


Nucleo f401 is supported and it should work out of the box with latest ac6 (cubemx 4.1+) that’s sure.
make sure to have stlink-v2 recent driver installed (what should be the case if ou have installed stm32-uitlity)
if you installed the toolset from st pakage re-installing or updating from eclipse using the site may help
http://www.ac6-tools.com/Eclipse-updates/org.openstm32.system-workbench.siteQuestion

With first earlier verison of CubeMX “board” was not set by defautl in ac6 c/c++ setting pane this making a null execption
f trying to create a debug config or launching debug, simply select a nucleo-f401re board should sollve the sisue
the same is lilkley to occur if you do not set the board in your c/c++ target ac6 setting.


Is the stm32f7 device and board cfg already supported by openocd shiped or insatlled with your ac6 plugin ?
Double check in the debug configuration and our the opencocd console (if possible) what’s the cfg file use in openocd
that file should exist on the opencd board/ or scripts subdir.