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


Dump when trying to download the target firmware

Hi

I recently updated my System Workbench to OpenSTM32 IDE 1.0.0.201502061747, and since then I get issues when trying to download the target firmware (New>C Project>Ac6 STM32 toolchain>...>Download Target firmare (in Project Firmware Configuration Page).
When Pushing the button it generates a dump due to an NPE.
here it is the excerpt of the stack trace from .log file

ENTRY org.eclipse.ui 4 0 2015-02-09 15:53:51.513

MESSAGE Unhandled event loop exception

STACK 0

java.lang.NullPointerException
at fr.ac6.mcu.ide.utils.STM32LibUtils.checkFirmwareAdditional(STM32LibUtils.java:355)
at fr.ac6.mcu.ide.ui.wizards.SetProjectStructureWizardPage.checkFirmware(SetProjectStructureWizardPage.java:713)
at fr.ac6.mcu.ide.ui.wizards.SetProjectStructureWizardPage.getFirmwareStatus(SetProjectStructureWizardPage.java:733)
at fr.ac6.mcu.ide.ui.wizards.SetProjectStructureWizardPage.updateDownloadFirmwareControl(SetProjectStructureWizardPage.java:513)
at fr.ac6.mcu.ide.ui.wizards.SetProjectStructureWizardPage$4.widgetSelected(SetProjectStructureWizardPage.java:246)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
at org.eclipse.jface.window.Window.runEventLoop(Window.java:826)
at org.eclipse.jface.window.Window.open(Window.java:802)
at org.eclipse.ui.internal.navigator.wizards.WizardShortcutAction.run(WizardShortcutAction.java:98)
at org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1057)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4170)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3759)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:140)
at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:611)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
at org.eclipse.equinox.launcher.Main.run(Main.java:1450)


When reverting back to OpenSTM32 IDE 1.0.0.201412041732 the problem does not occur

Do you know if I am doing somehting wrong which creating this annoying NPE?
thanks in advance for your help
Salvatore

Hi Salvatore,

Thank you for this quick report. Nothing was wrong from you, this is a severe bug from the last update.
We have been working on a patch and it is now avalaible. Please check for update to fix this issue.
We are sorry for the inconvenience.

Kevin.


Hi Kevin

Yes, I updated and tested, now it is wokring without any dump.
Many Thanks for the very quick response!

By the way, there is a place where I can check the open bugs/Known issues?
This to avoid reporting you more than once duplicated issues

Again thanks
Salvatore

Hi Salvatore,

For now, there is no other place to report a bug. You can only post them on this forum.
We will think about another way to classify issues.

Kevin.